]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
This commit was generated by cvs2git to create tag 'TG-Start-D5-38-2003'. TG-Start-D5-38-2003
authoradmin <salome-admin@opencascade.com>
Thu, 8 Sep 2005 06:05:44 +0000 (06:05 +0000)
committeradmin <salome-admin@opencascade.com>
Thu, 8 Sep 2005 06:05:44 +0000 (06:05 +0000)
Sprout from master 2005-09-08 06:05:43 UTC srn <srn@opencascade.com> 'Modified a method createAndDisplayGO'
Delete:
    INSTALL
    LICENCE
    Makefile.in
    adm_local/unix/config_files/README
    adm_local/unix/make_commence.in
    adm_local/unix/make_omniorb.in
    bin/VERSION
    build_configure
    configure.in.base
    doc/Makefile.in
    doc/salome/GEOM_index.html
    doc/salome/Makefile.in
    doc/salome/gui/GEOM/GEOM.log
    doc/salome/gui/GEOM/blocks.htm
    doc/salome/gui/GEOM/changing_displaying_parameters.htm
    doc/salome/gui/GEOM/cshdat_robohelp.htm
    doc/salome/gui/GEOM/cshdat_webhelp.htm
    doc/salome/gui/GEOM/default.css
    doc/salome/gui/GEOM/default.skn
    doc/salome/gui/GEOM/default_ns.css
    doc/salome/gui/GEOM/ehelp.xml
    doc/salome/gui/GEOM/ehlpdhtm.js
    doc/salome/gui/GEOM/files/introduction_to_geom.htm
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
    doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
    doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
    doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
    doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
    doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
    doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif
    doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif
    doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
    doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
    doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
    doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
    doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
    doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
    doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
    doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
    doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
    doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
    doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
    doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
    doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image120.gif
    doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
    doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
    doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
    doc/salome/gui/GEOM/geom.htm
    doc/salome/gui/GEOM/geom.html
    doc/salome/gui/GEOM/geom.log
    doc/salome/gui/GEOM/geom_csh.htm
    doc/salome/gui/GEOM/geom_csh.html
    doc/salome/gui/GEOM/geom_help.html
    doc/salome/gui/GEOM/geom_help_csh.html
    doc/salome/gui/GEOM/geom_help_rhc.html
    doc/salome/gui/GEOM/geom_rhc.htm
    doc/salome/gui/GEOM/geom_rhc.html
    doc/salome/gui/GEOM/i_blue.jpg
    doc/salome/gui/GEOM/image10.jpg
    doc/salome/gui/GEOM/image100.jpg
    doc/salome/gui/GEOM/image101.jpg
    doc/salome/gui/GEOM/image102.jpg
    doc/salome/gui/GEOM/image103.jpg
    doc/salome/gui/GEOM/image104.jpg
    doc/salome/gui/GEOM/image105.jpg
    doc/salome/gui/GEOM/image106.jpg
    doc/salome/gui/GEOM/image107.jpg
    doc/salome/gui/GEOM/image108.jpg
    doc/salome/gui/GEOM/image109.jpg
    doc/salome/gui/GEOM/image11.gif
    doc/salome/gui/GEOM/image11.jpg
    doc/salome/gui/GEOM/image110.jpg
    doc/salome/gui/GEOM/image111.jpg
    doc/salome/gui/GEOM/image112.jpg
    doc/salome/gui/GEOM/image113.jpg
    doc/salome/gui/GEOM/image114.jpg
    doc/salome/gui/GEOM/image115.jpg
    doc/salome/gui/GEOM/image116.jpg
    doc/salome/gui/GEOM/image117.jpg
    doc/salome/gui/GEOM/image118.jpg
    doc/salome/gui/GEOM/image119.jpg
    doc/salome/gui/GEOM/image12.gif
    doc/salome/gui/GEOM/image12.jpg
    doc/salome/gui/GEOM/image120.jpg
    doc/salome/gui/GEOM/image121.jpg
    doc/salome/gui/GEOM/image122.jpg
    doc/salome/gui/GEOM/image123.jpg
    doc/salome/gui/GEOM/image124.jpg
    doc/salome/gui/GEOM/image125.jpg
    doc/salome/gui/GEOM/image126.jpg
    doc/salome/gui/GEOM/image127.jpg
    doc/salome/gui/GEOM/image128.jpg
    doc/salome/gui/GEOM/image129.jpg
    doc/salome/gui/GEOM/image13.gif
    doc/salome/gui/GEOM/image13.jpg
    doc/salome/gui/GEOM/image130.jpg
    doc/salome/gui/GEOM/image131.jpg
    doc/salome/gui/GEOM/image132.jpg
    doc/salome/gui/GEOM/image133.jpg
    doc/salome/gui/GEOM/image134.jpg
    doc/salome/gui/GEOM/image135.jpg
    doc/salome/gui/GEOM/image136.jpg
    doc/salome/gui/GEOM/image137.jpg
    doc/salome/gui/GEOM/image138.jpg
    doc/salome/gui/GEOM/image139.jpg
    doc/salome/gui/GEOM/image14.gif
    doc/salome/gui/GEOM/image14.jpg
    doc/salome/gui/GEOM/image140.jpg
    doc/salome/gui/GEOM/image141.jpg
    doc/salome/gui/GEOM/image142.jpg
    doc/salome/gui/GEOM/image144.jpg
    doc/salome/gui/GEOM/image145.jpg
    doc/salome/gui/GEOM/image146.jpg
    doc/salome/gui/GEOM/image147.jpg
    doc/salome/gui/GEOM/image149.jpg
    doc/salome/gui/GEOM/image15.gif
    doc/salome/gui/GEOM/image15.jpg
    doc/salome/gui/GEOM/image150.jpg
    doc/salome/gui/GEOM/image151.jpg
    doc/salome/gui/GEOM/image152.jpg
    doc/salome/gui/GEOM/image154.jpg
    doc/salome/gui/GEOM/image156.jpg
    doc/salome/gui/GEOM/image158.jpg
    doc/salome/gui/GEOM/image16.gif
    doc/salome/gui/GEOM/image16.jpg
    doc/salome/gui/GEOM/image160.jpg
    doc/salome/gui/GEOM/image161.jpg
    doc/salome/gui/GEOM/image163.jpg
    doc/salome/gui/GEOM/image164.jpg
    doc/salome/gui/GEOM/image165.jpg
    doc/salome/gui/GEOM/image166.jpg
    doc/salome/gui/GEOM/image167.jpg
    doc/salome/gui/GEOM/image168.jpg
    doc/salome/gui/GEOM/image169.jpg
    doc/salome/gui/GEOM/image17.gif
    doc/salome/gui/GEOM/image17.jpg
    doc/salome/gui/GEOM/image170.jpg
    doc/salome/gui/GEOM/image171.jpg
    doc/salome/gui/GEOM/image172.jpg
    doc/salome/gui/GEOM/image173.jpg
    doc/salome/gui/GEOM/image175.jpg
    doc/salome/gui/GEOM/image176.jpg
    doc/salome/gui/GEOM/image179.jpg
    doc/salome/gui/GEOM/image18.jpg
    doc/salome/gui/GEOM/image180.jpg
    doc/salome/gui/GEOM/image181.jpg
    doc/salome/gui/GEOM/image182.jpg
    doc/salome/gui/GEOM/image183.jpg
    doc/salome/gui/GEOM/image184.jpg
    doc/salome/gui/GEOM/image185.jpg
    doc/salome/gui/GEOM/image186.jpg
    doc/salome/gui/GEOM/image187.jpg
    doc/salome/gui/GEOM/image188.jpg
    doc/salome/gui/GEOM/image189.jpg
    doc/salome/gui/GEOM/image19.gif
    doc/salome/gui/GEOM/image19.jpg
    doc/salome/gui/GEOM/image190.jpg
    doc/salome/gui/GEOM/image191.jpg
    doc/salome/gui/GEOM/image192.jpg
    doc/salome/gui/GEOM/image193.jpg
    doc/salome/gui/GEOM/image194.jpg
    doc/salome/gui/GEOM/image196.jpg
    doc/salome/gui/GEOM/image197.jpg
    doc/salome/gui/GEOM/image199.jpg
    doc/salome/gui/GEOM/image2.gif
    doc/salome/gui/GEOM/image20.gif
    doc/salome/gui/GEOM/image20.jpg
    doc/salome/gui/GEOM/image200.jpg
    doc/salome/gui/GEOM/image201.jpg
    doc/salome/gui/GEOM/image202.jpg
    doc/salome/gui/GEOM/image203.jpg
    doc/salome/gui/GEOM/image204.jpg
    doc/salome/gui/GEOM/image205.jpg
    doc/salome/gui/GEOM/image206.jpg
    doc/salome/gui/GEOM/image207.jpg
    doc/salome/gui/GEOM/image208.jpg
    doc/salome/gui/GEOM/image209.jpg
    doc/salome/gui/GEOM/image21.gif
    doc/salome/gui/GEOM/image21.jpg
    doc/salome/gui/GEOM/image210.jpg
    doc/salome/gui/GEOM/image211.jpg
    doc/salome/gui/GEOM/image212.jpg
    doc/salome/gui/GEOM/image213.jpg
    doc/salome/gui/GEOM/image214.jpg
    doc/salome/gui/GEOM/image215.jpg
    doc/salome/gui/GEOM/image216.jpg
    doc/salome/gui/GEOM/image217.jpg
    doc/salome/gui/GEOM/image218.jpg
    doc/salome/gui/GEOM/image219.jpg
    doc/salome/gui/GEOM/image22.gif
    doc/salome/gui/GEOM/image22.jpg
    doc/salome/gui/GEOM/image220.jpg
    doc/salome/gui/GEOM/image221.jpg
    doc/salome/gui/GEOM/image222.jpg
    doc/salome/gui/GEOM/image223.jpg
    doc/salome/gui/GEOM/image224.jpg
    doc/salome/gui/GEOM/image225.jpg
    doc/salome/gui/GEOM/image226.jpg
    doc/salome/gui/GEOM/image227.jpg
    doc/salome/gui/GEOM/image228.jpg
    doc/salome/gui/GEOM/image229.jpg
    doc/salome/gui/GEOM/image23.gif
    doc/salome/gui/GEOM/image23.jpg
    doc/salome/gui/GEOM/image230.jpg
    doc/salome/gui/GEOM/image231.jpg
    doc/salome/gui/GEOM/image233.jpg
    doc/salome/gui/GEOM/image234.jpg
    doc/salome/gui/GEOM/image235.jpg
    doc/salome/gui/GEOM/image236.jpg
    doc/salome/gui/GEOM/image237.jpg
    doc/salome/gui/GEOM/image238.jpg
    doc/salome/gui/GEOM/image239.jpg
    doc/salome/gui/GEOM/image24.gif
    doc/salome/gui/GEOM/image24.jpg
    doc/salome/gui/GEOM/image240.jpg
    doc/salome/gui/GEOM/image241.jpg
    doc/salome/gui/GEOM/image242.jpg
    doc/salome/gui/GEOM/image243.jpg
    doc/salome/gui/GEOM/image244.jpg
    doc/salome/gui/GEOM/image245.jpg
    doc/salome/gui/GEOM/image246.jpg
    doc/salome/gui/GEOM/image247.jpg
    doc/salome/gui/GEOM/image248.jpg
    doc/salome/gui/GEOM/image249.jpg
    doc/salome/gui/GEOM/image25.gif
    doc/salome/gui/GEOM/image250.jpg
    doc/salome/gui/GEOM/image251.jpg
    doc/salome/gui/GEOM/image252.jpg
    doc/salome/gui/GEOM/image253.jpg
    doc/salome/gui/GEOM/image254.jpg
    doc/salome/gui/GEOM/image255.jpg
    doc/salome/gui/GEOM/image256.jpg
    doc/salome/gui/GEOM/image257.jpg
    doc/salome/gui/GEOM/image258.jpg
    doc/salome/gui/GEOM/image259.jpg
    doc/salome/gui/GEOM/image26.jpg
    doc/salome/gui/GEOM/image260.jpg
    doc/salome/gui/GEOM/image261.jpg
    doc/salome/gui/GEOM/image262.jpg
    doc/salome/gui/GEOM/image263.jpg
    doc/salome/gui/GEOM/image264.jpg
    doc/salome/gui/GEOM/image265.jpg
    doc/salome/gui/GEOM/image266.jpg
    doc/salome/gui/GEOM/image267.jpg
    doc/salome/gui/GEOM/image268.jpg
    doc/salome/gui/GEOM/image269.jpg
    doc/salome/gui/GEOM/image27.jpg
    doc/salome/gui/GEOM/image270.jpg
    doc/salome/gui/GEOM/image271.jpg
    doc/salome/gui/GEOM/image272.jpg
    doc/salome/gui/GEOM/image273.jpg
    doc/salome/gui/GEOM/image274.jpg
    doc/salome/gui/GEOM/image275.jpg
    doc/salome/gui/GEOM/image276.jpg
    doc/salome/gui/GEOM/image277.jpg
    doc/salome/gui/GEOM/image278.jpg
    doc/salome/gui/GEOM/image279.jpg
    doc/salome/gui/GEOM/image28.jpg
    doc/salome/gui/GEOM/image280.jpg
    doc/salome/gui/GEOM/image281.jpg
    doc/salome/gui/GEOM/image282.jpg
    doc/salome/gui/GEOM/image283.jpg
    doc/salome/gui/GEOM/image284.jpg
    doc/salome/gui/GEOM/image285.jpg
    doc/salome/gui/GEOM/image286.jpg
    doc/salome/gui/GEOM/image287.jpg
    doc/salome/gui/GEOM/image288.jpg
    doc/salome/gui/GEOM/image289.jpg
    doc/salome/gui/GEOM/image29.gif
    doc/salome/gui/GEOM/image29.jpg
    doc/salome/gui/GEOM/image290.jpg
    doc/salome/gui/GEOM/image291.jpg
    doc/salome/gui/GEOM/image292.jpg
    doc/salome/gui/GEOM/image293.jpg
    doc/salome/gui/GEOM/image294.jpg
    doc/salome/gui/GEOM/image295.jpg
    doc/salome/gui/GEOM/image296.jpg
    doc/salome/gui/GEOM/image297.jpg
    doc/salome/gui/GEOM/image298.jpg
    doc/salome/gui/GEOM/image299.jpg
    doc/salome/gui/GEOM/image3.jpg
    doc/salome/gui/GEOM/image300.jpg
    doc/salome/gui/GEOM/image32.gif
    doc/salome/gui/GEOM/image35.gif
    doc/salome/gui/GEOM/image37.gif
    doc/salome/gui/GEOM/image4.gif
    doc/salome/gui/GEOM/image41.gif
    doc/salome/gui/GEOM/image42.gif
    doc/salome/gui/GEOM/image44.gif
    doc/salome/gui/GEOM/image49.gif
    doc/salome/gui/GEOM/image5.gif
    doc/salome/gui/GEOM/image5.jpg
    doc/salome/gui/GEOM/image51.gif
    doc/salome/gui/GEOM/image51.jpg
    doc/salome/gui/GEOM/image52.gif
    doc/salome/gui/GEOM/image52.jpg
    doc/salome/gui/GEOM/image53.gif
    doc/salome/gui/GEOM/image53.jpg
    doc/salome/gui/GEOM/image54.jpg
    doc/salome/gui/GEOM/image55.jpg
    doc/salome/gui/GEOM/image56.gif
    doc/salome/gui/GEOM/image56.jpg
    doc/salome/gui/GEOM/image57.gif
    doc/salome/gui/GEOM/image57.jpg
    doc/salome/gui/GEOM/image58.jpg
    doc/salome/gui/GEOM/image59.gif
    doc/salome/gui/GEOM/image59.jpg
    doc/salome/gui/GEOM/image6.gif
    doc/salome/gui/GEOM/image60.jpg
    doc/salome/gui/GEOM/image61.gif
    doc/salome/gui/GEOM/image61.jpg
    doc/salome/gui/GEOM/image62.jpg
    doc/salome/gui/GEOM/image63.jpg
    doc/salome/gui/GEOM/image64.gif
    doc/salome/gui/GEOM/image65.jpg
    doc/salome/gui/GEOM/image66.jpg
    doc/salome/gui/GEOM/image67.jpg
    doc/salome/gui/GEOM/image68.jpg
    doc/salome/gui/GEOM/image69.jpg
    doc/salome/gui/GEOM/image7.gif
    doc/salome/gui/GEOM/image7.jpg
    doc/salome/gui/GEOM/image70.jpg
    doc/salome/gui/GEOM/image71.jpg
    doc/salome/gui/GEOM/image72.jpg
    doc/salome/gui/GEOM/image73.jpg
    doc/salome/gui/GEOM/image74.jpg
    doc/salome/gui/GEOM/image75.jpg
    doc/salome/gui/GEOM/image76.jpg
    doc/salome/gui/GEOM/image77.jpg
    doc/salome/gui/GEOM/image78.jpg
    doc/salome/gui/GEOM/image79.jpg
    doc/salome/gui/GEOM/image8.gif
    doc/salome/gui/GEOM/image8.jpg
    doc/salome/gui/GEOM/image80.jpg
    doc/salome/gui/GEOM/image81.jpg
    doc/salome/gui/GEOM/image82.jpg
    doc/salome/gui/GEOM/image83.jpg
    doc/salome/gui/GEOM/image84.jpg
    doc/salome/gui/GEOM/image85.jpg
    doc/salome/gui/GEOM/image86.jpg
    doc/salome/gui/GEOM/image87.jpg
    doc/salome/gui/GEOM/image88.jpg
    doc/salome/gui/GEOM/image89.jpg
    doc/salome/gui/GEOM/image9.gif
    doc/salome/gui/GEOM/image9.jpg
    doc/salome/gui/GEOM/image90.jpg
    doc/salome/gui/GEOM/image91.jpg
    doc/salome/gui/GEOM/image92.jpg
    doc/salome/gui/GEOM/image93.jpg
    doc/salome/gui/GEOM/image94.jpg
    doc/salome/gui/GEOM/image95.jpg
    doc/salome/gui/GEOM/image96.jpg
    doc/salome/gui/GEOM/image97.jpg
    doc/salome/gui/GEOM/image98.jpg
    doc/salome/gui/GEOM/image99.jpg
    doc/salome/gui/GEOM/newentity_blocks.htm
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
    doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
    doc/salome/gui/GEOM/sketcher.htm
    doc/salome/gui/GEOM/webhelp.cab
    doc/salome/gui/GEOM/webhelp.jar
    doc/salome/gui/GEOM/whcsh_home.htm
    doc/salome/gui/GEOM/whcshdata.htm
    doc/salome/gui/GEOM/whdata/whftdata.js
    doc/salome/gui/GEOM/whdata/whftdata0.htm
    doc/salome/gui/GEOM/whdata/whftdata0.xml
    doc/salome/gui/GEOM/whdata/whfts.htm
    doc/salome/gui/GEOM/whdata/whfts.js
    doc/salome/gui/GEOM/whdata/whfts.xml
    doc/salome/gui/GEOM/whdata/whfwdata.js
    doc/salome/gui/GEOM/whdata/whfwdata0.htm
    doc/salome/gui/GEOM/whdata/whfwdata0.xml
    doc/salome/gui/GEOM/whdata/whfwdata1.htm
    doc/salome/gui/GEOM/whdata/whfwdata2.htm
    doc/salome/gui/GEOM/whdata/whgdata.js
    doc/salome/gui/GEOM/whdata/whgdata0.htm
    doc/salome/gui/GEOM/whdata/whgdata0.xml
    doc/salome/gui/GEOM/whdata/whglo.htm
    doc/salome/gui/GEOM/whdata/whglo.js
    doc/salome/gui/GEOM/whdata/whglo.xml
    doc/salome/gui/GEOM/whdata/whidata.js
    doc/salome/gui/GEOM/whdata/whidx.htm
    doc/salome/gui/GEOM/whdata/whidx.js
    doc/salome/gui/GEOM/whdata/whidx.xml
    doc/salome/gui/GEOM/whdata/whtdata.js
    doc/salome/gui/GEOM/whdata/whtdata0.htm
    doc/salome/gui/GEOM/whdata/whtdata0.xml
    doc/salome/gui/GEOM/whdata/whtoc.htm
    doc/salome/gui/GEOM/whdata/whtoc.js
    doc/salome/gui/GEOM/whdata/whtoc.xml
    doc/salome/gui/GEOM/whestart.ico
    doc/salome/gui/GEOM/whfbody.htm
    doc/salome/gui/GEOM/whfdhtml.htm
    doc/salome/gui/GEOM/whfform.htm
    doc/salome/gui/GEOM/whfhost.js
    doc/salome/gui/GEOM/whform.js
    doc/salome/gui/GEOM/whframes.js
    doc/salome/gui/GEOM/whgbody.htm
    doc/salome/gui/GEOM/whgdata/whexpbar.gif
    doc/salome/gui/GEOM/whgdata/whlstf0.htm
    doc/salome/gui/GEOM/whgdata/whlstf1.htm
    doc/salome/gui/GEOM/whgdata/whlstf2.htm
    doc/salome/gui/GEOM/whgdata/whlstf3.htm
    doc/salome/gui/GEOM/whgdata/whlstf4.htm
    doc/salome/gui/GEOM/whgdata/whlstf5.htm
    doc/salome/gui/GEOM/whgdata/whlstfl0.htm
    doc/salome/gui/GEOM/whgdata/whlstfl1.htm
    doc/salome/gui/GEOM/whgdata/whlstfl10.htm
    doc/salome/gui/GEOM/whgdata/whlstfl11.htm
    doc/salome/gui/GEOM/whgdata/whlstfl12.htm
    doc/salome/gui/GEOM/whgdata/whlstfl13.htm
    doc/salome/gui/GEOM/whgdata/whlstfl14.htm
    doc/salome/gui/GEOM/whgdata/whlstfl15.htm
    doc/salome/gui/GEOM/whgdata/whlstfl16.htm
    doc/salome/gui/GEOM/whgdata/whlstfl17.htm
    doc/salome/gui/GEOM/whgdata/whlstfl18.htm
    doc/salome/gui/GEOM/whgdata/whlstfl19.htm
    doc/salome/gui/GEOM/whgdata/whlstfl2.htm
    doc/salome/gui/GEOM/whgdata/whlstfl20.htm
    doc/salome/gui/GEOM/whgdata/whlstfl21.htm
    doc/salome/gui/GEOM/whgdata/whlstfl22.htm
    doc/salome/gui/GEOM/whgdata/whlstfl23.htm
    doc/salome/gui/GEOM/whgdata/whlstfl3.htm
    doc/salome/gui/GEOM/whgdata/whlstfl4.htm
    doc/salome/gui/GEOM/whgdata/whlstfl5.htm
    doc/salome/gui/GEOM/whgdata/whlstfl6.htm
    doc/salome/gui/GEOM/whgdata/whlstfl7.htm
    doc/salome/gui/GEOM/whgdata/whlstfl8.htm
    doc/salome/gui/GEOM/whgdata/whlstfl9.htm
    doc/salome/gui/GEOM/whgdata/whlstg0.htm
    doc/salome/gui/GEOM/whgdata/whlsti0.htm
    doc/salome/gui/GEOM/whgdata/whlstt0.htm
    doc/salome/gui/GEOM/whgdata/whlstt1.htm
    doc/salome/gui/GEOM/whgdata/whlstt2.htm
    doc/salome/gui/GEOM/whgdata/whlstt3.htm
    doc/salome/gui/GEOM/whgdata/whlstt4.htm
    doc/salome/gui/GEOM/whgdata/whnvf30.htm
    doc/salome/gui/GEOM/whgdata/whnvf31.htm
    doc/salome/gui/GEOM/whgdata/whnvf32.htm
    doc/salome/gui/GEOM/whgdata/whnvf33.htm
    doc/salome/gui/GEOM/whgdata/whnvl31.htm
    doc/salome/gui/GEOM/whgdata/whnvl32.htm
    doc/salome/gui/GEOM/whgdata/whnvl33.htm
    doc/salome/gui/GEOM/whgdata/whnvp30.htm
    doc/salome/gui/GEOM/whgdata/whnvp31.htm
    doc/salome/gui/GEOM/whgdata/whnvp32.htm
    doc/salome/gui/GEOM/whgdata/whnvp33.htm
    doc/salome/gui/GEOM/whgdata/whnvt30.htm
    doc/salome/gui/GEOM/whgdata/whnvt31.htm
    doc/salome/gui/GEOM/whgdata/whnvt32.htm
    doc/salome/gui/GEOM/whgdata/whnvt33.htm
    doc/salome/gui/GEOM/whgdef.htm
    doc/salome/gui/GEOM/whgdhtml.htm
    doc/salome/gui/GEOM/whghost.js
    doc/salome/gui/GEOM/whhost.js
    doc/salome/gui/GEOM/whibody.htm
    doc/salome/gui/GEOM/whidhtml.htm
    doc/salome/gui/GEOM/whiform.htm
    doc/salome/gui/GEOM/whihost.js
    doc/salome/gui/GEOM/whlang.js
    doc/salome/gui/GEOM/whmozemu.js
    doc/salome/gui/GEOM/whmsg.js
    doc/salome/gui/GEOM/whnjs.htm
    doc/salome/gui/GEOM/whphost.js
    doc/salome/gui/GEOM/whproj.htm
    doc/salome/gui/GEOM/whproj.js
    doc/salome/gui/GEOM/whproj.xml
    doc/salome/gui/GEOM/whproxy.js
    doc/salome/gui/GEOM/whres.xml
    doc/salome/gui/GEOM/whrstart.ico
    doc/salome/gui/GEOM/whskin_banner.htm
    doc/salome/gui/GEOM/whskin_blank.htm
    doc/salome/gui/GEOM/whskin_frmset01.htm
    doc/salome/gui/GEOM/whskin_frmset010.htm
    doc/salome/gui/GEOM/whskin_homepage.htm
    doc/salome/gui/GEOM/whskin_info.htm
    doc/salome/gui/GEOM/whskin_mbars.htm
    doc/salome/gui/GEOM/whskin_papplet.htm
    doc/salome/gui/GEOM/whskin_pdhtml.htm
    doc/salome/gui/GEOM/whskin_pickup.htm
    doc/salome/gui/GEOM/whskin_plist.htm
    doc/salome/gui/GEOM/whskin_tbars.htm
    doc/salome/gui/GEOM/whskin_tw.htm
    doc/salome/gui/GEOM/whst_topics.xml
    doc/salome/gui/GEOM/whstart.ico
    doc/salome/gui/GEOM/whstart.js
    doc/salome/gui/GEOM/whstub.js
    doc/salome/gui/GEOM/wht_abge.jpg
    doc/salome/gui/GEOM/wht_abgi.jpg
    doc/salome/gui/GEOM/wht_abgw.jpg
    doc/salome/gui/GEOM/wht_abte.jpg
    doc/salome/gui/GEOM/wht_abti.jpg
    doc/salome/gui/GEOM/wht_abtw.jpg
    doc/salome/gui/GEOM/wht_fts_h.gif
    doc/salome/gui/GEOM/wht_fts_n.gif
    doc/salome/gui/GEOM/wht_glo_h.gif
    doc/salome/gui/GEOM/wht_glo_n.gif
    doc/salome/gui/GEOM/wht_go.gif
    doc/salome/gui/GEOM/wht_hide.gif
    doc/salome/gui/GEOM/wht_idx_h.gif
    doc/salome/gui/GEOM/wht_idx_n.gif
    doc/salome/gui/GEOM/wht_logo1.gif
    doc/salome/gui/GEOM/wht_logo2.gif
    doc/salome/gui/GEOM/wht_next.gif
    doc/salome/gui/GEOM/wht_next_g.gif
    doc/salome/gui/GEOM/wht_prev.gif
    doc/salome/gui/GEOM/wht_prev_g.gif
    doc/salome/gui/GEOM/wht_spac.gif
    doc/salome/gui/GEOM/wht_sync.gif
    doc/salome/gui/GEOM/wht_tab0.gif
    doc/salome/gui/GEOM/wht_tab1.gif
    doc/salome/gui/GEOM/wht_tab2.gif
    doc/salome/gui/GEOM/wht_tab3.gif
    doc/salome/gui/GEOM/wht_tab4.gif
    doc/salome/gui/GEOM/wht_tab5.gif
    doc/salome/gui/GEOM/wht_tab6.gif
    doc/salome/gui/GEOM/wht_tab7.gif
    doc/salome/gui/GEOM/wht_tab8.gif
    doc/salome/gui/GEOM/wht_toc1.gif
    doc/salome/gui/GEOM/wht_toc2.gif
    doc/salome/gui/GEOM/wht_toc3.gif
    doc/salome/gui/GEOM/wht_toc4.gif
    doc/salome/gui/GEOM/wht_toc_h.gif
    doc/salome/gui/GEOM/wht_toc_n.gif
    doc/salome/gui/GEOM/wht_ws.gif
    doc/salome/gui/GEOM/wht_ws_g.gif
    doc/salome/gui/GEOM/whtbar.js
    doc/salome/gui/GEOM/whtdhtml.htm
    doc/salome/gui/GEOM/whthost.js
    doc/salome/gui/GEOM/whtopic.js
    doc/salome/gui/GEOM/whutils.js
    doc/salome/gui/GEOM/whver.js
    doc/salome/gui/GEOM/whxdata/whftdata0.xml
    doc/salome/gui/GEOM/whxdata/whfts.xml
    doc/salome/gui/GEOM/whxdata/whfwdata0.xml
    doc/salome/gui/GEOM/whxdata/whfwdata1.xml
    doc/salome/gui/GEOM/whxdata/whfwdata2.xml
    doc/salome/gui/GEOM/whxdata/whgdata0.xml
    doc/salome/gui/GEOM/whxdata/whglo.xml
    doc/salome/gui/GEOM/whxdata/whidx.xml
    doc/salome/gui/GEOM/whxdata/whtdata0.xml
    doc/salome/gui/GEOM/whxdata/whtoc.xml
    doc/salome/gui/GEOM/working_with_groups.htm
    doc/salome/gui/Makefile.in
    doc/salome/tui/GEOM/HTML/GEOM_Gen.html
    doc/salome/tui/GEOM/HTML/GEOM_Shape.html
    doc/salome/tui/GEOM/doxyfile
    doc/salome/tui/GEOM/doxyfile_py
    doc/salome/tui/GEOM/sources/Application-About.png
    doc/salome/tui/GEOM/sources/Application-About1.jpg
    doc/salome/tui/GEOM/sources/application.gif
    doc/salome/tui/GEOM/sources/application.jpg
    doc/salome/tui/GEOM/sources/bg_salome.gif
    doc/salome/tui/GEOM/sources/logocorp.gif
    doc/salome/tui/GEOM/sources/myheader.html
    doc/salome/tui/GEOM/sources/myheader_py2.html
    doc/salome/tui/GEOM/sources/occ.gif
    doc/salome/tui/GEOM/sources/static/doxygen.css
    doc/salome/tui/GEOM/sources/static/page2.html
    doc/salome/tui/GEOM/sources/static/tree.js
    doc/salome/tui/GEOM/sources/static/treeview.js
    doc/salome/tui/Makefile.in
    idl/GEOM_Gen.idl
    idl/GEOM_Superv.idl
    idl/Makefile.in
    resources/GEOM.config
    resources/GEOMCatalog.xml
    resources/GEOMDS_Resources
    resources/GEOM_en.xml
    resources/GEOM_fr.xml
    resources/ImportExport
    resources/ModuleGeom.png
    resources/ShHealing
    resources/arc.png
    resources/archimede.png
    resources/axisinertia.png
    resources/basicproperties.png
    resources/bezier.png
    resources/block_2f.png
    resources/block_6f.png
    resources/block_face_2e.png
    resources/block_face_4e.png
    resources/block_face_4v.png
    resources/block_multitrsf_double.png
    resources/block_multitrsf_simple.png
    resources/bounding.png
    resources/box.png
    resources/box2points.png
    resources/boxdxyz.png
    resources/build_compound.png
    resources/build_edge.png
    resources/build_face.png
    resources/build_shell.png
    resources/build_solid.png
    resources/build_wire.png
    resources/centergravity.png
    resources/chamfer.png
    resources/chamferall.png
    resources/chamferedge.png
    resources/chamferface.png
    resources/check.png
    resources/check_blocks_compound.png
    resources/circle.png
    resources/circle3points.png
    resources/circlepointvector.png
    resources/closecontour.png
    resources/common.png
    resources/cone.png
    resources/conedxyz.png
    resources/conepointvector.png
    resources/coordsys.png
    resources/cut.png
    resources/cylinder.png
    resources/cylinderdxyz.png
    resources/cylinderpointvector.png
    resources/delete.png
    resources/display.png
    resources/displayall.png
    resources/displayonly.png
    resources/ellipse.png
    resources/ellipsepointvector.png
    resources/erase.png
    resources/eraseall.png
    resources/fillet.png
    resources/filletall.png
    resources/filletedge.png
    resources/filletface.png
    resources/filling.png
    resources/free_bound.png
    resources/free_faces.png
    resources/fuse.png
    resources/geometry.png
    resources/glue.png
    resources/group_edit.png
    resources/group_new.png
    resources/interpol.png
    resources/line.png
    resources/line2points.png
    resources/lineedge.png
    resources/linepointvector.png
    resources/marker.png
    resources/marker2.png
    resources/marker3.png
    resources/mindist.png
    resources/mirrorAxe.png
    resources/mirrorPlane.png
    resources/mirrorPoint.png
    resources/multirotation.png
    resources/multirotationdouble.png
    resources/multirotationsimple.png
    resources/multitranslation.png
    resources/multitranslationdouble.png
    resources/multitranslationsimple.png
    resources/offset.png
    resources/orientation.png
    resources/partition.png
    resources/partitionkeep.png
    resources/partitionplane.png
    resources/pipe.png
    resources/plane.png
    resources/plane3points.png
    resources/planeWorking.png
    resources/planedxyz.png
    resources/planeface.png
    resources/planepointvector.png
    resources/planeworkingface.png
    resources/planeworkingorigin.png
    resources/planeworkingvector.png
    resources/point2.png
    resources/point3.png
    resources/point_coord.png
    resources/pointonedge.png
    resources/polyline.png
    resources/position.png
    resources/position2.png
    resources/prism.png
    resources/propagate.png
    resources/redo.png
    resources/revol.png
    resources/rotate.png
    resources/scale.png
    resources/section.png
    resources/select1.png
    resources/sewing.png
    resources/shading.png
    resources/shapeprocess.png
    resources/sketch.png
    resources/sphere.png
    resources/spheredxyz.png
    resources/spherepoint.png
    resources/spline.png
    resources/subblock.png
    resources/subshape.png
    resources/suppressintwires.png
    resources/supressHolesOnFaceShell.png
    resources/supressface.png
    resources/supresshole.png
    resources/tolerance.png
    resources/torus.png
    resources/torusdxyz.png
    resources/toruspointvector.png
    resources/translation.png
    resources/translationDxyz.png
    resources/translationPoints.png
    resources/translationVector.png
    resources/tree_block.png
    resources/tree_compound.png
    resources/tree_compsolid.png
    resources/tree_edge.png
    resources/tree_face.png
    resources/tree_group_edge.png
    resources/tree_group_face.png
    resources/tree_group_solid.png
    resources/tree_group_vertex.png
    resources/tree_lcs.png
    resources/tree_shape.png
    resources/tree_shell.png
    resources/tree_solid.png
    resources/tree_vertex.png
    resources/tree_wire.png
    resources/undo.png
    resources/vector.png
    resources/vector2points.png
    resources/vectordxyz.png
    resources/whatis.png
    src/ARCHIMEDE/Archimede_VolumeSection.cxx
    src/ARCHIMEDE/Archimede_VolumeSection.hxx
    src/ARCHIMEDE/Makefile.in
    src/BREPExport/BREPExport.cxx
    src/BREPExport/Makefile.in
    src/BREPImport/BREPImport.cxx
    src/BREPImport/Makefile.in
    src/BasicGUI/BasicGUI.cxx
    src/BasicGUI/BasicGUI.h
    src/BasicGUI/BasicGUI_ArcDlg.cxx
    src/BasicGUI/BasicGUI_ArcDlg.h
    src/BasicGUI/BasicGUI_CircleDlg.cxx
    src/BasicGUI/BasicGUI_CircleDlg.h
    src/BasicGUI/BasicGUI_CurveDlg.cxx
    src/BasicGUI/BasicGUI_CurveDlg.h
    src/BasicGUI/BasicGUI_EllipseDlg.cxx
    src/BasicGUI/BasicGUI_EllipseDlg.h
    src/BasicGUI/BasicGUI_LineDlg.cxx
    src/BasicGUI/BasicGUI_LineDlg.h
    src/BasicGUI/BasicGUI_MarkerDlg.cxx
    src/BasicGUI/BasicGUI_MarkerDlg.h
    src/BasicGUI/BasicGUI_PlaneDlg.cxx
    src/BasicGUI/BasicGUI_PlaneDlg.h
    src/BasicGUI/BasicGUI_PointDlg.cxx
    src/BasicGUI/BasicGUI_PointDlg.h
    src/BasicGUI/BasicGUI_VectorDlg.cxx
    src/BasicGUI/BasicGUI_VectorDlg.h
    src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx
    src/BasicGUI/BasicGUI_WorkingPlaneDlg.h
    src/BasicGUI/Makefile.in
    src/BlocksGUI/BlocksGUI.cxx
    src/BlocksGUI/BlocksGUI.h
    src/BlocksGUI/BlocksGUI_BlockDlg.cxx
    src/BlocksGUI/BlocksGUI_BlockDlg.h
    src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx
    src/BlocksGUI/BlocksGUI_ExplodeDlg.h
    src/BlocksGUI/BlocksGUI_PropagateDlg.cxx
    src/BlocksGUI/BlocksGUI_PropagateDlg.h
    src/BlocksGUI/BlocksGUI_QuadFaceDlg.cxx
    src/BlocksGUI/BlocksGUI_QuadFaceDlg.h
    src/BlocksGUI/BlocksGUI_TrsfDlg.cxx
    src/BlocksGUI/BlocksGUI_TrsfDlg.h
    src/BlocksGUI/Makefile.in
    src/BooleanGUI/BooleanGUI.cxx
    src/BooleanGUI/BooleanGUI.h
    src/BooleanGUI/BooleanGUI_Dialog.cxx
    src/BooleanGUI/BooleanGUI_Dialog.h
    src/BooleanGUI/Makefile.in
    src/BuildGUI/BuildGUI.cxx
    src/BuildGUI/BuildGUI.h
    src/BuildGUI/BuildGUI_CompoundDlg.cxx
    src/BuildGUI/BuildGUI_CompoundDlg.h
    src/BuildGUI/BuildGUI_EdgeDlg.cxx
    src/BuildGUI/BuildGUI_EdgeDlg.h
    src/BuildGUI/BuildGUI_FaceDlg.cxx
    src/BuildGUI/BuildGUI_FaceDlg.h
    src/BuildGUI/BuildGUI_ShellDlg.cxx
    src/BuildGUI/BuildGUI_ShellDlg.h
    src/BuildGUI/BuildGUI_SolidDlg.cxx
    src/BuildGUI/BuildGUI_SolidDlg.h
    src/BuildGUI/BuildGUI_WireDlg.cxx
    src/BuildGUI/BuildGUI_WireDlg.h
    src/BuildGUI/Makefile.in
    src/DisplayGUI/DisplayGUI.h
    src/DisplayGUI/Makefile.in
    src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx
    src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h
    src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx
    src/DlgRef/DlgRef_1Sel1Check1List_QTD.h
    src/DlgRef/DlgRef_1Sel1Check_QTD.cxx
    src/DlgRef/DlgRef_1Sel1Check_QTD.h
    src/DlgRef/DlgRef_1Sel1Spin.cxx
    src/DlgRef/DlgRef_1Sel1Spin.h
    src/DlgRef/DlgRef_1Sel1Spin1Check.cxx
    src/DlgRef/DlgRef_1Sel1Spin1Check.h
    src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx
    src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h
    src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx
    src/DlgRef/DlgRef_1Sel1Spin_QTD.h
    src/DlgRef/DlgRef_1Sel2Spin.cxx
    src/DlgRef/DlgRef_1Sel2Spin.h
    src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx
    src/DlgRef/DlgRef_1Sel2Spin_QTD.h
    src/DlgRef/DlgRef_1Sel3Check_QTD.cxx
    src/DlgRef/DlgRef_1Sel3Check_QTD.h
    src/DlgRef/DlgRef_1Sel3Spin.cxx
    src/DlgRef/DlgRef_1Sel3Spin.h
    src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx
    src/DlgRef/DlgRef_1Sel3Spin_QTD.h
    src/DlgRef/DlgRef_1Sel4Spin.cxx
    src/DlgRef/DlgRef_1Sel4Spin.h
    src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx
    src/DlgRef/DlgRef_1Sel4Spin_QTD.h
    src/DlgRef/DlgRef_1Sel5Spin.cxx
    src/DlgRef/DlgRef_1Sel5Spin.h
    src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx
    src/DlgRef/DlgRef_1Sel5Spin_QTD.h
    src/DlgRef/DlgRef_1Sel_Ext.h
    src/DlgRef/DlgRef_1Sel_QTD.cxx
    src/DlgRef/DlgRef_1Sel_QTD.h
    src/DlgRef/DlgRef_1Spin.cxx
    src/DlgRef/DlgRef_1Spin.h
    src/DlgRef/DlgRef_1Spin_QTD.cxx
    src/DlgRef/DlgRef_1Spin_QTD.h
    src/DlgRef/DlgRef_2Sel1Spin.cxx
    src/DlgRef/DlgRef_2Sel1Spin.h
    src/DlgRef/DlgRef_2Sel1Spin2Check.cxx
    src/DlgRef/DlgRef_2Sel1Spin2Check.h
    src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx
    src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h
    src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx
    src/DlgRef/DlgRef_2Sel1Spin_QTD.h
    src/DlgRef/DlgRef_2Sel2Spin.cxx
    src/DlgRef/DlgRef_2Sel2Spin.h
    src/DlgRef/DlgRef_2Sel2Spin1Check.cxx
    src/DlgRef/DlgRef_2Sel2Spin1Check.h
    src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx
    src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h
    src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx
    src/DlgRef/DlgRef_2Sel2Spin_QTD.h
    src/DlgRef/DlgRef_2Sel3Spin.cxx
    src/DlgRef/DlgRef_2Sel3Spin.h
    src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx
    src/DlgRef/DlgRef_2Sel3Spin_QTD.h
    src/DlgRef/DlgRef_2Sel4Spin1Check.cxx
    src/DlgRef/DlgRef_2Sel4Spin1Check.h
    src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx
    src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h
    src/DlgRef/DlgRef_2Sel_QTD.cxx
    src/DlgRef/DlgRef_2Sel_QTD.h
    src/DlgRef/DlgRef_2Spin.cxx
    src/DlgRef/DlgRef_2Spin.h
    src/DlgRef/DlgRef_2Spin_QTD.cxx
    src/DlgRef/DlgRef_2Spin_QTD.h
    src/DlgRef/DlgRef_3Check_QTD.cxx
    src/DlgRef/DlgRef_3Check_QTD.h
    src/DlgRef/DlgRef_3Sel1Spin.cxx
    src/DlgRef/DlgRef_3Sel1Spin.h
    src/DlgRef/DlgRef_3Sel3Spin1Check.cxx
    src/DlgRef/DlgRef_3Sel3Spin1Check.h
    src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx
    src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h
    src/DlgRef/DlgRef_3Sel4Spin2Check.cxx
    src/DlgRef/DlgRef_3Sel4Spin2Check.h
    src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx
    src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h
    src/DlgRef/DlgRef_3Sel_QTD.cxx
    src/DlgRef/DlgRef_3Sel_QTD.h
    src/DlgRef/DlgRef_3Spin.cxx
    src/DlgRef/DlgRef_3Spin.h
    src/DlgRef/DlgRef_3Spin1Check.cxx
    src/DlgRef/DlgRef_3Spin1Check.h
    src/DlgRef/DlgRef_3Spin1Check_QTD.cxx
    src/DlgRef/DlgRef_3Spin1Check_QTD.h
    src/DlgRef/DlgRef_3Spin_QTD.cxx
    src/DlgRef/DlgRef_3Spin_QTD.h
    src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx
    src/DlgRef/DlgRef_4Sel1List1Check_QTD.h
    src/DlgRef/DlgRef_4Sel1List_QTD.cxx
    src/DlgRef/DlgRef_4Sel1List_QTD.h
    src/DlgRef/DlgRef_6Sel_QTD.cxx
    src/DlgRef/DlgRef_6Sel_QTD.h
    src/DlgRef/DlgRef_Skeleton_QTD.cxx
    src/DlgRef/DlgRef_Skeleton_QTD.h
    src/DlgRef/DlgRef_SpinBox.cxx
    src/DlgRef/DlgRef_SpinBox.h
    src/DlgRef/Makefile.in
    src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui
    src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui
    src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui
    src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui
    src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui
    src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui
    src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui
    src/DlgRef/UIFiles/ui_to_cxx
    src/EntityGUI/EntityGUI.cxx
    src/EntityGUI/EntityGUI.h
    src/EntityGUI/EntityGUI_1Sel_QTD.cxx
    src/EntityGUI/EntityGUI_1Sel_QTD.h
    src/EntityGUI/EntityGUI_1Spin.cxx
    src/EntityGUI/EntityGUI_1Spin.h
    src/EntityGUI/EntityGUI_1Spin_QTD.cxx
    src/EntityGUI/EntityGUI_1Spin_QTD.h
    src/EntityGUI/EntityGUI_2Spin.cxx
    src/EntityGUI/EntityGUI_2Spin.h
    src/EntityGUI/EntityGUI_2Spin_QTD.cxx
    src/EntityGUI/EntityGUI_2Spin_QTD.h
    src/EntityGUI/EntityGUI_3Spin.cxx
    src/EntityGUI/EntityGUI_3Spin.h
    src/EntityGUI/EntityGUI_3Spin_QTD.cxx
    src/EntityGUI/EntityGUI_3Spin_QTD.h
    src/EntityGUI/EntityGUI_4Spin.cxx
    src/EntityGUI/EntityGUI_4Spin.h
    src/EntityGUI/EntityGUI_4Spin_QTD.cxx
    src/EntityGUI/EntityGUI_4Spin_QTD.h
    src/EntityGUI/EntityGUI_Dir1_QTD.cxx
    src/EntityGUI/EntityGUI_Dir1_QTD.h
    src/EntityGUI/EntityGUI_Dir2_QTD.cxx
    src/EntityGUI/EntityGUI_Dir2_QTD.h
    src/EntityGUI/EntityGUI_Point_QTD.cxx
    src/EntityGUI/EntityGUI_Point_QTD.h
    src/EntityGUI/EntityGUI_Skeleton_QTD.cxx
    src/EntityGUI/EntityGUI_Skeleton_QTD.h
    src/EntityGUI/EntityGUI_SketcherDlg.cxx
    src/EntityGUI/EntityGUI_SketcherDlg.h
    src/EntityGUI/EntityGUI_SubShapeDlg.cxx
    src/EntityGUI/EntityGUI_SubShapeDlg.h
    src/EntityGUI/Makefile.in
    src/EntityGUI/UIFiles/EntityGUI_1Sel_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_1Spin_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_2Spin_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_3Spin_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_4Spin_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_Dir1_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_Dir2_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_Point_QTD.ui
    src/EntityGUI/UIFiles/EntityGUI_Skeleton_QTD.ui
    src/EntityGUI/UIFiles/ui_to_cxx
    src/GEOM/GEOM_Application.cxx
    src/GEOM/GEOM_Application.hxx
    src/GEOM/GEOM_Application.ixx
    src/GEOM/GEOM_Application.jxx
    src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx
    src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx
    src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
    src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
    src/GEOM/GEOM_DataMapOfAsciiStringTransient.hxx
    src/GEOM/GEOM_DataMapOfAsciiStringTransient_0.cxx
    src/GEOM/GEOM_Engine.cxx
    src/GEOM/GEOM_Engine.hxx
    src/GEOM/GEOM_Function.cxx
    src/GEOM/GEOM_Function.hxx
    src/GEOM/GEOM_Gen_i.cc
    src/GEOM/GEOM_IOperations.cxx
    src/GEOM/GEOM_IOperations.hxx
    src/GEOM/GEOM_ISubShape.hxx
    src/GEOM/GEOM_Object.cxx
    src/GEOM/GEOM_Object.hxx
    src/GEOM/GEOM_PythonDump.cxx
    src/GEOM/GEOM_PythonDump.hxx
    src/GEOM/GEOM_Solver.cxx
    src/GEOM/GEOM_Solver.hxx
    src/GEOM/GEOM_SubShapeDriver.cxx
    src/GEOM/GEOM_SubShapeDriver.hxx
    src/GEOM/Handle_GEOM_Application.hxx
    src/GEOM/Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
    src/GEOM/Makefile.in
    src/GEOM/geom.cxx
    src/GEOMAlgo/BlockFix.cdl
    src/GEOMAlgo/BlockFix.cxx
    src/GEOMAlgo/BlockFix.hxx
    src/GEOMAlgo/BlockFix.ixx
    src/GEOMAlgo/BlockFix.jxx
    src/GEOMAlgo/BlockFix_BlockFixAPI.cdl
    src/GEOMAlgo/BlockFix_BlockFixAPI.cxx
    src/GEOMAlgo/BlockFix_BlockFixAPI.hxx
    src/GEOMAlgo/BlockFix_BlockFixAPI.ixx
    src/GEOMAlgo/BlockFix_BlockFixAPI.jxx
    src/GEOMAlgo/BlockFix_BlockFixAPI.lxx
    src/GEOMAlgo/BlockFix_CheckTool.cdl
    src/GEOMAlgo/BlockFix_CheckTool.cxx
    src/GEOMAlgo/BlockFix_CheckTool.hxx
    src/GEOMAlgo/BlockFix_CheckTool.ixx
    src/GEOMAlgo/BlockFix_CheckTool.jxx
    src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cdl
    src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cxx
    src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.hxx
    src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.ixx
    src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.jxx
    src/GEOMAlgo/BlockFix_SphereSpaceModifier.cdl
    src/GEOMAlgo/BlockFix_SphereSpaceModifier.cxx
    src/GEOMAlgo/BlockFix_SphereSpaceModifier.hxx
    src/GEOMAlgo/BlockFix_SphereSpaceModifier.ixx
    src/GEOMAlgo/BlockFix_SphereSpaceModifier.jxx
    src/GEOMAlgo/BlockFix_UnionEdges.cdl
    src/GEOMAlgo/BlockFix_UnionEdges.cxx
    src/GEOMAlgo/BlockFix_UnionEdges.hxx
    src/GEOMAlgo/BlockFix_UnionEdges.ixx
    src/GEOMAlgo/BlockFix_UnionEdges.jxx
    src/GEOMAlgo/BlockFix_UnionFaces.cdl
    src/GEOMAlgo/BlockFix_UnionFaces.cxx
    src/GEOMAlgo/BlockFix_UnionFaces.hxx
    src/GEOMAlgo/BlockFix_UnionFaces.ixx
    src/GEOMAlgo/BlockFix_UnionFaces.jxx
    src/GEOMAlgo/GEOMAlgo.cdl
    src/GEOMAlgo/GEOMAlgo_Algo.cdl
    src/GEOMAlgo/GEOMAlgo_Algo.cxx
    src/GEOMAlgo/GEOMAlgo_Algo.hxx
    src/GEOMAlgo/GEOMAlgo_Algo.ixx
    src/GEOMAlgo/GEOMAlgo_Algo.jxx
    src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cdl
    src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cxx
    src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.hxx
    src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.ixx
    src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.jxx
    src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx
    src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_0.cxx
    src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx
    src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_0.cxx
    src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger.hxx
    src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger_0.cxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cdl
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn.hxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn.ixx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn.jxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.hxx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.ixx
    src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.jxx
    src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cdl
    src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cxx
    src/GEOMAlgo/GEOMAlgo_GlueAnalyser.hxx
    src/GEOMAlgo/GEOMAlgo_GlueAnalyser.ixx
    src/GEOMAlgo/GEOMAlgo_GlueAnalyser.jxx
    src/GEOMAlgo/GEOMAlgo_Gluer.cdl
    src/GEOMAlgo/GEOMAlgo_Gluer.cxx
    src/GEOMAlgo/GEOMAlgo_Gluer.hxx
    src/GEOMAlgo/GEOMAlgo_Gluer.ixx
    src/GEOMAlgo/GEOMAlgo_Gluer.jxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox_0.cxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState.hxx
    src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
    src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt.hxx
    src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx
    src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt.hxx
    src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes.hxx
    src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes_0.cxx
    src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx
    src/GEOMAlgo/GEOMAlgo_ListOfPnt_0.cxx
    src/GEOMAlgo/GEOMAlgo_PassKey.cdl
    src/GEOMAlgo/GEOMAlgo_PassKey.cxx
    src/GEOMAlgo/GEOMAlgo_PassKey.hxx
    src/GEOMAlgo/GEOMAlgo_PassKey.ixx
    src/GEOMAlgo/GEOMAlgo_PassKey.jxx
    src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cdl
    src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cxx
    src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.hxx
    src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.ixx
    src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.jxx
    src/GEOMAlgo/GEOMAlgo_PassKeyShape.cdl
    src/GEOMAlgo/GEOMAlgo_PassKeyShape.cxx
    src/GEOMAlgo/GEOMAlgo_PassKeyShape.hxx
    src/GEOMAlgo/GEOMAlgo_PassKeyShape.ixx
    src/GEOMAlgo/GEOMAlgo_PassKeyShape.jxx
    src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl
    src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cxx
    src/GEOMAlgo/GEOMAlgo_ShapeAlgo.hxx
    src/GEOMAlgo/GEOMAlgo_ShapeAlgo.ixx
    src/GEOMAlgo/GEOMAlgo_ShapeAlgo.jxx
    src/GEOMAlgo/GEOMAlgo_ShapeSolid.cdl
    src/GEOMAlgo/GEOMAlgo_ShapeSolid.cxx
    src/GEOMAlgo/GEOMAlgo_ShapeSolid.hxx
    src/GEOMAlgo/GEOMAlgo_ShapeSolid.ixx
    src/GEOMAlgo/GEOMAlgo_ShapeSolid.jxx
    src/GEOMAlgo/GEOMAlgo_ShellSolid.cdl
    src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx
    src/GEOMAlgo/GEOMAlgo_ShellSolid.hxx
    src/GEOMAlgo/GEOMAlgo_ShellSolid.ixx
    src/GEOMAlgo/GEOMAlgo_ShellSolid.jxx
    src/GEOMAlgo/GEOMAlgo_SolidSolid.cdl
    src/GEOMAlgo/GEOMAlgo_SolidSolid.cxx
    src/GEOMAlgo/GEOMAlgo_SolidSolid.hxx
    src/GEOMAlgo/GEOMAlgo_SolidSolid.ixx
    src/GEOMAlgo/GEOMAlgo_SolidSolid.jxx
    src/GEOMAlgo/GEOMAlgo_State.hxx
    src/GEOMAlgo/GEOMAlgo_StateCollector.cdl
    src/GEOMAlgo/GEOMAlgo_StateCollector.cxx
    src/GEOMAlgo/GEOMAlgo_StateCollector.hxx
    src/GEOMAlgo/GEOMAlgo_StateCollector.ixx
    src/GEOMAlgo/GEOMAlgo_StateCollector.jxx
    src/GEOMAlgo/GEOMAlgo_SurfaceTools.cdl
    src/GEOMAlgo/GEOMAlgo_SurfaceTools.cxx
    src/GEOMAlgo/GEOMAlgo_SurfaceTools.hxx
    src/GEOMAlgo/GEOMAlgo_SurfaceTools.ixx
    src/GEOMAlgo/GEOMAlgo_SurfaceTools.jxx
    src/GEOMAlgo/GEOMAlgo_Tools.cdl
    src/GEOMAlgo/GEOMAlgo_Tools.cxx
    src/GEOMAlgo/GEOMAlgo_Tools.hxx
    src/GEOMAlgo/GEOMAlgo_Tools.ixx
    src/GEOMAlgo/GEOMAlgo_Tools.jxx
    src/GEOMAlgo/GEOMAlgo_VertexSolid.cdl
    src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx
    src/GEOMAlgo/GEOMAlgo_VertexSolid.hxx
    src/GEOMAlgo/GEOMAlgo_VertexSolid.ixx
    src/GEOMAlgo/GEOMAlgo_VertexSolid.jxx
    src/GEOMAlgo/GEOMAlgo_WireSolid.cdl
    src/GEOMAlgo/GEOMAlgo_WireSolid.cxx
    src/GEOMAlgo/GEOMAlgo_WireSolid.hxx
    src/GEOMAlgo/GEOMAlgo_WireSolid.ixx
    src/GEOMAlgo/GEOMAlgo_WireSolid.jxx
    src/GEOMAlgo/Handle_BlockFix_BlockFixAPI.hxx
    src/GEOMAlgo/Handle_BlockFix_PeriodicSurfaceModifier.hxx
    src/GEOMAlgo/Handle_BlockFix_SphereSpaceModifier.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx
    src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx
    src/GEOMAlgo/Makefile.in
    src/GEOMBase/GEOMBase.cxx
    src/GEOMBase/GEOMBase.h
    src/GEOMBase/GEOMBase_Helper.cxx
    src/GEOMBase/GEOMBase_Helper.h
    src/GEOMBase/GEOMBase_Skeleton.cxx
    src/GEOMBase/GEOMBase_Skeleton.h
    src/GEOMBase/GEOMBase_aParameterDlg.cxx
    src/GEOMBase/GEOMBase_aParameterDlg.h
    src/GEOMBase/GEOM_Operation.cxx
    src/GEOMBase/GEOM_Operation.h
    src/GEOMBase/Makefile.in
    src/GEOMClient/GEOM_Client.cxx
    src/GEOMClient/GEOM_Client.hxx
    src/GEOMClient/Makefile.in
    src/GEOMContext/GEOMContext.cxx
    src/GEOMContext/GEOMContext.h
    src/GEOMContext/GEOM_icons.po
    src/GEOMContext/GEOM_msg_en.po
    src/GEOMContext/GEOM_msg_fr.po
    src/GEOMContext/Makefile.in
    src/GEOMDS/GEOMDS_Commands.cxx
    src/GEOMDS/GEOMDS_Commands.jxx
    src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx
    src/GEOMFiltersSelection/GEOM_EdgeFilter.h
    src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx
    src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx
    src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx
    src/GEOMFiltersSelection/GEOM_FaceFilter.cxx
    src/GEOMFiltersSelection/GEOM_FaceFilter.h
    src/GEOMFiltersSelection/GEOM_FaceFilter.hxx
    src/GEOMFiltersSelection/GEOM_FaceFilter.ixx
    src/GEOMFiltersSelection/GEOM_FaceFilter.jxx
    src/GEOMFiltersSelection/GEOM_LogicalFilter.cxx
    src/GEOMFiltersSelection/GEOM_LogicalFilter.h
    src/GEOMFiltersSelection/GEOM_LogicalFilter.hxx
    src/GEOMFiltersSelection/GEOM_OCCFilter.cxx
    src/GEOMFiltersSelection/GEOM_OCCFilter.h
    src/GEOMFiltersSelection/GEOM_PreviewFilter.cxx
    src/GEOMFiltersSelection/GEOM_PreviewFilter.h
    src/GEOMFiltersSelection/GEOM_PreviewFilter.hxx
    src/GEOMFiltersSelection/GEOM_PreviewFilter.ixx
    src/GEOMFiltersSelection/GEOM_PreviewFilter.jxx
    src/GEOMFiltersSelection/GEOM_SelectionFilter.cxx
    src/GEOMFiltersSelection/GEOM_SelectionFilter.h
    src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx
    src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx
    src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx
    src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx
    src/GEOMFiltersSelection/GEOM_TypeFilter.cxx
    src/GEOMFiltersSelection/GEOM_TypeFilter.h
    src/GEOMFiltersSelection/GEOM_TypeFilter.hxx
    src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx
    src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx
    src/GEOMFiltersSelection/Handle_GEOM_PreviewFilter.hxx
    src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx
    src/GEOMFiltersSelection/Makefile.in
    src/GEOMGUI/GEOMGUI.cxx
    src/GEOMGUI/GEOMGUI.h
    src/GEOMGUI/GEOMGUI_OCCSelector.cxx
    src/GEOMGUI/GEOMGUI_OCCSelector.h
    src/GEOMGUI/GEOMGUI_Selection.cxx
    src/GEOMGUI/GEOMGUI_Selection.h
    src/GEOMGUI/GEOM_Displayer.cxx
    src/GEOMGUI/GEOM_Displayer.h
    src/GEOMGUI/GEOM_images.po
    src/GEOMGUI/GEOM_msg_en.po
    src/GEOMGUI/GEOM_msg_fr.po
    src/GEOMGUI/GeometryGUI.cxx
    src/GEOMGUI/GeometryGUI.h
    src/GEOMGUI/GeometryGUI_Swig.hxx
    src/GEOMGUI/GeometryGUI_Swig.i
    src/GEOMGUI/Makefile.in
    src/GEOMImpl/GEOMImpl_ArcDriver.cxx
    src/GEOMImpl/GEOMImpl_ArcDriver.hxx
    src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx
    src/GEOMImpl/GEOMImpl_ArchimedeDriver.hxx
    src/GEOMImpl/GEOMImpl_Block6Explorer.cxx
    src/GEOMImpl/GEOMImpl_Block6Explorer.hxx
    src/GEOMImpl/GEOMImpl_BlockDriver.cxx
    src/GEOMImpl/GEOMImpl_BlockDriver.hxx
    src/GEOMImpl/GEOMImpl_BooleanDriver.cxx
    src/GEOMImpl/GEOMImpl_BooleanDriver.hxx
    src/GEOMImpl/GEOMImpl_BoxDriver.cxx
    src/GEOMImpl/GEOMImpl_BoxDriver.hxx
    src/GEOMImpl/GEOMImpl_ChamferDriver.cxx
    src/GEOMImpl/GEOMImpl_ChamferDriver.hxx
    src/GEOMImpl/GEOMImpl_CircleDriver.cxx
    src/GEOMImpl/GEOMImpl_CircleDriver.hxx
    src/GEOMImpl/GEOMImpl_ConeDriver.cxx
    src/GEOMImpl/GEOMImpl_ConeDriver.hxx
    src/GEOMImpl/GEOMImpl_CopyDriver.cxx
    src/GEOMImpl/GEOMImpl_CopyDriver.hxx
    src/GEOMImpl/GEOMImpl_CylinderDriver.cxx
    src/GEOMImpl/GEOMImpl_CylinderDriver.hxx
    src/GEOMImpl/GEOMImpl_EllipseDriver.cxx
    src/GEOMImpl/GEOMImpl_EllipseDriver.hxx
    src/GEOMImpl/GEOMImpl_ExportDriver.cxx
    src/GEOMImpl/GEOMImpl_ExportDriver.hxx
    src/GEOMImpl/GEOMImpl_FilletDriver.cxx
    src/GEOMImpl/GEOMImpl_FilletDriver.hxx
    src/GEOMImpl/GEOMImpl_FillingDriver.cxx
    src/GEOMImpl/GEOMImpl_FillingDriver.hxx
    src/GEOMImpl/GEOMImpl_Gen.cxx
    src/GEOMImpl/GEOMImpl_Gen.hxx
    src/GEOMImpl/GEOMImpl_GlueDriver.cxx
    src/GEOMImpl/GEOMImpl_GlueDriver.hxx
    src/GEOMImpl/GEOMImpl_HealingDriver.cxx
    src/GEOMImpl/GEOMImpl_HealingDriver.hxx
    src/GEOMImpl/GEOMImpl_I3DPrimOperations.cxx
    src/GEOMImpl/GEOMImpl_I3DPrimOperations.hxx
    src/GEOMImpl/GEOMImpl_IArc.hxx
    src/GEOMImpl/GEOMImpl_IArchimede.hxx
    src/GEOMImpl/GEOMImpl_IBasicOperations.cxx
    src/GEOMImpl/GEOMImpl_IBasicOperations.hxx
    src/GEOMImpl/GEOMImpl_IBlockTrsf.hxx
    src/GEOMImpl/GEOMImpl_IBlocks.hxx
    src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx
    src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx
    src/GEOMImpl/GEOMImpl_IBoolean.hxx
    src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx
    src/GEOMImpl/GEOMImpl_IBooleanOperations.hxx
    src/GEOMImpl/GEOMImpl_IBox.hxx
    src/GEOMImpl/GEOMImpl_IChamfer.hxx
    src/GEOMImpl/GEOMImpl_ICircle.hxx
    src/GEOMImpl/GEOMImpl_ICone.hxx
    src/GEOMImpl/GEOMImpl_ICopy.hxx
    src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
    src/GEOMImpl/GEOMImpl_ICurvesOperations.hxx
    src/GEOMImpl/GEOMImpl_ICylinder.hxx
    src/GEOMImpl/GEOMImpl_IEllipse.hxx
    src/GEOMImpl/GEOMImpl_IFillet.hxx
    src/GEOMImpl/GEOMImpl_IFilling.hxx
    src/GEOMImpl/GEOMImpl_IGlue.hxx
    src/GEOMImpl/GEOMImpl_IGroupOperations.cxx
    src/GEOMImpl/GEOMImpl_IGroupOperations.hxx
    src/GEOMImpl/GEOMImpl_IHealing.hxx
    src/GEOMImpl/GEOMImpl_IHealingOperations.cxx
    src/GEOMImpl/GEOMImpl_IHealingOperations.hxx
    src/GEOMImpl/GEOMImpl_IImportExport.hxx
    src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
    src/GEOMImpl/GEOMImpl_IInsertOperations.hxx
    src/GEOMImpl/GEOMImpl_ILine.hxx
    src/GEOMImpl/GEOMImpl_ILocalOperations.cxx
    src/GEOMImpl/GEOMImpl_ILocalOperations.hxx
    src/GEOMImpl/GEOMImpl_IMarker.hxx
    src/GEOMImpl/GEOMImpl_IMeasure.hxx
    src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
    src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx
    src/GEOMImpl/GEOMImpl_IMirror.hxx
    src/GEOMImpl/GEOMImpl_IOffset.hxx
    src/GEOMImpl/GEOMImpl_IPartition.hxx
    src/GEOMImpl/GEOMImpl_IPipe.hxx
    src/GEOMImpl/GEOMImpl_IPlane.hxx
    src/GEOMImpl/GEOMImpl_IPoint.hxx
    src/GEOMImpl/GEOMImpl_IPolyline.hxx
    src/GEOMImpl/GEOMImpl_IPosition.hxx
    src/GEOMImpl/GEOMImpl_IPrism.hxx
    src/GEOMImpl/GEOMImpl_IRevolution.hxx
    src/GEOMImpl/GEOMImpl_IRotate.hxx
    src/GEOMImpl/GEOMImpl_IScale.hxx
    src/GEOMImpl/GEOMImpl_IShapes.hxx
    src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
    src/GEOMImpl/GEOMImpl_IShapesOperations.hxx
    src/GEOMImpl/GEOMImpl_ISketcher.hxx
    src/GEOMImpl/GEOMImpl_ISphere.hxx
    src/GEOMImpl/GEOMImpl_ISpline.hxx
    src/GEOMImpl/GEOMImpl_ITorus.hxx
    src/GEOMImpl/GEOMImpl_ITransformOperations.cxx
    src/GEOMImpl/GEOMImpl_ITransformOperations.hxx
    src/GEOMImpl/GEOMImpl_ITranslate.hxx
    src/GEOMImpl/GEOMImpl_IVector.hxx
    src/GEOMImpl/GEOMImpl_ImportDriver.cxx
    src/GEOMImpl/GEOMImpl_ImportDriver.hxx
    src/GEOMImpl/GEOMImpl_LineDriver.cxx
    src/GEOMImpl/GEOMImpl_LineDriver.hxx
    src/GEOMImpl/GEOMImpl_MarkerDriver.cxx
    src/GEOMImpl/GEOMImpl_MarkerDriver.hxx
    src/GEOMImpl/GEOMImpl_MeasureDriver.cxx
    src/GEOMImpl/GEOMImpl_MeasureDriver.hxx
    src/GEOMImpl/GEOMImpl_MirrorDriver.cxx
    src/GEOMImpl/GEOMImpl_MirrorDriver.hxx
    src/GEOMImpl/GEOMImpl_OffsetDriver.cxx
    src/GEOMImpl/GEOMImpl_OffsetDriver.hxx
    src/GEOMImpl/GEOMImpl_PartitionDriver.cxx
    src/GEOMImpl/GEOMImpl_PartitionDriver.hxx
    src/GEOMImpl/GEOMImpl_PipeDriver.cxx
    src/GEOMImpl/GEOMImpl_PipeDriver.hxx
    src/GEOMImpl/GEOMImpl_PlaneDriver.cxx
    src/GEOMImpl/GEOMImpl_PlaneDriver.hxx
    src/GEOMImpl/GEOMImpl_PointDriver.cxx
    src/GEOMImpl/GEOMImpl_PointDriver.hxx
    src/GEOMImpl/GEOMImpl_PolylineDriver.cxx
    src/GEOMImpl/GEOMImpl_PolylineDriver.hxx
    src/GEOMImpl/GEOMImpl_PositionDriver.cxx
    src/GEOMImpl/GEOMImpl_PositionDriver.hxx
    src/GEOMImpl/GEOMImpl_PrismDriver.cxx
    src/GEOMImpl/GEOMImpl_PrismDriver.hxx
    src/GEOMImpl/GEOMImpl_RevolutionDriver.cxx
    src/GEOMImpl/GEOMImpl_RevolutionDriver.hxx
    src/GEOMImpl/GEOMImpl_RotateDriver.cxx
    src/GEOMImpl/GEOMImpl_RotateDriver.hxx
    src/GEOMImpl/GEOMImpl_ScaleDriver.cxx
    src/GEOMImpl/GEOMImpl_ScaleDriver.hxx
    src/GEOMImpl/GEOMImpl_ShapeDriver.cxx
    src/GEOMImpl/GEOMImpl_ShapeDriver.hxx
    src/GEOMImpl/GEOMImpl_SketcherDriver.cxx
    src/GEOMImpl/GEOMImpl_SketcherDriver.hxx
    src/GEOMImpl/GEOMImpl_SphereDriver.cxx
    src/GEOMImpl/GEOMImpl_SphereDriver.hxx
    src/GEOMImpl/GEOMImpl_SplineDriver.cxx
    src/GEOMImpl/GEOMImpl_SplineDriver.hxx
    src/GEOMImpl/GEOMImpl_Template.cxx
    src/GEOMImpl/GEOMImpl_Template.hxx
    src/GEOMImpl/GEOMImpl_TorusDriver.cxx
    src/GEOMImpl/GEOMImpl_TorusDriver.hxx
    src/GEOMImpl/GEOMImpl_TranslateDriver.cxx
    src/GEOMImpl/GEOMImpl_TranslateDriver.hxx
    src/GEOMImpl/GEOMImpl_Types.hxx
    src/GEOMImpl/GEOMImpl_VectorDriver.cxx
    src/GEOMImpl/GEOMImpl_VectorDriver.hxx
    src/GEOMImpl/GUID.txt
    src/GEOMImpl/Makefile.in
    src/GEOMToolsGUI/GEOMToolsGUI.cxx
    src/GEOMToolsGUI/GEOMToolsGUI.h
    src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.cxx
    src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.h
    src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx
    src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.h
    src/GEOMToolsGUI/GEOMToolsGUI_TransparencyDlg.h
    src/GEOMToolsGUI/Makefile.in
    src/GEOM_I/GEOM_DumpPython.cc
    src/GEOM_I/GEOM_Gen_i.cc
    src/GEOM_I/GEOM_Gen_i.hh
    src/GEOM_I/GEOM_I3DPrimOperations_i.cc
    src/GEOM_I/GEOM_I3DPrimOperations_i.hh
    src/GEOM_I/GEOM_IBasicOperations_i.cc
    src/GEOM_I/GEOM_IBasicOperations_i.hh
    src/GEOM_I/GEOM_IBlocksOperations_i.cc
    src/GEOM_I/GEOM_IBlocksOperations_i.hh
    src/GEOM_I/GEOM_IBooleanOperations_i.cc
    src/GEOM_I/GEOM_IBooleanOperations_i.hh
    src/GEOM_I/GEOM_ICurvesOperations_i.cc
    src/GEOM_I/GEOM_ICurvesOperations_i.hh
    src/GEOM_I/GEOM_IGroupOperations_i.cc
    src/GEOM_I/GEOM_IGroupOperations_i.hh
    src/GEOM_I/GEOM_IHealingOperations_i.cc
    src/GEOM_I/GEOM_IHealingOperations_i.hh
    src/GEOM_I/GEOM_IInsertOperations_i.cc
    src/GEOM_I/GEOM_IInsertOperations_i.hh
    src/GEOM_I/GEOM_ILocalOperations_i.cc
    src/GEOM_I/GEOM_ILocalOperations_i.hh
    src/GEOM_I/GEOM_IMeasureOperations_i.cc
    src/GEOM_I/GEOM_IMeasureOperations_i.hh
    src/GEOM_I/GEOM_IOperations_i.cc
    src/GEOM_I/GEOM_IOperations_i.hh
    src/GEOM_I/GEOM_IShapesOperations_i.cc
    src/GEOM_I/GEOM_IShapesOperations_i.hh
    src/GEOM_I/GEOM_ITransformOperations_i.cc
    src/GEOM_I/GEOM_ITransformOperations_i.hh
    src/GEOM_I/GEOM_Object_i.cc
    src/GEOM_I/GEOM_Object_i.hh
    src/GEOM_I/Makefile.in
    src/GEOM_I_Superv/GEOM_List_i.hh
    src/GEOM_I_Superv/GEOM_Superv_i.cc
    src/GEOM_I_Superv/GEOM_Superv_i.hh
    src/GEOM_I_Superv/Makefile.in
    src/GEOM_SWIG/GEOM_Nut.py
    src/GEOM_SWIG/GEOM_Partition1.py
    src/GEOM_SWIG/GEOM_Partition2.py
    src/GEOM_SWIG/GEOM_Partition3.py
    src/GEOM_SWIG/GEOM_Partition4.py
    src/GEOM_SWIG/GEOM_Partition5.py
    src/GEOM_SWIG/GEOM_Sketcher.py
    src/GEOM_SWIG/GEOM_Spanner.py
    src/GEOM_SWIG/GEOM_TestAll.py
    src/GEOM_SWIG/GEOM_TestHealing.py
    src/GEOM_SWIG/GEOM_TestMeasures.py
    src/GEOM_SWIG/GEOM_TestOthers.py
    src/GEOM_SWIG/GEOM_blocks.py
    src/GEOM_SWIG/GEOM_cyl2complementary.py
    src/GEOM_SWIG/GEOM_example.py
    src/GEOM_SWIG/GEOM_example2.py
    src/GEOM_SWIG/GEOM_example3.py
    src/GEOM_SWIG/GEOM_example4.py
    src/GEOM_SWIG/GEOM_example5.py
    src/GEOM_SWIG/GEOM_moteur.py
    src/GEOM_SWIG/GEOM_shared_modules.py
    src/GEOM_SWIG/GEOM_shellSolid.py
    src/GEOM_SWIG/GEOM_tube_geom.py
    src/GEOM_SWIG/GEOM_tube_geom_gg2.py
    src/GEOM_SWIG/GEOM_usinggeom.py
    src/GEOM_SWIG/Makefile.in
    src/GEOM_SWIG/PAL_MESH_019_020_geometry.py
    src/GEOM_SWIG/PAL_MESH_028_geometry.py
    src/GEOM_SWIG/PAL_MESH_030_geometry.py
    src/GEOM_SWIG/PAL_MESH_033_geometry.py
    src/GEOM_SWIG/PAL_MESH_035_geometry.py
    src/GEOM_SWIG/batchmode_geompy.py
    src/GEOM_SWIG/geompy.py
    src/GEOM_SWIG/libGEOM_Swig.i
    src/GenerationGUI/GenerationGUI.cxx
    src/GenerationGUI/GenerationGUI.h
    src/GenerationGUI/GenerationGUI_FillingDlg.cxx
    src/GenerationGUI/GenerationGUI_FillingDlg.h
    src/GenerationGUI/GenerationGUI_PipeDlg.cxx
    src/GenerationGUI/GenerationGUI_PipeDlg.h
    src/GenerationGUI/GenerationGUI_PrismDlg.cxx
    src/GenerationGUI/GenerationGUI_PrismDlg.h
    src/GenerationGUI/GenerationGUI_RevolDlg.cxx
    src/GenerationGUI/GenerationGUI_RevolDlg.h
    src/GenerationGUI/Makefile.in
    src/GroupGUI/GroupGUI.cxx
    src/GroupGUI/GroupGUI.h
    src/GroupGUI/GroupGUI_GroupDlg.cxx
    src/GroupGUI/GroupGUI_GroupDlg.h
    src/GroupGUI/Makefile.in
    src/IGESExport/IGESExport.cxx
    src/IGESExport/Makefile.in
    src/IGESImport/IGESImport.cxx
    src/IGESImport/Makefile.in
    src/Makefile.in
    src/MeasureGUI/Makefile.in
    src/MeasureGUI/MeasureGUI.cxx
    src/MeasureGUI/MeasureGUI.h
    src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.cxx
    src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.h
    src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.cxx
    src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.h
    src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.cxx
    src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.h
    src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.cxx
    src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.h
    src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.cxx
    src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.h
    src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx
    src/MeasureGUI/MeasureGUI_BndBoxDlg.h
    src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx
    src/MeasureGUI/MeasureGUI_CenterMassDlg.h
    src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.cxx
    src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.h
    src/MeasureGUI/MeasureGUI_CheckShapeDlg.cxx
    src/MeasureGUI/MeasureGUI_CheckShapeDlg.h
    src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
    src/MeasureGUI/MeasureGUI_DistanceDlg.h
    src/MeasureGUI/MeasureGUI_InertiaDlg.cxx
    src/MeasureGUI/MeasureGUI_InertiaDlg.h
    src/MeasureGUI/MeasureGUI_MaxToleranceDlg.cxx
    src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
    src/MeasureGUI/MeasureGUI_PointDlg.cxx
    src/MeasureGUI/MeasureGUI_PointDlg.h
    src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx
    src/MeasureGUI/MeasureGUI_PropertiesDlg.h
    src/MeasureGUI/MeasureGUI_Skeleton.cxx
    src/MeasureGUI/MeasureGUI_Skeleton.h
    src/MeasureGUI/MeasureGUI_Skeleton_QTD.cxx
    src/MeasureGUI/MeasureGUI_Skeleton_QTD.h
    src/MeasureGUI/MeasureGUI_WhatisDlg.cxx
    src/MeasureGUI/MeasureGUI_WhatisDlg.h
    src/MeasureGUI/UIFiles/MeasureGUI_1Sel12LineEdit_QTD.ui
    src/MeasureGUI/UIFiles/MeasureGUI_1Sel1TextView_QTD.ui
    src/MeasureGUI/UIFiles/MeasureGUI_1Sel3LineEdit_QTD.ui
    src/MeasureGUI/UIFiles/MeasureGUI_1Sel6LineEdit_QTD.ui
    src/MeasureGUI/UIFiles/MeasureGUI_2Sel1LineEdit_QTD.ui
    src/MeasureGUI/UIFiles/MeasureGUI_Skeleton_QTD.ui
    src/MeasureGUI/UIFiles/ui_to_cxx
    src/NMTAlgo/Makefile.in
    src/NMTAlgo/NMTAlgo.cdl
    src/NMTAlgo/NMTAlgo_Algo.cdl
    src/NMTAlgo/NMTAlgo_Algo.cxx
    src/NMTAlgo/NMTAlgo_Algo.hxx
    src/NMTAlgo/NMTAlgo_Algo.ixx
    src/NMTAlgo/NMTAlgo_Algo.jxx
    src/NMTAlgo/NMTAlgo_Builder.cdl
    src/NMTAlgo/NMTAlgo_Builder.cxx
    src/NMTAlgo/NMTAlgo_Builder.hxx
    src/NMTAlgo/NMTAlgo_Builder.ixx
    src/NMTAlgo/NMTAlgo_Builder.jxx
    src/NMTAlgo/NMTAlgo_Loop3d.cdl
    src/NMTAlgo/NMTAlgo_Loop3d.cxx
    src/NMTAlgo/NMTAlgo_Loop3d.hxx
    src/NMTAlgo/NMTAlgo_Loop3d.ixx
    src/NMTAlgo/NMTAlgo_Loop3d.jxx
    src/NMTAlgo/NMTAlgo_Splitter.cdl
    src/NMTAlgo/NMTAlgo_Splitter.cxx
    src/NMTAlgo/NMTAlgo_Splitter.hxx
    src/NMTAlgo/NMTAlgo_Splitter.ixx
    src/NMTAlgo/NMTAlgo_Splitter.jxx
    src/NMTAlgo/NMTAlgo_Splitter1.cdl
    src/NMTAlgo/NMTAlgo_Splitter1.cxx
    src/NMTAlgo/NMTAlgo_Splitter1.hxx
    src/NMTAlgo/NMTAlgo_Splitter1.ixx
    src/NMTAlgo/NMTAlgo_Splitter1.jxx
    src/NMTAlgo/NMTAlgo_Splitter_1.cxx
    src/NMTAlgo/NMTAlgo_Splitter_2.cxx
    src/NMTAlgo/NMTAlgo_Tools.cdl
    src/NMTAlgo/NMTAlgo_Tools.cxx
    src/NMTAlgo/NMTAlgo_Tools.hxx
    src/NMTAlgo/NMTAlgo_Tools.ixx
    src/NMTAlgo/NMTAlgo_Tools.jxx
    src/NMTDS/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
    src/NMTDS/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
    src/NMTDS/Makefile.in
    src/NMTDS/NMTDS.cdl
    src/NMTDS/NMTDS_CArray1OfIndexRange.hxx
    src/NMTDS/NMTDS_CArray1OfIndexRange_0.cxx
    src/NMTDS/NMTDS_IndexRange.cdl
    src/NMTDS/NMTDS_IndexRange.cxx
    src/NMTDS/NMTDS_IndexRange.hxx
    src/NMTDS/NMTDS_IndexRange.ixx
    src/NMTDS/NMTDS_IndexRange.jxx
    src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
    src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx
    src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
    src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx
    src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
    src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
    src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
    src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
    src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
    src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
    src/NMTDS/NMTDS_PShapesDataStructure.hxx
    src/NMTDS/NMTDS_ShapesDataStructure.cdl
    src/NMTDS/NMTDS_ShapesDataStructure.cxx
    src/NMTDS/NMTDS_ShapesDataStructure.hxx
    src/NMTDS/NMTDS_ShapesDataStructure.ixx
    src/NMTDS/NMTDS_ShapesDataStructure.jxx
    src/NMTTools/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
    src/NMTTools/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
    src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx
    src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx
    src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
    src/NMTTools/Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx
    src/NMTTools/Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx
    src/NMTTools/Makefile.in
    src/NMTTools/NMTTools.cdl
    src/NMTTools/NMTTools_CommonBlock.cdl
    src/NMTTools/NMTTools_CommonBlock.cxx
    src/NMTTools/NMTTools_CommonBlock.hxx
    src/NMTTools/NMTTools_CommonBlock.ixx
    src/NMTTools/NMTTools_CommonBlock.jxx
    src/NMTTools/NMTTools_CommonBlockAPI.cdl
    src/NMTTools/NMTTools_CommonBlockAPI.cxx
    src/NMTTools/NMTTools_CommonBlockAPI.hxx
    src/NMTTools/NMTTools_CommonBlockAPI.ixx
    src/NMTTools/NMTTools_CommonBlockAPI.jxx
    src/NMTTools/NMTTools_CommonBlockPool.hxx
    src/NMTTools/NMTTools_CommonBlockPool_0.cxx
    src/NMTTools/NMTTools_CoupleOfShape.cdl
    src/NMTTools/NMTTools_CoupleOfShape.cxx
    src/NMTTools/NMTTools_CoupleOfShape.hxx
    src/NMTTools/NMTTools_CoupleOfShape.ixx
    src/NMTTools/NMTTools_CoupleOfShape.jxx
    src/NMTTools/NMTTools_DEProcessor.cdl
    src/NMTTools/NMTTools_DEProcessor.cxx
    src/NMTTools/NMTTools_DEProcessor.hxx
    src/NMTTools/NMTTools_DEProcessor.ixx
    src/NMTTools/NMTTools_DEProcessor.jxx
    src/NMTTools/NMTTools_DSFiller.cdl
    src/NMTTools/NMTTools_DSFiller.cxx
    src/NMTTools/NMTTools_DSFiller.hxx
    src/NMTTools/NMTTools_DSFiller.ixx
    src/NMTTools/NMTTools_DSFiller.jxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_0.cxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_0.cxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
    src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx
    src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx
    src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx
    src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx
    src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx
    src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock.hxx
    src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx
    src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cdl
    src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx
    src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx
    src/NMTTools/NMTTools_IteratorOfCoupleOfShape.ixx
    src/NMTTools/NMTTools_IteratorOfCoupleOfShape.jxx
    src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock.hxx
    src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock_0.cxx
    src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape.hxx
    src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx
    src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock.hxx
    src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock_0.cxx
    src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape.hxx
    src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx
    src/NMTTools/NMTTools_ListOfCommonBlock.hxx
    src/NMTTools/NMTTools_ListOfCommonBlock_0.cxx
    src/NMTTools/NMTTools_ListOfCoupleOfShape.hxx
    src/NMTTools/NMTTools_ListOfCoupleOfShape_0.cxx
    src/NMTTools/NMTTools_PCurveMaker.cdl
    src/NMTTools/NMTTools_PCurveMaker.cxx
    src/NMTTools/NMTTools_PCurveMaker.hxx
    src/NMTTools/NMTTools_PCurveMaker.ixx
    src/NMTTools/NMTTools_PCurveMaker.jxx
    src/NMTTools/NMTTools_PDSFiller.hxx
    src/NMTTools/NMTTools_PPaveFiller.hxx
    src/NMTTools/NMTTools_PaveFiller.cdl
    src/NMTTools/NMTTools_PaveFiller.cxx
    src/NMTTools/NMTTools_PaveFiller.hxx
    src/NMTTools/NMTTools_PaveFiller.ixx
    src/NMTTools/NMTTools_PaveFiller.jxx
    src/NMTTools/NMTTools_PaveFiller_0.cxx
    src/NMTTools/NMTTools_PaveFiller_1.cxx
    src/NMTTools/NMTTools_PaveFiller_2.cxx
    src/NMTTools/NMTTools_PaveFiller_3.cxx
    src/NMTTools/NMTTools_PaveFiller_4.cxx
    src/NMTTools/NMTTools_PaveFiller_5.cxx
    src/NMTTools/NMTTools_PaveFiller_6.cxx
    src/NMTTools/NMTTools_PaveFiller_7.cxx
    src/NMTTools/NMTTools_PaveFiller_8.cxx
    src/NMTTools/NMTTools_PaveFiller_9.cxx
    src/NMTTools/NMTTools_Tools.cdl
    src/NMTTools/NMTTools_Tools.cxx
    src/NMTTools/NMTTools_Tools.hxx
    src/NMTTools/NMTTools_Tools.ixx
    src/NMTTools/NMTTools_Tools.jxx
    src/OBJECT/GEOM_AISShape.cxx
    src/OBJECT/GEOM_AISShape.hxx
    src/OBJECT/GEOM_AISShape.ixx
    src/OBJECT/GEOM_AISShape.jxx
    src/OBJECT/GEOM_AISTrihedron.cxx
    src/OBJECT/GEOM_AISTrihedron.hxx
    src/OBJECT/GEOM_Actor.cxx
    src/OBJECT/GEOM_Actor.h
    src/OBJECT/GEOM_AssemblyBuilder.cxx
    src/OBJECT/GEOM_AssemblyBuilder.h
    src/OBJECT/GEOM_InteractiveObject.cxx
    src/OBJECT/GEOM_InteractiveObject.hxx
    src/OBJECT/GEOM_InteractiveObject.ixx
    src/OBJECT/GEOM_InteractiveObject.jxx
    src/OBJECT/GEOM_OCCReader.cxx
    src/OBJECT/GEOM_OCCReader.h
    src/OBJECT/GEOM_VTKTrihedron.cxx
    src/OBJECT/GEOM_VTKTrihedron.hxx
    src/OBJECT/Handle_GEOM_AISShape.hxx
    src/OBJECT/Handle_GEOM_InteractiveObject.hxx
    src/OBJECT/Makefile.in
    src/OperationGUI/Makefile.in
    src/OperationGUI/OperationGUI.cxx
    src/OperationGUI/OperationGUI.h
    src/OperationGUI/OperationGUI_ArchimedeDlg.cxx
    src/OperationGUI/OperationGUI_ArchimedeDlg.h
    src/OperationGUI/OperationGUI_ChamferDlg.cxx
    src/OperationGUI/OperationGUI_ChamferDlg.h
    src/OperationGUI/OperationGUI_ClippingDlg.cxx
    src/OperationGUI/OperationGUI_ClippingDlg.h
    src/OperationGUI/OperationGUI_FilletDlg.cxx
    src/OperationGUI/OperationGUI_FilletDlg.h
    src/OperationGUI/OperationGUI_MaterialDlg.cxx
    src/OperationGUI/OperationGUI_MaterialDlg.h
    src/OperationGUI/OperationGUI_PartitionDlg.cxx
    src/OperationGUI/OperationGUI_PartitionDlg.h
    src/PARTITION/Makefile.in
    src/PARTITION/Partition.cdl
    src/PARTITION/Partition_Inter2d.cdl
    src/PARTITION/Partition_Inter2d.cxx
    src/PARTITION/Partition_Inter2d.hxx
    src/PARTITION/Partition_Inter2d.ixx
    src/PARTITION/Partition_Inter2d.jxx
    src/PARTITION/Partition_Inter3d.cdl
    src/PARTITION/Partition_Inter3d.cxx
    src/PARTITION/Partition_Inter3d.hxx
    src/PARTITION/Partition_Inter3d.ixx
    src/PARTITION/Partition_Inter3d.jxx
    src/PARTITION/Partition_Loop.cdl
    src/PARTITION/Partition_Loop.cxx
    src/PARTITION/Partition_Loop.hxx
    src/PARTITION/Partition_Loop.ixx
    src/PARTITION/Partition_Loop.jxx
    src/PARTITION/Partition_Loop2d.cdl
    src/PARTITION/Partition_Loop2d.cxx
    src/PARTITION/Partition_Loop2d.hxx
    src/PARTITION/Partition_Loop2d.ixx
    src/PARTITION/Partition_Loop2d.jxx
    src/PARTITION/Partition_Loop3d.cdl
    src/PARTITION/Partition_Loop3d.cxx
    src/PARTITION/Partition_Loop3d.hxx
    src/PARTITION/Partition_Loop3d.ixx
    src/PARTITION/Partition_Loop3d.jxx
    src/PARTITION/Partition_Spliter.cdl
    src/PARTITION/Partition_Spliter.cxx
    src/PARTITION/Partition_Spliter.hxx
    src/PARTITION/Partition_Spliter.ixx
    src/PARTITION/Partition_Spliter.jxx
    src/PrimitiveGUI/Makefile.in
    src/PrimitiveGUI/PrimitiveGUI.cxx
    src/PrimitiveGUI/PrimitiveGUI.h
    src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx
    src/PrimitiveGUI/PrimitiveGUI_BoxDlg.h
    src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx
    src/PrimitiveGUI/PrimitiveGUI_ConeDlg.h
    src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx
    src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.h
    src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx
    src/PrimitiveGUI/PrimitiveGUI_SphereDlg.h
    src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx
    src/PrimitiveGUI/PrimitiveGUI_TorusDlg.h
    src/RepairGUI/Makefile.in
    src/RepairGUI/RepairGUI.cxx
    src/RepairGUI/RepairGUI.h
    src/RepairGUI/RepairGUI_CloseContourDlg.cxx
    src/RepairGUI/RepairGUI_CloseContourDlg.h
    src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx
    src/RepairGUI/RepairGUI_DivideEdgeDlg.h
    src/RepairGUI/RepairGUI_FreeBoundDlg.cxx
    src/RepairGUI/RepairGUI_FreeBoundDlg.h
    src/RepairGUI/RepairGUI_FreeFacesDlg.cxx
    src/RepairGUI/RepairGUI_FreeFacesDlg.h
    src/RepairGUI/RepairGUI_GlueDlg.cxx
    src/RepairGUI/RepairGUI_GlueDlg.h
    src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx
    src/RepairGUI/RepairGUI_RemoveHolesDlg.h
    src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx
    src/RepairGUI/RepairGUI_RemoveIntWiresDlg.h
    src/RepairGUI/RepairGUI_SewingDlg.cxx
    src/RepairGUI/RepairGUI_SewingDlg.h
    src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx
    src/RepairGUI/RepairGUI_ShapeProcessDlg.h
    src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx
    src/RepairGUI/RepairGUI_SuppressFacesDlg.h
    src/SKETCHER/Makefile.in
    src/SKETCHER/Sketcher_Profile.cxx
    src/SKETCHER/Sketcher_Profile.hxx
    src/STEPExport/Makefile.in
    src/STEPExport/STEPExport.cxx
    src/STEPImport/Makefile.in
    src/STEPImport/STEPImport.cxx
    src/ShHealOper/Makefile.in
    src/ShHealOper/ShHealOper_CloseContour.cxx
    src/ShHealOper/ShHealOper_CloseContour.hxx
    src/ShHealOper/ShHealOper_EdgeDivide.cxx
    src/ShHealOper/ShHealOper_EdgeDivide.hxx
    src/ShHealOper/ShHealOper_FillHoles.cxx
    src/ShHealOper/ShHealOper_FillHoles.hxx
    src/ShHealOper/ShHealOper_RemoveFace.cxx
    src/ShHealOper/ShHealOper_RemoveFace.hxx
    src/ShHealOper/ShHealOper_RemoveInternalWires.cxx
    src/ShHealOper/ShHealOper_RemoveInternalWires.hxx
    src/ShHealOper/ShHealOper_Sewing.cxx
    src/ShHealOper/ShHealOper_Sewing.hxx
    src/ShHealOper/ShHealOper_ShapeProcess.cxx
    src/ShHealOper/ShHealOper_ShapeProcess.hxx
    src/ShHealOper/ShHealOper_SpiltCurve2d.hxx
    src/ShHealOper/ShHealOper_SplitCurve2d.cxx
    src/ShHealOper/ShHealOper_SplitCurve2d.hxx
    src/ShHealOper/ShHealOper_SplitCurve3d.cxx
    src/ShHealOper/ShHealOper_SplitCurve3d.hxx
    src/ShHealOper/ShHealOper_Tool.cxx
    src/ShHealOper/ShHealOper_Tool.hxx
    src/TransformationGUI/Makefile.in
    src/TransformationGUI/TransformationGUI.cxx
    src/TransformationGUI/TransformationGUI.h
    src/TransformationGUI/TransformationGUI_MirrorDlg.cxx
    src/TransformationGUI/TransformationGUI_MirrorDlg.h
    src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx
    src/TransformationGUI/TransformationGUI_MultiRotationDlg.h
    src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx
    src/TransformationGUI/TransformationGUI_MultiTranslationDlg.h
    src/TransformationGUI/TransformationGUI_OffsetDlg.cxx
    src/TransformationGUI/TransformationGUI_OffsetDlg.h
    src/TransformationGUI/TransformationGUI_PositionDlg.cxx
    src/TransformationGUI/TransformationGUI_PositionDlg.h
    src/TransformationGUI/TransformationGUI_RotationDlg.cxx
    src/TransformationGUI/TransformationGUI_RotationDlg.h
    src/TransformationGUI/TransformationGUI_ScaleDlg.cxx
    src/TransformationGUI/TransformationGUI_ScaleDlg.h
    src/TransformationGUI/TransformationGUI_TranslationDlg.cxx
    src/TransformationGUI/TransformationGUI_TranslationDlg.h

1883 files changed:
INSTALL [deleted file]
LICENCE [deleted file]
Makefile.in [deleted file]
adm_local/unix/config_files/README [deleted file]
adm_local/unix/make_commence.in [deleted file]
adm_local/unix/make_omniorb.in [deleted file]
bin/VERSION [deleted file]
build_configure [deleted file]
configure.in.base [deleted file]
doc/Makefile.in [deleted file]
doc/salome/GEOM_index.html [deleted file]
doc/salome/Makefile.in [deleted file]
doc/salome/gui/GEOM/GEOM.log [deleted file]
doc/salome/gui/GEOM/blocks.htm [deleted file]
doc/salome/gui/GEOM/changing_displaying_parameters.htm [deleted file]
doc/salome/gui/GEOM/cshdat_robohelp.htm [deleted file]
doc/salome/gui/GEOM/cshdat_webhelp.htm [deleted file]
doc/salome/gui/GEOM/default.css [deleted file]
doc/salome/gui/GEOM/default.skn [deleted file]
doc/salome/gui/GEOM/default_ns.css [deleted file]
doc/salome/gui/GEOM/ehelp.xml [deleted file]
doc/salome/gui/GEOM/ehlpdhtm.js [deleted file]
doc/salome/gui/GEOM/files/introduction_to_geom.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image120.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif [deleted file]
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif [deleted file]
doc/salome/gui/GEOM/geom.htm [deleted file]
doc/salome/gui/GEOM/geom.html [deleted file]
doc/salome/gui/GEOM/geom.log [deleted file]
doc/salome/gui/GEOM/geom_csh.htm [deleted file]
doc/salome/gui/GEOM/geom_csh.html [deleted file]
doc/salome/gui/GEOM/geom_help.html [deleted file]
doc/salome/gui/GEOM/geom_help_csh.html [deleted file]
doc/salome/gui/GEOM/geom_help_rhc.html [deleted file]
doc/salome/gui/GEOM/geom_rhc.htm [deleted file]
doc/salome/gui/GEOM/geom_rhc.html [deleted file]
doc/salome/gui/GEOM/i_blue.jpg [deleted file]
doc/salome/gui/GEOM/image10.jpg [deleted file]
doc/salome/gui/GEOM/image100.jpg [deleted file]
doc/salome/gui/GEOM/image101.jpg [deleted file]
doc/salome/gui/GEOM/image102.jpg [deleted file]
doc/salome/gui/GEOM/image103.jpg [deleted file]
doc/salome/gui/GEOM/image104.jpg [deleted file]
doc/salome/gui/GEOM/image105.jpg [deleted file]
doc/salome/gui/GEOM/image106.jpg [deleted file]
doc/salome/gui/GEOM/image107.jpg [deleted file]
doc/salome/gui/GEOM/image108.jpg [deleted file]
doc/salome/gui/GEOM/image109.jpg [deleted file]
doc/salome/gui/GEOM/image11.gif [deleted file]
doc/salome/gui/GEOM/image11.jpg [deleted file]
doc/salome/gui/GEOM/image110.jpg [deleted file]
doc/salome/gui/GEOM/image111.jpg [deleted file]
doc/salome/gui/GEOM/image112.jpg [deleted file]
doc/salome/gui/GEOM/image113.jpg [deleted file]
doc/salome/gui/GEOM/image114.jpg [deleted file]
doc/salome/gui/GEOM/image115.jpg [deleted file]
doc/salome/gui/GEOM/image116.jpg [deleted file]
doc/salome/gui/GEOM/image117.jpg [deleted file]
doc/salome/gui/GEOM/image118.jpg [deleted file]
doc/salome/gui/GEOM/image119.jpg [deleted file]
doc/salome/gui/GEOM/image12.gif [deleted file]
doc/salome/gui/GEOM/image12.jpg [deleted file]
doc/salome/gui/GEOM/image120.jpg [deleted file]
doc/salome/gui/GEOM/image121.jpg [deleted file]
doc/salome/gui/GEOM/image122.jpg [deleted file]
doc/salome/gui/GEOM/image123.jpg [deleted file]
doc/salome/gui/GEOM/image124.jpg [deleted file]
doc/salome/gui/GEOM/image125.jpg [deleted file]
doc/salome/gui/GEOM/image126.jpg [deleted file]
doc/salome/gui/GEOM/image127.jpg [deleted file]
doc/salome/gui/GEOM/image128.jpg [deleted file]
doc/salome/gui/GEOM/image129.jpg [deleted file]
doc/salome/gui/GEOM/image13.gif [deleted file]
doc/salome/gui/GEOM/image13.jpg [deleted file]
doc/salome/gui/GEOM/image130.jpg [deleted file]
doc/salome/gui/GEOM/image131.jpg [deleted file]
doc/salome/gui/GEOM/image132.jpg [deleted file]
doc/salome/gui/GEOM/image133.jpg [deleted file]
doc/salome/gui/GEOM/image134.jpg [deleted file]
doc/salome/gui/GEOM/image135.jpg [deleted file]
doc/salome/gui/GEOM/image136.jpg [deleted file]
doc/salome/gui/GEOM/image137.jpg [deleted file]
doc/salome/gui/GEOM/image138.jpg [deleted file]
doc/salome/gui/GEOM/image139.jpg [deleted file]
doc/salome/gui/GEOM/image14.gif [deleted file]
doc/salome/gui/GEOM/image14.jpg [deleted file]
doc/salome/gui/GEOM/image140.jpg [deleted file]
doc/salome/gui/GEOM/image141.jpg [deleted file]
doc/salome/gui/GEOM/image142.jpg [deleted file]
doc/salome/gui/GEOM/image144.jpg [deleted file]
doc/salome/gui/GEOM/image145.jpg [deleted file]
doc/salome/gui/GEOM/image146.jpg [deleted file]
doc/salome/gui/GEOM/image147.jpg [deleted file]
doc/salome/gui/GEOM/image149.jpg [deleted file]
doc/salome/gui/GEOM/image15.gif [deleted file]
doc/salome/gui/GEOM/image15.jpg [deleted file]
doc/salome/gui/GEOM/image150.jpg [deleted file]
doc/salome/gui/GEOM/image151.jpg [deleted file]
doc/salome/gui/GEOM/image152.jpg [deleted file]
doc/salome/gui/GEOM/image154.jpg [deleted file]
doc/salome/gui/GEOM/image156.jpg [deleted file]
doc/salome/gui/GEOM/image158.jpg [deleted file]
doc/salome/gui/GEOM/image16.gif [deleted file]
doc/salome/gui/GEOM/image16.jpg [deleted file]
doc/salome/gui/GEOM/image160.jpg [deleted file]
doc/salome/gui/GEOM/image161.jpg [deleted file]
doc/salome/gui/GEOM/image163.jpg [deleted file]
doc/salome/gui/GEOM/image164.jpg [deleted file]
doc/salome/gui/GEOM/image165.jpg [deleted file]
doc/salome/gui/GEOM/image166.jpg [deleted file]
doc/salome/gui/GEOM/image167.jpg [deleted file]
doc/salome/gui/GEOM/image168.jpg [deleted file]
doc/salome/gui/GEOM/image169.jpg [deleted file]
doc/salome/gui/GEOM/image17.gif [deleted file]
doc/salome/gui/GEOM/image17.jpg [deleted file]
doc/salome/gui/GEOM/image170.jpg [deleted file]
doc/salome/gui/GEOM/image171.jpg [deleted file]
doc/salome/gui/GEOM/image172.jpg [deleted file]
doc/salome/gui/GEOM/image173.jpg [deleted file]
doc/salome/gui/GEOM/image175.jpg [deleted file]
doc/salome/gui/GEOM/image176.jpg [deleted file]
doc/salome/gui/GEOM/image179.jpg [deleted file]
doc/salome/gui/GEOM/image18.jpg [deleted file]
doc/salome/gui/GEOM/image180.jpg [deleted file]
doc/salome/gui/GEOM/image181.jpg [deleted file]
doc/salome/gui/GEOM/image182.jpg [deleted file]
doc/salome/gui/GEOM/image183.jpg [deleted file]
doc/salome/gui/GEOM/image184.jpg [deleted file]
doc/salome/gui/GEOM/image185.jpg [deleted file]
doc/salome/gui/GEOM/image186.jpg [deleted file]
doc/salome/gui/GEOM/image187.jpg [deleted file]
doc/salome/gui/GEOM/image188.jpg [deleted file]
doc/salome/gui/GEOM/image189.jpg [deleted file]
doc/salome/gui/GEOM/image19.gif [deleted file]
doc/salome/gui/GEOM/image19.jpg [deleted file]
doc/salome/gui/GEOM/image190.jpg [deleted file]
doc/salome/gui/GEOM/image191.jpg [deleted file]
doc/salome/gui/GEOM/image192.jpg [deleted file]
doc/salome/gui/GEOM/image193.jpg [deleted file]
doc/salome/gui/GEOM/image194.jpg [deleted file]
doc/salome/gui/GEOM/image196.jpg [deleted file]
doc/salome/gui/GEOM/image197.jpg [deleted file]
doc/salome/gui/GEOM/image199.jpg [deleted file]
doc/salome/gui/GEOM/image2.gif [deleted file]
doc/salome/gui/GEOM/image20.gif [deleted file]
doc/salome/gui/GEOM/image20.jpg [deleted file]
doc/salome/gui/GEOM/image200.jpg [deleted file]
doc/salome/gui/GEOM/image201.jpg [deleted file]
doc/salome/gui/GEOM/image202.jpg [deleted file]
doc/salome/gui/GEOM/image203.jpg [deleted file]
doc/salome/gui/GEOM/image204.jpg [deleted file]
doc/salome/gui/GEOM/image205.jpg [deleted file]
doc/salome/gui/GEOM/image206.jpg [deleted file]
doc/salome/gui/GEOM/image207.jpg [deleted file]
doc/salome/gui/GEOM/image208.jpg [deleted file]
doc/salome/gui/GEOM/image209.jpg [deleted file]
doc/salome/gui/GEOM/image21.gif [deleted file]
doc/salome/gui/GEOM/image21.jpg [deleted file]
doc/salome/gui/GEOM/image210.jpg [deleted file]
doc/salome/gui/GEOM/image211.jpg [deleted file]
doc/salome/gui/GEOM/image212.jpg [deleted file]
doc/salome/gui/GEOM/image213.jpg [deleted file]
doc/salome/gui/GEOM/image214.jpg [deleted file]
doc/salome/gui/GEOM/image215.jpg [deleted file]
doc/salome/gui/GEOM/image216.jpg [deleted file]
doc/salome/gui/GEOM/image217.jpg [deleted file]
doc/salome/gui/GEOM/image218.jpg [deleted file]
doc/salome/gui/GEOM/image219.jpg [deleted file]
doc/salome/gui/GEOM/image22.gif [deleted file]
doc/salome/gui/GEOM/image22.jpg [deleted file]
doc/salome/gui/GEOM/image220.jpg [deleted file]
doc/salome/gui/GEOM/image221.jpg [deleted file]
doc/salome/gui/GEOM/image222.jpg [deleted file]
doc/salome/gui/GEOM/image223.jpg [deleted file]
doc/salome/gui/GEOM/image224.jpg [deleted file]
doc/salome/gui/GEOM/image225.jpg [deleted file]
doc/salome/gui/GEOM/image226.jpg [deleted file]
doc/salome/gui/GEOM/image227.jpg [deleted file]
doc/salome/gui/GEOM/image228.jpg [deleted file]
doc/salome/gui/GEOM/image229.jpg [deleted file]
doc/salome/gui/GEOM/image23.gif [deleted file]
doc/salome/gui/GEOM/image23.jpg [deleted file]
doc/salome/gui/GEOM/image230.jpg [deleted file]
doc/salome/gui/GEOM/image231.jpg [deleted file]
doc/salome/gui/GEOM/image233.jpg [deleted file]
doc/salome/gui/GEOM/image234.jpg [deleted file]
doc/salome/gui/GEOM/image235.jpg [deleted file]
doc/salome/gui/GEOM/image236.jpg [deleted file]
doc/salome/gui/GEOM/image237.jpg [deleted file]
doc/salome/gui/GEOM/image238.jpg [deleted file]
doc/salome/gui/GEOM/image239.jpg [deleted file]
doc/salome/gui/GEOM/image24.gif [deleted file]
doc/salome/gui/GEOM/image24.jpg [deleted file]
doc/salome/gui/GEOM/image240.jpg [deleted file]
doc/salome/gui/GEOM/image241.jpg [deleted file]
doc/salome/gui/GEOM/image242.jpg [deleted file]
doc/salome/gui/GEOM/image243.jpg [deleted file]
doc/salome/gui/GEOM/image244.jpg [deleted file]
doc/salome/gui/GEOM/image245.jpg [deleted file]
doc/salome/gui/GEOM/image246.jpg [deleted file]
doc/salome/gui/GEOM/image247.jpg [deleted file]
doc/salome/gui/GEOM/image248.jpg [deleted file]
doc/salome/gui/GEOM/image249.jpg [deleted file]
doc/salome/gui/GEOM/image25.gif [deleted file]
doc/salome/gui/GEOM/image250.jpg [deleted file]
doc/salome/gui/GEOM/image251.jpg [deleted file]
doc/salome/gui/GEOM/image252.jpg [deleted file]
doc/salome/gui/GEOM/image253.jpg [deleted file]
doc/salome/gui/GEOM/image254.jpg [deleted file]
doc/salome/gui/GEOM/image255.jpg [deleted file]
doc/salome/gui/GEOM/image256.jpg [deleted file]
doc/salome/gui/GEOM/image257.jpg [deleted file]
doc/salome/gui/GEOM/image258.jpg [deleted file]
doc/salome/gui/GEOM/image259.jpg [deleted file]
doc/salome/gui/GEOM/image26.jpg [deleted file]
doc/salome/gui/GEOM/image260.jpg [deleted file]
doc/salome/gui/GEOM/image261.jpg [deleted file]
doc/salome/gui/GEOM/image262.jpg [deleted file]
doc/salome/gui/GEOM/image263.jpg [deleted file]
doc/salome/gui/GEOM/image264.jpg [deleted file]
doc/salome/gui/GEOM/image265.jpg [deleted file]
doc/salome/gui/GEOM/image266.jpg [deleted file]
doc/salome/gui/GEOM/image267.jpg [deleted file]
doc/salome/gui/GEOM/image268.jpg [deleted file]
doc/salome/gui/GEOM/image269.jpg [deleted file]
doc/salome/gui/GEOM/image27.jpg [deleted file]
doc/salome/gui/GEOM/image270.jpg [deleted file]
doc/salome/gui/GEOM/image271.jpg [deleted file]
doc/salome/gui/GEOM/image272.jpg [deleted file]
doc/salome/gui/GEOM/image273.jpg [deleted file]
doc/salome/gui/GEOM/image274.jpg [deleted file]
doc/salome/gui/GEOM/image275.jpg [deleted file]
doc/salome/gui/GEOM/image276.jpg [deleted file]
doc/salome/gui/GEOM/image277.jpg [deleted file]
doc/salome/gui/GEOM/image278.jpg [deleted file]
doc/salome/gui/GEOM/image279.jpg [deleted file]
doc/salome/gui/GEOM/image28.jpg [deleted file]
doc/salome/gui/GEOM/image280.jpg [deleted file]
doc/salome/gui/GEOM/image281.jpg [deleted file]
doc/salome/gui/GEOM/image282.jpg [deleted file]
doc/salome/gui/GEOM/image283.jpg [deleted file]
doc/salome/gui/GEOM/image284.jpg [deleted file]
doc/salome/gui/GEOM/image285.jpg [deleted file]
doc/salome/gui/GEOM/image286.jpg [deleted file]
doc/salome/gui/GEOM/image287.jpg [deleted file]
doc/salome/gui/GEOM/image288.jpg [deleted file]
doc/salome/gui/GEOM/image289.jpg [deleted file]
doc/salome/gui/GEOM/image29.gif [deleted file]
doc/salome/gui/GEOM/image29.jpg [deleted file]
doc/salome/gui/GEOM/image290.jpg [deleted file]
doc/salome/gui/GEOM/image291.jpg [deleted file]
doc/salome/gui/GEOM/image292.jpg [deleted file]
doc/salome/gui/GEOM/image293.jpg [deleted file]
doc/salome/gui/GEOM/image294.jpg [deleted file]
doc/salome/gui/GEOM/image295.jpg [deleted file]
doc/salome/gui/GEOM/image296.jpg [deleted file]
doc/salome/gui/GEOM/image297.jpg [deleted file]
doc/salome/gui/GEOM/image298.jpg [deleted file]
doc/salome/gui/GEOM/image299.jpg [deleted file]
doc/salome/gui/GEOM/image3.jpg [deleted file]
doc/salome/gui/GEOM/image300.jpg [deleted file]
doc/salome/gui/GEOM/image32.gif [deleted file]
doc/salome/gui/GEOM/image35.gif [deleted file]
doc/salome/gui/GEOM/image37.gif [deleted file]
doc/salome/gui/GEOM/image4.gif [deleted file]
doc/salome/gui/GEOM/image41.gif [deleted file]
doc/salome/gui/GEOM/image42.gif [deleted file]
doc/salome/gui/GEOM/image44.gif [deleted file]
doc/salome/gui/GEOM/image49.gif [deleted file]
doc/salome/gui/GEOM/image5.gif [deleted file]
doc/salome/gui/GEOM/image5.jpg [deleted file]
doc/salome/gui/GEOM/image51.gif [deleted file]
doc/salome/gui/GEOM/image51.jpg [deleted file]
doc/salome/gui/GEOM/image52.gif [deleted file]
doc/salome/gui/GEOM/image52.jpg [deleted file]
doc/salome/gui/GEOM/image53.gif [deleted file]
doc/salome/gui/GEOM/image53.jpg [deleted file]
doc/salome/gui/GEOM/image54.jpg [deleted file]
doc/salome/gui/GEOM/image55.jpg [deleted file]
doc/salome/gui/GEOM/image56.gif [deleted file]
doc/salome/gui/GEOM/image56.jpg [deleted file]
doc/salome/gui/GEOM/image57.gif [deleted file]
doc/salome/gui/GEOM/image57.jpg [deleted file]
doc/salome/gui/GEOM/image58.jpg [deleted file]
doc/salome/gui/GEOM/image59.gif [deleted file]
doc/salome/gui/GEOM/image59.jpg [deleted file]
doc/salome/gui/GEOM/image6.gif [deleted file]
doc/salome/gui/GEOM/image60.jpg [deleted file]
doc/salome/gui/GEOM/image61.gif [deleted file]
doc/salome/gui/GEOM/image61.jpg [deleted file]
doc/salome/gui/GEOM/image62.jpg [deleted file]
doc/salome/gui/GEOM/image63.jpg [deleted file]
doc/salome/gui/GEOM/image64.gif [deleted file]
doc/salome/gui/GEOM/image65.jpg [deleted file]
doc/salome/gui/GEOM/image66.jpg [deleted file]
doc/salome/gui/GEOM/image67.jpg [deleted file]
doc/salome/gui/GEOM/image68.jpg [deleted file]
doc/salome/gui/GEOM/image69.jpg [deleted file]
doc/salome/gui/GEOM/image7.gif [deleted file]
doc/salome/gui/GEOM/image7.jpg [deleted file]
doc/salome/gui/GEOM/image70.jpg [deleted file]
doc/salome/gui/GEOM/image71.jpg [deleted file]
doc/salome/gui/GEOM/image72.jpg [deleted file]
doc/salome/gui/GEOM/image73.jpg [deleted file]
doc/salome/gui/GEOM/image74.jpg [deleted file]
doc/salome/gui/GEOM/image75.jpg [deleted file]
doc/salome/gui/GEOM/image76.jpg [deleted file]
doc/salome/gui/GEOM/image77.jpg [deleted file]
doc/salome/gui/GEOM/image78.jpg [deleted file]
doc/salome/gui/GEOM/image79.jpg [deleted file]
doc/salome/gui/GEOM/image8.gif [deleted file]
doc/salome/gui/GEOM/image8.jpg [deleted file]
doc/salome/gui/GEOM/image80.jpg [deleted file]
doc/salome/gui/GEOM/image81.jpg [deleted file]
doc/salome/gui/GEOM/image82.jpg [deleted file]
doc/salome/gui/GEOM/image83.jpg [deleted file]
doc/salome/gui/GEOM/image84.jpg [deleted file]
doc/salome/gui/GEOM/image85.jpg [deleted file]
doc/salome/gui/GEOM/image86.jpg [deleted file]
doc/salome/gui/GEOM/image87.jpg [deleted file]
doc/salome/gui/GEOM/image88.jpg [deleted file]
doc/salome/gui/GEOM/image89.jpg [deleted file]
doc/salome/gui/GEOM/image9.gif [deleted file]
doc/salome/gui/GEOM/image9.jpg [deleted file]
doc/salome/gui/GEOM/image90.jpg [deleted file]
doc/salome/gui/GEOM/image91.jpg [deleted file]
doc/salome/gui/GEOM/image92.jpg [deleted file]
doc/salome/gui/GEOM/image93.jpg [deleted file]
doc/salome/gui/GEOM/image94.jpg [deleted file]
doc/salome/gui/GEOM/image95.jpg [deleted file]
doc/salome/gui/GEOM/image96.jpg [deleted file]
doc/salome/gui/GEOM/image97.jpg [deleted file]
doc/salome/gui/GEOM/image98.jpg [deleted file]
doc/salome/gui/GEOM/image99.jpg [deleted file]
doc/salome/gui/GEOM/newentity_blocks.htm [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif [deleted file]
doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif [deleted file]
doc/salome/gui/GEOM/sketcher.htm [deleted file]
doc/salome/gui/GEOM/webhelp.cab [deleted file]
doc/salome/gui/GEOM/webhelp.jar [deleted file]
doc/salome/gui/GEOM/whcsh_home.htm [deleted file]
doc/salome/gui/GEOM/whcshdata.htm [deleted file]
doc/salome/gui/GEOM/whdata/whftdata.js [deleted file]
doc/salome/gui/GEOM/whdata/whftdata0.htm [deleted file]
doc/salome/gui/GEOM/whdata/whftdata0.xml [deleted file]
doc/salome/gui/GEOM/whdata/whfts.htm [deleted file]
doc/salome/gui/GEOM/whdata/whfts.js [deleted file]
doc/salome/gui/GEOM/whdata/whfts.xml [deleted file]
doc/salome/gui/GEOM/whdata/whfwdata.js [deleted file]
doc/salome/gui/GEOM/whdata/whfwdata0.htm [deleted file]
doc/salome/gui/GEOM/whdata/whfwdata0.xml [deleted file]
doc/salome/gui/GEOM/whdata/whfwdata1.htm [deleted file]
doc/salome/gui/GEOM/whdata/whfwdata2.htm [deleted file]
doc/salome/gui/GEOM/whdata/whgdata.js [deleted file]
doc/salome/gui/GEOM/whdata/whgdata0.htm [deleted file]
doc/salome/gui/GEOM/whdata/whgdata0.xml [deleted file]
doc/salome/gui/GEOM/whdata/whglo.htm [deleted file]
doc/salome/gui/GEOM/whdata/whglo.js [deleted file]
doc/salome/gui/GEOM/whdata/whglo.xml [deleted file]
doc/salome/gui/GEOM/whdata/whidata.js [deleted file]
doc/salome/gui/GEOM/whdata/whidx.htm [deleted file]
doc/salome/gui/GEOM/whdata/whidx.js [deleted file]
doc/salome/gui/GEOM/whdata/whidx.xml [deleted file]
doc/salome/gui/GEOM/whdata/whtdata.js [deleted file]
doc/salome/gui/GEOM/whdata/whtdata0.htm [deleted file]
doc/salome/gui/GEOM/whdata/whtdata0.xml [deleted file]
doc/salome/gui/GEOM/whdata/whtoc.htm [deleted file]
doc/salome/gui/GEOM/whdata/whtoc.js [deleted file]
doc/salome/gui/GEOM/whdata/whtoc.xml [deleted file]
doc/salome/gui/GEOM/whestart.ico [deleted file]
doc/salome/gui/GEOM/whfbody.htm [deleted file]
doc/salome/gui/GEOM/whfdhtml.htm [deleted file]
doc/salome/gui/GEOM/whfform.htm [deleted file]
doc/salome/gui/GEOM/whfhost.js [deleted file]
doc/salome/gui/GEOM/whform.js [deleted file]
doc/salome/gui/GEOM/whframes.js [deleted file]
doc/salome/gui/GEOM/whgbody.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whexpbar.gif [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf0.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf1.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf2.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf3.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf4.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstf5.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl0.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl1.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl10.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl11.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl12.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl13.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl14.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl15.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl16.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl17.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl18.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl19.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl2.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl20.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl21.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl22.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl23.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl3.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl4.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl5.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl6.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl7.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl8.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstfl9.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstg0.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlsti0.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstt0.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstt1.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstt2.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstt3.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whlstt4.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvf30.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvf31.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvf32.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvf33.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvl31.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvl32.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvl33.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvp30.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvp31.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvp32.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvp33.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvt30.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvt31.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvt32.htm [deleted file]
doc/salome/gui/GEOM/whgdata/whnvt33.htm [deleted file]
doc/salome/gui/GEOM/whgdef.htm [deleted file]
doc/salome/gui/GEOM/whgdhtml.htm [deleted file]
doc/salome/gui/GEOM/whghost.js [deleted file]
doc/salome/gui/GEOM/whhost.js [deleted file]
doc/salome/gui/GEOM/whibody.htm [deleted file]
doc/salome/gui/GEOM/whidhtml.htm [deleted file]
doc/salome/gui/GEOM/whiform.htm [deleted file]
doc/salome/gui/GEOM/whihost.js [deleted file]
doc/salome/gui/GEOM/whlang.js [deleted file]
doc/salome/gui/GEOM/whmozemu.js [deleted file]
doc/salome/gui/GEOM/whmsg.js [deleted file]
doc/salome/gui/GEOM/whnjs.htm [deleted file]
doc/salome/gui/GEOM/whphost.js [deleted file]
doc/salome/gui/GEOM/whproj.htm [deleted file]
doc/salome/gui/GEOM/whproj.js [deleted file]
doc/salome/gui/GEOM/whproj.xml [deleted file]
doc/salome/gui/GEOM/whproxy.js [deleted file]
doc/salome/gui/GEOM/whres.xml [deleted file]
doc/salome/gui/GEOM/whrstart.ico [deleted file]
doc/salome/gui/GEOM/whskin_banner.htm [deleted file]
doc/salome/gui/GEOM/whskin_blank.htm [deleted file]
doc/salome/gui/GEOM/whskin_frmset01.htm [deleted file]
doc/salome/gui/GEOM/whskin_frmset010.htm [deleted file]
doc/salome/gui/GEOM/whskin_homepage.htm [deleted file]
doc/salome/gui/GEOM/whskin_info.htm [deleted file]
doc/salome/gui/GEOM/whskin_mbars.htm [deleted file]
doc/salome/gui/GEOM/whskin_papplet.htm [deleted file]
doc/salome/gui/GEOM/whskin_pdhtml.htm [deleted file]
doc/salome/gui/GEOM/whskin_pickup.htm [deleted file]
doc/salome/gui/GEOM/whskin_plist.htm [deleted file]
doc/salome/gui/GEOM/whskin_tbars.htm [deleted file]
doc/salome/gui/GEOM/whskin_tw.htm [deleted file]
doc/salome/gui/GEOM/whst_topics.xml [deleted file]
doc/salome/gui/GEOM/whstart.ico [deleted file]
doc/salome/gui/GEOM/whstart.js [deleted file]
doc/salome/gui/GEOM/whstub.js [deleted file]
doc/salome/gui/GEOM/wht_abge.jpg [deleted file]
doc/salome/gui/GEOM/wht_abgi.jpg [deleted file]
doc/salome/gui/GEOM/wht_abgw.jpg [deleted file]
doc/salome/gui/GEOM/wht_abte.jpg [deleted file]
doc/salome/gui/GEOM/wht_abti.jpg [deleted file]
doc/salome/gui/GEOM/wht_abtw.jpg [deleted file]
doc/salome/gui/GEOM/wht_fts_h.gif [deleted file]
doc/salome/gui/GEOM/wht_fts_n.gif [deleted file]
doc/salome/gui/GEOM/wht_glo_h.gif [deleted file]
doc/salome/gui/GEOM/wht_glo_n.gif [deleted file]
doc/salome/gui/GEOM/wht_go.gif [deleted file]
doc/salome/gui/GEOM/wht_hide.gif [deleted file]
doc/salome/gui/GEOM/wht_idx_h.gif [deleted file]
doc/salome/gui/GEOM/wht_idx_n.gif [deleted file]
doc/salome/gui/GEOM/wht_logo1.gif [deleted file]
doc/salome/gui/GEOM/wht_logo2.gif [deleted file]
doc/salome/gui/GEOM/wht_next.gif [deleted file]
doc/salome/gui/GEOM/wht_next_g.gif [deleted file]
doc/salome/gui/GEOM/wht_prev.gif [deleted file]
doc/salome/gui/GEOM/wht_prev_g.gif [deleted file]
doc/salome/gui/GEOM/wht_spac.gif [deleted file]
doc/salome/gui/GEOM/wht_sync.gif [deleted file]
doc/salome/gui/GEOM/wht_tab0.gif [deleted file]
doc/salome/gui/GEOM/wht_tab1.gif [deleted file]
doc/salome/gui/GEOM/wht_tab2.gif [deleted file]
doc/salome/gui/GEOM/wht_tab3.gif [deleted file]
doc/salome/gui/GEOM/wht_tab4.gif [deleted file]
doc/salome/gui/GEOM/wht_tab5.gif [deleted file]
doc/salome/gui/GEOM/wht_tab6.gif [deleted file]
doc/salome/gui/GEOM/wht_tab7.gif [deleted file]
doc/salome/gui/GEOM/wht_tab8.gif [deleted file]
doc/salome/gui/GEOM/wht_toc1.gif [deleted file]
doc/salome/gui/GEOM/wht_toc2.gif [deleted file]
doc/salome/gui/GEOM/wht_toc3.gif [deleted file]
doc/salome/gui/GEOM/wht_toc4.gif [deleted file]
doc/salome/gui/GEOM/wht_toc_h.gif [deleted file]
doc/salome/gui/GEOM/wht_toc_n.gif [deleted file]
doc/salome/gui/GEOM/wht_ws.gif [deleted file]
doc/salome/gui/GEOM/wht_ws_g.gif [deleted file]
doc/salome/gui/GEOM/whtbar.js [deleted file]
doc/salome/gui/GEOM/whtdhtml.htm [deleted file]
doc/salome/gui/GEOM/whthost.js [deleted file]
doc/salome/gui/GEOM/whtopic.js [deleted file]
doc/salome/gui/GEOM/whutils.js [deleted file]
doc/salome/gui/GEOM/whver.js [deleted file]
doc/salome/gui/GEOM/whxdata/whftdata0.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whfts.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whfwdata0.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whfwdata1.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whfwdata2.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whgdata0.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whglo.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whidx.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whtdata0.xml [deleted file]
doc/salome/gui/GEOM/whxdata/whtoc.xml [deleted file]
doc/salome/gui/GEOM/working_with_groups.htm [deleted file]
doc/salome/gui/Makefile.in [deleted file]
doc/salome/tui/GEOM/HTML/GEOM_Gen.html [deleted file]
doc/salome/tui/GEOM/HTML/GEOM_Shape.html [deleted file]
doc/salome/tui/GEOM/doxyfile [deleted file]
doc/salome/tui/GEOM/doxyfile_py [deleted file]
doc/salome/tui/GEOM/sources/Application-About.png [deleted file]
doc/salome/tui/GEOM/sources/Application-About1.jpg [deleted file]
doc/salome/tui/GEOM/sources/application.gif [deleted file]
doc/salome/tui/GEOM/sources/application.jpg [deleted file]
doc/salome/tui/GEOM/sources/bg_salome.gif [deleted file]
doc/salome/tui/GEOM/sources/logocorp.gif [deleted file]
doc/salome/tui/GEOM/sources/myheader.html [deleted file]
doc/salome/tui/GEOM/sources/myheader_py2.html [deleted file]
doc/salome/tui/GEOM/sources/occ.gif [deleted file]
doc/salome/tui/GEOM/sources/static/doxygen.css [deleted file]
doc/salome/tui/GEOM/sources/static/page2.html [deleted file]
doc/salome/tui/GEOM/sources/static/tree.js [deleted file]
doc/salome/tui/GEOM/sources/static/treeview.js [deleted file]
doc/salome/tui/Makefile.in [deleted file]
idl/GEOM_Gen.idl [deleted file]
idl/GEOM_Superv.idl [deleted file]
idl/Makefile.in [deleted file]
resources/GEOM.config [deleted file]
resources/GEOMCatalog.xml [deleted file]
resources/GEOMDS_Resources [deleted file]
resources/GEOM_en.xml [deleted file]
resources/GEOM_fr.xml [deleted file]
resources/ImportExport [deleted file]
resources/ModuleGeom.png [deleted file]
resources/ShHealing [deleted file]
resources/arc.png [deleted file]
resources/archimede.png [deleted file]
resources/axisinertia.png [deleted file]
resources/basicproperties.png [deleted file]
resources/bezier.png [deleted file]
resources/block_2f.png [deleted file]
resources/block_6f.png [deleted file]
resources/block_face_2e.png [deleted file]
resources/block_face_4e.png [deleted file]
resources/block_face_4v.png [deleted file]
resources/block_multitrsf_double.png [deleted file]
resources/block_multitrsf_simple.png [deleted file]
resources/bounding.png [deleted file]
resources/box.png [deleted file]
resources/box2points.png [deleted file]
resources/boxdxyz.png [deleted file]
resources/build_compound.png [deleted file]
resources/build_edge.png [deleted file]
resources/build_face.png [deleted file]
resources/build_shell.png [deleted file]
resources/build_solid.png [deleted file]
resources/build_wire.png [deleted file]
resources/centergravity.png [deleted file]
resources/chamfer.png [deleted file]
resources/chamferall.png [deleted file]
resources/chamferedge.png [deleted file]
resources/chamferface.png [deleted file]
resources/check.png [deleted file]
resources/check_blocks_compound.png [deleted file]
resources/circle.png [deleted file]
resources/circle3points.png [deleted file]
resources/circlepointvector.png [deleted file]
resources/closecontour.png [deleted file]
resources/common.png [deleted file]
resources/cone.png [deleted file]
resources/conedxyz.png [deleted file]
resources/conepointvector.png [deleted file]
resources/coordsys.png [deleted file]
resources/cut.png [deleted file]
resources/cylinder.png [deleted file]
resources/cylinderdxyz.png [deleted file]
resources/cylinderpointvector.png [deleted file]
resources/delete.png [deleted file]
resources/display.png [deleted file]
resources/displayall.png [deleted file]
resources/displayonly.png [deleted file]
resources/ellipse.png [deleted file]
resources/ellipsepointvector.png [deleted file]
resources/erase.png [deleted file]
resources/eraseall.png [deleted file]
resources/fillet.png [deleted file]
resources/filletall.png [deleted file]
resources/filletedge.png [deleted file]
resources/filletface.png [deleted file]
resources/filling.png [deleted file]
resources/free_bound.png [deleted file]
resources/free_faces.png [deleted file]
resources/fuse.png [deleted file]
resources/geometry.png [deleted file]
resources/glue.png [deleted file]
resources/group_edit.png [deleted file]
resources/group_new.png [deleted file]
resources/interpol.png [deleted file]
resources/line.png [deleted file]
resources/line2points.png [deleted file]
resources/lineedge.png [deleted file]
resources/linepointvector.png [deleted file]
resources/marker.png [deleted file]
resources/marker2.png [deleted file]
resources/marker3.png [deleted file]
resources/mindist.png [deleted file]
resources/mirrorAxe.png [deleted file]
resources/mirrorPlane.png [deleted file]
resources/mirrorPoint.png [deleted file]
resources/multirotation.png [deleted file]
resources/multirotationdouble.png [deleted file]
resources/multirotationsimple.png [deleted file]
resources/multitranslation.png [deleted file]
resources/multitranslationdouble.png [deleted file]
resources/multitranslationsimple.png [deleted file]
resources/offset.png [deleted file]
resources/orientation.png [deleted file]
resources/partition.png [deleted file]
resources/partitionkeep.png [deleted file]
resources/partitionplane.png [deleted file]
resources/pipe.png [deleted file]
resources/plane.png [deleted file]
resources/plane3points.png [deleted file]
resources/planeWorking.png [deleted file]
resources/planedxyz.png [deleted file]
resources/planeface.png [deleted file]
resources/planepointvector.png [deleted file]
resources/planeworkingface.png [deleted file]
resources/planeworkingorigin.png [deleted file]
resources/planeworkingvector.png [deleted file]
resources/point2.png [deleted file]
resources/point3.png [deleted file]
resources/point_coord.png [deleted file]
resources/pointonedge.png [deleted file]
resources/polyline.png [deleted file]
resources/position.png [deleted file]
resources/position2.png [deleted file]
resources/prism.png [deleted file]
resources/propagate.png [deleted file]
resources/redo.png [deleted file]
resources/revol.png [deleted file]
resources/rotate.png [deleted file]
resources/scale.png [deleted file]
resources/section.png [deleted file]
resources/select1.png [deleted file]
resources/sewing.png [deleted file]
resources/shading.png [deleted file]
resources/shapeprocess.png [deleted file]
resources/sketch.png [deleted file]
resources/sphere.png [deleted file]
resources/spheredxyz.png [deleted file]
resources/spherepoint.png [deleted file]
resources/spline.png [deleted file]
resources/subblock.png [deleted file]
resources/subshape.png [deleted file]
resources/suppressintwires.png [deleted file]
resources/supressHolesOnFaceShell.png [deleted file]
resources/supressface.png [deleted file]
resources/supresshole.png [deleted file]
resources/tolerance.png [deleted file]
resources/torus.png [deleted file]
resources/torusdxyz.png [deleted file]
resources/toruspointvector.png [deleted file]
resources/translation.png [deleted file]
resources/translationDxyz.png [deleted file]
resources/translationPoints.png [deleted file]
resources/translationVector.png [deleted file]
resources/tree_block.png [deleted file]
resources/tree_compound.png [deleted file]
resources/tree_compsolid.png [deleted file]
resources/tree_edge.png [deleted file]
resources/tree_face.png [deleted file]
resources/tree_group_edge.png [deleted file]
resources/tree_group_face.png [deleted file]
resources/tree_group_solid.png [deleted file]
resources/tree_group_vertex.png [deleted file]
resources/tree_lcs.png [deleted file]
resources/tree_shape.png [deleted file]
resources/tree_shell.png [deleted file]
resources/tree_solid.png [deleted file]
resources/tree_vertex.png [deleted file]
resources/tree_wire.png [deleted file]
resources/undo.png [deleted file]
resources/vector.png [deleted file]
resources/vector2points.png [deleted file]
resources/vectordxyz.png [deleted file]
resources/whatis.png [deleted file]
src/ARCHIMEDE/Archimede_VolumeSection.cxx [deleted file]
src/ARCHIMEDE/Archimede_VolumeSection.hxx [deleted file]
src/ARCHIMEDE/Makefile.in [deleted file]
src/BREPExport/BREPExport.cxx [deleted file]
src/BREPExport/Makefile.in [deleted file]
src/BREPImport/BREPImport.cxx [deleted file]
src/BREPImport/Makefile.in [deleted file]
src/BasicGUI/BasicGUI.cxx [deleted file]
src/BasicGUI/BasicGUI.h [deleted file]
src/BasicGUI/BasicGUI_ArcDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_ArcDlg.h [deleted file]
src/BasicGUI/BasicGUI_CircleDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_CircleDlg.h [deleted file]
src/BasicGUI/BasicGUI_CurveDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_CurveDlg.h [deleted file]
src/BasicGUI/BasicGUI_EllipseDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_EllipseDlg.h [deleted file]
src/BasicGUI/BasicGUI_LineDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_LineDlg.h [deleted file]
src/BasicGUI/BasicGUI_MarkerDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_MarkerDlg.h [deleted file]
src/BasicGUI/BasicGUI_PlaneDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_PlaneDlg.h [deleted file]
src/BasicGUI/BasicGUI_PointDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_PointDlg.h [deleted file]
src/BasicGUI/BasicGUI_VectorDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_VectorDlg.h [deleted file]
src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx [deleted file]
src/BasicGUI/BasicGUI_WorkingPlaneDlg.h [deleted file]
src/BasicGUI/Makefile.in [deleted file]
src/BlocksGUI/BlocksGUI.cxx [deleted file]
src/BlocksGUI/BlocksGUI.h [deleted file]
src/BlocksGUI/BlocksGUI_BlockDlg.cxx [deleted file]
src/BlocksGUI/BlocksGUI_BlockDlg.h [deleted file]
src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx [deleted file]
src/BlocksGUI/BlocksGUI_ExplodeDlg.h [deleted file]
src/BlocksGUI/BlocksGUI_PropagateDlg.cxx [deleted file]
src/BlocksGUI/BlocksGUI_PropagateDlg.h [deleted file]
src/BlocksGUI/BlocksGUI_QuadFaceDlg.cxx [deleted file]
src/BlocksGUI/BlocksGUI_QuadFaceDlg.h [deleted file]
src/BlocksGUI/BlocksGUI_TrsfDlg.cxx [deleted file]
src/BlocksGUI/BlocksGUI_TrsfDlg.h [deleted file]
src/BlocksGUI/Makefile.in [deleted file]
src/BooleanGUI/BooleanGUI.cxx [deleted file]
src/BooleanGUI/BooleanGUI.h [deleted file]
src/BooleanGUI/BooleanGUI_Dialog.cxx [deleted file]
src/BooleanGUI/BooleanGUI_Dialog.h [deleted file]
src/BooleanGUI/Makefile.in [deleted file]
src/BuildGUI/BuildGUI.cxx [deleted file]
src/BuildGUI/BuildGUI.h [deleted file]
src/BuildGUI/BuildGUI_CompoundDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_CompoundDlg.h [deleted file]
src/BuildGUI/BuildGUI_EdgeDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_EdgeDlg.h [deleted file]
src/BuildGUI/BuildGUI_FaceDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_FaceDlg.h [deleted file]
src/BuildGUI/BuildGUI_ShellDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_ShellDlg.h [deleted file]
src/BuildGUI/BuildGUI_SolidDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_SolidDlg.h [deleted file]
src/BuildGUI/BuildGUI_WireDlg.cxx [deleted file]
src/BuildGUI/BuildGUI_WireDlg.h [deleted file]
src/BuildGUI/Makefile.in [deleted file]
src/DisplayGUI/DisplayGUI.h [deleted file]
src/DisplayGUI/Makefile.in [deleted file]
src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Check1List_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel1Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Spin.h [deleted file]
src/DlgRef/DlgRef_1Sel1Spin1Check.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Spin1Check.h [deleted file]
src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel1Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel2Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Sel2Spin.h [deleted file]
src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel2Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel3Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel3Check_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel3Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Sel3Spin.h [deleted file]
src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel3Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel4Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Sel4Spin.h [deleted file]
src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel4Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel5Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Sel5Spin.h [deleted file]
src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel5Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_1Sel_Ext.h [deleted file]
src/DlgRef/DlgRef_1Sel_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Sel_QTD.h [deleted file]
src/DlgRef/DlgRef_1Spin.cxx [deleted file]
src/DlgRef/DlgRef_1Spin.h [deleted file]
src/DlgRef/DlgRef_1Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_1Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel1Spin.cxx [deleted file]
src/DlgRef/DlgRef_2Sel1Spin.h [deleted file]
src/DlgRef/DlgRef_2Sel1Spin2Check.cxx [deleted file]
src/DlgRef/DlgRef_2Sel1Spin2Check.h [deleted file]
src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel1Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel2Spin.cxx [deleted file]
src/DlgRef/DlgRef_2Sel2Spin.h [deleted file]
src/DlgRef/DlgRef_2Sel2Spin1Check.cxx [deleted file]
src/DlgRef/DlgRef_2Sel2Spin1Check.h [deleted file]
src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel2Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel3Spin.cxx [deleted file]
src/DlgRef/DlgRef_2Sel3Spin.h [deleted file]
src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel3Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel4Spin1Check.cxx [deleted file]
src/DlgRef/DlgRef_2Sel4Spin1Check.h [deleted file]
src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_2Sel_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Sel_QTD.h [deleted file]
src/DlgRef/DlgRef_2Spin.cxx [deleted file]
src/DlgRef/DlgRef_2Spin.h [deleted file]
src/DlgRef/DlgRef_2Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_2Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_3Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Check_QTD.h [deleted file]
src/DlgRef/DlgRef_3Sel1Spin.cxx [deleted file]
src/DlgRef/DlgRef_3Sel1Spin.h [deleted file]
src/DlgRef/DlgRef_3Sel3Spin1Check.cxx [deleted file]
src/DlgRef/DlgRef_3Sel3Spin1Check.h [deleted file]
src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_3Sel4Spin2Check.cxx [deleted file]
src/DlgRef/DlgRef_3Sel4Spin2Check.h [deleted file]
src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h [deleted file]
src/DlgRef/DlgRef_3Sel_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Sel_QTD.h [deleted file]
src/DlgRef/DlgRef_3Spin.cxx [deleted file]
src/DlgRef/DlgRef_3Spin.h [deleted file]
src/DlgRef/DlgRef_3Spin1Check.cxx [deleted file]
src/DlgRef/DlgRef_3Spin1Check.h [deleted file]
src/DlgRef/DlgRef_3Spin1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Spin1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_3Spin_QTD.cxx [deleted file]
src/DlgRef/DlgRef_3Spin_QTD.h [deleted file]
src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx [deleted file]
src/DlgRef/DlgRef_4Sel1List1Check_QTD.h [deleted file]
src/DlgRef/DlgRef_4Sel1List_QTD.cxx [deleted file]
src/DlgRef/DlgRef_4Sel1List_QTD.h [deleted file]
src/DlgRef/DlgRef_6Sel_QTD.cxx [deleted file]
src/DlgRef/DlgRef_6Sel_QTD.h [deleted file]
src/DlgRef/DlgRef_Skeleton_QTD.cxx [deleted file]
src/DlgRef/DlgRef_Skeleton_QTD.h [deleted file]
src/DlgRef/DlgRef_SpinBox.cxx [deleted file]
src/DlgRef/DlgRef_SpinBox.h [deleted file]
src/DlgRef/Makefile.in [deleted file]
src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui [deleted file]
src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui [deleted file]
src/DlgRef/UIFiles/ui_to_cxx [deleted file]
src/EntityGUI/EntityGUI.cxx [deleted file]
src/EntityGUI/EntityGUI.h [deleted file]
src/EntityGUI/EntityGUI_1Sel_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_1Sel_QTD.h [deleted file]
src/EntityGUI/EntityGUI_1Spin.cxx [deleted file]
src/EntityGUI/EntityGUI_1Spin.h [deleted file]
src/EntityGUI/EntityGUI_1Spin_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_1Spin_QTD.h [deleted file]
src/EntityGUI/EntityGUI_2Spin.cxx [deleted file]
src/EntityGUI/EntityGUI_2Spin.h [deleted file]
src/EntityGUI/EntityGUI_2Spin_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_2Spin_QTD.h [deleted file]
src/EntityGUI/EntityGUI_3Spin.cxx [deleted file]
src/EntityGUI/EntityGUI_3Spin.h [deleted file]
src/EntityGUI/EntityGUI_3Spin_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_3Spin_QTD.h [deleted file]
src/EntityGUI/EntityGUI_4Spin.cxx [deleted file]
src/EntityGUI/EntityGUI_4Spin.h [deleted file]
src/EntityGUI/EntityGUI_4Spin_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_4Spin_QTD.h [deleted file]
src/EntityGUI/EntityGUI_Dir1_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_Dir1_QTD.h [deleted file]
src/EntityGUI/EntityGUI_Dir2_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_Dir2_QTD.h [deleted file]
src/EntityGUI/EntityGUI_Point_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_Point_QTD.h [deleted file]
src/EntityGUI/EntityGUI_Skeleton_QTD.cxx [deleted file]
src/EntityGUI/EntityGUI_Skeleton_QTD.h [deleted file]
src/EntityGUI/EntityGUI_SketcherDlg.cxx [deleted file]
src/EntityGUI/EntityGUI_SketcherDlg.h [deleted file]
src/EntityGUI/EntityGUI_SubShapeDlg.cxx [deleted file]
src/EntityGUI/EntityGUI_SubShapeDlg.h [deleted file]
src/EntityGUI/Makefile.in [deleted file]
src/EntityGUI/UIFiles/EntityGUI_1Sel_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_1Spin_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_2Spin_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_3Spin_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_4Spin_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_Dir1_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_Dir2_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_Point_QTD.ui [deleted file]
src/EntityGUI/UIFiles/EntityGUI_Skeleton_QTD.ui [deleted file]
src/EntityGUI/UIFiles/ui_to_cxx [deleted file]
src/GEOM/GEOM_Application.cxx [deleted file]
src/GEOM/GEOM_Application.hxx [deleted file]
src/GEOM/GEOM_Application.ixx [deleted file]
src/GEOM/GEOM_Application.jxx [deleted file]
src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx [deleted file]
src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx [deleted file]
src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx [deleted file]
src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx [deleted file]
src/GEOM/GEOM_DataMapOfAsciiStringTransient.hxx [deleted file]
src/GEOM/GEOM_DataMapOfAsciiStringTransient_0.cxx [deleted file]
src/GEOM/GEOM_Engine.cxx [deleted file]
src/GEOM/GEOM_Engine.hxx [deleted file]
src/GEOM/GEOM_Function.cxx [deleted file]
src/GEOM/GEOM_Function.hxx [deleted file]
src/GEOM/GEOM_Gen_i.cc [deleted file]
src/GEOM/GEOM_IOperations.cxx [deleted file]
src/GEOM/GEOM_IOperations.hxx [deleted file]
src/GEOM/GEOM_ISubShape.hxx [deleted file]
src/GEOM/GEOM_Object.cxx [deleted file]
src/GEOM/GEOM_Object.hxx [deleted file]
src/GEOM/GEOM_PythonDump.cxx [deleted file]
src/GEOM/GEOM_PythonDump.hxx [deleted file]
src/GEOM/GEOM_Solver.cxx [deleted file]
src/GEOM/GEOM_Solver.hxx [deleted file]
src/GEOM/GEOM_SubShapeDriver.cxx [deleted file]
src/GEOM/GEOM_SubShapeDriver.hxx [deleted file]
src/GEOM/Handle_GEOM_Application.hxx [deleted file]
src/GEOM/Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx [deleted file]
src/GEOM/Makefile.in [deleted file]
src/GEOM/geom.cxx [deleted file]
src/GEOMAlgo/BlockFix.cdl [deleted file]
src/GEOMAlgo/BlockFix.cxx [deleted file]
src/GEOMAlgo/BlockFix.hxx [deleted file]
src/GEOMAlgo/BlockFix.ixx [deleted file]
src/GEOMAlgo/BlockFix.jxx [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.cdl [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.cxx [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.hxx [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.ixx [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.jxx [deleted file]
src/GEOMAlgo/BlockFix_BlockFixAPI.lxx [deleted file]
src/GEOMAlgo/BlockFix_CheckTool.cdl [deleted file]
src/GEOMAlgo/BlockFix_CheckTool.cxx [deleted file]
src/GEOMAlgo/BlockFix_CheckTool.hxx [deleted file]
src/GEOMAlgo/BlockFix_CheckTool.ixx [deleted file]
src/GEOMAlgo/BlockFix_CheckTool.jxx [deleted file]
src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cdl [deleted file]
src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cxx [deleted file]
src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.hxx [deleted file]
src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.ixx [deleted file]
src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.jxx [deleted file]
src/GEOMAlgo/BlockFix_SphereSpaceModifier.cdl [deleted file]
src/GEOMAlgo/BlockFix_SphereSpaceModifier.cxx [deleted file]
src/GEOMAlgo/BlockFix_SphereSpaceModifier.hxx [deleted file]
src/GEOMAlgo/BlockFix_SphereSpaceModifier.ixx [deleted file]
src/GEOMAlgo/BlockFix_SphereSpaceModifier.jxx [deleted file]
src/GEOMAlgo/BlockFix_UnionEdges.cdl [deleted file]
src/GEOMAlgo/BlockFix_UnionEdges.cxx [deleted file]
src/GEOMAlgo/BlockFix_UnionEdges.hxx [deleted file]
src/GEOMAlgo/BlockFix_UnionEdges.ixx [deleted file]
src/GEOMAlgo/BlockFix_UnionEdges.jxx [deleted file]
src/GEOMAlgo/BlockFix_UnionFaces.cdl [deleted file]
src/GEOMAlgo/BlockFix_UnionFaces.cxx [deleted file]
src/GEOMAlgo/BlockFix_UnionFaces.hxx [deleted file]
src/GEOMAlgo/BlockFix_UnionFaces.ixx [deleted file]
src/GEOMAlgo/BlockFix_UnionFaces.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_Algo.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_Algo.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Algo.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Algo.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_Algo.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_GlueAnalyser.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_GlueAnalyser.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_GlueAnalyser.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Gluer.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_Gluer.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Gluer.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Gluer.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_Gluer.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ListOfPnt_0.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKey.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKey.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKey.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKey.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKey.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyShape.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyShape.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyShape.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyShape.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_PassKeyShape.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeAlgo.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeAlgo.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeAlgo.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeSolid.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeSolid.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeSolid.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeSolid.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShapeSolid.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShellSolid.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShellSolid.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShellSolid.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_ShellSolid.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SolidSolid.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_SolidSolid.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SolidSolid.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SolidSolid.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_SolidSolid.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_State.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_StateCollector.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_StateCollector.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_StateCollector.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_StateCollector.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_StateCollector.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SurfaceTools.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_SurfaceTools.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SurfaceTools.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_SurfaceTools.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_SurfaceTools.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Tools.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_Tools.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Tools.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_Tools.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_Tools.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_VertexSolid.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_VertexSolid.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_VertexSolid.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_VertexSolid.jxx [deleted file]
src/GEOMAlgo/GEOMAlgo_WireSolid.cdl [deleted file]
src/GEOMAlgo/GEOMAlgo_WireSolid.cxx [deleted file]
src/GEOMAlgo/GEOMAlgo_WireSolid.hxx [deleted file]
src/GEOMAlgo/GEOMAlgo_WireSolid.ixx [deleted file]
src/GEOMAlgo/GEOMAlgo_WireSolid.jxx [deleted file]
src/GEOMAlgo/Handle_BlockFix_BlockFixAPI.hxx [deleted file]
src/GEOMAlgo/Handle_BlockFix_PeriodicSurfaceModifier.hxx [deleted file]
src/GEOMAlgo/Handle_BlockFix_SphereSpaceModifier.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx [deleted file]
src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx [deleted file]
src/GEOMAlgo/Makefile.in [deleted file]
src/GEOMBase/GEOMBase.cxx [deleted file]
src/GEOMBase/GEOMBase.h [deleted file]
src/GEOMBase/GEOMBase_Helper.cxx [deleted file]
src/GEOMBase/GEOMBase_Helper.h [deleted file]
src/GEOMBase/GEOMBase_Skeleton.cxx [deleted file]
src/GEOMBase/GEOMBase_Skeleton.h [deleted file]
src/GEOMBase/GEOMBase_aParameterDlg.cxx [deleted file]
src/GEOMBase/GEOMBase_aParameterDlg.h [deleted file]
src/GEOMBase/GEOM_Operation.cxx [deleted file]
src/GEOMBase/GEOM_Operation.h [deleted file]
src/GEOMBase/Makefile.in [deleted file]
src/GEOMClient/GEOM_Client.cxx [deleted file]
src/GEOMClient/GEOM_Client.hxx [deleted file]
src/GEOMClient/Makefile.in [deleted file]
src/GEOMContext/GEOMContext.cxx [deleted file]
src/GEOMContext/GEOMContext.h [deleted file]
src/GEOMContext/GEOM_icons.po [deleted file]
src/GEOMContext/GEOM_msg_en.po [deleted file]
src/GEOMContext/GEOM_msg_fr.po [deleted file]
src/GEOMContext/Makefile.in [deleted file]
src/GEOMDS/GEOMDS_Commands.cxx [deleted file]
src/GEOMDS/GEOMDS_Commands.jxx [deleted file]
src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_EdgeFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx [deleted file]
src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx [deleted file]
src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx [deleted file]
src/GEOMFiltersSelection/GEOM_FaceFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_FaceFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_FaceFilter.hxx [deleted file]
src/GEOMFiltersSelection/GEOM_FaceFilter.ixx [deleted file]
src/GEOMFiltersSelection/GEOM_FaceFilter.jxx [deleted file]
src/GEOMFiltersSelection/GEOM_LogicalFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_LogicalFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_LogicalFilter.hxx [deleted file]
src/GEOMFiltersSelection/GEOM_OCCFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_OCCFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_PreviewFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_PreviewFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_PreviewFilter.hxx [deleted file]
src/GEOMFiltersSelection/GEOM_PreviewFilter.ixx [deleted file]
src/GEOMFiltersSelection/GEOM_PreviewFilter.jxx [deleted file]
src/GEOMFiltersSelection/GEOM_SelectionFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_SelectionFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx [deleted file]
src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx [deleted file]
src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx [deleted file]
src/GEOMFiltersSelection/GEOM_TypeFilter.cxx [deleted file]
src/GEOMFiltersSelection/GEOM_TypeFilter.h [deleted file]
src/GEOMFiltersSelection/GEOM_TypeFilter.hxx [deleted file]
src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx [deleted file]
src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx [deleted file]
src/GEOMFiltersSelection/Handle_GEOM_PreviewFilter.hxx [deleted file]
src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx [deleted file]
src/GEOMFiltersSelection/Makefile.in [deleted file]
src/GEOMGUI/GEOMGUI.cxx [deleted file]
src/GEOMGUI/GEOMGUI.h [deleted file]
src/GEOMGUI/GEOMGUI_OCCSelector.cxx [deleted file]
src/GEOMGUI/GEOMGUI_OCCSelector.h [deleted file]
src/GEOMGUI/GEOMGUI_Selection.cxx [deleted file]
src/GEOMGUI/GEOMGUI_Selection.h [deleted file]
src/GEOMGUI/GEOM_Displayer.cxx [deleted file]
src/GEOMGUI/GEOM_Displayer.h [deleted file]
src/GEOMGUI/GEOM_images.po [deleted file]
src/GEOMGUI/GEOM_msg_en.po [deleted file]
src/GEOMGUI/GEOM_msg_fr.po [deleted file]
src/GEOMGUI/GeometryGUI.cxx [deleted file]
src/GEOMGUI/GeometryGUI.h [deleted file]
src/GEOMGUI/GeometryGUI_Swig.hxx [deleted file]
src/GEOMGUI/GeometryGUI_Swig.i [deleted file]
src/GEOMGUI/Makefile.in [deleted file]
src/GEOMImpl/GEOMImpl_ArcDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ArcDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ArchimedeDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_Block6Explorer.cxx [deleted file]
src/GEOMImpl/GEOMImpl_Block6Explorer.hxx [deleted file]
src/GEOMImpl/GEOMImpl_BlockDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_BlockDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_BooleanDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_BooleanDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_BoxDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_BoxDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ChamferDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ChamferDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_CircleDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_CircleDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ConeDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ConeDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_CopyDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_CopyDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_CylinderDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_CylinderDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_EllipseDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_EllipseDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ExportDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ExportDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_FilletDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_FilletDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_FillingDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_FillingDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_Gen.cxx [deleted file]
src/GEOMImpl/GEOMImpl_Gen.hxx [deleted file]
src/GEOMImpl/GEOMImpl_GlueDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_GlueDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_HealingDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_HealingDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_I3DPrimOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_I3DPrimOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IArc.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IArchimede.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBasicOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IBasicOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBlockTrsf.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBlocks.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBoolean.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IBooleanOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IBox.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IChamfer.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ICircle.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ICone.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ICopy.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ICurvesOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ICylinder.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IEllipse.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IFillet.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IFilling.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IGlue.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IGroupOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IGroupOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IHealing.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IHealingOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IHealingOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IImportExport.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IInsertOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ILine.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ILocalOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ILocalOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IMarker.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IMeasure.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IMirror.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IOffset.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPartition.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPipe.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPlane.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPoint.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPolyline.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPosition.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IPrism.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IRevolution.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IRotate.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IScale.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IShapes.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_IShapesOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ISketcher.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ISphere.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ISpline.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ITorus.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ITransformOperations.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ITransformOperations.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ITranslate.hxx [deleted file]
src/GEOMImpl/GEOMImpl_IVector.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ImportDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ImportDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_LineDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_LineDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_MarkerDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_MarkerDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_MeasureDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_MeasureDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_MirrorDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_MirrorDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_OffsetDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_OffsetDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PartitionDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PartitionDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PipeDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PipeDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PlaneDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PlaneDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PointDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PointDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PolylineDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PolylineDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PositionDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PositionDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_PrismDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_PrismDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_RevolutionDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_RevolutionDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_RotateDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_RotateDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ScaleDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ScaleDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_ShapeDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_ShapeDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_SketcherDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_SketcherDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_SphereDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_SphereDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_SplineDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_SplineDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_Template.cxx [deleted file]
src/GEOMImpl/GEOMImpl_Template.hxx [deleted file]
src/GEOMImpl/GEOMImpl_TorusDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_TorusDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_TranslateDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_TranslateDriver.hxx [deleted file]
src/GEOMImpl/GEOMImpl_Types.hxx [deleted file]
src/GEOMImpl/GEOMImpl_VectorDriver.cxx [deleted file]
src/GEOMImpl/GEOMImpl_VectorDriver.hxx [deleted file]
src/GEOMImpl/GUID.txt [deleted file]
src/GEOMImpl/Makefile.in [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI.cxx [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI.h [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.cxx [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.h [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.h [deleted file]
src/GEOMToolsGUI/GEOMToolsGUI_TransparencyDlg.h [deleted file]
src/GEOMToolsGUI/Makefile.in [deleted file]
src/GEOM_I/GEOM_DumpPython.cc [deleted file]
src/GEOM_I/GEOM_Gen_i.cc [deleted file]
src/GEOM_I/GEOM_Gen_i.hh [deleted file]
src/GEOM_I/GEOM_I3DPrimOperations_i.cc [deleted file]
src/GEOM_I/GEOM_I3DPrimOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IBasicOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IBasicOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IBlocksOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IBlocksOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IBooleanOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IBooleanOperations_i.hh [deleted file]
src/GEOM_I/GEOM_ICurvesOperations_i.cc [deleted file]
src/GEOM_I/GEOM_ICurvesOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IGroupOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IGroupOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IHealingOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IHealingOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IInsertOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IInsertOperations_i.hh [deleted file]
src/GEOM_I/GEOM_ILocalOperations_i.cc [deleted file]
src/GEOM_I/GEOM_ILocalOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IMeasureOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IMeasureOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IOperations_i.hh [deleted file]
src/GEOM_I/GEOM_IShapesOperations_i.cc [deleted file]
src/GEOM_I/GEOM_IShapesOperations_i.hh [deleted file]
src/GEOM_I/GEOM_ITransformOperations_i.cc [deleted file]
src/GEOM_I/GEOM_ITransformOperations_i.hh [deleted file]
src/GEOM_I/GEOM_Object_i.cc [deleted file]
src/GEOM_I/GEOM_Object_i.hh [deleted file]
src/GEOM_I/Makefile.in [deleted file]
src/GEOM_I_Superv/GEOM_List_i.hh [deleted file]
src/GEOM_I_Superv/GEOM_Superv_i.cc [deleted file]
src/GEOM_I_Superv/GEOM_Superv_i.hh [deleted file]
src/GEOM_I_Superv/Makefile.in [deleted file]
src/GEOM_SWIG/GEOM_Nut.py [deleted file]
src/GEOM_SWIG/GEOM_Partition1.py [deleted file]
src/GEOM_SWIG/GEOM_Partition2.py [deleted file]
src/GEOM_SWIG/GEOM_Partition3.py [deleted file]
src/GEOM_SWIG/GEOM_Partition4.py [deleted file]
src/GEOM_SWIG/GEOM_Partition5.py [deleted file]
src/GEOM_SWIG/GEOM_Sketcher.py [deleted file]
src/GEOM_SWIG/GEOM_Spanner.py [deleted file]
src/GEOM_SWIG/GEOM_TestAll.py [deleted file]
src/GEOM_SWIG/GEOM_TestHealing.py [deleted file]
src/GEOM_SWIG/GEOM_TestMeasures.py [deleted file]
src/GEOM_SWIG/GEOM_TestOthers.py [deleted file]
src/GEOM_SWIG/GEOM_blocks.py [deleted file]
src/GEOM_SWIG/GEOM_cyl2complementary.py [deleted file]
src/GEOM_SWIG/GEOM_example.py [deleted file]
src/GEOM_SWIG/GEOM_example2.py [deleted file]
src/GEOM_SWIG/GEOM_example3.py [deleted file]
src/GEOM_SWIG/GEOM_example4.py [deleted file]
src/GEOM_SWIG/GEOM_example5.py [deleted file]
src/GEOM_SWIG/GEOM_moteur.py [deleted file]
src/GEOM_SWIG/GEOM_shared_modules.py [deleted file]
src/GEOM_SWIG/GEOM_shellSolid.py [deleted file]
src/GEOM_SWIG/GEOM_tube_geom.py [deleted file]
src/GEOM_SWIG/GEOM_tube_geom_gg2.py [deleted file]
src/GEOM_SWIG/GEOM_usinggeom.py [deleted file]
src/GEOM_SWIG/Makefile.in [deleted file]
src/GEOM_SWIG/PAL_MESH_019_020_geometry.py [deleted file]
src/GEOM_SWIG/PAL_MESH_028_geometry.py [deleted file]
src/GEOM_SWIG/PAL_MESH_030_geometry.py [deleted file]
src/GEOM_SWIG/PAL_MESH_033_geometry.py [deleted file]
src/GEOM_SWIG/PAL_MESH_035_geometry.py [deleted file]
src/GEOM_SWIG/batchmode_geompy.py [deleted file]
src/GEOM_SWIG/geompy.py [deleted file]
src/GEOM_SWIG/libGEOM_Swig.i [deleted file]
src/GenerationGUI/GenerationGUI.cxx [deleted file]
src/GenerationGUI/GenerationGUI.h [deleted file]
src/GenerationGUI/GenerationGUI_FillingDlg.cxx [deleted file]
src/GenerationGUI/GenerationGUI_FillingDlg.h [deleted file]
src/GenerationGUI/GenerationGUI_PipeDlg.cxx [deleted file]
src/GenerationGUI/GenerationGUI_PipeDlg.h [deleted file]
src/GenerationGUI/GenerationGUI_PrismDlg.cxx [deleted file]
src/GenerationGUI/GenerationGUI_PrismDlg.h [deleted file]
src/GenerationGUI/GenerationGUI_RevolDlg.cxx [deleted file]
src/GenerationGUI/GenerationGUI_RevolDlg.h [deleted file]
src/GenerationGUI/Makefile.in [deleted file]
src/GroupGUI/GroupGUI.cxx [deleted file]
src/GroupGUI/GroupGUI.h [deleted file]
src/GroupGUI/GroupGUI_GroupDlg.cxx [deleted file]
src/GroupGUI/GroupGUI_GroupDlg.h [deleted file]
src/GroupGUI/Makefile.in [deleted file]
src/IGESExport/IGESExport.cxx [deleted file]
src/IGESExport/Makefile.in [deleted file]
src/IGESImport/IGESImport.cxx [deleted file]
src/IGESImport/Makefile.in [deleted file]
src/Makefile.in [deleted file]
src/MeasureGUI/Makefile.in [deleted file]
src/MeasureGUI/MeasureGUI.cxx [deleted file]
src/MeasureGUI/MeasureGUI.h [deleted file]
src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_BndBoxDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_CenterMassDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_CheckShapeDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_CheckShapeDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_DistanceDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_DistanceDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_InertiaDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_InertiaDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_MaxToleranceDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_PointDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_PointDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_PropertiesDlg.h [deleted file]
src/MeasureGUI/MeasureGUI_Skeleton.cxx [deleted file]
src/MeasureGUI/MeasureGUI_Skeleton.h [deleted file]
src/MeasureGUI/MeasureGUI_Skeleton_QTD.cxx [deleted file]
src/MeasureGUI/MeasureGUI_Skeleton_QTD.h [deleted file]
src/MeasureGUI/MeasureGUI_WhatisDlg.cxx [deleted file]
src/MeasureGUI/MeasureGUI_WhatisDlg.h [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_1Sel12LineEdit_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_1Sel1TextView_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_1Sel3LineEdit_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_1Sel6LineEdit_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_2Sel1LineEdit_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/MeasureGUI_Skeleton_QTD.ui [deleted file]
src/MeasureGUI/UIFiles/ui_to_cxx [deleted file]
src/NMTAlgo/Makefile.in [deleted file]
src/NMTAlgo/NMTAlgo.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Algo.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Algo.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Algo.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Algo.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Algo.jxx [deleted file]
src/NMTAlgo/NMTAlgo_Builder.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Builder.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Builder.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Builder.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Builder.jxx [deleted file]
src/NMTAlgo/NMTAlgo_Loop3d.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Loop3d.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Loop3d.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Loop3d.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Loop3d.jxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Splitter.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter.jxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter1.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Splitter1.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter1.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter1.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter1.jxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter_1.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Splitter_2.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Tools.cdl [deleted file]
src/NMTAlgo/NMTAlgo_Tools.cxx [deleted file]
src/NMTAlgo/NMTAlgo_Tools.hxx [deleted file]
src/NMTAlgo/NMTAlgo_Tools.ixx [deleted file]
src/NMTAlgo/NMTAlgo_Tools.jxx [deleted file]
src/NMTDS/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx [deleted file]
src/NMTDS/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx [deleted file]
src/NMTDS/Makefile.in [deleted file]
src/NMTDS/NMTDS.cdl [deleted file]
src/NMTDS/NMTDS_CArray1OfIndexRange.hxx [deleted file]
src/NMTDS/NMTDS_CArray1OfIndexRange_0.cxx [deleted file]
src/NMTDS/NMTDS_IndexRange.cdl [deleted file]
src/NMTDS/NMTDS_IndexRange.cxx [deleted file]
src/NMTDS/NMTDS_IndexRange.hxx [deleted file]
src/NMTDS/NMTDS_IndexRange.ixx [deleted file]
src/NMTDS/NMTDS_IndexRange.jxx [deleted file]
src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx [deleted file]
src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx [deleted file]
src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx [deleted file]
src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx [deleted file]
src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx [deleted file]
src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx [deleted file]
src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx [deleted file]
src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx [deleted file]
src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx [deleted file]
src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx [deleted file]
src/NMTDS/NMTDS_PShapesDataStructure.hxx [deleted file]
src/NMTDS/NMTDS_ShapesDataStructure.cdl [deleted file]
src/NMTDS/NMTDS_ShapesDataStructure.cxx [deleted file]
src/NMTDS/NMTDS_ShapesDataStructure.hxx [deleted file]
src/NMTDS/NMTDS_ShapesDataStructure.ixx [deleted file]
src/NMTDS/NMTDS_ShapesDataStructure.jxx [deleted file]
src/NMTTools/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx [deleted file]
src/NMTTools/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx [deleted file]
src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx [deleted file]
src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx [deleted file]
src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx [deleted file]
src/NMTTools/Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx [deleted file]
src/NMTTools/Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx [deleted file]
src/NMTTools/Makefile.in [deleted file]
src/NMTTools/NMTTools.cdl [deleted file]
src/NMTTools/NMTTools_CommonBlock.cdl [deleted file]
src/NMTTools/NMTTools_CommonBlock.cxx [deleted file]
src/NMTTools/NMTTools_CommonBlock.hxx [deleted file]
src/NMTTools/NMTTools_CommonBlock.ixx [deleted file]
src/NMTTools/NMTTools_CommonBlock.jxx [deleted file]
src/NMTTools/NMTTools_CommonBlockAPI.cdl [deleted file]
src/NMTTools/NMTTools_CommonBlockAPI.cxx [deleted file]
src/NMTTools/NMTTools_CommonBlockAPI.hxx [deleted file]
src/NMTTools/NMTTools_CommonBlockAPI.ixx [deleted file]
src/NMTTools/NMTTools_CommonBlockAPI.jxx [deleted file]
src/NMTTools/NMTTools_CommonBlockPool.hxx [deleted file]
src/NMTTools/NMTTools_CommonBlockPool_0.cxx [deleted file]
src/NMTTools/NMTTools_CoupleOfShape.cdl [deleted file]
src/NMTTools/NMTTools_CoupleOfShape.cxx [deleted file]
src/NMTTools/NMTTools_CoupleOfShape.hxx [deleted file]
src/NMTTools/NMTTools_CoupleOfShape.ixx [deleted file]
src/NMTTools/NMTTools_CoupleOfShape.jxx [deleted file]
src/NMTTools/NMTTools_DEProcessor.cdl [deleted file]
src/NMTTools/NMTTools_DEProcessor.cxx [deleted file]
src/NMTTools/NMTTools_DEProcessor.hxx [deleted file]
src/NMTTools/NMTTools_DEProcessor.ixx [deleted file]
src/NMTTools/NMTTools_DEProcessor.jxx [deleted file]
src/NMTTools/NMTTools_DSFiller.cdl [deleted file]
src/NMTTools/NMTTools_DSFiller.cxx [deleted file]
src/NMTTools/NMTTools_DSFiller.hxx [deleted file]
src/NMTTools/NMTTools_DSFiller.ixx [deleted file]
src/NMTTools/NMTTools_DSFiller.jxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_0.cxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_0.cxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock.hxx [deleted file]
src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx [deleted file]
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cdl [deleted file]
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx [deleted file]
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx [deleted file]
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.ixx [deleted file]
src/NMTTools/NMTTools_IteratorOfCoupleOfShape.jxx [deleted file]
src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock.hxx [deleted file]
src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock_0.cxx [deleted file]
src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape.hxx [deleted file]
src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx [deleted file]
src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock.hxx [deleted file]
src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock_0.cxx [deleted file]
src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape.hxx [deleted file]
src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx [deleted file]
src/NMTTools/NMTTools_ListOfCommonBlock.hxx [deleted file]
src/NMTTools/NMTTools_ListOfCommonBlock_0.cxx [deleted file]
src/NMTTools/NMTTools_ListOfCoupleOfShape.hxx [deleted file]
src/NMTTools/NMTTools_ListOfCoupleOfShape_0.cxx [deleted file]
src/NMTTools/NMTTools_PCurveMaker.cdl [deleted file]
src/NMTTools/NMTTools_PCurveMaker.cxx [deleted file]
src/NMTTools/NMTTools_PCurveMaker.hxx [deleted file]
src/NMTTools/NMTTools_PCurveMaker.ixx [deleted file]
src/NMTTools/NMTTools_PCurveMaker.jxx [deleted file]
src/NMTTools/NMTTools_PDSFiller.hxx [deleted file]
src/NMTTools/NMTTools_PPaveFiller.hxx [deleted file]
src/NMTTools/NMTTools_PaveFiller.cdl [deleted file]
src/NMTTools/NMTTools_PaveFiller.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller.hxx [deleted file]
src/NMTTools/NMTTools_PaveFiller.ixx [deleted file]
src/NMTTools/NMTTools_PaveFiller.jxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_0.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_1.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_2.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_3.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_4.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_5.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_6.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_7.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_8.cxx [deleted file]
src/NMTTools/NMTTools_PaveFiller_9.cxx [deleted file]
src/NMTTools/NMTTools_Tools.cdl [deleted file]
src/NMTTools/NMTTools_Tools.cxx [deleted file]
src/NMTTools/NMTTools_Tools.hxx [deleted file]
src/NMTTools/NMTTools_Tools.ixx [deleted file]
src/NMTTools/NMTTools_Tools.jxx [deleted file]
src/OBJECT/GEOM_AISShape.cxx [deleted file]
src/OBJECT/GEOM_AISShape.hxx [deleted file]
src/OBJECT/GEOM_AISShape.ixx [deleted file]
src/OBJECT/GEOM_AISShape.jxx [deleted file]
src/OBJECT/GEOM_AISTrihedron.cxx [deleted file]
src/OBJECT/GEOM_AISTrihedron.hxx [deleted file]
src/OBJECT/GEOM_Actor.cxx [deleted file]
src/OBJECT/GEOM_Actor.h [deleted file]
src/OBJECT/GEOM_AssemblyBuilder.cxx [deleted file]
src/OBJECT/GEOM_AssemblyBuilder.h [deleted file]
src/OBJECT/GEOM_InteractiveObject.cxx [deleted file]
src/OBJECT/GEOM_InteractiveObject.hxx [deleted file]
src/OBJECT/GEOM_InteractiveObject.ixx [deleted file]
src/OBJECT/GEOM_InteractiveObject.jxx [deleted file]
src/OBJECT/GEOM_OCCReader.cxx [deleted file]
src/OBJECT/GEOM_OCCReader.h [deleted file]
src/OBJECT/GEOM_VTKTrihedron.cxx [deleted file]
src/OBJECT/GEOM_VTKTrihedron.hxx [deleted file]
src/OBJECT/Handle_GEOM_AISShape.hxx [deleted file]
src/OBJECT/Handle_GEOM_InteractiveObject.hxx [deleted file]
src/OBJECT/Makefile.in [deleted file]
src/OperationGUI/Makefile.in [deleted file]
src/OperationGUI/OperationGUI.cxx [deleted file]
src/OperationGUI/OperationGUI.h [deleted file]
src/OperationGUI/OperationGUI_ArchimedeDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_ArchimedeDlg.h [deleted file]
src/OperationGUI/OperationGUI_ChamferDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_ChamferDlg.h [deleted file]
src/OperationGUI/OperationGUI_ClippingDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_ClippingDlg.h [deleted file]
src/OperationGUI/OperationGUI_FilletDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_FilletDlg.h [deleted file]
src/OperationGUI/OperationGUI_MaterialDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_MaterialDlg.h [deleted file]
src/OperationGUI/OperationGUI_PartitionDlg.cxx [deleted file]
src/OperationGUI/OperationGUI_PartitionDlg.h [deleted file]
src/PARTITION/Makefile.in [deleted file]
src/PARTITION/Partition.cdl [deleted file]
src/PARTITION/Partition_Inter2d.cdl [deleted file]
src/PARTITION/Partition_Inter2d.cxx [deleted file]
src/PARTITION/Partition_Inter2d.hxx [deleted file]
src/PARTITION/Partition_Inter2d.ixx [deleted file]
src/PARTITION/Partition_Inter2d.jxx [deleted file]
src/PARTITION/Partition_Inter3d.cdl [deleted file]
src/PARTITION/Partition_Inter3d.cxx [deleted file]
src/PARTITION/Partition_Inter3d.hxx [deleted file]
src/PARTITION/Partition_Inter3d.ixx [deleted file]
src/PARTITION/Partition_Inter3d.jxx [deleted file]
src/PARTITION/Partition_Loop.cdl [deleted file]
src/PARTITION/Partition_Loop.cxx [deleted file]
src/PARTITION/Partition_Loop.hxx [deleted file]
src/PARTITION/Partition_Loop.ixx [deleted file]
src/PARTITION/Partition_Loop.jxx [deleted file]
src/PARTITION/Partition_Loop2d.cdl [deleted file]
src/PARTITION/Partition_Loop2d.cxx [deleted file]
src/PARTITION/Partition_Loop2d.hxx [deleted file]
src/PARTITION/Partition_Loop2d.ixx [deleted file]
src/PARTITION/Partition_Loop2d.jxx [deleted file]
src/PARTITION/Partition_Loop3d.cdl [deleted file]
src/PARTITION/Partition_Loop3d.cxx [deleted file]
src/PARTITION/Partition_Loop3d.hxx [deleted file]
src/PARTITION/Partition_Loop3d.ixx [deleted file]
src/PARTITION/Partition_Loop3d.jxx [deleted file]
src/PARTITION/Partition_Spliter.cdl [deleted file]
src/PARTITION/Partition_Spliter.cxx [deleted file]
src/PARTITION/Partition_Spliter.hxx [deleted file]
src/PARTITION/Partition_Spliter.ixx [deleted file]
src/PARTITION/Partition_Spliter.jxx [deleted file]
src/PrimitiveGUI/Makefile.in [deleted file]
src/PrimitiveGUI/PrimitiveGUI.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI.h [deleted file]
src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI_BoxDlg.h [deleted file]
src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI_ConeDlg.h [deleted file]
src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.h [deleted file]
src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI_SphereDlg.h [deleted file]
src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx [deleted file]
src/PrimitiveGUI/PrimitiveGUI_TorusDlg.h [deleted file]
src/RepairGUI/Makefile.in [deleted file]
src/RepairGUI/RepairGUI.cxx [deleted file]
src/RepairGUI/RepairGUI.h [deleted file]
src/RepairGUI/RepairGUI_CloseContourDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_CloseContourDlg.h [deleted file]
src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_DivideEdgeDlg.h [deleted file]
src/RepairGUI/RepairGUI_FreeBoundDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_FreeBoundDlg.h [deleted file]
src/RepairGUI/RepairGUI_FreeFacesDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_FreeFacesDlg.h [deleted file]
src/RepairGUI/RepairGUI_GlueDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_GlueDlg.h [deleted file]
src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_RemoveHolesDlg.h [deleted file]
src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_RemoveIntWiresDlg.h [deleted file]
src/RepairGUI/RepairGUI_SewingDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_SewingDlg.h [deleted file]
src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_ShapeProcessDlg.h [deleted file]
src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx [deleted file]
src/RepairGUI/RepairGUI_SuppressFacesDlg.h [deleted file]
src/SKETCHER/Makefile.in [deleted file]
src/SKETCHER/Sketcher_Profile.cxx [deleted file]
src/SKETCHER/Sketcher_Profile.hxx [deleted file]
src/STEPExport/Makefile.in [deleted file]
src/STEPExport/STEPExport.cxx [deleted file]
src/STEPImport/Makefile.in [deleted file]
src/STEPImport/STEPImport.cxx [deleted file]
src/ShHealOper/Makefile.in [deleted file]
src/ShHealOper/ShHealOper_CloseContour.cxx [deleted file]
src/ShHealOper/ShHealOper_CloseContour.hxx [deleted file]
src/ShHealOper/ShHealOper_EdgeDivide.cxx [deleted file]
src/ShHealOper/ShHealOper_EdgeDivide.hxx [deleted file]
src/ShHealOper/ShHealOper_FillHoles.cxx [deleted file]
src/ShHealOper/ShHealOper_FillHoles.hxx [deleted file]
src/ShHealOper/ShHealOper_RemoveFace.cxx [deleted file]
src/ShHealOper/ShHealOper_RemoveFace.hxx [deleted file]
src/ShHealOper/ShHealOper_RemoveInternalWires.cxx [deleted file]
src/ShHealOper/ShHealOper_RemoveInternalWires.hxx [deleted file]
src/ShHealOper/ShHealOper_Sewing.cxx [deleted file]
src/ShHealOper/ShHealOper_Sewing.hxx [deleted file]
src/ShHealOper/ShHealOper_ShapeProcess.cxx [deleted file]
src/ShHealOper/ShHealOper_ShapeProcess.hxx [deleted file]
src/ShHealOper/ShHealOper_SpiltCurve2d.hxx [deleted file]
src/ShHealOper/ShHealOper_SplitCurve2d.cxx [deleted file]
src/ShHealOper/ShHealOper_SplitCurve2d.hxx [deleted file]
src/ShHealOper/ShHealOper_SplitCurve3d.cxx [deleted file]
src/ShHealOper/ShHealOper_SplitCurve3d.hxx [deleted file]
src/ShHealOper/ShHealOper_Tool.cxx [deleted file]
src/ShHealOper/ShHealOper_Tool.hxx [deleted file]
src/TransformationGUI/Makefile.in [deleted file]
src/TransformationGUI/TransformationGUI.cxx [deleted file]
src/TransformationGUI/TransformationGUI.h [deleted file]
src/TransformationGUI/TransformationGUI_MirrorDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_MirrorDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_MultiRotationDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_MultiTranslationDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_OffsetDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_OffsetDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_PositionDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_PositionDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_RotationDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_RotationDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_ScaleDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_ScaleDlg.h [deleted file]
src/TransformationGUI/TransformationGUI_TranslationDlg.cxx [deleted file]
src/TransformationGUI/TransformationGUI_TranslationDlg.h [deleted file]

diff --git a/INSTALL b/INSTALL
deleted file mode 100644 (file)
index fb2743f..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,4 +0,0 @@
-This is the version 3.0.0 of GEOM
-Compatible with :
-       - KERNEL 3.0.0 only!
-        - SALOMEGUI 3.0.0
diff --git a/LICENCE b/LICENCE
deleted file mode 100644 (file)
index b1e3f5a..0000000
--- a/LICENCE
+++ /dev/null
@@ -1,504 +0,0 @@
-                 GNU LESSER GENERAL PUBLIC LICENSE
-                      Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL.  It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
-                           Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
-  This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it.  You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
-  When we speak of free software, we are referring to freedom of use,
-not price.  Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
-  To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights.  These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
-  For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you.  You must make sure that they, too, receive or can get the source
-code.  If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it.  And you must show them these terms so they know their rights.
-
-  We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
-  To protect each distributor, we want to make it very clear that
-there is no warranty for the free library.  Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-\f
-  Finally, software patents pose a constant threat to the existence of
-any free program.  We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder.  Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
-  Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License.  This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License.  We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
-  When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library.  The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom.  The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
-  We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License.  It also provides other free software developers Less
-of an advantage over competing non-free programs.  These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries.  However, the Lesser license provides advantages in certain
-special circumstances.
-
-  For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard.  To achieve this, non-free programs must be
-allowed to use the library.  A more frequent case is that a free
-library does the same job as widely used non-free libraries.  In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
-  In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software.  For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
-  Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.  Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library".  The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-\f
-                 GNU LESSER GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
-  A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
-  The "Library", below, refers to any such software library or work
-which has been distributed under these terms.  A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language.  (Hereinafter, translation is
-included without limitation in the term "modification".)
-
-  "Source code" for a work means the preferred form of the work for
-making modifications to it.  For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
-  Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it).  Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-  
-  1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
-  You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-\f
-  2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) The modified work must itself be a software library.
-
-    b) You must cause the files modified to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    c) You must cause the whole of the work to be licensed at no
-    charge to all third parties under the terms of this License.
-
-    d) If a facility in the modified Library refers to a function or a
-    table of data to be supplied by an application program that uses
-    the facility, other than as an argument passed when the facility
-    is invoked, then you must make a good faith effort to ensure that,
-    in the event an application does not supply such function or
-    table, the facility still operates, and performs whatever part of
-    its purpose remains meaningful.
-
-    (For example, a function in a library to compute square roots has
-    a purpose that is entirely well-defined independent of the
-    application.  Therefore, Subsection 2d requires that any
-    application-supplied function or table used by this function must
-    be optional: if the application does not supply it, the square
-    root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library.  To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License.  (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.)  Do not make any other change in
-these notices.
-\f
-  Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
-  This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
-  4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
-  If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library".  Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
-  However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library".  The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
-  When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library.  The
-threshold for this to be true is not precisely defined by law.
-
-  If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work.  (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
-  Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-\f
-  6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
-  You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License.  You must supply a copy of this License.  If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License.  Also, you must do one
-of these things:
-
-    a) Accompany the work with the complete corresponding
-    machine-readable source code for the Library including whatever
-    changes were used in the work (which must be distributed under
-    Sections 1 and 2 above); and, if the work is an executable linked
-    with the Library, with the complete machine-readable "work that
-    uses the Library", as object code and/or source code, so that the
-    user can modify the Library and then relink to produce a modified
-    executable containing the modified Library.  (It is understood
-    that the user who changes the contents of definitions files in the
-    Library will not necessarily be able to recompile the application
-    to use the modified definitions.)
-
-    b) Use a suitable shared library mechanism for linking with the
-    Library.  A suitable mechanism is one that (1) uses at run time a
-    copy of the library already present on the user's computer system,
-    rather than copying library functions into the executable, and (2)
-    will operate properly with a modified version of the library, if
-    the user installs one, as long as the modified version is
-    interface-compatible with the version that the work was made with.
-
-    c) Accompany the work with a written offer, valid for at
-    least three years, to give the same user the materials
-    specified in Subsection 6a, above, for a charge no more
-    than the cost of performing this distribution.
-
-    d) If distribution of the work is made by offering access to copy
-    from a designated place, offer equivalent access to copy the above
-    specified materials from the same place.
-
-    e) Verify that the user has already received a copy of these
-    materials or that you have already sent this user a copy.
-
-  For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it.  However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
-  It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system.  Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-\f
-  7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
-    a) Accompany the combined library with a copy of the same work
-    based on the Library, uncombined with any other library
-    facilities.  This must be distributed under the terms of the
-    Sections above.
-
-    b) Give prominent notice with the combined library of the fact
-    that part of it is a work based on the Library, and explaining
-    where to find the accompanying uncombined form of the same work.
-
-  8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License.  Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License.  However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
-  9. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Library or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
-  10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-\f
-  11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded.  In such case, this License incorporates the limitation as if
-written in the body of this License.
-
-  13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation.  If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-\f
-  14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission.  For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this.  Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
-                           NO WARRANTY
-
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
-                    END OF TERMS AND CONDITIONS
-\f
-           How to Apply These Terms to Your New Libraries
-
-  If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change.  You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
-  To apply these terms, attach the following notices to the library.  It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    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
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the
-  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice
-
-That's all there is to it!
-
-
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644 (file)
index 81a9957..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-# -* Makefile *- 
-#
-# Author : Patrick GOLDBRONN (CEA)
-# Date : 28/06/2001
-# $Header$
-#
-
-# source path
-top_srcdir=@top_srcdir@
-top_builddir=.
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-SUBDIRS = idl src doc
-
-RESOURCES_FILES = \
-GEOM_en.xml \
-GEOM_fr.xml \
-GEOM.config \
-GEOMCatalog.xml \
-GEOMDS_Resources \
-ImportExport \
-ShHealing \
-arc.png \
-archimede.png \
-axisinertia.png \
-basicproperties.png \
-bounding.png \
-box.png \
-box2points.png \
-boxdxyz.png \
-build_compound.png \
-build_edge.png \
-build_face.png \
-build_shell.png \
-build_solid.png \
-build_wire.png \
-centergravity.png \
-chamfer.png \
-chamferall.png \
-chamferedge.png \
-chamferface.png \
-check.png \
-circle.png \
-circlepointvector.png \
-circle3points.png \
-common.png \
-cone.png \
-conedxyz.png \
-conepointvector.png \
-cut.png \
-cylinder.png \
-cylinderdxyz.png \
-cylinderpointvector.png \
-delete.png \
-display.png \
-displayonly.png \
-displayall.png \
-erase.png \
-eraseall.png \
-fillet.png \
-filletall.png \
-filletedge.png \
-filletface.png \
-filling.png \
-fuse.png \
-geometry.png \
-line.png \
-line2points.png \
-lineedge.png \
-linepointvector.png \
-mindist.png \
-mirrorPoint.png \
-mirrorAxe.png \
-mirrorPlane.png \
-ModuleGeom.png \
-multirotation.png \
-multirotationdouble.png \
-multirotationsimple.png \
-multitranslation.png \
-multitranslationdouble.png \
-multitranslationsimple.png \
-offset.png \
-orientation.png \
-partition.png \
-partitionkeep.png \
-partitionplane.png \
-pipe.png \
-plane.png \
-planeWorking.png \
-planedxyz.png \
-plane3points.png \
-planeface.png \
-planepointvector.png \
-planeworkingface.png \
-planeworkingvector.png \
-planeworkingorigin.png \
-point2.png \
-pointonedge.png \
-polyline.png \
-prism.png \
-revol.png \
-rotate.png \
-scale.png \
-section.png \
-select1.png \
-sewing.png \
-shading.png \
-sketch.png \
-sphere.png \
-spheredxyz.png \
-spherepoint.png \
-subshape.png \
-supressHolesOnFaceShell.png \
-supressface.png \
-supresshole.png \
-tolerance.png \
-torus.png \
-torusdxyz.png \
-toruspointvector.png \
-translationDxyz.png \
-translationPoints.png \
-translationVector.png \
-tree_compound.png \
-tree_compsolid.png \
-tree_edge.png \
-tree_face.png \
-tree_shape.png \
-tree_shell.png \
-tree_solid.png \
-tree_vertex.png \
-tree_wire.png \
-tree_group_vertex.png \
-tree_group_edge.png \
-tree_group_face.png \
-tree_group_solid.png \
-tree_lcs.png \
-vector.png \
-vector2points.png \
-vectordxyz.png \
-whatis.png \
-ellipse.png \
-ellipsepointvector.png \
-bezier.png \
-interpol.png \
-spline.png \
-closecontour.png \
-suppressintwires.png \
-marker.png \
-marker2.png \
-marker3.png \
-position.png \
-position2.png \
-free_bound.png \
-point_coord.png \
-point3.png \
-shapeprocess.png \
-block_2f.png \
-block_6f.png \
-block_face_2e.png \
-block_face_4e.png \
-block_face_4v.png \
-block_multitrsf_double.png \
-block_multitrsf_simple.png \
-tree_block.png \
-subblock.png \
-group_new.png \
-group_edit.png \
-glue.png \
-check_blocks_compound.png \
-free_faces.png \
-propagate.png \
-redo.png \
-undo.png
-
-
-BIN_SCRIPT= \
-VERSION
-
-# copy header files in common directory
-ifeq ($(HAVE_SSTREAM),yes)
-  include_list=include/salome/SALOMEconfig.h
-else
-  include_list=include/salome/SALOMEconfig.h include/salome/sstream
-endif
-
-inc: idl $(include_list)
-
-include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
-       -$(RM) $@
-       $(LN_S) ../../$< $@
-
-# test if SALOMEconfig.h has changed (contents)
-salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
-       @if ! [ -a $@ ]; then \
-         cp -p -f $< $@;        \
-       fi;                   \
-       if ! cmp $< $@; then  \
-         cp -p -f $< $@;        \
-       fi;                   \
-
-include/salome/sstream: salome_adm/unix/sstream
-       -$(RM) $@
-       $(LN_S) ../../$< $@
-
-depend: depend_idl
-
-depend_idl:
-       (cd idl ; $(MAKE) $@) || exit 1
-
-# doc is already build : if you want to had documents, go manually to doc and run 'make doc'
-#doc:
-#      (cd doc && $(MAKE) $@) || exit 1
-
-install-end:
-# finish libtool install
-#      @$(LT) --mode=finish $(libdir)
-
-install-include: $(include_list)
-       $(INSTALL) -d  $(includedir)
-       @for f in X $(include_list); do                                 \
-          if test $$f != X; then                                       \
-            ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
-          fi;                                                          \
-       done
-
-# install script in $(bindir) :
-install-bin: $(BIN_SCRIPT)
-       $(INSTALL) -d  $(bindir)
-       if test $(BIN_SCRIPT)X != X; then                       \
-               $(INSTALL_PROGRAM) $^ $(bindir);                \
-       fi
-
-uninstall: uninstall-idl
-
-uninstall-idl:
-       $(RM) $(idldir)/*.idl
-
-distclean: distclean-other
-
-distclean-other:
-       -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
-       -$(RM) salome_adm/unix/make_* 
-       -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
-       -$(RM) config.cache config.log config.status 
-
-@MODULE@
-
-install: install-bin install-include install-end
-
diff --git a/adm_local/unix/config_files/README b/adm_local/unix/config_files/README
deleted file mode 100644 (file)
index feb997b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-This file is only here for CVS:
-CVS does not always create empty directory, and adm_local/unix/config_file
-is needed by build_configure.
diff --git a/adm_local/unix/make_commence.in b/adm_local/unix/make_commence.in
deleted file mode 100644 (file)
index 336eddf..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-# common directories to put headerfiles
-inc_builddir=$(top_builddir)/include/salome
-
-@SET_MAKE@
-SHELL=/bin/sh
-
-# header missing
-
-HAVE_SSTREAM=@HAVE_SSTREAM@
-
-
-LIBS=@LIBS@ 
-LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker -L$(top_builddir)/lib/salome
-# add libstdc++ to link c++ library with libtool !
-LDFLAGS+= -lstdc++
-
-CP=@CP@
-
-# CPP
-
-CPP=@CPP@
-CXXCPP=@CXXCPP@
-CPPFLAGS=@CPPFLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
-
-# C
-
-CC = @CC@
-CFLAGS = @CFLAGS@
-C_DEPEND_FLAG = @C_DEPEND_FLAG@
-
-# C++
-
-CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
-CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
-
-# BOOST Library
-
-BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ 
-
-# JAVA
-
-JAVA_INCLUDES = @JAVA_INCLUDES@
-JAVA_LIBS = @JAVA_LIBS@
-JAVA_LDPATH = @JAVA_LDPATH@
-
-# PYTHON
-
-PYTHON = @PYTHON@
-PYTHONHOME = @PYTHONHOME@
-PYTHON_INCLUDES = @PYTHON_INCLUDES@
-PYTHON_LIBS = @PYTHON_LIBS@
-PYTHON_VERSION = @PYTHON_VERSION@
-PYTHON_SITE = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages
-PYTHON_SITE_INSTALL = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome
-# QT
-
-QT_ROOT = @QT_ROOT@
-QT_INCLUDES = @QT_INCLUDES@
-QT_MT_INCLUDES = @QT_INCLUDES@ -DQT_THREAD_SUPPORT
-QT_LIBS = @QT_LIBS@
-QT_MT_LIBS = @QT_MT_LIBS@
-
-MOC = @MOC@
-UIC = @UIC@
-
-MSG2QM = @MSG2QM@
-
-#QWT
-
-QWT_INCLUDES=@QWT_INCLUDES@
-QWT_LIBS=@QWT_LIBS@
-
-# SIP
-SIP = @SIP@
-SIP_INCLUDES = @SIP_INCLUDES@
-SIP_LIBS = @SIP_LIBS@
-
-# PYQT
-PYQT_SIPS = @PYQT_SIPS@
-PYQT_LIBS = @PYQT_LIBS@
-
-# openGL
-OGL_INCLUDES=@OGL_INCLUDES@
-OGL_LIBS=@OGL_LIBS@
-
-# VTK
-VTK_INCLUDES=@VTK_INCLUDES@
-VTK_LIBS=@VTK_LIBS@
-
-# HDF5
-
-HDF5_INCLUDES=@HDF5_INCLUDES@
-HDF5_LIBS=@HDF5_LIBS@
-HDF5_MT_LIBS=@HDF5_MT_LIBS@
-
-# OpenCasCade
-
-OCC_INCLUDES=@CAS_CPPFLAGS@
-OCC_CXXFLAGS=@CAS_CXXFLAGS@
-
-#OCC_KERNEL_LIBS=@CAS_KERNEL@
-#OCC_OCAF_LIBS=@CAS_OCAF@
-#OCC_VIEWER_LIBS=@CAS_VIEWER@
-#OCC_MODELER_LIBS=@CAS_MODELER@
-#OCC_DATAEXCHANGE_LIBS=@CAS_DATAEXCHANGE@
-#OCC_LIBS=@CAS_LDFLAGS@
-CAS_KERNEL=@CAS_KERNEL@
-CAS_OCAF=@CAS_OCAF@
-CAS_VIEWER=@CAS_VIEWER@
-CAS_MODELER=@CAS_MODELER@
-CAS_DATAEXCHANGE=@CAS_DATAEXCHANGE@
-CAS_LDPATH=@CAS_LDPATH@
-# MPICH
-
-MPICH_INCLUDES=@MPICH_INCLUDES@
-MPICH_LIBS=@MPICH_LIBS@
-
-# Swig C++ Python
-
-SWIG       = @SWIG@
-SWIG_FLAGS = @SWIG_FLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
-
-# OMNIORB
-
-OMNIORB_ROOT        = @OMNIORB_ROOT@
-OMNIORB_INCLUDES    = @OMNIORB_INCLUDES@
-OMNIORB_LIBS        = @OMNIORB_LIBS@
-OMNIORB_CXXFLAGS    = @OMNIORB_CXXFLAGS@
-
-OMNIORB_IDL         = @OMNIORB_IDL@
-OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@
-OMNIORB_IDLPYFLAGS  = @OMNIORB_IDLPYFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
-
-OMNIORB_IDL_CLN_H   = @OMNIORB_IDL_CLN_H@
-OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@
-OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@
-
-OMNIORB_IDL_SRV_H   = @OMNIORB_IDL_SRV_H@
-OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@
-OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@
-
-# Default ORB
-
-CORBA_ROOT        = @CORBA_ROOT@
-CORBA_INCLUDES    = @CORBA_INCLUDES@
-CORBA_LIBS        = @CORBA_LIBS@
-CORBA_CXXFLAGS    = @CORBA_CXXFLAGS@
-
-IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
-IDLPYFLAGS  = @IDLPYFLAGS@
-
-IDL = @IDL@
-
-IDL_CLN_H   = @IDL_CLN_H@
-IDL_CLN_CXX = @IDL_CLN_CXX@
-IDL_CLN_OBJ = @IDL_CLN_OBJ@
-
-IDL_SRV_H   = @IDL_SRV_H@
-IDL_SRV_CXX = @IDL_SRV_CXX@
-IDL_SRV_OBJ = @IDL_SRV_OBJ@
-
-CPPFLAGS+= $(CORBA_INCLUDES) 
-CXXFLAGS+= $(CORBA_CXXFLAGS)
-
-# add corba libs when link salome application ! 
-#LDFLAGS+= $(CORBA_LIBS)
-LIBS+=$(CORBA_LIBS)
-
-DOXYGEN = @DOXYGEN@
-
-## Shared libraries
-LT_STATIC_EXEC=@LT_STATIC_EXEC@
-DYNAMIC_DIRS=@DYNAMIC_DIRS@
-LT_LIB=libtool
-LT=$(top_builddir)/libtool
-LT_COMPILE=$(LT) --mode=compile $(CC)
-LT_LINK_LIB=$(LT_LIB) --mode=link $(CC) -rpath $(libdir)
-LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
-LT_RUN=$(LT) --mode=execute
-LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
-LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
-LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
-
-INSTALL=@INSTALL@
-INSTALL_PROGRAM=@INSTALL_PROGRAM@
-INSTALL_DATA=@INSTALL_DATA@
-
-# create a symbolic link (or a copie ?)
-LN_S=@LN_S@
-
-## Installation points
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-bindir=@bindir@/salome
-libdir=@libdir@/salome
-# warning : if user give this path in configure we could have salome/salome :-(
-includedir=@includedir@/salome
-datadir=@datadir@/salome
-idldir=${prefix}/idl/salome
-sharedpydir=@libdir@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
-incmakedir=${prefix}/salome_adm/unix
-
-docdir=${prefix}/doc/salome
-
-#
-# begin of package rules
-#
-
-.PHONY: all lib bin inc resources data docs tests install uninstall dep depend depend_idl cleandep mostlyclean clean distclean
-
-.SUFFIXES: .cxx .cc .c .f .o .lo .idl .py .i .ui .po .qm
-
-all:
-       $(MAKE) inc
-       $(MAKE) depend_idl
-       $(MAKE) depend
-       $(MAKE) lib
-       $(MAKE) bin
-       $(MAKE) resources
-
-#
-# add target to build administrative files
-#
-
-Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
-       cd $(top_builddir) ; ./config.status
-
-$(top_builddir)/config.status: $(top_srcdir)/configure
-       cd $(top_builddir) ; ./config.status --recheck
-
-# VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
-ifneq ($(top_srcdir),$(srcdir))
-configure: $(top_srcdir)/configure
-endif
-
-$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
-       cd $(top_srcdir) ; autoconf
-
-$(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
-       cd $(top_srcdir) && ./build_configure
-
-
-ACLOCAL_SRC = \
-ac_cxx_bool.m4                    check_corba.m4     check_vtk.m4      \
-ac_cxx_depend_flag.m4             check_hdf5.m4      enable_pthreads.m4        \
-ac_cxx_mutable.m4                 check_mico.m4      libtool.m4                \
-ac_cxx_namespaces.m4              check_omniorb.m4   pyembed.m4                \
-ac_cxx_partial_specialization.m4  check_opengl.m4    python.m4         \
-ac_cxx_typename.m4                check_pthreads.m4  check_cas.m4      \
-ac_cc_warnings.m4                 check_qt.m4        check_swig.m4 
-
-$(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%)
-       cd $(top_srcdir) ; aclocal --acdir=adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files
diff --git a/adm_local/unix/make_omniorb.in b/adm_local/unix/make_omniorb.in
deleted file mode 100644 (file)
index 84679a9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#=======================================================================
-# Begin specific part to omniorb 
-# (include from file adm/unix/make_omniorb generated by 
-# adm/unix/make_omniorb.in)
-#=======================================================================
-# -* Makefile *- 
-#
-# Author : Patrick GOLDBRONN (CEA)
-# Date : 29/06/2001
-# $Header$
-#
-
-# Client and server object are the same with omniorb
-# There are one header file and one source file generate
-
-#IDLOBJ=$(IDLSRC:%.idl=%$(IDL_CLN_OBJ))
-
-# dependancies between idl and it's generated files
-%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${KERNEL_ROOT_DIR}/idl/salome/%.idl
-       $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-
-%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${top_srcdir}/idl/%.idl
-       $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-
-# dependncies between idl files
-depend_idl: .depidl
-
-# we use cpp to generate dependencies between idl files.
-# we change cpp output to keep only idl file and transform it to get a suitable rule
-.depidl: $(IDL_FILES)
-       @touch $@
-       @for dep in $? dummy; do \
-         if [ $$dep != "dummy" ]; then \
-           echo Building dependencies for $$dep; \
-           basedep=`basename $$dep .idl`; \
-           header="$$basedep"$(IDL_CLN_H); \
-           sed '\%^'"$$header"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
-           $(CPP) $(C_DEPEND_FLAG) -I$(srcdir) $$dep 2>/dev/null | \
-           sed `echo "s%$$basedep\\.idl%$$header:%g"` | \
-           sed 's% $(srcdir)/% %g' | \
-           sed 's% $(top_srcdir)/% %g' | \
-           sed 's% $(top_builddir)/% %g' | \
-           sed 's%^.*:\.o: *%%' | sed 's%^ *\\ *%%'| sed 's%^ *\(.*\):%\1:%' | \
-           sed 's/\.idl/$(IDL_CLN_H)/' >>$@; \
-           echo ''  >>$@; \
-         fi; \
-       done ;
-
--include .depidl
-
-#=======================================================================
-# End specific part to omniorb 
-#=======================================================================
diff --git a/bin/VERSION b/bin/VERSION
deleted file mode 100755 (executable)
index ebd7876..0000000
+++ /dev/null
@@ -1 +0,0 @@
-THIS IS SALOME - GEOM VERSION: 3.0.2
diff --git a/build_configure b/build_configure
deleted file mode 100755 (executable)
index 7d997f9..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-#!/bin/bash
-
-#
-# Tool for updating list of .in file for the SALOME project 
-# and regenerating configure script
-#
-# Author : Marc Tajchman - CEA
-# Date : 10/10/2002
-# $Header$
-#
-
-ORIG_DIR=`pwd`
-CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
-
-########################################################################
-# Test if the KERNEL_ROOT_DIR is set correctly
-if test ! -d "${KERNEL_ROOT_DIR}"; then
-    echo "failed : KERNEL_ROOT_DIR variable is not correct !"
-    exit
-fi
-
-# Test if the KERNEL_SRC is set correctly
-
-#if test ! -d "${KERNEL_SRC}"; then
-#    echo "failed : KERNEL_SRC variable is not correct !"
-#    exit
-#fi
-########################################################################
-# find_in - utility function
-#
-# usage :  
-#    find_in directory filename 
-#
-# Finds files following the *.in pattern, recursively in the
-# directory (first argument).
-# Results are appended into the file (second argument)
-#
-# Difference from the standard unix find is that files are tested
-# before directories
-# 
-
-find_in()
-{
-  local i
-  local f=$2
-
-# if the first argument is not a directory, returns
-
-  if [ ! -d "$1" ] ; then 
-     return 
-  fi
-
-# dont look in the CVS directories
-
-  case $1 in
-    */CVS) return ;;
-    */adm_local/*) return ;;
-    *) ;;
-  esac
-
-# for each regular file contained in the directory
-# test if it's a .in file
-
-  for i in "$1"/*
-  do
-     if [ -f "$i" ] ; then
-       case $i in 
-         *.in) echo "  "$i" \\" >> $f;;
-         *) ;;
-        esac
-     fi
-  done
-
-# for each subdirectory of the first argument, proceeds recursively
-
-  for i in "$1"/*
-  do
-     if [ -d "$i" ] ; then
-        find_in "$i" "$f"
-     fi
-  done
-}
-
-
-#######################################################################
-# Generate list of .in files (Makefile.in, config.h.in, etc)
-# appending it in file configure.in
-
-cd ${CONF_DIR}
-ABS_CONF_DIR=`pwd`
-
-#
-# Common part of the configure.in file
-#
-chmod u+w configure.in.base
-if ! \cp -f configure.in.base configure.in_tmp1 
-then
-       echo
-       echo "error : can't create files in" ${CONF_DIR}
-       echo "aborting ..."
-        chmod u-w configure.in.base 
-       exit
-fi
-chmod u-w configure.in.base 
-
-if [ -e "${CONF_DIR}/salome_adm" ] ; then
-    \rm -f ${CONF_DIR}/salome_adm
-fi
-
-# make a link allowing AC_OUTPUT to find the salome_adm/.../*.in  files
-echo "" >> configure.in_tmp1
-echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/salome_adm' >> configure.in_tmp1
-
-echo  "" >> configure.in_tmp1
-echo "AC_OUTPUT([ \\" >> configure.in_tmp1
-
-#
-# List of .in files in the adm/unix directory
-# These files MUST be on top of AC_OUTPUT list so we
-# put them "manually"
-#
-
-echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
-echo " ./adm_local/unix/make_omniorb \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
-echo " ./adm_local/unix/make_commence \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
-
-\rm -f configure.in_tmp2 configure.in_tmp3
-touch configure.in_tmp2
-find_in . configure.in_tmp2
-sed -e '/^...salome_adm/d' configure.in_tmp2 >  configure.in_tmp3
-sed -e '/^...adm_local.unix.make_omniorb/d' configure.in_tmp3 configure.in_tmp2
-sed -e '/^...adm_local.unix.make_commence/d' configure.in_tmp2 > configure.in_tmp3
-sed -e '/configure.in/d' configure.in_tmp3 >  configure.in_tmp2
-sed -e 's/.in / /' configure.in_tmp2 >>  configure.in_tmp1
-#sed '/^.salome_adm/d' configure.in_tmp2 >  configure.in_tmp3
-#sed '/configure.in/d' configure.in_tmp3 >  configure.in_tmp2
-#sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
-
-echo  "])" >> configure.in_tmp1
-
-# delete the link created for AC_OUTPUT
-echo "" >> configure.in_tmp1
-#echo 'rm -f ${ROOT_SRCDIR}/salome_adm' >> configure.in_tmp1
-\mv configure.in_tmp1 configure.in_new
-\rm  -f configure.in_tmp2 configure.in_tmp3
-
-
-########################################################################
-# Create new (or replace old) configure.in file
-# Print a message if the file is write protected
-#
-
-echo
-if test ! -f configure.in
-then
-       echo -n "Creating new file 'configure.in' ... "
-       if \mv configure.in_new configure.in >& /dev/null
-       then
-               echo "done"
-       else
-               echo "error, check your file permissions"
-       fi
-else
-       echo -n "Updating 'configure.in' file ... "
-       if ! \cp configure.in configure.in_old >& /dev/null
-       then
-               echo
-               echo
-               echo "Can't backup previous configure.in"
-               echo -n "Continue (you will not be able to revert) - (Y/N) ? "
-               read R
-                case "x$R" in
-                   xn*) exit;;
-                   xN*) exit;;
-               esac
-               echo
-               echo -n "                                 "
-       fi
-       if \cp configure.in_new configure.in >& /dev/null
-       then
-               echo "done"
-       else
-               echo
-               echo "error, can't update previous configure.in"
-       fi
-fi
-
-########################################################################
-# Use autoconf to rebuild the configure script
-#
-
-if test -f configure
-then
-       echo -n "Updating 'configure' script ...  "
-else
-       echo -n "Creating 'configure' script ...  "
-fi
-
-aclocal --acdir=adm_local/unix/config_files -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
-if autoconf
-then
-       echo "done"
-else
-       echo "failed (check file permissions and/or user quotas ...)"
-fi
-
-cd ${ORIG_DIR}
-
-echo
diff --git a/configure.in.base b/configure.in.base
deleted file mode 100644 (file)
index cab0113..0000000
+++ /dev/null
@@ -1,377 +0,0 @@
-#
-#  PLEASE DO NOT MODIFY configure.in FILE
-#
-#  ALL CHANGES WILL BE DISCARDED BY THE NEXT
-#  build_configure COMMAND
-#
-#  CHANGES MUST BE MADE IN configure.in.base FILE
-#
-#
-# Author : Marc Tajchman (CEA)
-# Date : 28/06/2001
-# Modified by : Patrick GOLDBRONN (CEA)
-# Modified by : Marc Tajchman (CEA)
-#
-# Created from configure.in.base
-#
-
-
-AC_INIT(src)
-AC_CONFIG_AUX_DIR(${KERNEL_ROOT_DIR}/salome_adm/unix/config_files)
-AC_CANONICAL_HOST
-
-PACKAGE=salome
-AC_SUBST(PACKAGE)
-
-VERSION=0.0.1
-AC_SUBST(VERSION)
-
-dnl
-dnl Initialize source and build root directories
-dnl
-
-ROOT_BUILDDIR=`pwd`
-ROOT_SRCDIR=`echo $0 | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
-cd $ROOT_SRCDIR
-ROOT_SRCDIR=`pwd`
-cd $ROOT_BUILDDIR
-
-AC_SUBST(ROOT_SRCDIR)
-AC_SUBST(ROOT_BUILDDIR)
-
-echo
-echo Source root directory : $ROOT_SRCDIR
-echo Build  root directory : $ROOT_BUILDDIR
-echo
-echo
-
-if test -z "$AR"; then
-   AC_CHECK_PROGS(AR,ar xar,:,$PATH)
-fi
-AC_SUBST(AR)
-
-dnl Export the AR macro so that it will be placed in the libtool file
-dnl correctly.
-export AR
-
-echo
-echo ---------------------------------------------
-echo testing make
-echo ---------------------------------------------
-echo
-
-AC_PROG_MAKE_SET
-AC_PROG_INSTALL
-dnl 
-dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
-
-AC_ENABLE_DEBUG(yes)
-AC_DISABLE_PRODUCTION
-
-echo ---------------------------------------------
-echo testing libtool
-echo ---------------------------------------------
-
-dnl first, we set static to no!
-dnl if we want it, use --enable-static
-AC_ENABLE_STATIC(no)
-
-AC_LIBTOOL_DLOPEN
-AC_PROG_LIBTOOL
-
-dnl Fix up the INSTALL macro if it s a relative path. We want the
-dnl full-path to the binary instead.
-case "$INSTALL" in
-   *install-sh*)
-      INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
-      ;;
-esac
-
-echo
-echo ---------------------------------------------
-echo testing C/C++
-echo ---------------------------------------------
-echo
-
-cc_ok=no
-dnl inutil car libtool
-dnl AC_PROG_CC
-AC_PROG_CXX
-AC_DEPEND_FLAG
-# AC_CC_WARNINGS([ansi])
-cc_ok=yes
-
-dnl Library libdl :
-AC_CHECK_LIB(dl,dlopen)
-
-dnl add library libm :
-AC_CHECK_LIB(m,ceil)
-
-dnl 
-dnl Well we use sstream which is not in gcc pre-2.95.3
-dnl We must test if it exists. If not, add it in include !
-dnl
-
-AC_CXX_HAVE_SSTREAM
-
-dnl
-dnl ---------------------------------------------
-dnl testing MPICH
-dnl ---------------------------------------------
-dnl
-
-CHECK_MPICH
-
-echo
-echo ---------------------------------------------
-echo testing LEX \& YACC
-echo ---------------------------------------------
-echo
-
-lex_yacc_ok=no
-AC_PROG_YACC
-AC_PROG_LEX
-lex_yacc_ok=yes
-
-echo
-echo ---------------------------------------------
-echo testing python
-echo ---------------------------------------------
-echo
-
-CHECK_PYTHON
-
-dnl echo
-dnl echo ---------------------------------------------
-dnl echo testing java
-dnl echo ---------------------------------------------
-dnl echo
-
-dnl CHECK_JAVA
-
-echo
-echo ---------------------------------------------
-echo testing swig
-echo ---------------------------------------------
-echo
-
-CHECK_SWIG
-
-echo
-echo ---------------------------------------------
-echo testing threads
-echo ---------------------------------------------
-echo
-
-ENABLE_PTHREADS
-
-echo
-echo ---------------------------------------------
-echo testing omniORB
-echo ---------------------------------------------
-echo
-
-CHECK_OMNIORB
-
-dnl echo
-dnl echo ---------------------------------------------
-dnl echo testing mico
-dnl echo ---------------------------------------------
-dnl echo
-
-dnl CHECK_MICO
-
-echo
-echo ---------------------------------------------
-echo default ORB : omniORB
-echo ---------------------------------------------
-echo
-
-DEFAULT_ORB=omniORB
-CHECK_CORBA
-
-AC_SUBST_FILE(CORBA)
-corba=make_$ORB
-CORBA=adm_local/unix/$corba
-
-echo
-echo ---------------------------------------------
-echo testing openGL
-echo ---------------------------------------------
-echo
-
-CHECK_OPENGL
-
-echo
-echo ---------------------------------------------
-echo testing QT
-echo ---------------------------------------------
-echo
-
-CHECK_QT
-
-echo
-echo ---------------------------------------------
-echo testing MSG2QM
-echo ---------------------------------------------
-echo
-
-CHECK_MSG2QM
-
-echo
-echo ---------------------------------------------
-echo testing VTK
-echo ---------------------------------------------
-echo
-
-CHECK_VTK
-
-echo
-echo ---------------------------------------------
-echo testing HDF5
-echo ---------------------------------------------
-echo
-
-CHECK_HDF5
-
-echo
-echo ---------------------------------------------
-echo BOOST Library
-echo ---------------------------------------------
-echo
-
-CHECK_BOOST
-
-echo
-echo ---------------------------------------------
-echo Testing OpenCascade
-echo ---------------------------------------------
-echo
-
-CHECK_CAS
-
-echo
-echo ---------------------------------------------
-echo Testing html generators
-echo ---------------------------------------------
-echo
-
-CHECK_HTML_GENERATORS
-
-echo
-echo ---------------------------------------------
-echo Testing Kernel
-echo ---------------------------------------------
-echo
-
-CHECK_KERNEL
-
-echo
-echo ---------------------------------------------
-echo Summary
-echo ---------------------------------------------
-echo
-
-echo Configure
-variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok"
-
-for var in $variables
-do
-   printf "   %10s : " `echo \$var | sed -e "s,_ok,,"`
-   eval echo \$$var
-done
-
-echo
-echo "Default ORB   : $DEFAULT_ORB"
-echo
-
-dnl generals files which could be included in every makefile
-
-AC_SUBST_FILE(COMMENCE) COMMENCE=adm_local/unix/make_commence
-AC_SUBST_FILE(CONCLUDE) CONCLUDE=salome_adm/unix/make_conclude
-AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module
-
-dnl les dependences
-AC_SUBST_FILE(DEPEND) DEPEND=salome_adm/unix/depend
-
-dnl We don t need to say when we re entering directories if we re using
-dnl GNU make becuase make does it for us.
-if test "X$GMAKE" = "Xyes"; then
-   AC_SUBST(SETX) SETX=":"
-else
-   AC_SUBST(SETX) SETX="set -x"
-fi
-
-# make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
-do
-#   if test ! -d $rep ; then
-#      eval mkdir $rep
-#   fi
-    $INSTALL -d $rep
-done
-
-echo 
-echo ---------------------------------------------
-echo copying resource files, shell scripts, and 
-echo xml files
-echo ---------------------------------------------
-echo
-
-
-dnl copy resources directories
-
-#for i in `find $ROOT_SRCDIR -name 'resources' -print`
-#do
-#  local_res=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
-#  local_res_dir=`echo $local_res | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
-#  mkdir -p $local_res_dir
-#  cd $local_res_dir
-#  ln -fs $i
-#  echo $local_res
-#  cd $ROOT_BUILDDIR
-#done
-
-dnl copy shells and utilities contained in the bin directory
-dnl excluding .in files (treated in AC-OUTPUT below) and CVS 
-dnl directory
-
-mkdir -p bin/salome
-cd bin/salome
-
-for i in $ROOT_SRCDIR/bin/*
-do
-  local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
-  case "$local_bin" in
-        *.in | *~)                    ;;
-        ./bin/CVS | ./bin/salome)                    ;;
-        *) /usr/bin/install $i .; echo $local_bin ;;
-  esac
-done
-cd $ROOT_BUILDDIR
-
-AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=salome_adm/unix/envScript
-
-dnl copy xml files to the build tree (lib directory)
-dnl pourquoi ????
-
-#cd lib
-#for i in `find $ROOT_SRCDIR -name "*.xml" -print`
-#do
-#  ln -fs $i
-#  echo `echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
-#done
-#cd $ROOT_BUILDDIR
-
-
-echo
-echo ---------------------------------------------
-echo generating Makefiles and configure files
-echo ---------------------------------------------
-echo
-
-AC_OUTPUT_COMMANDS([ \
-       chmod +x ./bin/* \
-])
-
-## do not delete this line
diff --git a/doc/Makefile.in b/doc/Makefile.in
deleted file mode 100644 (file)
index 7295ede..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-
-# -* Makefile *- 
-#
-# Author : Patrick GOLDBRONN (CEA)
-# Date : 30/11/2001
-# $Header$
-#
-# source path
-top_srcdir=@top_srcdir@
-top_builddir=..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-SUBDIRS= salome
-
-@COMMENCE@
-
-docs:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-clean:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-
-distclean: clean
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-
-install:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-
-uninstall:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
diff --git a/doc/salome/GEOM_index.html b/doc/salome/GEOM_index.html
deleted file mode 100644 (file)
index 7da8770..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-                                            
-  <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
-                                            
-  <meta name="GENERATOR"
- content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-  <title>Geometry Module Documentation</title>
-</head>
-  <body bgcolor="#cccccc" text="#000000" link="#0000ee" alink="#0000ee"
- vlink="#551a8b">
-       
-<div align="center">    &nbsp;           
-<center>          
-<center>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
- &nbsp;&nbsp;</center>
-       
-<table width="96%" align="center">
-           <tbody>
-              <tr>
-           <td><a href="http://www.opencascade.com"><img
- src="tui/GEOM/sources/logocorp.gif" border="0" height="46" width="122">
-                </a></td>
-             <td>                                                       
-               
-      <div align="right"><a href="http://www.opencascade.org/SALOME/"><img
- src="tui/GEOM/sources/application.gif" border="0" height="46" width="108">
-                </a></div>
-           </td>
-           </tr>
-                                                      
-  </tbody>    
-</table>
-       
-<div align="center">    
-<center>    
-<hr width="100%" size="2">   
-<h1>Geometry MODULE Documentation</h1>
-                                     </center>
-    </div>
-       
-<table width="96%">
-      <tbody>
-               
-  </tbody>    
-</table>
-    </center>
-       
-<div align="center">       
-<p> <img src="tui/GEOM/sources/Application-About.png"
- alt="Application-About.png" width="30%" height="20%">
-    &nbsp; &nbsp;&nbsp;          </p>
-             </div>
-       
-<center>    
-<table width="96%">
-      <tbody>
-                 
-  </tbody>    
-</table>
-   <br>
-   <br>
-   <br>
-   </center>
-     
-<address> </address>
-   
-<center><big><a href="gui/GEOM/geom.html">GUI Documentation</a></big></center>
-      
-<address> </address>
-   
-<center></center>
-      
-<center><br>
-   </center>
-     
-<address> </address>
-   
-<center><big><a href="tui/GEOM/index.html">TUI Documentation</a></big></center>
-      
-<address> </address>
-   
-<center></center>
-      
-<center><br>
-   <br>
-    </center>
-    </div>
-     <br>
-  <br>
- <br>
-</body>
-</html>
diff --git a/doc/salome/Makefile.in b/doc/salome/Makefile.in
deleted file mode 100644 (file)
index 69c40d6..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-
-# -* Makefile *- 
-#
-# Author : Patrick GOLDBRONN (CEA)
-# Date : 30/11/2001
-# $Header$
-#
-# source path
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-SUBDIRS= tui gui
-
-@COMMENCE@
-
-docs:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done; \
-       cp -f $(srcdir)/GEOM_index.html GEOM_index.html
-
-clean:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-
-distclean: clean
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done
-
-install:
-       $(MAKE) docs
-       (cd tui && $(MAKE) install);
-       (cd gui && $(MAKE) install);
-       cp -f GEOM_index.html $(docdir)
-
-uninstall:
-       @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
-       done; \
-       rm -fr $(docdir)/GEOM_index.html
diff --git a/doc/salome/gui/GEOM/GEOM.log b/doc/salome/gui/GEOM/GEOM.log
deleted file mode 100755 (executable)
index e17a2ed..0000000
+++ /dev/null
@@ -1,454 +0,0 @@
-|SourceProjectName:GEOM.hpr\r
-|DestinationProjectName:geom.html\r
-whhost.js\r
-whmsg.js\r
-whmozemu.js\r
-whproxy.js\r
-whstub.js\r
-whutils.js\r
-whver.js\r
-whform.js\r
-whphost.js\r
-whstart.js\r
-whtopic.js\r
-whframes.js\r
-whlang.js\r
-whskin_info.htm\r
-whskin_blank.htm\r
-whnjs.htm\r
-whthost.js\r
-whtdhtml.htm\r
-whihost.js\r
-whibody.htm\r
-whiform.htm\r
-whfhost.js\r
-whfbody.htm\r
-whfform.htm\r
-whghost.js\r
-whgbody.htm\r
-whgdhtml.htm\r
-whgdef.htm\r
-whproj.js\r
-whproj.xml\r
-whproj.htm\r
-whdata\whtoc.js\r
-whdata\whtoc.xml\r
-whdata\whtoc.htm\r
-whdata\whtdata.js\r
-whdata\whidx.js\r
-whdata\whidx.xml\r
-whdata\whidx.htm\r
-whdata\whidata.js\r
-whdata\whfts.js\r
-whdata\whfts.xml\r
-whdata\whfts.htm\r
-whdata\whglo.js\r
-whdata\whglo.xml\r
-whdata\whglo.htm\r
-whdata\whgdata.js\r
-whdata\whftdata.js\r
-whdata\whfwdata.js\r
-whres.xml\r
-webhelp.jar\r
-webhelp.cab\r
-whgdata\whnvp30.htm\r
-whgdata\whnvp31.htm\r
-whgdata\whnvp32.htm\r
-whgdata\whnvp33.htm\r
-whgdata\whnvt30.htm\r
-whgdata\whnvt31.htm\r
-whgdata\whnvt32.htm\r
-whgdata\whnvt33.htm\r
-whgdata\whnvf30.htm\r
-whgdata\whnvf31.htm\r
-whgdata\whnvf32.htm\r
-whgdata\whnvf33.htm\r
-whgdata\whnvl31.htm\r
-whgdata\whnvl32.htm\r
-whgdata\whnvl33.htm\r
-whgdata\whexpbar.gif\r
-cshdat_webhelp.htm\r
-cshdat_robohelp.htm\r
-wht_tab0.gif\r
-wht_tab1.gif\r
-wht_tab2.gif\r
-wht_tab3.gif\r
-wht_tab4.gif\r
-wht_tab5.gif\r
-wht_tab6.gif\r
-wht_tab7.gif\r
-wht_tab8.gif\r
-wht_glo_h.gif\r
-wht_glo_n.gif\r
-wht_fts_h.gif\r
-wht_fts_n.gif\r
-wht_idx_h.gif\r
-wht_idx_n.gif\r
-wht_toc_h.gif\r
-wht_toc_n.gif\r
-wht_ws.gif\r
-wht_ws_g.gif\r
-wht_logo1.gif\r
-wht_logo2.gif\r
-wht_abgw.jpg\r
-wht_abgi.jpg\r
-wht_abge.jpg\r
-wht_abtw.jpg\r
-wht_abte.jpg\r
-wht_abti.jpg\r
-wht_spac.gif\r
-wht_next.gif\r
-wht_next_g.gif\r
-wht_prev.gif\r
-wht_prev_g.gif\r
-wht_sync.gif\r
-wht_hide.gif\r
-wht_go.gif\r
-whstart.ico\r
-whestart.ico\r
-whrstart.ico\r
-whidhtml.htm\r
-whfdhtml.htm\r
-whskin_banner.htm\r
-whtbar.js\r
-default.skn\r
-whskin_pdhtml.htm\r
-whskin_papplet.htm\r
-whskin_plist.htm\r
-whskin_tbars.htm\r
-whskin_mbars.htm\r
-wht_toc4.gif\r
-wht_toc1.gif\r
-wht_toc2.gif\r
-wht_toc3.gif\r
-whskin_frmset010.htm\r
-whst_topics.xml\r
-whskin_frmset01.htm\r
-geom_hha.hhk\r
-geom.hhc\r
-geom.hhk\r
-blocks.htm\r
-changing_displaying_parameters.htm\r
-files\introduction_to_geom.htm\r
-files\salome2_sp3_basicgui_functions.htm\r
-files\salome2_sp3_booleangui_functions.htm\r
-files\salome2_sp3_buildgui_functions.htm\r
-files\salome2_sp3_displaygui_functions.htm\r
-files\salome2_sp3_generationgui_functions.htm\r
-files\salome2_sp3_geomtoolsgui_functions.htm\r
-files\salome2_sp3_measuregui_functions.htm\r
-files\salome2_sp3_operationgui_functions.htm\r
-files\salome2_sp3_primitivegui_functions.htm\r
-files\salome2_sp3_repairgui_functions.htm\r
-files\salome2_sp3_transformationgui_functions.htm\r
-newentity_blocks.htm\r
-sketcher.htm\r
-working_with_groups.htm\r
-geom.glo\r
-default.css\r
-image61.gif\r
-image191.jpg\r
-image180.jpg\r
-image109.jpg\r
-image97.jpg\r
-image86.jpg\r
-image75.jpg\r
-image53.jpg\r
-image20.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif\r
-image192.jpg\r
-image181.jpg\r
-image51.gif\r
-image170.jpg\r
-image98.jpg\r
-image87.jpg\r
-image76.jpg\r
-image65.jpg\r
-image54.jpg\r
-image21.jpg\r
-image10.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif\r
-image193.jpg\r
-image182.jpg\r
-image52.gif\r
-image171.jpg\r
-image160.jpg\r
-image41.gif\r
-image99.jpg\r
-image88.jpg\r
-image66.jpg\r
-image55.jpg\r
-image22.jpg\r
-image11.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif\r
-image3.jpg\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif\r
-image194.jpg\r
-image183.jpg\r
-image53.gif\r
-image172.jpg\r
-image42.gif\r
-image161.jpg\r
-image150.jpg\r
-image89.jpg\r
-image78.jpg\r
-image20.gif\r
-image67.jpg\r
-image56.jpg\r
-image23.jpg\r
-image12.jpg\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif\r
-image184.jpg\r
-image173.jpg\r
-image151.jpg\r
-image32.gif\r
-image140.jpg\r
-image79.jpg\r
-image21.gif\r
-image68.jpg\r
-image57.jpg\r
-image24.jpg\r
-image13.jpg\r
-image2.gif\r
-image5.jpg\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif\r
-image196.jpg\r
-image185.jpg\r
-image44.gif\r
-image163.jpg\r
-image152.jpg\r
-image141.jpg\r
-image130.jpg\r
-image22.gif\r
-image69.jpg\r
-image58.jpg\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif\r
-image11.gif\r
-image14.jpg\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif\r
-image197.jpg\r
-image56.gif\r
-image186.jpg\r
-image175.jpg\r
-image164.jpg\r
-image142.jpg\r
-image131.jpg\r
-image23.gif\r
-image120.jpg\r
-image59.jpg\r
-image26.jpg\r
-image12.gif\r
-image15.jpg\r
-image7.jpg\r
-image4.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif\r
-image57.gif\r
-image187.jpg\r
-image176.jpg\r
-image165.jpg\r
-image154.jpg\r
-image35.gif\r
-image132.jpg\r
-image24.gif\r
-image121.jpg\r
-image110.jpg\r
-image27.jpg\r
-image13.gif\r
-image16.jpg\r
-image8.jpg\r
-image5.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif\r
-image199.jpg\r
-image188.jpg\r
-image166.jpg\r
-image144.jpg\r
-image133.jpg\r
-image25.gif\r
-image122.jpg\r
-image111.jpg\r
-image100.jpg\r
-image28.jpg\r
-image14.gif\r
-image17.jpg\r
-image9.jpg\r
-image6.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif\r
-i_blue.jpg\r
-image200.jpg\r
-image59.gif\r
-image189.jpg\r
-image167.jpg\r
-image156.jpg\r
-image37.gif\r
-image145.jpg\r
-image134.jpg\r
-image123.jpg\r
-image112.jpg\r
-image101.jpg\r
-image15.gif\r
-image29.jpg\r
-image18.jpg\r
-image7.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif\r
-image201.jpg\r
-image179.jpg\r
-image49.gif\r
-image168.jpg\r
-image146.jpg\r
-image135.jpg\r
-image124.jpg\r
-image113.jpg\r
-image102.jpg\r
-image90.jpg\r
-image16.gif\r
-image19.jpg\r
-image8.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif\r
-image202.jpg\r
-image169.jpg\r
-image158.jpg\r
-image147.jpg\r
-image136.jpg\r
-image125.jpg\r
-image103.jpg\r
-image91.jpg\r
-image80.jpg\r
-image17.gif\r
-image9.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif\r
-image203.jpg\r
-image29.gif\r
-image137.jpg\r
-image126.jpg\r
-image115.jpg\r
-image104.jpg\r
-image92.jpg\r
-image81.jpg\r
-image70.jpg\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif\r
-image204.jpg\r
-image149.jpg\r
-image138.jpg\r
-image127.jpg\r
-image116.jpg\r
-image105.jpg\r
-image93.jpg\r
-image82.jpg\r
-image71.jpg\r
-image19.gif\r
-image60.jpg\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif\r
-image205.jpg\r
-image139.jpg\r
-image128.jpg\r
-image117.jpg\r
-image106.jpg\r
-image94.jpg\r
-image83.jpg\r
-image72.jpg\r
-image61.jpg\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif\r
-image206.jpg\r
-image129.jpg\r
-image118.jpg\r
-image107.jpg\r
-image95.jpg\r
-image84.jpg\r
-image73.jpg\r
-image62.jpg\r
-image51.jpg\r
-image190.jpg\r
-image119.jpg\r
-image108.jpg\r
-image96.jpg\r
-image85.jpg\r
-image74.jpg\r
-image63.jpg\r
-image52.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif\r
-ehlpdhtm.js\r
-geom.ppf\r
-default_ns.css\r
-whdata\whtdata0.xml\r
-whdata\whtdata0.htm\r
-whdata\whftdata0.xml\r
-whdata\whftdata0.htm\r
-whdata\whfwdata0.xml\r
-whdata\whfwdata0.htm\r
-whdata\whgdata0.xml\r
-whdata\whgdata0.htm\r
-whgdata\whlstt0.htm\r
-whgdata\whlstt1.htm\r
-whgdata\whlstt2.htm\r
-whgdata\whlstt3.htm\r
-whgdata\whlstt4.htm\r
-whgdata\whlsti0.htm\r
-whgdata\whlstfl0.htm\r
-whgdata\whlstfl1.htm\r
-whgdata\whlstfl2.htm\r
-whgdata\whlstfl3.htm\r
-whgdata\whlstfl4.htm\r
-whgdata\whlstfl5.htm\r
-whgdata\whlstfl6.htm\r
-whgdata\whlstfl7.htm\r
-whgdata\whlstfl8.htm\r
-whgdata\whlstfl9.htm\r
-whgdata\whlstfl10.htm\r
-whgdata\whlstfl11.htm\r
-whgdata\whlstfl12.htm\r
-whgdata\whlstfl13.htm\r
-whgdata\whlstfl14.htm\r
-whgdata\whlstfl15.htm\r
-whgdata\whlstfl16.htm\r
-whgdata\whlstfl17.htm\r
-whgdata\whlstfl18.htm\r
-whgdata\whlstfl19.htm\r
-whgdata\whlstfl20.htm\r
-whgdata\whlstfl21.htm\r
-whgdata\whlstfl22.htm\r
-whgdata\whlstf0.htm\r
-whgdata\whlstf1.htm\r
-whgdata\whlstf2.htm\r
-whgdata\whlstf3.htm\r
-whgdata\whlstf4.htm\r
-whgdata\whlstf5.htm\r
-whgdata\whlstg0.htm\r
-geom.html\r
-geom_csh.html\r
-geom_rhc.html\r
diff --git a/doc/salome/gui/GEOM/blocks.htm b/doc/salome/gui/GEOM/blocks.htm
deleted file mode 100755 (executable)
index f3b2049..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Building of blocks</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-ul.whs1 { list-style:disc; }\r
-p.whs2 { margin-left:40px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Building of blocks</h1>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs1">\r
-       \r
-       <li class=kadov-p><p><a href="#Multi-transformation">Multi-transformation</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#ExplodeOnBlocks">Explode on blocks</a></p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To use these options:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs2">In the main menu select <span style="font-weight: bold;"><B>Blocks \r
- </B></span>submenu.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/changing_displaying_parameters.htm b/doc/salome/gui/GEOM/changing_displaying_parameters.htm
deleted file mode 100755 (executable)
index 05c0c3c..0000000
+++ /dev/null
@@ -1,246 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Changing displaying parameters</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs4 { margin-left:40px; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs6 { width:20px; height:20px; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; }\r
-img_whs8 { border:none; width:150px; height:121px; border-style:none; }\r
-p.whs9 { font-size:12pt; font-family:'Times New Roman' , serif; }\r
-p.whs10 { font-size:12pt; }\r
-p.whs11 { font-size:14pt; }\r
-img_whs12 { border:none; width:200px; height:100px; border-style:none; }\r
-p.whs13 { margin-left:40px; font-size:12pt; }\r
-img_whs14 { border:none; width:150px; height:126px; border-style:none; }\r
-img_whs15 { border:none; width:200px; height:111px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nChanging displaying parameters");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Changing displaying parameters</h1>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can set different \r
- displaying parameters for visualization of geometrical objects in the \r
- viewer:</span></b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#W_S">Wireframe/Shading</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Color">Color</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Transparency">Transparency</a> </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Isos">Isos</a> (in OCC viewer only)</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To set displaying parameters of a geometrical object:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs4">Right-click on this geometrical object in \r
- the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b><a \r
- NAME=W_S><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs6">Wireframe/Shading</a></b> </p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Set the display mode of the selected shape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image135.jpg" width="150px" height="121px" border="0" class="img_whs8"> &nbsp;<img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=Color\r
-       style="font-size: 14pt;">Color</a></b></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Change the color of a shape.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i> \r
- gg.setColor(ID, Short, Short, Short)</i></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image136.jpg" width="150px" height="121px" border="0" class="img_whs8"> &nbsp;<img src="image137.jpg" width="150px" height="121px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;"><a NAME=Transparency><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Change the transparency (between 0 &amp; 1) of a shape.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">TUI Command:</b><i> \r
- gg.setTransparency(ID, Double)</i></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image138.jpg" width="200px" height="100px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs13"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> &nbsp;<img src="image142.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=Isos><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Isos</font></span></a></b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Changes the number of isolines displayed within a shape.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- 2 values (number of isolines).</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image139.jpg" width="200px" height="111px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image140.jpg" width="150px" height="126px" border="0" class="img_whs14"> &nbsp;<img src="image141.jpg" width="150px" height="126px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/cshdat_robohelp.htm b/doc/salome/gui/GEOM/cshdat_robohelp.htm
deleted file mode 100755 (executable)
index afb68b6..0000000
+++ /dev/null
@@ -1,258 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="JavaScript">\r
-<!--\r
-\r
-var gArrayCsh = new Array();\r
-\r
-var gstrWindowOption = "";\r
-var gstrURL = "";\r
-var gbWithNavPane = false;\r
-\r
-function CshEntityItem(strAliasId, nTopicNum, strUrl) \r
-{\r
-    this.strAliasId = strAliasId;\r
-    this.nTopicNum = nTopicNum;\r
-    this.strUrl = strUrl;\r
-}\r
-\r
-\r
-//Try to get to topic number from hash string\r
-function GetTopicNumberAuto(strMayBeNumber)\r
-{\r
-   var nNum = -1;\r
-   if (strMayBeNumber.length >= 1)\r
-   {\r
-               var strTmp = strMayBeNumber;\r
-               var iEnd = strTmp.length;\r
-               for (var i=0; i<iEnd; i++)\r
-               {\r
-                         var ch = strTmp.charAt(i);\r
-                         if (!((ch == "0") || (ch == "1") ||\r
-                               (ch == "2") || (ch == "3") ||\r
-                               (ch == "4") || (ch == "5") ||\r
-                               (ch == "6") || (ch == "7") ||\r
-                               (ch == "8") || (ch == "9")))\r
-                             return GetTopicNumberById(strTmp);\r
-               }\r
-               nNum = parseInt(strTmp);\r
-   }\r
-   return nNum;\r
-}\r
-\r
-function GetTopicNumber(strHashString)\r
-{\r
-       var nTopicEndPos = strHashString.indexOf(',')\r
-       if (nTopicEndPos == -1) { // no window option.\r
-               return GetTopicNumberOnly(strHashString);\r
-       }\r
-       else {\r
-               var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);\r
-               var strWithNavPane = 'withnavpane=true';\r
-               if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)\r
-               {\r
-                       if (strWindowOption.length > strWithNavPane.length)\r
-                               gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);\r
-                       else\r
-                               gstrWindowOption = "";\r
-                       gbWithNavPane = true;\r
-               }\r
-               else\r
-                       gstrWindowOption = strWindowOption;\r
-               return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));            \r
-       }\r
-}\r
-\r
-function GetTopicNumberOnly(strTopicString)\r
-{\r
-       var nEqualPos = strTopicString.indexOf('=');\r
-       if (nEqualPos == -1) {\r
-               return GetTopicNumberAuto(strTopicString);\r
-       }\r
-       else {\r
-               var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);\r
-               if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {\r
-                       return parseInt(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("context") == 0) {\r
-                       return GetTopicNumberById(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {\r
-                       gstrURL = strValue;\r
-                       return -1;\r
-               }\r
-\r
-       }\r
-}\r
-\r
-//Find HomePage of the WebHelp system\r
-// we try to get the topic from remote project if it exists.\r
-function RedirectToHomePage()\r
-{\r
-       if (parent && parent != this && parent.goNext)\r
-       {\r
-               var sHome = parent.goNext();\r
-               if (sHome != "")\r
-                       RedirectTo(sHome);\r
-       }\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       if (parent && parent != this && parent.getRelHomePage)\r
-       {\r
-               return parent.getRelHomePage(document.location.href);\r
-       }\r
-       return "";\r
-}\r
-\r
-function addRemoteProject(strPath)\r
-{\r
-       if (parent && parent != this && parent.addProject)\r
-       {\r
-               parent.addProject(strPath);\r
-       }\r
-}\r
-\r
-//Redirect page to...\r
-function RedirectTo(strUrl)\r
-{\r
-   if (gstrWindowOption.length != 0) {\r
-               var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);\r
-               // close current window and rename the stub window to current window.\r
-               if (wnd)\r
-                       wnd.focus();\r
-               if (parent)\r
-                       parent.close();\r
-   }\r
-   else {\r
-       parent.document.location.href = strUrl;\r
-       window.focus();\r
-  }\r
-}\r
-\r
-//Prompt the user that we can not find...\r
-function FailToFind(strMsg)\r
-{\r
-    RedirectToHomePage();\r
-}\r
-\r
-//Find topic by topic number (defined in h file)\r
-function FindTopicByTopicNum(nTopicNum)\r
-{\r
-       var i = 0;\r
-       var iEnd = gArrayCsh.length;\r
-       for (i=0; i<iEnd; i++)\r
-       {\r
-               if (gArrayCsh[i].nTopicNum == nTopicNum)\r
-               {\r
-                       var strURL = gArrayCsh[i].strUrl;\r
-                       if (gbWithNavPane)\r
-                       {\r
-                               var strHomePage = getHomePage();\r
-                               if (strHomePage.length != 0)\r
-                                       strURL = strHomePage + strURL;\r
-                       }       \r
-                       RedirectTo(strURL);\r
-                       return true;\r
-               }\r
-       }\r
-       FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);\r
-       return false;\r
-}\r
-\r
-var oldPrefix = "HelpIdFromHTMLHelp_"\r
-//Find topic by topic id (alias id defined in ali file)\r
-function GetTopicNumberById(strTopicId)\r
-{\r
-   if (strTopicId.indexOf(oldPrefix) == 0)\r
-   {\r
-               strTopicId = strTopicId.substring(oldPrefix.length);\r
-   }\r
-\r
-   var i = 0;\r
-   var iEnd = gArrayCsh.length;\r
-   for (i=0; i<iEnd; i++)\r
-   {\r
-       if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())\r
-       {\r
-           return gArrayCsh[i].nTopicNum;\r
-        }\r
-   }\r
-   gstrURL = "";\r
-   return -1;\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n, strAliasId, nTopicNum, strUrl)\r
-{\r
-   gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-\r
-function getHash()\r
-{\r
-       if (parent && parent != this)\r
-               return parent.location.hash;\r
-       else\r
-               return "";\r
-}\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-\r
-\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-//Find CSH according to hash string after this page\r
-if (getHash().length > 0)\r
-{\r
-   // VH 05/16/00 now support \r
-   // TopicID=\r
-   // TopicNumber=\r
-   // RemoteURL=   \r
-   // and WindowsOptions\r
-   // with the format #a=xxx,b=xxx,c=xxx...\r
-   var strHashString = getHash().toString();\r
-   // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it. \r
-   // so here need to change it back.\r
-   strHashString = strHashString.substring(1,strHashString.length);\r
-   strHashString = strHashString.replace("%072%057%057", "://");\r
-   var nTopicNum = GetTopicNumber(strHashString);\r
-\r
-   if (nTopicNum != -1)\r
-   {\r
-      FindTopicByTopicNum(nTopicNum);\r
-   }\r
-   else\r
-   {\r
-      if (gstrURL.length > 0) \r
-       RedirectTo(gstrURL);\r
-      else\r
-       RedirectToHomePage();\r
-   }\r
-}\r
-else\r
-{\r
-   RedirectToHomePage();\r
-}\r
-//-->\r
-</script>\r
-<noscript>\r
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>\r
-</noscript>\r
-</body>\r
-</html>\r
-\r
-\r
-\r
-\r
-\r
-\r
diff --git a/doc/salome/gui/GEOM/cshdat_webhelp.htm b/doc/salome/gui/GEOM/cshdat_webhelp.htm
deleted file mode 100755 (executable)
index 2d66f40..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="JavaScript">\r
-<!--\r
-\r
-var gArrayCsh = new Array();\r
-\r
-var gstrWindowOption = "";\r
-var gstrURL = "";\r
-var gbWithNavPane = false;\r
-\r
-function CshEntityItem(strAliasId, nTopicNum, strUrl) \r
-{\r
-    this.strAliasId = strAliasId;\r
-    this.nTopicNum = nTopicNum;\r
-    this.strUrl = strUrl;\r
-}\r
-\r
-\r
-//Try to get to topic number from hash string\r
-function GetTopicNumberAuto(strMayBeNumber)\r
-{\r
-   var nNum = -1;\r
-   if (strMayBeNumber.length >= 1)\r
-   {\r
-               var strTmp = strMayBeNumber;\r
-               var iEnd = strTmp.length;\r
-               for (var i=0; i<iEnd; i++)\r
-               {\r
-                         var ch = strTmp.charAt(i);\r
-                         if (!((ch == "0") || (ch == "1") ||\r
-                               (ch == "2") || (ch == "3") ||\r
-                               (ch == "4") || (ch == "5") ||\r
-                               (ch == "6") || (ch == "7") ||\r
-                               (ch == "8") || (ch == "9")))\r
-                             return GetTopicNumberById(strTmp);\r
-               }\r
-               nNum = parseInt(strTmp);\r
-   }\r
-   return nNum;\r
-}\r
-\r
-function GetTopicNumber(strHashString)\r
-{\r
-       var nTopicEndPos = strHashString.indexOf(',')\r
-       if (nTopicEndPos == -1) { // no window option.\r
-               return GetTopicNumberOnly(strHashString);\r
-       }\r
-       else {\r
-               var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);\r
-               var strWithNavPane = 'withnavpane=true';\r
-               if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)\r
-               {\r
-                       if (strWindowOption.length > strWithNavPane.length)\r
-                               gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);\r
-                       else\r
-                               gstrWindowOption = "";\r
-                       gbWithNavPane = true;\r
-               }\r
-               else\r
-                       gstrWindowOption = strWindowOption;\r
-               return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));            \r
-       }\r
-}\r
-\r
-function GetTopicNumberOnly(strTopicString)\r
-{\r
-       var nEqualPos = strTopicString.indexOf('=');\r
-       if (nEqualPos == -1) {\r
-               return GetTopicNumberAuto(strTopicString);\r
-       }\r
-       else {\r
-               var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);\r
-               if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {\r
-                       return parseInt(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {\r
-                       return GetTopicNumberById(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {\r
-                       gstrURL = strValue;\r
-                       return -1;\r
-               }\r
-\r
-       }\r
-}\r
-\r
-//Find HomePage of the WebHelp system\r
-// we try to get the topic from remote project if it exists.\r
-function RedirectToHomePage()\r
-{\r
-       if (parent && parent != this && parent.goNext)\r
-       {\r
-               var sHome = parent.goNext();\r
-               if (sHome != "")\r
-                       RedirectTo(sHome);\r
-       }\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       if (parent && parent != this && parent.getRelHomePage)\r
-       {\r
-               return parent.getRelHomePage(document.location.href);\r
-       }\r
-       return "";\r
-}\r
-\r
-function addRemoteProject(strPath)\r
-{\r
-       if (parent && parent != this && parent.addProject)\r
-       {\r
-               parent.addProject(strPath);\r
-       }\r
-}\r
-\r
-//Redirect page to...\r
-function RedirectTo(strUrl)\r
-{\r
-   if (gstrWindowOption.length != 0) {\r
-               var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);\r
-               // close current window and rename the stub window to current window.\r
-               wnd.focus();\r
-               if (parent)\r
-                       parent.close();\r
-   }\r
-   else {\r
-       parent.document.location.href = strUrl;\r
-       window.focus();\r
-  }\r
-}\r
-\r
-//Prompt the user that we can not find...\r
-function FailToFind(strMsg)\r
-{\r
-    RedirectToHomePage();\r
-}\r
-\r
-//Find topic by topic number (defined in h file)\r
-function FindTopicByTopicNum(nTopicNum)\r
-{\r
-       var i = 0;\r
-       var iEnd = gArrayCsh.length;\r
-       for (i=0; i<iEnd; i++)\r
-       {\r
-               if (gArrayCsh[i].nTopicNum == nTopicNum)\r
-               {\r
-                       var strURL = gArrayCsh[i].strUrl;\r
-                       if (gbWithNavPane)\r
-                       {\r
-                               var strHomePage = getHomePage();\r
-                               if (strHomePage.length != 0)\r
-                                       strURL = strHomePage + strURL;\r
-                       }       \r
-                       RedirectTo(strURL);\r
-                       return true;\r
-               }\r
-       }\r
-       FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);\r
-       return false;\r
-}\r
-\r
-//Find topic by topic id (alias id defined in ali file)\r
-function GetTopicNumberById(strTopicId)\r
-{\r
-   var i = 0;\r
-   var iEnd = gArrayCsh.length;\r
-   for (i=0; i<iEnd; i++)\r
-   {\r
-       if (gArrayCsh[i].strAliasId == strTopicId)\r
-       {\r
-           return gArrayCsh[i].nTopicNum;\r
-        }\r
-   }\r
-   gstrURL = "";\r
-   return -1;\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n, strAliasId, nTopicNum, strUrl)\r
-{\r
-   gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-\r
-function getHash()\r
-{\r
-       if (parent && parent != this)\r
-               return parent.location.hash;\r
-       else\r
-               return "";\r
-}\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-\r
-\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-//Find CSH according to hash string after this page\r
-if (getHash().length > 0)\r
-{\r
-   // VH 05/16/00 now support \r
-   // TopicID=\r
-   // TopicNumber=\r
-   // RemoteURL=   \r
-   // and WindowsOptions\r
-   // with the format #a=xxx,b=xxx,c=xxx...\r
-   var strHashString = getHash().toString();\r
-   // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it. \r
-   // so here need to change it back.\r
-   strHashString = strHashString.substring(1,strHashString.length);\r
-   strHashString = strHashString.replace("%072%057%057", "://");\r
-   var nTopicNum = GetTopicNumber(strHashString);\r
-\r
-   if (nTopicNum != -1)\r
-   {\r
-      FindTopicByTopicNum(nTopicNum);\r
-   }\r
-   else\r
-   {\r
-      if (gstrURL.length > 0) \r
-       RedirectTo(gstrURL);\r
-      else\r
-       RedirectToHomePage();\r
-   }\r
-}\r
-else\r
-{\r
-   RedirectToHomePage();\r
-}\r
-//-->\r
-</script>\r
-<noscript>\r
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>\r
-</noscript>\r
-</body>\r
-</html>\r
-\r
-\r
-\r
-\r
-\r
-\r
diff --git a/doc/salome/gui/GEOM/default.css b/doc/salome/gui/GEOM/default.css
deleted file mode 100755 (executable)
index de2e5d9..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-BODY { \r
-      background-color:#ffffff; \r
-      font-family:"Times New Roman" , serif;  }\r
-H1 { \r
-    font-weight:bold; \r
-    font-size:24.0pt;  }\r
-LI.kadov-H1 { \r
-             font-weight:bold; \r
-             font-size:24.0pt;  }\r
-H2 { \r
-    font-weight:bold; \r
-    font-size:18.0pt;  }\r
-LI.kadov-H2 { \r
-             font-weight:bold; \r
-             font-size:18.0pt;  }\r
-H3 { \r
-    font-weight:bold; \r
-    font-size:14.0pt;  }\r
-LI.kadov-H3 { \r
-             font-weight:bold; \r
-             font-size:14.0pt;  }\r
-H4 { \r
-    font-weight:bold; \r
-    font-size:12.0pt;  }\r
-LI.kadov-H4 { \r
-             font-weight:bold; \r
-             font-size:12.0pt;  }\r
-H5 { \r
-    font-weight:bold; \r
-    font-size:10.0pt;  }\r
-LI.kadov-H5 { \r
-             font-weight:bold; \r
-             font-size:10.0pt;  }\r
-H6 { \r
-    font-weight:bold; \r
-    font-size:8.0pt;  }\r
-LI.kadov-H6 { \r
-             font-weight:bold; \r
-             font-size:8.0pt;  }\r
-P { \r
-   font-size:12.0pt; \r
-   margin-top:0pt; \r
-   margin-bottom:0pt;  }\r
-LI.kadov-P { \r
-            font-size:12.0pt;  }\r
-A.expandspot { \r
-              color:#008000; \r
-              cursor:hand; \r
-              font-style:italic; \r
-              x-text-underline:off; \r
-              x-text-overline:off; \r
-              x-text-line-through:off; \r
-              text-decoration:none none none;  }\r
-SPAN.expandtext { \r
-                 font-style:italic; \r
-                 font-weight:normal; \r
-                 color:#ff0000;  }\r
-A.dropspot { \r
-            cursor:hand; \r
-            color:#008000; \r
-            font-style:italic; \r
-            x-text-underline:off; \r
-            x-text-overline:off; \r
-            x-text-line-through:off; \r
-            text-decoration:none none none;  }\r
-A.glossterm { \r
-             color:#800000; \r
-             cursor:hand; \r
-             font-style:italic; \r
-             x-text-underline:off; \r
-             x-text-overline:off; \r
-             x-text-line-through:off; \r
-             text-decoration:none none none;  }\r
-SPAN.glosstext { \r
-                font-style:italic; \r
-                font-weight:normal; \r
-                color:#0000ff;  }\r
-OL { \r
-    margin-top:0px; \r
-    margin-bottom:0px;  }\r
-UL { \r
-    margin-top:0px; \r
-    margin-bottom:0px;  }\r
-A:active {  }\r
-A:hover { \r
-         x-text-underline:Off; \r
-         text-decoration:none;  }\r
-A:link { \r
-        x-text-underline:Off; \r
-        text-decoration:none;  }\r
-A:visited { \r
-           x-text-underline:Off; \r
-           text-decoration:none;  }\r
-P.TODO { \r
-        font-weight:normal; \r
-        font-style:italic; \r
-        font-family:"Arial Black" , sans-serif;  }\r
-LI.kadov-P-CTODO { \r
-                  font-weight:normal; \r
-                  font-style:italic; \r
-                  font-family:"Arial Black" , sans-serif;  }\r
diff --git a/doc/salome/gui/GEOM/default.skn b/doc/salome/gui/GEOM/default.skn
deleted file mode 100755 (executable)
index f162a66..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-<?xml version="1.0"?>\r
-<sqwebskin version="1.0">\r
-       <summary>\r
-               <skinname>Default</skinname>\r
-               <defaulttab>Contents</defaulttab>\r
-               <font>font-family:Arial font-size:8pt font-weight:normal font-style:normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal</font>\r
-               <color></color>\r
-       </summary>\r
-       <panesummary>\r
-               <![CDATA[\r
-<frameset rows="32,*" >\r
-<frame name="Custom Toolbar Pane" noresize="yes" scrolling="no" id="3" />\r
-<frameset cols="220,*" frameborder="1" borderspace="0" >\r
-<frameset rows="24,*" >\r
-<frame name="MiniBar Pane" marginwidth="-1" scrolling="no" id="6" />\r
-<frame name="Navigation Pane" id="2" />\r
-</frameset>\r
-<frame name="Topic Pane" frameborder="1" borderspace="1" bordercolor="Gray" marginwidth="-1" marginheight="-1" id="4" />\r
-</frameset>\r
-</frameset>\r
-]]>\r
-       </panesummary>\r
-       <frameset rows="32,*">\r
-               <frame name="Custom Toolbar Pane" noresize="yes" scrolling="no" id="3"/>\r
-               <frameset cols="220,*" frameborder="1" borderspace="0">\r
-                       <frameset rows="24,*">\r
-                               <frame name="MiniBar Pane" marginwidth="-1" scrolling="no" id="6"/>\r
-                               <frame name="Navigation Pane" id="2"/>\r
-                       </frameset>\r
-                       <frame name="Topic Pane" frameborder="1" borderspace="1" bordercolor="Gray" marginwidth="-1" marginheight="-1" id="4"/>\r
-               </frameset>\r
-       </frameset>\r
-       <pane name="Custom Toolbar Pane">\r
-               <image></image>\r
-               <color>background:#99ccff</color>\r
-               <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-               <btnselected>\r
-                       <color>background:#639ace</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:White</font>\r
-               </btnselected>\r
-               <alignment>left</alignment>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-content" id="1">\r
-                       <name>Contents</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-index" id="2">\r
-                       <name>Index</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-search" id="3">\r
-                       <name>Search</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-glossary" id="4">\r
-                       <name>Glossary</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-websearch" id="5">\r
-                       <name>WebSearch</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="Form Mode" type="built-in-form" id="6">\r
-                       <name>Search Input</name>\r
-                       <image></image>\r
-                       <color></color>\r
-                       <textbox width="20"/>\r
-                       <title>\r
-                               <text></text>\r
-                       </title>\r
-                       <button mode="default graphic mode">\r
-                       </button>\r
-               </toolbaritem>\r
-               <toolbaritem mode="Logo Mode" type="built-in-logo" id="7">\r
-                       <name>Logo</name>\r
-                       <image></image>\r
-                       <author>eHelp Corporation</author>\r
-               </toolbaritem>\r
-       </pane>\r
-       <pane name="MiniBar Pane">\r
-               <image></image>\r
-               <color>background:#99ccff</color>\r
-               <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-               <btnselected>\r
-                       <color>background:#639ace</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:White</font>\r
-               </btnselected>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-previous" id="8">\r
-                       <name>Previous</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-next" id="9">\r
-                       <name>Next</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-synctoc" id="10">\r
-                       <name>Sync TOC</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-               <toolbaritem mode="BtnWithIcon Mode" type="built-in-hide" id="11">\r
-                       <name>Hide</name>\r
-                       <text>::??DefaultWebSkinText??::</text>\r
-                       <color></color>\r
-                       <image></image>\r
-                       <icontype>default</icontype>\r
-                       <selected>\r
-                               <color></color>\r
-                               <image></image>\r
-                               <icontype>default</icontype>\r
-                       </selected>\r
-                       <style>100</style>\r
-               </toolbaritem>\r
-       </pane>\r
-       <pane name="Navigation Pane">\r
-               <image></image>\r
-               <color></color>\r
-               <label>\r
-                       <image></image>\r
-                       <color></color>\r
-               </label>\r
-               <subpane name="Contents">\r
-                       <image></image>\r
-                       <color>background:White alink:Silver hover-color:Navy</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-               </subpane>\r
-               <subpane name="Index">\r
-                       <image></image>\r
-                       <color>background:White alink:Silver hover-color:Navy</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-                       <inputbox>\r
-                               <image></image>\r
-                               <color>background:White</color>\r
-                               <textbox width="0"/>\r
-                               <title>\r
-                                       <text>::??DefaultWebSkinText??::</text>\r
-                                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font>\r
-                               </title>\r
-                               <button mode="none">\r
-                               </button>\r
-                       </inputbox>\r
-               </subpane>\r
-               <subpane name="Search">\r
-                       <image></image>\r
-                       <color>background:White alink:Silver hover-color:Navy</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-                       <inputbox>\r
-                               <image></image>\r
-                               <color>background:White</color>\r
-                               <textbox width="0"/>\r
-                               <title>\r
-                                       <text>::??DefaultWebSkinText??::</text>\r
-                                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font>\r
-                               </title>\r
-                               <button mode="default graphic mode">\r
-                               </button>\r
-                       </inputbox>\r
-               </subpane>\r
-               <subpane name="Glossary">\r
-                       <image></image>\r
-                       <color>background:White alink:Silver hover-color:Navy</color>\r
-                       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>\r
-                       <definitiontext>\r
-                               <text>::??DefaultWebSkinText??::</text>\r
-                               <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font>\r
-                               <color>background:White</color>\r
-                               <image></image>\r
-                       </definitiontext>\r
-                       <definition>\r
-                               <text>::??DefaultWebSkinText??::</text>\r
-                               <color></color>\r
-                               <image></image>\r
-                       </definition>\r
-                       <termtext>\r
-                               <text>::??DefaultWebSkinText??::</text>\r
-                               <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font>\r
-                               <color>background:White</color>\r
-                               <image></image>\r
-                       </termtext>\r
-                       <term>\r
-                               <text>::??DefaultWebSkinText??::</text>\r
-                               <color></color>\r
-                               <image></image>\r
-                       </term>\r
-               </subpane>\r
-       </pane>\r
-       <pane name="Topic Pane">\r
-               <in-topic-navbar>\r
-                       <alignment>none</alignment>\r
-               </in-topic-navbar>\r
-       </pane>\r
-</sqwebskin>\r
diff --git a/doc/salome/gui/GEOM/default_ns.css b/doc/salome/gui/GEOM/default_ns.css
deleted file mode 100755 (executable)
index 3eeb3c4..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-BODY { \r
-      background-color:#ffffff; \r
-      font-family:"Times New Roman"  , serif;  }\r
-H1 { \r
-    font-weight:bold; \r
-    font-size:24.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H1 { \r
-             font-weight:bold; \r
-             font-size:24.0pt;  }\r
-H2 { \r
-    font-weight:bold; \r
-    font-size:18.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H2 { \r
-             font-weight:bold; \r
-             font-size:18.0pt;  }\r
-H3 { \r
-    font-weight:bold; \r
-    font-size:14.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H3 { \r
-             font-weight:bold; \r
-             font-size:14.0pt;  }\r
-H4 { \r
-    font-weight:bold; \r
-    font-size:12.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H4 { \r
-             font-weight:bold; \r
-             font-size:12.0pt;  }\r
-H5 { \r
-    font-weight:bold; \r
-    font-size:10.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H5 { \r
-             font-weight:bold; \r
-             font-size:10.0pt;  }\r
-H6 { \r
-    font-weight:bold; \r
-    font-size:8.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H6 { \r
-             font-weight:bold; \r
-             font-size:8.0pt;  }\r
-P { \r
-   font-size:12.0pt; \r
-   margin-top:1pt; \r
-   margin-bottom:1pt; \r
-   font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-P { \r
-            font-size:12.0pt;  }\r
-A.expandspot { \r
-              color:#008000; \r
-              cursor:hand; \r
-              font-style:italic; \r
-              x-text-underline:off; \r
-              x-text-overline:off; \r
-              x-text-line-through:off; \r
-              text-decoration:none none none;  }\r
-SPAN.expandtext { \r
-                 font-style:italic; \r
-                 font-weight:normal; \r
-                 color:#ff0000;  }\r
-A.dropspot { \r
-            cursor:hand; \r
-            color:#008000; \r
-            font-style:italic; \r
-            x-text-underline:off; \r
-            x-text-overline:off; \r
-            x-text-line-through:off; \r
-            text-decoration:none none none;  }\r
-A.glossterm { \r
-             color:#800000; \r
-             cursor:hand; \r
-             font-style:italic; \r
-             x-text-underline:off; \r
-             x-text-overline:off; \r
-             x-text-line-through:off; \r
-             text-decoration:none none none;  }\r
-SPAN.glosstext { \r
-                font-style:italic; \r
-                font-weight:normal; \r
-                color:#0000ff;  }\r
-OL { \r
-    margin-top:0px; \r
-    margin-bottom:0px; \r
-    font-family:"Times New Roman"  , serif;  }\r
-UL { \r
-    margin-top:0px; \r
-    margin-bottom:0px; \r
-    font-family:"Times New Roman"  , serif;  }\r
-A:active {  }\r
-A:hover { \r
-         x-text-underline:Off; \r
-         text-decoration:none;  }\r
-A:link { \r
-        x-text-underline:Off; \r
-        text-decoration:none;  }\r
-A:visited { \r
-           x-text-underline:Off; \r
-           text-decoration:none;  }\r
-P.TODO { \r
-        font-weight:normal; \r
-        font-style:italic; \r
-        font-family:"Arial Black"  , sans-serif;  }\r
-LI.kadov-P-CTODO { \r
-                  font-weight:normal; \r
-                  font-style:italic; \r
-                  font-family:"Arial Black"  , sans-serif;  }\r
-ol ol { \r
-       margin-top:1px;  }\r
-ol ul { \r
-       margin-top:1px;  }\r
-ul ul { \r
-       margin-top:1px;  }\r
-ul ol { \r
-       margin-top:1px;  }\r
diff --git a/doc/salome/gui/GEOM/ehelp.xml b/doc/salome/gui/GEOM/ehelp.xml
deleted file mode 100755 (executable)
index 190aa23..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>\r
-<!DOCTYPE SYSTEM "ehelpopt.dtd">\r
-<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">\r
-</FILE-OPTIONS>\r
-<EHELP-OPTIONS FORMAT-VERSION="1.0">\r
- <OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">\r
- </OPTIONS>\r
- <BUTTON-LABEL>WebSearch\r
- </BUTTON-LABEL>\r
-</EHELP-OPTIONS>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/ehlpdhtm.js b/doc/salome/gui/GEOM/ehlpdhtm.js
deleted file mode 100755 (executable)
index 6cfd2e4..0000000
+++ /dev/null
@@ -1,4239 +0,0 @@
-// eHelp® Corporation Dynamic HTML JavaScript \r
-// Copyright© 1998-2003 eHelp® Corporation.All rights reserved.\r
-// Version=4.82\r
-\r
-// Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten.\r
-\r
-//// Segment Begin -- (JavaScript 1.0)\r
-\r
-/// Section Begin - General and relative topics(JavaScript 1.0)\r
-\r
-//{{HH_SYMBOL_SECTION\r
-var HH_ChmFilename = "";\r
-var HH_WindowName = "";\r
-var HH_GlossaryFont = "";\r
-var HH_Glossary = "";\r
-var HH_Avenue = "";\r
-var HH_ActiveX = false;\r
-//}}HH_SYMBOL_SECTION\r
-\r
-//Begin to support previous generic parameters\r
-//Get the information about the browser.\r
-var gstrBsAgent        = navigator.userAgent.toLowerCase();\r
-var gnBsVer                    = parseInt(navigator.appVersion);\r
-\r
-var gbBsOpera          = (gstrBsAgent.indexOf('opera') != -1);\r
-var gbBsKonqueror      = (gstrBsAgent.indexOf('konqueror') != -1);\r
-var gbBsSafari         = (gstrBsAgent.indexOf('safari') != -1);\r
-var gbBsIE             = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;\r
-var gbBsNS             = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;\r
-\r
-var gbBsMac                    = (gstrBsAgent.indexOf('mac') != -1);\r
-var gbBsWindows                = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1));\r
-var gbBsSunOS          = (gstrBsAgent.indexOf("sunos") != -1);\r
-\r
-var gbBsIE3Before      = ((gbBsIE) && (gnBsVer <= 2));\r
-var gbBsNS3Before      = ((gbBsNS) && (gnBsVer <= 3));\r
-\r
-var gbBsNS2                    = ((gbBsNS) && (gnBsVer <= 2));\r
-var gbBsNS3                    = ((gbBsNS) && (gnBsVer == 3));\r
-var gbBsIE300301       = ((gbBsIE) && (gnBsVer == 2) && ((gstrBsAgent.indexOf("3.00") != -1)||(gstrBsAgent.indexOf("3.0a") != -1)||(gstrBsAgent.indexOf("3.0b")!=-1)||(gstrBsAgent.indexOf("3.01")!=-1)));\r
-var gbBsIE302          = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != -1));\r
-\r
-var gbBsNS4                    = ((gbBsNS) && (gnBsVer >= 4));\r
-var gbBsNS6                    = ((gbBsNS) && (gnBsVer >= 5));\r
-var    gbBsNS7                 = false;\r
-\r
-var gbBsIE4                    = ((gbBsIE) && (gnBsVer >= 4));\r
-var gbBsIE5                    = false;\r
-var gbBsIE55           = false;\r
-\r
-var gbBsOpera6         = false;\r
-var gbBsOpera7         = false;\r
-\r
-var gbBsKonqueror3     = false;\r
-\r
-\r
-\r
-gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;;\r
-if (gbBsIE)\r
-{\r
-       if (parseInt(navigator.appVersion) >= 4) {\r
-               gbBsIE4 = true;\r
-               if (gbBsIE4) {\r
-                       var nPos = gstrBsAgent.indexOf("msie");\r
-                       var strIEversion = gstrBsAgent.substring(nPos + 5);\r
-                       var nVersion =  parseFloat(strIEversion);\r
-                       if (nVersion >= 5)\r
-                               gbBsIE5 = true;\r
-                       if (nVersion >= 5.5)\r
-                               gbBsIE55 = true;\r
-               }\r
-       }\r
-}\r
-if (gbBsNS6)\r
-{\r
-       var nPos=gstrBsAgent.indexOf("gecko");\r
-       if(nPos!=-1)\r
-       {\r
-               var nPos2=gstrBsAgent.indexOf("/", nPos);\r
-               if(nPos2!=-1)\r
-               {\r
-                       var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1));\r
-                       if (nVersion>=20020823)\r
-                               gbBsNS7=true;\r
-               }\r
-       }       \r
-}\r
-if (gbBsOpera)\r
-{\r
-       var nPos = gstrBsAgent.indexOf("opera");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion = parseFloat(gstrBsAgent.substring(nPos+6));\r
-               if (nVersion >= 6)\r
-               {\r
-                       gbBsOpera6=true;\r
-                       if (nVersion >=7)\r
-                               gbBsOpera7=true;        \r
-               }\r
-       }\r
-}\r
-if (gbBsKonqueror)\r
-{\r
-       var nPos = gstrBsAgent.indexOf("konqueror");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion = parseFloat(gstrBsAgent.substring(nPos+10));\r
-               if (nVersion >= 3)\r
-               {\r
-                       gbBsKonqueror3=true;\r
-               }\r
-       }\r
-}\r
-\r
-function insertAdjacentHTML(obj, where, htmlStr)\r
-{\r
-       if (gbBsIE || gbBsOpera7)\r
-       {\r
-               obj.insertAdjacentHTML(where, htmlStr);\r
-       }\r
-       else if (gbBsNS6 || gbBsSafari)\r
-       {\r
-               var r = obj.ownerDocument.createRange();\r
-               r.setStartBefore(obj);\r
-               var     parsedHTML = r.createContextualFragment(htmlStr);\r
-               \r
-               switch (where){\r
-               case 'beforeBegin':\r
-                       obj.parentNode.insertBefore(parsedHTML,obj);\r
-                       break;\r
-               case 'afterBegin':\r
-                       obj.insertBefore(parsedHTML,obj.firstChild);\r
-                       break;\r
-               case 'beforeEnd':\r
-                       obj.appendChild(parsedHTML);\r
-                       break;\r
-               case 'afterEnd':\r
-                       if (obj.nextSibling){\r
-                       obj.parentNode.insertBefore(parsedHTML,obj.nextSibling);\r
-                       } else {\r
-                       obj.parentNode.appendChild(parsedHTML);\r
-                       }\r
-                       break;\r
-               }\r
-       }\r
-}\r
-\r
-// Utilities functions.\r
-function BsscHasExtJs()\r
-{\r
-       if( gbBsIE3Before || gbBsNS3Before)\r
-               return false;\r
-       return true;\r
-}\r
-\r
-// Register event handler\r
-var gBsOnLoads                         = new Array();  // An array holds all the onload event handler.\r
-var gBsOnClicks                = new Array();  // An array holds all the onClick event handler.\r
-var gBsOnUnLoads               = new Array();  // An array holds all the OnUnLoad event handler.\r
-var gBsOnMouseOvers    = new Array();  // An array holds all the OnMouseOver event handler.\r
-var gBsOnMouseOuts             = new Array();  // An array holds all the OnMouseOut event handler.\r
-\r
-var gbOrignalOnMouseDown = null;\r
-\r
-function BsscRegisterOnLoad(funcHandler)\r
-{\r
-       var nLength = gBsOnLoads.length;\r
-       gBsOnLoads[nLength] = funcHandler;\r
-}\r
-\r
-function BsscRegisterOnClick(funcHandler)\r
-{\r
-       var nLength = gBsOnClicks.length;\r
-       gBsOnClicks[nLength] = funcHandler;\r
-}\r
-\r
-function BsscRegisterOnUnLoad(funcHandler)\r
-{\r
-       var nLength = gBsOnUnLoads.length;\r
-       gBsOnUnLoads[nLength] = funcHandler;\r
-}\r
-\r
-function BsscRegisterOnMouseOver(funcHandler)\r
-{\r
-       var nLength = gBsOnMouseOvers.length;\r
-       gBsOnMouseOvers[nLength] = funcHandler;\r
-}\r
-\r
-function BsscRegisterOnMouseOut(funcHandler)\r
-{\r
-       var nLength = gBsOnMouseOuts.length;\r
-       gBsOnMouseOuts[nLength] = funcHandler;\r
-}\r
-\r
-function BsGeneralOnLoad()\r
-{\r
-       if (!gbBsIE4 && !gbBsNS4)\r
-               return;\r
-\r
-       // Make everything visible in navigator\r
-       if (gbBsNS4 && !gbBsNS6) {\r
-               // Make some special effects items visible\r
-               for (var iLayer = 0; iLayer < document.layers.length; iLayer++) {\r
-                       document.layers[iLayer].visibility = "show";\r
-                       document.layers[iLayer].left = 0;\r
-               }\r
-       }\r
-}\r
-\r
-// If resize the netscape browser, need to reload it.\r
-function BsReDo()\r
-{\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-// End of the local functions.\r
-\r
-// The following functions are used by the html files.\r
-function BSSCOnLoad()\r
-{\r
-       if( !BsscHasExtJs() )\r
-               return;\r
-       for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--)\r
-               gBsOnLoads[nElement]();\r
-}\r
-\r
-function BSSCOnClick()\r
-{\r
-       if (!BsscHasExtJs()) return;\r
-               \r
-       for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--)\r
-               gBsOnClicks[nElement]();\r
-}\r
-\r
-function BSSCOnUnload()\r
-{\r
-       if (!BsscHasExtJs()) return;\r
-       for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--)\r
-               gBsOnUnLoads[nElement]();\r
-}\r
-\r
-function BSSCOnMouseOver()\r
-{\r
-       if (!BsscHasExtJs()) return;\r
-       for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--)\r
-               gBsOnMouseOvers[nElement]();\r
-}\r
-\r
-function BSSCOnMouseOut()\r
-{\r
-       if (!BsscHasExtJs()) return;\r
-       for (var nElement = gBsOnMouseOuts.length - 1; nElement >= 0; nElement--)\r
-       {\r
-               gBsOnMouseOuts[nElement]();\r
-       }\r
-}\r
-// End of invocation of the event handle functions.\r
-\r
-// Add the GereralOnLoad to the onload array.\r
-if (typeof(BsscRegisterOnLoad) != "undefined")\r
-{\r
-       BsscRegisterOnLoad(BsGeneralOnLoad);\r
-}\r
-if (gbBsNS4&&!gbBsNS6) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = BsReDo;\r
-}\r
-//End to support previous generic parameters\r
-\r
-//Begin to support previous HHActiveX invoking\r
-function BsHHActivateComponents()\r
-{\r
-       if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0])))\r
-       {\r
-               var objBody = getElementsByTag(document,"BODY")[0];\r
-               if( typeof(objBody) == "object" )\r
-               {\r
-                       insertAdjacentHTML(objBody, "beforeEnd", '<OBJECT ID="HHComponentActivator" CLASSID="CLSID:399CB6C4-7312-11D2-B4D9-00105A0422DF" width=0 height=0></OBJECT>');\r
-                       if (HHComponentActivator.object)\r
-                               HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue);\r
-               }\r
-       }\r
-}\r
-\r
-function BsHHActivXOnLoad()\r
-{      \r
-       if( gbBsIE4 )\r
-               BsHHActivateComponents(); \r
-}\r
-\r
-if( typeof(BsscRegisterOnLoad) != "undefined" )\r
-{\r
-       BsscRegisterOnLoad(BsHHActivXOnLoad);\r
-}\r
-//End to support previous HHActiveX invoking\r
-\r
-//Begin to support previous relative topics\r
-//If webHelp needs Related Topics DHTMLcode, it's supposed to add it here\r
-var gbPopupMenuTimeoutExpired = false;\r
-var gbInPopupMenu = false;\r
-var gbPopupMenuTopicList = null;\r
-var gOlddocumentClick = null;\r
-\r
-//////////////////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Popup Menu code\r
-//\r
-//////////////////////////////////////////////////////////////////////////////////////////\r
-\r
-var g_bIsPopupMenuInit = false;\r
-function _WritePopupMenuLayer()\r
-{\r
-       if (!g_bIsPopupMenuInit)\r
-        {\r
-         if (gbBsNS4&&!gbBsNS6) {\r
-//Do not try to write ininle styles for NS!  NS can not handle it and will not stop downloading the html page...\r
-               document.write("<DIV CLASS='WebHelpPopupMenu' ID='PopupMenu'></DIV>");\r
-         } else{\r
-         document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");\r
-         if (!(gbBsNS4&&!gbBsNS6)) {\r
-               document.write("<STYLE TYPE='text/css'>");\r
-               if (gbBsMac&&gbBsIE4) {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");\r
-               } else {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");\r
-               }\r
-               document.write("</STYLE>");\r
-          }\r
-          }\r
-         g_bIsPopupMenuInit = true;\r
-       }\r
-}\r
-\r
-//Seek for the bsscright frame \r
-function _SeekFrameByName( cRoot, strName )\r
-{\r
-       if( cRoot == null )     return null;\r
-       if( cRoot.frames == null )      return null;\r
-       if( cRoot.frames[strName] != null )     return cRoot.frames[strName];\r
-       for (var i=0; i<cRoot.frames.length; i++)\r
-       {\r
-               var cObj = null;\r
-               if (!gbBsNS6) \r
-                       cObj = _SeekFrameByName( cRoot.frames(i).document, strName );\r
-               else\r
-                       cObj = _SeekFrameByName( cRoot.frames[i], strName );\r
-               if( cObj != null )              return cObj;\r
-       };\r
-       return null;\r
-}\r
-function _GetFrameByName( cRoot, strName )\r
-{\r
-       if( cRoot == null )     return null;\r
-       var cRet = _SeekFrameByName(cRoot, strName);\r
-       if( cRet != null )      return cRet;\r
-       if (cRoot.parent != cRoot)\r
-               return _GetFrameByName( cRoot.parent, strName );\r
-       else\r
-               return null;\r
-}\r
-\r
-var gfn_arguments = null;\r
-function _PopupMenu_Invoke(fn_arguments)\r
-{\r
-       gfn_arguments = fn_arguments;\r
-       if (gbBsOpera6&&gbBsMac)\r
-       {\r
-               var wndOldPopupLinks= window.open(document.location.href, "popuplinks");\r
-               wndOldPopupLinks.close();\r
-               setTimeout("_PopupMenu_Invoke_2();",100);\r
-       }\r
-       else\r
-       {\r
-               _PopupMenu_Invoke_2();\r
-       }\r
-}\r
-\r
-function _PopupMenu_Invoke_2()\r
-{\r
-       var fn_arguments = gfn_arguments;\r
-       gfn_arguments = null;\r
-       \r
-       // Make sure we have reasonable arguments\r
-       var argLen = fn_arguments.length;\r
-       if (argLen < 3) {\r
-               return false;\r
-       }\r
-\r
-       // Check to see if we only have one target\r
-       var strTarget = "";\r
-       var targetDoc = null;\r
-       if (fn_arguments[1] == '') {\r
-               if (BSSCPopup_IsPopup()) {\r
-                       targetDoc = parent;\r
-                       strTarget = "TARGET= _parent";\r
-               }\r
-               else\r
-                       targetDoc = window.document;\r
-       } else {\r
-               targetDoc = _GetFrameByName( parent, fn_arguments[1] );\r
-\r
-               strTarget = "TARGET='" + fn_arguments[1] + "'";\r
-       }\r
-\r
-       if ((!gbBsIE4 && !gbBsNS4 && !gbBsOpera7 && !gbBsKonqueror3 &&!gbBsSafari) || ((gbBsMac) && (gbBsIE4) && (window.event.srcElement.tagName == "AREA"))) {\r
-       \r
-               var argLen      = fn_arguments.length;\r
-\r
-               // Create the window that the hyperlinks will go into\r
-               var nHeight = argLen * 15;\r
-               var nWidth = 400;\r
-               var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";\r
-               strParam += ",height=" + nHeight + ",width=200";\r
-               strParam += ",resizable";\r
-\r
-               var wndTemp=null;\r
-               // Create a temporary window first to ensure the real popup comes up on top\r
-               if (!gbBsOpera)\r
-                       wndTemp = window.open("", "temp", strParam);\r
-\r
-               // Create the real popup window\r
-               var wndPopupLinks=null;\r
-               if (gbBsOpera&&gbBsMac)\r
-               {\r
-                       wndTemp = window.open(document.location.href, "temp", strParam);\r
-                       wndPopupLinks= window.open(document.location.href, "popuplinks", strParam);\r
-               }\r
-               else\r
-                       wndPopupLinks= window.open("", "popuplinks", strParam);\r
-               wndPopupLinks.document.open("text/html");\r
-\r
-               // Close the temporary\r
-               if (wndTemp)\r
-                       wndTemp.close();\r
-\r
-               var sHTML="<html><head></head>";\r
-               sHTML+="<body onBlur=\'self.focus();\'>";\r
-               var strParaLine = "";\r
-               for (var i = 0; i < (argLen - 2) / 2; i++) {\r
-                       strParaLine = "";\r
-                       strParaLine += "<a href=\"javascript:";\r
-                       if (gbBsIE) {\r
-                               strParaLine += "onBlur=null; ";\r
-                       }\r
-                       strParaLine += "opener.location=\'";\r
-                       strParaLine += fn_arguments[2 * i + 3];\r
-                       strParaLine += "\';close();\"";\r
-                       strParaLine += strTarget;\r
-\r
-                       strParaLine += ">";\r
-                       strParaLine += fn_arguments[2 * i + 2];\r
-                       strParaLine += "</a>";\r
-                       strParaLine += "<br>";\r
-                       sHTML+=strParaLine;\r
-               }\r
-               sHTML+="</body></html>";\r
-               wndPopupLinks.document.write(sHTML);\r
-               wndPopupLinks.document.close();\r
-               window.gbInPopupMenu = true;\r
-               if (!gbBsIE) {\r
-                       wndPopupLinks.focus();\r
-               }\r
-               return false;\r
-       }\r
-\r
-       if (((argLen < 5) && ((isNaN(fn_arguments[2])) || (gbPopupMenuTopicList == null))) ||\r
-               ((argLen < 4) && ((!isNaN(fn_arguments[2])) && (gbPopupMenuTopicList != null)))) {\r
-               // Get the place that we will be putting the topic into\r
-               var strURL = "";\r
-               if (isNaN(fn_arguments[2]) ||  (gbPopupMenuTopicList == null)) {\r
-                       strURL = fn_arguments[3];\r
-               }\r
-               else    {\r
-                       strURL = gbPopupMenuTopicList[fn_arguments[2]].strURL;\r
-               }\r
-\r
-               if (targetDoc != null) {\r
-                       targetDoc.location.href = strURL;\r
-               }\r
-               else {\r
-                       if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")\r
-                               window.open(strURL, fn_arguments[1]);\r
-                       else\r
-                               window.open(strURL);\r
-               }               \r
-               window.gbInPopupMenu = true;\r
-               return false;\r
-       }\r
-       \r
-       var strMenu = "";\r
-       if (gbBsNS4&&!gbBsNS6) {\r
-               strMenu = '<TABLE BORDER="1" CELLSPACING=0 CELLPADDING=3 BGCOLOR="#c0c0c0">';\r
-       } else {\r
-               strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';\r
-               if (gbBsMac) {\r
-                       strMenu += ' CELLPADDING=4';\r
-               } else {\r
-                       strMenu += ' CELLPADDING=2';\r
-               }       \r
-               strMenu += ' BGCOLOR=#c0c0c0>';\r
-       }\r
-       // Add each of the items\r
-       var i = 2;\r
-       while (i <= argLen - 1) {\r
-               strMenu += '<TR><TD><NOBR>'\r
-               // If the destination is a number then look it up in the topic list\r
-               if (isNaN(fn_arguments[i]) ||  (gbPopupMenuTopicList == null)) {\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '"' + strTarget;\r
-               } else {\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + gbPopupMenuTopicList[fn_arguments[i]].strURL + '"' + strTarget;\r
-               }\r
-               strMenu += ' onclick="PopupMenu_HandleClick(event);"';\r
-               strMenu += ' onmouseover="PopupMenu_Over(event);"';\r
-               strMenu += ' onmouseout="PopupMenu_Out(event);"';\r
-               strMenu += '>';\r
-               if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';\r
-               } else {\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + gbPopupMenuTopicList[fn_arguments[i]].strTitle + '</SPAN>';\r
-               }\r
-               strMenu += '</A></DIV></NOBR></TD></TR>';\r
-\r
-               if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {\r
-                       i += 2;\r
-               } else {\r
-                       i += 1;\r
-               }\r
-       }\r
-       strMenu += "</TABLE>";\r
-\r
-       if (gbBsMac) {\r
-       // totally hack. because ie5 in mac need something. </TABLE> is one of them. mac is mad.\r
-               strMenu +="<TABLE></TABLE>";\r
-       }\r
-\r
-       var layerPopup = null;\r
-       var stylePopup = null;\r
-       var nEventX = 0;\r
-       var nEventY = 0;\r
-       var nWindowWidth = 0;\r
-       if (gbBsIE4 || gbBsOpera7) {\r
-\r
-               layerPopup = getElement("PopupMenu");\r
-               layerPopup.innerHTML = strMenu;\r
-               stylePopup = layerPopup.style;\r
-\r
-               _BSPSGetClientSize();\r
-\r
-               // Get the position of the item causing the event (relative to its parent)\r
-               nEventX = window.event.clientX;\r
-               nEventY = window.event.clientY;\r
-\r
-               if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {\r
-                       nEventY += document.body.scrollTop + 10;\r
-               } else {\r
-                       nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;\r
-               }\r
-               stylePopup.top = nEventY;\r
-               \r
-               var nPopupWidth = layerPopup.scrollWidth;\r
-               if (gbBsMac) {\r
-                       nPopupWidth = 80; // we have no idea how to get the dynamic width of the popup.\r
-               }\r
-               if (nEventX + nPopupWidth + 20 > gBsClientWidth) {\r
-                       if (gBsClientWidth - nPopupWidth < 5) {\r
-                               stylePopup.left = 5;\r
-                       } else {\r
-                               stylePopup.left = gBsClientWidth - nPopupWidth - 5;\r
-                       }\r
-               } else {\r
-                       stylePopup.left = nEventX + document.body.scrollLeft + 20;\r
-               }\r
-\r
-               stylePopup.visibility = "visible";\r
-               if (!gOlddocumentClick && document.onclick)\r
-                       gOlddocumentClick = document.onclick;\r
-               document.onclick = PopupMenu_HandleClick;\r
-\r
-       } else if (gbBsNS6 || gbBsKonqueror3||gbBsSafari) {\r
-               layerPopup = getElement("PopupMenu");\r
-               layerPopup.style.visibility = "hidden";\r
-       \r
-               if (gbBsNS6)\r
-               {\r
-                       var e = fn_arguments[0];\r
-                       nEventX = e.pageX;\r
-                       nEventY = e.pageY;\r
-               }\r
-               else\r
-               {\r
-                       nEventX = window.event.clientX;\r
-                       nEventY = window.event.clientY;\r
-               }\r
-               _BSPSGetClientSize();\r
-               layerPopup.innerHTML = strMenu;\r
-\r
-               if (nEventY + layerPopup.offsetHeight + 20  <  window.pageYOffset + gBsClientHeight) {\r
-                       nEventY += 20;\r
-               } else {\r
-                       nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;\r
-               }\r
-\r
-               if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {\r
-                       if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {\r
-                               nEventX = 5;\r
-                       } else {\r
-                               nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;\r
-                       }\r
-               } else {\r
-                       nEventX += 20;\r
-               }\r
-               layerPopup.style.top = nEventY;\r
-               layerPopup.style.left = nEventX;\r
-               // set again to avoid the stupid frash in netscape 6.\r
-               layerPopup.innerHTML = strMenu;\r
-               layerPopup.style.visibility = "visible";\r
-               //window.captureEvents(Event.MOUSEDOWN);\r
-               if (!gOlddocumentClick && document.onclick)\r
-                       gOlddocumentClick = document.onclick;\r
-               window.onclick = PopupMenu_HandleClick;\r
-       }\r
-       else if (gbBsNS4) {\r
-               layerPopup = document.layers.PopupMenu;\r
-               layerPopup.visibility = "hide";\r
-               stylePopup = layerPopup.document;\r
-               stylePopup.write(strMenu);\r
-               stylePopup.close();\r
-               var e = fn_arguments[0];\r
-               nEventX = e.pageX;\r
-               nEventY = e.pageY;\r
-               _BSPSGetClientSize();\r
-               if (nEventY + layerPopup.clip.height + 20 < window.pageYOffset + gBsClientHeight) {\r
-                       nEventY += 20;\r
-               } else {\r
-                       nEventY = gBsClientHeight + window.pageYOffset- layerPopup.clip.height - 20;\r
-               }\r
-               layerPopup.top = nEventY;\r
-\r
-               if (nEventX + layerPopup.clip.width + 20 > gBsClientWidth + window.pageXOffset) {\r
-                       if (gBsClientWidth + window.pageXOffset - layerPopup.clip.width < 20) {\r
-                               nEventX = 5;\r
-                       } else {\r
-                               nEventX = gBsClientWidth + window.pageXOffset - layerPopup.clip.width - 20;\r
-                       }\r
-               } else {\r
-                       nEventX += 20;\r
-               }\r
-\r
-               layerPopup.left = nEventX;\r
-\r
-               layerPopup.visibility = "show";\r
-\r
-               window.captureEvents(Event.MOUSEDOWN);\r
-               if (!gOlddocumentClick && document.onmousedown)\r
-                       gOlddocumentClick = document.onmousedown;\r
-               window.onmousedown = PopupMenu_HandleClick;\r
-       }\r
-\r
-       window.gbInPopupMenu = true;\r
-       window.gbPopupMenuTimeoutExpired = false;\r
-       setTimeout("PopupMenu_Timeout();", 100);\r
-       return false;\r
-}\r
-\r
-function PopupMenu_Timeout()\r
-{\r
-       window.gbPopupMenuTimeoutExpired = true;\r
-}\r
-\r
-function PopupMenu_Over(e)\r
-{\r
-    if (gbBsIE4||gbBsOpera7)\r
-               e.srcElement.className = "PopupOver";\r
-    else if (gbBsNS6)\r
-               e.target.parentNode.className = "PopupOver";\r
-       return;\r
-}\r
-\r
-function PopupMenu_Out(e)\r
-{\r
-    if (gbBsIE4||gbBsOpera7)\r
-               e.srcElement.className = "PopupNotOver";\r
-    else if (gbBsNS6)\r
-               e.target.parentNode.className = "PopupNotOver";\r
-       return;\r
-}\r
-\r
-function PopupMenu_HandleClick(e)\r
-{\r
-       if (window.gbPopupMenuTimeoutExpired) {\r
-               window.gbInPopupMenu = false;\r
-               if (gbBsNS4 && !gbBsNS6) {\r
-                       window.releaseEvents(Event.MOUSEDOWN);\r
-               }\r
-\r
-               var layerPopup = null;\r
-               if (gbBsNS4&&!gbBsNS6) {\r
-                       layerPopup = document.layers.PopupMenu;\r
-                       layerPopup.visibility = "hide";\r
-               } else {\r
-                       layerPopup = getElement("PopupMenu");\r
-                       layerPopup.style.visibility = "hidden";\r
-               }\r
-       \r
-               if (gOlddocumentClick)\r
-               {\r
-                       if (gbBsNS4 && !gbBsNS6)\r
-                               document.onmousedown = gOlddocumentClick;\r
-                       else\r
-                               document.onclick = gOlddocumentClick;\r
-               }\r
-       }\r
-       return;\r
-}\r
-\r
-function BSSCPopup_ClickMac()\r
-{\r
-       if ((!DHTMLPopupSupport()) && (gbBsIE4 || gbBsOpera7))\r
-       {       \r
-               var bClickOnAnchor = false;\r
-               var el;\r
-               if ((window.event != null) &&\r
-                   (window.event.srcElement != null))\r
-               {\r
-                   el = window.event.srcElement;\r
-                       while (el != null)\r
-                       {\r
-                               if ((el.tagName == "A") || (el.tagName == "AREA"))      {\r
-                                       bClickOnAnchor = true;\r
-                                       break;\r
-                               }\r
-                               if (el.tagName == "BODY") {\r
-                                       break;\r
-                               }\r
-                               el = getParentNode(el);\r
-                       }\r
-               }\r
-               if (BSSCPopup_IsPopup())\r
-               {\r
-                       if (!bClickOnAnchor) {\r
-                               parent.window.gPopupWindow = null;\r
-                               self.close();\r
-                       }\r
-               }\r
-               else\r
-               {\r
-                       bClosePopupWindow = true;\r
-                       if ((bClickOnAnchor) &&\r
-                               (el.href) &&\r
-                           ((el.href.indexOf("javascript:BSSCPopup") != -1) || (el.href.indexOf("javascript:null") != -1) || (el.href.indexOf("javascript:void(0)") != -1)))\r
-                       {\r
-                               bClosePopupWindow = false;\r
-                       }\r
-                       if (bClosePopupWindow)\r
-                       {\r
-                               if (window.gPopupWindow != null && !window.gPopupWindow.closed )\r
-                               {\r
-                                       window.gPopupWindow.close();\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function BsPopupOnClick()\r
-{\r
-       if (!gbBsIE4 && !gbBsOpera7)\r
-               return;\r
-\r
-       BSSCPopup_ClickMac();\r
-}\r
-\r
-function _BSSCOnError(message)\r
-{\r
-       if(-1 != message.indexOf("denied") \r
-               || -1 != message.indexOf("Object required"))\r
-        return true;\r
-}\r
-\r
-//End to support previous relative topics\r
-\r
-/// Section End - General and relative topics (JavaScript 1.0)\r
-\r
-/// Section Begin  - Popup (JavaScript 1.0)\r
-//Begin to support previous popup functions\r
-\r
-//variables used to isolate the browser type\r
-var gBsStyVisShow      = null;\r
-var gBsStyVisHide      = null;\r
-var gBsClientWidth     = 640;\r
-var gBsClientHeight = 480;\r
-\r
-// here is the varible for judge popup windows size. these parameter is for IE5.0, it may need adjust for others.\r
-var gBRateH_W          = 0.618; // 1.618 Golden cut.\r
-var gBMaxXOfParent     = 0.8; \r
-var gBMaxYOfParent     = 0.8;\r
-var gBscrollHeight   = 16;\r
-var gBscrollWidth   =  16;\r
-var gBpermitXDelta     = 3;\r
-var gBpermitYDelta     = 3;\r
-\r
-\r
-var arrayPopupURL = new Array();\r
-var arrayAbsPopupURL = new Array();\r
-\r
-var arrayDirty = new Array();\r
-\r
-function setAbsPopupURL(nIndex, strURL)\r
-{\r
-       arrayAbsPopupURL[nIndex] = strURL;\r
-}\r
-\r
-function getAbsPopupURL(nIndex)\r
-{\r
-       if (nIndex == -1 || arrayAbsPopupURL.length <= nIndex) return null;\r
-       else \r
-               return arrayAbsPopupURL[nIndex];\r
-}\r
-\r
-function getPopupURL(nIndex)\r
-{\r
-       if (nIndex == -1 || arrayPopupURL.length <= nIndex) return null;\r
-       else \r
-               return arrayPopupURL[nIndex];\r
-}\r
-\r
-function getPopupID(nIndex)\r
-{\r
-       return gstrPopupID + nIndex;\r
-}\r
-\r
-function getPopupShadowID(nIndex)\r
-{\r
-       return gstrPopupShadowID + nIndex;\r
-}\r
-\r
-function getPopupTopicID(nIndex)\r
-{\r
-       return gstrPopupTopicID + nIndex;\r
-}\r
-\r
-function getPopupIFrameID(nIndex)\r
-{\r
-       return gstrPopupIFrameID + nIndex;\r
-}\r
-\r
-function getPopupIFrameName(nIndex)\r
-{\r
-       return gstrPopupIFrameName + nIndex;\r
-}\r
-\r
-\r
-function getPopupTopicStyle(nIndex)\r
-{\r
-       return getElement(getPopupTopicID(nIndex)).style;\r
-}\r
-\r
-function getPopupShadowStyle(nIndex)\r
-{\r
-       return getElement(getPopupShadowID(nIndex)).style;\r
-}\r
-\r
-function getPopupIFrame(nIndex)\r
-{\r
-       if (gbBsNS6)\r
-               return eval("window.frames['" + getPopupIFrameName(nIndex) + "']");\r
-       else\r
-               return eval("document.frames['" + getPopupIFrameName(nIndex) + "']");\r
-}\r
-\r
-function getPopupDivStyle(nIndex)\r
-{\r
-       return getElement(getPopupID(nIndex)).style;\r
-}\r
-\r
-function getPopupIFrameStyle(nIndex)\r
-{\r
-       return getElement(getPopupIFrameID(nIndex)).style;\r
-}\r
-\r
-\r
-function findDiv(strURL)\r
-{\r
-       for (var i = 0; i < arrayPopupURL.length; i ++ ) {\r
-               if (arrayPopupURL[i] == strURL) {\r
-                       return i;\r
-               }\r
-       }\r
-       return -1;\r
-}\r
-\r
-var gnToken = -1;\r
-function takeToken()\r
-{\r
-       gnToken ++;\r
-       if (gnToken > 10000) gnToken = 0;\r
-       return gnToken;\r
-}\r
-\r
-function IsValidToken(nToken)\r
-{\r
-       return (gnToken == nToken);\r
-}\r
-\r
-function addDiv(strURL)\r
-{\r
-       for (var i = 0; i < arrayPopupURL.length; i ++) {\r
-               if (arrayPopupURL[i] == null) {\r
-                       arrayPopupURL[i] = strURL;\r
-                       return i;\r
-               }\r
-       }       \r
-       arrayPopupURL[i] = strURL;\r
-       arrayDirty[i] = true;\r
-       return i;\r
-}\r
-\r
-function setDirty()\r
-{\r
-       for (var i = 0; i < arrayPopupURL.length; i ++ )\r
-               arrayDirty[i] = true;\r
-}\r
-\r
-function IsDirty(nIndex)\r
-{\r
-       if (nIndex == -1)\r
-               return true;\r
-       else \r
-               if (arrayDirty.length > nIndex) \r
-                       return arrayDirty[nIndex];\r
-               else\r
-                       return true;\r
-}\r
-\r
-function hideAll()\r
-{\r
-       for (var i = 0; i < arrayPopupURL.length; i ++ )\r
-       {\r
-               getPopupDivStyle(i).visibility = gBsStyVisHide;\r
-               getPopupIFrameStyle(i).visibility = gBsStyVisHide;\r
-       }\r
-}\r
-\r
-function getCurrentPopupIFrame()\r
-{\r
-       for (var i = 0; i < arrayPopupURL.length; i ++)\r
-               if (getPopupDivStyle(i).visibility == gBsStyVisShow)\r
-                       return getPopupIFrame(i);\r
-       return null;\r
-}\r
-\r
-function setClear(nIndex)\r
-{\r
-       if (nIndex != -1)\r
-               arrayDirty[nIndex] = false;\r
-}\r
-\r
-function _BSSCCreatePopupDiv(strURL)\r
-{\r
-       var nIndex = findDiv(strURL);\r
-       if (nIndex == -1 ) {\r
-               nIndex = addDiv(strURL);\r
-               BsPopup_CreateDiv(nIndex);\r
-       }\r
-       else {\r
-               if (IsDirty(nIndex)) {\r
-                       if("object" == typeof(getPopupIFrame(nIndex).document))\r
-                               getPopupIFrame(nIndex).document.location.href = strURL;\r
-               }\r
-       }\r
-       return nIndex;\r
-}\r
-\r
-//Here is the browser type \r
-function _BSPSGetBrowserInfo()\r
-{\r
-       if (gbBsNS4&&!gbBsNS6)\r
-       {\r
-               gBsStyVisShow   = "show";\r
-               gBsStyVisHide   = "hide";\r
-       }\r
-       else\r
-       {\r
-               gBsStyVisShow   = "visible";\r
-               gBsStyVisHide   = "hidden";\r
-       }\r
-}\r
-\r
-_BSPSGetBrowserInfo();\r
-\r
-//Get client size info\r
-function _BSPSGetClientSize()\r
-{\r
-       if (gbBsNS4||gbBsKonqueror3||gbBsSafari)\r
-       {\r
-               gBsClientWidth  = innerWidth;\r
-               gBsClientHeight = innerHeight;\r
-       }\r
-       else if (gbBsIE4 || gbBsOpera7)\r
-       {\r
-               gBsClientWidth  = document.body.clientWidth;\r
-               gBsClientHeight = document.body.clientHeight;\r
-       }\r
-}\r
-\r
-var gstrPopupID = 'BSSCPopup';\r
-var gstrPopupShadowID = 'BSSCPopupShadow';\r
-var gstrPopupTopicID = 'BSSCPopupTopic';\r
-var gstrPopupIFrameID = 'BSSCPopupIFrame';\r
-var gstrPopupIFrameName = 'BSSCPopupIFrameName';\r
-\r
-var gstrPopupSecondWindowName = 'BSSCPopup';\r
-\r
-var gPopupWindow = null;\r
-var gnPopupClickX = 0;\r
-var gnPopupClickY = 0;\r
-\r
-var gnPopupScreenClickX = 0;\r
-var gnPopupScreenClickY = 0;\r
-\r
-var gbPopupTimeoutExpired = false;\r
-\r
-function DHTMLPopupSupport()\r
-{\r
-       if (((gbBsIE4) && (!gbBsMac))||gbBsOpera7|| gbBsNS7) {\r
-               return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-function BSSCPopup_IsPopup()\r
-{\r
-       if (DHTMLPopupSupport() && (this.name.indexOf(gstrPopupIFrameName) != -1)) {\r
-               return true;\r
-       } else if ((gbBsNS4 || gbBsIE4 || gbBsOpera7) && (this.name.indexOf(gstrPopupID) != -1)) {\r
-               return true;\r
-       } else {\r
-               return false;\r
-       }\r
-}\r
-\r
-// If there is a hyperlink in a popup window, display the hyperlink in\r
-// the original window. (bsscright)\r
-if (BSSCPopup_IsPopup() && !gbBsIE4 && !gbBsOpera7) {\r
-       document.write("<base target=\"bsscright\">");\r
-}\r
-\r
-// Local functions.\r
-function BsPopup_CreateDiv(nIndex)\r
-{\r
-       if(!DHTMLPopupSupport())\r
-               return;\r
-       // DO NOT SET Width and height for the div, otherwize it will make IE4 popup do not work when view the topic alone.\r
-       var strPopupDiv = "<DIV ID='" + getPopupID(nIndex) + "' STYLE='position:absolute; top:-100; left:0; z-index:600; visibility:hidden;'>";\r
-       strPopupDiv += "<DIV ID='" + getPopupShadowID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0;  background-color:#C0C0C0;\"></DIV>";\r
-       strPopupDiv += "<DIV ID='" + getPopupTopicID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0;  background-color:#FFFFFF;border:1px #000000 outset;\">";\r
-       strPopupDiv += "<IFRAME title=\"Popup Window\" ID='" + getPopupIFrameID(nIndex) + "' name='" + getPopupIFrameName(nIndex) + "' src = '" + getPopupURL(nIndex) + "' frameborder=0 scrolling=auto></IFRAME>";\r
-       strPopupDiv += "</DIV></DIV>";\r
-\r
-       var objBody = getElementsByTag(document, "BODY")[0];\r
-       if( typeof(objBody) != "object" )\r
-               return;\r
-\r
-       insertAdjacentHTML(objBody, "beforeEnd", strPopupDiv);\r
-}\r
-\r
-function handleLoadNS()\r
-{\r
-       if (this.id)\r
-       {\r
-               var nIndex = parseInt(this.id.substring(gstrPopupIFrameID.length));\r
-               BSSCPopup_PostWork(nIndex);\r
-       }\r
-}\r
-\r
-function BSSCPopup_PostWork(nIndex)\r
-{\r
-       getPopupDivStyle(nIndex).visibility = gBsStyVisShow;\r
-       getPopupIFrameStyle(nIndex).visibility =gBsStyVisShow;\r
-\r
-       setClear(nIndex);\r
-       window.gbPopupTimeoutExpired = true;\r
-\r
-       BSSCPopup_ChangeTargettoParent(getPopupIFrame(nIndex).document);\r
-       if (gbBsNS6)\r
-               getPopupIFrame(nIndex).document.body.addEventListener("click",BSSCPopupClicked,false);\r
-       else\r
-               getPopupIFrame(nIndex).document.body.onclick = BSSCPopupClicked;\r
-\r
-       if (!gbOrignalOnMouseDown && document.onmousedown)\r
-               gbOrignalOnMouseDown = document.onmousedown;\r
-\r
-       if (gbBsNS6)\r
-               document.addEventListener("mousedown", BSSCPopupParentClicked,false);\r
-       else\r
-               document.onmousedown = BSSCPopupParentClicked;\r
-}\r
-\r
-function BSSCPopup_Timeout(nIndex, nToken)\r
-{\r
-    if (!IsValidToken(nToken)) return;\r
-\r
-       if (gbBsNS6||((getPopupIFrame(nIndex).document.readyState == "complete") &&\r
-               (getPopupIFrame(nIndex).document.body != null))) {\r
-               BSSCPopup_PostWork(nIndex);\r
-       } else {\r
-               setTimeout("BSSCPopup_Timeout(" + nIndex + "," + nToken + ")", 100);\r
-       }\r
-}\r
-\r
-// VH 08/10/00 \r
-// do not change target to parent if the href is using javascript\r
-function BSSCPopup_ChangeTargettoParent(tagsObject)\r
-{\r
-       var collA = getElementsByTag(tagsObject, "A");\r
-       BSSCPopup_ChangeTargettoParent2(collA);\r
-\r
-       var collIMG = getElementsByTag(tagsObject,"IMG");\r
-       BSSCPopup_ChangeTargettoParent2(collIMG);\r
-}\r
-\r
-function BSSCPopup_ChangeTargettoParent2(colls)\r
-{\r
-       if (colls != null)  {\r
-               for (var j = 0; j < colls.length; j ++ )\r
-               {\r
-                       var strtemp = colls[j].href;\r
-                       if (strtemp)\r
-                       {\r
-                               strtemp = strtemp.toLowerCase();\r
-                               if (strtemp.indexOf("javascript:") == -1)\r
-                               if (colls[j].target == "")\r
-                                       colls[j].target = "_parent";\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function BSPSPopupTopicWinHelp(strURL)\r
-{\r
-       _BSSCPopup(strURL);\r
-       return;\r
-}\r
-\r
-function _BSSCPopup(strURL, width, height)\r
-{\r
-       var cuswidth = 0;\r
-       var cusheight = 0;\r
-       if ("undefined" != typeof(width) && "undefined" != typeof(height)) {\r
-               cuswidth = width;\r
-               cusheight= height;\r
-       }\r
-       \r
-       if (DHTMLPopupSupport()) {\r
-               var nToken = takeToken(); // take  token first.\r
-               var nIndex = _BSSCCreatePopupDiv(strURL);\r
-               window.gbPopupTimeoutExpired = false;\r
-               var ntWidth = gBsClientWidth;\r
-               var ntHeight = gBsClientHeight;\r
-               _BSPSGetClientSize();\r
-               if (ntWidth != gBsClientWidth || ntHeight != gBsClientHeight) {\r
-                       setDirty();\r
-               }\r
-\r
-               if (IsDirty(nIndex)) {\r
-                       if (gbBsMac) {\r
-                               setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight  +")", 400);\r
-                       } else {\r
-                               setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 100);\r
-                       }\r
-               }\r
-               else {\r
-                       MoveDivAndShow(nIndex ,nToken, cuswidth, cusheight);\r
-               }\r
-       } else {\r
-               _BSSCPopup2(strURL, cuswidth, cusheight);\r
-       }\r
-       return;\r
-}\r
-\r
-if (gbBsIE55)\r
-{\r
-       var ehlpdhtm_fOldBefureUnload = window.onbeforeunload;\r
-       var gnBsUnload=0;\r
-       window.onbeforeunload = window_BUnload;\r
-}\r
-       \r
-function window_BUnload()\r
-{\r
-       gnBsUnload++;\r
-       if (gnBsUnload>1)\r
-               return;\r
-       for (var i = 0; i < arrayPopupURL.length; i ++)\r
-               removeThis(document.all(getPopupID(i)));\r
-       arrayPopupURL.length = 0;       \r
-       if (ehlpdhtm_fOldBefureUnload)\r
-               ehlpdhtm_fOldBefureUnload();\r
-}\r
-\r
-function _BSSCPopup2(strURL, width, height)\r
-{\r
-       if (gbBsOpera6&&gbBsMac)\r
-       {\r
-               var wmTemp = window.open(document.location.href, gstrPopupSecondWindowName);\r
-               wmTemp.close();\r
-               setTimeout("_BSSCPopup3(\""+strURL+"\","+width+","+height+");",100);\r
-       }\r
-       else\r
-               _BSSCPopup3(strURL, width, height);\r
-}\r
-               \r
-function _BSSCPopup3(strURL, width, height)\r
-{\r
-       if (window.name == gstrPopupSecondWindowName) {\r
-               window.location = strURL;\r
-       } else {\r
-               if (!gbBsMac || !gbBsNS4) {\r
-                       BSSCHidePopupWindow();\r
-               }\r
-               var nX = 0;\r
-               var nY = 0;\r
-               var nHeight = 300;\r
-               var nWidth = 400;\r
-               if (width > 0 && height > 0) {\r
-                       nHeight = height;\r
-                       nWidth = width;\r
-               }\r
-               _BSPSGetClientSize();\r
-\r
-               nX = window.gnPopupScreenClickX;\r
-               nY = window.gnPopupScreenClickY;\r
-\r
-               if (nY + nHeight + 40 > screen.availHeight) {\r
-                       nY = screen.availHeight - nHeight - 40;\r
-               }\r
-               if (nX + nWidth + 40 > screen.availWidth) {\r
-                       nX = screen.availWidth - nWidth - 40;\r
-               }\r
-\r
-               // Launch a separate window\r
-               var strParam="titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes";\r
-               if (gbBsNS) {\r
-                       if (gbBsNS6) {\r
-                               strParam += ",Height=" + nHeight + ",Width=" + nWidth;\r
-                               strParam += ",screenX=" + nX + ",screenY=" + nY;\r
-                               strParam += ",dependent=yes";\r
-                       }\r
-                       else {\r
-                               strParam += ",OuterHeight=" + nHeight + ",OuterWidth=" + nWidth;\r
-                               strParam += ",screenX=" + nX + ",screenY=" + nY;\r
-                               strParam += ",dependent=yes";\r
-                       }\r
-               }\r
-               else {\r
-                       strParam += ",height=" + nHeight + ",width=" + nWidth;\r
-                       strParam += ",left=" + nX + ",top=" + nY;\r
-               }\r
-               if (gbBsSafari)\r
-               {\r
-                       if (window.gPopupWindow)\r
-                               window.gPopupWindow.close();            \r
-                       window.gPopupWindow = window.open(strURL, "", strParam);\r
-                       window.gPopupWindow.name = gstrPopupSecondWindowName;\r
-                       window.gPopupWindow.moveTo(nX, nY);\r
-                       widnow.gPopupWindow.document.location.reload();\r
-               }       \r
-               else\r
-               {\r
-                       var wmTemp=null;\r
-                       if (gbBsKonqueror3)\r
-                       {\r
-                               if (window.gPopupWindow)\r
-                                       window.gPopupWindow.close();\r
-                       }\r
-                       if (gbBsOpera&&gbBsMac)\r
-                       {\r
-                               wmTemp= window.open(document.location.href, "Temp", strParam);\r
-                       }\r
-                       window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam);\r
-                       if (!gbBsIE)\r
-                               window.gPopupWindow.focus();\r
-                               \r
-                       if (wmTemp)\r
-                               wmTemp.close();\r
-               }\r
-\r
-               if (gbBsNS4)\r
-                       setEventHandle();\r
-               else if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3)\r
-                       setTimeout("setPopupFocus();", 100);\r
-       }\r
-       return;\r
-}\r
-\r
-function setEventHandle()\r
-{\r
-       window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUR);\r
-       window.gPopupWindow.onclick = NonIEPopup_HandleClick;\r
-       window.gPopupWindow.onblur = NonIEPopup_HandleBlur;\r
-}\r
-\r
-function setPopupFocus()\r
-{\r
-       window.gPopupWindow.focus();\r
-}\r
-\r
-function NonIEPopup_HandleBlur(e)\r
-{\r
-       window.gPopupWindow.focus();\r
-}\r
-\r
-function NonIEPopup_HandleClick(e)\r
-{\r
-       // Because navigator will give the event to the handler before the hyperlink, let's\r
-       // first route the event to see if we are clicking on a Popup menu in a popup.\r
-       document.routeEvent(e);\r
-\r
-       // If a popup menu is active then don't do anything with the click\r
-       if (window.gPopupWindow.gbInPopupMenu) {\r
-               window.gPopupWindow.captureEvents(Event.CLICK);\r
-               window.gPopupWindow.onclick = NonIEPopup_HandleClick;\r
-               return false;\r
-       }\r
-\r
-       // Close the popup window\r
-       if(e.target.href)\r
-       {\r
-               if(e.target.href.indexOf("javascript:")==-1) \r
-               {\r
-                       if (e.target.target=="")\r
-                               window.location.href = e.target.href;\r
-                       else\r
-                               window.open(e.target.href, e.target.target);\r
-                       this.close();\r
-               }\r
-       } \r
-       else\r
-               this.close();\r
-       return false;\r
-}\r
-\r
-function BSSCPopup_AfterLoad(nIndex, nToken, cuswidth, cusheight)\r
-{      \r
-       if (!window.getPopupIFrame(nIndex).document) {\r
-               _BSSCPopup2(getPopupURL(nIndex), cuswidth, cusheight);\r
-               return;\r
-       }\r
-       \r
-    if (!IsValidToken(nToken)) return;\r
-\r
-       if (gbBsNS6)\r
-       {\r
-               setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.\r
-               BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);\r
-               return;\r
-       }\r
-       \r
-       if ((window.getPopupIFrame(nIndex).document.readyState == "complete") &&\r
-               (window.getPopupIFrame(nIndex).document.body != null)) {\r
-                       if (window.getPopupIFrame(nIndex).document.location.href.indexOf("about:blank") != -1) { // add this check. IE will use about:blank" as the default vaule for Iframe.\r
-                               window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);\r
-                               setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);\r
-                       }\r
-                       else\r
-                               {\r
-                                       setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.\r
-                                       BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);\r
-                               }\r
-       } else {\r
-               setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);\r
-       }\r
-}\r
-\r
-function BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight)\r
-{\r
-       if (window.gbPopupTimeoutExpired) return;\r
-\r
-    if (!IsValidToken(nToken)) return;\r
-\r
-       getPopupDivStyle(nIndex).visibility = gBsStyVisHide;\r
-       getPopupIFrameStyle(nIndex).visibility = gBsStyVisHide;\r
-\r
-       // Determine the width and height for the window\r
-       _BSPSGetClientSize();\r
-\r
-       var size = new BSSCSize(0, 0);\r
-\r
-       if (cuswidth <= 0 || cusheight <= 0)\r
-               BSSCGetContentSize(window.getPopupIFrame(nIndex), size);\r
-       else {\r
-               size.x = cuswidth;\r
-               size.y = cusheight;\r
-       }\r
-\r
-       // Determine the width and height for the window\r
-       var nWidth = size.x;\r
-       var nHeight = size.y;\r
-\r
-       // for small popup size, we should allow any size.\r
-       // The popup size should be ok if bigger than 0\r
-       if (nWidth < 0 || nHeight < 0) return;  // there must be something terribly wrong.              \r
-\r
-       getPopupDivStyle(nIndex).width = nWidth;\r
-       getPopupDivStyle(nIndex).height = nHeight;\r
-\r
-       getPopupShadowStyle(nIndex).width = nWidth;\r
-       getPopupShadowStyle(nIndex).height = nHeight;\r
-       getPopupTopicStyle(nIndex).width = nWidth;\r
-       getPopupTopicStyle(nIndex).height = nHeight;\r
-       if (gbBsIE55)\r
-       {\r
-               getPopupShadowStyle(nIndex).width = nWidth + 2;\r
-               getPopupShadowStyle(nIndex).height = nHeight + 2;\r
-               getPopupTopicStyle(nIndex).width = nWidth + 2;\r
-               getPopupTopicStyle(nIndex).height = nHeight + 2;\r
-       }\r
-\r
-       getPopupIFrameStyle(nIndex).width = nWidth;\r
-       getPopupIFrameStyle(nIndex).height = nHeight;\r
-       if (gbBsIE55 || gbBsNS6)\r
-       {\r
-               getPopupIFrameStyle(nIndex).top = 0;\r
-               getPopupIFrameStyle(nIndex).left = 0;\r
-       }\r
-       \r
-       var strURL = getPopupURL(nIndex);\r
-       if (strURL.indexOf("#") != -1&&gbBsNS6)\r
-               getPopupIFrame(nIndex).location.reload();\r
-       else if (strURL.indexOf("#") != -1||gbBsNS6)\r
-               getPopupIFrame(nIndex).location.href = strURL;  // reload again, this will fix the bookmark misunderstand in IE5.\r
-               \r
-       MoveDivAndShow(nIndex, nToken, cuswidth, cusheight);\r
-}\r
-\r
-function getScrollLeft()\r
-{\r
-       if (document.body.scrollLeft)\r
-               return document.body.scrollLeft;\r
-       else if (window.pageXOffset)\r
-               return window.pageXOffset;\r
-       else\r
-               return 0;\r
-}\r
-\r
-function getScrollTop()\r
-{\r
-       if (document.body.scrollTop)\r
-               return document.body.scrollTop;\r
-       else if (window.pageYOffset)\r
-               return window.pageYOffset;\r
-       else\r
-               return 0;\r
-}\r
-\r
-\r
-function MoveDivAndShow(nIndex, nToken, cuswidth, cusheight)\r
-{\r
-       if (window.getPopupIFrame(nIndex).document.location.href != getAbsPopupURL(nIndex)) { // if redirect, reload again.\r
-                       window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);\r
-                       setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);\r
-                       return;\r
-       }\r
-\r
-       // Determine the position of the window\r
-       var nClickX = window.gnPopupClickX;\r
-       var nClickY = window.gnPopupClickY;\r
-       var nTop = 0;\r
-       var nLeft = 0;\r
-\r
-       var nWidth = parseInt(getPopupDivStyle(nIndex).width);\r
-       var nHeight = parseInt(getPopupDivStyle(nIndex).height);\r
-\r
-       if (nClickY + nHeight + 20 < gBsClientHeight + getScrollTop()) {\r
-               nTop = nClickY + 10;\r
-       } else {\r
-               nTop = (getScrollTop() + gBsClientHeight) - nHeight - 20;\r
-       }\r
-       if (nClickX + nWidth < gBsClientWidth + getScrollLeft()) {\r
-               nLeft = nClickX;\r
-       } else {\r
-               nLeft = (getScrollLeft() + gBsClientWidth) - nWidth - 8;\r
-       }\r
-\r
-       if (nTop < getScrollTop()) nTop  = getScrollTop() + 1;\r
-       if (nLeft< getScrollLeft())  nLeft = getScrollLeft() + 1;\r
-\r
-       getPopupDivStyle(nIndex).left = nLeft;\r
-       getPopupDivStyle(nIndex).top = nTop;\r
-\r
-       // Set the location of the background blocks\r
-       getPopupShadowStyle(nIndex).left = 6;\r
-       getPopupShadowStyle(nIndex).top = 6;\r
-       if (gbBsIE55)\r
-       {\r
-               getPopupShadowStyle(nIndex).left = 4;\r
-               getPopupShadowStyle(nIndex).top = 4;\r
-       }\r
-\r
-       if (gbBsMac&&gbBsIE4) {\r
-               // Total hack on the iMac to get the IFrame to position properly\r
-               getPopupIFrameStyle(nIndex).pixelLeft = 100;\r
-               getPopupIFrameStyle(nIndex).pixelLeft = 0;\r
-               // Explicitly call BSSCOnLoad because the Mac doesn't seem to do it\r
-               getPopupIFrame(nIndex).window.BSSCOnLoad();\r
-       }\r
-\r
-       if (gbBsNS6&&IsDirty(nIndex))\r
-               getElement(getPopupIFrameID(nIndex)).addEventListener("load", handleLoadNS, false);\r
-       else\r
-               BSSCPopup_Timeout(nIndex , nToken );\r
-       return;\r
-}\r
-\r
-function       BSSCSize(x, y)\r
-{\r
-       this.x = x;\r
-       this.y = y;\r
-}\r
-\r
-function BSSCGetContentSize(thisWindow, size)\r
-{\r
-       if (!gbBsIE4 && !gbBsOpera7 && !gbBsNS4)\r
-               return;\r
-\r
-       if ((gbBsMac&&gbBsIE4)||gbBsNS4||gbBsOpera7) {\r
-               size.x = 320;\r
-               size.y = 180;\r
-               return;\r
-       }\r
-\r
-       // Resize the width until it is wide enough to handle the content\r
-       // The trick is to start wide and determine when the scrollHeight changes\r
-       // because then we know a scrollbar is necessary. We can then go back\r
-       // to the next widest size (for no scrollbar)\r
-\r
-       var ClientRate = gBsClientHeight / gBsClientWidth;\r
-\r
-       \r
-       var GoldenSize = new BSSCSize(0,0);\r
-       GoldenSize.x = gBsClientWidth * gBMaxXOfParent;\r
-       GoldenSize.y = gBsClientHeight *gBMaxYOfParent ;\r
-\r
-       if (ClientRate > gBRateH_W) {\r
-               GoldenSize.y = GoldenSize.x * gBRateH_W;\r
-       }\r
-       else {\r
-               GoldenSize.x = GoldenSize.y / gBRateH_W;\r
-       }\r
-\r
-       // Try to using parent specified max x.\r
-       var x = 0;\r
-       var maxgoldx = GoldenSize.x;\r
-       var maxx = gBsClientWidth * gBMaxXOfParent;\r
-       \r
-       // This double resize causes the document to re-render (and we need it to)\r
-       if (!gbBsIE5)\r
-               thisWindow.moveTo(10000,10000); // this is used to fix the flash on IE4.\r
-               \r
-       thisWindow.resizeTo(1, 1);\r
-       thisWindow.resizeTo(1, 1);\r
-       thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);\r
-       thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);\r
-               \r
-       var miny = thisWindow.document.body.scrollHeight + gBscrollHeight;\r
-       \r
-       if (miny > GoldenSize.y) // the popup does not fix in the parent wanted golden area. so try to expand itself as large as it can\r
-       {\r
-               thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);\r
-               thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);\r
-               \r
-               miny =  thisWindow.document.body.scrollHeight + gBscrollHeight;\r
-               maxy = gBsClientHeight * gBMaxYOfParent;\r
-               \r
-               if (miny > maxy) { // the popup must have a scroll, OK let it be.\r
-                       miny = maxy;\r
-                       size.x = maxx;\r
-                       size.y = maxy;\r
-                       thisWindow.document.body.scroll = 'yes'; // At this time we do want to show scroll any more. so it will looks better a little.\r
-               }\r
-               else { // popup still can fit in the parent area by someway. now we choose the same h/w rate as parent.\r
-                       size.y = miny;\r
-                       \r
-                       //  downsize from maxx , now I try to using binary divide.\r
-                       x = maxx;\r
-                       deltax = -maxx/2;\r
-                       //j = 0;\r
-                       while (true) {\r
-                               x = x + deltax;\r
-                               thisWindow.resizeTo(x, miny);\r
-                               thisWindow.resizeTo(x, miny);\r
-                               diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * ClientRate;\r
-                               if (diffy >  gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter\r
-                                       deltax = Math.abs(deltax) /2;\r
-                               else if (diffy <  -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter\r
-                                       deltax = -Math.abs(deltax) /2;\r
-                               else \r
-                                       // the y is close enough to wanted.\r
-                                       break;\r
-                               if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.\r
-                                       break;\r
-                       }\r
-                       size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;\r
-                       size.y = thisWindow.document.body.scrollHeight;// + gBscrollHeight;     \r
-                       thisWindow.document.body.scroll = 'no';\r
-               }\r
-       }\r
-       else {\r
-               if (thisWindow.document.body.scrollWidth > maxgoldx) {\r
-                       size.x = maxx; \r
-                       size.y = miny;  \r
-                       thisWindow.document.body.scroll = 'yes';\r
-               }\r
-               else {\r
-                       //  downsize from maxgoldx , now I try to using binary divide.\r
-                       x = maxgoldx;\r
-                       deltax = -maxgoldx/2;\r
-                       while (true) {\r
-                               x = x + deltax;\r
-                               thisWindow.resizeTo(x, miny);\r
-                               thisWindow.resizeTo(x, miny);\r
-                               diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * gBRateH_W;\r
-                               if (diffy >  gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter\r
-                                       deltax = Math.abs(deltax) /2;\r
-                               else if (diffy <  -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter\r
-                                       deltax = -Math.abs(deltax) /2;\r
-                               else \r
-                                       // the y is close enough to wanted.\r
-                                       break;\r
-                               if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.\r
-                                       break;\r
-                       }\r
-                       size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;\r
-                       size.y = thisWindow.document.body.scrollHeight ;\r
-                       thisWindow.document.body.scroll = 'no'; // At this time we do not want to show scroll any more. so it will looks better a little.\r
-                       thisWindow.resizeTo(size.x, size.y);\r
-                       if (thisWindow.document.body.scrollWidth > size.x)\r
-                       {\r
-                               size.x = thisWindow.document.body.scrollWidth;\r
-                       }\r
-                       if (thisWindow.document.body.scrollHeight > size.y)\r
-                       {\r
-                               size.y = thisWindow.document.body.scrollHeight;\r
-                       }\r
-               }\r
-       }\r
-       thisWindow.resizeTo(size.x, size.y);\r
-       thisWindow.resizeTo(size.x, size.y);\r
-       return;\r
-}\r
-\r
-function BSSCPopupParentClicked()\r
-{\r
-       if (!window.gbPopupTimeoutExpired) {\r
-               return false;\r
-       }\r
-       \r
-       document.onmousedown = gbOrignalOnMouseDown;\r
-\r
-       // Simply hide the popup\r
-       hideAll();\r
-\r
-       window.gbPopupTimeoutExpired = false;\r
-\r
-       return true;\r
-}\r
-\r
-function isInsideHyperLink(obj)\r
-{\r
-       if (obj&&obj!=getParentNode(obj))\r
-       {\r
-               if (obj.tagName=="A"||obj.tagName=="IMG")\r
-                       return true;\r
-               else\r
-                       return isInsideHyperLink(getParentNode(obj));\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function BSSCPopupClicked(e)\r
-{\r
-       if (!window.gbPopupTimeoutExpired) {\r
-               return false;\r
-       }\r
-\r
-       var popupIFrame = getCurrentPopupIFrame();\r
-       if (popupIFrame == null) {\r
-               return true;\r
-       }\r
-\r
-       if (gbBsIE4 && (!((popupIFrame.window.event != null) &&\r
-               (popupIFrame.window.event.srcElement != null) &&\r
-               isInsideHyperLink(popupIFrame.window.event.srcElement)))) {\r
-               document.onmousedown = gbOrignalOnMouseDown;\r
-               \r
-               // Simply hide the popup\r
-               hideAll();\r
-               window.gbPopupTimeoutExpired = false;\r
-               return true;\r
-       }\r
-       else if (gbBsNS6 && (!((e != null) &&\r
-                       (e.target!= null) && isInsideHyperLink(e.target))))\r
-       {\r
-               document.addEventListener("mousedown", gbOrignalOnMouseDown,false);\r
-               // Simply hide the popup\r
-               hideAll();\r
-               window.gbPopupTimeoutExpired = false;\r
-               return true;            \r
-       }\r
-}\r
-\r
-//trace the mouse over's position for hotspot\r
-function  BSPSPopupOnMouseOver(event)\r
-{\r
-       if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) {\r
-               window.gnPopupClickX = event.clientX + getScrollLeft();\r
-               window.gnPopupClickY = event.clientY + getScrollTop();\r
-               window.gnPopupScreenClickX = event.screenX;\r
-               window.gnPopupScreenClickY = event.screenY;\r
-       } else if (gbBsSafari) {\r
-               window.gnPopupClickX = event.clientX + getScrollLeft();\r
-               window.gnPopupClickY = event.clientY + getScrollTop();\r
-               window.gnPopupScreenClickX = event.screenX + window.screenX;\r
-               window.gnPopupScreenClickY = event.screenY + window.screenY;\r
-       } else if (gbBsNS4) {\r
-               window.gnPopupClickX = event.pageX - window.pageXOffset;\r
-               window.gnPopupClickY = event.pageY - window.pageYOffset;\r
-               window.gnPopupScreenClickX = event.screenX - window.pageXOffset;\r
-               window.gnPopupScreenClickY = event.screenY - window.pageYOffset;\r
-       }\r
-}\r
-\r
-function BSSCHidePopupWindow()\r
-{\r
-       if (window.gPopupWindow != null) {\r
-               if (gbBsNS4) {\r
-                       if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) {\r
-                               window.gPopupWindow.close();\r
-                               window.gPopupWindow = null;\r
-                       }\r
-               }\r
-       }\r
-       return;\r
-}\r
-\r
-// Add the PopupOnClick to the onclick array.\r
-if (typeof(BsscRegisterOnClick) != "undefined")\r
-{\r
-       BsscRegisterOnClick(BsPopupOnClick);\r
-}\r
-//End to support previous popup functions\r
-\r
-/// Section End  - Popup (JavaScript 1.0)\r
-\r
-/// Section Begin - Embedded Stub (JavaScript 1.0)\r
-\r
-function BSSCCreatePopupDiv()\r
-{\r
-       return;\r
-}\r
-\r
-function WritePopupMenuLayer()\r
-{\r
-       if (BsscHasExtJs()) {_WritePopupMenuLayer();}\r
-}\r
-\r
-function BSSCPopup(strURL, width, height)\r
-{\r
-       var re = new RegExp("'", 'g');\r
-       strURL = strURL.replace(re, "%27");\r
-\r
-       if (BsscHasExtJs())     { \r
-               _BSSCPopup(strURL, width, height);\r
-       }else{\r
-               //Create a temporary window first to ensure the real popup comes up on top\r
-               var wndTemp = null;\r
-               if (!gbBsNS3) {\r
-                       wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");\r
-               }\r
-               // Create the real popup window\r
-               var wndPopup = window.open(strURL, "BSSCPopup", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400");\r
-               // Close the temporary\r
-               if (!gbBsNS3) {\r
-                       wndTemp.close();\r
-               } else {\r
-                       wndPopup.focus();\r
-               }\r
-       }\r
-}\r
-\r
-var gbWndTemp = null, gbWndPopupLinks = null;\r
-var gbstrParaTotal = "";\r
-\r
-function PopupMenu_Invoke()\r
-{\r
-       if (typeof(wfRelatedTopic) == 'function' && typeof(IsFlashSupported) == 'function')\r
-       {\r
-               if (Number(gsSkinVersion) > 2 && IsFlashSupported())\r
-               {\r
-                       return wfRelatedTopic(PopupMenu_Invoke.arguments);\r
-               }\r
-       }\r
-       if (BsscHasExtJs()) {\r
-               return _PopupMenu_Invoke(PopupMenu_Invoke.arguments);\r
-       }\r
-       if (gbBsNS3Before || gbBsIE3Before )    {\r
-               var argLen      = PopupMenu_Invoke.arguments.length;\r
-               if (argLen < 5) {\r
-                       window.document.location.href = PopupMenu_Invoke.arguments[3];\r
-                       return false;\r
-               }\r
-               gbWndTemp = null;\r
-               gbWndPopupLinks = null;\r
-               gbstrParaTotal = "";\r
-               for (var i = 0; i < (argLen - 2) / 2; i++) {\r
-                       var strParaLine = "";\r
-                       if (gbBsNS2){\r
-                               strParaLine += "<a href=\"";\r
-                               strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];\r
-                               strParaLine += "\">"\r
-                               strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];\r
-                               strParaLine += "</a>";\r
-                       } else {\r
-                               strParaLine += "<a href=\"javascript:";\r
-                               strParaLine += "gotoUrl(\'";\r
-                               strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];\r
-                               strParaLine += "\');\"";\r
-                               if (PopupMenu_Invoke.arguments[1] != '') {\r
-                                       strParaLine += " TARGET='" + PopupMenu_Invoke.arguments[1] + "'";\r
-                               }\r
-                               strParaLine += ">";\r
-                               strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];\r
-                               strParaLine += "</a>";\r
-                       }\r
-                       strParaLine += "<br>";\r
-                       gbstrParaTotal += strParaLine;\r
-               }\r
-               var nHeight = argLen * 15;\r
-               var nWidth = 400;\r
-               var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";\r
-               strParam += ",height=" + nHeight + ",width=200,resizable";\r
-               \r
-               //Create a temporary window first to ensure the real popup comes up on top\r
-               //var wndTemp = null;\r
-               if (!gbBsNS3) {\r
-                       gbWndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");\r
-               } \r
-               gbWndPopupLinks = window.open("", "popuplinks", strParam);\r
-\r
-               setTimeout("Wait_PopupMenuReady()", 100);\r
-       }\r
-       return true;\r
-}\r
-\r
-function Wait_PopupMenuReady() \r
-{\r
-       if (gbWndPopupLinks != null && "object" == typeof(gbWndPopupLinks.document)) {\r
-               PopupMenu_InvokeReady();\r
-       }\r
-       else \r
-               setTimeout("Wait_PopupMenuReady()", 100);\r
-}\r
-\r
-function PopupMenu_InvokeReady()\r
-{\r
-       if (gbWndPopupLinks != null) {\r
-               gbWndPopupLinks.document.open("text/html");\r
-               gbWndPopupLinks.document.write("<html><head>");\r
-               if (gbBsNS2) {\r
-                       gbWndPopupLinks.document.write("<base href=\"" + location +"\">");\r
-               } else {\r
-                       //YJ: IE301,302 and NS3.x works fine\r
-                       gbWndPopupLinks.document.write("<");\r
-                       gbWndPopupLinks.document.write("script>");\r
-                       gbWndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}");\r
-                       gbWndPopupLinks.document.write("<");\r
-                       gbWndPopupLinks.document.write("/script>");\r
-               }\r
-               gbWndPopupLinks.document.write("</head><body onBlur=\'self.focus();\'>");\r
-               gbWndPopupLinks.document.write(gbstrParaTotal);\r
-               gbWndPopupLinks.document.write("</body></html>");\r
-               gbWndPopupLinks.document.close();\r
-\r
-               // Close the temporary\r
-               if (!gbBsNS3 && gbWndTemp != null) {\r
-                       gbWndTemp.close();\r
-               }else {\r
-                       gbWndPopupLinks.focus();\r
-               }\r
-\r
-               return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-/// Section End - Embedded Stub (JavaScript 1.0)\r
-\r
-//// Segment End -- (JavaScript 1.0)\r
-\r
-//// Segment Begin -- (JavaScript 1.2)\r
-/// Section Begin  - kadov DHTM (JavaScript 1.2)\r
-\r
-//Begin to support extended and dropdown text effects.\r
-function kadovIsParagraph(el)\r
-{\r
-       return( el.tagName == "P" || el.tagName.indexOf("H") == 0 ) ? true : false;\r
-}\r
-\r
-function kadovInitEachChild(el)\r
-{      \r
-       for(var i=0; i<getChildNodes(el).length; i++)\r
-       {\r
-               var child = getChildNodes(el)[i];\r
-               if( child.tagName == "SCRIPT" || child.tagName == "!" )\r
-                       continue;\r
-\r
-               if( child.id != "" )\r
-               {\r
-                       // to wipe out the onload effects\r
-                       if (gbBsIE4&&!gbBsMac)\r
-                       {\r
-                               var onLoadEffect = child.style.getAttribute( "x-on-pageload" );\r
-                               if( (onLoadEffect != null) && (onLoadEffect > "") )\r
-                                       child.style.setAttribute( "x-on-pageload", "" );\r
-                       }\r
-                       \r
-                       var href = child.getAttribute("href")\r
-                       if( href != null && href > "" && href.indexOf( "BSSCPopup" ) >= 0 )\r
-                               kadovFilePopupInit(child.id); // Init for Popup\r
-                       else if( child.className == "dropspot" || child.className == "expandspot" || \r
-                                        child.className == "glossterm" )\r
-                               kadovTextPopupInit(child.id);// Init for Expanding/Glossary or DropDown text\r
-                       else if( child.className == "trigger")\r
-                               kadovInitTrigger(child.id);// Init for Trigger\r
-                       else\r
-                       {\r
-                               kadovInitEffects(child.id);// Init for DHTML effects\r
-                               CEngine.SetOneTargetInitialState( child.id );\r
-                       }\r
-               }\r
-               \r
-               if( (child.tagName == "IMG") && (child.getAttribute("dynsrc") > "") )\r
-                       child.start = "mouseover";// to start a AVI file. fileopen doesn't work\r
-\r
-               kadovInitEachChild(child);\r
-       }\r
-}\r
-\r
-function kadovRetrieveTextInner(el)\r
-{      \r
-       var x = "";\r
-       if( (!el) || (el.tagName == "!") || (el.tagName == "SCRIPT" ))\r
-               return x;\r
-\r
-       if( kadovIsParagraph(el) )\r
-       {\r
-               var strNewID = " ";\r
-               if( el.id != "" )\r
-                       strNewID += "id=" + el.id + "_NewSpan ";\r
-               x = "<span" + strNewID + "style='" + el.style.cssText + "'>" + el.innerHTML + "</span>";\r
-       }\r
-       else\r
-       {\r
-               for(var i=0; i<getChildNodes(el).length; i++)\r
-                       x += kadovRetrieveTextInner( getChildNodes(el)[i] );\r
-       }\r
-       return x;\r
-}\r
-\r
-function kadovRetrieveCleanHTML( strRawHTML, strTagOpen, strTagClose, nDistance )\r
-{      \r
-       var nTagOpen = strRawHTML.indexOf( strTagOpen, 0 );\r
-       if( nTagOpen < 0 )\r
-               return strRawHTML;\r
-\r
-       var nTagClose = strRawHTML.indexOf( strTagClose, nTagOpen);\r
-       if( nTagClose < nTagOpen )\r
-               return strRawHTML;\r
-               \r
-       if( typeof(nDistance) == "number" && nDistance > 0 )\r
-               if( (nTagClose - nTagOpen) != nDistance )\r
-                       return strRawHTML;\r
-               \r
-       var strCleanOnce = strRawHTML.substring(0, nTagOpen) + strRawHTML.substr(nTagClose + strTagClose.length) ;\r
-       return  kadovRetrieveCleanHTML( strCleanOnce, strTagOpen, strTagClose );\r
-}\r
-\r
-function kadovAdjustObjectTag(strRawHTML, nStartPos)\r
-{// adjust object tag for related topics HTML control, because innerHTML misses out the item settings\r
-       \r
-       //Is there any DTC?\r
-       var strDTCTagOpen = '<!--Metadata type="DesignerControl" startspan';\r
-       var strDTCTagClose = '<!--Metadata type="DesignerControl" endspan-->';\r
-       var nDTCTagOpen = strRawHTML.indexOf( strDTCTagOpen, nStartPos );\r
-       if( nDTCTagOpen < 0 )\r
-               return strRawHTML;\r
-       var nDTCTagClose = strRawHTML.indexOf( strDTCTagClose, nDTCTagOpen );\r
-       if( nDTCTagClose < nDTCTagOpen)\r
-               return strRawHTML; // no Design Time Controls;\r
-               \r
-       //Is the DTC HTML Help Control?\r
-       var strRTObjTagOpen = 'classid=clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11';\r
-       var strRTObjTagClose = '</OBJECT>';\r
-       var nRTObjTagOpen = strRawHTML.indexOf( strRTObjTagOpen, nDTCTagOpen );\r
-       if( nRTObjTagOpen < nDTCTagOpen )\r
-               return strRawHTML;\r
-       var nRTObjTagClose = strRawHTML.indexOf( strRTObjTagClose, nRTObjTagOpen );\r
-       if( nRTObjTagClose < nRTObjTagOpen )\r
-               return strRawHTML; // is not a HTML help control\r
-               \r
-       // Is it a related Topics html help control?\r
-       var strRTObjLabel = '<PARAM NAME=\"Command\" VALUE=\"Related Topics';\r
-       if( strRawHTML.indexOf(strRTObjLabel, nRTObjTagOpen) < 0 )\r
-               return strRawHTML;\r
-       \r
-       // does the commented object tag contain a items parameters             \r
-       var strRTItemsOpen = '<param name="Items" value="';\r
-       var strRTItemsClose = '$$**$$" >';\r
-       var strRTItemsClose2 = '$$**$$">';\r
-\r
-       var nRTItemsOpen = strRawHTML.indexOf(strRTItemsOpen, nDTCTagOpen);\r
-       if( nRTItemsOpen < nDTCTagOpen )\r
-               return strRawHTML;\r
-       var nRTItemsClose = strRawHTML.indexOf(strRTItemsClose, nRTItemsOpen);\r
-       if (nRTItemsClose == -1)\r
-               nRTItemsClose = strRawHTML.indexOf(strRTItemsClose2, nRTItemsOpen);\r
-       if( nRTItemsClose < nRTItemsOpen )\r
-               return strRawHTML;\r
-               \r
-       // found a items string\r
-       var strItems = strRawHTML.substring( nRTItemsOpen + strRTItemsOpen.length, nRTItemsClose);\r
-       if( strItems.length < 1 )\r
-               return strRawHTML;\r
-       \r
-       // to reconstruct the item(s) param tag(s)\r
-       var strItemsArray = strItems.split('$$**$$');\r
-       if( strItemsArray.length < 1 )\r
-               return strRawHTML;\r
-       var strRunTimeItemParam = "";\r
-       for( var i = 0; i < strItemsArray.length; i++ )\r
-       {\r
-               strRunTimeItemParam += '<PARAM  NAME="Item' + (i+1);\r
-               strRunTimeItemParam += '"' + '  VALUE="';\r
-               strRunTimeItemParam += strItemsArray[i];\r
-               strRunTimeItemParam += '">';\r
-       }\r
-       \r
-       // to insert the reconstructed item params into runtime object tag\r
-       var strAdjustedHTML = strRawHTML.substring(0,nRTObjTagClose) + strRunTimeItemParam + strRawHTML.substring(nRTObjTagClose, strRawHTML.length);\r
-       return kadovAdjustObjectTag(strAdjustedHTML, nDTCTagClose + strDTCTagClose.length);\r
-}\r
-\r
-function kadovTextPopupOnLoad( el )\r
-{\r
-       if( typeof(el) == "string" )\r
-               el = getElement(el);\r
-\r
-       var src = el.getAttribute( "x-use-popup" );\r
-       var bNeedMove=true;\r
-       if(!src&&el.id)\r
-       {\r
-               for (var i=0;i<gPopupData.length;i++)\r
-                       if (gPopupData[i].el==el.id)\r
-                       {\r
-                               src=gPopupData[i].popupId;\r
-                               bNeedMove=false;\r
-                               break;\r
-                       }\r
-       }\r
-       if(!src)\r
-               src = el.style.getAttribute( "x-use-popup" );   \r
-       if (!src)       \r
-               return 0;\r
-\r
-       var name = src;\r
-       if( src.substr(0,1) == "#" ) \r
-               name = src.substr(1, src.length-1);\r
-       var srcDiv = getElement(name);\r
-       if( !srcDiv )\r
-               return 1;\r
-\r
-       if (bNeedMove)\r
-       {\r
-               var type = el.getAttribute( "x-popup-type" );\r
-               if (!type)\r
-                       type = el.style.getAttribute("x-popup-type");\r
-               if (!type)              \r
-                       return 1;               \r
-               var setup = el.getAttribute( "x-tmp-setup" );\r
-               var newId = name;\r
-               if( newId.indexOf( "_tmp") <= 0 )\r
-                       newId += "_tmp";\r
-\r
-               if( !setup)\r
-               {\r
-                       el.setAttribute( "x-tmp-setup", 1 );\r
-\r
-                       if( type == "pulldown"  )\r
-                       {\r
-                               var strAdjust = kadovAdjustObjectTag(srcDiv.innerHTML,0);\r
-                               var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");\r
-                               strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");\r
-                               \r
-                               //work around the bug in HH.exe that highlight the phrases when use Search tab\r
-                               //this approach is just removing the <FONT...> tag inserted by Microsoft in the runtime\r
-                               strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<FONT color=#", "\">", 52);\r
-                               \r
-                               var strStyle = " style='display:none; position:relative;";\r
-                               var newDiv = "<div class=droptext id=" + newId + strStyle + "'>" + strCleanHTML + "</div>";\r
-\r
-                               removeThis(srcDiv); // empty the original DIV tag\r
-                               var elParentPra = kadovFindParentParagraph(el);\r
-                               if( elParentPra )\r
-                                       insertAdjacentHTML(elParentPra, "afterEnd", newDiv );\r
-                       }\r
-                       else if( type == "expanding"  )\r
-                       {\r
-                               var inner = kadovRetrieveTextInner(srcDiv);\r
-                               if( inner == "" )\r
-                                       inner = srcDiv.innerHTML;\r
-                               var strAdjust = kadovAdjustObjectTag(inner,0);\r
-                               var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");\r
-                               strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");\r
-                               var strClassName = (el.className == "glossterm") ? "glosstext" : "expandtext";\r
-                               var newSpan = "<span class=" + strClassName + " style='display: none;' id=" + newId + ">&nbsp;" + strCleanHTML + "</span>";\r
-                               removeThis(srcDiv); // empty the original DIV tag\r
-                               insertAdjacentHTML(el, "afterEnd", newSpan );\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               srcDiv.style.display = "none";\r
-       }\r
-       return 0;\r
-}\r
-\r
-function getElementsByTag(obj,sTagName)\r
-{\r
-       if(obj.getElementsByTagName)\r
-               return obj.getElementsByTagName(sTagName);\r
-       else if(obj.all)\r
-               return obj.all.tags(sTagName);\r
-       return null;\r
-}\r
-\r
-function getElement(sID)\r
-{\r
-       if(document.getElementById)\r
-               return document.getElementById(sID);\r
-       else if(document.all)\r
-               return document.all(sID);\r
-       return null;\r
-}\r
-\r
-function getParentNode(obj)\r
-{\r
-       if(obj.parentNode)\r
-               return obj.parentNode;\r
-       else if(obj.parentElement)\r
-               return obj.parentElement;\r
-       return null;\r
-}\r
-\r
-function getChildNodes(obj)\r
-{\r
-       if(obj.childNodes)\r
-       {\r
-               var children = new Array();\r
-               for (var i = 0; i < obj.childNodes.length; i++)\r
-               {\r
-                       if (obj.childNodes[i].nodeType == 1)\r
-                               children[children.length] = obj.childNodes[i];\r
-               }\r
-               return children;\r
-       }\r
-       else if(obj.children)\r
-               return obj.children;\r
-       return null;    \r
-}\r
-\r
-function removeThis(obj)\r
-{\r
-       if(obj.parentNode)\r
-               obj.parentNode.removeChild(obj);\r
-       else\r
-               obj.outerHTML="";\r
-}\r
-\r
-function kadovTextPopup( el )\r
-{\r
-       if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3 )\r
-               return;\r
-\r
-       var bNeedMove=true;\r
-       \r
-       if (window.event)\r
-               window.event.cancelBubble = true;\r
-\r
-       if( typeof(el) == "string" )\r
-               el = getElement(el);\r
-\r
-       if (!el||el==window)\r
-               return;\r
-       \r
-       var src = el.getAttribute( "x-use-popup" );\r
-       if(!src&&el.id)\r
-       {\r
-               for (var i=0;i<gPopupData.length;i++)\r
-                       if (gPopupData[i].el==el.id)\r
-                       {\r
-                               src=gPopupData[i].popupId;\r
-                               bNeedMove=false;\r
-                               break;\r
-                       }\r
-       }\r
-       if(!src)\r
-               src = el.style.getAttribute( "x-use-popup" );   \r
-       if(!src)\r
-               return;\r
-               \r
-       var name = src;\r
-       if( src.substr(0,1) == "#" ) \r
-       if (bNeedMove)\r
-               name = src.substr(1, src.length-1) + "_tmp";\r
-       else\r
-               name = src.substr(1, src.length-1);\r
-\r
-       var srcDiv = getElement(name);\r
-       if( !srcDiv )\r
-               return;\r
-\r
-       if( srcDiv )\r
-       {\r
-               if( srcDiv.style.display == "" )\r
-                       srcDiv.style.display = "none";\r
-               else\r
-               {\r
-                       srcDiv.style.display = "";\r
-                       if( typeof(srcDiv.bInitialized) == "undefined" )\r
-                       {\r
-                               srcDiv.bInitialized = true;\r
-                               kadovInitEffects(name);\r
-                               kadovInitEachChild(srcDiv);\r
-                       }\r
-               }\r
-       }\r
-       if(gbBsIE4)\r
-               event.returnValue=false;\r
-       return;\r
-}\r
-\r
-function kadovFindParentParagraph( el )\r
-{\r
-       if( typeof(el) == "string" )\r
-               el = getElement(el);\r
-       if( (!el) || el.tagName == "BODY" )\r
-               return null;\r
-       if( kadovIsParagraph(getParentNode(el)) )\r
-               return getParentNode(el);\r
-       else\r
-               return kadovFindParentParagraph( getParentNode(el) );\r
-}\r
-\r
-//Begin HTML code invoked function\r
-function kadovRegisterEventHandler( obj, strEvent, strEventHandler )\r
-{\r
-       if( !gbBsIE4 )\r
-               return;\r
-       CCSSP.RegisterEventHandler( obj, strEvent, strEventHandler );\r
-}\r
-\r
-function textPopupData(el, popupId)\r
-{\r
-       this.el = el;\r
-       this.popupId = "#"+popupId;\r
-}\r
-\r
-var gPopupData = new Array();\r
-\r
-function kadovTextPopupInit( el, popupId)\r
-{\r
-       if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3)\r
-               return;\r
-               \r
-       if( typeof(el) == "string" )\r
-       {\r
-               if (popupId)\r
-               {\r
-                       gPopupData[gPopupData.length]=new textPopupData(el, popupId);\r
-               }\r
-               el = getElement(el);\r
-       }\r
-               \r
-       if( el != null )\r
-       {\r
-               CCSSP.RegisterEventHandler( el, "onclick", "kadovTextPopup(\"" + el.id +"\");" );\r
-               CCSSP.RegisterEventHandler( window, "onload", "kadovTextPopupOnLoad(\"" + el.id +"\");" );\r
-       }\r
-}\r
-//End HTML code invoked function\r
-\r
-//End to support extended and dropdown text effects.\r
-\r
-//Begin to convert iWrite format to RoboEditor Format for DHTML effects\r
-function kadovInitTriggersInHead( )\r
-{\r
-  if( Object.xDelayedInitElements )\r
-  {\r
-     var x = Object.xDelayedInitElements;\r
-     for(i=0; i<x.length; i++)\r
-       kadovInitTrigger( x[i] );\r
-  }\r
-}\r
-\r
-//Begin HTML code invoked function\r
-function kadovFilePopupInit( el )\r
-{\r
-       if( typeof(el) == "string" )\r
-               el = getElement(el);\r
-\r
-       if( el != null )\r
-               CCSSP.RegisterEventHandler( el, "onmouseover", "BSPSPopupOnMouseOver(event);" );\r
-}\r
-\r
-function kadovInitTrigger( element )\r
-{\r
-       if( !gbBsIE4 )\r
-               return;\r
-       var srcElement = element;\r
-       if( typeof(srcElement) == "string" )\r
-       {\r
-               srcElement = getElement(element,0);\r
-               if(srcElement == null)\r
-                       return;\r
-       }\r
-       \r
-       if( !kadovIsParentVisible(srcElement) )\r
-               return;\r
-\r
-       var targets = srcElement.getAttribute( "x-targets" );\r
-       if (!targets)\r
-               targets = srcElement.style.getAttribute("x-targets");\r
-       if (!targets)\r
-               return; \r
-       var arrOneTarget = targets.split( "," );\r
-       for( var i = 0; i < arrOneTarget.length; i ++ )\r
-               bsscFXInit( element, arrOneTarget[i], null, null, null, null );\r
-}\r
-\r
-function kadovIsParentVisible( el )\r
-{\r
-       if( typeof(el) == "string" )\r
-               el = getElement(el);\r
-       if( (!el) || el.tagName == "BODY" )\r
-               return true;\r
-       if( el.style.display == 'none' ) //el.visibility == 'hidden' || \r
-               return false;\r
-       else\r
-               return kadovIsParentVisible( getParentNode(el) );\r
-}\r
-\r
-function kadovInitEffects( element )\r
-{\r
-       if( !gbBsIE4 )\r
-               return;\r
-       var srcElement = element;\r
-       if( typeof(srcElement) == "string" )\r
-       {\r
-               srcElement = getElement(element,0);\r
-               if(srcElement == null)\r
-                       return;\r
-       }\r
-       \r
-       if( !kadovIsParentVisible(srcElement) )\r
-               return;\r
-       \r
-       kadovInitEffect( srcElement, "x-on-hover" );\r
-       kadovInitEffect( srcElement, "x-on-pageclick" );\r
-       kadovInitEffect( srcElement, "x-on-pageload" );\r
-       kadovInitEffect( srcElement, "x-on-trigger-1" );\r
-       kadovInitEffect( srcElement, "x-on-trigger-2" );\r
-}\r
-//End HTML code invoked function\r
-\r
-function kadovInitEffect( element, prop )\r
-{\r
-       var values = null;\r
-       if( element.getAttribute( "currentStyle" )  && element.currentStyle.getAttribute)\r
-               values = element.currentStyle.getAttribute( prop );\r
-       else  if (element.style.getAttribute)\r
-               values = element.style.getAttribute( prop );\r
-       if( !values )\r
-               return;\r
-\r
-       var functions = new Array();\r
-       var nIdx = 0, nStart = 0;\r
-       var nNext = values.indexOf( "\)", 0);\r
-       while( nNext >= 0 && nNext < values.length )\r
-       {\r
-               functions[nIdx] = values.substr( nStart, nNext-nStart+1);\r
-               nStart = nNext + 1;\r
-               nIdx++;\r
-               nNext = values.indexOf( "\)", nStart);\r
-       }\r
-               \r
-       for( var i=0; i<functions.length; i++)\r
-       {\r
-               var id = element.getAttribute( "id" );\r
-               var translatedProp = kadovTranslateProp(prop);\r
-\r
-               var lp = functions[i].indexOf( "(" );\r
-               var fnname = functions[i].substring(0, lp);\r
-               var srcargs = functions[i].substring(lp+1, functions[i].length-1);\r
-               \r
-               var nClickTimes = 1;\r
-               var arrForClickCount = srcargs.split( "," );\r
-               for( var j = 0; j < arrForClickCount.length; j++ )\r
-               {// to locate and get the "clicks=99" settings\r
-                       var nPageClick = arrForClickCount[j].indexOf("clicks");\r
-                       if( nPageClick >= 0 )\r
-                       {\r
-                               nPageClick = arrForClickCount[j].indexOf("=");\r
-                               if( nPageClick > 0 )\r
-                               {\r
-                                       nClickTimes = arrForClickCount[j].substring( nPageClick + 1, arrForClickCount[j].length) * 1;\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-               var args = srcargs;\r
-               if( j < arrForClickCount.length )\r
-               {// to strip out the "clicks=99" from the arguments string\r
-                       args = "";\r
-                       for( var k = 0; k < arrForClickCount.length; k ++ )\r
-                       {\r
-                               if( k != j )\r
-                               {\r
-                                       args += arrForClickCount[k];\r
-                                       if( k < arrForClickCount.length - 1 )\r
-                                               args += ",";\r
-                               }\r
-                       }\r
-               }\r
-               bsscFXInit( null, id, translatedProp, fnname, args, nClickTimes );\r
-       }\r
-}\r
-\r
-function kadovTranslateProp( prop )\r
-{\r
-       switch( prop )\r
-       {\r
-       case "x-on-hover" :     return "bsschover";\r
-       case "x-on-pageclick" : return "bsscpageclick";\r
-       case "x-on-pageload" :  return "bsscpageload";\r
-       case "x-on-trigger-1" : return "bssctrigger1";\r
-       case "x-on-trigger-2" : return "bssctrigger2";\r
-       }\r
-       return null;\r
-}\r
-//End to convert iWrite format to RoboEditor Format for DHTML effects\r
-\r
-//Begin the definition of one entry to DHTML effects\r
-function bsscFXInit( trigger_ID, target_ID, event_type, \r
-       action_type, action_setting, event_addional )\r
-{\r
-       if( (!gbBsWindows && !gbBsSunOS  && !(gbBsMac&&gbBsIE5)) || typeof(target_ID) != "string" )//MUST have a target_ID\r
-               return; // we don't support Navigator yet\r
-       \r
-       if( typeof(event_type) == "string" )\r
-               event_type = event_type.toLowerCase();\r
-       if( typeof(action_type) == "string" )\r
-               action_type = action_type.toLowerCase();\r
-       if( typeof(action_setting) == "string" )\r
-                action_setting = action_setting.toLowerCase();\r
-       \r
-       // to get the target element then add it to the target list\r
-       var eleTarget = CCSSP.GetObject( target_ID );\r
-       if( (eleTarget != null) && (event_type != null) && (action_type != null) )\r
-       {\r
-               CEngine.AddOneTarget( target_ID, eleTarget );\r
-               CEngine.BuildTargetObject(target_ID, event_type, action_type, action_setting, event_addional);\r
-       }\r
-       \r
-       // to validate the trigger_ID parameter\r
-       if( typeof(trigger_ID) == "string" && trigger_ID != "" )\r
-               CEngine.BuildTriggerObject( trigger_ID, target_ID );\r
-}      \r
-//End the definition of one entry to DHTML effects\r
-\r
-/// Section End  - kadov DHTM (JavaScript 1.2)\r
-\r
-/// Section Begin  - CCSSP DHTM (JavaScript 1.2)\r
-\r
-//Begin JavaScript libary for cross-platform positioning object.\r
-function CCSSP(){} // constructor of CCSSP class\r
-\r
-CCSSP.GetObject = function( obj )\r
-{//convert object name string or reference into a valid object reference\r
-       if( typeof(obj) == "object" )\r
-               return obj;\r
-       else if( typeof(obj) == "string" && obj != "")\r
-       {\r
-               if( gbBsNS4 )\r
-                       return eval("document." + obj);\r
-               else\r
-                       return eval("document.all(\"" + obj + "\")");\r
-       }\r
-       else\r
-               return null;\r
-}\r
-\r
-CCSSP.MoveObjectTo = function(obj, x, y)\r
-{//positioning an object at a specific pixel coordinate\r
-       if( gbBsNS4 )\r
-               obj.moveTo(x,y);\r
-       else\r
-       {\r
-               obj.style.pixelLeft = x;\r
-               obj.style.pixelTop = y;\r
-       }\r
-}\r
-\r
-CCSSP.MoveObjectBy = function(obj, dx, dy)\r
-{//moveing a object by x and/or y pixel\r
-       if( gbBsNS4 )\r
-               obj.moveBy(dx,dy);\r
-       else\r
-       {\r
-               obj.style.pixelLeft += dx;\r
-               obj.style.pixelTop += dy;\r
-       }\r
-}\r
-\r
-CCSSP.SetObjectBGColor = function(obj, color)\r
-{//set the background color of an object\r
-       if( gbBsNS4 )\r
-               obj.bgColor = color;\r
-       else\r
-               obj.style.backgroundColor = color;\r
-}\r
-\r
-CCSSP.ShowObject = function(obj, bShow)\r
-{// set the object to be visible or invisible\r
-       if( gbBsNS4 )\r
-               obj.visibility = (bShow == true) ? 'show' : 'hide';\r
-       else\r
-               obj.style.visibility = (bShow == true) ? 'visible' : 'hidden';// when hidden, it still occupy some space.\r
-}\r
-\r
-CCSSP.GetObjectLeft = function(obj)\r
-{// retrieve the x coordinate of a posionable object\r
-       if( gbBsNS4 )\r
-               return obj.left;\r
-       else\r
-               return obj.style.pixelLeft;\r
-}\r
-\r
-CCSSP.GetObjectTop = function(obj)\r
-{// retrieve the y coordinate of a posionable object\r
-       if( gbBsNS4 )\r
-               return obj.top;\r
-       else\r
-               return obj.style.pixelTop;\r
-}\r
-\r
-CCSSP.GetObjectContainLeft = function(obj)\r
-{// retrieve the x coordinate of a posionable object relative to it's parent element\r
-       if( gbBsNS4 )\r
-               return obj.pageX;\r
-       else\r
-       {\r
-               if( obj == document.body )\r
-                       return obj.clientLeft;\r
-               else\r
-                       return obj.offsetLeft;\r
-       }\r
-}\r
-\r
-CCSSP.GetObjectWindowLeft = function(obj)\r
-{// retrieve the x coordinate of a posionable object relative to browser window\r
-       if( gbBsNS4 )\r
-               return obj.pageX;\r
-       else\r
-       {\r
-               var nOffsetWindowLeft = 0;\r
-               for(var element = obj; element; element = element.offsetParent)\r
-                       nOffsetWindowLeft += CCSSP.GetObjectContainLeft(element);\r
-               return nOffsetWindowLeft;\r
-       }\r
-}\r
-\r
-CCSSP.GetObjectContainTop = function(obj)\r
-{// retrieve the y coordinate of a posionable object relative to it's parent element\r
-       if( gbBsNS4 )\r
-               return obj.pageY;\r
-       else\r
-       {\r
-               if( obj == document.body )\r
-                       return obj.clientTop;\r
-               else\r
-                       return obj.offsetTop;\r
-       }\r
-}\r
-\r
-CCSSP.GetObjectWindowTop = function(obj)\r
-{// retrieve the y coordinate of a posionable object relative to browser window\r
-       if( gbBsNS4 )\r
-               return obj.pageY;\r
-       else\r
-       {\r
-               var nOffsetWindowTop = 0;\r
-               for(var element = obj; element; element = element.offsetParent)\r
-                       nOffsetWindowTop += CCSSP.GetObjectContainTop(element);\r
-               return nOffsetWindowTop;\r
-       }\r
-}\r
-\r
-CCSSP.GetObjectHeight = function(obj)\r
-{// retrieve the height of a posionable object\r
-       if( gbBsNS4 )\r
-               return obj.clip.height;\r
-       else\r
-               return obj.offsetHeight;\r
-}\r
-\r
-CCSSP.GetObjectWidth = function(obj)\r
-{// retrieve the width of a posionable object\r
-       if( gbBsNS4 )\r
-               return obj.clip.width;\r
-       else\r
-               return obj.offsetWidth;\r
-}\r
-\r
-CCSSP.RegisterEventHandler = function( srcObj, rawEventName, funcHandler )\r
-{ // to add the "funcHandler" as the "rawEventName" 's handler to the "srcObj" object,the original event handler will be combined\r
-       if (gbBsNS4 && !gbBsNS6)\r
-               return ;\r
-               \r
-       var oldHandler = "";\r
-\r
-       if (gbBsMac &&gbBsIE4&&!gbBsIE5)\r
-       {\r
-               if (typeof(srcObj[rawEventName.toLowerCase()])=="unknown")\r
-               { //search for <SCRIPT> tag which define the event handler\r
-                       for( var i = 0; i < document.scripts.length; i++ ) \r
-                       {\r
-                               var script = document.scripts[i];\r
-                               if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )\r
-                               {\r
-                                       oldHandler = script.innerHTML;\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var oldInlineHandler = srcObj[rawEventName.toLowerCase()];\r
-               if( oldInlineHandler != null && typeof(oldInlineHandler) != "undefined")\r
-               {\r
-                       var functionDefinition = oldInlineHandler.toString();\r
-                       var bodyStart = functionDefinition.indexOf( "{" );\r
-                       var bodyEnd = functionDefinition.lastIndexOf( "}" );\r
-                       if( bodyStart > 0 || bodyEnd > bodyStart )\r
-                               oldHandler = functionDefinition.substr( bodyStart + 1, bodyEnd - bodyStart - 2 );\r
-               }\r
-               else if( gbBsIE4 )\r
-               { //search for <SCRIPT> tag which define the event handler\r
-                       for( var i = 0; i < document.scripts.length; i++ ) \r
-                       {\r
-                               var script = document.scripts[i];\r
-                               if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )\r
-                               {\r
-                                       oldHandler = script.innerHTML;\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       if( oldHandler.indexOf(funcHandler) >= 0 )\r
-               return;// to prevent register the funtion twice.\r
-\r
-       if( gbBsNS4 ) // only "onload, onresize, onfocus" apply to window\r
-       {// other raw events will apply to layer\r
-               var noOn = rawEventName.substring(2, rawEventName.length);\r
-               if( typeof(noOn) == "string" && noOn.length > 3 ) {\r
-                       if (srcObj.captureEvents)\r
-                               srcObj.captureEvents( Event[noOn.toUpperCase()] );\r
-               }\r
-       }\r
-       \r
-       var newHandler = oldHandler;\r
-       if( newHandler.length == 0 )\r
-               newHandler = funcHandler;\r
-       else\r
-               newHandler += "; " + funcHandler;\r
-       \r
-       srcObj[rawEventName.toLowerCase()] = new Function( newHandler );\r
-}\r
-\r
-CCSSP.GetWindowHeight = function()\r
-{// retrieve the height of available content in browser window\r
-       if( gbBsNS4 )\r
-               return window.innerHeight;\r
-       else\r
-               return document.body.clientHeight;\r
-}\r
-\r
-CCSSP.GetWindowBottom = function()\r
-{// retrieve the bottom postion of browser window\r
-       if( gbBsNS4 )\r
-               return window.outerHeight + window.pageYOffset;\r
-       else\r
-               return document.body.clientHeight + document.body.scrollTop;\r
-}\r
-\r
-CCSSP.GetWindowWidth = function()\r
-{// retrieve the width of available content in browser window\r
-       if( gbBsNS4 )\r
-               return window.innerWidth;\r
-       else\r
-               return document.body.clientWidth;\r
-}\r
-\r
-CCSSP.GetWindowRight = function()\r
-{// retrieve the right postion of browser window\r
-       if( gbBsNS4 )\r
-               return window.outerWidth + window.pageXOffset;\r
-       else\r
-               return document.body.clientWidth + document.body.scrollLeft;\r
-}\r
-\r
-CCSSP.TrimString = function( objString, subtrim )\r
-{// to trim the "subtrim" in the beginning and ending of a string object\r
-       if( typeof(subtrim) != "string" || subtrim == null )\r
-               return objString;\r
-       var strHead = objString.substring(0, 1);\r
-       var strRear = objString.substring(objString.length-1, objString.length);\r
-       if( strHead != subtrim && strRear != subtrim )\r
-               return objString;\r
-       \r
-       var spacePos = objString.indexOf(subtrim);\r
-       if( spacePos < 0 )\r
-               return objString;\r
-       else if( spacePos == objString.length - 1 )\r
-               return objString.substring(0, spacePos);\r
-       else\r
-       {\r
-               var newString = objString.substring( spacePos + 1, objString.length);\r
-               return CCSSP.TrimString( newString, subtrim );\r
-       }\r
-}\r
-\r
-CCSSP.TrimSpace = function( objString )\r
-{\r
-       var Trim1 = CCSSP.TrimString( objString, " ");\r
-       return CCSSP.TrimString( Trim1, "\'");\r
-}\r
-\r
-CCSSP.GetEventElement = function( navEventObject )\r
-{// to get the element who fired the current event\r
-       if(gbBsNS4) \r
-               if (gbBsNS6)\r
-                       return null;\r
-               else\r
-                        navEventObject.target;\r
-       else\r
-               return event.srcElement;\r
-}\r
-\r
-CCSSP.PrepareFilter = function( Obj )\r
-{//to prepare for making the filter work\r
-       Obj.style.filter = "";\r
-       if( Obj.style.width != "" || Obj.style.height != "" || Obj.style.position == "absolute" )\r
-               return;\r
-       Obj.style.height = CCSSP.GetObjectHeight(Obj);\r
-}\r
-\r
-CCSSP.IsDescendant = function( progenitor, progeny )\r
-{\r
-       if( typeof(progeny) == "undefined" || progeny == null )\r
-               return false;\r
-       else if( progeny == progenitor )\r
-               return true; \r
-       else if( progeny.id == progenitor.id ) \r
-               return true; \r
-       else if( getParentNode(progeny) == getParentNode(progenitor))\r
-               return false;\r
-       else\r
-               return CCSSP.IsDescendant( progenitor, getParentNode(progeny));\r
-}\r
-\r
-CCSSP.IsTextTag = function( Obj )\r
-{\r
-       if( typeof( Obj.tagName ) == "undefined" )\r
-               return false;\r
-       return( Obj.tagName.indexOf("H") == 0 || Obj.tagName == "P" || \r
-                       Obj.tagName == "FONT" || Obj.tagName == "SPAN" );\r
-}\r
-\r
-//End JavaScript libary for cross-platform positioning object.\r
-\r
-/// Section End  - CCSSP DHTM (JavaScript 1.2)\r
-\r
-/// Section Begin  - CCSSP DHTM 1 (JavaScript 1.2)\r
-\r
-//Begin the definition of class CTrigger\r
-function CTrigger( TriggerElement )\r
-{\r
-       // object : the trigger element. Never be null. \r
-       this.eleTrigger = TriggerElement;\r
-       \r
-       // number : the click counter number: only 3 values: 0,1,2;\r
-       this.nCounter = 0; \r
-       \r
-       //object as associative array of string:\r
-       // the associate target ID strings; one element at least.                       \r
-       this.objStrTarget = new Object();\r
-       this.eleTrigger.style.cursor = "hand";\r
-       if( this.eleTrigger.tagName == "AREA" && this.eleTrigger.getAttribute("href") == "" )\r
-               this.eleTrigger.setAttribute("href", "#") // to make a hand cursor for image map\r
-}\r
-\r
-CTrigger.prototype.AddTargetID = function( strTargetID )\r
-{// add one target ID string to the objStrTarget\r
-       if( typeof(strTargetID) != "string" )\r
-               return ;\r
-       if( typeof(this.objStrTarget[strTargetID]) != "string" )\r
-               this.objStrTarget[strTargetID] = strTargetID;\r
-}\r
-\r
-CTrigger.prototype.OnTriggerClick = function()\r
-{// to activate all asociated target\r
-       var strEventType = ( (this.nCounter++)% 2 == 0 ) ? \r
-               "bssctrigger1" : "bssctrigger2";\r
-               \r
-       // to enumerate associative target element's ID string\r
-       for( var strTargetID in this.objStrTarget ) \r
-               CEngine.SendEventToOneTarget( strTargetID, strEventType );\r
-}\r
-//End the definition of class CTrigger\r
-\r
-//Begin the definition of class CTarget\r
-function CTarget( TargetElement )\r
-{\r
-       // object : the target element. Never be null.\r
-       this.eleTarget = TargetElement;\r
-       this.objManager = new Object(); // object: the event manager\r
-} \r
-\r
-CTarget.nPageClickCounter = 0;// static class property.\r
-\r
-CTarget.prototype.GetAgencyObject = function(str_action_type,action_setting )\r
-{// return the action agency ( effect )object's refernece \r
-       switch( str_action_type )\r
-       {\r
-       case "show":return new CAgencyShow( this.eleTarget, true ) ;\r
-       case "hide":return new CAgencyShow( this.eleTarget, false ) ;\r
-\r
-    case "flyin" : \r
-       return new CAgencyFly(this.eleTarget, action_setting, true);\r
-    case "flyout" : \r
-       return new CAgencyFly(this.eleTarget, action_setting, false);\r
-    case "spiralin" : \r
-       return new CAgencySpiral(this.eleTarget, action_setting, true);\r
-    case "spiralout" : \r
-       return new CAgencySpiral(this.eleTarget, action_setting, false);\r
-    case "zoomin" :\r
-       return new CAgencyZoom(this.eleTarget, action_setting, true);\r
-    case "zoomout" : \r
-       return new CAgencyZoom(this.eleTarget, action_setting, false);\r
-    case "elastic" : \r
-               return new CAgencyElastic(this.eleTarget, action_setting);\r
-               \r
-    case "fadein" : \r
-       return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, true) : null;\r
-    case "fadeout" :\r
-       return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, false) : null;\r
-    case "rockrollstatic" :\r
-    case "rockroll" :\r
-       return (gbBsIE4)? new CAgencyWave(this.eleTarget, action_setting, false) : null;\r
\r
-    case "glow":\r
-       return (gbBsIE4)? new CAgencyGlow(this.eleTarget,action_setting) : null;\r
-    case "dropshadow":\r
-       return (gbBsIE4)? new CAgencyDropShadow(this.eleTarget,action_setting) : null;\r
-    case "transition" :\r
-       return (gbBsIE4)? new CAgencyRevealTrans(this.eleTarget,action_setting) : null;\r
-    case "blur" :\r
-       return (gbBsIE4)? new CAgencyBlur(this.eleTarget,action_setting) : null;\r
-\r
-    case "fliph" : // all these 4 do NOT need any parameters\r
-    case "flipv" :\r
-    case "invert":\r
-    case "gray" :\r
-       return (gbBsIE4)? new CAgencyChangeFilter(this.eleTarget, str_action_type) : null;\r
-    \r
-    case "fontchange": // the effects below change the style on the fly, so won't work in Navigator\r
-       return (gbBsIE4)? new CAgencyFontChange(this.eleTarget,action_setting) : null;\r
-    case "boderchange": \r
-    case "stylechange":\r
-       return (gbBsIE4)? new CAgencyChangeStyle(this.eleTarget,action_setting) : null;\r
-\r
-       default: return null;\r
-       }\r
-}\r
-\r
-CTarget.prototype.SetEventManager = function( \r
-       one_event_type,str_action_type,action_setting,event_additional)\r
-{// to set the event manager with specified action \r
-       if( typeof( one_event_type ) != "string" ||     \r
-               typeof( str_action_type ) != "string"||\r
-               typeof( action_setting ) != "string" )\r
-               return false;\r
-       if( typeof(this.objManager[one_event_type]) == "undefined" )\r
-       {\r
-               this.objManager[one_event_type] = new Object();\r
-               this.objManager[one_event_type].length = 0;\r
-       }\r
-       \r
-       var eventAgency = this.GetAgencyObject(str_action_type,action_setting);\r
-       if( eventAgency != null )\r
-       {\r
-               var ct = this.objManager[one_event_type].length ++;\r
-               this.objManager[one_event_type][ct] = eventAgency;\r
-               \r
-               if( one_event_type == "bsscpageclick" )\r
-               {// to deal with the "number of pageclick" stuff\r
-                       if( typeof(event_additional) == "number" )\r
-                               this.objManager[one_event_type][ct].nPageClick = event_additional;\r
-                       else // set the default number \r
-                               this.objManager[one_event_type][ct].nPageClick = 1;\r
-                       \r
-                       if( (typeof(this.objManager.nMinPageClickIndex) == "undefined") ||\r
-                           (this.objManager[one_event_type][ct].nPageClick < \r
-                                       this.objManager[one_event_type][this.objManager.nMinPageClickIndex].nPageClick) )\r
-                               this.objManager.nMinPageClickIndex = ct;\r
-               }\r
-               \r
-               //hide the object blindly,SetState function will take care of the final correct state\r
-               if( ((one_event_type == "bsscpageclick") && \r
-                        (this.objManager[one_event_type][ct].nPageClick == 1)) ||\r
-                       one_event_type == "bsscpageload" ||\r
-                       one_event_type == "bssctrigger1" )\r
-                       CCSSP.ShowObject( this.eleTarget, false );\r
-               \r
-               if( one_event_type == "bssctrigger1" || one_event_type == "bssctrigger2" )\r
-                       if( typeof( this.strTriggerEvent ) == "undefined" )\r
-                               this.strTriggerEvent = ( one_event_type == "bssctrigger1" ) ? "bssctrigger2" : "bssctrigger1";\r
-                       \r
-               return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-CTarget.prototype.OnEvent = function( strBsscEvent )\r
-{// response to the event ( bssc format )\r
-       if( typeof(this.objManager[strBsscEvent]) == "object" )\r
-       { // to get the event agency from the event manager\r
-               var eventAgency = this.objManager[strBsscEvent];\r
-               for( var i = 0; i < eventAgency.length; i++ )\r
-               {\r
-                       if( strBsscEvent == "bsscpageclick" && \r
-                               eventAgency[i].nPageClick != CTarget.nPageClickCounter )\r
-                                continue;\r
-                       else if( strBsscEvent == "bsschover" && event.type == "mouseout" )\r
-                               eventAgency[i].EndEffect();\r
-                       else // to invoke the unified function in effect object \r
-                               eventAgency[i].UpdateEffect(); \r
-               }\r
-       }\r
-}\r
-\r
-CTarget.prototype.SetState = function( strBsscEvent )\r
-{\r
-       if( typeof(this.objManager[strBsscEvent]) != "object" )\r
-               return false;\r
-\r
-       // to get the event agency from the event manager\r
-       var eventAgency = this.objManager[strBsscEvent];\r
-       \r
-       if( strBsscEvent == "bsscpageclick" )\r
-       {// we only set the initial state for the minium number of pageclick \r
-               eventAgency[this.objManager.nMinPageClickIndex].PrepareEffect();\r
-               return true;\r
-       }\r
-       else\r
-       {\r
-               for( var i = 0; i < eventAgency.length; i++ )\r
-                       eventAgency[i].PrepareEffect(); // to invoke the unified function in effect object       \r
-               if( i > 0 )\r
-                       return true;\r
-               else\r
-                       return false;\r
-       }\r
-}\r
-//End the definition of class CTarget\r
-\r
-//Begin the definition of CEngine class\r
-function CEngine(){}// all properities are going be "class" properities\r
-\r
-// object : as associative array of trigger objects\r
-CEngine.objTrigger = new Object();\r
-// object : as associative array of target objects \r
-CEngine.objTarget = new Object(); \r
-\r
-// Array : each element is a CAgencyXXX animation object\r
-CEngine.arrAnimation = new Array();\r
-CEngine.PerformAnimation = function( nIndex )\r
-{// animation : update effects function\r
-       CEngine.arrAnimation[nIndex].UpdateEffect();\r
-}\r
-\r
-CEngine.AddOneTrigger = function(TriggerID,TriggerElement)\r
-{// add one Trigger object into the trigger array\r
-       if( typeof(TriggerID) != "string" || TriggerElement == null ||\r
-           typeof(TriggerElement) != "object" )\r
-               return;\r
-       if( typeof(CEngine.objTrigger[TriggerID] ) != "object" )\r
-               CEngine.objTrigger[TriggerID] = new CTrigger(TriggerElement);\r
-}\r
-       \r
-CEngine.AddOneTarget = function(TargetID, TargetElement)\r
-{// add one Target object into the target array\r
-       if( typeof(TargetID) != "string" || TargetElement == null ||\r
-               typeof(TargetElement) != "object" )\r
-               return;\r
-       if( typeof(CEngine.objTarget[TargetID]) != "object" )\r
-               CEngine.objTarget[TargetID] = new CTarget( TargetElement );\r
-}\r
-\r
-CEngine.SendEventToOneTarget = function(strTargetID, strBsscEvent )\r
-{// to activate one target object\r
-       if( typeof(CEngine.objTarget[strTargetID]) == "object" ) \r
-       {\r
-               if( strBsscEvent == "bssctrigger1" || strBsscEvent == "bssctrigger2" )\r
-               {//now, the "bssctrigger1" and "bssctrigger2" work like a toggle\r
-                       if( strBsscEvent == CEngine.objTarget[strTargetID].strTriggerEvent )\r
-                               strBsscEvent = (strBsscEvent == "bssctrigger1") ? "bssctrigger2" : "bssctrigger1";\r
-                       CEngine.objTarget[strTargetID].strTriggerEvent = strBsscEvent;\r
-               }\r
-               CEngine.objTarget[strTargetID].OnEvent( strBsscEvent );\r
-       }\r
-}\r
-\r
-CEngine.SendEventToAllTarget = function( strBsscEvent )\r
-{ //to activate all target associative to the BSSC event\r
-       for( var strTargetID in CEngine.objTarget ) //to enumerate all target\r
-               CEngine.SendEventToOneTarget( strTargetID, strBsscEvent );\r
-}\r
-\r
-CEngine.SetOneTargetInitialState = function( strTargetID )\r
-{// only invoked after ALL effects for the target have been set\r
-       if( typeof(CEngine.objTarget[strTargetID]) == "object" ) \r
-       {// to get target object\r
-               var objTarget = CEngine.objTarget[strTargetID];\r
-               if( objTarget.SetState( "bsscpageload" ) == false )\r
-               {\r
-                       objTarget.SetState( "bsscpageclick" );\r
-                       objTarget.SetState( "bssctrigger1" );\r
-               }\r
-       }\r
-}\r
-\r
-CEngine.AdjustPageClickCounter = function()\r
-{\r
-       var nAdjustedClickCounter = CTarget.nPageClickCounter;\r
-       var bAdjusted = false;\r
-       for( var strTargetID in CEngine.objTarget ) //to enumerate all target\r
-       {// try to find the minum pageCliclConter greater than CTarget.nPageClickCounter\r
-               var objEventPageClick = CEngine.objTarget[strTargetID].objManager.bsscpageclick;\r
-               if( objEventPageClick != null )\r
-               {\r
-                       for( var i = 0; i < objEventPageClick.length; i++ )\r
-                       {\r
-                               var nOtherPageClick = objEventPageClick[i].nPageClick;\r
-                               if( nOtherPageClick == CTarget.nPageClickCounter )\r
-                                       return;\r
-                               if( nOtherPageClick > CTarget.nPageClickCounter )\r
-                               {\r
-                                       if( !bAdjusted )\r
-                                       {\r
-                                               nAdjustedClickCounter = nOtherPageClick;\r
-                                               bAdjusted = true;\r
-                                       }\r
-                                       else if( nOtherPageClick < nAdjustedClickCounter )\r
-                                               nAdjustedClickCounter = nOtherPageClick;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       CTarget.nPageClickCounter = nAdjustedClickCounter;\r
-}\r
-\r
-CEngine.OnPageLoad = function()\r
-{      \r
-       // first, to set all target's initial state\r
-       for( var strTargetID in CEngine.objTarget )\r
-               CEngine.SetOneTargetInitialState( strTargetID );\r
-       \r
-       // to invoke all target's onpageload handler\r
-       CEngine.SendEventToAllTarget( "bsscpageload" );\r
-}\r
-\r
-CEngine.OnPageClick = function()\r
-{ // to invoke all target's onpageclick handler\r
-       var src = CCSSP.GetEventElement( arguments[0] );\r
-       if( src == null )\r
-               return;\r
-               \r
-       var objClickedTrigger = null;\r
-       for( var strTriggerID in CEngine.objTrigger )\r
-       { // to detect which trigger is clicked\r
-               if( CCSSP.IsDescendant( CEngine.objTrigger[strTriggerID].eleTrigger,src) )\r
-               {\r
-                       objClickedTrigger = CEngine.objTrigger[strTriggerID];\r
-                       break;\r
-               }\r
-       }\r
-       \r
-       if( objClickedTrigger != null) // the clicked trigger found\r
-               objClickedTrigger.OnTriggerClick();\r
-       else // no trigger is clicked\r
-       { // to send PageClick event to all target\r
-               CTarget.nPageClickCounter++;\r
-               CEngine.AdjustPageClickCounter();\r
-               CEngine.SendEventToAllTarget( "bsscpageclick" );\r
-       }\r
-}      \r
-\r
-CEngine.OnMouseOver = function()\r
-{ // to invoke all target's onpageload handler\r
-       var src = CCSSP.GetEventElement( arguments[0] );\r
-       if( src == null )\r
-               return;\r
-               \r
-       var strHoveredTargetID = null;\r
-       for( var strTargetID in CEngine.objTarget )\r
-       { // to detect which Target is hovering on\r
-               if( CCSSP.IsDescendant( CEngine.objTarget[strTargetID].eleTarget, src ) )\r
-           {\r
-                       strHoveredTargetID = strTargetID;\r
-                       break;\r
-           }\r
-       }\r
-       \r
-       if( strHoveredTargetID != null ) // the hovered target found\r
-               CEngine.SendEventToOneTarget( strHoveredTargetID, "bsschover" );\r
-}\r
-\r
-CEngine.BuildTargetObject = function(target_ID,event_type,action_type,\r
-                       action_setting, event_additional)\r
-{// to build target object \r
-       // to get the target object\r
-       if( typeof( CEngine.objTarget[target_ID] ) != "object" )\r
-               return false;// the engine's AddOneTarget function might have failed.\r
-       var TargetObject = CEngine.objTarget[target_ID];\r
-       \r
-       // to prepare the parameters for the event manager\r
-       var arrEvent = event_type.split("|"); // to split the combined event_type string\r
-       var arrAction = action_type.split("|");//to split the combined action_type string\r
-       for( var trim = 0; trim < arrEvent.length; trim++ )\r
-               arrEvent[trim] = CCSSP.TrimSpace(arrEvent[trim]);\r
-       \r
-       for( trim = 0; trim < arrAction.length; trim++ )\r
-               arrAction[trim] = CCSSP.TrimSpace(arrAction[trim]);\r
-       \r
-       var arrSetting = new Array(); \r
-       if( typeof(action_setting) == "string" )\r
-               arrSetting = action_setting.split("|");// to split the combined action_setting string\r
-       // to calibrate the arrays\r
-       for( var i = arrSetting.length; i < arrAction.length; i++ )\r
-       {\r
-               if( typeof(arrSetting[i]) != "string" )\r
-                        arrSetting[i] = "";\r
-       }                                \r
-\r
-       // to prepare for dealing with the absolute posioning element\r
-       TargetObject.eleTarget.ABSX = CCSSP.GetObjectLeft( TargetObject.eleTarget );\r
-       TargetObject.eleTarget.ABSY = CCSSP.GetObjectTop( TargetObject.eleTarget );\r
-\r
-       if( arrEvent.length > 1 )\r
-       {// if event is combined, it must be : "bssctrigger1 | bssctrigger2"\r
-               if( arrAction.length != 2 )\r
-                       return false; // if event is combined, there must be 2 actions\r
-               for( i = 0 ; i < 2; i++ )\r
-               {\r
-                       if( TargetObject.SetEventManager(arrEvent[i], arrAction[i], \r
-                               arrSetting[i], event_additional) == false )\r
-                               return false; // the event manager has not been set up\r
-               }\r
-       }\r
-       else // the event_type string is not combined\r
-       {\r
-               for( i = 0 ; i < arrAction.length; i++ )\r
-               {\r
-                       TargetObject.SetEventManager(event_type, arrAction[i], arrSetting[i], event_additional);\r
-                       // to validate the event manager\r
-                       if( typeof(TargetObject.objManager[event_type]) != "object" ||\r
-                                       typeof(TargetObject.objManager[event_type][i]) != "object" )\r
-                               return false; // the event manager has not been set up\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-CEngine.BuildTriggerObject = function(trigger_ID, target_ID)\r
-{// to build the trigger object\r
-       var arrTrigger = trigger_ID.split("|"); // to split the combined trigger_ID string\r
-       for( var i = 0; i < arrTrigger.length; i ++ )\r
-       {// to get the trigger element then add it to the trigger list\r
-               arrTrigger[i] = CCSSP.TrimSpace( arrTrigger[i] );\r
-               var eleTrigger = CCSSP.GetObject( arrTrigger[i] );\r
-               if( eleTrigger == null )\r
-                       continue; // the trigger_ID string in the HTML code maybe wrong\r
-               CEngine.AddOneTrigger( arrTrigger[i], eleTrigger );\r
-\r
-               // to get the target object\r
-               if( typeof( this.objTrigger[arrTrigger[i]] ) != "object" )\r
-                       continue;// the engine's AddOneTarget function might have failed.\r
-               CEngine.objTrigger[arrTrigger[i]].AddTargetID( target_ID );\r
-       }\r
-}\r
-//End the definition of CEngine class\r
-\r
-/// Section End  - CCSSP DHTM 1 (JavaScript 1.2)\r
-\r
-/// Section Begin  - CCSSP DHTM 2 (JavaScript 1.2)\r
-\r
-//Begin the definition of CAgencyXXXX classes\r
-\r
-//Begin of the CAgencyShow definition\r
-function CAgencyShow( element, bIsShow )\r
-{\r
-       this.ele = element;\r
-       this.bIsShow = bIsShow;\r
-}\r
-\r
-CAgencyShow.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject( this.ele, !this.bIsShow );\r
-}\r
-\r
-CAgencyShow.prototype.UpdateEffect = function()\r
-{\r
-       CCSSP.ShowObject( this.ele, this.bIsShow );\r
-}\r
-\r
-CAgencyShow.prototype.EndEffect = function()\r
-{\r
-       CCSSP.ShowObject( this.ele, !this.bIsShow );\r
-}\r
-// End of the CAgencyShow definition\r
-\r
-// Begin of CAgencyFly definition\r
-function CAgencyFly( element, settings, bIsIn )\r
-{\r
-       this.ele = element;\r
-       this.bIsIn = bIsIn;\r
-       this.duration = 1000; // default\r
-       this.direction = "right";\r
-\r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "speed" : this.duration = 100000/arrOneSet[1]; break;\r
-               case "direction" : this.direction = arrOneSet[1]; break;\r
-               }\r
-       }\r
-               \r
-       if( gbBsIE5 && this.ele.style.position != "absolute" )\r
-               this.ele.style.position = "relative";\r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencyFly.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, !this.bIsIn );\r
-}\r
-\r
-CAgencyFly.prototype.UpdateEffect = function()\r
-{\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-\r
-       var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-       if( percent >= 1.0 )\r
-               this.EndEffect();\r
-       else\r
-       {\r
-               var newX = this.startX*(1.0-percent) +  this.finalX*percent;\r
-               var newY = this.startY*(1.0-percent) +  this.finalY*percent;\r
-               CCSSP.MoveObjectTo(this.ele, newX, newY);\r
-               if( this.timer == null )\r
-                       this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );\r
-       }\r
-}\r
-\r
-CAgencyFly.prototype.EndEffect = function()\r
-{\r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-\r
-       if( this.bIsIn ) // FlyIn\r
-               CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);\r
-       else // FlyOut\r
-               CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);\r
-       CCSSP.ShowObject(this.ele, this.bIsIn );\r
-}\r
-\r
-CAgencyFly.prototype.ResetParameters = function()\r
-{\r
-       this.PrepareEffect();\r
-       CCSSP.ShowObject(this.ele, true );\r
-\r
-       this.startX = 0;\r
-       this.startY = 0;\r
-       this.finalX = 0;\r
-       this.finalY = 0; \r
-       \r
-       var offsetLeft = CCSSP.GetObjectWindowLeft(this.ele) + this.ele.offsetWidth;\r
-       var offsetTop = CCSSP.GetObjectWindowTop(this.ele) + this.ele.offsetHeight;\r
-       var offsetRight = CCSSP.GetWindowRight();\r
-       var offsetBottom = CCSSP.GetWindowBottom();\r
-\r
-       if( this.bIsIn )\r
-       { // FlyIn\r
-               this.finalX = this.ele.ABSX;\r
-               this.finalY = this.ele.ABSY;\r
-\r
-               switch( this.direction )\r
-               {\r
-               case "right": this.startX = offsetRight; this.startY = this.finalY; break;\r
-               case "left": this.startX = -offsetLeft;  this.startY = this.finalY; break;\r
-               case "down": this.startY = offsetBottom; this.startX = this.finalX; break;\r
-               case "up":  this.startY = -offsetTop;    this.startX = this.finalX; break;\r
-               case "downright":\r
-                       this.startX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;\r
-                       this.startY = this.startX;              break;\r
-               case "upright":\r
-                       this.startX = (offsetTop < offsetRight)? offsetTop : offsetRight;\r
-                       this.startY = -this.startX;             break;\r
-               case "upleft":\r
-                       this.startX = -((offsetTop < offsetRight)? offsetTop : offsetRight);\r
-                       this.startY = this.startX;              break;\r
-               case "downleft":\r
-                       this.startX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);\r
-                       this.startY = -this.startX;     break;\r
-               }\r
-       }\r
-       else\r
-       { // FlyOut\r
-               this.startX = this.ele.ABSX;\r
-               this.startY = this.ele.ABSY;\r
-\r
-               switch( this.direction )\r
-               {\r
-               case "right": this.finalX = offsetRight;  this.finalY = this.startY; break;\r
-               case "left": this.finalX = -offsetLeft;   this.finalY = this.startY;  break;\r
-               case "down": this.finalY = offsetBottom;  this.finalX = this.startX; break;\r
-               case "up":  this.finalY = -offsetTop;     this.finalX = this.startX; break;\r
-               case "downright":\r
-                       this.finalX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;\r
-                       this.finalY = this.finalX;              break;\r
-               case "upright":\r
-                       this.finalX = (offsetTop < offsetRight)? offsetTop : offsetRight;\r
-                       this.finalY = -this.finalX;             break;\r
-               case "upleft":\r
-                       this.finalX = -((offsetTop < offsetRight)? offsetTop : offsetRight);\r
-                       this.finalY = this.finalX;              break;\r
-               case "downleft":\r
-                       this.finalX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);\r
-                       this.finalY = -this.finalX;     break;\r
-               }\r
-       }\r
-       CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);\r
-       this.startTime = (new Date()).getTime();\r
-}\r
-// End of the CAgencyFly definition\r
-\r
-// Begin of CAgencySpiral\r
-function CAgencySpiral( element, settings, bIsIn )\r
-{\r
-       this.ele = element;\r
-       this.bIsIn = bIsIn;\r
-       this.duration = 1000; // default\r
-\r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "speed" : this.duration = 100000/arrOneSet[1]; break;\r
-               }\r
-       }\r
-\r
-       if( gbBsIE5 && this.ele.style.position != "absolute" )\r
-               this.ele.style.position = "relative";\r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencySpiral.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, !this.bIsIn );\r
-}\r
-\r
-CAgencySpiral.prototype.UpdateEffect = function()\r
-{\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-\r
-       var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-       if( percent >= 1.0 )\r
-               this.EndEffect();\r
-       else\r
-       {\r
-               var rf = (this.bIsIn)? (1.0 - percent) : percent; \r
-               var t = (1.0-rf) * 4.0 * Math.PI\r
-               var rxP = (this.bIsIn)? this.startX : this.finalX; \r
-               var ryP = (this.bIsIn)? this.startY : this.finalY; \r
-               var rx = (Math.abs(rxP) < 200) ? Math.abs(rxP) : 200;\r
-               var ry = (Math.abs(ryP) < 200) ? Math.abs(ryP) : 200;\r
-\r
-               var newX = Math.ceil(-rf*Math.cos(t)*rx) + this.ele.ABSX;\r
-               var newY = Math.ceil(-rf*Math.sin(t)*ry) + this.ele.ABSY;\r
-               CCSSP.MoveObjectTo(this.ele, newX, newY);\r
-               if( this.timer == null )\r
-                       this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );\r
-       }\r
-}\r
-\r
-CAgencySpiral.prototype.EndEffect = function()\r
-{\r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-       \r
-       if( this.bIsIn ) // In\r
-               CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);\r
-       else // Out\r
-               CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);\r
-       CCSSP.ShowObject(this.ele, this.bIsIn );\r
-}\r
-\r
-CAgencySpiral.prototype.ResetParameters = function()\r
-{\r
-       this.PrepareEffect();\r
-       CCSSP.ShowObject(this.ele, true );\r
-       this.startX = (this.bIsIn)? CCSSP.GetWindowRight() : this.ele.ABSX;\r
-       this.startY = (this.bIsIn)? CCSSP.GetWindowBottom() : this.ele.ABSY;\r
-       this.finalX = (this.bIsIn)? this.ele.ABSX : CCSSP.GetWindowRight();\r
-       this.finalY = (this.bIsIn)? this.ele.ABSY : CCSSP.GetWindowBottom(); \r
-       \r
-       CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);\r
-       this.startTime = (new Date()).getTime();\r
-}\r
-// End of CAgencySpiral\r
-\r
-// Begin of CAgencyElastic\r
-function CAgencyElastic( element, settings)\r
-{\r
-       this.ele = element;\r
-       this.duration = 1000; // default\r
-       this.direction = "right";\r
-\r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "speed" : this.duration = 100000/arrOneSet[1]; break;\r
-               case "direction" : this.direction = arrOneSet[1]; break;\r
-               }\r
-       }\r
-               \r
-       if( gbBsIE5 && this.ele.style.position != "absolute" )\r
-               this.ele.style.position = "relative";\r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencyElastic.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, false );\r
-}\r
-\r
-CAgencyElastic.prototype.UpdateEffect = function()\r
-{\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-\r
-       var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-       if( percent >= 1.0 )\r
-               this.EndEffect();\r
-       else\r
-       {\r
-               var newX = this.startX;\r
-               var newY = this.startY;\r
-               var rf = Math.exp(-percent*3);\r
-               var t = percent * 1.5 * Math.PI\r
-               var rx = (Math.abs(this.startX) > Math.abs(this.startY)) ? this.startX : this.startY;\r
-               switch (this.direction )\r
-               {\r
-               case "left":   \r
-               case "right" : newX = rf*Math.cos(t)*rx + this.ele.ABSX; break;\r
-               case "up":         \r
-               case "down" :  newY = rf*Math.cos(t)*rx + this.ele.ABSX; break;\r
-               }\r
-               CCSSP.MoveObjectTo(this.ele, newX, newY);\r
-               if( this.timer == null )\r
-                       this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );\r
-       }\r
-}\r
-\r
-CAgencyElastic.prototype.EndEffect = function()\r
-{\r
-       CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);\r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-}\r
-\r
-CAgencyElastic.prototype.ResetParameters = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, true );\r
-       this.startX = this.ele.ABSX;\r
-       this.finalX = this.ele.ABSX;\r
-       this.startY = this.ele.ABSY;\r
-       this.finalY = this.ele.ABSY;\r
-       \r
-       switch (this.direction)\r
-       { \r
-       case "left":  this.startX = -this.ele.offsetWidth; break;\r
-       case "right": this.startX = this.ele.offsetWidth;  break;\r
-       case "up":    this.startY = -this.ele.offsetHeight;break;\r
-       case "down":  this.startY = this.ele.offsetHeight; break;\r
-       }\r
-       CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);\r
-       this.startTime = (new Date()).getTime();\r
-}\r
-// End of CAgencyElastic\r
-\r
-// Begin of CAgencyZoom\r
-function CAgencyZoom( element, settings, bIsIn)\r
-{\r
-       this.ele = element;\r
-       this.duration = 1000; // default\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "speed" : this.duration = 100000/arrOneSet[1]; break;\r
-               }\r
-       }\r
-\r
-       this.bIsIn = bIsIn;\r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencyZoom.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, false);\r
-}\r
-\r
-CAgencyZoom.prototype.UpdateEffect = function()\r
-{\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-\r
-       var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-       if( percent >= 1.0 )\r
-               this.EndEffect();\r
-       else\r
-       {\r
-               var nFactorIn = Math.ceil(50+50*percent);\r
-               var nFactorOut = Math.ceil(100+200*(1-percent));\r
-               var AlterFontsize = ((this.bIsIn)? nFactorIn : nFactorOut) + "%";\r
-               var AlterFactor = ((this.bIsIn)? nFactorIn : nFactorOut) / 100;\r
-               \r
-               this.UpdateEffectAllChildren(this.ele, AlterFontsize, AlterFactor);\r
-               for(var index = 0; index < this.ele.all.length; index++)\r
-                       this.UpdateEffectAllChildren(this.ele.all[index], AlterFontsize, AlterFactor);\r
-                       \r
-               if( this.timer == null )\r
-                       this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );\r
-       }\r
-}\r
-\r
-CAgencyZoom.prototype.UpdateEffectAllChildren = function(child, FontSize, Factor)\r
-{\r
-       if( CCSSP.IsTextTag(child) )\r
-               child.style.fontSize = FontSize;\r
-       else\r
-       {\r
-               if( typeof(child.orgWidth) == "number" )\r
-                       child.style.width = Factor * child.orgWidth;\r
-               if( typeof(child.orgHeight) == "number" )\r
-                       child.style.height = Factor * child.orgHeight;\r
-       }\r
-}\r
-\r
-CAgencyZoom.prototype.EndEffect = function()\r
-{\r
-       this.EndEffectAllChildren(this.ele);\r
-       for(var index = 0; index < this.ele.all.length; index++)\r
-               this.EndEffectAllChildren(this.ele.all[index]);\r
-       \r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-}\r
-\r
-CAgencyZoom.prototype.EndEffectAllChildren = function( child )\r
-{      \r
-       if( CCSSP.IsTextTag(child) )\r
-               child.style.fontSize = child.orgFontSize;\r
-       else\r
-       {\r
-               if( typeof(child.intactWidth) != "undefined" )\r
-               {\r
-                       child.width = child.intactWidth;\r
-                       child.height = child.intactHeight;\r
-               }\r
-               else if( typeof(child.style.intactPixelWidth) != "undefined" )\r
-               {\r
-                       child.style.pixelWidth = child.style.intactPixelWidth;\r
-                       child.style.pixelHeight = child.style.intactPixelHeight;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyZoom.prototype.ResetParameters = function()\r
-{\r
-       this.PrepareEffect();\r
-       this.ResetParametersAllChildren( this.ele );\r
-       for(var index = 0; index < this.ele.all.length; index++)\r
-               this.ResetParametersAllChildren(this.ele.all[index]);\r
-               \r
-       this.startTime = (new Date()).getTime();\r
-}\r
-\r
-CAgencyZoom.prototype.ResetParametersAllChildren = function( child )\r
-{\r
-       CCSSP.ShowObject(child, true );\r
-       if( (child.tagName == "DIV") && (getParentNode(child).tagName == "TD") )\r
-               child.width = "100%";// if the div is inside a cell of table, we need the this hack\r
-       \r
-       if( CCSSP.IsTextTag(child) )\r
-               child.orgFontSize = child.style.fontSize;\r
-       else\r
-       {\r
-               if( child.width > "" || child.height > "" )\r
-               {\r
-                       child.orgWidth = child.intactWidth = child.width;\r
-                       child.orgHeight = child.intactHeight = child.height;\r
-               }\r
-               else if( ( typeof(child.orgWidth) != "number" ) && (typeof(child.orgHeight) != "number") )\r
-               {\r
-                       child.orgWidth = child.style.intactPixelWidth = child.style.pixelWidth;\r
-                       child.orgHeight = child.style.intactPixelHeight = child.style.pixelHeight;\r
-               }\r
-       }\r
-}\r
-// End of CAgencyZoom\r
-\r
-//// the following effects will use IE's exclusive "filter" function ////\r
-// Begin of CAgencyAlpha definition\r
-function CAgencyAlpha( element, settings, bIsIn )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-       this.bIsIn = bIsIn;\r
-\r
-       // to set the default value\r
-       this.startOpacity = (this.bIsIn) ? 0 : 100;\r
-       this.endOpacity = (this.bIsIn) ? 100 : 0;\r
-       \r
-       this.duration = 1000; // default\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "speed" : this.duration = 100000/arrOneSet[1]; break;\r
-               }\r
-       }\r
-       \r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencyAlpha.prototype.PrepareEffect = function()\r
-{// to set the visual filter function\r
-       // the visual filter ONLY work when set by "Width and Height" or\r
-       // absolute position for DIV, SPAN and normal tag ( such as p )\r
-       // but, "absolute" cause the following elements overlap, so:\r
-       CCSSP.PrepareFilter( this.ele );\r
-       CCSSP.ShowObject(this.ele, !this.bIsIn );\r
-}\r
-\r
-CAgencyAlpha.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-       if( typeof(this.ele.filters.alpha) != "object" )\r
-       {\r
-               this.EndEffect();\r
-               return;\r
-       }\r
-\r
-       var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-       if( percent >= 1.0 )\r
-               this.EndEffect();\r
-       else if( typeof(this.ele.filters.alpha) == "object" )\r
-       {\r
-               this.ele.filters.alpha.opacity = this.startOpacity*(1.0-percent) + this.endOpacity*percent;\r
-               if( this.timer == null )\r
-                       this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );\r
-       }\r
-}\r
-\r
-CAgencyAlpha.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-       this.ele.style.filter = "";\r
-       CCSSP.ShowObject(this.ele, this.bIsIn );\r
-}\r
-\r
-CAgencyAlpha.prototype.ResetParameters = function()\r
-{\r
-       this.PrepareEffect();\r
-       CCSSP.ShowObject(this.ele, true );\r
-       this.ele.style.filter = "alpha(opacity=" + this.startOpacity + ")";\r
-       this.startTime = (new Date()).getTime();\r
-}\r
-// End of the CAgencyAlpha definition\r
-\r
-// Begin of CAgencyWave definition\r
-function CAgencyWave( element, settings )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       this.duration = 0; // default\r
-       this.strength = 10;\r
-       this.freq = 1;\r
-       this.lightstrength = 1;\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "duration" : this.duration = 100000/arrOneSet[1]; break;\r
-               case "strength" : this.strength = arrOneSet[1]; break;\r
-               case "freq" : this.freq = arrOneSet[1]; break;\r
-               case "lightstrength" : this.lightstrength = arrOneSet[1]; break;\r
-               }\r
-       }\r
-\r
-       this.timer = null;\r
-       this.aniIndex = CEngine.arrAnimation.length;\r
-       CEngine.arrAnimation[this.aniIndex] = this;\r
-}\r
-\r
-CAgencyWave.prototype.PrepareEffect = function()\r
-{// to set the visual filter function\r
-       CCSSP.PrepareFilter(this.ele);\r
-\r
-       CCSSP.ShowObject(this.ele, true );\r
-}\r
-\r
-CAgencyWave.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       if( this.timer == null )\r
-               this.ResetParameters();\r
-       if( typeof(this.ele.filters.wave) != "object" )\r
-       {\r
-               this.EndEffect();\r
-               return;\r
-       }\r
-\r
-       if( this.duration > 0 )\r
-       {\r
-               var percent = ((new Date()).getTime() - this.startTime)/this.duration;\r
-               if( percent >= 1.0 )\r
-               {\r
-                       this.EndEffect();\r
-                       return;\r
-               }\r
-       }\r
-       \r
-       this.ele.filters.wave.phase += 5;\r
-       this.ele.filters.wave.phase %= 100;\r
-       if( this.timer == null )\r
-               this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 50 );\r
-}\r
-\r
-CAgencyWave.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       this.ele.style.filter = "";\r
-       clearInterval( this.timer );\r
-       this.timer = null;\r
-}\r
-\r
-CAgencyWave.prototype.ResetParameters = function()\r
-{\r
-       this.PrepareEffect();\r
-       this.ele.style.filter = "wave(strength=" + this.strength + ",freq=" + \r
-        this.freq +", lightstrength=" + this.lightstrength +",phase=0);";\r
-       this.startTime = (new Date()).getTime();\r
-}\r
-// End of the CAgencyWave definition\r
-\r
-// Begin of CAgencyGlow definition\r
-function CAgencyGlow( element, settings )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       // to set the default value\r
-       this.glowColor = "green";\r
-       this.glowStrength = "3";\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "color" : this.glowColor = arrOneSet[1]; break;\r
-               case "strength" : this.glowStrength = arrOneSet[1]; break;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyGlow.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.PrepareFilter(this.ele);\r
-       CCSSP.ShowObject(this.ele, true );\r
-       if( this.ele.style.backgroundColor != "" )\r
-       {//style.backgroundColor somehow stop the visual filter\r
-               this.ele.intactBackgroundColor = this.ele.style.backgroundColor;\r
-               this.ele.style.backgroundColor = "";\r
-       }\r
-}\r
-\r
-CAgencyGlow.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       this.PrepareEffect();\r
-       this.ele.style.filter = "glow(Color=" + this.glowColor + ", Strength=" + \r
-               this.glowStrength + ", enabled=true" +")";\r
-}\r
-\r
-CAgencyGlow.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       this.ele.style.filter = "";\r
-       if( typeof(this.ele.intactBackgroundColor) != "undefined" )\r
-               this.ele.style.backgroundColor = this.ele.intactBackgroundColor;\r
-}\r
-// End of the CAgencyGlow definition\r
-\r
-// Begin of CAgencyDropShadow definition\r
-function CAgencyDropShadow( element, settings )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       // to set the default value\r
-       this.shadowColor = "black"; \r
-       this.shadowOffx = "1";\r
-       this.shadowOffy = "1";\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "color" : this.shadowColor = arrOneSet[1]; break;\r
-               case "offx" : this.shadowOffx = arrOneSet[1]; break;\r
-               case "offy" : this.shadowOffy = arrOneSet[1]; break;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyDropShadow.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.PrepareFilter(this.ele);\r
-       CCSSP.ShowObject(this.ele, true );\r
-       \r
-       if( this.ele.style.backgroundColor != "" )\r
-       {//style.backgroundColor somehow stop the visual filter\r
-               this.ele.intactBackgroundColor = this.ele.style.backgroundColor;\r
-               this.ele.style.backgroundColor = "";\r
-       }\r
-}\r
-\r
-CAgencyDropShadow.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       this.PrepareEffect();\r
-       this.ele.style.filter = "dropshadow(color=" + this.shadowColor + ", offx=" + \r
-               this.shadowOffx + ", offy=" + this.shadowOffy + ")";\r
-}\r
-\r
-CAgencyDropShadow.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       this.ele.style.filter = "";\r
-       if( typeof(this.ele.intactBackgroundColor) != "undefined" )\r
-               this.ele.style.backgroundColor = this.ele.intactBackgroundColor;\r
-}\r
-// End of the CAgencyDropShadow definition\r
-\r
-// Begin of CAgencyRevealTrans definition\r
-function CAgencyRevealTrans( element, settings )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       // to set the default value\r
-       this.duration = 1.0; //The value is specified in seconds.milliseconds format (0.0000).\r
-       this.transition = 0;\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "type" : this.transition = arrOneSet[1]; break;\r
-               case "duration" : this.duration = 100/arrOneSet[1];     break;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyRevealTrans.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.PrepareFilter(this.ele);\r
-       CCSSP.ShowObject( this.ele, false);\r
-}\r
-\r
-CAgencyRevealTrans.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       if( typeof( this.ele.filters.RevealTrans ) == "object" )\r
-       {\r
-               if( this.ele.filters.RevealTrans.status == 2 )\r
-                       this.ele.filters.RevealTrans.stop();  \r
-       }\r
-\r
-       this.PrepareEffect();\r
-       \r
-       this.ele.style.filter = "RevealTrans(duration=" + this.duration + \r
-               ", transition=" + this.transition + ")";\r
-       \r
-    if( typeof( this.ele.filters.RevealTrans ) == "object" )\r
-    {\r
-               this.ele.filters.RevealTrans.apply();\r
-               CCSSP.ShowObject( this.ele, true);\r
-               this.ele.filters.RevealTrans.play();  \r
-       }\r
-       else\r
-               CCSSP.ShowObject( this.ele, true);\r
-}\r
-\r
-CAgencyRevealTrans.prototype.EndEffect = function()\r
-{\r
-    if( typeof( this.ele.filters.RevealTrans ) == "object" )\r
-               this.ele.filters.RevealTrans.stop();  \r
-       this.ele.style.filter = "";\r
-}\r
-// End of the CAgencyRevealTrans definition\r
-\r
-// Begin of CAgencyBlur definition\r
-function CAgencyBlur( element, settings )\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       // to set the default value\r
-       this.strength = "5";\r
-       this.direction = "90";\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "strength" : this.strength = arrOneSet[1]; break;\r
-               case "direction" : this.direction = arrOneSet[1]; break;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyBlur.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.PrepareFilter(this.ele);\r
-       CCSSP.ShowObject(this.ele, true );\r
-}\r
-\r
-CAgencyBlur.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       CCSSP.PrepareFilter(this.ele);\r
-       this.ele.style.filter = "blur(strength=" + this.strength + \r
-               ", direction=" + this.direction + ")";\r
-}\r
-\r
-CAgencyBlur.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       this.ele.style.filter = "";\r
-}\r
-// End of the CAgencyBlur definition\r
-\r
-// Begin of CAgencyChangeFilter definition\r
-function CAgencyChangeFilter( element, settings ) // flipH, flipV, invert, grey,\r
-{// because of "visual filter" style, this won't work in Navigator\r
-       this.ele = element;\r
-\r
-       // to set the default value\r
-       this.filterFunction = settings;\r
-}\r
-\r
-CAgencyChangeFilter.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.PrepareFilter(this.ele);\r
-       CCSSP.ShowObject(this.ele, true );\r
-}\r
-\r
-CAgencyChangeFilter.prototype.UpdateEffect = function()\r
-{// to set the visual filter function\r
-       CCSSP.PrepareFilter(this.ele);\r
-       this.ele.style.filter = this.filterFunction;\r
-}\r
-\r
-CAgencyChangeFilter.prototype.EndEffect = function()\r
-{// to remove the visual filter function\r
-       this.ele.style.filter = "";\r
-}\r
-// End of the CAgencyChangeFilter definition\r
-\r
-// The effects below change the style on the fly, so they won't work in Navigator\r
-\r
-// Begin of CAgencyFontChange definition, \r
-function CAgencyFontChange( element, settings )\r
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.\r
-       this.ele = element;\r
-       \r
-       // to retrieve the original font style\r
-       this.RetrieveOldFont( this.ele );\r
-       \r
-       // to set the default font to change\r
-       this.newfontFamily = this.ele.oldFontFamily;\r
-       this.newfColor = this.ele.oldColor;\r
-       this.newtextDecoration = this.ele.oldTextDecoration;\r
-       this.newfontWeight = this.ele.oldFontWeight;\r
-       this.newfontStyle = this.ele.oldFontStyle;\r
-       this.newfontSize = this.ele.oldFontSize;\r
-       this.newBackgroundColor = this.ele.oldBackgroundColor;\r
-       \r
-       var arrAllSet = settings.split(",");\r
-       for( var i = 0; i < arrAllSet.length; i ++ )\r
-       {// to retrieve the setting\r
-               arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);\r
-               var arrOneSet = arrAllSet[i].split("=");\r
-               for( var j = 0; j < arrOneSet.length; j++ )\r
-                       arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);\r
-               switch( arrOneSet[0] )\r
-               {\r
-               case "font-family" : this.newfontFamily = arrOneSet[1]; break;\r
-               case "color" : this.newfColor = arrOneSet[1]; break;\r
-               case "underline" : this.newtextDecoration = (arrOneSet[1]=="on")? "underline" : "none"; break;\r
-               case "bold" : this.newfontWeight = (arrOneSet[1]=="on")? "bold" : "normal"; break;\r
-               case "italic" : this.newfontStyle = (arrOneSet[1]=="on")? "italic" : "normal"; break;\r
-               case "size" : this.newfontSize = arrOneSet[1]; break;\r
-               case "background-color" : this.newBackgroundColor = arrOneSet[1]; break;\r
-               }\r
-       }\r
-}\r
-\r
-CAgencyFontChange.prototype.RetrieveOldFont = function(objChild)\r
-{\r
-       if( typeof(objChild.oldFontFamily) == "undefined" )\r
-               objChild.oldFontFamily = objChild.style.fontFamily;\r
-       if( typeof(objChild.oldColor) == "undefined" )\r
-               objChild.oldColor = objChild.style.color;\r
-       if( typeof(objChild.oldTextDecoration) == "undefined" )\r
-               objChild.oldTextDecoration = objChild.style.textDecoration;\r
-       if( typeof(objChild.oldFontWeight) == "undefined" )\r
-               objChild.oldFontWeight = objChild.style.fontWeight;\r
-       if( typeof(objChild.oldFontStyle) == "undefined" )\r
-               objChild.oldFontStyle = objChild.style.fontStyle;\r
-       if( typeof(objChild.oldFontSize) == "undefined" )\r
-               objChild.oldFontSize = objChild.style.fontSize;\r
-       if( typeof(objChild.oldBackgroundColor) == "undefined" )\r
-               objChild.oldBackgroundColor = objChild.style.backgroundColor;\r
-}\r
-\r
-CAgencyFontChange.prototype.PrepareEffect = function()\r
-{\r
-       // as for expanding text, the child is created after the constructor called\r
-       for(var index = 0; index < this.ele.all.length; index++)\r
-               this.RetrieveOldFont(this.ele.all[index]);\r
-       CCSSP.ShowObject(this.ele, true );\r
-}\r
-\r
-CAgencyFontChange.prototype.UpdateEffect = function()\r
-{// to change the font\r
-       this.PrepareEffect();\r
-       this.UpdateEffectAllChildren( this.ele );\r
-       for( var index = 0; index < this.ele.all.length; index++)\r
-               this.UpdateEffectAllChildren(this.ele.all[index]);\r
-}\r
-\r
-CAgencyFontChange.prototype.UpdateEffectAllChildren = function(objChild)\r
-{\r
-       objChild.style.fontFamily = this.newfontFamily;\r
-       objChild.style.color = this.newfColor;\r
-       objChild.style.textDecoration = this.newtextDecoration;\r
-       objChild.style.fontWeight = this.newfontWeight;\r
-       objChild.style.fontStyle = this.newfontStyle;\r
-       objChild.style.fontSize = this.newfontSize;\r
-       objChild.style.backgroundColor = this.newBackgroundColor;\r
-}\r
-\r
-CAgencyFontChange.prototype.EndEffect = function()\r
-{// to reinstate the original font style\r
-       this.EndEffectAllChildren( this.ele );\r
-       for( var index = 0; index < this.ele.all.length; index++)\r
-               this.EndEffectAllChildren(this.ele.all[index]);\r
-}\r
-\r
-CAgencyFontChange.prototype.EndEffectAllChildren = function( objChild )\r
-{\r
-       if( typeof(objChild.oldFontFamily) != "undefined" )\r
-               objChild.style.fontFamily = objChild.oldFontFamily;\r
-       if( typeof(objChild.oldColor) != "undefined" )\r
-               objChild.style.color = objChild.oldColor;\r
-       if( typeof(objChild.oldFontWeight) != "undefined" )\r
-               objChild.style.fontWeight = objChild.oldFontWeight;\r
-       if( typeof(objChild.oldFontStyle) != "undefined" )\r
-               objChild.style.fontStyle = objChild.oldFontStyle;\r
-       if( typeof(objChild.oldFontSize) != "undefined" )\r
-               objChild.style.fontSize = objChild.oldFontSize;\r
-       if( typeof(objChild.oldTextDecoration) != "undefined" )\r
-               objChild.style.textDecoration = objChild.oldTextDecoration;\r
-       if( typeof(objChild.oldBackgroundColor) != "undefined" )\r
-               objChild.style.backgroundColor = objChild.oldBackgroundColor;\r
-}\r
-// End of the CAgencyFontChange definition\r
-\r
-// Begin of the CAgencyChangeStyle definition\r
-function CAgencyChangeStyle( element, settings )\r
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.\r
-       this.ele = element;\r
-       \r
-       // to retrieve the original style\r
-       this.oldstyle = this.ele.style.cssText;\r
-       \r
-       // to set the default style\r
-       this.newStyle = this.oldstyle;\r
-       \r
-       if( typeof(settings) == "string" && settings.length > 1 )\r
-               this.newStyle = this.oldstyle + " " + settings;\r
-}\r
-\r
-CAgencyChangeStyle.prototype.PrepareEffect = function()\r
-{\r
-       CCSSP.ShowObject(this.ele, true );\r
-}\r
-\r
-CAgencyChangeStyle.prototype.UpdateEffect = function()\r
-{// to change the style\r
-       this.ele.style.cssText = this.newStyle;\r
-}\r
-\r
-CAgencyChangeStyle.prototype.EndEffect = function()\r
-{// to reinstate the original style\r
-       this.ele.style.cssText = this.oldStyle;\r
-}\r
-// End of the CAgencyChangeStyle definition\r
-\r
-//End the definition of CAgencyXXXX classes\r
-\r
-//Begin to collaborate with other event handler settings \r
-CCSSP.RegisterEventHandler( window, "onload", "CEngine.OnPageLoad();BSSCOnLoad();kadovInitTriggersInHead();");\r
-CCSSP.RegisterEventHandler( document, "onclick", "CEngine.OnPageClick();BSSCOnClick();");\r
-CCSSP.RegisterEventHandler( document, "onmouseover", "CEngine.OnMouseOver();BSSCOnMouseOver();" );\r
-CCSSP.RegisterEventHandler( document, "onmouseout", "CEngine.OnMouseOver();BSSCOnMouseOut();" );\r
-CCSSP.RegisterEventHandler( window, "onunload", "BSSCOnUnload();");\r
-//End to collaborate with other event handler settings\r
-\r
-/// Section End  - CCSSP DHTM 2 (JavaScript 1.2)\r
-\r
-//// Segment End -- (JavaScript 1.2)
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/files/introduction_to_geom.htm b/doc/salome/gui/GEOM/files/introduction_to_geom.htm
deleted file mode 100755 (executable)
index c9d49a1..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Introduction to GEOM</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-img_whs1 { border-style:none; border:none; width:30px; height:30px; float:none; }\r
-ul.whs2 { list-style:disc; }\r
-table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }\r
-col.whs4 { width:50%; }\r
-tr.whs5 { x-cell-content-align:top; }\r
-td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
-ul.whs7 { list-style:circle; }\r
-td.whs8 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs9 { border-style:none; border:none; width:400px; height:292px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nIntroduction to GEOM");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Introduction to GEOM</h1>\r
-\r
-<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>GEOM </B></span>module of \r
- SALOME is destined for: </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p>Import and export of geometrical models in IGES, \r
- BREP and STEP formats.</p></li>\r
-       \r
-       <li class=kadov-p><p>Construction and optimization of geometrical models \r
- using a wide range of &nbsp;CAD \r
- functions:</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="100%" class="whs3">\r
-<col class="whs4">\r
-<col class="whs4">\r
-\r
-<tr valign="top" class="whs5">\r
-<td width="50%" class="whs6">\r
-<ul type="circle" class="whs7">\r
-       \r
-       <li class=kadov-p><p>Creation of basic geometrical objects</p></li>\r
-       \r
-       <li class=kadov-p><p>Construction of primitives</p></li>\r
-       \r
-       <li class=kadov-p><p>Building shapes</p></li>\r
-       \r
-       <li class=kadov-p><p>Generation of complex shapes</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical repairing of objects</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical boolean operations</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical transformations</p></li>\r
-       \r
-       <li class=kadov-p><p>Generation of complex objects</p></li>\r
-</ul>\r
-<p>&nbsp;</td>\r
-<td width="50%" class="whs8">\r
-<p><img src="../image3.jpg" width="400px" height="292px" border="0" class="img_whs9"></td></tr>\r
-</table>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
deleted file mode 100755 (executable)
index d6dca98..0000000
+++ /dev/null
@@ -1,869 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-size:12pt; }\r
-p.whs5 { margin-left:40px; }\r
-p.whs6 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs7 { border-style:none; width:20px; height:20px; }\r
-table.whs8 { x-cell-content-align:top; border-spacing:0px; width:65.051%; }\r
-col.whs9 { width:39.418%; }\r
-col.whs10 { width:28.296%; }\r
-col.whs11 { width:32.286%; }\r
-tr.whs12 { x-cell-content-align:top; }\r
-td.whs13 { padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
-img_whs14 { border-style:none; border:none; width:218px; height:250px; }\r
-td.whs15 { padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
-p.whs16 { font-size:12pt; margin-right:0px; }\r
-img_whs17 { border-style:none; border:none; width:150px; height:250px; }\r
-td.whs18 { padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs19 { border-style:none; border:none; width:170px; height:250px; }\r
-p.whs20 { font-size:12pt; margin-left:40px; }\r
-p.whs21 { color:#808080; font-size:12pt; }\r
-p.whs22 { font-size:12pt; color:#000000; }\r
-p.whs23 { color:#808080; font-size:12pt; margin-left:40px; }\r
-img_whs24 { border-style:none; border:none; width:150px; height:140px; }\r
-img_whs25 { border:none; width:234px; height:250px; }\r
-img_whs26 { border-style:none; border:none; width:150px; height:139px; }\r
-table.whs27 { x-cell-content-align:top; border-spacing:0px; width:50.278%; }\r
-col.whs28 { width:49.724%; }\r
-col.whs29 { width:50.276%; }\r
-img_whs30 { border-style:none; border:none; width:212px; height:250px; }\r
-img_whs31 { border-style:none; border:none; width:211px; height:250px; }\r
-img_whs32 { border-style:none; border:none; width:150px; height:129px; }\r
-img_whs33 { border:none; width:197px; height:250px; }\r
-p.whs34 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs35 { border-style:none; border:none; width:150px; height:154px; }\r
-img_whs36 { border:none; width:211px; height:250px; }\r
-img_whs37 { border-style:none; border:none; width:150px; height:123px; }\r
-p.whs38 { font-size:14pt; }\r
-img_whs39 { border-style:none; border:none; width:20px; height:20px; }\r
-img_whs40 { border:none; width:262px; height:250px; }\r
-p.whs41 { font-size:12pt; font-weight:bold; }\r
-p.whs42 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }\r
-img_whs43 { border-style:none; border:none; width:200px; height:181px; float:none; }\r
-img_whs44 { border-style:none; border:none; width:175px; height:181px; }\r
-img_whs45 { border-style:none; border:none; width:203px; height:181px; }\r
-p.whs46 { font-size:12pt; margin-left:0px; }\r
-img_whs47 { border:none; width:236px; height:250px; }\r
-img_whs48 { border:none; width:204px; height:250px; }\r
-img_whs49 { border-style:none; border:none; width:150px; height:128px; }\r
-table.whs50 { x-cell-content-align:top; border-spacing:0px; width:72.604%; }\r
-col.whs51 { width:32.089%; }\r
-col.whs52 { width:32.008%; }\r
-col.whs53 { width:35.903%; }\r
-img_whs54 { border-style:none; border:none; width:196px; height:250px; }\r
-img_whs55 { border-style:none; border:none; width:195px; height:250px; }\r
-img_whs56 { border-style:none; border:none; width:214px; height:250px; }\r
-p.whs57 { font-size:12pt; font-weight:bold; color:#000000; }\r
-img_whs58 { border-style:none; border:none; width:150px; height:131px; }\r
-table.whs59 { x-cell-content-align:top; border-spacing:0px; width:81.596%; }\r
-col.whs60 { width:33.942%; }\r
-col.whs61 { width:33.812%; }\r
-col.whs62 { width:32.246%; }\r
-img_whs63 { border:none; width:234px; height:200px; border-style:none; }\r
-img_whs64 { border:none; width:235px; height:200px; border-style:none; }\r
-img_whs65 { border-style:none; border:none; width:221px; height:200px; }\r
-p.whs66 { font-size:12pt; margin-left:40px; font-weight:bold; text-indent:-40px; }\r
-img_whs67 { border-style:none; border:none; width:16px; height:16px; }\r
-table.whs68 { x-cell-content-align:top; border-spacing:0px; width:63.512%; }\r
-col.whs69 { width:49.962%; }\r
-col.whs70 { width:45.348%; }\r
-col.whs71 { width:4.69%; }\r
-p.whs72 { font-weight:bold; font-size:14pt; }\r
-img_whs73 { border:none; width:272px; height:250px; border-style:none; }\r
-img_whs74 { border:none; width:242px; height:250px; border-style:none; }\r
-p.whs75 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }\r
-p.whs76 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }\r
-img_whs77 { border:none; width:257px; height:250px; border-style:none; }\r
-p.whs78 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:80px; }\r
-p.whs79 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }\r
-p.whs80 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }\r
-img_whs81 { border-style:none; border:none; width:200px; height:219px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs16 {margin-right:1pt; }";\r
-  strNSS += "p.whs46 {margin-left:1pt; }";\r
-  strNSS += "p.whs66 {text-indent:1pt; }";\r
-  strNSS += "p.whs75 {text-indent:1pt; }";\r
-  strNSS += "p.whs76 {text-indent:1pt; }";\r
-  strNSS += "p.whs78 {text-indent:1pt; }";\r
-  strNSS += "p.whs79 {text-indent:1pt; }";\r
-  strNSS += "p.whs80 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreating basic geometrical objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span \r
- style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></b></a></h1>\r
-\r
-<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> In GEOM you can </b>create basic geometrical objects (1D \r
- &amp; 2D elements) such as:</p>\r
-\r
-<p class="whs1"><a HREF="#_Toc57604479"><b><font><span \r
- style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></font></b></a></p>\r
-\r
-<dir>\r
-       \r
-       <ul type="disc" class="whs3">\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Point&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Line&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Circle&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Ellipse&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604484">&nbsp;Arc</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#_Toc57604488">Curve</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Vector&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&nbsp;Plane&#9;</font></span></a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57604487">&nbsp;Working plane</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#_Toc57604489">Local coordinate system</a><a \r
- HREF="#_Toc57604487">&#9;</a></p></li>\r
-       </ul>\r
-</dir>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class=TODO>To create basic geometrical objects:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New \r
- Entity &gt; Basic</B></span>.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-&nbsp; \r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604480><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs7"> Point</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a point.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (vertex).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command :</b> \r
- <span style="font-style: italic;"><I>geompy.MakeVertex(X, Y, X)</I></span>, where \r
- X, Y, Z are coordinates of the point.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
- Constructor:</b> Name + 3 coordinates.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd \r
- Constructor: </B></span>Name + 1 reference point + 3 coordinates defining \r
- the position of this point regarding the reference one</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>2nd Constructor:</b> \r
- Name + 1 edge &nbsp;+ \r
- 1 Parameter defining the position of the point on the given edge.</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<table x-use-null-cells width="65.051%" cellspacing="0" class="whs8">\r
-<col class="whs9">\r
-<col class="whs10">\r
-<col class="whs11">\r
-\r
-<tr valign="top" class="whs12">\r
-<td width="39.418%" class="whs13">\r
-<p class="whs4"><img src="../image207.jpg" width="218px" height="250px" border="0" class="img_whs14"></td>\r
-<td width="28.296%" class="whs15">\r
-<p class="whs16"><img src="../image208.jpg" width="150px" height="250px" border="0" class="img_whs17"></td>\r
-<td width="32.286%" class="whs18">\r
-<p class="whs4"><img src="../image209.jpg" width="170px" height="250px" border="0" class="img_whs19"></td></tr>\r
-</table>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs24"></p>\r
-\r
-<p class="whs23">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604481><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs7"> Line</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a line.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>, \r
- where Point1 and Point2 are points through &nbsp;which \r
- the line passes.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Arguments:</b> Name + 2 vertices.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20"><img src="../image223.jpg" width="234px" height="250px" border="0" class="img_whs25"></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs26"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604482><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs7"> Circle</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a circle.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>, \r
- where Point defines the center of the circle, Vector gives the circle\92\r
- normal and Radius is the circle\92s &nbsp;radius.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>1st Constructor:</b> \r
- Name + 1 vertex (for the center) + 1 edge (for the direction) + Radius.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd \r
- Constructor: </B></span>Name + 3 points which will form the circle.</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<table x-use-null-cells width="50.278%" cellspacing="0" class="whs27">\r
-<col class="whs28">\r
-<col class="whs29">\r
-\r
-<tr valign="top" class="whs12">\r
-<td width="49.724%" class="whs13">\r
-<p class="whs4"><img src="../image210.jpg" width="212px" height="250px" border="0" class="img_whs30"></td>\r
-<td width="50.276%" class="whs18">\r
-<p class="whs4"><img src="../image211.jpg" width="211px" height="250px" border="0" class="img_whs31"></td></tr>\r
-</table>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs32"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604483><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs7"> Ellipse</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates an ellipse.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span \r
- style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor, \r
- RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector \r
- gives the ellipse\92s normal, RadiusMajor and RadiusMinor &nbsp;are \r
- correspondingly a major and minor radiuses of the ellipse.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Arguments:</b> Name + 1 vertex (for the \r
- center) + 1 edge (for the direction) + 1 X Radius + 1 Y Radius.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20"><img src="../image222.jpg" width="197px" height="250px" border="0" class="img_whs33"></p>\r
-\r
-<p class="whs34">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs35"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604484><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs7"> Arc</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates an arc.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>, \r
- where Point1 is the starting point of the arc, Point2 is a middle point \r
- of the arc and Point3 is the ending point of the arc.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Arguments:</b> Name + 3 vertices.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20"><img src="../image221.jpg" width="211px" height="250px" border="0" class="img_whs36"></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs37"></p>\r
-\r
-<p class="whs23">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs38"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs39"> Curve</a></b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a curve in 3D space.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (edge).</font></span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>, \r
- where ListOfShape is a list of points through which the curve passes .</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>, \r
- where ListOfShape is a list of points through which the curve passes .</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>, \r
- where ListOfShape is a list of points through which the curve passes .</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Arguments:</b> Name + at least 2 points \r
- which will serve as nodes on the curve.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20"><img src="../image226.jpg" width="262px" height="250px" border="0" class="img_whs40"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs41">Example:</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs42">Polyline \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</p>\r
-\r
-<p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs43"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs44"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs45"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604485><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs7"> Vector</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a vector.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>, \r
- where Point1 is the first point of the vector and the Point2 is the last \r
- point of the vector.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
- Constructor :</b> Name + 2 vertices.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
- Constructor :</b> Name + 3 values (Coordinates of the 2nd vertex. The \r
- first vertex is in the origin).</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;&nbsp;<img src="../image225.jpg" width="236px" height="250px" border="0" class="img_whs47"> &nbsp;&nbsp;&nbsp;<img src="../image224.jpg" width="204px" height="250px" border="0" class="img_whs48"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs49"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604486><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs7"> Plane</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Creates a plane.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (face).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>, \r
- where Point is a point through which &nbsp;the \r
- plane passes, Vector gives a normal of the plane and TrimSize is a half \r
- size of a side of quadrangle face, representing the plane.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>1st Constructor :</b> \r
- Name + 1 vertex + 1 vector &nbsp;+ \r
- 1 value (to define the size of the plane).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b> \r
- Name + 1 vertex + 3 points (for the direction) + 1 value (to define the \r
- size of the plane).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>3rd Constructor :</b> \r
- Name + 1 selection + 1 value (to define the size of the plane).</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<table x-use-null-cells width="72.604%" cellspacing="0" class="whs50">\r
-<col class="whs51">\r
-<col class="whs52">\r
-<col class="whs53">\r
-\r
-<tr valign="top" class="whs12">\r
-<td width="32.089%" class="whs13">\r
-<p class="whs4"><img src="../image212.jpg" width="196px" height="250px" border="0" class="img_whs54"></td>\r
-<td width="32.008%" class="whs15">\r
-<p class="whs4"><img src="../image213.jpg" width="195px" height="250px" border="0" class="img_whs55"></td>\r
-<td width="35.903%" class="whs18">\r
-<p class="whs4"><img src="../image214.jpg" width="214px" height="250px" border="0" class="img_whs56"></td></tr>\r
-</table>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs57"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>\r
-\r
-<p class="whs21">&nbsp;</p>\r
-\r
-<p class="whs23"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs58"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;"><a \r
- NAME=_Toc57604487><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs7"> Working \r
- Plane</font></span></a></b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Sets the working plane (and the camera position).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs4">Name + 1 selection (face \r
- or planar face), </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4">Name + &nbsp;2 \r
- vectors, </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4">Name + XYZ coordinate \r
- system</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<table x-use-null-cells width="81.596%" cellspacing="0" class="whs59">\r
-<col class="whs60">\r
-<col class="whs61">\r
-<col class="whs62">\r
-\r
-<tr valign="top" class="whs12">\r
-<td width="33.942%" class="whs13">\r
-<p class="whs4"><img src="../image216.jpg" width="234px" height="200px" border="0" class="img_whs63"></td>\r
-<td width="33.812%" class="whs15">\r
-<p class="whs4"><img src="../image217.jpg" width="235px" height="200px" border="0" class="img_whs64"></td>\r
-<td width="32.246%" class="whs18">\r
-<p class="whs4"><img src="../image215.jpg" width="221px" height="200px" border="0" class="img_whs65"></td></tr>\r
-</table>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs34">&nbsp;</p>\r
-\r
-<p class="whs66">&nbsp;</p>\r
-\r
-<p class="whs66"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs67"><span \r
- style="font-size: 14pt;"> <font size=4 style="font-size:14pt;"></font></span><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Local \r
- coordinate system</font></span></b></a></p>\r
-\r
-<p class="whs66">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- &nbsp;The user \r
- may manually enter values of X, Y, and Z coordinates of origin in the \r
- corresponding fields of the dialog box, or select a point in the object \r
- browser or 3D viewer, in this case coordinates of origin are automatically \r
- filled in with the coordinates of the selected point. </p>\r
-\r
-<p class="whs4">The user then specifies components of X and \r
- Y axes direction.</p>\r
-\r
-<p class="whs4">Preview of the new LCS (small trihedron located \r
- and oriented according to parameters of LCS) is displayed in the 3D viewer \r
- and updated as soon as the user modifies some parameter. </p>\r
-\r
-<p class="whs4">Then the user presses «OK» or «Apply» button \r
- to create an LCS at the location with the specified coordinates. The new \r
- object is shown in the Object Browser and in 3D viewer.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, \r
- XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin \r
- of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction \r
- of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>1st Constructor :</b> \r
- Name + Coordinates of origin, X axis direction, Y axis direction</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b> \r
- Name + reference object.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b>3rd Constructor :</b> \r
- Name + 1 point of origin + X axis direction, Y axis direction.</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<table x-use-null-cells width="63.512%" cellspacing="0" class="whs68">\r
-<col class="whs69">\r
-<col class="whs70">\r
-<col class="whs71">\r
-\r
-<tr valign="top" class="whs12">\r
-<td width="49.962%" class="whs13">\r
-<p class="whs72"><img src="../image220.jpg" width="272px" height="250px" border="0" class="img_whs73"></td>\r
-<td width="45.348%" class="whs15">\r
-<p class="whs72"><img src="../image219.jpg" width="242px" height="250px" border="0" class="img_whs74"></td>\r
-<td width="4.69%" class="whs18">\r
-<p class="whs72">&nbsp;</td></tr>\r
-</table>\r
-\r
-<p class="whs75">&nbsp;</p>\r
-\r
-<p class="whs76">&nbsp;&nbsp;<img src="../image218.jpg" width="257px" height="250px" border="0" class="img_whs77"></p>\r
-\r
-<p class="whs78">&nbsp;</p>\r
-\r
-<p class="whs79">Example:</p>\r
-\r
-<p class="whs79">&nbsp;</p>\r
-\r
-<p class="whs80"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs81"></p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
deleted file mode 100755 (executable)
index 216da75..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif
deleted file mode 100755 (executable)
index 0667288..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
deleted file mode 100755 (executable)
index 5ee22f3..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
deleted file mode 100755 (executable)
index a83d6d1..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
deleted file mode 100755 (executable)
index 82a6968..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
deleted file mode 100755 (executable)
index f74b5f0..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
deleted file mode 100755 (executable)
index 72dd5f5..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
deleted file mode 100755 (executable)
index ed0f452..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm
deleted file mode 100755 (executable)
index ca0289e..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs3 { font-size:12pt; font-weight:normal; }\r
-img_whs4 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-p.whs5 { text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; }\r
-p.whs6 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:bold; }\r
-p.whs7 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:bold; margin-left:40px; }\r
-p.whs8 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:14pt; }\r
-img_whs9 { border-style:none; width:20px; height:20px; }\r
-p.whs10 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs11 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs12 { border:none; width:234px; height:250px; }\r
-p.whs13 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs14 { border-style:none; border:none; width:150px; height:122px; }\r
-img_whs15 { border:none; width:236px; height:250px; }\r
-p.whs16 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs5 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs6 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs7 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs11 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs13 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs16 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nUsing boolean operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1 class="whs1">Using boolean operations</h1>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4">In GEOM for construction of more complex geometrical objects \r
- (2D &amp; 3D elements) you can use the following boolean operations:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li style="list-style: disc;"\r
-               type=disc\r
-               class=kadov-p><p class="whs2"><a href="#fuse">Fuse</a></p></li>\r
-</ul>\r
-\r
-<ul>\r
-       \r
-       <li style="list-style: disc;"\r
-               type=disc\r
-               class=kadov-p><p class="whs2"><a href="#common">Common</a></p></li>\r
-       \r
-       <li style="list-style: disc;"\r
-               type=disc\r
-               class=kadov-p><p class="whs5"><a href="#cut">Cut</a></p></li>\r
-       \r
-       <li style="list-style: disc;"\r
-               type=disc\r
-               class=kadov-p><p class="whs2"><a href="#section">Section</a></p></li>\r
-</ul>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs6">TUI command:</p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1, \r
- Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2 \r
- is the second argument of Boolean operation, Operation is a type of the \r
- Boolean operation (1 \96 Common, 2 \96 Cut, 3 \96 Fuse, 4 \96 Section).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To use boolean operations:</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">In the \r
- main menu select </span><span>Operations &gt; Boolean</span><span style="font-weight: normal;">.</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs8"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><a NAME=fuse\r
-       style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Fuse</font></b></a> \r
- </font></span></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Fuses 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image257.jpg" width="234px" height="250px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs13">&nbsp;</p>\r
-\r
-<p class="whs13"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> &nbsp;<img src="../image7.jpg" width="150px" height="122px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs8"><b style="font-weight: bold;"><a NAME=common\r
-       style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs9"> Common</a></b> </p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- The common part of two shapes is cut and transformed into an independent \r
- geometrical object.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image256.jpg" width="236px" height="250px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> &nbsp;<img src="../image2.gif" width="150px" height="122px" border="0" class="img_whs14"> </p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><a NAME=cut\r
-                                                                       style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
-                                               size=4> Cut</font></b></a> </p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Cuts a shape with another one.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image255.jpg" width="236px" height="250px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> &nbsp;<img src="../image4.gif" width="150px" height="122px" border="0" class="img_whs14"> </p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs8"><a NAME=section\r
-                                                               style="font-size: 14pt;"><img src="salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"\r
-                                               size=4> Section</font></b></a> </p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Description:</b> \r
- Gets the section between 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object (COMPOUND).</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image254.jpg" width="236px" height="250px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image5.jpg" width="150px" height="122px" border="0" class="img_whs14"> &nbsp;<img src="../image5.gif" width="150px" height="122px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs16">&nbsp;&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
deleted file mode 100755 (executable)
index 129d17d..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
deleted file mode 100755 (executable)
index 56ec71d..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
deleted file mode 100755 (executable)
index d210eb9..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
deleted file mode 100755 (executable)
index 3372d41..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm
deleted file mode 100755 (executable)
index f541158..0000000
+++ /dev/null
@@ -1,462 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { font-size:12pt; font-weight:normal; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { font-size:12pt; }\r
-p.whs4 { margin-left:40px; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs6 { width:20px; height:20px; border-style:none; }\r
-ul.whs7 { list-style:disc; }\r
-p.whs8 { font-size:12pt; margin-left:40px; }\r
-img_whs9 { border:none; width:266px; height:250px; }\r
-p.whs10 { font-family:'Times New Roman' , serif; font-size:14pt; font-style:italic; font-weight:bold; }\r
-img_whs11 { border:none; width:234px; height:250px; }\r
-img_whs12 { border:none; width:150px; height:102px; border-style:none; }\r
-img_whs13 { border:none; width:294px; height:250px; }\r
-img_whs14 { border:none; width:150px; height:120px; border-style:none; }\r
-p.whs15 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs16 { border:none; width:238px; height:250px; }\r
-img_whs17 { border:none; width:150px; height:116px; border-style:none; }\r
-img_whs18 { border:none; width:261px; height:250px; }\r
-img_whs19 { border:none; width:150px; height:131px; border-style:none; }\r
-img_whs20 { border:none; width:258px; height:250px; }\r
-img_whs21 { border:none; width:150px; height:105px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nBuilding geometrical objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><b style="font-weight: bold;"><span style="font-weight: bold;"><B>B</B></span>uilding \r
- geometrical objects</b></h1>\r
-\r
-<p class="whs1"><b><span style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">In GEOM you can create basic and advanced geometrical objects \r
- (2D &amp; 3D elements) using the following building functions:</span></b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="#explode">Explode</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3">Build</p></li>\r
-       \r
-       <ul>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#edge">Edge</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#wire">Wire</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#face">Face</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#shell">Shell</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#solid">Solid</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a href="#compound">Compound</a></p></li>\r
-       </ul>\r
-</ul>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class=TODO\r
-       style="font-family: 'Times New Roman', serif;\r
-                       font-size: 14pt;\r
-                       font-weight: bold;">To use Explode:</p>\r
-\r
-<p class=TODO\r
-       style="font-family: 'Times New Roman', serif;\r
-                       font-size: 14pt;\r
-                       font-weight: bold;">&nbsp;</p>\r
-\r
-<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>New \r
- Entity &gt; Explode</B></span>.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=explode><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs6"> Explode</font></span></a></b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Returns a list of subshapes (vertices, edges, wires etc.) of the given \r
- shape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result :</b> \r
- List of GEOM_Objects.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command: \r
- </b></p>\r
-\r
-<ul type="disc" class="whs7">\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShape(Shape, \r
- ListOfID)</I></span>, where Shape is a shape whose subshape(s) is (are) retrieved, \r
- ListOfID is a list of requested sub shapes IDs. To get a subshape ID use \r
- method GetSubShapeID().</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape, \r
- TypeOfShape)</I></span>, where Shape is a shape to be exploded on sub shapes \r
- of type TypeOfShape.</p></li>\r
-</ul>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- 1 SHAPE + 1 type of SubShape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image247.jpg" width="266px" height="250px" border="0" class="img_whs9"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs10">To use building functions:</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs8">In the main menu select \r
- <span style="font-weight: bold;"><B>New Entity &gt; </B></span><span style="font-weight: bold;"><B>Build \r
- </B></span>submenu.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=edge><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs6"><b> Edge</b></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates an edge.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (EDGE).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>, \r
- where Vertex1 and Vertex2 are correspondingly the first and the last vertex \r
- of the edge.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 vertices.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image253.jpg" width="234px" height="250px" border="0" class="img_whs11"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image9.gif" width="150px" height="102px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=wire><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Wire</b></font></span></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates a wire.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (WIRE).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeWire(ListOfShape)</I></span>, \r
- where ListOfShape is a list of edges and/or wires from which the wire \r
- to be constructed.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + List of connected wires or edges..</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image252.jpg" width="294px" height="250px" border="0" class="img_whs13"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image11.gif" width="150px" height="120px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=face><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Face</b></font></span></a></p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates a face.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (FACE).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, WantPlanarFace)</I></span>, \r
- where Wire is a wire and if boolean parameter WantPlanarFace is planar \r
- then only a planar face or no face is constructed.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 wire.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image251.jpg" width="238px" height="250px" border="0" class="img_whs16"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image12.gif" width="150px" height="116px" border="0" class="img_whs17"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=shell><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Shell</b></font></span></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates a shell.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (SHELL).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeShell(ListOfShape)</I></span>, \r
- where ListOfShape is a list of faces and (or) shells from which the shell \r
- is constructed.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">List of faces having connected edges.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image250.jpg" width="261px" height="250px" border="0" class="img_whs18"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image18.jpg" width="150px" height="131px" border="0" class="img_whs19"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=solid><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Solid</b></font></span></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates a solid - closed geometrical 3D element.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_<span>Object \r
- (SOLID).</span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>, \r
- where ListOfShape is a list of shells from which the solid is constructed.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + A closed shell or a list of shells.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image249.jpg" width="238px" height="250px" border="0" class="img_whs16"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=compound><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Compound</b></font></span></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Creates a compound.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (COMPOUND).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span>, \r
- where ListOfShape is a list of shapes from which the compound is constructed.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + List of shapes.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image248.jpg" width="258px" height="250px" border="0" class="img_whs20"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="../image13.gif" width="150px" height="105px" border="0" class="img_whs21"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm
deleted file mode 100755 (executable)
index 54d59fb..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }\r
-img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs4 { margin-left:40px; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs6 { border-style:none; width:20px; height:20px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nDisplaying\\hiding objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Displaying\hiding objects</h1>\r
-\r
-<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> </b>Visualization is available in both, OCC and VTK viewers. \r
- These viewers work independently, i.e. visibility of objects and their \r
- graphic attributes may differ in OCC and VTK viewer. It<b style="font-weight: normal;"><span \r
- style="font-weight: normal;"> is reasonable to use the OCC viewer for \r
- GEOM module.</span></b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: normal;">Displaying\hiding \r
- different geometrical objects in the viewer is possible using the following \r
- operations: </b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#DisplayAll">DisplayAll</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#EraseAll">EraseAll</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Display">Display</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#DisplayOnly">DisplayOnly</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#EraseOnly">Erase</a></p></li>\r
-</ul>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class=TODO>To display\hide one or several objects in the viewer:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>View \r
- </B></span>or right-click on the necessary object in the Object Browser and \r
- from the associated pop-up menu choose the required operation.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=DisplayAll\r
-       style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> DisplayAll</font></b></a> \r
- </p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Displays all geometrical objects which have been created or imported in \r
- the current study.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> sg.DisplayAll()</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=EraseAll\r
-       style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> EraseAll</font></b></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Erases all shapes displayed in the viewer.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b>TUI \r
- Command:</b><i> sg.EraseAll()</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=Display\r
-       style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Display</font></b></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><span \r
- style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Displays an object in 3D viewer.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b>TUI \r
- Command:</b><i> </i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=DisplayOnly\r
-       style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> DisplayOnly</font></b></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Displays only the selected geometrical element.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> sg.DisplayOnly(ID)</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=EraseOnly\r
-       style="font-size: 14pt;"><img src="salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Erase</font></b></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description \r
- :</b> Erases only the selected shape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command :</b><i> sg.EraseOnly(ID)</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif
deleted file mode 100755 (executable)
index 83388cc..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif
deleted file mode 100755 (executable)
index 473edc6..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif
deleted file mode 100755 (executable)
index d71f455..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif
deleted file mode 100755 (executable)
index 5bed604..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif
deleted file mode 100755 (executable)
index 4890bda..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm
deleted file mode 100755 (executable)
index c944e7b..0000000
+++ /dev/null
@@ -1,309 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-p.whs3 { margin-left:40px; }\r
-h3.whs4 { font-size:14pt; }\r
-img_whs5 { border-style:none; width:20px; height:20px; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-img_whs7 { border:none; width:235px; height:250px; }\r
-img_whs8 { border-style:none; border:none; width:150px; height:116px; }\r
-p.whs9 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs10 { border:none; width:233px; height:250px; }\r
-img_whs11 { border-style:none; border:none; width:150px; height:153px; }\r
-img_whs12 { border:none; width:243px; height:250px; }\r
-img_whs13 { border-style:none; border:none; width:150px; height:103px; }\r
-p.whs14 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs15 { border:none; width:237px; height:250px; }\r
-img_whs16 { border-style:none; border:none; width:150px; height:117px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nGenerating complex objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Generating complex objects</h1>\r
-\r
-<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> </b>Generation operations in GEOM are used to create advanced \r
- geometrical objects (3D elements). They are:</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Prism">Extrusion</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Revolution">Revolution</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Filling">Filling</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Pipe">Pipe \r
- creation</a></p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class=TODO>To use generation operations:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New \r
- Entity &gt; Generation</B></span><span>.</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3 class="whs4"><b style="font-weight: bold;"><a NAME=Prism><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs5"> Extrusion</a></b> </h3>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates an extruded shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge, face, solid or compsolid).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakePrism(baseShape, Vector, \r
- Height)</I></span>, where baseShape is a basis of the prism, Vector is a normal \r
- of the prism and Height is a height of the prism.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object \r
- + 1 vector (for direction) + 1 value (dimension).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image241.jpg" width="235px" height="250px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image14.gif" width="150px" height="116px" border="0" class="img_whs8"> &nbsp;<img src="../image27.jpg" width="150px" height="116px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs9"><a NAME=Revolution><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Revolution</b></a></p>\r
-\r
-<p class="whs9"><span><font size=4 style="font-size:14pt;"><b \r
- style="font-weight: bold;"><font style="font-size: 14pt;"\r
-                                                                       size=4>&#9;</font></b></font></span></p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates an extruded shape by revolution.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge, face, solid or compsolid).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis, \r
- Angle)</I></span>, where Shape is a shape to rotate, Axis is the axis of the \r
- revolution and Angle is an angle by which Shape has to be rotated around \r
- Axis.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b>Arguments:</b> Name + 1 shape (vertex, edge, \r
- wire, face or shell) serving as base object + 1 vector (for direction) \r
- + 1 value (angle).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image240.jpg" width="233px" height="250px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image15.gif" width="150px" height="153px" border="0" class="img_whs11"> &nbsp;<img src="../image52.jpg" width="150px" height="153px" border="0" class="img_whs11"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs9"><a NAME=Filling><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Filling</b></a></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates a curving face using several curves.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (face).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree, \r
- MaxDegree, Tol2D, Tol3D, NbIter)</I></span>, where Shape is a shape to fill, \r
- MinDegree and MaxDegree are correspondingly maximal and minimal degree, \r
- Tol2D is a tolerance for 2D and Tol3D is a tolerance for 3D, NbIter is \r
- a number of iterations.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b>Arguments:</b> Name + 1 List of edges + \r
- 5 Parameters (Min. degree, Max. degree, Number of iterations, 2D tolerance, \r
- 3D tolerance).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image239.jpg" width="243px" height="250px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image7.gif" width="150px" height="103px" border="0" class="img_whs13"> &nbsp;<img src="../image11.jpg" width="150px" height="103px" border="0" class="img_whs13"></p>\r
-\r
-<p class="whs14">&nbsp;</p>\r
-\r
-<p class="whs9"><a NAME=Pipe><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Pipe</b></a></p>\r
-\r
-<p class="whs14"><span><font size=3 style="font-size:12pt;"><b \r
- style="font-weight: bold;"><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
-                                                                       face="Times New Roman"\r
-                                                                       size=4>&#9;</font></b></font></span></p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates an extruded shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (edge, face, solid or compsolid).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>, \r
- where baseShape is a shape to be extruded, pathShape is a path along which \r
- baseShape is extruded.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b>Arguments:</b> Name + 1 shape (vertex, edge, \r
- wire, face or shell) serving as base object + 1 shape (edge, face or shell) \r
- for definition of the path.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image238.jpg" width="237px" height="250px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="../image8.gif" width="150px" height="117px" border="0" class="img_whs16"> &nbsp;<img src="../image12.jpg" width="150px" height="117px" border="0" class="img_whs16"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
deleted file mode 100755 (executable)
index d7adb4c..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
deleted file mode 100755 (executable)
index 4f79860..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
deleted file mode 100755 (executable)
index 178eb64..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
deleted file mode 100755 (executable)
index 18fa567..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm
deleted file mode 100755 (executable)
index bcbaab0..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { margin-left:40px; }\r
-img_whs4 { border:none; width:517px; height:342px; border-style:none; }\r
-img_whs5 { border:none; width:519px; height:339px; }\r
-p.whs6 { font-size:12pt; font-family:'Times New Roman' , serif; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nImporting\\exporting geometrical objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Importing\exporting geometrical objects</h1>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can import \r
- and export geometrical objects from\into BREP, IGES, STEP </span></b><b><span \r
- style="font-weight: normal;">files. </span></b></p>\r
-\r
-&nbsp; \r
-\r
-<p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">From the <span style="font-weight: bold;"><B>File \r
- </B></span>menu choose <span style="font-weight: bold;"><B>Import </B></span>and \r
- select the required format of the file for importation. Then you will \r
- see a standard dialog box allowing to search for and choose *.brep, *.iges \r
- or *.step &nbsp;file:</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image1.gif" width="517px" height="342px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">Select the required file and click <span \r
- style="font-weight: bold;"><B>OK</B></span>. You file will be imported into GEOM \r
- and its contents (geometrical objects) will be displayed in the <span \r
- style="font-weight: bold;"><B>Object Browser</B></span>. </p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.Import(FileName, FormatName)</I></span>, \r
- where FileName is a name of file which contains a shape, FormatName is \r
- a string which describes a format of the file.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">Select the object you wish to export, then \r
- from the <span style="font-weight: bold;"><B>File </B></span>menu choose <span \r
- style="font-weight: bold;"><B>Export </B></span>and select the required format \r
- of the file for exportation. You will see a standard dialog box allowing \r
- to enter the name and select the location for the file which will be exported:</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image2.jpg" width="519px" height="339px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span> \r
- to confirm your exportation. &nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.Export(Shape, FileName, FormatName)</I></span>, \r
- where Shape is a shape to be exported, FileName is a name of a file to \r
- which the shape is exported, FormatName is a string which describes the \r
- file format.</p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<li class=kadov-p><p class="whs6">&nbsp;</p></li>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm
deleted file mode 100755 (executable)
index 7242d8a..0000000
+++ /dev/null
@@ -1,589 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:visited { color:#800080; }\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { margin-left:40px; }\r
-img_whs4 { border:none; width:21px; height:19px; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs6 { border:none; width:216px; height:250px; border-style:none; }\r
-p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs8 { width:20px; height:20px; border-style:none; }\r
-p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs10 { border:none; width:283px; height:250px; border-style:none; }\r
-p.whs11 { font-size:12pt; margin-left:40px; }\r
-img_whs12 { border:none; width:199px; height:250px; border-style:none; }\r
-p.whs13 { font-size:12pt; margin-left:400px; }\r
-img_whs14 { border:none; width:256px; height:250px; border-style:none; }\r
-p.whs15 { font-size:12pt; font-weight:bold; }\r
-img_whs16 { border:none; width:263px; height:250px; border-style:none; }\r
-p.whs17 { font-size:12pt; font-weight:normal; }\r
-img_whs18 { border:none; width:310px; height:250px; border-style:none; }\r
-img_whs19 { border:none; width:262px; height:250px; border-style:none; }\r
-img_whs20 { border:none; width:268px; height:250px; border-style:none; }\r
-img_whs21 { border:none; width:266px; height:250px; border-style:none; }\r
-p.whs22 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-img_whs23 { border:none; width:25px; height:23px; border-style:none; }\r
-ul.whs24 { list-style:disc; }\r
-img_whs25 { border:none; width:300px; height:374px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs22 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nUsing measurement tools");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Using measurement tools</h1>\r
-\r
-<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">Measurement tools in GEOM are necessary for getting</b> different \r
- data concerning created or imported geometrical objects. They are:</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#PointCoord">Point \r
- coordinates</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic \r
- properties</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center \r
- of mass</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding \r
- box</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Min_distance">Min. \r
- distance</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check \r
- compound of blocks</a></p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class=TODO>To use measurement tools:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures \r
- </B></span>submenu.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><a name=PointCoord>&nbsp;<img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Returns the coordinates of a point.</font></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Point \r
- coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>, \r
- where Point is a point whose coordinates are inquired.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 point.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="../image292.jpg" width="216px" height="250px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><b style="font-weight: bold;"><a \r
- NAME=Basic_properties\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b> \r
- </p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Return the properties (Length, Surface &amp; Volume) of a definite geometrical \r
- object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Display \r
- Length, Surface &amp; Volume in the form of Python Tuple.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>, \r
- where Shape is a shape whose properties are inquired.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image293.jpg" width="283px" height="250px" border="0" class="img_whs10"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs7"><a name=Center_gravity\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> \r
- Center of mass</b></a></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates a gravity center of a shape and returns its coordinates.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (vertex).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where \r
- Shape is the shape for which a center of gravity is computed.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image294.jpg" width="199px" height="250px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=Inertia_axis\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Inertia</font></b></a> \r
- </p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns the inertia axis of a geometrical object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Display \r
- the matrix and moments of inretia in the form of Python Tuple (I11, I12, \r
- I13, </p>\r
-\r
-<p class="whs13">&nbsp;I21, \r
- I22, I23, </p>\r
-\r
-<p class="whs13">&nbsp;I31, \r
- I32, I33,</p>\r
-\r
-<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix, \r
- Iy, Iz)</font></span>.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where \r
- Shape is a shape for which a matrix of inertia and moment of inertia are \r
- returned.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image295.jpg" width="256px" height="250px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=Bounding_box\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Bounding \r
- box</font></b></a> </p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns the dimensions of the bounding box of a geometrical object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
- the dimensions of the bounding box of a geometrical object in the form \r
- of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span \r
- style="font-weight: normal;">, where Shape is a shape for which a bounding \r
- box is computed.</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image296.jpg" width="263px" height="250px" border="0" class="img_whs16"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=Min_distance\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Min. distance</font></b></a></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns the min. distance between 2 geometrical objects.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
- the min. distance.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1, \r
- Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2 \r
- are shapes between which the minimal distance computed.</span></p>\r
-\r
-<p class="whs17">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 2 shapes.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image297.jpg" width="310px" height="250px" border="0" class="img_whs18"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=Tolerance\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> \r
- Tolerance</b></a> </p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns the tolerance of a geometrical object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
- the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol, \r
- VertexMinTol, VertexMaxTol).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span \r
- style="font-weight: normal;">, where Shape is a shape for which minimal \r
- and maximal tolerances are returned.</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image298.jpg" width="262px" height="250px" border="0" class="img_whs19"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=Whatis><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a> \r
- </font></span></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns the type of a geometrical object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
- all elements composing your geometrical object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape \r
- is a shape from which a description is returned.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image299.jpg" width="268px" height="250px" border="0" class="img_whs20"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=check\r
-       style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Check</font></b></a> \r
- </p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Returns True if this geometrical object is valid.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>, \r
- where is shape which is checked for validity.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image300.jpg" width="266px" height="250px" border="0" class="img_whs21"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs22">&nbsp;</p>\r
-\r
-<p class="whs22">&nbsp;</p>\r
-\r
-<p class="whs22"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs23"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound \r
- of blocks</B></font></span></a></p>\r
-\r
-<p class="whs22">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Checks whether a shape is a compound of glued blocks. To be considered \r
- as a compound of blocks, the given shape must satisfy the following conditions:</p>\r
-\r
-<ul type="disc" class="whs24">\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;Each \r
- element of the compound should be a Block (6 faces and 12 edges);</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;A \r
- connection between two Blocks should be an entire quadrangle face or an \r
- entire edge;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;The \r
- compound should be connected;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;Two \r
- quadrangle faces should be glued. </p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">Informs of the following possible errors:</p>\r
-\r
-<ul type="disc" class="whs24">\r
-       \r
-       <li class=kadov-p><p class="whs1">not a block,</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">not glued,</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">not connected,</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra \r
- or degenerated edge.</font></span></p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean; \r
- highlight in the viewer.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound)</I></span>, \r
- where the Compound is a shape, investigated in order to see, if it is \r
- a valid compound of blocks. Validity flag is returned, encountered errors \r
- are printed in the python console.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image13.jpg" width="300px" height="374px" border="0" class="img_whs25"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
deleted file mode 100755 (executable)
index 02e4c8f..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
deleted file mode 100755 (executable)
index 1aebb4f..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
deleted file mode 100755 (executable)
index f11323a..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
deleted file mode 100755 (executable)
index c429db8..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
deleted file mode 100755 (executable)
index 1c8dd91..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
deleted file mode 100755 (executable)
index 7968c61..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
deleted file mode 100755 (executable)
index a2db5a6..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
deleted file mode 100755 (executable)
index 8de970b..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm
deleted file mode 100755 (executable)
index 2d8dc3e..0000000
+++ /dev/null
@@ -1,641 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-ul.whs4 { list-style:disc; }\r
-p.whs5 { font-size:12pt; }\r
-p.whs6 { margin-left:40px; }\r
-p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs8 { width:20px; height:20px; border-style:none; }\r
-p.whs9 { font-size:12pt; margin-left:40px; }\r
-img_whs10 { border:none; width:153px; height:250px; border-style:none; }\r
-img_whs11 { border:none; width:154px; height:250px; border-style:none; }\r
-img_whs12 { border:none; width:202px; height:250px; border-style:none; }\r
-img_whs13 { border:none; width:150px; height:135px; border-style:none; }\r
-img_whs14 { border:none; width:199px; height:250px; border-style:none; }\r
-img_whs15 { border:none; width:150px; height:131px; border-style:none; }\r
-img_whs16 { border:none; width:215px; height:250px; border-style:none; }\r
-img_whs17 { border:none; width:213px; height:250px; border-style:none; }\r
-img_whs18 { border:none; width:214px; height:250px; border-style:none; }\r
-img_whs19 { border:none; width:150px; height:99px; border-style:none; }\r
-img_whs20 { border:none; width:208px; height:250px; float:none; border-style:none; }\r
-img_whs21 { border:none; width:206px; height:250px; border-style:none; }\r
-img_whs22 { border:none; width:212px; height:250px; border-style:none; }\r
-img_whs23 { border:none; width:150px; height:104px; border-style:none; }\r
-img_whs24 { border:none; width:24px; height:22px; border-style:none; }\r
-p.whs25 { font-size:12pt; font-weight:bold; }\r
-ul.whs26 { list-style:circle; }\r
-p.whs27 { font-size:12pt; font-weight:normal; }\r
-table.whs28 { x-cell-content-align:top; width:37.774%; border-spacing:0px; }\r
-col.whs29 { width:48.722%; }\r
-col.whs30 { width:51.278%; }\r
-tr.whs31 { x-cell-content-align:top; }\r
-td.whs32 { width:48.722%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
-img_whs33 { border:none; width:150px; height:250px; border-style:none; }\r
-td.whs34 { width:51.278%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs35 { border:none; width:149px; height:250px; border-style:none; }\r
-p.whs36 { font-weight:bold; }\r
-img_whs37 { border:none; width:250px; height:284px; float:none; border-style:none; }\r
-img_whs38 { border:none; width:271px; height:284px; border-style:none; }\r
-img_whs39 { border:none; width:23px; height:22px; border-style:none; }\r
-img_whs40 { border:none; width:178px; height:250px; border-style:none; }\r
-p.whs41 { font-size:12pt; margin-left:0px; }\r
-p.whs42 { font-size:12pt; margin-left:0px; font-weight:bold; }\r
-p.whs43 { margin-left:40px; font-size:12pt; }\r
-img_whs44 { border:none; width:300px; height:311px; border-style:none; }\r
-p.whs45 { font-size:12pt; margin-left:36px; text-indent:-36px; }\r
-p.whs46 { font-size:12pt; text-indent:-36px; margin-left:40px; }\r
-img_whs47 { border:none; width:23px; height:21px; border-style:none; }\r
-img_whs48 { border:none; width:200px; height:139px; border-style:none; }\r
-p.whs49 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs50 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs51 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
-img_whs52 { border:none; width:250px; height:236px; border-style:none; }\r
-img_whs53 { border:none; width:250px; height:233px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs41 {margin-left:1pt; }";\r
-  strNSS += "p.whs42 {margin-left:1pt; }";\r
-  strNSS += "p.whs45 {text-indent:1pt; }";\r
-  strNSS += "p.whs46 {text-indent:1pt; }";\r
-  strNSS += "p.whs49 {text-indent:1pt; }";\r
-  strNSS += "p.whs50 {text-indent:1pt; }";\r
-  strNSS += "p.whs51 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nUsing basic operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Basic operations</h1>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"><span style="font-weight: normal;"> In GEOM you can perform \r
- basic operations with geometrical objects aimed at creation of more complex \r
- shapes. These operations are:</span></b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- HREF="#_Toc57113143">Partition&#9;</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- HREF="#_Toc57113144"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Archimede&#9;</font></span></font></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- HREF="#_Toc57113145"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Fillet&#9;</font></span></font></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- HREF="#_Toc57113146">Chamfer</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3">Blocks</p></li>\r
-       \r
-       <ul type="disc" class="whs4">\r
-               \r
-               <li class=kadov-p><p class="whs3"><a \r
- href="#Multi-transformation">Multi-transformation</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a \r
- href="#ExplodeOnBlocks">Explode on blocks</a></p></li>\r
-               \r
-               <li class=kadov-p><p class="whs3"><a \r
- href="#Propagate">Propagate</a><a HREF="#_Toc57113146">&#9;</a></p></li>\r
-       </ul>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class=TODO>To perform basic operations on geometrical objects:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Operations</B></span><span>.</span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7"><b style="font-weight: bold;"><a \r
- NAME=_Toc57113143><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs8"><font \r
- style="font-size: 14pt;"\r
-       size=4> Partition</font></font></span></a></b></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Builds a shape by intersection.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes, \r
- ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, \r
- ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be \r
- intersected, ListOfTools is a list of shapes to intersect the shapes from \r
- ListOfShapes, ListOfKeepInside is a list of shapes outside which the results \r
- will be deleted, ListOfRemoveInside is a list of shapes inside which the \r
- results will be deleted, Limit is a type of the result shapes, if RemoveWebs \r
- is True the Glue 3D algorithm will be performed on the results, ListOfMaterials \r
- is a list of materials indices for each shape, it makes sense only if \r
- RemoveWebs is True.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- Up to 4 shapes + reconstruction limit.</p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st \r
- Constructor:</b> Name + 2 shapes (first shape will be intersected by the \r
- second shape) + reconstruction limit.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd \r
- Constructor:</b> Name + 1 shape which will be intersected + 1 cutting \r
- face.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image259.jpg" width="153px" height="250px" border="0" class="img_whs10"> <img src="../image260.jpg" width="154px" height="250px" border="0" class="img_whs11"> </p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image258.jpg" width="202px" height="250px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image80.jpg" width="150px" height="135px" border="0" class="img_whs13"> &nbsp;<img src="../image81.jpg" width="150px" height="135px" border="0" class="img_whs13"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=_Toc57113144><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Archimede</font></b></font></span></a></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Creates a plane corresponding to the modeled water-line of the object \r
- plunged into the water (in Z direction).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>, \r
- where Shape is a shape to put into the water, Weight is a weight of the \r
- shape, WaterDensity &nbsp;is \r
- density of water, MeshingDeflection is a deflection of the mesh, using \r
- to compute the section.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">GUI Arguments:</b> \r
- Name + 1 shape &nbsp;+ \r
- 3 values (Weight, Water Density &amp; Meshing Deflection).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image284.jpg" width="199px" height="250px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image78.jpg" width="150px" height="131px" border="0" class="img_whs15"> &nbsp;<img src="../image79.jpg" width="150px" height="131px" border="0" class="img_whs15"> &nbsp;<img src="../image22.gif" width="150px" height="131px" border="0" class="img_whs15"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=_Toc57113145><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Fillet</font></b></font></span></a></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Make fillets of the edges of a shape.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeFillet(Shape, Radius, \r
- ShapeType, ListOfShapeID)</I></span>, where Shape is a shape to create a fillet \r
- on, Radius is a radius of the fillet, ShapeType is a type of shapes to \r
- be processed, ListOfShapeID is a list of subshape\92s Ids to be processed.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st \r
- Constructor:</b> Name + 1 shape + 1 value (fillet radius).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd \r
- Constructor:</b> Name + 1 shape + 1 Selection of edges + 1 value (Fillet \r
- radius).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd \r
- Constructor:</b> Name + 1 shape + 1 Selection of faces + 1 value (Fillet \r
- radius).</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image281.jpg" width="215px" height="250px" border="0" class="img_whs16"> &nbsp;<img src="../image282.jpg" width="213px" height="250px" border="0" class="img_whs17"> &nbsp;<img src="../image283.jpg" width="214px" height="250px" border="0" class="img_whs18"></p>\r
-\r
-<p class="whs5">&nbsp; </p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image82.jpg" width="150px" height="99px" border="0" class="img_whs19"> &nbsp;<img src="../image83.jpg" width="150px" height="99px" border="0" class="img_whs19"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7"><a NAME=_Toc57113146><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Chamfer</font></b></font></span></a></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Makes chamfer of the edges of a Shape.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i></p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, \r
- D1, D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer \r
- on, D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, \r
- Face1 and Face2 are indices of faces in Shape.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferFace(Shape, \r
- D1, D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer \r
- on, D1 is a chamfer size along a face from &nbsp;ListOfFaceID, \r
- &nbsp;D2 is a \r
- chamfer size along two faces connected to the edge to which the chamfer \r
- is applied, ListOfFaceID is a list of indices of faces in Shape.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st \r
- Constructor :</b> Name + 1 SHAPE + 1 value (Chamfer dimension).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd \r
- Constructor :</b> Name + 1 SHAPE + 2 faces + 2 values (Chamfer dimensions).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd \r
- Constructor :</b> Name + 1 SHAPE + 1 Selection of faces + 2 values (Chamfer \r
- dimensions).</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image278.jpg" x-maintain-ratio="FALSE" width="208px" height="250px" border="0" class="img_whs20"> &nbsp;<img src="../image279.jpg" width="206px" height="250px" border="0" class="img_whs21"> &nbsp;<img src="../image280.jpg" width="212px" height="250px" border="0" class="img_whs22"></p>\r
-\r
-<p class="whs5">&nbsp; </p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image84.jpg" width="150px" height="104px" border="0" class="img_whs23"> &nbsp;<img src="../image85.jpg" width="150px" height="104px" border="0" class="img_whs23"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><a name=Multi-transformation><img src="../image52.gif" width="24px" height="22px" border="0" class="img_whs24"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Block</B></font></span> \r
- <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>multi-transformation</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Makes several translations of a block (solid) in <span style="font-weight: bold;"><B>one</B></span> \r
- or <span style="font-weight: bold;"><B>two</B></span> directions depending on \r
- the arguments specified by the user.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i></p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy. \r
- MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes)</I></span>, \r
- where Block is a block to be transformed, DirFaceID1 is an ID of the face \r
- which defines the first direction of transformation, DirFaceID2 is an \r
- ID of the face which defines the second direction of transformation, NbTimes \r
- is a numeber of transformations.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy. \r
- MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, \r
- DirFaceID2V, NbTimesV)</I></span>, where Block is a block to be transformed, \r
- DirFaceID1U and DirFace1V are ID\92s of the faces, which define directions \r
- of the first transformation, DirFaceID1V and DirFaceID2V are ID\92s of the \r
- faces which define directions of the second transformation, NbTimesU and \r
- NbTimesV are numbers of transformations.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs25">1D \r
- transformation: <span style="font-weight: normal;">Name + 1 hexahedral \r
- solid + 1 or 2 faces + 1 integer (number of blocks)</span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs25">2D \r
- transformation:<span style="font-weight: normal;"> Name + 1 hexahedral \r
- solid + </span></p></li>\r
-       \r
-       <ul type="circle" class="whs26">\r
-               \r
-               <li class=kadov-p><p class="whs27">2 \r
- faces and 1 integer, or</p></li>\r
-               \r
-               <li class=kadov-p><p class="whs25"><span \r
- style="font-weight: normal;">3 or 4 faces and 2 integers </span></p></li>\r
-       </ul>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="37.774%" class="whs28">\r
-<col class="whs29">\r
-<col class="whs30">\r
-\r
-<tr valign="top" class="whs31">\r
-<td width="48.722%" class="whs32">\r
-<p><img src="../image276.jpg" width="150px" height="250px" border="0" class="img_whs33"></td>\r
-<td width="51.278%" class="whs34">\r
-<p><img src="../image277.jpg" width="149px" height="250px" border="0" class="img_whs35"></td></tr>\r
-</table>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs36">Example:</p>\r
-\r
-<p class="whs36">&nbsp;</p>\r
-\r
-<p class="whs36"><img src="../image188.jpg" x-maintain-ratio="TRUE" width="250px" height="284px" border="0" class="img_whs37"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="../image189.jpg" width="271px" height="284px" border="0" class="img_whs38"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><a name=ExplodeOnBlocks><img src="../image53.gif" width="23px" height="22px" border="0" class="img_whs39"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Explode \r
- on Blocks</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Returns blocks of the given compound. The user may define the type blocks \r
- to be extracted by setting the minimum and maximum number of faces in \r
- the target block. By checking the corresponding box the user may also \r
- interactively choose the blocks from a compound .</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound, \r
- MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded \r
- into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal \r
- and &nbsp;the \r
- maximal number of faces of the resulting blocks.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">1 compound + 1 integer (min. and max. number \r
- of faces in the block to be extracted).</span></b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="../image275.jpg" width="178px" height="250px" border="0" class="img_whs40"></p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<p class="whs42">Example:</p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<p class="whs43"><img src="../image191.jpg" width="300px" height="311px" border="0" class="img_whs44"></p>\r
-\r
-<p class="whs45">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p><a name=Propagate><img src="../image3.gif" width="23px" height="21px" border="0" class="img_whs47"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Propagate</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Breaks a multitude of edges of a shape into groups (builds all possible \r
- propagation groups).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result:</b> List \r
- of GEOM_Objects. Each Geom Object will contain a group of edges.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.Propagate(Shape)</I></span>, \r
- where Shape is a shape to build propagation groups on.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">1 Shape.</span></b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box: </b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs43"><img src="../image4.jpg" width="200px" height="139px" border="0" class="img_whs48"></p>\r
-\r
-<p class="whs49">&nbsp;</p>\r
-\r
-<p class="whs50">Example:</p>\r
-\r
-<p class="whs50">&nbsp;</p>\r
-\r
-<p class="whs51"><img src="../image15.jpg" width="250px" height="236px" border="0" class="img_whs52"> &nbsp;&nbsp;<img src="../image16.jpg" width="250px" height="233px" border="0" class="img_whs53"> &nbsp;&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
deleted file mode 100755 (executable)
index 03b8391..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
deleted file mode 100755 (executable)
index e38dcab..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
deleted file mode 100755 (executable)
index 7a9aaad..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
deleted file mode 100755 (executable)
index 716e51b..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm
deleted file mode 100755 (executable)
index 350d4b5..0000000
+++ /dev/null
@@ -1,389 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-img_whs1 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-ul.whs2 { list-style:disc; }\r
-p.whs3 { margin-left:40px; }\r
-p.whs4 { font-size:14pt; }\r
-img_whs5 { border-style:none; width:20px; height:20px; }\r
-img_whs6 { border:none; width:219px; height:250px; }\r
-img_whs7 { border-style:none; border:none; width:150px; height:129px; }\r
-p.whs8 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs9 { border:none; width:196px; height:250px; }\r
-img_whs10 { border:none; width:195px; height:250px; }\r
-img_whs11 { border-style:none; border:none; width:150px; height:142px; }\r
-img_whs12 { border:none; width:236px; height:250px; }\r
-img_whs13 { border-style:none; border:none; width:150px; height:137px; }\r
-p.whs14 { margin-left:40px; font-weight:bold; }\r
-img_whs15 { border-style:none; border:none; width:150px; height:96px; }\r
-img_whs16 { border:none; width:182px; height:250px; }\r
-img_whs17 { border:none; width:181px; height:250px; }\r
-p.whs18 { font-size:12pt; margin-left:40px; }\r
-img_whs19 { border-style:none; border:none; width:150px; height:119px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nConstructing primitives");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Constructing primitives</h1>\r
-\r
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"> </font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">In \r
- GEOM you can create different types of primitive geometrical objects </font></span></b>(3D \r
- elements):</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><a href="#box">Box</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#cylinder">Cylinder</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#sphere">Sphere</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#torus">Torus</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#cone">Cone</a></p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To construct primitive geometrical objects:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New \r
- Entity &gt; Primitives</B></span><span>.</span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;"><a NAME=box\r
-                                                                                                                       style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs5"><font style="font-size: 14pt;"\r
-                                       size=4> Box</font></a></b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Description:</b> Creates a box.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command :</b> <span style="font-style: italic;"><I>geompy.MakeBox(X1, \r
- Y1, Z1, X2, Y2, Z2)</I></span>, &nbsp;where \r
- (X1, Y1, X2) and (X2, Y2, Z2) are coordinates of two points which define \r
- a diagonal of the box.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><b>1st Constructor :</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>2 vertices (opposite corners of the box).</p></li>\r
-       \r
-       <li class=kadov-p><p><b>2nd Constructor :</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>3 values (dimensions at origin).</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image228.jpg" width="219px" height="250px" border="0" class="img_whs6"> &nbsp;<img src="../image227.jpg" width="219px" height="250px" border="0" class="img_whs6"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image94.jpg" width="150px" height="129px" border="0" class="img_whs7"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs8"><a NAME=cylinder\r
-       style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"\r
-                                                                                                               size=4> Cylinder</font></b></a></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Description:</b> Creates a cylinder.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point, \r
- Axis, Radius, Height)</I></span>, where Point is a central point of the cylinder \r
- base, Axis (vector value) is an axis of the cylinder, Radius and Height \r
- are correspondingly a radius and a height of the cylinder.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><b>1st Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 vertex + 1 vector + 2 values (Dimensions: radius and height).</p></li>\r
-       \r
-       <li class=kadov-p><p><b>2nd Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>2 values (Dimensions at origin: radius and height).</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image230.jpg" width="196px" height="250px" border="0" class="img_whs9"> &nbsp;<img src="../image229.jpg" width="195px" height="250px" border="0" class="img_whs10"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image95.jpg" width="150px" height="142px" border="0" class="img_whs11"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4"><a NAME=sphere\r
-                                                               style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"\r
-                                               size=4> Sphere</font></b></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Description:</b> Creates a sphere.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point, \r
- Radius)</I></span>, where Point is a center of the sphere and Radius is a \r
- radius of the sphere.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><b>1st Constructor :</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 vertex + 1 value (Radius).</p></li>\r
-       \r
-       <li class=kadov-p><p><b>2nd Constructor :</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 &nbsp;value \r
- (Radius from the origin).</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image236.jpg" width="236px" height="250px" border="0" class="img_whs12"> &nbsp;<img src="../image237.jpg" width="236px" height="250px" border="0" class="img_whs12"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image96.jpg" width="150px" height="137px" border="0" class="img_whs13"></p>\r
-\r
-<p class="whs14">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4"><a NAME=torus\r
-                                                               style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"\r
-                                               size=4> Torus</font></b></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Description:</b> Creates a torus.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeTorus(Point, \r
- Vector, RadiusMajor, RadiusMinor)</I></span>, where Point is a central point \r
- of the torus, Vector is an axis of symmetry, RadiusMajor and RadiusMinor \r
- &nbsp;are correspondingly \r
- a major and minor radiuses of the torus.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><b>1st Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 vertex + 1 vector (for direction) + 2 values (1 &amp; 2 Radius).</p></li>\r
-       \r
-       <li class=kadov-p><p><b>2nd Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>2 values (1 &amp; 2 Radius from the origin).</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image234.jpg" width="195px" height="250px" border="0" class="img_whs10"> &nbsp;<img src="../image235.jpg" width="196px" height="250px" border="0" class="img_whs9"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image97.jpg" width="150px" height="96px" border="0" class="img_whs15"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4"><a NAME=cone\r
-                                                               style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"\r
-                                               size=4> Cone</font></b></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Description:</b> Creates a cone.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point, \r
- Axis, Radius1, Radius2)</I></span>, where Point is a central point of the \r
- cone base, Axis (vector value) is an axis of the cone, Radius1 and Radius2 \r
- are correspondingly the first and the second radiuses of the cone</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><b>1st Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 vertex + 1 vector (for direction) + 3 values (Radius of the \r
- base part, radius of the upper part, height).</p></li>\r
-       \r
-       <li class=kadov-p><p><b>2nd Constructor:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>3 values (Radius of the base part, radius of the upper part, \r
- height).</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><img src="../image231.jpg" width="182px" height="250px" border="0" class="img_whs16"> &nbsp;<img src="../image233.jpg" width="181px" height="250px" border="0" class="img_whs17"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs18"><img src="../image98.jpg" width="150px" height="119px" border="0" class="img_whs19"></p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
deleted file mode 100755 (executable)
index 871c6f0..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
deleted file mode 100755 (executable)
index ffdbac7..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
deleted file mode 100755 (executable)
index 7e683cc..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
deleted file mode 100755 (executable)
index 9aa79cf..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
deleted file mode 100755 (executable)
index 0f4889b..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm
deleted file mode 100755 (executable)
index e3593e7..0000000
+++ /dev/null
@@ -1,897 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-size:12pt; }\r
-img_whs5 { border:none; width:30px; height:30px; float:none; border-style:none; }\r
-p.whs6 { margin-left:40px; }\r
-img_whs7 { border:none; width:25px; height:24px; border-style:none; }\r
-table.whs8 { x-cell-content-align:top; width:100%; border-spacing:0px; }\r
-col.whs9 { width:8.851%; }\r
-col.whs10 { width:91.149%; }\r
-tr.whs11 { x-cell-content-align:top; }\r
-td.whs12 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs13 { width:91.149%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs14 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs15 { width:91.149%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-p.whs16 { font-size:12pt; margin-left:40px; }\r
-img_whs17 { border:none; width:300px; height:291px; border-style:none; }\r
-img_whs18 { border:none; width:300px; height:214px; border-style:none; }\r
-img_whs19 { border:none; width:244px; height:214px; border-style:none; }\r
-p.whs20 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs21 { border:none; width:239px; height:214px; border-style:none; }\r
-img_whs22 { width:20px; height:20px; border-style:none; }\r
-img_whs23 { border:none; width:263px; height:250px; border-style:none; }\r
-img_whs24 { border:none; width:150px; height:131px; border-style:none; }\r
-p.whs25 { font-size:14pt; font-weight:bold; }\r
-p.whs26 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs27 { border:none; width:186px; height:250px; border-style:none; }\r
-p.whs28 { font-size:12pt; font-weight:bold; }\r
-img_whs29 { border:none; width:214px; height:250px; border-style:none; }\r
-img_whs30 { border:none; width:200px; height:214px; border-style:none; }\r
-img_whs31 { border:none; width:176px; height:214px; border-style:none; }\r
-img_whs32 { border:none; width:348px; height:90px; border-style:none; }\r
-img_whs33 { border:none; width:198px; height:250px; border-style:none; }\r
-img_whs34 { border:none; width:150px; height:136px; border-style:none; }\r
-img_whs35 { border:none; width:216px; height:250px; border-style:none; }\r
-img_whs36 { border:none; width:150px; height:132px; border-style:none; }\r
-img_whs37 { border:none; width:22px; height:22px; border-style:none; }\r
-p.whs38 { font-size:12pt; font-weight:normal; }\r
-p.whs39 { margin-left:40px; font-size:12pt; font-weight:bold; }\r
-img_whs40 { border:none; width:191px; height:250px; border-style:none; }\r
-p.whs41 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs42 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs43 { margin-left:80px; font-size:12pt; text-indent:-40px; }\r
-img_whs44 { border:none; width:200px; height:231px; border-style:none; }\r
-img_whs45 { border:none; width:185px; height:231px; border-style:none; }\r
-p.whs46 { font-size:12pt; text-indent:-68px; margin-left:72px; }\r
-p.whs47 { font-size:12pt; text-indent:-68px; margin-left:112px; }\r
-img_whs48 { border:none; width:240px; height:250px; border-style:none; }\r
-p.whs49 { font-size:12pt; margin-left:112px; text-indent:-112px; }\r
-p.whs50 { font-size:12pt; text-indent:-112px; margin-left:152px; }\r
-img_whs51 { border:none; width:200px; height:150px; float:none; border-style:none; }\r
-img_whs52 { border:none; width:204px; height:150px; border-style:none; }\r
-p.whs53 { font-size:12pt; text-indent:-40px; margin-left:80px; }\r
-p.whs54 { font-size:12pt; margin-left:80px; text-indent:-80px; }\r
-p.whs55 { font-size:12pt; margin-left:80px; text-indent:-68px; }\r
-img_whs56 { border:none; width:276px; height:192px; border-style:none; }\r
-p.whs57 { font-size:12pt; margin-left:0px; }\r
-img_whs58 { border:none; width:209px; height:138px; border-style:none; }\r
-img_whs59 { border:none; width:192px; height:138px; border-style:none; }\r
-img_whs60 { border:none; width:191px; height:138px; border-style:none; }\r
-img_whs61 { border:none; width:23px; height:22px; border-style:none; }\r
-img_whs62 { border:none; width:320px; height:143px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs41 {text-indent:1pt; }";\r
-  strNSS += "p.whs42 {text-indent:1pt; }";\r
-  strNSS += "p.whs43 {text-indent:1pt; }";\r
-  strNSS += "p.whs46 {text-indent:1pt; }";\r
-  strNSS += "p.whs47 {text-indent:1pt; }";\r
-  strNSS += "p.whs49 {text-indent:1pt; }";\r
-  strNSS += "p.whs50 {text-indent:1pt; }";\r
-  strNSS += "p.whs53 {text-indent:1pt; }";\r
-  strNSS += "p.whs54 {text-indent:1pt; }";\r
-  strNSS += "p.whs55 {text-indent:1pt; }";\r
-  strNSS += "p.whs57 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Repairing geometrical objects</h1>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"><span style="font-weight: normal;">Repairing operations are \r
- used for adjustment and modification of created geometrical shapes. The \r
- are:</span> </b></p>\r
-\r
-<p class="whs1"><a HREF="#sewing">&nbsp;</a></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#Shape">Shape processing</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- HREF="#_Toc57113182">Suppress faces&#9;</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#CloseContour">Close contour</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#SuppressInternalWires">Suppress internal \r
- wires</a><a HREF="#sewing">&#9;</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57113181">&nbsp;<a HREF="#_Toc57113183">Suppress \r
- holes&#9;</a></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57113182">&nbsp;</a><a HREF="#sewing">Sewing</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#Glue_faces">Glue faces</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><a \r
- HREF="#_Toc57113183">&nbsp;</a><a href="#AddPointOnEdge">Add \r
- point on edge</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#CheckFreeBound">Check free boundaries</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">&nbsp;<a \r
- href="#Check_free_faces">Check free faces</a><a \r
- HREF="#_Toc57113183">&#9;</a></p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs5"> The operations <span style="font-weight: bold;"><B>Suppress \r
- faces, Close contour, Suppress internal wires, Suppress holes </B></span><span>and \r
- </span><span style="font-weight: bold;"><B>Add point on edge </B></span><span>are \r
- available only if you are using </span><span style="font-weight: bold;"><B>OCC \r
- viewer</B></span><span>. </span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class=TODO>To apply repairing operations:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Repair \r
- </B></span>submenu.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><a name=Shape><img src="../image41.gif" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Shape \r
- processing</B></font></span></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Processes a shape using various operators.</font></span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators, \r
- Parameters, Values)</I></span>, where Shape is a processed shape, Operators \r
- is a list of names of operators (&quot;FixShape&quot;, &quot;SplitClosedFaces&quot;, \r
- etc.), Parameters is a list of names of parameters (\93FixShape.Tolerance3d\94\r
- etc), Values is a list of values of parameters in the same order as the \r
- Parameters list.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- 1 or more shapes.</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="100%" class="whs8">\r
-<script language='JavaScript'><!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='100%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");\r
-//--></script>\r
-<col class="whs9">\r
-<col class="whs10">\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs12">\r
-<p>1</td>\r
-<td width="91.149%" class="whs13">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle \96 \r
- this operator is intended for splitting faces based on conical surfaces, \r
- surfaces of revolution and cylindrical surfaces by angle</font></span></p>\r
-<p class="whs4">SplitAngle.Angle \96 angle (in radians) defining \r
- size of result segments.</p>\r
-<p class="whs4">SplitAngle.MaxTolerance \96 maximal possible \r
- tolerance on result shape</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>2</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces \r
\96 this operator is intended for dividing all closed faces in the shape \r
- according to the number of points.</font></span></p>\r
-<p class="whs4">SplitClosedFaces.NbSplitPoints \96 number of \r
- points for cutting each closed faces.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>3</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize \r
\96 this operator is intended for removing small faces (case of the spot \r
- face and strip face)</font></span></p>\r
-<p class="whs4">FixFaceSize.Tolerance \96 work tolerance defining \r
- which faces will be removed.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>4</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges \r
\96 this operator is intended for removing small edges or merging with neigbour. \r
- &nbsp;</font></span></p>\r
-<p class="whs4">DropSmallEdges.Tolerance3d \96 work tolerance \r
- for detection and removing small edges.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>5</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction \r
\96this operator is intended for re-approximation BSplines curves and surfaces \r
- or conversion of the curves and surfaces to BSplines with specified parameters. \r
- </font></span></p>\r
-<p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation \r
- of surfaces if restriction is necessary</p>\r
-<p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion \r
- of any 3D curve to BSpline and approximation.</p>\r
-<p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion \r
- of any 2D curve to BSpline and approximation</p>\r
-<p class="whs4">BSplineRestriction.Tolerance3d \96 work tolerance \r
- for definition of the possibility of the approximation of the surfaces \r
- and 3D curves with specified parameters.</p>\r
-<p class="whs4">BSplineRestriction.Tolerance2d - work tolerance \r
- for definition of the possibility of the approximation of the 2D curves \r
- with specified parameters.</p>\r
-<p class="whs4">BSplineRestriction.Continuity3d \96 desired continuity \r
- of the resultant surfaces and 3D curves.</p>\r
-<p class="whs4">BSplineRestriction.Continuity2d \96 desired continuity \r
- of the resultant 2D curves.</p>\r
-<p class="whs4">BSplineRestriction.RequiredDegree - required \r
- degree of the resultant BSplines</p>\r
-<p class="whs4">BSplineRestriction.RequiredNbSegments - required \r
- maximum number of segments of resultant BSp<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">lines.</font></span></td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>6</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity \r
\96 this operator is intended for splitting shapes to achieve continuities \r
- of curves and surfaces less than specified ones. </font></span></p>\r
-<p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance \r
- for correction of geometry.</p>\r
-<p class="whs4">SplitContinuity.SurfaceContinuity - required \r
- continuity for surfaces.</p>\r
-<p class="whs4">SplitContinuity.CurveContinuity - required \r
- continuity for curves.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>7</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this \r
- operator is intended for conversion of the curves and surfaces of the \r
- all types into Bezier curves and surfaces. </font></span></p>\r
-<p class="whs4">ToBezier.SurfaceMode - mode of conversion of \r
- the surfaces.</p>\r
-<p class="whs4">ToBezier.Curve3dMode \96 mode for conversion \r
- of the 3D curves.</p>\r
-<p class="whs4">ToBezier.Curve2dMode \96 mode for conversion \r
- of the 2D curves.</p>\r
-<p class="whs4">ToBezier.MaxTolerance \96 max possible tolerance \r
- on the resultant shape.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>8</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape \96 this \r
- operator is intended for correction of the invalid shapes </font></span></p>\r
-<p class="whs4">FixShape.Tolerance3d \96 work tolerance for detection \r
- of the problems and correction of them.</p>\r
-<p class="whs4">FixShape.MaxTolerance3d - maximal possible \r
- tolerance of the shape after correction.</td></tr>\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="8.851%" class="whs14">\r
-<p>9</td>\r
-<td width="91.149%" class="whs15">\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter \r
\96 this operator is intended for fixing edges having not same parameter \r
- 2D and 3D curves. </font></span></p>\r
-<p class="whs4">SameParameter.Tolerance3d \96 tolerance for detection \r
- and fix problems. </td></tr>\r
-<script language='JavaScript'><!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
-//--></script>\r
-</table>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs17"> &nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4">Shape before applying Shape Processing (FixShape \r
- operator).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs18"> &nbsp;&nbsp;&nbsp;<img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs19"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs1">The \r
- same shape after applying Shape Processing.</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs21"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20"><a NAME=_Toc57113182><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"><b> Suppress faces</b></a></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Suppresses a face of a shape.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (ListOfGeomShapes).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>, \r
- where Shape is a shape to be processed, ListOfID is a list of faces ID's \r
- to be removed.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- Name + Faces which should be removed (you can select them in the 3D viewer).</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image288.jpg" width="263px" height="250px" border="0" class="img_whs23"></p>\r
-\r
-<p class="whs16">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs24"> &nbsp;<img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs24"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs25"><a name=CloseContour><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"> Close contour</a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description :</b> \r
- Closes an open contour and modifies the underlying face (if needed) in \r
- accordance with user specified mode:</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs4">By common vertex \96 a \r
- vertex is created between the end points of the contour and its tolerance \r
- is increased to a value of the gap between the ends of the contour;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4">By new edge \96 a new edge \r
- is inserted between the end points of the contour.</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires, \r
- IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires \r
- is a list of edges or wires ID\92s which has to be closed within the shape \r
- (if the list contains only one element = -1, the shape itself is considered \r
- as a wire), &nbsp;IsCommonVertex \r
- if this parameter is True a closure has to be done by creation of a common \r
- vertex, otherwise an edge is added between the end vertices.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire, \r
- or a set of Edges) + mode of closure (by vertex or by edge)</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs26"><img src="../image287.jpg" width="186px" height="250px" border="0" class="img_whs27"></p>\r
-\r
-<p class="whs28">&nbsp;</p>\r
-\r
-<p class="whs28">Example:</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a \r
- name=SuppressInternalWires><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"></B></font></span> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Suppress \r
- internal wires</B></font></span></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description :</b> \r
- Removes all internal wires or specified internal wires from user specified \r
- faces.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape, \r
- Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires \r
- is a list of wires ID\92s to be removed; if the list is empty then all internal \r
- wires are removed.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs4">Name of the resulting \r
- object</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4">User specified face</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4">User specified internal \r
- wires (lying on this face except for its boundary), or, in case the <span \r
- style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked, \r
- all internal wires</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image286.jpg" width="214px" height="250px" border="0" class="img_whs29"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs28">Example:</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs30"> &nbsp;&nbsp;&nbsp;<img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs31"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs20"><span \r
- style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif" width="20px" height="20px" border="0" class="img_whs22"><b style="font-size: 14pt;"> Suppress \r
- holes</b></a> </font></span></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description :</b> \r
- </p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
- Constructor :</b> Suppresses a hole in a shape.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
- Constructor :</b> Suppresses a hole in a face.</p></li>\r
-</ul>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape, \r
- ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a \r
- shape where holes must be removed, ListOfWireID is a list of wire sub \r
- shapes ID\92s. If it is empty, then all holes are removed.</font></span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 shape + Wires which should be removed.</p>\r
-\r
-<p class="whs4"><span style="font-weight: bold;"><B>Remove all \r
- holes </B></span>checkbox allows to fill all holes of a definite shape.</p>\r
-\r
-<p class="whs4"><span style="font-weight: bold;"><B>Detect </B></span>button \r
- allows to display the number of free boundaries in your shape:</p>\r
-\r
-<p class="whs16">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16">&nbsp;<img src="../image274.jpg" width="198px" height="250px" border="0" class="img_whs33"></p>\r
-\r
-<p class="whs16">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs16">&nbsp;</p>\r
-\r
-<p class="whs16">&nbsp;<img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs34"> &nbsp;<img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs34"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><a \r
- NAME=sewing\r
-       style="font-size: 14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif" width="20px" height="20px" border="0" class="img_whs22"> Sewing</a></b> </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Sew several &nbsp;shapes.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>, \r
- where ListOfShape is list of shapes to be sewed, Precision is a precision \r
- for sewing.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 or more shapes + 1 value (sew precision).</p>\r
-\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect \r
- </B></span>button allows to display the number of free boundaries in your \r
- shape:</font></span></p>\r
-\r
-<p class="whs16">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image289.jpg" width="216px" height="250px" border="0" class="img_whs35"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs36"> &nbsp;<img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs36"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs37"> <span \r
- style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Add point on edge</B></font></span></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Splits an edge in two in accordance with the specified mode (by length \r
- or by parameter) and a value specifying the position of the point on edge \r
- (for example val =0.5; mode = Length). </p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, \r
- Value, IsByParameter)</I></span>, where Shape is a shape which contains an \r
- edge to be divided, EdgeID is the ID of the edge to be divided, if it \r
- = -1, then Shape is an edge, Value is a paramter on the edge or a length. \r
- IsByParameter if it is True then Value is the edge parameter in the range \r
- [0:1] otherwise it is a length of the edge in the range [0:1]</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 Edge + 1 value setting the position of the point according one \r
- of the selected modes</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs38"><b style="font-weight: bold;">Dialog \r
- Box:</b></p>\r
-\r
-<p class="whs38">&nbsp;</p>\r
-\r
-<p class="whs39"><img src="../image291.jpg" width="191px" height="250px" border="0" class="img_whs40"></p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<p class="whs42">Example:</p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<p class="whs43"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs44"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs45"></p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46"><a name=Glue_faces><img src="../image61.gif" width="25px" height="24px" border="0" class="img_whs7"><span \r
- style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B> Glue faces</B></font></span></a></p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46"><b style="font-weight: bold;">Description:</b> \r
- Glues faces that are coincident with respect to the given tolerance </p>\r
-\r
-<p class="whs46">value.</p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object.</font></span></p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46"><b style="font-weight: bold;">TUI Command \r
- : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape, \r
- theTolerance)</I></span>, where theShape is a compound of shapesto be glued, \r
- theTolerance is a maximum distance between two faces, which can be considered \r
- as coincident.</p>\r
-\r
-<p class="whs46"><i><span style="font-style: italic;"><I>&nbsp;</I></span></i></p>\r
-\r
-<p class="whs46"><b style="font-weight: bold;">Arguments: \r
- <span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound \r
- + Tolerance value</span></i></p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs46"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs46">&nbsp;</p>\r
-\r
-<p class="whs47"><img src="../image290.jpg" width="240px" height="250px" border="0" class="img_whs48"></p>\r
-\r
-<p class="whs49">&nbsp;</p>\r
-\r
-<p class="whs49"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs49">&nbsp;</p>\r
-\r
-<p class="whs50"><img src="../image201.jpg" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs51"> &nbsp;&nbsp;<img src="../image202.jpg" width="204px" height="150px" border="0" class="img_whs52"></p>\r
-\r
-<p class="whs53">&nbsp;</p>\r
-\r
-<p class="whs53">&nbsp;</p>\r
-\r
-<p class="whs53">&nbsp;</p>\r
-\r
-<p class="whs54"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs37"> <span \r
- style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>\r
-\r
-<p class="whs55">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Description:</b> \r
- Detects wires and edges that correspond to the shape's boundary, and highlights \r
- it</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Result:</b> GEOM_Object. </p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span \r
- style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>, \r
- where Shape is a shape to be checked, NoError is false if an error occurred \r
- while checking free boundaries, ClosedWires is a list of closed free boundary \r
- wires, OpenWires is a list of open free boundary wires.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- Shape</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs38"><b style="font-weight: bold;">Dialog \r
- Box:</b></p>\r
-\r
-<p class="whs38">&nbsp;</p>\r
-\r
-<p class="whs26"><img src="../image64.gif" width="276px" height="192px" border="0" class="img_whs56"></p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs57"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs57"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs58"> &nbsp;<img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs59">&nbsp; <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs60"></p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs57"><a name=Check_free_faces><img src="../image10.gif" width="23px" height="22px" border="0" class="img_whs61"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free \r
- faces</B></font></span></a></p>\r
-\r
-<p class="whs57">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Description: </b>Retrieves all free faces \r
- from a given shape.<span> A free face is a face not shared between two \r
- shells of the shape. </span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>Result:</b> GEOM_Object. Returns a list \r
- of IDs of all free faces, contained in the shape.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b>TUI Command :</b><i><span style="font-style: italic;"> \r
- <I></i>GetFreeFacesIDs(Shape)</I></span>, where Shape is a shape to be checked.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
- Shape</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs38"><b style="font-weight: bold;">Dialog \r
- Box:</b></p>\r
-\r
-<p class="whs38">&nbsp;</p>\r
-\r
-<p class="whs16"><img src="../image26.gif" width="320px" height="143px" border="0" class="img_whs62"></p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<p class="whs41">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
deleted file mode 100755 (executable)
index d4b54ec..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image120.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image120.gif
deleted file mode 100755 (executable)
index e800c48..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image120.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
deleted file mode 100755 (executable)
index b39eb20..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
deleted file mode 100755 (executable)
index 3917bf3..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm
deleted file mode 100755 (executable)
index 2ad3f56..0000000
+++ /dev/null
@@ -1,676 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Titre</title>\r
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='../default.css'>");}\r
-//-->\r
-</script>\r
-<style>\r
-<!--\r
-A:visited { color:#800080; }\r
-A:link { color:#0000ff; }\r
--->\r
-</style><style type="text/css">\r
-<!--\r
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs6 { width:20px; height:20px; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; }\r
-img_whs8 { border:none; width:184px; height:250px; border-style:none; }\r
-img_whs9 { border:none; width:196px; height:250px; border-style:none; }\r
-img_whs10 { border:none; width:197px; height:250px; border-style:none; }\r
-p.whs11 { margin-left:40px; }\r
-img_whs12 { border:none; width:150px; height:163px; border-style:none; }\r
-img_whs13 { border:none; width:218px; height:250px; border-style:none; }\r
-img_whs14 { border:none; width:150px; height:145px; border-style:none; }\r
-p.whs15 { margin-left:48px; text-indent:-48px; }\r
-p.whs16 { margin-left:48px; text-indent:-48px; font-size:14pt; font-weight:bold; }\r
-img_whs17 { border:none; width:25px; height:22px; border-style:none; }\r
-img_whs18 { border:none; width:209px; height:234px; border-style:none; }\r
-img_whs19 { border:none; width:200px; height:234px; border-style:none; }\r
-p.whs20 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs21 { font-size:12pt; text-indent:-40px; margin-left:80px; }\r
-img_whs22 { border:none; width:200px; height:209px; border-style:none; }\r
-img_whs23 { border:none; width:214px; height:250px; border-style:none; }\r
-img_whs24 { border:none; width:215px; height:250px; border-style:none; }\r
-img_whs25 { border:none; width:216px; height:250px; border-style:none; }\r
-img_whs26 { border:none; width:150px; height:127px; border-style:none; }\r
-img_whs27 { border:none; width:205px; height:250px; border-style:none; }\r
-p.whs28 { margin-left:40px; font-size:12pt; }\r
-img_whs29 { border:none; width:150px; height:153px; border-style:none; }\r
-img_whs30 { border:none; width:24px; height:22px; border-style:none; }\r
-p.whs31 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs32 { border:none; width:225px; height:250px; border-style:none; }\r
-p.whs33 { font-size:12pt; font-weight:bold; }\r
-img_whs34 { border:none; width:200px; height:191px; border-style:none; }\r
-img_whs35 { border:none; width:140px; height:250px; border-style:none; }\r
-img_whs36 { border:none; width:141px; height:250px; border-style:none; }\r
-img_whs37 { border:none; width:150px; height:123px; border-style:none; }\r
-img_whs38 { border:none; width:159px; height:250px; border-style:none; }\r
-img_whs39 { border:none; width:160px; height:250px; border-style:none; }\r
-img_whs40 { border:none; width:150px; height:128px; border-style:none; }\r
-img_whs41 { border:none; width:150px; height:113px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs15 {text-indent:1pt; }";\r
-  strNSS += "p.whs16 {text-indent:1pt; }";\r
-  strNSS += "p.whs20 {text-indent:1pt; }";\r
-  strNSS += "p.whs21 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="../whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nUsing transformation operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("../geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Using transformation operations</h1>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM there is a set \r
- of operations allowing to transform the initial geometrical object into \r
- other objects, which will be also created. These operations are</span></b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113210"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Translation&#9;</font></span></font></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113211">Rotation</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">&#9;</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113212"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Mirror \r
- image&#9;</font></span></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113213">Scale transform</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">&#9;</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113214"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Multi-Translation \r
- (Pattern)&#9;</font></span></a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs4"><a \r
- HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">All these operations are accessible in the \r
- main menu, via <span style="font-style: italic;"><I>Operations / Transformation.</I></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=_Toc57113210><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif" width="20px" height="20px" border="0" class="img_whs6"><font \r
- style="font-size: 14pt;"\r
-       size=4> Translation</font></a></b> </font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Makes a translation of a shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX, \r
- DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are \r
- components of translation vector.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 3 values (coordinates).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 2 vertices.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 1 vector.</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image271.jpg" width="184px" height="250px" border="0" class="img_whs8"> &nbsp;<img src="../image272.jpg" width="196px" height="250px" border="0" class="img_whs9"> &nbsp;<img src="../image273.jpg" width="197px" height="250px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs12"> &nbsp;<img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=_Toc57113211><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Rotation</font></b></a> \r
- </font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Rotates the initial shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis, \r
- Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of \r
- rotation, Angle is an angle of rotation.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape + 1 vector for direction of rotation + 1 angle.</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>Reverse </B></span>checkbox \r
- allows to specify the direction of rotation.</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image270.jpg" width="218px" height="250px" border="0" class="img_whs13"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs14"> &nbsp;<img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<p class="whs16"><a name=_Toc57113217\r
-                                                                       style="font-size: 14pt; font-weight: bold;"><img src="../image59.gif" width="25px" height="22px" border="0" class="img_whs17"> Modify the Location</a></p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Modification of location of an object.</font></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where&nbsp;theObject \r
- is a shape, location of which is modified, theStartLCS is a location to \r
- move the shape from, theEndLCS is a location to move the shape to.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image199.jpg" width="209px" height="234px" border="0" class="img_whs18"> &nbsp;&nbsp;<img src="../image196.jpg" width="200px" height="234px" border="0" class="img_whs19"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs21"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs22"></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=_Toc57113212><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Mirror</b></a> \r
- </font></span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Symmetrical copy of a shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape, \r
- Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane \r
- of symmetry.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 1 vertex.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 1 vector.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st \r
- Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape \r
- + 1 plane.</p></li>\r
-</ul>\r
-\r
-<p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span><span>checkbox allows to keep the initial object, otherwise it \r
- will be removed.</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image267.jpg" width="214px" height="250px" border="0" class="img_whs23"> <img src="../image268.jpg" width="215px" height="250px" border="0" class="img_whs24"> <img src="../image269.jpg" width="216px" height="250px" border="0" class="img_whs25"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs26"> &nbsp;<img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs26"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=_Toc57113213><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Scale transform</a> \r
- </font></b></font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates a scaled shape basing on the initial shape.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape, \r
- CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale \r
- is a center point of scale, Factor is a factor of the scale.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image266.jpg" width="205px" height="250px" border="0" class="img_whs27"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs28"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs29"> &nbsp;<img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs29"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs20"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs30"> <span \r
- style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>\r
-\r
-<p class="whs20">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Each point is translated along a local normal by a given distance (signed \r
- number, negative value meaning inner offset). Offset operation is applicable \r
- to faces, shells and solids.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>, \r
- where Shape is a shape which has to be an offset, Offset is a value of \r
- the offset.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs1"><span><font size=3 style="font-size:12pt;">Name of the resulting \r
- object</font></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">GEOM_Object (face, shell, \r
- solid, compound) </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">offset value </p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs31"><img src="../image265.jpg" width="225px" height="250px" border="0" class="img_whs32"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs33">Example:</p>\r
-\r
-<p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs34"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=_Toc57113214><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
-                                                                                                       size=4> Multi-Translation</font></b></font></span></a></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span> \r
- or <span style="font-weight: bold;"><B>two</B></span> directions.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (compound).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape, \r
- Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir \r
- is a direction of translation, Step is a step of the translation, NbTimes \r
- is a number of times the shape must be moved.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape, \r
- Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a \r
- shape to be translated, Dir1 is the first direction of translation, Step1 \r
- of the first translation, NbTimes1 is a number of translations to be done \r
- along, Dir2 is the second direction of translation, Step2 of the second \r
- translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
- Constructor <span style="font-weight: normal;">(in one direction):</span></b> \r
- Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd \r
- Constructor<span style="font-weight: normal;"> (in two directions):</span></b> \r
- Name + 1 shape + 2 vectors defining the direction + 2 step values + 2 \r
- values (repetitions).</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image263.jpg" width="140px" height="250px" border="0" class="img_whs35"> &nbsp;<img src="../image264.jpg" width="141px" height="250px" border="0" class="img_whs36"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">One direction:</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> &nbsp;<img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">Two directions:</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> &nbsp;<img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs5"><a NAME=_Toc57113215><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Multi-Rotation</b></font></span></a></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Description:</b> \r
- Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one \r
- </B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions \r
- basing on the initial geometrical object</span>.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (compound).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape, \r
- Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an \r
- Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape, \r
- Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape \r
- to be rotated, Axis is an axis of rotation, Angle is an angle of rotation, \r
- NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2 \r
- is a number of translation.</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
- Constructor <span style="font-weight: normal;">(in one direction):</span></b> \r
- Name + 1 shape + 1 vector for direction + 1 value (repetition).</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd \r
- Constructor <span style="font-weight: normal;">(in two directions):</span></b> \r
- Name + 1 shape + 1 vector for direction + 1 angle + 1 value (repetition) \r
- + 1 step value + 1 value (repetition); <span style="font-weight: bold;"><B>Reverse \r
- </B></span><span>checkbox allows to set the direction of rotation</span>.</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image261.jpg" width="159px" height="250px" border="0" class="img_whs38"> &nbsp;<img src="../image262.jpg" width="160px" height="250px" border="0" class="img_whs39"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b \r
- style="font-weight: bold;">E</b>xample:</b></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs40"> &nbsp;<img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs40"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">Two directions:</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs41"> &nbsp;<img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs41"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
deleted file mode 100755 (executable)
index 7a140ed..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
deleted file mode 100755 (executable)
index d3fdead..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif
deleted file mode 100755 (executable)
index 9803362..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
deleted file mode 100755 (executable)
index 2059e9d..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
deleted file mode 100755 (executable)
index 29aaddb..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
deleted file mode 100755 (executable)
index d55ff89..0000000
Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/geom.htm b/doc/salome/gui/GEOM/geom.htm
deleted file mode 100755 (executable)
index 46797c7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = -1;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)                              \r
-               document.location = "whnjs.htm";\r
-       else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       else if (gbMac && gbIE4 && !gbIE5)              \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       else\r
-       {\r
-               nViewFrameType=nWebhelpNavPaneMode;\r
-               if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
-               {\r
-                       var gbDHTML=(nWebhelpNavPaneMode==1);\r
-                       if (gbNav4)                                                                             nViewFrameType = 2;\r
-                       if (gbNav4&&(gnVerMinor < 4.1))                                         nViewFrameType = 3;\r
-                       if (gbNav4&&(gnVerMinor == 4.6))                                        nViewFrameType = 3;\r
-                       if (gbIE4&&gbDHTML)                                                                     nViewFrameType = 1;\r
-                       if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2)                     nViewFrameType = 3;\r
-                       if (gbNav4&&gbSunOS&&nViewFrameType==2)                 nViewFrameType = 3;\r
-                       if (gbNav6&&gbDHTML)                                                            nViewFrameType = 1;\r
-                       if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2)         nViewFrameType = 3;\r
-                       if (gbMac)                                                                                      nViewFrameType = 3;\r
-                       if (gbOpera7&&nViewFrameType == 2)                                      nViewFrameType = 3;\r
-                       if ((bNoApplet)&&(nViewFrameType == 2))                         nViewFrameType = 3;\r
-               }\r
-       }\r
-}\r
-\r
-if (nViewFrameType!=-1)\r
-{\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-       //The colordepth of the 16 color on Windows is 1. \r
-       if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-       {\r
-          alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");\r
-          nViewFrameType = 3;\r
-       }\r
-\r
-       //figure out which one is navpane\r
-       // ReplaceMark:nViewFrameType = 1\r
-       if (nViewFrameType == 1)\r
-       {\r
-               if (gbNav4 && !gbNav6)\r
-                       strPane = strPaneList;\r
-               else\r
-                       strPane = strPaneDHTML;\r
-       }\r
-       else if (nViewFrameType == 2)\r
-               strPane = strPaneApplet;\r
-       else\r
-               strPane = strPaneList;\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (nViewFrameType!=-1)\r
-{\r
-       var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"1\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-       document.write(strHTML);\r
-}\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom.html b/doc/salome/gui/GEOM/geom.html
deleted file mode 100755 (executable)
index 34511ae..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name "description" content="WebHelp 2002">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = nWebhelpNavPaneMode;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4 && !gbIE4)                          \r
-               document.location = "whnjs.htm";\r
-       if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       if (gbMac && gbIE4 && !gbIE5)           \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       if ((nWebhelpNavPaneMode == 1) ||\r
-               (nWebhelpNavPaneMode == 2))\r
-       {\r
-               var gbDHTML = (nWebhelpNavPaneMode == 1);\r
-               if (nWebhelpNavPaneMode == 2)                                                           nViewFrameType = 2;\r
-               if (gbNav4)                                                                                             nViewFrameType = 2;\r
-               if (gbNav4 && (gnVerMinor < 4.1))                                                       nViewFrameType = 3;\r
-               if (gbNav4 && (gnVerMinor == 4.6))                                                      nViewFrameType = 3;\r
-               if (gbIE4 && gbDHTML)                                                                           nViewFrameType = 1;\r
-               if (gbIE4 && gbSunOS && nWebhelpNavPaneMode == 2)                       nViewFrameType = 3;\r
-               if (gbNav6 && gbDHTML)                                                                          nViewFrameType = 1;\r
-               if (gbNav6 && !gbNav61 && nWebhelpNavPaneMode == 2)                     nViewFrameType = 3;\r
-               if (gbMac)                                                                                                      nViewFrameType = 3;\r
-               if ((bNoApplet) && (nViewFrameType == 2))                                       nViewFrameType = 3;\r
-               if (gbOpera)                                                                                            nViewFrameType = 3;\r
-       }\r
-}\r
-\r
-var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-//The colordepth of the 16 color on Windows is 1. \r
-if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-{\r
-   alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");\r
-   nViewFrameType = 3;\r
-}\r
-\r
-//figure out which one is navpane\r
-// ReplaceMark:nViewFrameType = 1\r
-if (nViewFrameType == 1)\r
-{\r
-       if (gbNav4 && !gbNav6)\r
-               strPane = strPaneList;\r
-       else\r
-               strPane = strPaneDHTML;\r
-}\r
-else if (nViewFrameType == 2)\r
-       strPane = strPaneApplet;\r
-else\r
-       strPane = strPaneList;\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4 && !gbNav4)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_strVersion;\r
-  this.m_strDefAgent;\r
-  this.m_strAgentList;\r
-  this.m_bTrial;\r
-  this.m_bExpired;\r
-  this.m_bSinglePane;\r
-  this.m_strProduct;\r
-  this.m_strWindow;\r
-  this.m_strProject;\r
-  this.m_strContextID;\r
-  this.m_strCaption; \r
-  this.m_strURLSkinFile;\r
-  this.m_strURLResource;\r
-  this.m_strURLLogoImg;\r
-  this.m_strURLTopic;\r
-  this.m_strURLBase;\r
-  this.m_bShowSync;\r
-  this.m_bShowBrowseSequences;\r
-  this.m_bShowSearchInput;\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"no\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"no\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"yes\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-document.write(strHTML);\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom.log b/doc/salome/gui/GEOM/geom.log
deleted file mode 100755 (executable)
index f9810dc..0000000
+++ /dev/null
@@ -1,476 +0,0 @@
-|SourceProjectName:GEOM.hpr\r
-|DestinationProjectName:geom.htm\r
-whhost.js\r
-whmsg.js\r
-whmozemu.js\r
-whproxy.js\r
-whstub.js\r
-whutils.js\r
-whver.js\r
-whform.js\r
-whphost.js\r
-whstart.js\r
-whtopic.js\r
-whframes.js\r
-whlang.js\r
-whskin_info.htm\r
-whskin_blank.htm\r
-whskin_pickup.htm\r
-whskin_homepage.htm\r
-whskin_tw.htm\r
-whnjs.htm\r
-whthost.js\r
-whtdhtml.htm\r
-whihost.js\r
-whibody.htm\r
-whiform.htm\r
-whfhost.js\r
-whfbody.htm\r
-whfform.htm\r
-whghost.js\r
-whgbody.htm\r
-whgdhtml.htm\r
-whgdef.htm\r
-whproj.js\r
-whproj.xml\r
-whproj.htm\r
-whxdata\whtoc.xml\r
-whxdata\whidx.xml\r
-whxdata\whfts.xml\r
-whxdata\whglo.xml\r
-whdata\whtoc.js\r
-whdata\whtoc.htm\r
-whdata\whtdata.js\r
-whdata\whidx.js\r
-whdata\whidx.htm\r
-whdata\whidata.js\r
-whdata\whfts.js\r
-whdata\whfts.htm\r
-whdata\whglo.js\r
-whdata\whglo.htm\r
-whdata\whgdata.js\r
-whdata\whftdata.js\r
-whdata\whfwdata.js\r
-whres.xml\r
-webhelp.jar\r
-webhelp.cab\r
-whgdata\whnvp30.htm\r
-whgdata\whnvp31.htm\r
-whgdata\whnvp32.htm\r
-whgdata\whnvp33.htm\r
-whgdata\whnvt30.htm\r
-whgdata\whnvt31.htm\r
-whgdata\whnvt32.htm\r
-whgdata\whnvt33.htm\r
-whgdata\whnvf30.htm\r
-whgdata\whnvf31.htm\r
-whgdata\whnvf32.htm\r
-whgdata\whnvf33.htm\r
-whgdata\whnvl31.htm\r
-whgdata\whnvl32.htm\r
-whgdata\whnvl33.htm\r
-whgdata\whexpbar.gif\r
-cshdat_webhelp.htm\r
-whcsh_home.htm\r
-whcshdata.htm\r
-cshdat_robohelp.htm\r
-wht_tab0.gif\r
-wht_tab1.gif\r
-wht_tab2.gif\r
-wht_tab3.gif\r
-wht_tab4.gif\r
-wht_tab5.gif\r
-wht_tab6.gif\r
-wht_tab7.gif\r
-wht_tab8.gif\r
-wht_glo_h.gif\r
-wht_glo_n.gif\r
-wht_fts_h.gif\r
-wht_fts_n.gif\r
-wht_idx_h.gif\r
-wht_idx_n.gif\r
-wht_toc_h.gif\r
-wht_toc_n.gif\r
-wht_ws.gif\r
-wht_ws_g.gif\r
-wht_logo1.gif\r
-wht_logo2.gif\r
-wht_abgw.jpg\r
-wht_abgi.jpg\r
-wht_abge.jpg\r
-wht_abtw.jpg\r
-wht_abte.jpg\r
-wht_abti.jpg\r
-wht_spac.gif\r
-wht_next.gif\r
-wht_next_g.gif\r
-wht_prev.gif\r
-wht_prev_g.gif\r
-wht_sync.gif\r
-wht_hide.gif\r
-wht_go.gif\r
-whstart.ico\r
-whestart.ico\r
-whrstart.ico\r
-whidhtml.htm\r
-whfdhtml.htm\r
-whskin_banner.htm\r
-whtbar.js\r
-whskin_pdhtml.htm\r
-whskin_papplet.htm\r
-whskin_plist.htm\r
-whskin_tbars.htm\r
-whskin_mbars.htm\r
-wht_toc4.gif\r
-wht_toc1.gif\r
-wht_toc2.gif\r
-wht_toc3.gif\r
-whskin_frmset010.htm\r
-whst_topics.xml\r
-whskin_frmset01.htm\r
-geom_hha.hhk\r
-geom.hhc\r
-geom.hhk\r
-blocks.htm\r
-changing_displaying_parameters.htm\r
-files\introduction_to_geom.htm\r
-files\salome2_sp3_basicgui_functions.htm\r
-files\salome2_sp3_booleangui_functions.htm\r
-files\salome2_sp3_buildgui_functions.htm\r
-files\salome2_sp3_displaygui_functions.htm\r
-files\salome2_sp3_generationgui_functions.htm\r
-files\salome2_sp3_geomtoolsgui_functions.htm\r
-files\salome2_sp3_measuregui_functions.htm\r
-files\salome2_sp3_operationgui_functions.htm\r
-files\salome2_sp3_primitivegui_functions.htm\r
-files\salome2_sp3_repairgui_functions.htm\r
-files\salome2_sp3_transformationgui_functions.htm\r
-newentity_blocks.htm\r
-sketcher.htm\r
-working_with_groups.htm\r
-ehelp.xml\r
-geom.glo\r
-default.css\r
-image290.jpg\r
-image219.jpg\r
-image208.jpg\r
-image61.gif\r
-image191.jpg\r
-image180.jpg\r
-image109.jpg\r
-image97.jpg\r
-image53.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif\r
-image291.jpg\r
-image280.jpg\r
-image209.jpg\r
-image192.jpg\r
-image181.jpg\r
-image51.gif\r
-image170.jpg\r
-image98.jpg\r
-image76.jpg\r
-image54.jpg\r
-image10.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif\r
-image292.jpg\r
-image281.jpg\r
-image270.jpg\r
-image193.jpg\r
-image52.gif\r
-image171.jpg\r
-image160.jpg\r
-image41.gif\r
-image11.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif\r
-image3.jpg\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif\r
-image293.jpg\r
-image64.gif\r
-image282.jpg\r
-image271.jpg\r
-image260.jpg\r
-image194.jpg\r
-image53.gif\r
-image172.jpg\r
-image42.gif\r
-image150.jpg\r
-image78.jpg\r
-image20.gif\r
-image67.jpg\r
-image12.jpg\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif\r
-image294.jpg\r
-image283.jpg\r
-image261.jpg\r
-image272.jpg\r
-image250.jpg\r
-image151.jpg\r
-image32.gif\r
-image140.jpg\r
-image79.jpg\r
-image21.gif\r
-image2.gif\r
-image5.jpg\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif\r
-image295.jpg\r
-image284.jpg\r
-image262.jpg\r
-image273.jpg\r
-image251.jpg\r
-image240.jpg\r
-image196.jpg\r
-image185.jpg\r
-image44.gif\r
-image163.jpg\r
-image141.jpg\r
-image130.jpg\r
-image22.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif\r
-image11.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif\r
-image296.jpg\r
-image285.jpg\r
-image274.jpg\r
-image263.jpg\r
-image252.jpg\r
-image241.jpg\r
-image230.jpg\r
-image197.jpg\r
-image56.gif\r
-image164.jpg\r
-image142.jpg\r
-image23.gif\r
-image12.gif\r
-image7.jpg\r
-image4.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif\r
-image297.jpg\r
-image286.jpg\r
-image275.jpg\r
-image264.jpg\r
-image253.jpg\r
-image242.jpg\r
-image231.jpg\r
-image220.jpg\r
-image57.gif\r
-image154.jpg\r
-image35.gif\r
-image24.gif\r
-image121.jpg\r
-image110.jpg\r
-image27.jpg\r
-image13.gif\r
-image8.jpg\r
-image5.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif\r
-image298.jpg\r
-image287.jpg\r
-image276.jpg\r
-image265.jpg\r
-image254.jpg\r
-image243.jpg\r
-image221.jpg\r
-image210.jpg\r
-image199.jpg\r
-image188.jpg\r
-image133.jpg\r
-image25.gif\r
-image122.jpg\r
-image14.gif\r
-image9.jpg\r
-image6.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif\r
-i_blue.jpg\r
-image299.jpg\r
-image288.jpg\r
-image277.jpg\r
-image266.jpg\r
-image255.jpg\r
-image244.jpg\r
-image233.jpg\r
-image222.jpg\r
-image211.jpg\r
-image59.gif\r
-image189.jpg\r
-image167.jpg\r
-image156.jpg\r
-image37.gif\r
-image145.jpg\r
-image134.jpg\r
-image112.jpg\r
-image15.gif\r
-image18.jpg\r
-image7.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif\r
-image300.jpg\r
-image289.jpg\r
-image278.jpg\r
-image267.jpg\r
-image256.jpg\r
-image245.jpg\r
-image234.jpg\r
-image223.jpg\r
-image212.jpg\r
-image201.jpg\r
-image49.gif\r
-image168.jpg\r
-image135.jpg\r
-image124.jpg\r
-image113.jpg\r
-image16.gif\r
-image8.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif\r
-image279.jpg\r
-image268.jpg\r
-image257.jpg\r
-image246.jpg\r
-image235.jpg\r
-image224.jpg\r
-image213.jpg\r
-image202.jpg\r
-image158.jpg\r
-image147.jpg\r
-image136.jpg\r
-image80.jpg\r
-image17.gif\r
-image9.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif\r
-image269.jpg\r
-image258.jpg\r
-image247.jpg\r
-image236.jpg\r
-image225.jpg\r
-image214.jpg\r
-image203.jpg\r
-image29.gif\r
-image137.jpg\r
-image81.jpg\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif\r
-image259.jpg\r
-image248.jpg\r
-image237.jpg\r
-image226.jpg\r
-image215.jpg\r
-image204.jpg\r
-image149.jpg\r
-image138.jpg\r
-image127.jpg\r
-image82.jpg\r
-image19.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif\r
-image249.jpg\r
-image238.jpg\r
-image227.jpg\r
-image216.jpg\r
-image205.jpg\r
-image139.jpg\r
-image128.jpg\r
-image94.jpg\r
-image83.jpg\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif\r
-image239.jpg\r
-image228.jpg\r
-image217.jpg\r
-image206.jpg\r
-image129.jpg\r
-image95.jpg\r
-image84.jpg\r
-image229.jpg\r
-image218.jpg\r
-image207.jpg\r
-image96.jpg\r
-image85.jpg\r
-image52.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif\r
-ehlpdhtm.js\r
-geom.ppf\r
-default_ns.css\r
-whxdata\whtdata0.xml\r
-whxdata\whftdata0.xml\r
-whxdata\whfwdata0.xml\r
-whxdata\whfwdata1.xml\r
-whxdata\whfwdata2.xml\r
-whxdata\whgdata0.xml\r
-whdata\whtdata0.htm\r
-whdata\whftdata0.htm\r
-whdata\whfwdata0.htm\r
-whdata\whfwdata1.htm\r
-whdata\whfwdata2.htm\r
-whdata\whgdata0.htm\r
-whgdata\whlstt0.htm\r
-whgdata\whlstt1.htm\r
-whgdata\whlstt2.htm\r
-whgdata\whlstt3.htm\r
-whgdata\whlstt4.htm\r
-whgdata\whlsti0.htm\r
-whgdata\whlstfl0.htm\r
-whgdata\whlstfl1.htm\r
-whgdata\whlstfl2.htm\r
-whgdata\whlstfl3.htm\r
-whgdata\whlstfl4.htm\r
-whgdata\whlstfl5.htm\r
-whgdata\whlstfl6.htm\r
-whgdata\whlstfl7.htm\r
-whgdata\whlstfl8.htm\r
-whgdata\whlstfl9.htm\r
-whgdata\whlstfl10.htm\r
-whgdata\whlstfl11.htm\r
-whgdata\whlstfl12.htm\r
-whgdata\whlstfl13.htm\r
-whgdata\whlstfl14.htm\r
-whgdata\whlstfl15.htm\r
-whgdata\whlstfl16.htm\r
-whgdata\whlstfl17.htm\r
-whgdata\whlstfl18.htm\r
-whgdata\whlstfl19.htm\r
-whgdata\whlstfl20.htm\r
-whgdata\whlstfl21.htm\r
-whgdata\whlstfl22.htm\r
-whgdata\whlstfl23.htm\r
-whgdata\whlstf0.htm\r
-whgdata\whlstf1.htm\r
-whgdata\whlstf2.htm\r
-whgdata\whlstf3.htm\r
-whgdata\whlstf4.htm\r
-whgdata\whlstf5.htm\r
-whgdata\whlstg0.htm\r
-geom.htm\r
-geom_csh.htm\r
-geom_rhc.htm\r
diff --git a/doc/salome/gui/GEOM/geom_csh.htm b/doc/salome/gui/GEOM/geom_csh.htm
deleted file mode 100755 (executable)
index 24b1d19..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_csh.html";\r
-var gCSHSuffixName2 = "_csh.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_webhelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_webhelp.htm"></frame>            \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_csh.html b/doc/salome/gui/GEOM/geom_csh.html
deleted file mode 100755 (executable)
index e5123bb..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name "description" content="WebHelp 2002">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_csh.html";\r
-var gCSHSuffixName2 = "_csh.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_webhelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-       var bFound = false;\r
-       for (var i = 0; i < len; i ++)\r
-       {\r
-               if (isSamePath(gasProj[i], strPPath))\r
-               {\r
-                       bFound = true;\r
-                       break;\r
-               }\r
-       }\r
-       if (!bFound)\r
-               gasProj[len] = strPPath;        \r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_webhelp.htm"></frame>            \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_help.html b/doc/salome/gui/GEOM/geom_help.html
deleted file mode 100755 (executable)
index 34511ae..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name "description" content="WebHelp 2002">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = nWebhelpNavPaneMode;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4 && !gbIE4)                          \r
-               document.location = "whnjs.htm";\r
-       if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       if (gbMac && gbIE4 && !gbIE5)           \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       if ((nWebhelpNavPaneMode == 1) ||\r
-               (nWebhelpNavPaneMode == 2))\r
-       {\r
-               var gbDHTML = (nWebhelpNavPaneMode == 1);\r
-               if (nWebhelpNavPaneMode == 2)                                                           nViewFrameType = 2;\r
-               if (gbNav4)                                                                                             nViewFrameType = 2;\r
-               if (gbNav4 && (gnVerMinor < 4.1))                                                       nViewFrameType = 3;\r
-               if (gbNav4 && (gnVerMinor == 4.6))                                                      nViewFrameType = 3;\r
-               if (gbIE4 && gbDHTML)                                                                           nViewFrameType = 1;\r
-               if (gbIE4 && gbSunOS && nWebhelpNavPaneMode == 2)                       nViewFrameType = 3;\r
-               if (gbNav6 && gbDHTML)                                                                          nViewFrameType = 1;\r
-               if (gbNav6 && !gbNav61 && nWebhelpNavPaneMode == 2)                     nViewFrameType = 3;\r
-               if (gbMac)                                                                                                      nViewFrameType = 3;\r
-               if ((bNoApplet) && (nViewFrameType == 2))                                       nViewFrameType = 3;\r
-               if (gbOpera)                                                                                            nViewFrameType = 3;\r
-       }\r
-}\r
-\r
-var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-//The colordepth of the 16 color on Windows is 1. \r
-if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-{\r
-   alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");\r
-   nViewFrameType = 3;\r
-}\r
-\r
-//figure out which one is navpane\r
-// ReplaceMark:nViewFrameType = 1\r
-if (nViewFrameType == 1)\r
-{\r
-       if (gbNav4 && !gbNav6)\r
-               strPane = strPaneList;\r
-       else\r
-               strPane = strPaneDHTML;\r
-}\r
-else if (nViewFrameType == 2)\r
-       strPane = strPaneApplet;\r
-else\r
-       strPane = strPaneList;\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4 && !gbNav4)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_strVersion;\r
-  this.m_strDefAgent;\r
-  this.m_strAgentList;\r
-  this.m_bTrial;\r
-  this.m_bExpired;\r
-  this.m_bSinglePane;\r
-  this.m_strProduct;\r
-  this.m_strWindow;\r
-  this.m_strProject;\r
-  this.m_strContextID;\r
-  this.m_strCaption; \r
-  this.m_strURLSkinFile;\r
-  this.m_strURLResource;\r
-  this.m_strURLLogoImg;\r
-  this.m_strURLTopic;\r
-  this.m_strURLBase;\r
-  this.m_bShowSync;\r
-  this.m_bShowBrowseSequences;\r
-  this.m_bShowSearchInput;\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"no\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"no\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"yes\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-document.write(strHTML);\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_help_csh.html b/doc/salome/gui/GEOM/geom_help_csh.html
deleted file mode 100755 (executable)
index e5123bb..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name "description" content="WebHelp 2002">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_csh.html";\r
-var gCSHSuffixName2 = "_csh.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_webhelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-       var bFound = false;\r
-       for (var i = 0; i < len; i ++)\r
-       {\r
-               if (isSamePath(gasProj[i], strPPath))\r
-               {\r
-                       bFound = true;\r
-                       break;\r
-               }\r
-       }\r
-       if (!bFound)\r
-               gasProj[len] = strPPath;        \r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_webhelp.htm"></frame>            \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_help_rhc.html b/doc/salome/gui/GEOM/geom_help_rhc.html
deleted file mode 100755 (executable)
index 26441d7..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name "description" content="WebHelp 2002">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_rhc.html";\r
-var gCSHSuffixName2 = "_rhc.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_robohelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-       var bFound = false;\r
-       for (var i = 0; i < len; i ++)\r
-       {\r
-               if (isSamePath(gasProj[i], strPPath))\r
-               {\r
-                       bFound = true;\r
-                       break;\r
-               }\r
-       }\r
-       if (!bFound)\r
-               gasProj[len] = strPPath;        \r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_robohelp.htm"></frame>           \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_rhc.htm b/doc/salome/gui/GEOM/geom_rhc.htm
deleted file mode 100755 (executable)
index 3f33cfe..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_rhc.html";\r
-var gCSHSuffixName2 = "_rhc.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_robohelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_robohelp.htm"></frame>           \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_rhc.html b/doc/salome/gui/GEOM/geom_rhc.html
deleted file mode 100755 (executable)
index 26441d7..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name "description" content="WebHelp 2002">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_rhc.html";\r
-var gCSHSuffixName2 = "_rhc.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_robohelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-       var bFound = false;\r
-       for (var i = 0; i < len; i ++)\r
-       {\r
-               if (isSamePath(gasProj[i], strPPath))\r
-               {\r
-                       bFound = true;\r
-                       break;\r
-               }\r
-       }\r
-       if (!bFound)\r
-               gasProj[len] = strPPath;        \r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_robohelp.htm"></frame>           \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/i_blue.jpg b/doc/salome/gui/GEOM/i_blue.jpg
deleted file mode 100755 (executable)
index ed3acfa..0000000
Binary files a/doc/salome/gui/GEOM/i_blue.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image10.jpg b/doc/salome/gui/GEOM/image10.jpg
deleted file mode 100755 (executable)
index 89009bc..0000000
Binary files a/doc/salome/gui/GEOM/image10.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image100.jpg b/doc/salome/gui/GEOM/image100.jpg
deleted file mode 100755 (executable)
index 6147864..0000000
Binary files a/doc/salome/gui/GEOM/image100.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image101.jpg b/doc/salome/gui/GEOM/image101.jpg
deleted file mode 100755 (executable)
index f1e23ed..0000000
Binary files a/doc/salome/gui/GEOM/image101.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image102.jpg b/doc/salome/gui/GEOM/image102.jpg
deleted file mode 100755 (executable)
index f2c6138..0000000
Binary files a/doc/salome/gui/GEOM/image102.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image103.jpg b/doc/salome/gui/GEOM/image103.jpg
deleted file mode 100755 (executable)
index e6ae3db..0000000
Binary files a/doc/salome/gui/GEOM/image103.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image104.jpg b/doc/salome/gui/GEOM/image104.jpg
deleted file mode 100755 (executable)
index fe5716c..0000000
Binary files a/doc/salome/gui/GEOM/image104.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image105.jpg b/doc/salome/gui/GEOM/image105.jpg
deleted file mode 100755 (executable)
index 38b31e8..0000000
Binary files a/doc/salome/gui/GEOM/image105.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image106.jpg b/doc/salome/gui/GEOM/image106.jpg
deleted file mode 100755 (executable)
index 5d62a22..0000000
Binary files a/doc/salome/gui/GEOM/image106.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image107.jpg b/doc/salome/gui/GEOM/image107.jpg
deleted file mode 100755 (executable)
index c24dff4..0000000
Binary files a/doc/salome/gui/GEOM/image107.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image108.jpg b/doc/salome/gui/GEOM/image108.jpg
deleted file mode 100755 (executable)
index 331761b..0000000
Binary files a/doc/salome/gui/GEOM/image108.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image109.jpg b/doc/salome/gui/GEOM/image109.jpg
deleted file mode 100755 (executable)
index de4e1e1..0000000
Binary files a/doc/salome/gui/GEOM/image109.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image11.gif b/doc/salome/gui/GEOM/image11.gif
deleted file mode 100755 (executable)
index 4a07b5e..0000000
Binary files a/doc/salome/gui/GEOM/image11.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image11.jpg b/doc/salome/gui/GEOM/image11.jpg
deleted file mode 100755 (executable)
index 4f666fd..0000000
Binary files a/doc/salome/gui/GEOM/image11.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image110.jpg b/doc/salome/gui/GEOM/image110.jpg
deleted file mode 100755 (executable)
index 45f72b5..0000000
Binary files a/doc/salome/gui/GEOM/image110.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image111.jpg b/doc/salome/gui/GEOM/image111.jpg
deleted file mode 100755 (executable)
index 8ff96d8..0000000
Binary files a/doc/salome/gui/GEOM/image111.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image112.jpg b/doc/salome/gui/GEOM/image112.jpg
deleted file mode 100755 (executable)
index 33399b3..0000000
Binary files a/doc/salome/gui/GEOM/image112.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image113.jpg b/doc/salome/gui/GEOM/image113.jpg
deleted file mode 100755 (executable)
index fa01cfb..0000000
Binary files a/doc/salome/gui/GEOM/image113.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image114.jpg b/doc/salome/gui/GEOM/image114.jpg
deleted file mode 100755 (executable)
index 7dc0af5..0000000
Binary files a/doc/salome/gui/GEOM/image114.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image115.jpg b/doc/salome/gui/GEOM/image115.jpg
deleted file mode 100755 (executable)
index da0f7cc..0000000
Binary files a/doc/salome/gui/GEOM/image115.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image116.jpg b/doc/salome/gui/GEOM/image116.jpg
deleted file mode 100755 (executable)
index 25e154f..0000000
Binary files a/doc/salome/gui/GEOM/image116.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image117.jpg b/doc/salome/gui/GEOM/image117.jpg
deleted file mode 100755 (executable)
index bd19714..0000000
Binary files a/doc/salome/gui/GEOM/image117.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image118.jpg b/doc/salome/gui/GEOM/image118.jpg
deleted file mode 100755 (executable)
index 01c7d66..0000000
Binary files a/doc/salome/gui/GEOM/image118.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image119.jpg b/doc/salome/gui/GEOM/image119.jpg
deleted file mode 100755 (executable)
index 7e5818a..0000000
Binary files a/doc/salome/gui/GEOM/image119.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image12.gif b/doc/salome/gui/GEOM/image12.gif
deleted file mode 100755 (executable)
index 9e872c8..0000000
Binary files a/doc/salome/gui/GEOM/image12.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image12.jpg b/doc/salome/gui/GEOM/image12.jpg
deleted file mode 100755 (executable)
index fac5c12..0000000
Binary files a/doc/salome/gui/GEOM/image12.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image120.jpg b/doc/salome/gui/GEOM/image120.jpg
deleted file mode 100755 (executable)
index 01a35bb..0000000
Binary files a/doc/salome/gui/GEOM/image120.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image121.jpg b/doc/salome/gui/GEOM/image121.jpg
deleted file mode 100755 (executable)
index 2dfe66e..0000000
Binary files a/doc/salome/gui/GEOM/image121.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image122.jpg b/doc/salome/gui/GEOM/image122.jpg
deleted file mode 100755 (executable)
index 847a397..0000000
Binary files a/doc/salome/gui/GEOM/image122.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image123.jpg b/doc/salome/gui/GEOM/image123.jpg
deleted file mode 100755 (executable)
index ff5ef33..0000000
Binary files a/doc/salome/gui/GEOM/image123.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image124.jpg b/doc/salome/gui/GEOM/image124.jpg
deleted file mode 100755 (executable)
index 2bc4bf3..0000000
Binary files a/doc/salome/gui/GEOM/image124.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image125.jpg b/doc/salome/gui/GEOM/image125.jpg
deleted file mode 100755 (executable)
index d3cc1e0..0000000
Binary files a/doc/salome/gui/GEOM/image125.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image126.jpg b/doc/salome/gui/GEOM/image126.jpg
deleted file mode 100755 (executable)
index c28606d..0000000
Binary files a/doc/salome/gui/GEOM/image126.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image127.jpg b/doc/salome/gui/GEOM/image127.jpg
deleted file mode 100755 (executable)
index f0cf3d9..0000000
Binary files a/doc/salome/gui/GEOM/image127.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image128.jpg b/doc/salome/gui/GEOM/image128.jpg
deleted file mode 100755 (executable)
index c62cbf8..0000000
Binary files a/doc/salome/gui/GEOM/image128.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image129.jpg b/doc/salome/gui/GEOM/image129.jpg
deleted file mode 100755 (executable)
index d8fcb94..0000000
Binary files a/doc/salome/gui/GEOM/image129.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image13.gif b/doc/salome/gui/GEOM/image13.gif
deleted file mode 100755 (executable)
index 83f73a5..0000000
Binary files a/doc/salome/gui/GEOM/image13.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image13.jpg b/doc/salome/gui/GEOM/image13.jpg
deleted file mode 100755 (executable)
index 78d5939..0000000
Binary files a/doc/salome/gui/GEOM/image13.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image130.jpg b/doc/salome/gui/GEOM/image130.jpg
deleted file mode 100755 (executable)
index 8874e8e..0000000
Binary files a/doc/salome/gui/GEOM/image130.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image131.jpg b/doc/salome/gui/GEOM/image131.jpg
deleted file mode 100755 (executable)
index c4c4729..0000000
Binary files a/doc/salome/gui/GEOM/image131.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image132.jpg b/doc/salome/gui/GEOM/image132.jpg
deleted file mode 100755 (executable)
index 9fb153f..0000000
Binary files a/doc/salome/gui/GEOM/image132.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image133.jpg b/doc/salome/gui/GEOM/image133.jpg
deleted file mode 100755 (executable)
index 0bc42a6..0000000
Binary files a/doc/salome/gui/GEOM/image133.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image134.jpg b/doc/salome/gui/GEOM/image134.jpg
deleted file mode 100755 (executable)
index acdc2bc..0000000
Binary files a/doc/salome/gui/GEOM/image134.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image135.jpg b/doc/salome/gui/GEOM/image135.jpg
deleted file mode 100755 (executable)
index e119828..0000000
Binary files a/doc/salome/gui/GEOM/image135.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image136.jpg b/doc/salome/gui/GEOM/image136.jpg
deleted file mode 100755 (executable)
index 196790a..0000000
Binary files a/doc/salome/gui/GEOM/image136.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image137.jpg b/doc/salome/gui/GEOM/image137.jpg
deleted file mode 100755 (executable)
index 68cbee2..0000000
Binary files a/doc/salome/gui/GEOM/image137.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image138.jpg b/doc/salome/gui/GEOM/image138.jpg
deleted file mode 100755 (executable)
index 9f2a0df..0000000
Binary files a/doc/salome/gui/GEOM/image138.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image139.jpg b/doc/salome/gui/GEOM/image139.jpg
deleted file mode 100755 (executable)
index 9a20395..0000000
Binary files a/doc/salome/gui/GEOM/image139.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image14.gif b/doc/salome/gui/GEOM/image14.gif
deleted file mode 100755 (executable)
index a05dd64..0000000
Binary files a/doc/salome/gui/GEOM/image14.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image14.jpg b/doc/salome/gui/GEOM/image14.jpg
deleted file mode 100755 (executable)
index a7e280c..0000000
Binary files a/doc/salome/gui/GEOM/image14.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image140.jpg b/doc/salome/gui/GEOM/image140.jpg
deleted file mode 100755 (executable)
index bdc91c0..0000000
Binary files a/doc/salome/gui/GEOM/image140.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image141.jpg b/doc/salome/gui/GEOM/image141.jpg
deleted file mode 100755 (executable)
index 54cceb0..0000000
Binary files a/doc/salome/gui/GEOM/image141.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image142.jpg b/doc/salome/gui/GEOM/image142.jpg
deleted file mode 100755 (executable)
index 1bb5ba7..0000000
Binary files a/doc/salome/gui/GEOM/image142.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image144.jpg b/doc/salome/gui/GEOM/image144.jpg
deleted file mode 100755 (executable)
index cecf915..0000000
Binary files a/doc/salome/gui/GEOM/image144.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image145.jpg b/doc/salome/gui/GEOM/image145.jpg
deleted file mode 100755 (executable)
index a035c8d..0000000
Binary files a/doc/salome/gui/GEOM/image145.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image146.jpg b/doc/salome/gui/GEOM/image146.jpg
deleted file mode 100755 (executable)
index f0e021d..0000000
Binary files a/doc/salome/gui/GEOM/image146.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image147.jpg b/doc/salome/gui/GEOM/image147.jpg
deleted file mode 100755 (executable)
index e38c1da..0000000
Binary files a/doc/salome/gui/GEOM/image147.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image149.jpg b/doc/salome/gui/GEOM/image149.jpg
deleted file mode 100755 (executable)
index 2332885..0000000
Binary files a/doc/salome/gui/GEOM/image149.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image15.gif b/doc/salome/gui/GEOM/image15.gif
deleted file mode 100755 (executable)
index 3dcdf00..0000000
Binary files a/doc/salome/gui/GEOM/image15.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image15.jpg b/doc/salome/gui/GEOM/image15.jpg
deleted file mode 100755 (executable)
index 50a9c9e..0000000
Binary files a/doc/salome/gui/GEOM/image15.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image150.jpg b/doc/salome/gui/GEOM/image150.jpg
deleted file mode 100755 (executable)
index 31fceea..0000000
Binary files a/doc/salome/gui/GEOM/image150.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image151.jpg b/doc/salome/gui/GEOM/image151.jpg
deleted file mode 100755 (executable)
index eda0dfc..0000000
Binary files a/doc/salome/gui/GEOM/image151.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image152.jpg b/doc/salome/gui/GEOM/image152.jpg
deleted file mode 100755 (executable)
index 27ae458..0000000
Binary files a/doc/salome/gui/GEOM/image152.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image154.jpg b/doc/salome/gui/GEOM/image154.jpg
deleted file mode 100755 (executable)
index 5129007..0000000
Binary files a/doc/salome/gui/GEOM/image154.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image156.jpg b/doc/salome/gui/GEOM/image156.jpg
deleted file mode 100755 (executable)
index f2d7185..0000000
Binary files a/doc/salome/gui/GEOM/image156.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image158.jpg b/doc/salome/gui/GEOM/image158.jpg
deleted file mode 100755 (executable)
index ccc8437..0000000
Binary files a/doc/salome/gui/GEOM/image158.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image16.gif b/doc/salome/gui/GEOM/image16.gif
deleted file mode 100755 (executable)
index 44f8616..0000000
Binary files a/doc/salome/gui/GEOM/image16.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image16.jpg b/doc/salome/gui/GEOM/image16.jpg
deleted file mode 100755 (executable)
index 42f79d3..0000000
Binary files a/doc/salome/gui/GEOM/image16.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image160.jpg b/doc/salome/gui/GEOM/image160.jpg
deleted file mode 100755 (executable)
index a88429f..0000000
Binary files a/doc/salome/gui/GEOM/image160.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image161.jpg b/doc/salome/gui/GEOM/image161.jpg
deleted file mode 100755 (executable)
index 05970b9..0000000
Binary files a/doc/salome/gui/GEOM/image161.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image163.jpg b/doc/salome/gui/GEOM/image163.jpg
deleted file mode 100755 (executable)
index 8f87e35..0000000
Binary files a/doc/salome/gui/GEOM/image163.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image164.jpg b/doc/salome/gui/GEOM/image164.jpg
deleted file mode 100755 (executable)
index a180e04..0000000
Binary files a/doc/salome/gui/GEOM/image164.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image165.jpg b/doc/salome/gui/GEOM/image165.jpg
deleted file mode 100755 (executable)
index 330b038..0000000
Binary files a/doc/salome/gui/GEOM/image165.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image166.jpg b/doc/salome/gui/GEOM/image166.jpg
deleted file mode 100755 (executable)
index 6dd85b9..0000000
Binary files a/doc/salome/gui/GEOM/image166.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image167.jpg b/doc/salome/gui/GEOM/image167.jpg
deleted file mode 100755 (executable)
index 775496f..0000000
Binary files a/doc/salome/gui/GEOM/image167.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image168.jpg b/doc/salome/gui/GEOM/image168.jpg
deleted file mode 100755 (executable)
index f69d2b8..0000000
Binary files a/doc/salome/gui/GEOM/image168.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image169.jpg b/doc/salome/gui/GEOM/image169.jpg
deleted file mode 100755 (executable)
index 573378f..0000000
Binary files a/doc/salome/gui/GEOM/image169.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image17.gif b/doc/salome/gui/GEOM/image17.gif
deleted file mode 100755 (executable)
index 4436895..0000000
Binary files a/doc/salome/gui/GEOM/image17.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image17.jpg b/doc/salome/gui/GEOM/image17.jpg
deleted file mode 100755 (executable)
index 4485839..0000000
Binary files a/doc/salome/gui/GEOM/image17.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image170.jpg b/doc/salome/gui/GEOM/image170.jpg
deleted file mode 100755 (executable)
index 4e24375..0000000
Binary files a/doc/salome/gui/GEOM/image170.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image171.jpg b/doc/salome/gui/GEOM/image171.jpg
deleted file mode 100755 (executable)
index 9e05588..0000000
Binary files a/doc/salome/gui/GEOM/image171.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image172.jpg b/doc/salome/gui/GEOM/image172.jpg
deleted file mode 100755 (executable)
index 2bee447..0000000
Binary files a/doc/salome/gui/GEOM/image172.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image173.jpg b/doc/salome/gui/GEOM/image173.jpg
deleted file mode 100755 (executable)
index c8f9126..0000000
Binary files a/doc/salome/gui/GEOM/image173.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image175.jpg b/doc/salome/gui/GEOM/image175.jpg
deleted file mode 100755 (executable)
index 30f72cb..0000000
Binary files a/doc/salome/gui/GEOM/image175.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image176.jpg b/doc/salome/gui/GEOM/image176.jpg
deleted file mode 100755 (executable)
index 4652aa9..0000000
Binary files a/doc/salome/gui/GEOM/image176.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image179.jpg b/doc/salome/gui/GEOM/image179.jpg
deleted file mode 100755 (executable)
index b7b0766..0000000
Binary files a/doc/salome/gui/GEOM/image179.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image18.jpg b/doc/salome/gui/GEOM/image18.jpg
deleted file mode 100755 (executable)
index 7b7d6f4..0000000
Binary files a/doc/salome/gui/GEOM/image18.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image180.jpg b/doc/salome/gui/GEOM/image180.jpg
deleted file mode 100755 (executable)
index 1c57ef0..0000000
Binary files a/doc/salome/gui/GEOM/image180.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image181.jpg b/doc/salome/gui/GEOM/image181.jpg
deleted file mode 100755 (executable)
index d0171df..0000000
Binary files a/doc/salome/gui/GEOM/image181.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image182.jpg b/doc/salome/gui/GEOM/image182.jpg
deleted file mode 100755 (executable)
index 3dcf640..0000000
Binary files a/doc/salome/gui/GEOM/image182.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image183.jpg b/doc/salome/gui/GEOM/image183.jpg
deleted file mode 100755 (executable)
index 4b5903a..0000000
Binary files a/doc/salome/gui/GEOM/image183.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image184.jpg b/doc/salome/gui/GEOM/image184.jpg
deleted file mode 100755 (executable)
index 5bf046d..0000000
Binary files a/doc/salome/gui/GEOM/image184.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image185.jpg b/doc/salome/gui/GEOM/image185.jpg
deleted file mode 100755 (executable)
index 7fb6ef6..0000000
Binary files a/doc/salome/gui/GEOM/image185.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image186.jpg b/doc/salome/gui/GEOM/image186.jpg
deleted file mode 100755 (executable)
index 1de5f1d..0000000
Binary files a/doc/salome/gui/GEOM/image186.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image187.jpg b/doc/salome/gui/GEOM/image187.jpg
deleted file mode 100755 (executable)
index 66531ab..0000000
Binary files a/doc/salome/gui/GEOM/image187.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image188.jpg b/doc/salome/gui/GEOM/image188.jpg
deleted file mode 100755 (executable)
index 00f58a0..0000000
Binary files a/doc/salome/gui/GEOM/image188.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image189.jpg b/doc/salome/gui/GEOM/image189.jpg
deleted file mode 100755 (executable)
index d02a239..0000000
Binary files a/doc/salome/gui/GEOM/image189.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image19.gif b/doc/salome/gui/GEOM/image19.gif
deleted file mode 100755 (executable)
index ecd250a..0000000
Binary files a/doc/salome/gui/GEOM/image19.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image19.jpg b/doc/salome/gui/GEOM/image19.jpg
deleted file mode 100755 (executable)
index 3510f71..0000000
Binary files a/doc/salome/gui/GEOM/image19.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image190.jpg b/doc/salome/gui/GEOM/image190.jpg
deleted file mode 100755 (executable)
index f02cdb6..0000000
Binary files a/doc/salome/gui/GEOM/image190.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image191.jpg b/doc/salome/gui/GEOM/image191.jpg
deleted file mode 100755 (executable)
index 92144cc..0000000
Binary files a/doc/salome/gui/GEOM/image191.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image192.jpg b/doc/salome/gui/GEOM/image192.jpg
deleted file mode 100755 (executable)
index 57493b9..0000000
Binary files a/doc/salome/gui/GEOM/image192.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image193.jpg b/doc/salome/gui/GEOM/image193.jpg
deleted file mode 100755 (executable)
index dc184f5..0000000
Binary files a/doc/salome/gui/GEOM/image193.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image194.jpg b/doc/salome/gui/GEOM/image194.jpg
deleted file mode 100755 (executable)
index 3d374bf..0000000
Binary files a/doc/salome/gui/GEOM/image194.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image196.jpg b/doc/salome/gui/GEOM/image196.jpg
deleted file mode 100755 (executable)
index 1f6dba3..0000000
Binary files a/doc/salome/gui/GEOM/image196.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image197.jpg b/doc/salome/gui/GEOM/image197.jpg
deleted file mode 100755 (executable)
index 11eb06e..0000000
Binary files a/doc/salome/gui/GEOM/image197.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image199.jpg b/doc/salome/gui/GEOM/image199.jpg
deleted file mode 100755 (executable)
index 277d5ed..0000000
Binary files a/doc/salome/gui/GEOM/image199.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image2.gif b/doc/salome/gui/GEOM/image2.gif
deleted file mode 100755 (executable)
index bc05cff..0000000
Binary files a/doc/salome/gui/GEOM/image2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image20.gif b/doc/salome/gui/GEOM/image20.gif
deleted file mode 100755 (executable)
index ef92faf..0000000
Binary files a/doc/salome/gui/GEOM/image20.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image20.jpg b/doc/salome/gui/GEOM/image20.jpg
deleted file mode 100755 (executable)
index f6b529b..0000000
Binary files a/doc/salome/gui/GEOM/image20.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image200.jpg b/doc/salome/gui/GEOM/image200.jpg
deleted file mode 100755 (executable)
index c590171..0000000
Binary files a/doc/salome/gui/GEOM/image200.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image201.jpg b/doc/salome/gui/GEOM/image201.jpg
deleted file mode 100755 (executable)
index 0a6a1b4..0000000
Binary files a/doc/salome/gui/GEOM/image201.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image202.jpg b/doc/salome/gui/GEOM/image202.jpg
deleted file mode 100755 (executable)
index 0674262..0000000
Binary files a/doc/salome/gui/GEOM/image202.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image203.jpg b/doc/salome/gui/GEOM/image203.jpg
deleted file mode 100755 (executable)
index 8ecfef5..0000000
Binary files a/doc/salome/gui/GEOM/image203.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image204.jpg b/doc/salome/gui/GEOM/image204.jpg
deleted file mode 100755 (executable)
index ce23e6a..0000000
Binary files a/doc/salome/gui/GEOM/image204.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image205.jpg b/doc/salome/gui/GEOM/image205.jpg
deleted file mode 100755 (executable)
index 2e22430..0000000
Binary files a/doc/salome/gui/GEOM/image205.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image206.jpg b/doc/salome/gui/GEOM/image206.jpg
deleted file mode 100755 (executable)
index 85e9e80..0000000
Binary files a/doc/salome/gui/GEOM/image206.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image207.jpg b/doc/salome/gui/GEOM/image207.jpg
deleted file mode 100755 (executable)
index 8d93229..0000000
Binary files a/doc/salome/gui/GEOM/image207.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image208.jpg b/doc/salome/gui/GEOM/image208.jpg
deleted file mode 100755 (executable)
index 5b91272..0000000
Binary files a/doc/salome/gui/GEOM/image208.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image209.jpg b/doc/salome/gui/GEOM/image209.jpg
deleted file mode 100755 (executable)
index 3d2de5f..0000000
Binary files a/doc/salome/gui/GEOM/image209.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image21.gif b/doc/salome/gui/GEOM/image21.gif
deleted file mode 100755 (executable)
index 8fa295c..0000000
Binary files a/doc/salome/gui/GEOM/image21.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image21.jpg b/doc/salome/gui/GEOM/image21.jpg
deleted file mode 100755 (executable)
index f0e1b8f..0000000
Binary files a/doc/salome/gui/GEOM/image21.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image210.jpg b/doc/salome/gui/GEOM/image210.jpg
deleted file mode 100755 (executable)
index c651db3..0000000
Binary files a/doc/salome/gui/GEOM/image210.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image211.jpg b/doc/salome/gui/GEOM/image211.jpg
deleted file mode 100755 (executable)
index 8217b6b..0000000
Binary files a/doc/salome/gui/GEOM/image211.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image212.jpg b/doc/salome/gui/GEOM/image212.jpg
deleted file mode 100755 (executable)
index 0bea713..0000000
Binary files a/doc/salome/gui/GEOM/image212.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image213.jpg b/doc/salome/gui/GEOM/image213.jpg
deleted file mode 100755 (executable)
index 23f9da9..0000000
Binary files a/doc/salome/gui/GEOM/image213.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image214.jpg b/doc/salome/gui/GEOM/image214.jpg
deleted file mode 100755 (executable)
index ed92bdd..0000000
Binary files a/doc/salome/gui/GEOM/image214.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image215.jpg b/doc/salome/gui/GEOM/image215.jpg
deleted file mode 100755 (executable)
index 0cdc46d..0000000
Binary files a/doc/salome/gui/GEOM/image215.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image216.jpg b/doc/salome/gui/GEOM/image216.jpg
deleted file mode 100755 (executable)
index 8cf5671..0000000
Binary files a/doc/salome/gui/GEOM/image216.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image217.jpg b/doc/salome/gui/GEOM/image217.jpg
deleted file mode 100755 (executable)
index f9e5cd7..0000000
Binary files a/doc/salome/gui/GEOM/image217.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image218.jpg b/doc/salome/gui/GEOM/image218.jpg
deleted file mode 100755 (executable)
index 96b49d8..0000000
Binary files a/doc/salome/gui/GEOM/image218.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image219.jpg b/doc/salome/gui/GEOM/image219.jpg
deleted file mode 100755 (executable)
index 62a5832..0000000
Binary files a/doc/salome/gui/GEOM/image219.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image22.gif b/doc/salome/gui/GEOM/image22.gif
deleted file mode 100755 (executable)
index 00f3879..0000000
Binary files a/doc/salome/gui/GEOM/image22.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image22.jpg b/doc/salome/gui/GEOM/image22.jpg
deleted file mode 100755 (executable)
index e697f31..0000000
Binary files a/doc/salome/gui/GEOM/image22.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image220.jpg b/doc/salome/gui/GEOM/image220.jpg
deleted file mode 100755 (executable)
index 616ddb7..0000000
Binary files a/doc/salome/gui/GEOM/image220.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image221.jpg b/doc/salome/gui/GEOM/image221.jpg
deleted file mode 100755 (executable)
index 076b541..0000000
Binary files a/doc/salome/gui/GEOM/image221.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image222.jpg b/doc/salome/gui/GEOM/image222.jpg
deleted file mode 100755 (executable)
index 570bafe..0000000
Binary files a/doc/salome/gui/GEOM/image222.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image223.jpg b/doc/salome/gui/GEOM/image223.jpg
deleted file mode 100755 (executable)
index f0ed47f..0000000
Binary files a/doc/salome/gui/GEOM/image223.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image224.jpg b/doc/salome/gui/GEOM/image224.jpg
deleted file mode 100755 (executable)
index 1516d15..0000000
Binary files a/doc/salome/gui/GEOM/image224.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image225.jpg b/doc/salome/gui/GEOM/image225.jpg
deleted file mode 100755 (executable)
index cd1e609..0000000
Binary files a/doc/salome/gui/GEOM/image225.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image226.jpg b/doc/salome/gui/GEOM/image226.jpg
deleted file mode 100755 (executable)
index e17d416..0000000
Binary files a/doc/salome/gui/GEOM/image226.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image227.jpg b/doc/salome/gui/GEOM/image227.jpg
deleted file mode 100755 (executable)
index 6764a27..0000000
Binary files a/doc/salome/gui/GEOM/image227.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image228.jpg b/doc/salome/gui/GEOM/image228.jpg
deleted file mode 100755 (executable)
index e04e921..0000000
Binary files a/doc/salome/gui/GEOM/image228.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image229.jpg b/doc/salome/gui/GEOM/image229.jpg
deleted file mode 100755 (executable)
index 3067b98..0000000
Binary files a/doc/salome/gui/GEOM/image229.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image23.gif b/doc/salome/gui/GEOM/image23.gif
deleted file mode 100755 (executable)
index 9af6909..0000000
Binary files a/doc/salome/gui/GEOM/image23.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image23.jpg b/doc/salome/gui/GEOM/image23.jpg
deleted file mode 100755 (executable)
index ad8c856..0000000
Binary files a/doc/salome/gui/GEOM/image23.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image230.jpg b/doc/salome/gui/GEOM/image230.jpg
deleted file mode 100755 (executable)
index 8e68cec..0000000
Binary files a/doc/salome/gui/GEOM/image230.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image231.jpg b/doc/salome/gui/GEOM/image231.jpg
deleted file mode 100755 (executable)
index 8bb972b..0000000
Binary files a/doc/salome/gui/GEOM/image231.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image233.jpg b/doc/salome/gui/GEOM/image233.jpg
deleted file mode 100755 (executable)
index a4295de..0000000
Binary files a/doc/salome/gui/GEOM/image233.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image234.jpg b/doc/salome/gui/GEOM/image234.jpg
deleted file mode 100755 (executable)
index f68e18e..0000000
Binary files a/doc/salome/gui/GEOM/image234.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image235.jpg b/doc/salome/gui/GEOM/image235.jpg
deleted file mode 100755 (executable)
index 0b0429d..0000000
Binary files a/doc/salome/gui/GEOM/image235.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image236.jpg b/doc/salome/gui/GEOM/image236.jpg
deleted file mode 100755 (executable)
index bc88cf0..0000000
Binary files a/doc/salome/gui/GEOM/image236.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image237.jpg b/doc/salome/gui/GEOM/image237.jpg
deleted file mode 100755 (executable)
index 9f0eb98..0000000
Binary files a/doc/salome/gui/GEOM/image237.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image238.jpg b/doc/salome/gui/GEOM/image238.jpg
deleted file mode 100755 (executable)
index 70be930..0000000
Binary files a/doc/salome/gui/GEOM/image238.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image239.jpg b/doc/salome/gui/GEOM/image239.jpg
deleted file mode 100755 (executable)
index 3d6ca91..0000000
Binary files a/doc/salome/gui/GEOM/image239.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image24.gif b/doc/salome/gui/GEOM/image24.gif
deleted file mode 100755 (executable)
index d53209d..0000000
Binary files a/doc/salome/gui/GEOM/image24.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image24.jpg b/doc/salome/gui/GEOM/image24.jpg
deleted file mode 100755 (executable)
index f018bcc..0000000
Binary files a/doc/salome/gui/GEOM/image24.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image240.jpg b/doc/salome/gui/GEOM/image240.jpg
deleted file mode 100755 (executable)
index 06ef70f..0000000
Binary files a/doc/salome/gui/GEOM/image240.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image241.jpg b/doc/salome/gui/GEOM/image241.jpg
deleted file mode 100755 (executable)
index b0b7dd7..0000000
Binary files a/doc/salome/gui/GEOM/image241.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image242.jpg b/doc/salome/gui/GEOM/image242.jpg
deleted file mode 100755 (executable)
index f25a994..0000000
Binary files a/doc/salome/gui/GEOM/image242.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image243.jpg b/doc/salome/gui/GEOM/image243.jpg
deleted file mode 100755 (executable)
index b0eaee2..0000000
Binary files a/doc/salome/gui/GEOM/image243.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image244.jpg b/doc/salome/gui/GEOM/image244.jpg
deleted file mode 100755 (executable)
index f07716e..0000000
Binary files a/doc/salome/gui/GEOM/image244.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image245.jpg b/doc/salome/gui/GEOM/image245.jpg
deleted file mode 100755 (executable)
index 511fe86..0000000
Binary files a/doc/salome/gui/GEOM/image245.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image246.jpg b/doc/salome/gui/GEOM/image246.jpg
deleted file mode 100755 (executable)
index c2f661b..0000000
Binary files a/doc/salome/gui/GEOM/image246.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image247.jpg b/doc/salome/gui/GEOM/image247.jpg
deleted file mode 100755 (executable)
index 3e9050b..0000000
Binary files a/doc/salome/gui/GEOM/image247.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image248.jpg b/doc/salome/gui/GEOM/image248.jpg
deleted file mode 100755 (executable)
index 8430ef0..0000000
Binary files a/doc/salome/gui/GEOM/image248.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image249.jpg b/doc/salome/gui/GEOM/image249.jpg
deleted file mode 100755 (executable)
index a9a6b8c..0000000
Binary files a/doc/salome/gui/GEOM/image249.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image25.gif b/doc/salome/gui/GEOM/image25.gif
deleted file mode 100755 (executable)
index b111102..0000000
Binary files a/doc/salome/gui/GEOM/image25.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image250.jpg b/doc/salome/gui/GEOM/image250.jpg
deleted file mode 100755 (executable)
index f7bee53..0000000
Binary files a/doc/salome/gui/GEOM/image250.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image251.jpg b/doc/salome/gui/GEOM/image251.jpg
deleted file mode 100755 (executable)
index 9b010cc..0000000
Binary files a/doc/salome/gui/GEOM/image251.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image252.jpg b/doc/salome/gui/GEOM/image252.jpg
deleted file mode 100755 (executable)
index 21624ac..0000000
Binary files a/doc/salome/gui/GEOM/image252.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image253.jpg b/doc/salome/gui/GEOM/image253.jpg
deleted file mode 100755 (executable)
index 145e065..0000000
Binary files a/doc/salome/gui/GEOM/image253.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image254.jpg b/doc/salome/gui/GEOM/image254.jpg
deleted file mode 100755 (executable)
index 70a85ee..0000000
Binary files a/doc/salome/gui/GEOM/image254.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image255.jpg b/doc/salome/gui/GEOM/image255.jpg
deleted file mode 100755 (executable)
index ef09ed8..0000000
Binary files a/doc/salome/gui/GEOM/image255.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image256.jpg b/doc/salome/gui/GEOM/image256.jpg
deleted file mode 100755 (executable)
index df838f3..0000000
Binary files a/doc/salome/gui/GEOM/image256.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image257.jpg b/doc/salome/gui/GEOM/image257.jpg
deleted file mode 100755 (executable)
index 3a3146e..0000000
Binary files a/doc/salome/gui/GEOM/image257.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image258.jpg b/doc/salome/gui/GEOM/image258.jpg
deleted file mode 100755 (executable)
index b21aca5..0000000
Binary files a/doc/salome/gui/GEOM/image258.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image259.jpg b/doc/salome/gui/GEOM/image259.jpg
deleted file mode 100755 (executable)
index 34708de..0000000
Binary files a/doc/salome/gui/GEOM/image259.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image26.jpg b/doc/salome/gui/GEOM/image26.jpg
deleted file mode 100755 (executable)
index 916a10f..0000000
Binary files a/doc/salome/gui/GEOM/image26.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image260.jpg b/doc/salome/gui/GEOM/image260.jpg
deleted file mode 100755 (executable)
index 035e5bb..0000000
Binary files a/doc/salome/gui/GEOM/image260.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image261.jpg b/doc/salome/gui/GEOM/image261.jpg
deleted file mode 100755 (executable)
index 3543aba..0000000
Binary files a/doc/salome/gui/GEOM/image261.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image262.jpg b/doc/salome/gui/GEOM/image262.jpg
deleted file mode 100755 (executable)
index 349d11d..0000000
Binary files a/doc/salome/gui/GEOM/image262.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image263.jpg b/doc/salome/gui/GEOM/image263.jpg
deleted file mode 100755 (executable)
index bfbd621..0000000
Binary files a/doc/salome/gui/GEOM/image263.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image264.jpg b/doc/salome/gui/GEOM/image264.jpg
deleted file mode 100755 (executable)
index 15fe048..0000000
Binary files a/doc/salome/gui/GEOM/image264.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image265.jpg b/doc/salome/gui/GEOM/image265.jpg
deleted file mode 100755 (executable)
index e8f6e60..0000000
Binary files a/doc/salome/gui/GEOM/image265.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image266.jpg b/doc/salome/gui/GEOM/image266.jpg
deleted file mode 100755 (executable)
index 30fe5d7..0000000
Binary files a/doc/salome/gui/GEOM/image266.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image267.jpg b/doc/salome/gui/GEOM/image267.jpg
deleted file mode 100755 (executable)
index 7a8e0d3..0000000
Binary files a/doc/salome/gui/GEOM/image267.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image268.jpg b/doc/salome/gui/GEOM/image268.jpg
deleted file mode 100755 (executable)
index 03326bc..0000000
Binary files a/doc/salome/gui/GEOM/image268.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image269.jpg b/doc/salome/gui/GEOM/image269.jpg
deleted file mode 100755 (executable)
index 8b39046..0000000
Binary files a/doc/salome/gui/GEOM/image269.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image27.jpg b/doc/salome/gui/GEOM/image27.jpg
deleted file mode 100755 (executable)
index ec850e7..0000000
Binary files a/doc/salome/gui/GEOM/image27.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image270.jpg b/doc/salome/gui/GEOM/image270.jpg
deleted file mode 100755 (executable)
index 8c7d7d5..0000000
Binary files a/doc/salome/gui/GEOM/image270.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image271.jpg b/doc/salome/gui/GEOM/image271.jpg
deleted file mode 100755 (executable)
index 8cabff6..0000000
Binary files a/doc/salome/gui/GEOM/image271.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image272.jpg b/doc/salome/gui/GEOM/image272.jpg
deleted file mode 100755 (executable)
index 27b24c4..0000000
Binary files a/doc/salome/gui/GEOM/image272.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image273.jpg b/doc/salome/gui/GEOM/image273.jpg
deleted file mode 100755 (executable)
index 98c3af5..0000000
Binary files a/doc/salome/gui/GEOM/image273.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image274.jpg b/doc/salome/gui/GEOM/image274.jpg
deleted file mode 100755 (executable)
index 195c762..0000000
Binary files a/doc/salome/gui/GEOM/image274.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image275.jpg b/doc/salome/gui/GEOM/image275.jpg
deleted file mode 100755 (executable)
index 543d6f6..0000000
Binary files a/doc/salome/gui/GEOM/image275.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image276.jpg b/doc/salome/gui/GEOM/image276.jpg
deleted file mode 100755 (executable)
index 07fbf38..0000000
Binary files a/doc/salome/gui/GEOM/image276.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image277.jpg b/doc/salome/gui/GEOM/image277.jpg
deleted file mode 100755 (executable)
index f6b0d45..0000000
Binary files a/doc/salome/gui/GEOM/image277.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image278.jpg b/doc/salome/gui/GEOM/image278.jpg
deleted file mode 100755 (executable)
index 2713794..0000000
Binary files a/doc/salome/gui/GEOM/image278.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image279.jpg b/doc/salome/gui/GEOM/image279.jpg
deleted file mode 100755 (executable)
index 14663b9..0000000
Binary files a/doc/salome/gui/GEOM/image279.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image28.jpg b/doc/salome/gui/GEOM/image28.jpg
deleted file mode 100755 (executable)
index 809e9a7..0000000
Binary files a/doc/salome/gui/GEOM/image28.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image280.jpg b/doc/salome/gui/GEOM/image280.jpg
deleted file mode 100755 (executable)
index cc066aa..0000000
Binary files a/doc/salome/gui/GEOM/image280.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image281.jpg b/doc/salome/gui/GEOM/image281.jpg
deleted file mode 100755 (executable)
index cd35b05..0000000
Binary files a/doc/salome/gui/GEOM/image281.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image282.jpg b/doc/salome/gui/GEOM/image282.jpg
deleted file mode 100755 (executable)
index e0c2932..0000000
Binary files a/doc/salome/gui/GEOM/image282.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image283.jpg b/doc/salome/gui/GEOM/image283.jpg
deleted file mode 100755 (executable)
index eda3dc0..0000000
Binary files a/doc/salome/gui/GEOM/image283.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image284.jpg b/doc/salome/gui/GEOM/image284.jpg
deleted file mode 100755 (executable)
index dcf2f39..0000000
Binary files a/doc/salome/gui/GEOM/image284.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image285.jpg b/doc/salome/gui/GEOM/image285.jpg
deleted file mode 100755 (executable)
index 4b854a9..0000000
Binary files a/doc/salome/gui/GEOM/image285.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image286.jpg b/doc/salome/gui/GEOM/image286.jpg
deleted file mode 100755 (executable)
index 0ffe3be..0000000
Binary files a/doc/salome/gui/GEOM/image286.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image287.jpg b/doc/salome/gui/GEOM/image287.jpg
deleted file mode 100755 (executable)
index 6d6b3ae..0000000
Binary files a/doc/salome/gui/GEOM/image287.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image288.jpg b/doc/salome/gui/GEOM/image288.jpg
deleted file mode 100755 (executable)
index 7d26214..0000000
Binary files a/doc/salome/gui/GEOM/image288.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image289.jpg b/doc/salome/gui/GEOM/image289.jpg
deleted file mode 100755 (executable)
index f3d90f4..0000000
Binary files a/doc/salome/gui/GEOM/image289.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image29.gif b/doc/salome/gui/GEOM/image29.gif
deleted file mode 100755 (executable)
index bb00746..0000000
Binary files a/doc/salome/gui/GEOM/image29.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image29.jpg b/doc/salome/gui/GEOM/image29.jpg
deleted file mode 100755 (executable)
index 39178b3..0000000
Binary files a/doc/salome/gui/GEOM/image29.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image290.jpg b/doc/salome/gui/GEOM/image290.jpg
deleted file mode 100755 (executable)
index e88097d..0000000
Binary files a/doc/salome/gui/GEOM/image290.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image291.jpg b/doc/salome/gui/GEOM/image291.jpg
deleted file mode 100755 (executable)
index 954ec54..0000000
Binary files a/doc/salome/gui/GEOM/image291.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image292.jpg b/doc/salome/gui/GEOM/image292.jpg
deleted file mode 100755 (executable)
index 0a4ca53..0000000
Binary files a/doc/salome/gui/GEOM/image292.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image293.jpg b/doc/salome/gui/GEOM/image293.jpg
deleted file mode 100755 (executable)
index ca1c655..0000000
Binary files a/doc/salome/gui/GEOM/image293.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image294.jpg b/doc/salome/gui/GEOM/image294.jpg
deleted file mode 100755 (executable)
index 8f2cb46..0000000
Binary files a/doc/salome/gui/GEOM/image294.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image295.jpg b/doc/salome/gui/GEOM/image295.jpg
deleted file mode 100755 (executable)
index 34be1d4..0000000
Binary files a/doc/salome/gui/GEOM/image295.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image296.jpg b/doc/salome/gui/GEOM/image296.jpg
deleted file mode 100755 (executable)
index 1edb39e..0000000
Binary files a/doc/salome/gui/GEOM/image296.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image297.jpg b/doc/salome/gui/GEOM/image297.jpg
deleted file mode 100755 (executable)
index e324a2b..0000000
Binary files a/doc/salome/gui/GEOM/image297.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image298.jpg b/doc/salome/gui/GEOM/image298.jpg
deleted file mode 100755 (executable)
index 2a86720..0000000
Binary files a/doc/salome/gui/GEOM/image298.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image299.jpg b/doc/salome/gui/GEOM/image299.jpg
deleted file mode 100755 (executable)
index 198bd3f..0000000
Binary files a/doc/salome/gui/GEOM/image299.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image3.jpg b/doc/salome/gui/GEOM/image3.jpg
deleted file mode 100755 (executable)
index 4aacee4..0000000
Binary files a/doc/salome/gui/GEOM/image3.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image300.jpg b/doc/salome/gui/GEOM/image300.jpg
deleted file mode 100755 (executable)
index cbc1124..0000000
Binary files a/doc/salome/gui/GEOM/image300.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image32.gif b/doc/salome/gui/GEOM/image32.gif
deleted file mode 100755 (executable)
index bbdf48a..0000000
Binary files a/doc/salome/gui/GEOM/image32.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image35.gif b/doc/salome/gui/GEOM/image35.gif
deleted file mode 100755 (executable)
index 30f430a..0000000
Binary files a/doc/salome/gui/GEOM/image35.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image37.gif b/doc/salome/gui/GEOM/image37.gif
deleted file mode 100755 (executable)
index 8c1a2c5..0000000
Binary files a/doc/salome/gui/GEOM/image37.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image4.gif b/doc/salome/gui/GEOM/image4.gif
deleted file mode 100755 (executable)
index 7899fdb..0000000
Binary files a/doc/salome/gui/GEOM/image4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image41.gif b/doc/salome/gui/GEOM/image41.gif
deleted file mode 100755 (executable)
index 6e3661f..0000000
Binary files a/doc/salome/gui/GEOM/image41.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image42.gif b/doc/salome/gui/GEOM/image42.gif
deleted file mode 100755 (executable)
index 1e4003c..0000000
Binary files a/doc/salome/gui/GEOM/image42.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image44.gif b/doc/salome/gui/GEOM/image44.gif
deleted file mode 100755 (executable)
index 5166279..0000000
Binary files a/doc/salome/gui/GEOM/image44.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image49.gif b/doc/salome/gui/GEOM/image49.gif
deleted file mode 100755 (executable)
index a54a22e..0000000
Binary files a/doc/salome/gui/GEOM/image49.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image5.gif b/doc/salome/gui/GEOM/image5.gif
deleted file mode 100755 (executable)
index 751dfd9..0000000
Binary files a/doc/salome/gui/GEOM/image5.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image5.jpg b/doc/salome/gui/GEOM/image5.jpg
deleted file mode 100755 (executable)
index 9be3482..0000000
Binary files a/doc/salome/gui/GEOM/image5.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image51.gif b/doc/salome/gui/GEOM/image51.gif
deleted file mode 100755 (executable)
index d04ebd0..0000000
Binary files a/doc/salome/gui/GEOM/image51.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image51.jpg b/doc/salome/gui/GEOM/image51.jpg
deleted file mode 100755 (executable)
index afeeda7..0000000
Binary files a/doc/salome/gui/GEOM/image51.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image52.gif b/doc/salome/gui/GEOM/image52.gif
deleted file mode 100755 (executable)
index 94537e0..0000000
Binary files a/doc/salome/gui/GEOM/image52.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image52.jpg b/doc/salome/gui/GEOM/image52.jpg
deleted file mode 100755 (executable)
index 06cf191..0000000
Binary files a/doc/salome/gui/GEOM/image52.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image53.gif b/doc/salome/gui/GEOM/image53.gif
deleted file mode 100755 (executable)
index c976b6d..0000000
Binary files a/doc/salome/gui/GEOM/image53.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image53.jpg b/doc/salome/gui/GEOM/image53.jpg
deleted file mode 100755 (executable)
index 0de05fd..0000000
Binary files a/doc/salome/gui/GEOM/image53.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image54.jpg b/doc/salome/gui/GEOM/image54.jpg
deleted file mode 100755 (executable)
index b331a4a..0000000
Binary files a/doc/salome/gui/GEOM/image54.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image55.jpg b/doc/salome/gui/GEOM/image55.jpg
deleted file mode 100755 (executable)
index b94d29a..0000000
Binary files a/doc/salome/gui/GEOM/image55.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image56.gif b/doc/salome/gui/GEOM/image56.gif
deleted file mode 100755 (executable)
index 049e1eb..0000000
Binary files a/doc/salome/gui/GEOM/image56.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image56.jpg b/doc/salome/gui/GEOM/image56.jpg
deleted file mode 100755 (executable)
index 0d0b988..0000000
Binary files a/doc/salome/gui/GEOM/image56.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image57.gif b/doc/salome/gui/GEOM/image57.gif
deleted file mode 100755 (executable)
index e0f9e31..0000000
Binary files a/doc/salome/gui/GEOM/image57.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image57.jpg b/doc/salome/gui/GEOM/image57.jpg
deleted file mode 100755 (executable)
index 8e0e5fd..0000000
Binary files a/doc/salome/gui/GEOM/image57.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image58.jpg b/doc/salome/gui/GEOM/image58.jpg
deleted file mode 100755 (executable)
index 44c2473..0000000
Binary files a/doc/salome/gui/GEOM/image58.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image59.gif b/doc/salome/gui/GEOM/image59.gif
deleted file mode 100755 (executable)
index f470df2..0000000
Binary files a/doc/salome/gui/GEOM/image59.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image59.jpg b/doc/salome/gui/GEOM/image59.jpg
deleted file mode 100755 (executable)
index b4289c8..0000000
Binary files a/doc/salome/gui/GEOM/image59.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image6.gif b/doc/salome/gui/GEOM/image6.gif
deleted file mode 100755 (executable)
index ef3e4bc..0000000
Binary files a/doc/salome/gui/GEOM/image6.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image60.jpg b/doc/salome/gui/GEOM/image60.jpg
deleted file mode 100755 (executable)
index fcf2c80..0000000
Binary files a/doc/salome/gui/GEOM/image60.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image61.gif b/doc/salome/gui/GEOM/image61.gif
deleted file mode 100755 (executable)
index 0a7efcd..0000000
Binary files a/doc/salome/gui/GEOM/image61.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image61.jpg b/doc/salome/gui/GEOM/image61.jpg
deleted file mode 100755 (executable)
index e54bd6a..0000000
Binary files a/doc/salome/gui/GEOM/image61.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image62.jpg b/doc/salome/gui/GEOM/image62.jpg
deleted file mode 100755 (executable)
index df7de80..0000000
Binary files a/doc/salome/gui/GEOM/image62.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image63.jpg b/doc/salome/gui/GEOM/image63.jpg
deleted file mode 100755 (executable)
index 65c93f0..0000000
Binary files a/doc/salome/gui/GEOM/image63.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image64.gif b/doc/salome/gui/GEOM/image64.gif
deleted file mode 100755 (executable)
index 031ab8b..0000000
Binary files a/doc/salome/gui/GEOM/image64.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image65.jpg b/doc/salome/gui/GEOM/image65.jpg
deleted file mode 100755 (executable)
index a53ce43..0000000
Binary files a/doc/salome/gui/GEOM/image65.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image66.jpg b/doc/salome/gui/GEOM/image66.jpg
deleted file mode 100755 (executable)
index aee3999..0000000
Binary files a/doc/salome/gui/GEOM/image66.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image67.jpg b/doc/salome/gui/GEOM/image67.jpg
deleted file mode 100755 (executable)
index 658b943..0000000
Binary files a/doc/salome/gui/GEOM/image67.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image68.jpg b/doc/salome/gui/GEOM/image68.jpg
deleted file mode 100755 (executable)
index 8f931c7..0000000
Binary files a/doc/salome/gui/GEOM/image68.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image69.jpg b/doc/salome/gui/GEOM/image69.jpg
deleted file mode 100755 (executable)
index bd404e6..0000000
Binary files a/doc/salome/gui/GEOM/image69.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image7.gif b/doc/salome/gui/GEOM/image7.gif
deleted file mode 100755 (executable)
index dda1141..0000000
Binary files a/doc/salome/gui/GEOM/image7.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image7.jpg b/doc/salome/gui/GEOM/image7.jpg
deleted file mode 100755 (executable)
index 2705e0c..0000000
Binary files a/doc/salome/gui/GEOM/image7.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image70.jpg b/doc/salome/gui/GEOM/image70.jpg
deleted file mode 100755 (executable)
index 42f5989..0000000
Binary files a/doc/salome/gui/GEOM/image70.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image71.jpg b/doc/salome/gui/GEOM/image71.jpg
deleted file mode 100755 (executable)
index 0572119..0000000
Binary files a/doc/salome/gui/GEOM/image71.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image72.jpg b/doc/salome/gui/GEOM/image72.jpg
deleted file mode 100755 (executable)
index 3f59173..0000000
Binary files a/doc/salome/gui/GEOM/image72.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image73.jpg b/doc/salome/gui/GEOM/image73.jpg
deleted file mode 100755 (executable)
index fd7a336..0000000
Binary files a/doc/salome/gui/GEOM/image73.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image74.jpg b/doc/salome/gui/GEOM/image74.jpg
deleted file mode 100755 (executable)
index a7f769a..0000000
Binary files a/doc/salome/gui/GEOM/image74.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image75.jpg b/doc/salome/gui/GEOM/image75.jpg
deleted file mode 100755 (executable)
index be32aa0..0000000
Binary files a/doc/salome/gui/GEOM/image75.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image76.jpg b/doc/salome/gui/GEOM/image76.jpg
deleted file mode 100755 (executable)
index deb1aed..0000000
Binary files a/doc/salome/gui/GEOM/image76.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image77.jpg b/doc/salome/gui/GEOM/image77.jpg
deleted file mode 100755 (executable)
index 1534668..0000000
Binary files a/doc/salome/gui/GEOM/image77.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image78.jpg b/doc/salome/gui/GEOM/image78.jpg
deleted file mode 100755 (executable)
index 8737d82..0000000
Binary files a/doc/salome/gui/GEOM/image78.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image79.jpg b/doc/salome/gui/GEOM/image79.jpg
deleted file mode 100755 (executable)
index 099999d..0000000
Binary files a/doc/salome/gui/GEOM/image79.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image8.gif b/doc/salome/gui/GEOM/image8.gif
deleted file mode 100755 (executable)
index 6759737..0000000
Binary files a/doc/salome/gui/GEOM/image8.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image8.jpg b/doc/salome/gui/GEOM/image8.jpg
deleted file mode 100755 (executable)
index f2c07eb..0000000
Binary files a/doc/salome/gui/GEOM/image8.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image80.jpg b/doc/salome/gui/GEOM/image80.jpg
deleted file mode 100755 (executable)
index ce81b70..0000000
Binary files a/doc/salome/gui/GEOM/image80.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image81.jpg b/doc/salome/gui/GEOM/image81.jpg
deleted file mode 100755 (executable)
index 415dabe..0000000
Binary files a/doc/salome/gui/GEOM/image81.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image82.jpg b/doc/salome/gui/GEOM/image82.jpg
deleted file mode 100755 (executable)
index 96d4a04..0000000
Binary files a/doc/salome/gui/GEOM/image82.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image83.jpg b/doc/salome/gui/GEOM/image83.jpg
deleted file mode 100755 (executable)
index bafd8be..0000000
Binary files a/doc/salome/gui/GEOM/image83.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image84.jpg b/doc/salome/gui/GEOM/image84.jpg
deleted file mode 100755 (executable)
index 25625c1..0000000
Binary files a/doc/salome/gui/GEOM/image84.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image85.jpg b/doc/salome/gui/GEOM/image85.jpg
deleted file mode 100755 (executable)
index 51ceee4..0000000
Binary files a/doc/salome/gui/GEOM/image85.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image86.jpg b/doc/salome/gui/GEOM/image86.jpg
deleted file mode 100755 (executable)
index 7ed3c34..0000000
Binary files a/doc/salome/gui/GEOM/image86.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image87.jpg b/doc/salome/gui/GEOM/image87.jpg
deleted file mode 100755 (executable)
index 8e6cfaa..0000000
Binary files a/doc/salome/gui/GEOM/image87.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image88.jpg b/doc/salome/gui/GEOM/image88.jpg
deleted file mode 100755 (executable)
index 7029d82..0000000
Binary files a/doc/salome/gui/GEOM/image88.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image89.jpg b/doc/salome/gui/GEOM/image89.jpg
deleted file mode 100755 (executable)
index 62535a8..0000000
Binary files a/doc/salome/gui/GEOM/image89.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image9.gif b/doc/salome/gui/GEOM/image9.gif
deleted file mode 100755 (executable)
index cf29eb9..0000000
Binary files a/doc/salome/gui/GEOM/image9.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image9.jpg b/doc/salome/gui/GEOM/image9.jpg
deleted file mode 100755 (executable)
index 6040b66..0000000
Binary files a/doc/salome/gui/GEOM/image9.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image90.jpg b/doc/salome/gui/GEOM/image90.jpg
deleted file mode 100755 (executable)
index 33ffb48..0000000
Binary files a/doc/salome/gui/GEOM/image90.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image91.jpg b/doc/salome/gui/GEOM/image91.jpg
deleted file mode 100755 (executable)
index d425095..0000000
Binary files a/doc/salome/gui/GEOM/image91.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image92.jpg b/doc/salome/gui/GEOM/image92.jpg
deleted file mode 100755 (executable)
index 28342ef..0000000
Binary files a/doc/salome/gui/GEOM/image92.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image93.jpg b/doc/salome/gui/GEOM/image93.jpg
deleted file mode 100755 (executable)
index 0799499..0000000
Binary files a/doc/salome/gui/GEOM/image93.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image94.jpg b/doc/salome/gui/GEOM/image94.jpg
deleted file mode 100755 (executable)
index 9ac2ee5..0000000
Binary files a/doc/salome/gui/GEOM/image94.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image95.jpg b/doc/salome/gui/GEOM/image95.jpg
deleted file mode 100755 (executable)
index 12f6002..0000000
Binary files a/doc/salome/gui/GEOM/image95.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image96.jpg b/doc/salome/gui/GEOM/image96.jpg
deleted file mode 100755 (executable)
index 53006ac..0000000
Binary files a/doc/salome/gui/GEOM/image96.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image97.jpg b/doc/salome/gui/GEOM/image97.jpg
deleted file mode 100755 (executable)
index b81765b..0000000
Binary files a/doc/salome/gui/GEOM/image97.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image98.jpg b/doc/salome/gui/GEOM/image98.jpg
deleted file mode 100755 (executable)
index e5abf9d..0000000
Binary files a/doc/salome/gui/GEOM/image98.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image99.jpg b/doc/salome/gui/GEOM/image99.jpg
deleted file mode 100755 (executable)
index 290b21b..0000000
Binary files a/doc/salome/gui/GEOM/image99.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/newentity_blocks.htm b/doc/salome/gui/GEOM/newentity_blocks.htm
deleted file mode 100755 (executable)
index 67110fc..0000000
+++ /dev/null
@@ -1,319 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Blocks</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { font-size:14pt; font-weight:bold; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-ul.whs3 { list-style:disc; }\r
-img_whs4 { border:none; width:23px; height:22px; border-style:none; }\r
-p.whs5 { font-size:12pt; }\r
-p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }\r
-table.whs7 { x-cell-content-align:top; border-spacing:0px; width:66.515%; }\r
-col.whs8 { width:32.996%; }\r
-col.whs9 { width:33.052%; }\r
-col.whs10 { width:33.952%; }\r
-tr.whs11 { x-cell-content-align:top; }\r
-td.whs12 { width:32.996%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
-img_whs13 { border:none; width:183px; height:250px; border-style:none; }\r
-td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
-td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs16 { border:none; width:184px; height:250px; border-style:none; }\r
-p.whs17 { font-weight:bold; }\r
-img_whs18 { border:none; width:250px; height:195px; border-style:none; }\r
-img_whs19 { border:none; width:24px; height:22px; border-style:none; }\r
-table.whs20 { x-cell-content-align:top; border-spacing:0px; width:40.406%; }\r
-col.whs21 { width:49.761%; }\r
-col.whs22 { width:50.239%; }\r
-td.whs23 { width:49.761%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
-img_whs24 { border:none; width:162px; height:250px; border-style:none; }\r
-td.whs25 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs26 { border:none; width:164px; height:250px; border-style:none; }\r
-p.whs27 { font-size:12pt; font-weight:bold; }\r
-p.whs28 { font-size:12pt; font-weight:bold; margin-left:0px; }\r
-img_whs29 { border:none; width:300px; height:234px; float:none; border-style:none; }\r
-img_whs30 { border:none; width:251px; height:234px; border-style:none; }\r
-p.whs31 { font-size:12pt; margin-left:40px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs28 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Building by blocks</h1>\r
-\r
-<p class="whs1"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Introduction.</B></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Below are some general notions about blocks:</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"></b></font></span>A block is a an elementary geometric solid that \r
- has specific geometric constraints oriented for meshing. In the hexahedral \r
- case, blocks have 6 faces and each face has 4 edges. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Tetrahedral Block - is a block with constraints for tetrahedral meshing. \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Block Compound - is a compound composed of blocks only.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New \r
- Entity / Blocks.</I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><a name=QuadrangleFace><img src="image29.gif" width="23px" height="22px" border="0" class="img_whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Quadrangle \r
- face</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Builds a face using the below mentioned arguments. This operation allows \r
- to build a face bypassing the intermediate stage of building edges and \r
- wires (in the case of building by 4 points) or wires (in the case of building \r
- by 4 or 2 edges).</font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result :</b> \r
- GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuadFaceVertices(V1, \r
- V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are \r
- four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuadFaceEdges(E1, \r
- E2)</I></span>, where E1, E2 are edges from which the face is constructed, \r
- two other edges are created automatically.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span \r
- style="font-style: italic;"><I>g</b>eompy.MakeQuadFace(E1, E2, E3, E4)</I></span>, \r
- where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">\r
-<col class="whs8">\r
-<col class="whs9">\r
-<col class="whs10">\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="32.996%" class="whs12">\r
-<p><img src="image244.jpg" width="183px" height="250px" border="0" class="img_whs13"></td>\r
-<td width="33.052%" class="whs14">\r
-<p><img src="image245.jpg" width="183px" height="250px" border="0" class="img_whs13"></td>\r
-<td width="33.952%" class="whs15">\r
-<p><img src="image246.jpg" width="184px" height="250px" border="0" class="img_whs16"></td></tr>\r
-</table>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs17">Example:</p>\r
-\r
-<p class="whs17">&nbsp;</p>\r
-\r
-<p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs18"> </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><a name=HexahedralSolid><img src="image51.gif" width="24px" height="22px" border="0" class="img_whs19"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Hexahedral \r
- solid</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Builds a hexahedral solid either of the below mentioned arguments. This \r
- operation allows to build a solid bypassing the intermediate stage of \r
- building a shell and 4 faces (in the case of building by 2 faces) or just \r
- a shell (in the case of building by 6 faces).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Result :</b> \r
- GEOM_Object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolid(F1, \r
- F2, F3, F4, F5, F6)</I></span>, where F1 \96 F6 are six faces from which the \r
- hexahedron is constructed.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolidTwoFaces(F1, \r
- F2)</I></span>, where F1 and F2 are faces from which the hexahedron is constructed, \r
- other four faces are created automatically.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="40.406%" class="whs20">\r
-<col class="whs21">\r
-<col class="whs22">\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="49.761%" class="whs23">\r
-<p class="whs5"><b style="font-weight: bold;">&nbsp;</b><img src="image242.jpg" width="162px" height="250px" border="0" class="img_whs24"></td>\r
-<td width="50.239%" class="whs25">\r
-<p><img src="image243.jpg" width="164px" height="250px" border="0" class="img_whs26"></td></tr>\r
-</table>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs27">Example:</p>\r
-\r
-<p class="whs27">&nbsp;</p>\r
-\r
-<p class="whs28"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs29"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs30"> &nbsp;</p>\r
-\r
-<p class="whs31"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
deleted file mode 100755 (executable)
index 0ec8b67..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
deleted file mode 100755 (executable)
index aff608b..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
deleted file mode 100755 (executable)
index 1a0f0f9..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
deleted file mode 100755 (executable)
index b364ba7..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
deleted file mode 100755 (executable)
index 587e81b..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
deleted file mode 100755 (executable)
index bda961e..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif b/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
deleted file mode 100755 (executable)
index dd4046c..0000000
Binary files a/doc/salome/gui/GEOM/salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/sketcher.htm b/doc/salome/gui/GEOM/sketcher.htm
deleted file mode 100755 (executable)
index 9ffb2b5..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sketcher</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-img_whs1 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
-p.whs2 { font-size:12pt; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { margin-left:40px; font-size:12pt; }\r
-img_whs5 { border:none; width:200px; height:277px; border-style:none; }\r
-img_whs6 { border:none; width:200px; height:276px; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs8 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs9 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
-img_whs10 { border:none; width:200px; height:200px; border-style:none; }\r
-img_whs11 { border:none; width:200px; height:195px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS += "p.whs8 {text-indent:1pt; }";\r
-  strNSS += "p.whs9 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Sketcher</h1>\r
-\r
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"></b></font></span>Sketcher allows to create curves of 2 types: line \r
- segment and arc. &nbsp;The \r
- curve is created from the current point (center of coordinates when the \r
- sketcher is started). &nbsp;The \r
- end of the curve is defined by means of &quot;destination&quot;, which \r
- can be a destination point (for segment only) or destination direction \r
- coupled with length of a segment or angle and radius of an arc.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Sketcher is able to create planar curves only. Therefore, it is necessary \r
- to select a working plane before starting a sketch (by default, XOY plane \r
- is used). Sketcher creates curves lying in the current working plane (New \r
- Entity -&gt; Basic -&gt; Working Plane).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New \r
- Entity / Sketch.</I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Creates curves (line segment and arc).</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, LWP)</I></span>, \r
- where Command is a string containing the coordinates of points in the \r
- local working plane, LWP is a list of 9 doubles which are coordinates \r
- of OZ and OX of the local working plane.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>\r
-\r
-<p class="whs2">2. Destination type (point or direction).</p>\r
-\r
-<p class="whs2">3. <span>Destination point by means of:</span></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs2">absolute coordinates \r
- X,Y;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">relative coordinates \r
- DX, DY (with respect to the current point);</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">selection of an existing \r
- point.</p></li>\r
-</ul>\r
-\r
-<p class="whs2">4. Destination direction by means of:</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs2">angle between the new \r
- segment and the previous one;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">perpendicular to the \r
- previous segment (same as previous, but angle is predefined and is equal \r
- to 90 degrees);</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">tangent to the previous \r
- segment;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">vector components VX, \r
- DY.</p></li>\r
-</ul>\r
-\r
-<p class="whs2">5. Parameters of an element (for segment : \r
- length or target X or Y coordinate value, for arc : radius and angle).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="image203.jpg" width="200px" height="277px" border="0" class="img_whs5"> &nbsp;&nbsp;<img src="image205.jpg" width="200px" height="276px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs8">Example:</p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> &nbsp;&nbsp;<img src="image206.jpg" width="200px" height="195px" border="0" class="img_whs11"></p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/webhelp.cab b/doc/salome/gui/GEOM/webhelp.cab
deleted file mode 100755 (executable)
index b942f64..0000000
Binary files a/doc/salome/gui/GEOM/webhelp.cab and /dev/null differ
diff --git a/doc/salome/gui/GEOM/webhelp.jar b/doc/salome/gui/GEOM/webhelp.jar
deleted file mode 100755 (executable)
index 53b2666..0000000
Binary files a/doc/salome/gui/GEOM/webhelp.jar and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whcsh_home.htm b/doc/salome/gui/GEOM/whcsh_home.htm
deleted file mode 100755 (executable)
index 92ccd93..0000000
+++ /dev/null
@@ -1,600 +0,0 @@
-<html>\r
-<script language="javascript1.2" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(gbIE4||gbNav61)\r
-{\r
-       document.write("<body></body>");\r
-}\r
-else\r
-{\r
-       document.write("<frameset rows=\"100%,*\"><frame name=\"data_frm\" src=\"about:blank\"><frame name=\"dumb_frm\" src=\"about:blank\"></frameset>");\r
-}\r
-var gCSHFileName="whcshdata.htm";\r
-\r
-var gHomePage="geom.htm";\r
-var gaProj=new Array();\r
-gaProj[0]=new Object();\r
-gaProj[0].sProjPath=_replaceSlash(_getPath(document.location.href));\r
-gaProj[0].nLoadState=0;\r
-var gCurrent=0;\r
-\r
-var gsTopicURL="";\r
-var gnCurProj=0;\r
-var gnCommand=-1;\r
-var CMD_SHOWTOC=1;\r
-var CMD_SHOWINDEX=2;\r
-var CMD_SHOWSEARCH=3;\r
-var CMD_SHOWGLOSSARY=4;\r
-var CMD_SHOWNONE=0;\r
-\r
-var RHWO_LOCATION=0x01;                /*need location bar?*/\r
-var RHWO_MENUBAR=0x02;         /*need menubar?*/               \r
-var RHWO_RESIZABLE=0x04;       /*resizable window?*/\r
-var RHWO_TOOLBAR=0x08;         /*need toolbar?*/\r
-var RHWO_STATUS=0x10;          /*need statusbar?*/\r
-var RHWO_SCROLLBARS=0x20;      /*need scrollbars?*/\r
-\r
-var gsStr="";\r
-var gnId=-1;\r
-var gsWindow="";\r
-var gsJava="false";\r
-var gbUseStr=false;\r
-var gbURLReady=false;\r
-var goWnd=new Object();\r
-goWnd.sName="whCshDefault";\r
-goWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;\r
-goWnd.sBLeft="49%";\r
-goWnd.sBTop="0";\r
-goWnd.sBWidth="49%";\r
-goWnd.sBHeight="49%";\r
-goWnd.nPanes=1;\r
-var goFullWnd=new Object();\r
-goFullWnd.sName="whDefault";\r
-goFullWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;\r
-goFullWnd.sBLeft="20%";\r
-goFullWnd.sBTop="0";\r
-goFullWnd.sBWidth="79%";\r
-goFullWnd.sBHeight="79%";\r
-goFullWnd.nPanes=2;\r
-\r
-var goNewWnd=null;\r
-var gbLoadWnd=false;\r
-var gsURL="";\r
-\r
-function showCSH(sParam)\r
-{\r
-       //id=\r
-       //str=\r
-       //url=\r
-       //cmd=\r
-       //with the format #<a=xxx>>b=xxx>>c=xxx...\r
-       parseParam(sParam);\r
-       SwitchURL();\r
-}\r
-\r
-function IsWndReady()\r
-{\r
-       if(gaProj[0].nLoadState==0)\r
-       {\r
-               var sCshFile=_getFullPath(gaProj[0].sProjPath,gCSHFileName);\r
-               gaProj[0].nLoadState=1;\r
-               setTimeout("loadFail("+0+");",3000);\r
-               loadDataCsh(sCshFile);\r
-               gbLoadWnd=true;\r
-               return false;\r
-       }\r
-       else\r
-               return true;\r
-}\r
-\r
-function SwitchURL()\r
-{\r
-       if(gbURLReady)\r
-       {\r
-               var sURL="";\r
-               var oWnd=null;\r
-               if(gsTopicURL)\r
-               {\r
-                       sURL=_getPath(document.location.href)+gHomePage+"#"+gsTopicURL;\r
-                       oWnd=goWnd;\r
-               }\r
-               else\r
-               {\r
-                       if(gnCommand!=-1)\r
-                               sURL=_getPath(document.location.href)+gHomePage+"#>>cmd="+gnCommand;\r
-                       else\r
-                               sURL=_getPath(document.location.href)+gHomePage;\r
-                       oWnd=goFullWnd;\r
-               }\r
-               if(gsWindow)\r
-               {\r
-                       if(!IsWndReady())\r
-                               return false;\r
-                       if(gaProj[gnCurProj].aWnd)\r
-                       {\r
-                               var aWnd=gaProj[gnCurProj].aWnd;\r
-                               var bFound=false;\r
-                               for(var i=0;i<aWnd.length;i++)\r
-                               {\r
-                                       if(aWnd[i].sName.toLowerCase()==gsWindow.toLowerCase())\r
-                                       {\r
-                                               oWnd=aWnd[i];\r
-                                               bFound=true;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(!bFound&&gnCurProj!=0)\r
-                               {\r
-                                       var aWnd=gaProj[0].aWnd;\r
-                                       for(var j=0;j<aWnd.length;j++)\r
-                                       {\r
-                                               if(aWnd[j].sName.toLowerCase()==gsWindow.toLowerCase())\r
-                                               {\r
-                                                       oWnd=aWnd[j];\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-\r
-               if(sURL&&oWnd)\r
-               {\r
-                       strURLOpt="";\r
-                       if(oWnd.sCaption)\r
-                               strURLOpt+=">>cap="+oWnd.sCaption;\r
-                       if(oWnd.nPanes==1)\r
-                               strURLOpt+=">>pan="+oWnd.nPanes;\r
-                       else if(oWnd.nPanes==2)\r
-                       {\r
-                               strURLOpt+=">>pan="+oWnd.nPanes;\r
-                               if(oWnd.nPOptions)\r
-                                       strURLOpt+=">>pot="+oWnd.nPOptions;\r
-                               if(oWnd.sPButtons)\r
-                                       strURLOpt+=">>pbs="+oWnd.sPButtons;\r
-                               if(oWnd.sPDefBtn)\r
-                                       strURLOpt+=">>pdb="+oWnd.sPDefBtn;\r
-                       }\r
-                       if(strURLOpt)\r
-                       {\r
-                               if(sURL.indexOf("#")==-1)\r
-                                       sURL+="#";\r
-                               sURL+=strURLOpt;\r
-                       }\r
-                       if(gsJava=="false")\r
-                       {\r
-                               var strOpt=getBrowserOptionString(oWnd);\r
-                               var sNewName=convertWindowName(oWnd.sName);\r
-                               if(gbNav4)\r
-                               {\r
-                                       if (gbNav6)\r
-                                       {\r
-                                               gsURL = sURL;\r
-                                               goNewWnd=window.open("about:blank",sNewName,strOpt);\r
-                                               setTimeout("postWindowNSOpen();",100);\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               window.open("about:blank",sNewName,strOpt);\r
-                                               var oNewWnd=window.open(sURL,sNewName);\r
-                                               window.close();\r
-                                               oNewWnd.focus();\r
-                                       }\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(gbIE5)\r
-                                       {\r
-                                               window.open("about:blank",sNewName,strOpt);\r
-                                               goNewWnd=window.open(sURL,sNewName);\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               gsURL = sURL; // IE4 had hard time to handle bookmark.\r
-                                               goNewWnd=window.open("about:blank",sNewName,strOpt);\r
-                                       }\r
-                                       setTimeout("postWindowOpen();",100);\r
-                               }\r
-                       }\r
-                       else\r
-                               document.location=sURL;\r
-               }\r
-       }\r
-}\r
-\r
-function convertWindowName(strName)\r
-{\r
-       var strNewName = strName;\r
-       var strResultName = "";\r
-       var re=new RegExp("_","g");\r
-       strNewName = strName.replace(re,"__");\r
-       for (var i=0;i<strNewName.length;i++)\r
-               if (!(strNewName[i] == '_' ||\r
-                       (strNewName[i] <= '9' && strNewName[i] >= '0') ||\r
-                       (strNewName[i] <= 'z' && strNewName[i] >= 'a') ||\r
-                       (strNewName[i] <= 'Z' && strNewName[i] >= 'A')))\r
-               {\r
-                       strResultName += "_" + strNewName.charCodeAt(i);\r
-               }\r
-               else\r
-                       strResultName += strNewName[i];\r
-       return strResultName;\r
-}\r
-\r
-function postWindowNSOpen()\r
-{\r
-       if(goNewWnd)\r
-       {\r
-               if (gsURL)\r
-                       goNewWnd.document.location.href=gsURL;\r
-               window.close();\r
-               goNewWnd.focus();\r
-       }\r
-}\r
-\r
-function postWindowOpen()\r
-{\r
-       if(goNewWnd)\r
-       {\r
-               if (gsURL&&!gbIE5&&gbIE4)\r
-                       goNewWnd.document.location.href=gsURL;\r
-               goNewWnd.focus();\r
-       }\r
-}\r
-\r
-function parseParam(sParam)\r
-{\r
-       if(sParam)\r
-       {\r
-               var nBPos=0;\r
-               do\r
-               {\r
-                       var nPos=sParam.indexOf(">>",nBPos);\r
-                       if(nPos!=-1)\r
-                       {\r
-                               if(nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos,nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos=nPos+2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               }while(nBPos<sParam.length);\r
-       }\r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("id=")==0)\r
-       {\r
-               fetchURLById(sPart.substring(3));\r
-               gbURLReady=false;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("str=")==0)\r
-       {\r
-               fetchURLByStr(sPart.substring(4));\r
-               gbURLReady=false;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("url=")==0)\r
-       {\r
-               gsTopicURL=sPart.substring(4);\r
-               gbURLReady=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("cmd=")==0)\r
-       {\r
-               var sCmd=sPart.substring(4);\r
-               if(sCmd.toLowerCase()=="toc")\r
-               {\r
-                       gnCommand=CMD_SHOWTOC;\r
-               }\r
-               else if(sCmd.toLowerCase()=="idx")\r
-               {\r
-                       gnCommand=CMD_SHOWINDEX;\r
-               }\r
-               else if(sCmd.toLowerCase()=="fts")\r
-               {\r
-                       gnCommand=CMD_SHOWSEARCH;\r
-               }\r
-               else if(sCmd.toLowerCase()=="glo")\r
-               {\r
-                       gnCommand=CMD_SHOWGLOSSARY;\r
-               }\r
-               else if(sCmd.toLowerCase()=="none")\r
-               {\r
-                       gnCommand=CMD_SHOWNONE;\r
-               }\r
-               gbURLReady=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("wnd=")==0)\r
-       {\r
-               gsWindow=_browserStringToText(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("java=")==0)\r
-       {\r
-               gsJava=sPart.substring(5);\r
-       }\r
-}\r
-\r
-function fetchURLById(sId)\r
-{\r
-       var nId=parseInt(sId);\r
-       gsTopicURL="";\r
-       fetchURL("",nId,false);\r
-}\r
-\r
-function fetchURLByStr(sStr)\r
-{\r
-       gsTopicURL="";\r
-       fetchURL(sStr,0,true);\r
-}\r
-\r
-function fetchURL(sStr,nId,bUseStr)\r
-{\r
-       var bNeedLoad=false;\r
-       var bFound=false;\r
-       for(var i=0;i<gaProj.length;i++)\r
-       {\r
-               if(gaProj[i].nLoadState==3)\r
-               {\r
-                       if(gaProj[i].aCsh)\r
-                       {\r
-                               for(var j=0;j<gaProj[i].aCsh.length;j++)\r
-                               {\r
-                                       var sTopicURL="";\r
-                                       if(bUseStr)\r
-                                       {\r
-                                               if(gaProj[i].aCsh[j].strAliasId.toLowerCase()==sStr.toLowerCase())\r
-                                                       sTopicURL=gaProj[i].aCsh[j].strUrl;\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               if(gaProj[i].aCsh[j].nTopicNum==nId)\r
-                                                       sTopicURL=gaProj[i].aCsh[j].strUrl;\r
-                                       }\r
-                                       if(sTopicURL)\r
-                                       {\r
-                                               if(i!=0)\r
-                                               {\r
-                                                       gnCurProj=i;\r
-                                                       if(gaProj[i].sProjPath.indexOf(gaProj[0].sProjPath)==0)\r
-                                                       {\r
-                                                               var sRelPath=gaProj[i].sProjPath.substring(gaProj[0].sProjPath.length);\r
-                                                               gsTopicURL=sRelPath+sTopicURL;\r
-                                                       }\r
-                                                       else\r
-                                                               gsTopicURL=gaProj[i].sProjPath+sTopicURL;\r
-                                               }\r
-                                               else\r
-                                                       gsTopicURL=sTopicURL;\r
-                                               bFound=true;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                       }\r
-                       \r
-               }\r
-               else if(gaProj[i].nLoadState==0)\r
-               {\r
-                       gsStr=sStr;\r
-                       gnId=nId;\r
-                       gbUseStr=bUseStr;\r
-                       var sCshFile=_getFullPath(gaProj[i].sProjPath,gCSHFileName);\r
-                       gaProj[i].nLoadState=1;\r
-                       setTimeout("loadFail("+i+");",3000);\r
-                       loadDataCsh(sCshFile);\r
-                       bNeedLoad=true;\r
-               }\r
-               if(bFound||bNeedLoad)\r
-                       break;\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               gbURLReady=true;\r
-               SwitchURL();\r
-       }\r
-}\r
-\r
-function loadDataCsh(sFile)\r
-{\r
-       if(gbIE4||gbNav61)\r
-               loadData(sFile);\r
-       else\r
-       {\r
-               window.frames[0].location=sFile;\r
-       }\r
-}\r
-\r
-function loadFail(nProj)\r
-{\r
-       if(gaProj[nProj].nLoadState==1)\r
-       {\r
-               gaProj[nProj].nLoadState=2;\r
-               if(!gbLoadWnd)\r
-                       fetchURL(gsStr,gnId,gbUseStr);\r
-               else\r
-                       SwitchURL();\r
-       }\r
-}\r
-\r
-function putCshData(strProj,aCsh,aWnd,aRmtProj)\r
-{\r
-       if(strProj)\r
-       {\r
-               strProj=_replaceSlash(strProj);\r
-               if(strProj.lastIndexOf("/")!=strProj.length-1)\r
-                       strProj+="/";\r
-               for(var i=0;i<gaProj.length;i++)\r
-               {\r
-                       if(gaProj[i].sProjPath)\r
-                       {\r
-                               if(isSamePath(gaProj[i].sProjPath,strProj))\r
-                               {\r
-                                       gaProj[i].nLoadState=3;\r
-                                       gaProj[i].aCsh=aCsh;\r
-                                       gaProj[i].aWnd=aWnd;\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-               if(aRmtProj&&aRmtProj.length)\r
-               {\r
-                       for(var j=0;j<aRmtProj.length;j++)\r
-                       {\r
-                               var strRPath=_getFullPath(strProj,aRmtProj[j]);\r
-                               var bFound=false;\r
-                               for (var k=0;k<gaProj.length;k++)\r
-                               {\r
-                                       if(gaProj[k].sProjPath)\r
-                                       {\r
-                                               if(isSamePath(gaProj[k].sProjPath,strRPath))\r
-                                               {\r
-                                                       bFound=true;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                               if(!bFound)\r
-                               {\r
-                                       var len=gaProj.length;\r
-                                       gaProj[len]=new Object();\r
-                                       gaProj[len].sProjPath=strRPath;\r
-                                       gaProj[len].nLoadState=0;\r
-                               }\r
-                       }\r
-               }\r
-               if(!gbLoadWnd)\r
-                       fetchURL(gsStr,gnId,gbUseStr);\r
-               else\r
-                       SwitchURL();\r
-                       \r
-       }\r
-}\r
-\r
-function isSamePath(strPath1,strPath2)\r
-{\r
-       return strPath1.toLowerCase()==strPath2.toLowerCase();\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath=_getPath(strLocation);\r
-       var strOriPPath=_getPath(getHomePage());\r
-       var strRelPath=_getRelativeFileName(strOriPPath,strCurPPath);\r
-       var strURL=getHomePage()+"#"+strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp=location.toString();\r
-       var nPos=strTmp.indexOf("#");\r
-       if(nPos!=-1)\r
-       {\r
-               strHomePage=strTmp.substring(0,nPos);\r
-       }\r
-       else\r
-       {\r
-               strHomePage=strTmp;\r
-       }\r
-       return strHomePage;\r
-}\r
-\r
-function getBrowserOptionString(oWnd)\r
-{\r
-       var strOpts="";\r
-       if(oWnd.bUseDefault)\r
-               return strOpts;\r
-       if(oWnd.nBOptions&RHWO_LOCATION)\r
-               strOpts+="location=yes";\r
-       else\r
-               strOpts+="location=no";\r
-       if(oWnd.nBOptions&RHWO_TOOLBAR)\r
-               strOpts+=",toolbar=yes";                \r
-       else\r
-               strOpts+=",toolbar=no";         \r
-       if(oWnd.nBOptions&RHWO_MENUBAR)\r
-               strOpts+=",menubar=yes";                \r
-       else\r
-               strOpts+=",menubar=no";\r
-       if(oWnd.nBOptions&RHWO_STATUS)\r
-               strOpts+=",status=yes";         \r
-       else\r
-               strOpts+=",status=no";          \r
-       if(oWnd.nBOptions&RHWO_SCROLLBARS)\r
-               strOpts+=",scrollbars=yes";\r
-       else\r
-               strOpts+=",scrollbars=no";      \r
-       if(oWnd.nBOptions&RHWO_RESIZABLE)\r
-               strOpts+=",resizable=yes";\r
-       else\r
-               strOpts+=",resizable=no";\r
-       if(oWnd.sBTop)\r
-       {\r
-               var nTop=getSValue(oWnd.sBTop,screen.height);\r
-               strOpts+=",top="+nTop;\r
-               strOpts+=",screenY="+nTop;\r
-       }\r
-       if(oWnd.sBLeft)\r
-       {\r
-               var nLeft=getSValue(oWnd.sBLeft,screen.width);\r
-               strOpts+=",left="+nLeft;\r
-               strOpts+=",screenX="+nLeft;\r
-       }\r
-       if(oWnd.sBWidth)\r
-       {\r
-               var nWidth=getSValue(oWnd.sBWidth,screen.width);\r
-               strOpts+=",width="+nWidth;\r
-               strOpts+=",outerWidth="+nWidth;\r
-       }\r
-       if(oWnd.sBHeight)\r
-       {\r
-               var nHeight=getSValue(oWnd.sBHeight,screen.height);\r
-               strOpts+=",height="+nHeight;\r
-               strOpts+=",outerHeight="+nHeight;\r
-       }\r
-       return strOpts;\r
-}\r
-\r
-function getSValue(sValue,nLength)\r
-{\r
-       var nValue=0;\r
-       var nPos=sValue.indexOf("%");\r
-       if(nPos!=-1)\r
-       {\r
-               if(nPos>0)\r
-               {\r
-                       var nPart=parseInt(sValue.substring(0,nPos));\r
-                       nValue=nLength*nPart/100;\r
-               }\r
-       }\r
-       else\r
-               nValue=parseInt(sValue);\r
-       return nValue;\r
-}\r
-\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       if(document.location.hash.length>0)\r
-       {\r
-               showCSH(document.location.hash.substring(1));\r
-       }\r
-\r
-       if(gsJava=="false")\r
-               window.moveTo(screen.width,screen.height);\r
-}\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whcshdata.htm b/doc/salome/gui/GEOM/whcshdata.htm
deleted file mode 100755 (executable)
index 9576ec0..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript1.2" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="JavaScript">\r
-<!--\r
-var gaCsh=new Array();\r
-\r
-var gaWindow=new Array();\r
-\r
-var gaRmtProj=new Array();\r
-\r
-var gsProjPath=_getPath(document.location.href);\r
-\r
-function CshEntityItem(strAliasId,nTopicNum,strUrl)\r
-{\r
-       this.strAliasId=strAliasId;\r
-       this.nTopicNum=nTopicNum;\r
-       this.strUrl=strUrl;\r
-}\r
-\r
-function CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)\r
-{\r
-       this.sName=sWName;\r
-       this.bUseDefault=bBUseDefault;\r
-       if(!this.bUseDefault)\r
-       {\r
-               this.nBOptions=nWBOptions;\r
-               this.sBLeft=sWBLeft;\r
-               this.sBTop=sWBTop;\r
-               this.sBWidth=sWBWidth;\r
-               this.sBHeight=sWBHeight;\r
-       }\r
-       this.sCaption=sWCaption;\r
-       this.nPanes=nWPanes;\r
-       if(this.nPanes==2)\r
-       {\r
-               this.nPOptions=nWPOptions;\r
-               this.sPButtons=sWPButtons;\r
-               this.sPDefBtn=sWPDefBtn;\r
-       }\r
-}\r
-\r
-function addRemoteProject(sPath)\r
-{\r
-       if(sPath.length!=0)\r
-       {\r
-               if(sPath.lastIndexOf("/")!=sPath.length-1)\r
-                       sPath+="/";\r
-               gaRmtProj[gaRmtProj.length]=sPath;      \r
-       }\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n,strAliasId,nTopicNum,strUrl)\r
-{\r
-       gaCsh[n]=new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-function addWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)\r
-{\r
-       gaWindow[gaWindow.length]=new CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn);\r
-}\r
-\r
-\r
-\r
-\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       if(parent&&parent!=this&&parent.putCshData)\r
-       {\r
-               parent.putCshData(gsProjPath,gaCsh,gaWindow,gaRmtProj);\r
-       }\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whftdata.js b/doc/salome/gui/GEOM/whdata/whftdata.js
deleted file mode 100755 (executable)
index 071ae6f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-//     WebHelp 5.10.001\r
-var gTEA = new Array();\r
-function aTE(sTopicTitle, sTopicURL)\r
-{\r
-       var len = gTEA.length;\r
-       gTEA[len] = new topicEntry(sTopicTitle, sTopicURL);\r
-}\r
-\r
-function topicEntry(sTopicTitle, sTopicURL)\r
-{\r
-       this.sTopicTitle = sTopicTitle;\r
-       this.sTopicURL = sTopicURL;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this) {\r
-               if (parent.putFtsTData) \r
-               {\r
-                       parent.putFtsTData(gTEA);\r
-               }\r
-       }\r
-}\r
-\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whftdata0.htm b/doc/salome/gui/GEOM/whdata/whftdata0.htm
deleted file mode 100755 (executable)
index 0a639b2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whftdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-aTE("Building of blocks","blocks.htm");\r
-aTE("Changing displaying parameters","changing_displaying_parameters.htm");\r
-aTE("Introduction to GEOM","files/introduction_to_geom.htm");\r
-aTE("Titre","files/salome2_sp3_basicgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_booleangui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_buildgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_displaygui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_generationgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_geomtoolsgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_measuregui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_operationgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_primitivegui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_repairgui_functions.htm");\r
-aTE("Titre","files/salome2_sp3_transformationgui_functions.htm");\r
-aTE("Blocks","newentity_blocks.htm");\r
-aTE("Sketcher","sketcher.htm");\r
-aTE("Working with groups","working_with_groups.htm");\r
-\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whftdata0.xml b/doc/salome/gui/GEOM/whdata/whftdata0.xml
deleted file mode 100755 (executable)
index dd9bb8b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<ftstdata>\r
-<topic name="Building of blocks" url="blocks.htm" />\r
-<topic name="Changing displaying parameters" url="changing_displaying_parameters.htm" />\r
-<topic name="Introduction to GEOM" url="files/introduction_to_geom.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_basicgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_booleangui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_buildgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_displaygui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_generationgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_geomtoolsgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_measuregui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_operationgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_primitivegui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_repairgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_transformationgui_functions.htm" />\r
-<topic name="Blocks" url="newentity_blocks.htm" />\r
-<topic name="Sketcher" url="sketcher.htm" />\r
-<topic name="Working with groups" url="working_with_groups.htm" />\r
-\r
-</ftstdata>  \r
diff --git a/doc/salome/gui/GEOM/whdata/whfts.htm b/doc/salome/gui/GEOM/whdata/whfts.htm
deleted file mode 100755 (executable)
index 0f61725..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whfts.js"></script>\r
-<script language="javascript">\r
-<!--\r
-iWM("0","zmin","whfwdata0.htm");\r
-\r
-iTM(0,16,"whftdata0.htm");\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whfts.js b/doc/salome/gui/GEOM/whdata/whfts.js
deleted file mode 100755 (executable)
index 2b66786..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-//     WebHelp 5.10.001\r
-var gaFileMapping = new Array();\r
-var gaFileTopicMapping = new Array();\r
-\r
-function fileMapping(sStartKey, sEndKey, sFileName)\r
-{\r
-       this.sStartKey = sStartKey;\r
-       this.sEndKey = sEndKey;\r
-       this.sFileName = sFileName;\r
-       this.aFtsKeys = null;\r
-}\r
-\r
-function fileTopicMapping(nIdBegin, nIdEnd, sFileName)\r
-{\r
-       this.nBegin = nIdBegin;\r
-       this.nEnd = nIdEnd;\r
-       this.sFileName = sFileName;\r
-       this.aTopics = null;\r
-}\r
-\r
-\r
-function iWM(sStartKey, sEndKey, sFileName)\r
-{\r
-       gaFileMapping[gaFileMapping.length] = new fileMapping(sStartKey, sEndKey, sFileName);   \r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this && parent.ftsReady)\r
-       {\r
-               parent.ftsReady(gaFileMapping, gaFileTopicMapping);\r
-       }               \r
-}\r
-\r
-function iTM(nIdBegin, nIdEnd, sFileName)\r
-{\r
-       gaFileTopicMapping[gaFileTopicMapping.length] = new fileTopicMapping(nIdBegin, nIdEnd, sFileName);      \r
-}\r
-\r
-window.onload = window_OnLoad;\r
diff --git a/doc/salome/gui/GEOM/whdata/whfts.xml b/doc/salome/gui/GEOM/whdata/whfts.xml
deleted file mode 100755 (executable)
index 7113892..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<fts>\r
-<chunkinfo url="whfwdata0.xml" first="«apply»" last="zmin"/>\r
-\r
-<tchunkinfo first="0" last="16" url="whftdata0.xml" />\r
-\r
-</fts>\r
diff --git a/doc/salome/gui/GEOM/whdata/whfwdata.js b/doc/salome/gui/GEOM/whdata/whfwdata.js
deleted file mode 100755 (executable)
index e9e8bc6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-//     WebHelp 5.10.001\r
-var gWEA = new Array();\r
-function aWE()\r
-{\r
-       var len = gWEA.length;\r
-       gWEA[len] = new ftsEntry(aWE.arguments);\r
-}\r
-\r
-function ftsEntry(fn_arguments) \r
-{\r
-       if (fn_arguments.length && fn_arguments.length >= 1) \r
-       {\r
-               this.sItemName = fn_arguments[0];\r
-               this.aTopics = null;\r
-               var nLen = fn_arguments.length;\r
-               if (nLen > 1) \r
-               {\r
-                       this.aTopics = new Array();\r
-                       for (var i = 0; i < nLen - 1; i ++ )\r
-                       {\r
-                               this.aTopics[i] = fn_arguments[i + 1];\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this) {\r
-               if (parent.putFtsWData) \r
-               {\r
-                       parent.putFtsWData(gWEA);\r
-               }\r
-       }\r
-}\r
-\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whfwdata0.htm b/doc/salome/gui/GEOM/whdata/whfwdata0.htm
deleted file mode 100755 (executable)
index 20bdbeb..0000000
+++ /dev/null
@@ -1,782 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whfwdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-aWE("0",1,12);\r
-aWE("1",1,15,3,4,7,5,11,12,13,10,9,16);\r
-aWE("12",9);\r
-aWE("1d",3,10);\r
-aWE("1st",3,11,12,13,10);\r
-aWE("2",14,1,15,3,4,5,11,12,13,10,9);\r
-aWE("2d",3,4,7,5,12,10);\r
-aWE("2nd",3,11,12,13,10);\r
-aWE("2st",13);\r
-aWE("3",15,3,4,11,12,13,10);\r
-aWE("3d",3,4,6,7,5,11,12,10,9);\r
-aWE("3rd",3,10);\r
-aWE("3st",13);\r
-aWE("4",14,15,4,12,10);\r
-aWE("5",15,7,12);\r
-aWE("6",14,12,9);\r
-aWE("7",12);\r
-aWE("8",12);\r
-aWE("9",15,12);\r
-aWE("90",15);\r
-aWE("abl",15);\r
-aWE("absolut",15);\r
-aWE("accessibl",13);\r
-aWE("accord",3,12);\r
-aWE("accordanc",12);\r
-aWE("achiev",12);\r
-aWE("ad",12,16);\r
-aWE("add",12);\r
-aWE("addobject",16);\r
-aWE("adjustment",12);\r
-aWE("advanc",7,5);\r
-aWE("aim",10);\r
-aWE("algorithm",10);\r
-aWE("allow",14,15,8,12,13,16);\r
-aWE("along",7,13,10);\r
-aWE("angl",15,7,12,13);\r
-aWE("anoth",4);\r
-aWE("any",12);\r
-aWE("ap",3,12);\r
-aWE("appli",10);\r
-aWE("applicabl",13);\r
-aWE("apply",12);\r
-aWE("approximation",12);\r
-aWE("arc",15,3);\r
-aWE("archimed",10);\r
-aWE("argument",14,1,15,3,4,7,5,11,12,13,10,9,16);\r
-aWE("around",7);\r
-aWE("associat",6);\r
-aWE("attribut",6);\r
-aWE("automatical",14,3);\r
-aWE("availabl",14,15,6,12,16);\r
-aWE("ax",3);\r
-aWE("axi",3,7,11,13,9);\r
-aWE("b",3);\r
-aWE("background",16);\r
-aWE("bas",7,11,12,13);\r
-aWE("baseshap",7);\r
-aWE("basi",7);\r
-aWE("basic",2,15,3,5,10,9);\r
-aWE("basicproperti",9);\r
-aWE("befor",15,12);\r
-aWE("below",14);\r
-aWE("bezi",3,12);\r
-aWE("block",14,0,10,9);\r
-aWE("boolean",2,4,5,9);\r
-aWE("both",6);\r
-aWE("bound",9);\r
-aWE("boundari",12);\r
-aWE("boundary",12);\r
-aWE("boundingbox",9);\r
-aWE("box",14,1,15,3,4,8,7,5,11,12,13,10,9,16);\r
-aWE("break",10);\r
-aWE("brep",2,8);\r
-aWE("brows",3,6,8);\r
-aWE("bsplin",12);\r
-aWE("bsplinerestriction",12);\r
-aWE("build",14,0,2,5,10);\r
-aWE("button",3,12);\r
-aWE("bypas",14);\r
-aWE("cad",2);\r
-aWE("camera",3);\r
-aWE("cas",14,3,12);\r
-aWE("cent",15,3,11,13,9);\r
-aWE("centerofscal",13);\r
-aWE("central",11);\r
-aWE("chamf",10);\r
-aWE("chang",1);\r
-aWE("check",12,10,9);\r
-aWE("checkbox",12,13);\r
-aWE("checkcompoundofblock",9);\r
-aWE("checkshap",9);\r
-aWE("choos",6,8,10);\r
-aWE("circl",3);\r
-aWE("click",1,6,8);\r
-aWE("clos",5,12);\r
-aWE("closecontour",12);\r
-aWE("closedwir",12);\r
-aWE("closur",12);\r
-aWE("coincident",12);\r
-aWE("color",1);\r
-aWE("command",14,1,15,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("common",4,12);\r
-aWE("complex",2,4,7,10);\r
-aWE("component",15,3,13);\r
-aWE("compos",14,9);\r
-aWE("compound",14,4,5,12,13,10,9);\r
-aWE("compsolid",7);\r
-aWE("comput",10,9);\r
-aWE("con",11);\r
-aWE("concern",9);\r
-aWE("condition",9);\r
-aWE("confirm",8);\r
-aWE("conical",12);\r
-aWE("connect",5,10,9);\r
-aWE("connection",9);\r
-aWE("consider",12,9);\r
-aWE("consol",9);\r
-aWE("constraint",14);\r
-aWE("construct",14,5,11);\r
-aWE("construction",2,4);\r
-aWE("constructor",3,11,12,13,10);\r
-aWE("contain",15,8,12,10);\r
-aWE("content",8);\r
-aWE("continuiti",12);\r
-aWE("continuity",12);\r
-aWE("continuity2d",12);\r
-aWE("continuity3d",12);\r
-aWE("contour",12);\r
-aWE("conversion",12);\r
-aWE("coordinat",15,3,11,13,9);\r
-aWE("copy",13);\r
-aWE("corner",11);\r
-aWE("correction",12);\r
-aWE("correspond",3,7,5,11,12,10);\r
-aWE("coupl",15);\r
-aWE("creat",14,15,3,6,7,5,11,12,13,10,9,16);\r
-aWE("creategroup",16);\r
-aWE("creation",2,7,12,10,16);\r
-aWE("current",15,6);\r
-aWE("curv",15,3,7,12);\r
-aWE("curve2dmod",12);\r
-aWE("curve3dmod",12);\r
-aWE("curvecontinuity",12);\r
-aWE("cut",4,12,10);\r
-aWE("cylind",11);\r
-aWE("cylindrical",12);\r
-aWE("d1",10);\r
-aWE("d2",10);\r
-aWE("data",9);\r
-aWE("default",15,16);\r
-aWE("defin",15,3,11,12,13,10);\r
-aWE("definit",12,9);\r
-aWE("definition",7,12);\r
-aWE("deflection",10);\r
-aWE("degenerat",9);\r
-aWE("degre",15,7,12);\r
-aWE("delet",10);\r
-aWE("density",10);\r
-aWE("depend",10);\r
-aWE("describ",8);\r
-aWE("description",14,1,15,3,4,6,7,5,11,12,13,10,9,16);\r
-aWE("desir",12);\r
-aWE("destin",2);\r
-aWE("destination",15);\r
-aWE("detect",12);\r
-aWE("detection",12);\r
-aWE("diagonal",11);\r
-aWE("dialog",14,1,15,3,4,8,7,5,11,12,13,10,9,16);\r
-aWE("dif",6);\r
-aWE("different",1,6,11,9);\r
-aWE("dimension",7,11,10,9);\r
-aWE("dir",13);\r
-aWE("dir1",13);\r
-aWE("dir2",13);\r
-aWE("direction",15,3,7,11,13,10);\r
-aWE("dirface1v",10);\r
-aWE("dirfaceid1",10);\r
-aWE("dirfaceid1u",10);\r
-aWE("dirfaceid1v",10);\r
-aWE("dirfaceid2",10);\r
-aWE("dirfaceid2u",10);\r
-aWE("dirfaceid2v",10);\r
-aWE("display",1,3,6,8,12,9);\r
-aWE("displayall",6);\r
-aWE("displayon",6);\r
-aWE("distanc",12,13,9);\r
-aWE("divid",12);\r
-aWE("divideedg",12);\r
-aWE("don",12,13);\r
-aWE("doubl",1,15);\r
-aWE("dropsmalledg",12);\r
-aWE("dx",15,13);\r
-aWE("dy",15,13);\r
-aWE("dz",13);\r
-aWE("e",6);\r
-aWE("e1",14);\r
-aWE("e2",14);\r
-aWE("e3",14);\r
-aWE("e4",14);\r
-aWE("easi",16);\r
-aWE("edg",14,3,7,5,12,10,9);\r
-aWE("edgeid",12);\r
-aWE("edit",16);\r
-aWE("egdemaxtol",9);\r
-aWE("egdemintol",9);\r
-aWE("eith",14);\r
-aWE("element",15,3,4,6,7,5,11,12,9);\r
-aWE("elementary",14);\r
-aWE("ellips",3);\r
-aWE("empty",12);\r
-aWE("encounter",9);\r
-aWE("end",15,3,12,13);\r
-aWE("ent",3,8);\r
-aWE("entir",9);\r
-aWE("entity",14,15,3,7,5,11,16);\r
-aWE("equal",15);\r
-aWE("eras",6);\r
-aWE("eraseall",6);\r
-aWE("eraseon",6);\r
-aWE("error",12,9);\r
-aWE("etc",5,12);\r
-aWE("exampl",14,1,15,3,4,7,5,11,12,13,10,16);\r
-aWE("except",12);\r
-aWE("exist",15,16);\r
-aWE("explod",0,5,10);\r
-aWE("export",2,8);\r
-aWE("exportation",8);\r
-aWE("extra",9);\r
-aWE("extract",10);\r
-aWE("extrud",7);\r
-aWE("extrusion",7);\r
-aWE("f1",14);\r
-aWE("f2",14);\r
-aWE("f3",14);\r
-aWE("f4",14);\r
-aWE("f5",14);\r
-aWE("f6",14);\r
-aWE("fac",14,3,7,5,12,13,10,9);\r
-aWE("face1",10);\r
-aWE("face2",10);\r
-aWE("facemaxtol",9);\r
-aWE("facemintol",9);\r
-aWE("factor",13);\r
-aWE("fals",12);\r
-aWE("field",3);\r
-aWE("fil",3,8,7);\r
-aWE("filenam",8);\r
-aWE("fill",7,12);\r
-aWE("fillet",10);\r
-aWE("first",3,4,5,11,13,10);\r
-aWE("fix",12);\r
-aWE("fixfacesiz",12);\r
-aWE("fixshap",12);\r
-aWE("flag",9);\r
-aWE("follow",4,6,5,9);\r
-aWE("format",2,8);\r
-aWE("formatnam",8);\r
-aWE("four",14);\r
-aWE("fre",12);\r
-aWE("function",2,5);\r
-aWE("functionaliti",14);\r
-aWE("functionality",15,16);\r
-aWE("fus",4);\r
-aWE("gap",12);\r
-aWE("general",14);\r
-aWE("generat",7);\r
-aWE("generation",2,7);\r
-aWE("geom",1,2,3,4,6,8,7,5,11,13,10,9);\r
-aWE("geom_object",14,15,3,4,7,5,11,12,13,10,9,16);\r
-aWE("geometric",14);\r
-aWE("geometrical",1,2,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("geometry",12);\r
-aWE("geompy",14,15,3,4,8,7,5,11,12,13,10,9,16);\r
-aWE("get",4,5,9);\r
-aWE("getfreeboundary",12);\r
-aWE("getfreefacesid",12);\r
-aWE("getobjectid",16);\r
-aWE("getsubshapeid",5);\r
-aWE("gg",1);\r
-aWE("giv",3);\r
-aWE("given",3,5,12,13,10,9);\r
-aWE("glu",12,10,9);\r
-aWE("graphic",6);\r
-aWE("gravity",9);\r
-aWE("group",10,16);\r
-aWE("gui",10);\r
-aWE("half",3);\r
-aWE("handl",16);\r
-aWE("hav",5,12);\r
-aWE("height",7,11);\r
-aWE("hexahedral",14,10);\r
-aWE("hexahedron",14);\r
-aWE("hid",6);\r
-aWE("highlight",12,9);\r
-aWE("hol",12);\r
-aWE("i",6);\r
-aWE("i11",9);\r
-aWE("i12",9);\r
-aWE("i13",9);\r
-aWE("i21",9);\r
-aWE("i22",9);\r
-aWE("i23",9);\r
-aWE("i31",9);\r
-aWE("i32",9);\r
-aWE("i33",9);\r
-aWE("id",1,6,5,12,10,16);\r
-aWE("if",5,12,10,9,16);\r
-aWE("ig",2,8);\r
-aWE("imag",13);\r
-aWE("import",2,6,8,9);\r
-aWE("importation",8);\r
-aWE("in",13);\r
-aWE("increas",12);\r
-aWE("independent",4,6);\r
-aWE("indic",10);\r
-aWE("inertia",9);\r
-aWE("inform",9);\r
-aWE("initial",13);\r
-aWE("inquir",9);\r
-aWE("inretia",9);\r
-aWE("insert",12);\r
-aWE("insid",10);\r
-aWE("integ",10);\r
-aWE("integer",10);\r
-aWE("intend",12);\r
-aWE("interactive",10);\r
-aWE("intermediat",14);\r
-aWE("internal",12);\r
-aWE("intersect",10);\r
-aWE("intersection",10);\r
-aWE("introduction",14,2);\r
-aWE("invalid",12);\r
-aWE("investigat",9);\r
-aWE("isbyparamet",12);\r
-aWE("iscommonvertex",12);\r
-aWE("iso",1);\r
-aWE("isolin",1);\r
-aWE("iteration",7);\r
-aWE("itself",12);\r
-aWE("ix",9);\r
-aWE("iy",9);\r
-aWE("iz",9);\r
-aWE("just",14);\r
-aWE("keep",13);\r
-aWE("last",3,5);\r
-aWE("lc",3);\r
-aWE("least",3);\r
-aWE("length",15,12,9);\r
-aWE("les",12);\r
-aWE("limit",10);\r
-aWE("lin",15,3,10);\r
-aWE("list",15,3,7,5,12,10,16);\r
-aWE("listoffaceid",10);\r
-aWE("listofgeomshap",12);\r
-aWE("listofid",5,12);\r
-aWE("listofkeepinsid",10);\r
-aWE("listofmaterial",10);\r
-aWE("listofremoveinsid",10);\r
-aWE("listofshap",3,5,12,10);\r
-aWE("listofshapeid",10);\r
-aWE("listoftool",10);\r
-aWE("listofwireid",12);\r
-aWE("local",15,3,13);\r
-aWE("locat",3);\r
-aWE("location",3,8,13);\r
-aWE("lwp",15);\r
-aWE("ly",15,12);\r
-aWE("main",14,0,15,3,4,6,7,5,11,12,13,10,9,16);\r
-aWE("mainshap",16);\r
-aWE("major",3,11);\r
-aWE("mak",13,10,16);\r
-aWE("makearc",3);\r
-aWE("makebezi",3);\r
-aWE("makeblockexplod",10);\r
-aWE("makeboolean",4);\r
-aWE("makebox",11);\r
-aWE("makecdg",9);\r
-aWE("makechamferedg",10);\r
-aWE("makechamferfac",10);\r
-aWE("makecircl",3);\r
-aWE("makecompound",5);\r
-aWE("makecon",11);\r
-aWE("makecylind",11);\r
-aWE("makeedg",5);\r
-aWE("makeellips",3);\r
-aWE("makefac",5);\r
-aWE("makefil",7);\r
-aWE("makefillet",10);\r
-aWE("makegluefac",12);\r
-aWE("makehexasolid",14);\r
-aWE("makehexasolidtwofac",14);\r
-aWE("makeinterpol",3);\r
-aWE("makelin",3);\r
-aWE("makemark",3);\r
-aWE("makemirrorbyplan",13);\r
-aWE("makemultirotation1d",13);\r
-aWE("makemultirotation2d",13);\r
-aWE("makemultitransformation1d",10);\r
-aWE("makemultitransformation2d",10);\r
-aWE("makemultitranslation1d",13);\r
-aWE("makemultitranslation2d",13);\r
-aWE("makeoffset",13);\r
-aWE("makepartition",10);\r
-aWE("makepip",7);\r
-aWE("makeplan",3);\r
-aWE("makepolylin",3);\r
-aWE("makeposition",13);\r
-aWE("makeprism",7);\r
-aWE("makequadfac",14);\r
-aWE("makequadfaceedg",14);\r
-aWE("makequadfacevertic",14);\r
-aWE("makerevolution",7);\r
-aWE("makerotation",13);\r
-aWE("makescaletransform",13);\r
-aWE("makesew",12);\r
-aWE("makeshell",5);\r
-aWE("makesketch",15);\r
-aWE("makesolid",5);\r
-aWE("makespher",11);\r
-aWE("maketoru",11);\r
-aWE("maketranslation",13);\r
-aWE("makevector",3);\r
-aWE("makevertex",3);\r
-aWE("makewir",5);\r
-aWE("manual",3);\r
-aWE("mas",9);\r
-aWE("material",10);\r
-aWE("matrix",9);\r
-aWE("max",7,12,10);\r
-aWE("maxdegre",7);\r
-aWE("maximal",7,12,10,9);\r
-aWE("maximum",12,10);\r
-aWE("maxnbfac",10);\r
-aWE("maxtoleranc",12);\r
-aWE("maxtolerance3d",12);\r
-aWE("mean",15,13);\r
-aWE("measur",9);\r
-aWE("measurement",9);\r
-aWE("mention",14);\r
-aWE("menu",14,0,1,15,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("merg",12);\r
-aWE("mesh",14,10);\r
-aWE("meshingdeflection",10);\r
-aWE("method",5);\r
-aWE("middl",3);\r
-aWE("min",7,10,9);\r
-aWE("mindegre",7);\r
-aWE("mindistanc",9);\r
-aWE("minimal",7,10,9);\r
-aWE("minimum",10);\r
-aWE("minnbfac",10);\r
-aWE("minor",3,11);\r
-aWE("mirror",13);\r
-aWE("mod",1,12);\r
-aWE("model",2,10);\r
-aWE("modifi",3,12,13);\r
-aWE("modification",12,13);\r
-aWE("modify",13);\r
-aWE("modul",2,6);\r
-aWE("moment",9);\r
-aWE("mov",13);\r
-aWE("much",16);\r
-aWE("multi",0,13,10);\r
-aWE("multitud",10);\r
-aWE("must",12,13,9);\r
-aWE("nam",14,3,4,8,7,5,11,12,13,10);\r
-aWE("nbit",7);\r
-aWE("nbsplitpoint",12);\r
-aWE("nbtim",13,10);\r
-aWE("nbtimes1",13);\r
-aWE("nbtimes2",13);\r
-aWE("nbtimesu",10);\r
-aWE("nbtimesv",10);\r
-aWE("necessary",15,6,12,9);\r
-aWE("need",12);\r
-aWE("negativ",13);\r
-aWE("neigbour",12);\r
-aWE("new",14,15,3,7,5,11,12,16);\r
-aWE("nod",3);\r
-aWE("noerror",12);\r
-aWE("normal",3,7,13);\r
-aWE("notion",14);\r
-aWE("numb",1,7,12,13,10);\r
-aWE("number",10);\r
-aWE("numeb",10);\r
-aWE("object",1,2,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("occ",1,6,12,16);\r
-aWE("occur",12);\r
-aWE("offer",16);\r
-aWE("offset",13);\r
-aWE("ok",3,8);\r
-aWE("on",15,3,4,6,12,13,10);\r
-aWE("open",12);\r
-aWE("openwir",12);\r
-aWE("operation",14,2,4,6,7,12,13,10,16);\r
-aWE("operator",12);\r
-aWE("opposit",11);\r
-aWE("optimization",2);\r
-aWE("option",0);\r
-aWE("ord",12,9);\r
-aWE("orient",14,3);\r
-aWE("origin",3,11);\r
-aWE("otherwis",12,13);\r
-aWE("outsid",10);\r
-aWE("ox",15,3);\r
-aWE("oy",3);\r
-aWE("oz",15,3);\r
-aWE("paramet",3,5,12);\r
-aWE("parameter",1,15,3,7,12);\r
-aWE("paramt",12);\r
-aWE("part",4,11);\r
-aWE("partition",10);\r
-aWE("pas",3);\r
-aWE("path",7);\r
-aWE("pathshap",7);\r
-aWE("pattern",13);\r
-aWE("perform",10,16);\r
-aWE("perpendicular",15);\r
-aWE("pip",7);\r
-aWE("plan",15,3,13,10);\r
-aWE("planar",15,3,5);\r
-aWE("platform",16);\r
-aWE("plung",10);\r
-aWE("point",14,15,3,11,12,13,9);\r
-aWE("point1",3);\r
-aWE("point2",3);\r
-aWE("point3",3);\r
-aWE("pointcoordinat",9);\r
-aWE("polylin",3);\r
-aWE("pop",1,6);\r
-aWE("position",3,12);\r
-aWE("possibility",12);\r
-aWE("possibl",6,12,10,9);\r
-aWE("precision",12);\r
-aWE("predefin",15);\r
-aWE("preferenc",16);\r
-aWE("pres",3);\r
-aWE("preview",3);\r
-aWE("previou",15);\r
-aWE("primitiv",2,11);\r
-aWE("print",9);\r
-aWE("prism",7);\r
-aWE("problem",12);\r
-aWE("proces",12,10);\r
-aWE("processshap",12);\r
-aWE("project",16);\r
-aWE("propagat",10);\r
-aWE("propagation",10);\r
-aWE("properti",1,9);\r
-aWE("put",10);\r
-aWE("python",9);\r
-aWE("quadrangl",14,3,9);\r
-aWE("radian",12);\r
-aWE("radiu",15,3,11,10);\r
-aWE("radius",3,11);\r
-aWE("radius1",11);\r
-aWE("radius2",11);\r
-aWE("radiusmajor",3,11);\r
-aWE("radiusminor",3,11);\r
-aWE("rang",2,12);\r
-aWE("re",12);\r
-aWE("reasonabl",6);\r
-aWE("reconstruction",10);\r
-aWE("referenc",3);\r
-aWE("regard",3);\r
-aWE("relativ",15);\r
-aWE("remov",12,13,16);\r
-aWE("removeobject",16);\r
-aWE("removeweb",10);\r
-aWE("repair",2,12);\r
-aWE("repetition",13);\r
-aWE("represent",3);\r
-aWE("request",5);\r
-aWE("requir",6,8,12);\r
-aWE("requireddegre",12);\r
-aWE("requirednbsegment",12);\r
-aWE("respect",15,12);\r
-aWE("restriction",12);\r
-aWE("result",14,15,3,4,7,5,11,12,13,10,9,16);\r
-aWE("resultant",12);\r
-aWE("retriev",5,12);\r
-aWE("return",5,12,10,9,16);\r
-aWE("revers",13);\r
-aWE("revolution",7,12);\r
-aWE("right",1,6);\r
-aWE("rotat",7,13);\r
-aWE("rotation",13);\r
-aWE("s",3,5,12,13,10,16);\r
-aWE("salom",2,16);\r
-aWE("sam",15,12);\r
-aWE("sameparamet",12);\r
-aWE("satisfy",9);\r
-aWE("scal",13);\r
-aWE("se",8,9);\r
-aWE("search",8);\r
-aWE("second",4,11,13,10);\r
-aWE("section",4,10);\r
-aWE("segment",15,12);\r
-aWE("select",0,1,15,3,4,6,8,7,5,11,12,10,9,16);\r
-aWE("selection",15,3,10);\r
-aWE("sens",10);\r
-aWE("serv",3,7);\r
-aWE("set",1,3,12,13,10);\r
-aWE("setcolor",1);\r
-aWE("setdisplaymod",1);\r
-aWE("settransparency",1);\r
-aWE("sew",12);\r
-aWE("sg",6);\r
-aWE("shad",1);\r
-aWE("shap",1,2,4,6,8,7,5,12,13,10,9,16);\r
-aWE("shape1",4,9);\r
-aWE("shape2",4,9);\r
-aWE("shapesto",12);\r
-aWE("shapetyp",10,16);\r
-aWE("shar",12);\r
-aWE("shel",5,12,13);\r
-aWE("shell",14,7,5,13);\r
-aWE("short",1);\r
-aWE("should",12,9);\r
-aWE("shown",3);\r
-aWE("sid",3);\r
-aWE("sign",13);\r
-aWE("six",14);\r
-aWE("siz",3,12,10);\r
-aWE("sketch",15);\r
-aWE("small",3,12);\r
-aWE("solid",14,7,5,11,13,10);\r
-aWE("soon",3);\r
-aWE("spac",3,9);\r
-aWE("specifi",3,12,10);\r
-aWE("specific",14);\r
-aWE("specify",12,13);\r
-aWE("spher",11);\r
-aWE("splin",3);\r
-aWE("split",12);\r
-aWE("splitangl",12);\r
-aWE("splitclosedfac",12);\r
-aWE("splitcontinuity",12);\r
-aWE("spot",12);\r
-aWE("stag",14);\r
-aWE("standard",8);\r
-aWE("start",15,3,13);\r
-aWE("step",2,8,13);\r
-aWE("step1",13);\r
-aWE("step2",13);\r
-aWE("str",15,8);\r
-aWE("strip",12);\r
-aWE("study",6);\r
-aWE("sub",5,12,16);\r
-aWE("submenu",0,5,12,9);\r
-aWE("subshap",5,10,16);\r
-aWE("subshapeall",5);\r
-aWE("subshapeid",16);\r
-aWE("suppres",12);\r
-aWE("suppressfac",12);\r
-aWE("suppresshol",12);\r
-aWE("suppressinternalwir",12);\r
-aWE("surfac",12,13,9);\r
-aWE("surfacecontinuity",12);\r
-aWE("surfacemod",12);\r
-aWE("symmetrical",13);\r
-aWE("symmetry",11,13);\r
-aWE("system",3,13);\r
-aWE("tangent",15);\r
-aWE("target",15,10);\r
-aWE("tetrahedral",14);\r
-aWE("theendlc",13);\r
-aWE("them",12);\r
-aWE("theobject",13);\r
-aWE("therefor",15);\r
-aWE("theshap",12);\r
-aWE("thestartlc",13);\r
-aWE("thetoleranc",12);\r
-aWE("tim",13);\r
-aWE("tobezi",12);\r
-aWE("toggl",16);\r
-aWE("tol2d",7);\r
-aWE("tol3d",7);\r
-aWE("toleranc",7,12,9);\r
-aWE("tolerance2d",12);\r
-aWE("tolerance3d",12);\r
-aWE("tool",9);\r
-aWE("toru",11);\r
-aWE("transform",4,13,10);\r
-aWE("transformation",0,2,13,10);\r
-aWE("translat",13);\r
-aWE("translation",13,10);\r
-aWE("transparency",1);\r
-aWE("trihedron",3);\r
-aWE("trimsiz",3);\r
-aWE("tru",12,10,9);\r
-aWE("tui",14,1,15,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("tupl",9);\r
-aWE("two",14,4,11,12,13,10,9);\r
-aWE("typ",15,4,5,11,12,10,9,16);\r
-aWE("typeofshap",5);\r
-aWE("underly",12);\r
-aWE("up",1,6,11,10);\r
-aWE("updat",3);\r
-aWE("us",14,2,15,3,4,6,7,5,12,13,10,9,16);\r
-aWE("useful",16);\r
-aWE("v1",14);\r
-aWE("v2",14);\r
-aWE("v3",14);\r
-aWE("v4",14);\r
-aWE("val",12);\r
-aWE("valid",9);\r
-aWE("validity",9);\r
-aWE("valu",1,15,3,7,11,12,13,10,9);\r
-aWE("variou",12);\r
-aWE("vector",15,3,7,11,13);\r
-aWE("vertex",3,7,5,11,12,13,9);\r
-aWE("vertex1",5);\r
-aWE("vertex2",5);\r
-aWE("vertexmaxtol",9);\r
-aWE("vertexmintol",9);\r
-aWE("vertic",14,3,5,11,12,13);\r
-aWE("via",14,15,13,16);\r
-aWE("view",1,3,6,12,9,16);\r
-aWE("viewer",6);\r
-aWE("visibility",6);\r
-aWE("visualization",1,6);\r
-aWE("volum",9);\r
-aWE("vtk",6);\r
-aWE("vx",15);\r
-aWE("wantplanarfac",5);\r
-aWE("wat",10);\r
-aWE("waterdensity",10);\r
-aWE("weight",10);\r
-aWE("whati",9);\r
-aWE("wheth",9);\r
-aWE("whil",12);\r
-aWE("whos",5,9);\r
-aWE("wid",2);\r
-aWE("will",3,8,12,13,10);\r
-aWE("wir",14,7,5,12);\r
-aWE("wirefram",1);\r
-aWE("wish",8);\r
-aWE("within",1,12);\r
-aWE("work",15,3,6,12,16);\r
-aWE("x",15,3,9);\r
-aWE("x1",11);\r
-aWE("x2",11);\r
-aWE("xdx",3);\r
-aWE("xdy",3);\r
-aWE("xdz",3);\r
-aWE("xmax",9);\r
-aWE("xmin",9);\r
-aWE("xoy",15);\r
-aWE("xyz",3);\r
-aWE("y",15,3,9);\r
-aWE("y1",11);\r
-aWE("y2",11);\r
-aWE("ydx",3);\r
-aWE("ydy",3);\r
-aWE("ydz",3);\r
-aWE("ymax",9);\r
-aWE("ymin",9);\r
-aWE("your",8,12,9,16);\r
-aWE("z",3,10,9);\r
-aWE("z1",11);\r
-aWE("z2",11);\r
-aWE("zmax",9);\r
-aWE("zmin",9);\r
-\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whfwdata0.xml b/doc/salome/gui/GEOM/whdata/whfwdata0.xml
deleted file mode 100755 (executable)
index 63e6370..0000000
+++ /dev/null
@@ -1,728 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<ftswdata>\r
-<key name="«apply»"> 3, </key>\r
-<key name="«ok»"> 3, </key>\r
-<key name="0"> 1,12, </key>\r
-<key name="1"> 1,15,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="1d"> 10,3, </key>\r
-<key name="1st"> 11,12,10,13,3, </key>\r
-<key name="2"> 14,1,15,11,12,9,10,5,13,4,3, </key>\r
-<key name="2d"> 12,7,10,5,4,3, </key>\r
-<key name="2nd"> 11,12,10,13,3, </key>\r
-<key name="3"> 15,11,12,10,13,4,3, </key>\r
-<key name="3d"> 11,12,7,9,10,6,5,4,3, </key>\r
-<key name="3rd"> 10,3, </key>\r
-<key name="4"> 14,15,12,10,4, </key>\r
-<key name="5"> 15,12,7, </key>\r
-<key name="6"> 14,12, </key>\r
-<key name="7"> 12, </key>\r
-<key name="8"> 12, </key>\r
-<key name="9"> 15,12, </key>\r
-<key name="90"> 15, </key>\r
-<key name="abl"> 15, </key>\r
-<key name="absolut"> 15, </key>\r
-<key name="accord"> 12,3, </key>\r
-<key name="accordanc"> 12, </key>\r
-<key name="achiev"> 12, </key>\r
-<key name="ad"> 12,16, </key>\r
-<key name="add"> 12, </key>\r
-<key name="addobject"> 16, </key>\r
-<key name="adjustment"> 12, </key>\r
-<key name="advanc"> 7,5, </key>\r
-<key name="aim"> 10, </key>\r
-<key name="algorithm"> 10, </key>\r
-<key name="allow"> 14,15,8,13,16, </key>\r
-<key name="along"> 7,10,13, </key>\r
-<key name="angl"> 15,12,7,13, </key>\r
-<key name="anoth"> 4, </key>\r
-<key name="any"> 12, </key>\r
-<key name="ap"> 12, </key>\r
-<key name="appli"> 10, </key>\r
-<key name="applicabl"> 13, </key>\r
-<key name="apply"> 12, </key>\r
-<key name="approximation"> 12, </key>\r
-<key name="arc"> 15,3, </key>\r
-<key name="archimed"> 10, </key>\r
-<key name="argument"> 14,1,15,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="around"> 7, </key>\r
-<key name="associat"> 6, </key>\r
-<key name="attribut"> 6, </key>\r
-<key name="automatical"> 14,3, </key>\r
-<key name="availabl"> 6, </key>\r
-<key name="ax"> 3, </key>\r
-<key name="axi"> 11,7,9,13,3, </key>\r
-<key name="b"> 3, </key>\r
-<key name="back"> 12, </key>\r
-<key name="bas"> 11,12,7,13, </key>\r
-<key name="baseshap"> 7, </key>\r
-<key name="basi"> 7, </key>\r
-<key name="basic"> 2,15,9,10,5,3, </key>\r
-<key name="basicproperti"> 9, </key>\r
-<key name="befor"> 15,12, </key>\r
-<key name="below"> 14, </key>\r
-<key name="bezi"> 12,3, </key>\r
-<key name="block"> 14,0,10, </key>\r
-<key name="boolean"> 2,9,5,4, </key>\r
-<key name="both"> 6, </key>\r
-<key name="bound"> 9, </key>\r
-<key name="boundari"> 12, </key>\r
-<key name="boundary"> 12, </key>\r
-<key name="boundingbox"> 9, </key>\r
-<key name="box"> 14,1,15,8,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="brep"> 2,8, </key>\r
-<key name="brows"> 8,6,3, </key>\r
-<key name="bsplin"> 12, </key>\r
-<key name="bsplinerestriction"> 12, </key>\r
-<key name="build"> 14,0,2,10,5, </key>\r
-<key name="button"> 3, </key>\r
-<key name="bypas"> 14, </key>\r
-<key name="cad"> 2, </key>\r
-<key name="camera"> 3, </key>\r
-<key name="cas"> 14,12,3, </key>\r
-<key name="cent"> 15,11,9,13,3, </key>\r
-<key name="centerofscal"> 13, </key>\r
-<key name="central"> 11, </key>\r
-<key name="chamf"> 10, </key>\r
-<key name="chang"> 1, </key>\r
-<key name="check"> 12,9,10, </key>\r
-<key name="checkshap"> 9, </key>\r
-<key name="choos"> 8,10,6, </key>\r
-<key name="circl"> 3, </key>\r
-<key name="click"> 1,8,6, </key>\r
-<key name="clos"> 12,5, </key>\r
-<key name="closecontour"> 12, </key>\r
-<key name="closedwir"> 12, </key>\r
-<key name="closur"> 12, </key>\r
-<key name="coincident"> 12, </key>\r
-<key name="color"> 1, </key>\r
-<key name="command"> 14,1,15,8,11,12,7,9,10,6,5,13,4,3,16, </key>\r
-<key name="common"> 12,4, </key>\r
-<key name="complex"> 2,7,10,4, </key>\r
-<key name="component"> 15,13,3, </key>\r
-<key name="compos"> 14,9, </key>\r
-<key name="compound"> 14,12,10,5,13,4, </key>\r
-<key name="compsolid"> 7, </key>\r
-<key name="comput"> 9,10, </key>\r
-<key name="con"> 11, </key>\r
-<key name="concern"> 9, </key>\r
-<key name="confirm"> 8, </key>\r
-<key name="conical"> 12, </key>\r
-<key name="connect"> 10,5, </key>\r
-<key name="consider"> 12, </key>\r
-<key name="constraint"> 14, </key>\r
-<key name="construct"> 14,11,5, </key>\r
-<key name="construction"> 2,4, </key>\r
-<key name="constructor"> 11,12,10,13,3, </key>\r
-<key name="contain"> 15,8,12, </key>\r
-<key name="content"> 8, </key>\r
-<key name="context"> 12, </key>\r
-<key name="continuiti"> 12, </key>\r
-<key name="continuity"> 12, </key>\r
-<key name="continuity2d"> 12, </key>\r
-<key name="continuity3d"> 12, </key>\r
-<key name="contour"> 12, </key>\r
-<key name="conversion"> 12, </key>\r
-<key name="coordinat"> 15,11,9,13,3, </key>\r
-<key name="copy"> 13, </key>\r
-<key name="corner"> 11, </key>\r
-<key name="correction"> 12, </key>\r
-<key name="correspond"> 11,12,7,10,5,3, </key>\r
-<key name="coupl"> 15, </key>\r
-<key name="creat"> 14,15,11,12,7,9,10,6,5,13,3,16, </key>\r
-<key name="creategroup"> 16, </key>\r
-<key name="creation"> 2,12,7,10, </key>\r
-<key name="current"> 15,6, </key>\r
-<key name="curv"> 15,12,7,3, </key>\r
-<key name="curve2dmod"> 12, </key>\r
-<key name="curve3dmod"> 12, </key>\r
-<key name="curvecontinuity"> 12, </key>\r
-<key name="cut"> 12,4, </key>\r
-<key name="cylind"> 11, </key>\r
-<key name="cylindrical"> 12, </key>\r
-<key name="d1"> 10, </key>\r
-<key name="d2"> 10, </key>\r
-<key name="data"> 9, </key>\r
-<key name="default"> 15, </key>\r
-<key name="defin"> 15,11,12,10,3, </key>\r
-<key name="definit"> 9, </key>\r
-<key name="definition"> 12,7, </key>\r
-<key name="deflection"> 10, </key>\r
-<key name="degre"> 15,12,7, </key>\r
-<key name="delet"> 10, </key>\r
-<key name="density"> 10, </key>\r
-<key name="depend"> 10, </key>\r
-<key name="describ"> 8, </key>\r
-<key name="description"> 14,1,15,11,12,7,9,10,6,5,13,4,3,16, </key>\r
-<key name="desir"> 12, </key>\r
-<key name="destin"> 2, </key>\r
-<key name="destination"> 15, </key>\r
-<key name="detect"> 12, </key>\r
-<key name="detection"> 12, </key>\r
-<key name="diagonal"> 11, </key>\r
-<key name="dialog"> 14,1,15,8,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="dif"> 6, </key>\r
-<key name="different"> 1,11,9,6, </key>\r
-<key name="dimension"> 11,7,9,10, </key>\r
-<key name="dir"> 13, </key>\r
-<key name="dir1"> 13, </key>\r
-<key name="dir2"> 13, </key>\r
-<key name="direction"> 15,11,7,10,13,3, </key>\r
-<key name="dirface1v"> 10, </key>\r
-<key name="dirfaceid1"> 10, </key>\r
-<key name="dirfaceid1u"> 10, </key>\r
-<key name="dirfaceid1v"> 10, </key>\r
-<key name="dirfaceid2"> 10, </key>\r
-<key name="dirfaceid2u"> 10, </key>\r
-<key name="dirfaceid2v"> 10, </key>\r
-<key name="display"> 1,8,9,6,3, </key>\r
-<key name="displayall"> 6, </key>\r
-<key name="displayon"> 6, </key>\r
-<key name="distanc"> 12,9,13, </key>\r
-<key name="divid"> 12, </key>\r
-<key name="divideedg"> 12, </key>\r
-<key name="don"> 12,13, </key>\r
-<key name="doubl"> 1,15, </key>\r
-<key name="dropsmalledg"> 12, </key>\r
-<key name="dx"> 15,13, </key>\r
-<key name="dy"> 15,13, </key>\r
-<key name="dz"> 13, </key>\r
-<key name="e"> 6, </key>\r
-<key name="e1"> 14, </key>\r
-<key name="e2"> 14, </key>\r
-<key name="e3"> 14, </key>\r
-<key name="e4"> 14, </key>\r
-<key name="edg"> 14,11,12,7,10,5,13,3, </key>\r
-<key name="edgeid"> 12, </key>\r
-<key name="edit"> 16, </key>\r
-<key name="egdemaxtol"> 9, </key>\r
-<key name="egdemintol"> 9, </key>\r
-<key name="eith"> 14, </key>\r
-<key name="element"> 15,11,12,7,9,6,5,4,3, </key>\r
-<key name="elementary"> 14, </key>\r
-<key name="ellips"> 3, </key>\r
-<key name="empty"> 12, </key>\r
-<key name="end"> 15,12,13,3, </key>\r
-<key name="ent"> 8,3, </key>\r
-<key name="entity"> 15,11,7,5,3,16, </key>\r
-<key name="equal"> 15, </key>\r
-<key name="eras"> 6, </key>\r
-<key name="eraseall"> 6, </key>\r
-<key name="eraseon"> 6, </key>\r
-<key name="error"> 12, </key>\r
-<key name="etc"> 12,5, </key>\r
-<key name="exampl"> 14,1,15,11,12,7,10,5,13,4,3,16, </key>\r
-<key name="except"> 12, </key>\r
-<key name="exist"> 15,16, </key>\r
-<key name="explod"> 0,10,5, </key>\r
-<key name="export"> 2,8, </key>\r
-<key name="exportation"> 8, </key>\r
-<key name="extract"> 10, </key>\r
-<key name="extrud"> 7, </key>\r
-<key name="extrusion"> 7, </key>\r
-<key name="f1"> 14, </key>\r
-<key name="f2"> 14, </key>\r
-<key name="f3"> 14, </key>\r
-<key name="f4"> 14, </key>\r
-<key name="f5"> 14, </key>\r
-<key name="f6"> 14, </key>\r
-<key name="fac"> 14,12,7,10,5,13,3, </key>\r
-<key name="face1"> 10, </key>\r
-<key name="face2"> 10, </key>\r
-<key name="facemaxtol"> 9, </key>\r
-<key name="facemintol"> 9, </key>\r
-<key name="factor"> 13, </key>\r
-<key name="fals"> 12, </key>\r
-<key name="field"> 3, </key>\r
-<key name="fil"> 8,7,3, </key>\r
-<key name="filenam"> 8, </key>\r
-<key name="fill"> 7, </key>\r
-<key name="fillet"> 10, </key>\r
-<key name="first"> 11,10,5,13,4,3, </key>\r
-<key name="fix"> 12, </key>\r
-<key name="fixfacesiz"> 12, </key>\r
-<key name="fixshap"> 12, </key>\r
-<key name="follow"> 14,6,5,4, </key>\r
-<key name="format"> 2,8, </key>\r
-<key name="formatnam"> 8, </key>\r
-<key name="four"> 14, </key>\r
-<key name="fre"> 12, </key>\r
-<key name="function"> 2,5, </key>\r
-<key name="fus"> 4, </key>\r
-<key name="gap"> 12, </key>\r
-<key name="general"> 14, </key>\r
-<key name="generat"> 7, </key>\r
-<key name="generation"> 2,7, </key>\r
-<key name="geom"> 1,2,8,11,7,9,10,6,5,13,4,3, </key>\r
-<key name="geom_object"> 14,15,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="geometric"> 14, </key>\r
-<key name="geometrical"> 1,2,8,11,12,7,9,10,6,5,13,4,3,16, </key>\r
-<key name="geometry"> 12, </key>\r
-<key name="geompy"> 14,15,8,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="get"> 9,5,4, </key>\r
-<key name="getfreeboundary"> 12, </key>\r
-<key name="getobjectid"> 16, </key>\r
-<key name="getsubshapeid"> 5, </key>\r
-<key name="gg"> 1, </key>\r
-<key name="giv"> 3, </key>\r
-<key name="given"> 12,10,5,13,3, </key>\r
-<key name="glu"> 12,10, </key>\r
-<key name="graphic"> 6, </key>\r
-<key name="gravity"> 9, </key>\r
-<key name="group"> 16, </key>\r
-<key name="gui"> 10, </key>\r
-<key name="half"> 3, </key>\r
-<key name="hav"> 12,5, </key>\r
-<key name="height"> 11,7, </key>\r
-<key name="hexahedral"> 14,10, </key>\r
-<key name="hexahedron"> 14, </key>\r
-<key name="hid"> 6, </key>\r
-<key name="highlight"> 12, </key>\r
-<key name="hol"> 12, </key>\r
-<key name="i"> 6, </key>\r
-<key name="i11"> 9, </key>\r
-<key name="i12"> 9, </key>\r
-<key name="i13"> 9, </key>\r
-<key name="i21"> 9, </key>\r
-<key name="i22"> 9, </key>\r
-<key name="i23"> 9, </key>\r
-<key name="i31"> 9, </key>\r
-<key name="i32"> 9, </key>\r
-<key name="i33"> 9, </key>\r
-<key name="id"> 1,12,10,6,5,16, </key>\r
-<key name="if"> 12,9,10,5, </key>\r
-<key name="ig"> 2,8, </key>\r
-<key name="imag"> 13, </key>\r
-<key name="import"> 2,8,9,6, </key>\r
-<key name="importation"> 8, </key>\r
-<key name="in"> 13, </key>\r
-<key name="increas"> 12, </key>\r
-<key name="independent"> 6,4, </key>\r
-<key name="indic"> 10, </key>\r
-<key name="inertia"> 9, </key>\r
-<key name="initial"> 13, </key>\r
-<key name="inquir"> 9, </key>\r
-<key name="insert"> 12, </key>\r
-<key name="insid"> 10, </key>\r
-<key name="integ"> 10, </key>\r
-<key name="integer"> 10, </key>\r
-<key name="intend"> 12, </key>\r
-<key name="interactive"> 10, </key>\r
-<key name="intermediat"> 14, </key>\r
-<key name="internal"> 12, </key>\r
-<key name="intersect"> 10, </key>\r
-<key name="intersection"> 10, </key>\r
-<key name="introduction"> 14,2, </key>\r
-<key name="invalid"> 12, </key>\r
-<key name="isbyparamet"> 12, </key>\r
-<key name="iscommonvertex"> 12, </key>\r
-<key name="iso"> 1, </key>\r
-<key name="isolin"> 1, </key>\r
-<key name="iteration"> 7, </key>\r
-<key name="itself"> 12, </key>\r
-<key name="ix"> 9, </key>\r
-<key name="iy"> 9, </key>\r
-<key name="iz"> 9, </key>\r
-<key name="just"> 14, </key>\r
-<key name="last"> 5,3, </key>\r
-<key name="lc"> 3, </key>\r
-<key name="least"> 3, </key>\r
-<key name="length"> 15,12,9, </key>\r
-<key name="les"> 12, </key>\r
-<key name="limit"> 10, </key>\r
-<key name="lin"> 15,10,3, </key>\r
-<key name="list"> 15,12,7,10,5,3,16, </key>\r
-<key name="listoffaceid"> 10, </key>\r
-<key name="listofgeomshap"> 12, </key>\r
-<key name="listofid"> 12,5, </key>\r
-<key name="listofkeepinsid"> 10, </key>\r
-<key name="listofmaterial"> 10, </key>\r
-<key name="listofremoveinsid"> 10, </key>\r
-<key name="listofshap"> 12,10,5,3, </key>\r
-<key name="listofshapeid"> 10, </key>\r
-<key name="listoftool"> 10, </key>\r
-<key name="listofwireid"> 12, </key>\r
-<key name="local"> 15,12,13,3, </key>\r
-<key name="locat"> 3, </key>\r
-<key name="location"> 8,13,3, </key>\r
-<key name="lwp"> 15, </key>\r
-<key name="ly"> 15,12, </key>\r
-<key name="main"> 0,11,12,7,9,10,6,5,4,3,16, </key>\r
-<key name="mainshap"> 16, </key>\r
-<key name="major"> 11,3, </key>\r
-<key name="mak"> 10,13, </key>\r
-<key name="makearc"> 3, </key>\r
-<key name="makebezi"> 3, </key>\r
-<key name="makeblockexplod"> 10, </key>\r
-<key name="makeboolean"> 4, </key>\r
-<key name="makebox"> 11, </key>\r
-<key name="makecdg"> 9, </key>\r
-<key name="makechamferedg"> 10, </key>\r
-<key name="makechamferfac"> 10, </key>\r
-<key name="makecircl"> 3, </key>\r
-<key name="makecompound"> 5, </key>\r
-<key name="makecon"> 11, </key>\r
-<key name="makecylind"> 11, </key>\r
-<key name="makeedg"> 5, </key>\r
-<key name="makeellips"> 3, </key>\r
-<key name="makefac"> 5, </key>\r
-<key name="makefil"> 7, </key>\r
-<key name="makefillet"> 10, </key>\r
-<key name="makegluefac"> 12, </key>\r
-<key name="makehexasolid"> 14, </key>\r
-<key name="makehexasolidtwofac"> 14, </key>\r
-<key name="makeinterpol"> 3, </key>\r
-<key name="makelin"> 3, </key>\r
-<key name="makemark"> 3, </key>\r
-<key name="makemirrorbyplan"> 13, </key>\r
-<key name="makemultirotation1d"> 13, </key>\r
-<key name="makemultirotation2d"> 13, </key>\r
-<key name="makemultitransformation1d"> 10, </key>\r
-<key name="makemultitransformation2d"> 10, </key>\r
-<key name="makemultitranslation1d"> 13, </key>\r
-<key name="makemultitranslation2d"> 13, </key>\r
-<key name="makeoffset"> 13, </key>\r
-<key name="makepartition"> 10, </key>\r
-<key name="makepip"> 7, </key>\r
-<key name="makeplan"> 3, </key>\r
-<key name="makepolylin"> 3, </key>\r
-<key name="makeposition"> 13, </key>\r
-<key name="makeprism"> 7, </key>\r
-<key name="makequadfac"> 14, </key>\r
-<key name="makequadfaceedg"> 14, </key>\r
-<key name="makequadfacevertic"> 14, </key>\r
-<key name="makerevolution"> 7, </key>\r
-<key name="makerotation"> 13, </key>\r
-<key name="makescaletransform"> 13, </key>\r
-<key name="makesew"> 12, </key>\r
-<key name="makeshell"> 5, </key>\r
-<key name="makesketch"> 15, </key>\r
-<key name="makesolid"> 5, </key>\r
-<key name="makespher"> 11, </key>\r
-<key name="maketoru"> 11, </key>\r
-<key name="maketranslation"> 13, </key>\r
-<key name="makevector"> 3, </key>\r
-<key name="makevertex"> 3, </key>\r
-<key name="makewir"> 5, </key>\r
-<key name="manual"> 3, </key>\r
-<key name="mas"> 9, </key>\r
-<key name="material"> 10, </key>\r
-<key name="matrix"> 9, </key>\r
-<key name="max"> 12,7,10, </key>\r
-<key name="maxdegre"> 7, </key>\r
-<key name="maximal"> 12,7,9,10, </key>\r
-<key name="maximum"> 12,10, </key>\r
-<key name="maxnbfac"> 10, </key>\r
-<key name="maxtoleranc"> 12, </key>\r
-<key name="maxtolerance3d"> 12, </key>\r
-<key name="mean"> 15,13, </key>\r
-<key name="measur"> 9, </key>\r
-<key name="measurement"> 9, </key>\r
-<key name="mention"> 14, </key>\r
-<key name="menu"> 0,1,8,11,12,7,9,10,6,5,4,3,16, </key>\r
-<key name="merg"> 12, </key>\r
-<key name="mesh"> 14,10, </key>\r
-<key name="meshingdeflection"> 10, </key>\r
-<key name="method"> 5, </key>\r
-<key name="middl"> 3, </key>\r
-<key name="min"> 7,9,10, </key>\r
-<key name="mindegre"> 7, </key>\r
-<key name="mindistanc"> 9, </key>\r
-<key name="minimal"> 7,9,10, </key>\r
-<key name="minimum"> 10, </key>\r
-<key name="minnbfac"> 10, </key>\r
-<key name="minor"> 11,3, </key>\r
-<key name="mirror"> 13, </key>\r
-<key name="mod"> 1,12, </key>\r
-<key name="model"> 2,10, </key>\r
-<key name="modifi"> 12,13,3, </key>\r
-<key name="modification"> 12,13, </key>\r
-<key name="modify"> 13, </key>\r
-<key name="modul"> 2,6, </key>\r
-<key name="moment"> 9, </key>\r
-<key name="mov"> 13, </key>\r
-<key name="multi"> 0,10,13, </key>\r
-<key name="must"> 12,13, </key>\r
-<key name="nam"> 8,12, </key>\r
-<key name="nbit"> 7, </key>\r
-<key name="nbsplitpoint"> 12, </key>\r
-<key name="nbtim"> 10,13, </key>\r
-<key name="nbtimes1"> 13, </key>\r
-<key name="nbtimes2"> 13, </key>\r
-<key name="nbtimesu"> 10, </key>\r
-<key name="nbtimesv"> 10, </key>\r
-<key name="necessary"> 15,12,9,6, </key>\r
-<key name="need"> 12, </key>\r
-<key name="negativ"> 13, </key>\r
-<key name="neigbour"> 12, </key>\r
-<key name="new"> 15,11,12,7,5,3,16, </key>\r
-<key name="noerror"> 12, </key>\r
-<key name="normal"> 7,13,3, </key>\r
-<key name="notion"> 14, </key>\r
-<key name="numb"> 1,12,7,10,13, </key>\r
-<key name="number"> 10, </key>\r
-<key name="numeb"> 10, </key>\r
-<key name="object"> 1,2,8,11,12,7,9,10,6,5,13,4,3,16, </key>\r
-<key name="occ"> 1,6, </key>\r
-<key name="occur"> 12, </key>\r
-<key name="offset"> 13, </key>\r
-<key name="ok"> 8, </key>\r
-<key name="on"> 15,12,10,6,13,4, </key>\r
-<key name="open"> 12, </key>\r
-<key name="openwir"> 12, </key>\r
-<key name="operation"> 14,2,12,7,10,6,13,4,16, </key>\r
-<key name="operator"> 12, </key>\r
-<key name="opposit"> 11, </key>\r
-<key name="optimization"> 2, </key>\r
-<key name="option"> 0, </key>\r
-<key name="ord"> 12, </key>\r
-<key name="orient"> 14,3, </key>\r
-<key name="origin"> 11,3, </key>\r
-<key name="otherwis"> 12, </key>\r
-<key name="outsid"> 10, </key>\r
-<key name="ox"> 15,3, </key>\r
-<key name="oy"> 3, </key>\r
-<key name="oz"> 15,3, </key>\r
-<key name="paramet"> 12,5,3, </key>\r
-<key name="parameter"> 1,15,12,7,3, </key>\r
-<key name="paramt"> 12, </key>\r
-<key name="part"> 11,4, </key>\r
-<key name="partition"> 10, </key>\r
-<key name="pas"> 3, </key>\r
-<key name="path"> 7, </key>\r
-<key name="pathshap"> 7, </key>\r
-<key name="pattern"> 13, </key>\r
-<key name="perform"> 10,16, </key>\r
-<key name="perpendicular"> 15, </key>\r
-<key name="pip"> 7, </key>\r
-<key name="plan"> 15,10,13,3, </key>\r
-<key name="planar"> 15,5, </key>\r
-<key name="plung"> 10, </key>\r
-<key name="point"> 14,15,11,12,9,13,3, </key>\r
-<key name="point1"> 3, </key>\r
-<key name="point2"> 3, </key>\r
-<key name="point3"> 3, </key>\r
-<key name="pointcoordinat"> 9, </key>\r
-<key name="polylin"> 3, </key>\r
-<key name="pop"> 1,6, </key>\r
-<key name="position"> 12,3, </key>\r
-<key name="possibility"> 12, </key>\r
-<key name="possibl"> 12,6, </key>\r
-<key name="precision"> 12, </key>\r
-<key name="predefin"> 15, </key>\r
-<key name="pres"> 3, </key>\r
-<key name="preview"> 3, </key>\r
-<key name="previou"> 15, </key>\r
-<key name="primitiv"> 2,11, </key>\r
-<key name="prism"> 7, </key>\r
-<key name="problem"> 12, </key>\r
-<key name="proces"> 12,10, </key>\r
-<key name="processshap"> 12, </key>\r
-<key name="properti"> 1,9, </key>\r
-<key name="put"> 10, </key>\r
-<key name="python"> 9, </key>\r
-<key name="quadrangl"> 14,3, </key>\r
-<key name="radian"> 12, </key>\r
-<key name="radiu"> 15,11,10,3, </key>\r
-<key name="radius"> 11,3, </key>\r
-<key name="radius1"> 11, </key>\r
-<key name="radius2"> 11, </key>\r
-<key name="radiusmajor"> 11,3, </key>\r
-<key name="radiusminor"> 11,3, </key>\r
-<key name="rang"> 2,12, </key>\r
-<key name="re"> 12, </key>\r
-<key name="reasonabl"> 6, </key>\r
-<key name="reconstruction"> 10, </key>\r
-<key name="relativ"> 15, </key>\r
-<key name="remov"> 12,16, </key>\r
-<key name="removeobject"> 16, </key>\r
-<key name="removeweb"> 10, </key>\r
-<key name="repair"> 2,12, </key>\r
-<key name="repetition"> 13, </key>\r
-<key name="represent"> 3, </key>\r
-<key name="request"> 5, </key>\r
-<key name="requir"> 8,12,6, </key>\r
-<key name="requireddegre"> 12, </key>\r
-<key name="requirednbsegment"> 12, </key>\r
-<key name="respect"> 15,12, </key>\r
-<key name="restriction"> 12, </key>\r
-<key name="result"> 14,15,11,12,7,9,10,5,13,4,3,16, </key>\r
-<key name="resultant"> 12, </key>\r
-<key name="retriev"> 5, </key>\r
-<key name="return"> 9,10,5,16, </key>\r
-<key name="revolution"> 12,7, </key>\r
-<key name="right"> 1,6, </key>\r
-<key name="rotat"> 7,13, </key>\r
-<key name="rotation"> 13, </key>\r
-<key name="s"> 12,10,5,3,16, </key>\r
-<key name="salom"> 2, </key>\r
-<key name="sam"> 15,12, </key>\r
-<key name="sameparamet"> 12, </key>\r
-<key name="scal"> 13, </key>\r
-<key name="se"> 8, </key>\r
-<key name="search"> 8, </key>\r
-<key name="second"> 11,10,13,4, </key>\r
-<key name="section"> 10,4, </key>\r
-<key name="segment"> 15,12, </key>\r
-<key name="select"> 0,1,15,8,11,12,7,9,10,6,5,4,3,16, </key>\r
-<key name="selection"> 15,12,10, </key>\r
-<key name="sens"> 10, </key>\r
-<key name="serv"> 7, </key>\r
-<key name="set"> 1,12,10,13,3, </key>\r
-<key name="setcolor"> 1, </key>\r
-<key name="setdisplaymod"> 1, </key>\r
-<key name="settransparency"> 1, </key>\r
-<key name="sew"> 12, </key>\r
-<key name="sg"> 6, </key>\r
-<key name="shad"> 1, </key>\r
-<key name="shap"> 1,2,8,12,7,9,10,6,5,13,4,16, </key>\r
-<key name="shape1"> 9,4, </key>\r
-<key name="shape2"> 9,4, </key>\r
-<key name="shapesto"> 12, </key>\r
-<key name="shapetyp"> 10,16, </key>\r
-<key name="shel"> 5,13, </key>\r
-<key name="shell"> 14,12,7,5,13, </key>\r
-<key name="short"> 1, </key>\r
-<key name="shown"> 3, </key>\r
-<key name="sid"> 3, </key>\r
-<key name="sign"> 13, </key>\r
-<key name="six"> 14, </key>\r
-<key name="siz"> 12,10,3, </key>\r
-<key name="sketch"> 15, </key>\r
-<key name="small"> 12,3, </key>\r
-<key name="solid"> 14,11,7,10,5,13, </key>\r
-<key name="soon"> 3, </key>\r
-<key name="spac"> 9,3, </key>\r
-<key name="specifi"> 12,10,3, </key>\r
-<key name="specific"> 14, </key>\r
-<key name="specify"> 12, </key>\r
-<key name="spher"> 11, </key>\r
-<key name="splin"> 3, </key>\r
-<key name="split"> 12, </key>\r
-<key name="splitangl"> 12, </key>\r
-<key name="splitclosedfac"> 12, </key>\r
-<key name="splitcontinuity"> 12, </key>\r
-<key name="spot"> 12, </key>\r
-<key name="stag"> 14, </key>\r
-<key name="standard"> 8, </key>\r
-<key name="start"> 15,13,3, </key>\r
-<key name="step"> 14,2,8,13, </key>\r
-<key name="step1"> 13, </key>\r
-<key name="step2"> 13, </key>\r
-<key name="str"> 15,8, </key>\r
-<key name="strip"> 12, </key>\r
-<key name="study"> 6, </key>\r
-<key name="sub"> 12,5,16, </key>\r
-<key name="submenu"> 0,12,9,5, </key>\r
-<key name="subshap"> 10,5,16, </key>\r
-<key name="subshapeall"> 5, </key>\r
-<key name="subshapeid"> 16, </key>\r
-<key name="suppres"> 12, </key>\r
-<key name="suppressfac"> 12, </key>\r
-<key name="suppresshol"> 12, </key>\r
-<key name="suppressinternalwir"> 12, </key>\r
-<key name="surfac"> 12,9,13, </key>\r
-<key name="surfacecontinuity"> 12, </key>\r
-<key name="surfacemod"> 12, </key>\r
-<key name="symmetrical"> 13, </key>\r
-<key name="symmetry"> 11,13, </key>\r
-<key name="system"> 13,3, </key>\r
-<key name="tak"> 14, </key>\r
-<key name="tangent"> 15, </key>\r
-<key name="target"> 15,10, </key>\r
-<key name="tetrahedral"> 14, </key>\r
-<key name="theendlc"> 13, </key>\r
-<key name="them"> 12, </key>\r
-<key name="theobject"> 13, </key>\r
-<key name="therefor"> 15, </key>\r
-<key name="theshap"> 12, </key>\r
-<key name="thestartlc"> 13, </key>\r
-<key name="thetoleranc"> 12, </key>\r
-<key name="tim"> 13, </key>\r
-<key name="tobezi"> 12, </key>\r
-<key name="tol2d"> 7, </key>\r
-<key name="tol3d"> 7, </key>\r
-<key name="toleranc"> 12,7,9, </key>\r
-<key name="tolerance2d"> 12, </key>\r
-<key name="tolerance3d"> 12, </key>\r
-<key name="tool"> 9, </key>\r
-<key name="toru"> 11, </key>\r
-<key name="transform"> 10,13,4, </key>\r
-<key name="transformation"> 0,2,10,13, </key>\r
-<key name="translat"> 13, </key>\r
-<key name="translation"> 10,13, </key>\r
-<key name="transparency"> 1, </key>\r
-<key name="travers"> 12, </key>\r
-<key name="trihedron"> 3, </key>\r
-<key name="trimsiz"> 3, </key>\r
-<key name="tru"> 12,9,10, </key>\r
-<key name="tui"> 14,1,15,8,11,12,7,9,10,6,5,13,4,3,16, </key>\r
-<key name="tupl"> 9, </key>\r
-<key name="two"> 14,11,12,10,13, </key>\r
-<key name="typ"> 15,11,12,9,10,5,4,16, </key>\r
-<key name="typeofshap"> 5, </key>\r
-<key name="underly"> 12, </key>\r
-<key name="up"> 1,11,10,6, </key>\r
-<key name="updat"> 3, </key>\r
-<key name="us"> 14,2,15,12,7,9,10,6,5,13,4,3, </key>\r
-<key name="v1"> 14, </key>\r
-<key name="v2"> 14, </key>\r
-<key name="v3"> 14, </key>\r
-<key name="v4"> 14, </key>\r
-<key name="val"> 12, </key>\r
-<key name="valid"> 9, </key>\r
-<key name="validity"> 9, </key>\r
-<key name="valu"> 1,15,11,12,7,9,10,13,3, </key>\r
-<key name="variou"> 12, </key>\r
-<key name="vector"> 15,11,7,13,3, </key>\r
-<key name="vertex"> 11,12,7,9,5,13,3, </key>\r
-<key name="vertex1"> 5, </key>\r
-<key name="vertex2"> 5, </key>\r
-<key name="vertexmaxtol"> 9, </key>\r
-<key name="vertexmintol"> 9, </key>\r
-<key name="vertic"> 14,11,12,5,3, </key>\r
-<key name="view"> 1,6,3, </key>\r
-<key name="viewer"> 6, </key>\r
-<key name="visibility"> 6, </key>\r
-<key name="visualization"> 1,6, </key>\r
-<key name="volum"> 9, </key>\r
-<key name="vtk"> 6, </key>\r
-<key name="vx"> 15, </key>\r
-<key name="wantplanarfac"> 5, </key>\r
-<key name="wat"> 10, </key>\r
-<key name="waterdensity"> 10, </key>\r
-<key name="weight"> 10, </key>\r
-<key name="whati"> 9, </key>\r
-<key name="whil"> 12, </key>\r
-<key name="whos"> 9,5, </key>\r
-<key name="wid"> 2, </key>\r
-<key name="will"> 8,12,10,13, </key>\r
-<key name="wir"> 14,12,7,5, </key>\r
-<key name="wirefram"> 1, </key>\r
-<key name="within"> 1,12, </key>\r
-<key name="work"> 15,12,6,3,16, </key>\r
-<key name="x"> 15,9,3, </key>\r
-<key name="x1"> 11, </key>\r
-<key name="x2"> 11, </key>\r
-<key name="xdx"> 3, </key>\r
-<key name="xdy"> 3, </key>\r
-<key name="xdz"> 3, </key>\r
-<key name="xmax"> 9, </key>\r
-<key name="xmin"> 9, </key>\r
-<key name="xoy"> 15, </key>\r
-<key name="xyz"> 3, </key>\r
-<key name="y"> 15,9,3, </key>\r
-<key name="y1"> 11, </key>\r
-<key name="y2"> 11, </key>\r
-<key name="ydx"> 3, </key>\r
-<key name="ydy"> 3, </key>\r
-<key name="ydz"> 3, </key>\r
-<key name="ymax"> 9, </key>\r
-<key name="ymin"> 9, </key>\r
-<key name="your"> 8,9, </key>\r
-<key name="z"> 9,10,3, </key>\r
-<key name="z1"> 11, </key>\r
-<key name="z2"> 11, </key>\r
-<key name="zmax"> 9, </key>\r
-<key name="zmin"> 9, </key>\r
-\r
-</ftswdata>  \r
diff --git a/doc/salome/gui/GEOM/whdata/whfwdata1.htm b/doc/salome/gui/GEOM/whdata/whfwdata1.htm
deleted file mode 100755 (executable)
index 211307a..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whfwdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-aWE("geompy",14,15,3,4,8,7,5,11,12,13,10,9,16);\r
-aWE("get",4,5,9);\r
-aWE("getfreeboundary",12);\r
-aWE("getobjectid",16);\r
-aWE("getsubshapeid",5);\r
-aWE("gg",1);\r
-aWE("giv",3);\r
-aWE("given",3,5,12,13,10);\r
-aWE("glu",12,10);\r
-aWE("graphic",6);\r
-aWE("gravity",9);\r
-aWE("group",16);\r
-aWE("gui",10);\r
-aWE("half",3);\r
-aWE("hav",5,12);\r
-aWE("height",7,11);\r
-aWE("hexahedral",14,10);\r
-aWE("hexahedron",14);\r
-aWE("hid",6);\r
-aWE("highlight",12);\r
-aWE("hol",12);\r
-aWE("i",6);\r
-aWE("i11",9);\r
-aWE("i12",9);\r
-aWE("i13",9);\r
-aWE("i21",9);\r
-aWE("i22",9);\r
-aWE("i23",9);\r
-aWE("i31",9);\r
-aWE("i32",9);\r
-aWE("i33",9);\r
-aWE("id",1,6,5,12,10,16);\r
-aWE("if",5,12,10,9);\r
-aWE("ig",2,8);\r
-aWE("imag",13);\r
-aWE("import",2,6,8,9);\r
-aWE("importation",8);\r
-aWE("in",13);\r
-aWE("increas",12);\r
-aWE("independent",4,6);\r
-aWE("indic",10);\r
-aWE("inertia",9);\r
-aWE("initial",13);\r
-aWE("inquir",9);\r
-aWE("inretia",9);\r
-aWE("insert",12);\r
-aWE("insid",10);\r
-aWE("integ",10);\r
-aWE("integer",10);\r
-aWE("intend",12);\r
-aWE("interactive",10);\r
-aWE("intermediat",14);\r
-aWE("internal",12);\r
-aWE("intersect",10);\r
-aWE("intersection",10);\r
-aWE("introduction",14,2);\r
-aWE("invalid",12);\r
-aWE("isbyparamet",12);\r
-aWE("iscommonvertex",12);\r
-aWE("iso",1);\r
-aWE("isolin",1);\r
-aWE("iteration",7);\r
-aWE("itself",12);\r
-aWE("ix",9);\r
-aWE("iy",9);\r
-aWE("iz",9);\r
-aWE("just",14);\r
-aWE("keep",13);\r
-aWE("last",3,5);\r
-aWE("lc",3);\r
-aWE("least",3);\r
-aWE("length",15,12,9);\r
-aWE("les",12);\r
-aWE("limit",10);\r
-aWE("lin",15,3,10);\r
-aWE("list",15,3,7,5,12,10,16);\r
-aWE("listoffaceid",10);\r
-aWE("listofgeomshap",12);\r
-aWE("listofid",5,12);\r
-aWE("listofkeepinsid",10);\r
-aWE("listofmaterial",10);\r
-aWE("listofremoveinsid",10);\r
-aWE("listofshap",3,5,12,10);\r
-aWE("listofshapeid",10);\r
-aWE("listoftool",10);\r
-aWE("listofwireid",12);\r
-aWE("local",15,3,13);\r
-aWE("locat",3);\r
-aWE("location",3,8,13);\r
-aWE("lwp",15);\r
-aWE("ly",15,12);\r
-aWE("main",0,3,4,6,7,5,11,12,10,9,16);\r
-aWE("mainshap",16);\r
-aWE("major",3,11);\r
-aWE("mak",13,10);\r
-aWE("makearc",3);\r
-aWE("makebezi",3);\r
-aWE("makeblockexplod",10);\r
-aWE("makeboolean",4);\r
-aWE("makebox",11);\r
-aWE("makecdg",9);\r
-aWE("makechamferedg",10);\r
-aWE("makechamferfac",10);\r
-aWE("makecircl",3);\r
-aWE("makecompound",5);\r
-aWE("makecon",11);\r
-aWE("makecylind",11);\r
-aWE("makeedg",5);\r
-aWE("makeellips",3);\r
-aWE("makefac",5);\r
-aWE("makefil",7);\r
-aWE("makefillet",10);\r
-aWE("makegluefac",12);\r
-aWE("makehexasolid",14);\r
-aWE("makehexasolidtwofac",14);\r
-aWE("makeinterpol",3);\r
-aWE("makelin",3);\r
-aWE("makemark",3);\r
-aWE("makemirrorbyplan",13);\r
-aWE("makemultirotation1d",13);\r
-aWE("makemultirotation2d",13);\r
-aWE("makemultitransformation1d",10);\r
-aWE("makemultitransformation2d",10);\r
-aWE("makemultitranslation1d",13);\r
-aWE("makemultitranslation2d",13);\r
-aWE("makeoffset",13);\r
-aWE("makepartition",10);\r
-aWE("makepip",7);\r
-aWE("makeplan",3);\r
-aWE("makepolylin",3);\r
-aWE("makeposition",13);\r
-aWE("makeprism",7);\r
-aWE("makequadfac",14);\r
-aWE("makequadfaceedg",14);\r
-aWE("makequadfacevertic",14);\r
-aWE("makerevolution",7);\r
-aWE("makerotation",13);\r
-aWE("makescaletransform",13);\r
-aWE("makesew",12);\r
-aWE("makeshell",5);\r
-aWE("makesketch",15);\r
-aWE("makesolid",5);\r
-aWE("makespher",11);\r
-aWE("maketoru",11);\r
-aWE("maketranslation",13);\r
-aWE("makevector",3);\r
-aWE("makevertex",3);\r
-aWE("makewir",5);\r
-aWE("manual",3);\r
-aWE("mas",9);\r
-aWE("material",10);\r
-aWE("matrix",9);\r
-aWE("max",7,12,10);\r
-aWE("maxdegre",7);\r
-aWE("maximal",7,12,10,9);\r
-aWE("maximum",12,10);\r
-aWE("maxnbfac",10);\r
-aWE("maxtoleranc",12);\r
-aWE("maxtolerance3d",12);\r
-aWE("mean",15,13);\r
-aWE("measur",9);\r
-aWE("measurement",9);\r
-aWE("mention",14);\r
-aWE("menu",0,1,3,4,6,8,7,5,11,12,10,9,16);\r
-aWE("merg",12);\r
-aWE("mesh",14,10);\r
-aWE("meshingdeflection",10);\r
-aWE("method",5);\r
-aWE("middl",3);\r
-aWE("min",7,10,9);\r
-aWE("mindegre",7);\r
-aWE("mindistanc",9);\r
-aWE("minimal",7,10,9);\r
-aWE("minimum",10);\r
-aWE("minnbfac",10);\r
-aWE("minor",3,11);\r
-aWE("mirror",13);\r
-aWE("mod",1,12);\r
-aWE("model",2,10);\r
-aWE("modifi",3,12,13);\r
-aWE("modification",12,13);\r
-aWE("modify",13);\r
-aWE("modul",2,6);\r
-aWE("moment",9);\r
-aWE("mov",13);\r
-aWE("multi",0,13,10);\r
-aWE("must",12,13);\r
-aWE("nam",14,3,4,8,7,5,11,12,13,10);\r
-aWE("nbit",7);\r
-aWE("nbsplitpoint",12);\r
-aWE("nbtim",13,10);\r
-aWE("nbtimes1",13);\r
-aWE("nbtimes2",13);\r
-aWE("nbtimesu",10);\r
-aWE("nbtimesv",10);\r
-aWE("necessary",15,6,12,9);\r
-aWE("need",12);\r
-aWE("negativ",13);\r
-aWE("neigbour",12);\r
-aWE("new",15,3,7,5,11,12,16);\r
-aWE("nod",3);\r
-aWE("noerror",12);\r
-aWE("normal",3,7,13);\r
-aWE("notion",14);\r
-aWE("numb",1,7,12,13,10);\r
-aWE("number",10);\r
-aWE("numeb",10);\r
-aWE("object",1,2,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("occ",1,6,12);\r
-aWE("occur",12);\r
-aWE("offset",13);\r
-aWE("ok",3,8);\r
-aWE("on",15,3,4,6,12,13,10);\r
-aWE("open",12);\r
-aWE("openwir",12);\r
-aWE("operation",14,2,4,6,7,12,13,10,16);\r
-aWE("operator",12);\r
-aWE("opposit",11);\r
-aWE("optimization",2);\r
-aWE("option",0);\r
-aWE("ord",12);\r
-aWE("orient",14,3);\r
-aWE("origin",3,11);\r
-aWE("otherwis",12,13);\r
-aWE("outsid",10);\r
-aWE("ox",15,3);\r
-aWE("oy",3);\r
-aWE("oz",15,3);\r
-aWE("paramet",3,5,12);\r
-aWE("parameter",1,15,3,7,12);\r
-aWE("paramt",12);\r
-aWE("part",4,11);\r
-aWE("partition",10);\r
-aWE("pas",3);\r
-aWE("path",7);\r
-aWE("pathshap",7);\r
-aWE("pattern",13);\r
-aWE("perform",10,16);\r
-aWE("perpendicular",15);\r
-aWE("pip",7);\r
-aWE("plan",15,3,13,10);\r
-aWE("planar",15,3,5);\r
-aWE("plung",10);\r
-aWE("point",14,15,3,11,12,13,9);\r
-aWE("point1",3);\r
-aWE("point2",3);\r
-aWE("point3",3);\r
-aWE("pointcoordinat",9);\r
-aWE("polylin",3);\r
-aWE("pop",1,6);\r
-aWE("position",3,12);\r
-aWE("possibility",12);\r
-aWE("possibl",6,12);\r
-aWE("precision",12);\r
-aWE("predefin",15);\r
-aWE("pres",3);\r
-aWE("preview",3);\r
-aWE("previou",15);\r
-aWE("primitiv",2,11);\r
-aWE("prism",7);\r
-aWE("problem",12);\r
-aWE("proces",12,10);\r
-aWE("processshap",12);\r
-aWE("properti",1,9);\r
-aWE("put",10);\r
-aWE("python",9);\r
-aWE("quadrangl",14,3);\r
-aWE("radian",12);\r
-aWE("radiu",15,3,11,10);\r
-\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whfwdata2.htm b/doc/salome/gui/GEOM/whdata/whfwdata2.htm
deleted file mode 100755 (executable)
index 5d86dc6..0000000
+++ /dev/null
@@ -1,222 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whfwdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-aWE("radius",3,11);\r
-aWE("radius1",11);\r
-aWE("radius2",11);\r
-aWE("radiusmajor",3,11);\r
-aWE("radiusminor",3,11);\r
-aWE("rang",2,12);\r
-aWE("re",12);\r
-aWE("reasonabl",6);\r
-aWE("reconstruction",10);\r
-aWE("referenc",3);\r
-aWE("regard",3);\r
-aWE("relativ",15);\r
-aWE("remov",12,13,16);\r
-aWE("removeobject",16);\r
-aWE("removeweb",10);\r
-aWE("repair",2,12);\r
-aWE("repetition",13);\r
-aWE("represent",3);\r
-aWE("request",5);\r
-aWE("requir",6,8,12);\r
-aWE("requireddegre",12);\r
-aWE("requirednbsegment",12);\r
-aWE("respect",15,12);\r
-aWE("restriction",12);\r
-aWE("result",14,15,3,4,7,5,11,12,13,10,9,16);\r
-aWE("resultant",12);\r
-aWE("retriev",5);\r
-aWE("return",5,10,9,16);\r
-aWE("revers",13);\r
-aWE("revolution",7,12);\r
-aWE("right",1,6);\r
-aWE("rotat",7,13);\r
-aWE("rotation",13);\r
-aWE("s",3,5,12,13,10,16);\r
-aWE("salom",2);\r
-aWE("sam",15,12);\r
-aWE("sameparamet",12);\r
-aWE("scal",13);\r
-aWE("se",8);\r
-aWE("search",8);\r
-aWE("second",4,11,13,10);\r
-aWE("section",4,10);\r
-aWE("segment",15,12);\r
-aWE("select",0,1,15,3,4,6,8,7,5,11,12,10,9,16);\r
-aWE("selection",15,3,10);\r
-aWE("sens",10);\r
-aWE("serv",3,7);\r
-aWE("set",1,3,12,13,10);\r
-aWE("setcolor",1);\r
-aWE("setdisplaymod",1);\r
-aWE("settransparency",1);\r
-aWE("sew",12);\r
-aWE("sg",6);\r
-aWE("shad",1);\r
-aWE("shap",1,2,4,6,8,7,5,12,13,10,9,16);\r
-aWE("shape1",4,9);\r
-aWE("shape2",4,9);\r
-aWE("shapesto",12);\r
-aWE("shapetyp",10,16);\r
-aWE("shel",5,13);\r
-aWE("shell",14,7,5,13);\r
-aWE("short",1);\r
-aWE("should",12);\r
-aWE("shown",3);\r
-aWE("sid",3);\r
-aWE("sign",13);\r
-aWE("six",14);\r
-aWE("siz",3,12,10);\r
-aWE("sketch",15);\r
-aWE("small",3,12);\r
-aWE("solid",14,7,5,11,13,10);\r
-aWE("soon",3);\r
-aWE("spac",3,9);\r
-aWE("specifi",3,12,10);\r
-aWE("specific",14);\r
-aWE("specify",12,13);\r
-aWE("spher",11);\r
-aWE("splin",3);\r
-aWE("split",12);\r
-aWE("splitangl",12);\r
-aWE("splitclosedfac",12);\r
-aWE("splitcontinuity",12);\r
-aWE("spot",12);\r
-aWE("stag",14);\r
-aWE("standard",8);\r
-aWE("start",15,3,13);\r
-aWE("step",14,2,8,13);\r
-aWE("step1",13);\r
-aWE("step2",13);\r
-aWE("str",15,8);\r
-aWE("strip",12);\r
-aWE("study",6);\r
-aWE("sub",5,12,16);\r
-aWE("submenu",0,5,12,9);\r
-aWE("subshap",5,10,16);\r
-aWE("subshapeall",5);\r
-aWE("subshapeid",16);\r
-aWE("suppres",12);\r
-aWE("suppressfac",12);\r
-aWE("suppresshol",12);\r
-aWE("suppressinternalwir",12);\r
-aWE("surfac",12,13,9);\r
-aWE("surfacecontinuity",12);\r
-aWE("surfacemod",12);\r
-aWE("symmetrical",13);\r
-aWE("symmetry",11,13);\r
-aWE("system",3,13);\r
-aWE("tak",14);\r
-aWE("tangent",15);\r
-aWE("target",15,10);\r
-aWE("tetrahedral",14);\r
-aWE("theendlc",13);\r
-aWE("them",12);\r
-aWE("theobject",13);\r
-aWE("therefor",15);\r
-aWE("theshap",12);\r
-aWE("thestartlc",13);\r
-aWE("thetoleranc",12);\r
-aWE("tim",13);\r
-aWE("tobezi",12);\r
-aWE("tol2d",7);\r
-aWE("tol3d",7);\r
-aWE("toleranc",7,12,9);\r
-aWE("tolerance2d",12);\r
-aWE("tolerance3d",12);\r
-aWE("tool",9);\r
-aWE("toru",11);\r
-aWE("transform",4,13,10);\r
-aWE("transformation",0,2,13,10);\r
-aWE("translat",13);\r
-aWE("translation",13,10);\r
-aWE("transparency",1);\r
-aWE("trihedron",3);\r
-aWE("trimsiz",3);\r
-aWE("tru",12,10,9);\r
-aWE("tui",14,1,15,3,4,6,8,7,5,11,12,13,10,9,16);\r
-aWE("tupl",9);\r
-aWE("two",14,4,11,12,13,10);\r
-aWE("typ",15,4,5,11,12,10,9,16);\r
-aWE("typeofshap",5);\r
-aWE("underly",12);\r
-aWE("up",1,6,11,10);\r
-aWE("updat",3);\r
-aWE("us",14,2,15,3,4,6,7,5,12,13,10,9);\r
-aWE("v1",14);\r
-aWE("v2",14);\r
-aWE("v3",14);\r
-aWE("v4",14);\r
-aWE("val",12);\r
-aWE("valid",9);\r
-aWE("validity",9);\r
-aWE("valu",1,15,3,7,11,12,13,10,9);\r
-aWE("variou",12);\r
-aWE("vector",15,3,7,11,13);\r
-aWE("vertex",3,7,5,11,12,13,9);\r
-aWE("vertex1",5);\r
-aWE("vertex2",5);\r
-aWE("vertexmaxtol",9);\r
-aWE("vertexmintol",9);\r
-aWE("vertic",14,3,5,11,12,13);\r
-aWE("view",1,3,6,12);\r
-aWE("viewer",6);\r
-aWE("visibility",6);\r
-aWE("visualization",1,6);\r
-aWE("volum",9);\r
-aWE("vtk",6);\r
-aWE("vx",15);\r
-aWE("wantplanarfac",5);\r
-aWE("wat",10);\r
-aWE("waterdensity",10);\r
-aWE("weight",10);\r
-aWE("whati",9);\r
-aWE("whil",12);\r
-aWE("whos",5,9);\r
-aWE("wid",2);\r
-aWE("will",3,8,12,13,10);\r
-aWE("wir",14,7,5,12);\r
-aWE("wirefram",1);\r
-aWE("within",1,12);\r
-aWE("work",15,3,6,12,16);\r
-aWE("x",15,3,9);\r
-aWE("x1",11);\r
-aWE("x2",11);\r
-aWE("xdx",3);\r
-aWE("xdy",3);\r
-aWE("xdz",3);\r
-aWE("xmax",9);\r
-aWE("xmin",9);\r
-aWE("xoy",15);\r
-aWE("xyz",3);\r
-aWE("y",15,3,9);\r
-aWE("y1",11);\r
-aWE("y2",11);\r
-aWE("ydx",3);\r
-aWE("ydy",3);\r
-aWE("ydz",3);\r
-aWE("ymax",9);\r
-aWE("ymin",9);\r
-aWE("your",8,12,9);\r
-aWE("z",3,10,9);\r
-aWE("z1",11);\r
-aWE("z2",11);\r
-aWE("zmax",9);\r
-aWE("zmin",9);\r
-\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whgdata.js b/doc/salome/gui/GEOM/whdata/whgdata.js
deleted file mode 100755 (executable)
index 77e0107..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//     WebHelp 5.10.001\r
-var gIEA = new Array();\r
-function aGE(sName, sDef)\r
-{\r
-       var len = gIEA.length;\r
-       gIEA[len] = new gloEntry(sName, sDef);\r
-}\r
-\r
-function gloEntry(sName, sDef) \r
-{\r
-       this.sName = sName;\r
-       this.sDef = sDef;\r
-       this.nNKOff = 0;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this) {\r
-               if (parent.putData) \r
-               {\r
-                       parent.putData(gIEA);\r
-               }\r
-       }\r
-}\r
-\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whgdata0.htm b/doc/salome/gui/GEOM/whdata/whgdata0.htm
deleted file mode 100755 (executable)
index 9d256b1..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whgdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
- aGE("Cell","Element of a mesh. Cells are determined by their connectivity. They can have 0,1,2 or 3 dimension.");\r
- aGE("Component","One integer or real value can correspond to each component of a field and to each entity of a mesh");\r
- aGE("Descendant connectivity","It is a description of the entities of the mesh with dimension N. This description is made by an ordered list of geometrical entities (nodes, edges, or faces) with dimension N-1.");\r
- aGE("Edge","An edge of a volumetric or surface mesh. It is composed of 2 or 3 nodes (2 vertex nodes and optionally one middle node).");\r
- aGE("Entity of a mesh","Geometrical component of the mesh: node, cell, face and edge. Faces and edges are only intermediate entities allowing to define the cells in descendant connectivity.");\r
- aGE("Equivalence","Equivalence represents a list of correspondance 2 by 2 of the entities of the same dimension.");\r
- aGE("Face","Face of a volumetrical cell (triangle, quadrangle).");\r
- aGE("Family","Entities of a mesh are described by a certain number   of characteristics (boundary conditions, groups membership). Families represent classes equivalent to these characteristics (two entities of a mesh can belong to the same family if they have the same characteristics). Every family is determined by a set of attributes and a list of groups membership.");\r
- aGE("Field","Field consists of one or several scalar components. One definite type is associated to the given field and the values corresponding to different components are all of the same type.");\r
- aGE("Field profile","Fields can be defined only on one part of the mesh. Profile   of the field or profile of the component of a field indicates which entities of the mesh contain values.");\r
- aGE("Group","Unordered set of entities of a mesh. One entity can belong to   several groups.");\r
- aGE("Mesh","Mesh is described by its geometry: list of nodes and list of cells which constitute this mesh. Supplementary information is added with the help of families (initial, boundary conditions).");\r
- aGE("Nodal connectivity","It is a description of an entity of the mesh by an ordered list of nodes constituting this entity.");\r
- aGE("Node","Node can be an isolated node of a mesh, a vertex or middle node of an edge. A node is associated to a point.");\r
- aGE("Point","Geometrical entity determined by its coordinates in the space.");\r
- aGE("Reference connectivity","For each type of entity of a mesh, reference connectivity define the topology of an entity.");\r
- aGE("Result","List of fields referring to one mesh.");\r
- aGE("Study","Study represents a chain of sequences of calculations.");\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whgdata0.xml b/doc/salome/gui/GEOM/whdata/whgdata0.xml
deleted file mode 100755 (executable)
index de63592..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<glossarydata>\r
- <entry name="Cell" value="Element of a mesh. Cells are determined by their connectivity. They can have 0,1,2 or 3 dimension." />\r
- <entry name="Component" value="One integer or real value can correspond to each component of a field and to each entity of a mesh" />\r
- <entry name="Descendant connectivity" value="It is a description of the entities of the mesh with dimension N. This description is made by an ordered list of geometrical entities (nodes, edges, or faces) with dimension N-1." />\r
- <entry name="Edge" value="An edge of a volumetric or surface mesh. It is composed of 2 or 3 nodes (2 vertex nodes and optionally one middle node)." />\r
- <entry name="Entity of a mesh" value="Geometrical component of the mesh: node, cell, face and edge. Faces and edges are only intermediate entities allowing to define the cells in descendant connectivity." />\r
- <entry name="Equivalence" value="Equivalence represents a list of correspondance 2 by 2 of the entities of the same dimension." />\r
- <entry name="Face" value="Face of a volumetrical cell (triangle, quadrangle)." />\r
- <entry name="Family" value="Entities of a mesh are described by a certain number   of characteristics (boundary conditions, groups membership). Families represent classes equivalent to these characteristics (two entities of a mesh can belong to the same family if they have the same characteristics). Every family is determined by a set of attributes and a list of groups membership." />\r
- <entry name="Field" value="Field consists of one or several scalar components. One definite type is associated to the given field and the values corresponding to different components are all of the same type." />\r
- <entry name="Field profile" value="Fields can be defined only on one part of the mesh. Profile   of the field or profile of the component of a field indicates which entities of the mesh contain values." />\r
- <entry name="Group" value="Unordered set of entities of a mesh. One entity can belong to   several groups." />\r
- <entry name="Mesh" value="Mesh is described by its geometry: list of nodes and list of cells which constitute this mesh. Supplementary information is added with the help of families (initial, boundary conditions)." />\r
- <entry name="Nodal connectivity" value="It is a description of an entity of the mesh by an ordered list of nodes constituting this entity." />\r
- <entry name="Node" value="Node can be an isolated node of a mesh, a vertex or middle node of an edge. A node is associated to a point." />\r
- <entry name="Point" value="Geometrical entity determined by its coordinates in the space." />\r
- <entry name="Reference connectivity" value="For each type of entity of a mesh, reference connectivity define the topology of an entity." />\r
- <entry name="Result" value="List of fields referring to one mesh." />\r
- <entry name="Study" value="Study represents a chain of sequences of calculations." />\r
-\r
-</glossarydata>\r
diff --git a/doc/salome/gui/GEOM/whdata/whglo.htm b/doc/salome/gui/GEOM/whdata/whglo.htm
deleted file mode 100755 (executable)
index dc5a677..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whglo.js"></script>\r
-<script language="javascript">\r
-<!--\r
-iFM("Cell","Study","whgdata0.htm",18);\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whglo.js b/doc/salome/gui/GEOM/whdata/whglo.js
deleted file mode 100755 (executable)
index e0519af..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-//     WebHelp 5.10.001\r
-var gaFileMapping = new Array();\r
-function fileMapping(sBK, sEK, sFileName, nNum)\r
-{\r
-       this.sBK = sBK;\r
-       this.sEK = sEK;\r
-       this.sFileName = sFileName;\r
-       this.aKs = null;\r
-       this.nNum = nNum;\r
-       this.oUsedItems = null;\r
-}\r
-\r
-\r
-function iFM(sBK, sEK, sFileName, nNum)\r
-{\r
-       var i = gaFileMapping.length;\r
-       gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum);  \r
-       if (i == 0) {\r
-               gaFileMapping[i].nTotal = nNum;\r
-       }\r
-       else {\r
-               gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal;\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this && parent.projReady)\r
-       {\r
-               parent.projReady(gaFileMapping);\r
-       }               \r
-}\r
-\r
-window.onload = window_OnLoad;\r
diff --git a/doc/salome/gui/GEOM/whdata/whglo.xml b/doc/salome/gui/GEOM/whdata/whglo.xml
deleted file mode 100755 (executable)
index dcdf6cf..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<glossary>\r
-<chunkinfo url="whgdata0.xml" first="Cell" last="Study" num="18" />\r
-\r
-</glossary>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whidata.js b/doc/salome/gui/GEOM/whdata/whidata.js
deleted file mode 100755 (executable)
index 9f0eb15..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//     WebHelp 5.10.001\r
-// const strings\r
-var gIEA = new Array();\r
-function aIE()\r
-{\r
-       var len = gIEA.length;\r
-       gIEA[len] = new indexEntry(aIE.arguments);\r
-}\r
-\r
-function topic(sName, sURL)\r
-{\r
-       this.sName = sName;\r
-       this.sURL = sURL;\r
-}\r
-\r
-function indexEntry(fn_arguments) \r
-{\r
-       if (fn_arguments.length && fn_arguments.length >= 3) \r
-       {\r
-               this.nType = fn_arguments[0];\r
-               this.nPKOff = 0;\r
-               this.nNKOff = fn_arguments[1];\r
-               this.sName = fn_arguments[2];\r
-               this.aTopics = null;\r
-               var nLen = fn_arguments.length;\r
-               if (Math.floor(nLen / 2) * 2 == nLen)\r
-               {\r
-                       this.sTarget = fn_arguments[3];\r
-                       if (nLen > 5)\r
-                       {\r
-                               this.aTopics = new Array();\r
-                               for (var i = 0; i < (nLen - 5)/2; i++)\r
-                               {\r
-                                       this.aTopics[i] = new topic(fn_arguments[i * 2 + 4], fn_arguments[i * 2 + 5]);\r
-                               }\r
-                       }\r
-\r
-               }\r
-               else \r
-               {\r
-                       if (nLen > 4) \r
-                       {\r
-                               this.aTopics = new Array();\r
-                               for (var i = 0; i < (nLen - 4)/2; i++)\r
-                               {\r
-                                       this.aTopics[i] = new topic(fn_arguments[i * 2 + 3], fn_arguments[i * 2 + 4]);\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function getIndexTopicMappingList(nItemIndex)\r
-{\r
-       var sTopics = "";\r
-       if (gIEA.length > nItemIndex)\r
-       {\r
-               if (gIEA[nItemIndex].aTopics) \r
-               {\r
-                       var i = 0;\r
-                       var nLen = gIEA[nItemIndex].aTopics.length;\r
-                       for (i = 0; i < nLen; i ++) \r
-                       {\r
-                               sTopics += "," + gIEA[nItemIndex].aTopics[i];\r
-                       }\r
-               }\r
-       }\r
-       return sTopics;         \r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this) {\r
-               if (parent.putData) \r
-               {\r
-                       for (var i = 0; i < gIEA.length; i ++ )\r
-                       {\r
-                               if (gIEA[i].nNKOff != 0 && i + gIEA[i].nNKOff + 1 < gIEA.length)\r
-                               {\r
-                               \r
-                                       gIEA[i + gIEA[i].nNKOff + 1].nPKOff = gIEA[i].nNKOff;\r
-                               }\r
-                       }\r
-                       parent.putData(gIEA);\r
-               }\r
-       }\r
-}\r
-\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whidx.htm b/doc/salome/gui/GEOM/whdata/whidx.htm
deleted file mode 100755 (executable)
index 0a0deed..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whidx.js"></script>\r
-<script language="javascript">\r
-<!--\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whidx.js b/doc/salome/gui/GEOM/whdata/whidx.js
deleted file mode 100755 (executable)
index e0519af..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-//     WebHelp 5.10.001\r
-var gaFileMapping = new Array();\r
-function fileMapping(sBK, sEK, sFileName, nNum)\r
-{\r
-       this.sBK = sBK;\r
-       this.sEK = sEK;\r
-       this.sFileName = sFileName;\r
-       this.aKs = null;\r
-       this.nNum = nNum;\r
-       this.oUsedItems = null;\r
-}\r
-\r
-\r
-function iFM(sBK, sEK, sFileName, nNum)\r
-{\r
-       var i = gaFileMapping.length;\r
-       gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum);  \r
-       if (i == 0) {\r
-               gaFileMapping[i].nTotal = nNum;\r
-       }\r
-       else {\r
-               gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal;\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this && parent.projReady)\r
-       {\r
-               parent.projReady(gaFileMapping);\r
-       }               \r
-}\r
-\r
-window.onload = window_OnLoad;\r
diff --git a/doc/salome/gui/GEOM/whdata/whidx.xml b/doc/salome/gui/GEOM/whdata/whidx.xml
deleted file mode 100755 (executable)
index 3ca67b6..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<index>\r
-\r
-</index>\r
diff --git a/doc/salome/gui/GEOM/whdata/whtdata.js b/doc/salome/gui/GEOM/whdata/whtdata.js
deleted file mode 100755 (executable)
index d5428a7..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-//     WebHelp 5.10.001\r
-var gTEA = new Array();\r
-function aTE()\r
-{\r
-       gTEA[gTEA.length] = new tocEntry(aTE.arguments);\r
-}\r
-\r
-function tocEntry(fn_arguments) \r
-{\r
-       if (fn_arguments.length < 3)    \r
-       {\r
-               alert ("data format wrong!!!");\r
-               return;\r
-       }\r
-       \r
-       this.nType = fn_arguments[0];\r
-       this.nContents = fn_arguments[1];\r
-       this.sItemName = fn_arguments[2];\r
-       \r
-       if (this.nType == 1 || this.nType == 2 || this.nType == 16)\r
-       {\r
-               if (fn_arguments.length > 3)\r
-               {\r
-                       this.sItemURL = fn_arguments[3];\r
-                       if (fn_arguments.length > 4)\r
-                       {\r
-                               this.sTarget = fn_arguments[4];\r
-                               if (fn_arguments.length > 5)\r
-                                       this.sIconRef = fn_arguments[5];\r
-                       }\r
-               }\r
-       }\r
-       if (this.nType == 4 || this.nType == 8)\r
-       {\r
-               if (fn_arguments.length > 3)\r
-               {\r
-                       this.sRefURL = fn_arguments[3];\r
-                       if (this.nType == 4)\r
-                       {\r
-                               if(this.sRefURL.lastIndexOf("/")!=this.sRefURL.length-1)\r
-                                       this.sRefURL+="/";\r
-                       }\r
-                       if (fn_arguments.length > 4)\r
-                       {\r
-                               this.sItemURL = fn_arguments[4];\r
-                               if (fn_arguments.length > 5)\r
-                               {\r
-                                       this.sTarget = fn_arguments[5];\r
-                                       if (fn_arguments.length > 6)\r
-                                               this.sIconRef = fn_arguments[6];\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this && parent.putData) {\r
-               parent.putData(gTEA);\r
-       }\r
-}\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whtdata0.htm b/doc/salome/gui/GEOM/whdata/whtdata0.htm
deleted file mode 100755 (executable)
index f575ec0..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whtdata.js"></script>\r
-<script language="javascript">\r
-<!--\r
- aTE(1,19,"GEOM module");\r
-   aTE(2,0,"Introduction to GEOM","files/introduction_to_geom.htm");\r
-   aTE(2,0,"Importing\\exporting geometrical objects","files/salome2_sp3_geomtoolsgui_functions.htm");\r
-   aTE(1,2,"Managing geometrical objects");\r
-     aTE(2,0,"Changing displaying parameters","changing_displaying_parameters.htm");\r
-     aTE(2,0,"Displaying\\hiding objects","files/salome2_sp3_displaygui_functions.htm");\r
-   aTE(1,7,"Creating geometrical objects");\r
-     aTE(2,0,"Creating basic geometrical objects","files/salome2_sp3_basicgui_functions.htm");\r
-     aTE(2,0,"Constructing primitives","files/salome2_sp3_primitivegui_functions.htm");\r
-     aTE(2,0,"Generating complex objects","files/salome2_sp3_generationgui_functions.htm");\r
-     aTE(2,0,"Working with groups","working_with_groups.htm");\r
-     aTE(2,0,"Building by blocks","newentity_blocks.htm");\r
-     aTE(2,0,"Sketcher","sketcher.htm");\r
-     aTE(2,0,"Building geometrical objects","files/salome2_sp3_buildgui_functions.htm");\r
-   aTE(1,4,"Transforming geometrical objects");\r
-     aTE(2,0,"Using basic operations","files/salome2_sp3_operationgui_functions.htm");\r
-     aTE(2,0,"Using boolean operations","files/salome2_sp3_booleangui_functions.htm");\r
-     aTE(2,0,"Using transformation operations","files/salome2_sp3_transformationgui_functions.htm");\r
-     aTE(2,0,"Repairing geometrical objects","files/salome2_sp3_repairgui_functions.htm");\r
-   aTE(2,0,"Using measurement tools","files/salome2_sp3_measuregui_functions.htm");\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whdata/whtdata0.xml b/doc/salome/gui/GEOM/whdata/whtdata0.xml
deleted file mode 100755 (executable)
index acb0df3..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<tocdata>\r
-<book name="GEOM module" >\r
-  <item name="Introduction to GEOM" url="files/introduction_to_geom.htm" />\r
-  <item name="Importing\exporting geometrical objects" url="files/salome2_sp3_geomtoolsgui_functions.htm" />\r
-  <book name="Managing geometrical objects" >\r
-    <item name="Changing displaying parameters" url="changing_displaying_parameters.htm" />\r
-    <item name="Displaying\hiding objects" url="files/salome2_sp3_displaygui_functions.htm" />\r
-  </book>\r
-  <book name="Creating geometrical objects" >\r
-    <item name="Creating basic geometrical objects" url="files/salome2_sp3_basicgui_functions.htm" />\r
-    <item name="Constructing primitives" url="files/salome2_sp3_primitivegui_functions.htm" />\r
-    <item name="Generating complex objects" url="files/salome2_sp3_generationgui_functions.htm" />\r
-    <item name="Working with groups" url="working_with_groups.htm" />\r
-    <item name="Building by blocks" url="newentity_blocks.htm" />\r
-    <item name="Sketcher" url="sketcher.htm" />\r
-    <item name="Building geometrical objects" url="files/salome2_sp3_buildgui_functions.htm" />\r
-  </book>\r
-  <book name="Transforming geometrical objects" >\r
-    <item name="Using basic operations" url="files/salome2_sp3_operationgui_functions.htm" />\r
-    <item name="Using boolean operations" url="files/salome2_sp3_booleangui_functions.htm" />\r
-    <item name="Using transformation operations" url="files/salome2_sp3_transformationgui_functions.htm" />\r
-    <item name="Repairing geometrical objects" url="files/salome2_sp3_repairgui_functions.htm" />\r
-  </book>\r
-  <item name="Using measurement tools" url="files/salome2_sp3_measuregui_functions.htm" />\r
-</book>\r
-\r
-</tocdata>\r
diff --git a/doc/salome/gui/GEOM/whdata/whtoc.htm b/doc/salome/gui/GEOM/whdata/whtoc.htm
deleted file mode 100755 (executable)
index 54e0cbf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<html>\r
-<head>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whtoc.js"></script>\r
-<script language="javascript">\r
-<!--\r
-  setRoot("whtdata0.htm");\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whtoc.js b/doc/salome/gui/GEOM/whdata/whtoc.js
deleted file mode 100755 (executable)
index 163d8cc..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//     WebHelp 5.10.001\r
-// const strings\r
-var gaProj = new Array();\r
-var gsRoot = "";\r
-\r
-function setRoot(sRoot)\r
-{\r
-       gsRoot = sRoot\r
-}\r
-\r
-function aPE(sProjPath, sRootPath)\r
-{\r
-       gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);\r
-}\r
-\r
-function tocProjEntry(sProjPath, sRootPath) \r
-{\r
-       if(sProjPath.lastIndexOf("/")!=sProjPath.length-1)\r
-               sProjPath+="/"; \r
-       this.sPPath = sProjPath;\r
-       this.sRPath = sRootPath;\r
-}\r
-\r
-\r
-function window_OnLoad()\r
-{\r
-       if (parent && parent != this && parent.projReady) {\r
-               parent.projReady(gsRoot, gaProj);\r
-       }\r
-}\r
-window.onload = window_OnLoad;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whdata/whtoc.xml b/doc/salome/gui/GEOM/whdata/whtoc.xml
deleted file mode 100755 (executable)
index bffb89a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<toc root="whtdata0.xml">\r
-\r
-</toc>\r
diff --git a/doc/salome/gui/GEOM/whestart.ico b/doc/salome/gui/GEOM/whestart.ico
deleted file mode 100755 (executable)
index 110f183..0000000
Binary files a/doc/salome/gui/GEOM/whestart.ico and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whfbody.htm b/doc/salome/gui/GEOM/whfbody.htm
deleted file mode 100755 (executable)
index 86d8e63..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Result</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whfhost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(window.gbWhFHost)\r
-{\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Error", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       FtsWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">\r
-</body>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whfdhtml.htm b/doc/salome/gui/GEOM/whfdhtml.htm
deleted file mode 100755 (executable)
index 236beec..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Frame</TITLE>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-var gbIndexLayerInit = false;\r
-var strWrite="";\r
-if (window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)\r
-{\r
-       if (gbMac)\r
-               strWrite="<FRAMESET ROWS='45,100%' framespacing=0  frameborder=0>";\r
-       else\r
-               strWrite="<FRAMESET ROWS='60,100%' framespacing=0  frameborder=0>";\r
-       strWrite +="<FRAME SRC='whfform.htm' title='search form frame' name='ftsform' noresize='yes' scrolling='no'>";\r
-       strWrite +="<FRAME SRC='whfbody.htm' title='search result frame' name='ftsbody' scrolling='yes'>";\r
-       strWrite +="</FRAMESET>";\r
-       document.write(strWrite);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whfform.htm b/doc/salome/gui/GEOM/whfform.htm
deleted file mode 100755 (executable)
index f592a73..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Form</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<body bgcolor="#c0c0c0">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whform.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gstrInput = "";\r
-function ftsLookup(bCR)\r
-{\r
-       if (bCR)\r
-       {\r
-               var strInput = document.FtsInputForm.keywordField.value.toUpperCase();\r
-               if (strInput != "") {\r
-                       var oMsg = new whMessage(WH_MSG_SEARCHFTSKEY, this, 1, strInput);\r
-                       if (!SendMessage(oMsg))\r
-                       {\r
-                               gstrInput = strInput;\r
-                       }\r
-                       else\r
-                               gstrInput = "";\r
-               }\r
-\r
-               if (gbMac) {\r
-                       document.FtsInputForm.keywordField.focus();\r
-               }\r
-       }\r
-       return;\r
-}\r
-\r
-function beforeInit()\r
-{\r
-       var oParam = new Object();\r
-       oParam.sValue = "";\r
-       var oMsg = new whMessage(WH_MSG_GETSEARCHS, this, 1, oParam);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oParam.sValue != "" && oParam.sValue != "- Search -")\r
-               {\r
-                       document.FtsInputForm.keywordField.value = oParam.sValue;\r
-                       gfunLookUp(true);\r
-               }\r
-       }\r
-       init(); \r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-       UnRegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       UnRegisterListener2(this, WH_MSG_BACKUPSEARCH);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if (oMsg.nMessageId == WH_MSG_SHOWFTS)\r
-       {\r
-               document.FtsInputForm.keywordField.focus();\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_SHOWIDX ||\r
-               oMsg.nMessageId == WH_MSG_SHOWTOC || \r
-               oMsg.nMessageId == WH_MSG_SHOWGLO)\r
-       {\r
-               document.FtsInputForm.keywordField.blur();\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_SEARCHTHIS)\r
-       {\r
-               if (oMsg.oParam != "- Search -")\r
-               {\r
-                       document.FtsInputForm.keywordField.value = oMsg.oParam;\r
-                       gfunLookUp(true);\r
-               }\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_BACKUPSEARCH)\r
-       {\r
-               if (gstrInput)\r
-               {\r
-                       oMsg.oParam = gstrInput;\r
-                       gstrInput = "";\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhForm)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       RegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       RegisterListener2(this, WH_MSG_BACKUPSEARCH);\r
-       gfunLookUp = ftsLookup;\r
-       gfunInit = null;\r
-       gstrFormName = "FtsInputForm"\r
-       gsTitle = "Type in the word(s) to search for:";\r
-       gsTitle = "Type in the word(s) to search for:";\r
-       setGoImage1("wht_go.gif");\r
-       setBackgroundcolor("White");\r
-       \r
-       setBtnType("image");\r
-       \r
-       \r
-       \r
-       setGoText("Go");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       \r
-       document.write(getFormHTML());\r
-       writeFormStyle();\r
-       window.onload = beforeInit;\r
-       window.onunload=window_unload;\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whfhost.js b/doc/salome/gui/GEOM/whfhost.js
deleted file mode 100755 (executable)
index 167acc4..0000000
+++ /dev/null
@@ -1,945 +0,0 @@
-//     WebHelp 5.10.003\r
-var gsSK2=null;\r
-var gsSK=null;\r
-var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7";\r
-var gnCLF=0;\r
-var gsHelpCannotSearch="Cannot search for that phrase.";\r
-var gsNoTopics="No Topics Found.";\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading data, please wait...";\r
-var gsSearchMsg="Searching...";\r
-var gsResultDivID="ResultDiv";\r
-var gaaFCD=new Array();\r
-var gaaFTCD=new Array();\r
-var goCF=null;\r
-var goCTF=null;\r
-var gaTI=null;\r
-var gnCurrentOp=0;\r
-var gbNot=false;\r
-var gbReady=false;\r
-var gnLoadFts=1;\r
-var gnCacheLimits=5;\r
-var gaCCD=new Array();\r
-var gbXML=false;\r
-var gaData=new Array();\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var gsMargin="0pt";\r
-var gsIndent="0pt";\r
-var gsCheckKey=null;\r
-var gnIndexNum=0;\r
-var gaFtsContentsCon=null;\r
-var gaTopicCheckInfo=null;\r
-var gnTopicCheck=0;\r
-var goFont=null;\r
-var goErrFont=null;\r
-var goHoverFont=null;\r
-var gsABgColor="#cccccc";\r
-var gbWhFHost=false;\r
-var gbFirst=false;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goFont=vFont;\r
-       else if(sType=="Error")\r
-               goErrFont=vFont;\r
-       else if(sType=="Hover")\r
-               goHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsABgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIndent=sIndent;\r
-}\r
-\r
-function updateCache(oCF)\r
-{\r
-       var len=gaCCD.length;\r
-       if(len<gnCacheLimits*gnCLF)\r
-               gaCCD[len]=oCF;\r
-       else{\r
-               gaCCD[0].aTopics=null;\r
-               gaCCD[0].aFtsKeys=null;\r
-               removeItemFromArray(gaCCD,0);\r
-               gaCCD[len-1]=oCF;\r
-       }\r
-}\r
-\r
-function addFtsInfo(sPPath,sDPath,sFtsFile)\r
-{\r
-       gaData[gaData.length]=new ftsInfo(sPPath,sDPath,sFtsFile);\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gnLoadFts==1)\r
-       {\r
-               var aFCD=new Array();\r
-               var aFTCD=new Array();\r
-               ftsReady(aFCD,aFTCD);\r
-       }\r
-       else if(gnLoadFts==3)\r
-       {\r
-               var aTopics=new Array();\r
-               putFtsTData(aTopics);\r
-       }\r
-       else if(gnLoadFts==2)\r
-       {\r
-               putFtsWData(aFtsContents);\r
-               var aFtsContents=new Array();\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gnLoadFts==1)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aFCD=new Array();\r
-                       var aFTCD=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="chunkinfo")\r
-                               {\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       var sFirst=oChild.getAttribute("first");\r
-                                       var sLast=oChild.getAttribute("last");\r
-                                       if(sURL&&sFirst&&sLast)\r
-                                       {\r
-                                               item=new Object();\r
-                                               item.sStartKey=sFirst;\r
-                                               item.sEndKey=sLast;\r
-                                               item.sFileName=sURL;\r
-                                               aFCD[aFCD.length]=item;\r
-                                       }\r
-                               }\r
-                               else if(oChild.nodeName=="tchunkinfo")\r
-                               {\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       var nB=parseInt(oChild.getAttribute("first"));\r
-                                       var nE=parseInt(oChild.getAttribute("last"));\r
-                                       if(sURL&&sFirst&&sLast)\r
-                                       {\r
-                                               item=new Object();\r
-                                               item.nBegin=nB;\r
-                                               item.nEnd=nE;\r
-                                               item.sFileName=sURL;\r
-                                               aFTCD[aFTCD.length]=item;\r
-                                       }\r
-\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       ftsReady(aFCD,aFTCD);\r
-               }\r
-       }\r
-       else if(gnLoadFts==3)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aTopics=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="topic")\r
-                               {\r
-                                       var name=oChild.getAttribute("name");\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       if(name&&name.length>0&&sURL)\r
-                                       {\r
-                                               var topic=new Object();\r
-                                               topic.sTopicTitle=name;\r
-                                               topic.sTopicURL=sURL;\r
-                                               aTopics[aTopics.length]=topic;\r
-                                       }\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       putFtsTData(aTopics);\r
-               }\r
-       }\r
-       else if(gnLoadFts==2)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aFtsContents=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="key")\r
-                               {\r
-                                       var name=oChild.getAttribute("name");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.sItemName=name;\r
-                                               aFtsContents[aFtsContents.length]=item;\r
-                                               var oChildChild=oChild.firstChild;\r
-                                               while(oChildChild)\r
-                                               {\r
-                                                       if(oChildChild.nodeName=="#text")\r
-                                                       {\r
-                                                               var sIDs=oChildChild.nodeValue;\r
-                                                               if(sIDs)\r
-                                                               {\r
-                                                                       var nBPos=0;\r
-                                                                       do\r
-                                                                       {\r
-                                                                               var nPos=sIDs.indexOf(",",nBPos);\r
-                                                                               var sID=null;\r
-                                                                               if(nPos!=-1)\r
-                                                                                       sID=sIDs.substring(nBPos,nPos);\r
-                                                                               else\r
-                                                                                       sID=sIDs.substring(nBPos);\r
-\r
-                                                                               if(sID)\r
-                                                                               {\r
-                                                                                       var id=parseInt(sID);\r
-                                                                                       if(!isNaN(id))\r
-                                                                                       {\r
-                                                                                               if(!item.aTopics)\r
-                                                                                                       item.aTopics=new Array();\r
-                                                                                               item.aTopics[item.aTopics.length]=id;\r
-                                                                                       }\r
-                                                                               }\r
-                                                                               nBPos=nPos+1;\r
-                                                                       }while(nBPos!=0&&nBPos<sIDs.length);\r
-                                                               }\r
-                                                       }\r
-                                                       oChildChild=oChildChild.nextSibling;\r
-                                               }\r
-                                       }\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       putFtsWData(aFtsContents);\r
-               }\r
-       }\r
-}\r
-\r
-function ftsInfo(sPPath,sDPath,sFtsFile)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.sFtsFile=sFtsFile;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       writeResultDiv();\r
-       loadFts();\r
-       var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function writeResultDiv()\r
-{\r
-       var sHTML="<div id=\""+gsResultDivID+"\" style=\"POSITION:absolute;\"></div>";\r
-       document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-}\r
-\r
-function loadFts()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sFts&&aProj[i].sLangId==sLangId)\r
-                                       {\r
-                                               addFtsInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sFts);\r
-                                       }\r
-                               }\r
-                       }\r
-                       loadFD();\r
-\r
-               }                               \r
-       }\r
-}\r
-\r
-function loadFD()\r
-{\r
-       if(gnCLF<gaData.length)\r
-       {\r
-               gnLoadFts=1;\r
-               loadData2(gaData[gnCLF].sPPath+gaData[gnCLF].sDPath+gaData[gnCLF].sFtsFile);\r
-       }\r
-       else \r
-       {\r
-               var oMsg = new whMessage(WH_MSG_BACKUPSEARCH, this, 1, null);\r
-               if (SendMessage(oMsg))\r
-               {\r
-                       if (oMsg.oParam)\r
-                       {\r
-                               gsSK=oMsg.oParam.toLowerCase();\r
-                               findFTSKey();\r
-                       }\r
-               }\r
-               RegisterListener2(this, WH_MSG_SEARCHFTSKEY);\r
-       }\r
-}\r
-\r
-function loadData2(sFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(sFile);\r
-       else\r
-               loadData(sFile);\r
-}\r
-\r
-function findFTSKey()\r
-{\r
-       gaTI=new Array();\r
-       gnCurrentOp=1;\r
-       gbNot=false;\r
-       displayMsg(gsSearchMsg);\r
-       if(gsSK!="")\r
-       {\r
-               gbFirst=true;\r
-               findOneKey();\r
-       }\r
-}\r
-\r
-function findOneKey()\r
-{\r
-       if(gsSK && gsSK!="")\r
-       {\r
-               var sInput=gsSK;\r
-               var sCW="";\r
-               var nS=-1;\r
-               var nSep=-1;\r
-               for(var nChar=0;nChar<gsFtsBreakChars.length;nChar++){\r
-                       var nFound=sInput.indexOf(gsFtsBreakChars.charAt(nChar));\r
-                       if((nFound!=-1)&&((nS==-1)||(nFound<nS))){\r
-                               nS=nFound;\r
-                               nSep=nChar;\r
-                       }\r
-               }\r
-               if(nS==-1){\r
-                       sCW=sInput;\r
-                       sInput="";\r
-               }else{\r
-                       sCW=sInput.substring(0,nS);\r
-                       sInput=sInput.substring(nS+1);\r
-               }\r
-\r
-               gsSK=sInput;\r
-               \r
-               if((sCW=="or")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){\r
-                       gnCurrentOp=0;\r
-                       gbNot=false;\r
-               }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){\r
-                       gnCurrentOp=1;\r
-                       gbNot=false;\r
-               }else if((sCW=="not")||\r
-                       ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){\r
-                       gbNot=!gbNot;\r
-               }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){\r
-                       var sCurrentStem=GetStem(sCW);\r
-                       gsCW=sCurrentStem;\r
-                       ftsFindKeyword();\r
-                       return;\r
-               }\r
-               findOneKey();\r
-       }\r
-       else{\r
-               displayTopics();\r
-               checkAgain();\r
-       }\r
-}\r
-\r
-function checkAgain()\r
-{\r
-       gsCheckKey = "";\r
-       gnIndexNum = 0;\r
-       gsSK=gsSK2;\r
-       gsSK2=null;\r
-       if(gsSK!=null)\r
-               setTimeout("findFTSKey();",1);\r
-}\r
-\r
-function displayTopics()\r
-{\r
-       var sHTML="";\r
-       var sLine="";\r
-       for(var i=0;i<gaTI.length;i++){\r
-               sLine+="<dt><nobr><a href='"+gaTI[i].sTopicURL+"'>"+_textToHtml(gaTI[i].sTopicTitle)+"</a></nobr></dt>";\r
-               if(i>>4<<4==i)\r
-               {\r
-                       sHTML+=sLine;\r
-                       sLine="";\r
-               }\r
-       }\r
-       if(sLine.length>0)\r
-               sHTML+=sLine;\r
-\r
-       if(sHTML.length==0)\r
-               sHTML="<P>"+gsNoTopics+"</P>"\r
-       else\r
-               sHTML="<dl>"+sHTML+"</dl>";\r
-\r
-       var resultDiv=getElement(gsResultDivID);\r
-       if(resultDiv)\r
-               resultDiv.innerHTML=sHTML;\r
-}\r
-\r
-function displayMsg(sErrorMsg)\r
-{\r
-       var sHTML="<P>"+sErrorMsg+"</P>";\r
-\r
-       var resultDiv=getElement(gsResultDivID);\r
-       if(resultDiv)\r
-               resultDiv.innerHTML=sHTML;\r
-}\r
-\r
-function ftsFindKeyword()\r
-{\r
-       var sKey=gsCW;\r
-       var bNeedLoad=false;\r
-       var aFtsContentsCon=null;\r
-       var s=0;\r
-       if(sKey==null) return;\r
-       if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0)\r
-       {\r
-               aFtsContentsCon=new Array();\r
-               gnCheck=0;\r
-               gsCheckKey=sKey;\r
-               gnTopicCheck=0;\r
-               gaTopicCheckInfo=null;\r
-       }\r
-       else{\r
-               s=gnIndexNum;\r
-               aFtsContentsCon=gaFtsContentsCon;\r
-       }\r
-       for(var i=gnCheck;i<gaaFCD.length;i++)\r
-       {\r
-               var oCF=getChunkedFts(i,sKey);\r
-               if(oCF)\r
-               {\r
-                       if(!oCF.aFtsKeys&&oCF.sFileName!=null)\r
-                       {\r
-                               bNeedLoad=true;\r
-                               oCF.nProjId=i;\r
-                               goCF=oCF;\r
-                               gnIndexNum=s;\r
-                               gnCheck=i;\r
-                               gaFtsContentsCon=aFtsContentsCon;\r
-                               gnLoadFts=2;\r
-                               beginLoading();\r
-                               loadData2(gaData[i].sPPath+gaData[i].sDPath+oCF.sFileName);\r
-                               break;\r
-                       }\r
-                       else{\r
-                               aFtsContentsCon[s++]=oCF;\r
-                       }\r
-               }\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               var aTI=gaTopicCheckInfo;\r
-               for(var m=gnTopicCheck;m<aFtsContentsCon.length;m++)\r
-               {\r
-                       var aTIPart=getTopics(aFtsContentsCon[m],sKey);\r
-                       if(aTIPart==null)\r
-                       {\r
-                               gnCheck=gaaFCD.length;\r
-                               gnTopicCheck=m;\r
-                               gaTopicCheckInfo=aTI;\r
-                               gaFtsContentsCon=aFtsContentsCon;\r
-                               return;\r
-                       }\r
-                       if(m==0)\r
-                               aTI=aTIPart;\r
-                       else\r
-                               aTI=mergeTopics(aTI,aTIPart);\r
-               }\r
-               if(mergewithPreviousResult(aTI))\r
-               {\r
-                       gbFirst=false;\r
-                       findOneKey();\r
-               }\r
-               else\r
-                       checkAgain();\r
-       }\r
-}\r
-\r
-function mergewithPreviousResult(aTI)\r
-{\r
-       if(aTI!=null&&aTI.length!=0)\r
-       {\r
-               var nNumTopics=aTI.length;\r
-               if(gnCurrentOp==0||gbFirst){\r
-                       if(gbNot){\r
-                               displayMsg(gsHelpCannotSearch);\r
-                               return false;\r
-                       }else{\r
-                               var aLS,aSS;\r
-                               if(gaTI.length>=aTI.length)\r
-                               {\r
-                                       aLS=gaTI;\r
-                                       aSS=aTI;\r
-                               }\r
-                               else\r
-                               {\r
-                                       aLS=aTI;\r
-                                       aSS=gaTI;\r
-                               }\r
-                               var s=0;\r
-                               for(var i=0;i<aSS.length;i++)\r
-                               {\r
-                                       var bAlreadyThere=false;\r
-                                       for(var j=s;j<aLS.length;j++)\r
-                                       {\r
-                                               if(aSS[i].equalTo(aLS[j]))\r
-                                               {\r
-                                                       bAlreadyThere=true;\r
-                                                       s=j;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                                       if(!bAlreadyThere)\r
-                                       {\r
-                                               insertTopic(aLS,aSS[i]);\r
-                                       }\r
-                               }\r
-                               gaTI=aLS;\r
-                       }\r
-               }else if(gnCurrentOp==1){\r
-                       if(gbNot){\r
-                               var s=0;\r
-                               for(var i=0;i<aTI.length;i++)\r
-                               {\r
-                                       for(var j=s;j<gaTI.length;j++)\r
-                                       {\r
-                                               if(aTI[i].equalTo(gaTI[j]))\r
-                                               {\r
-                                                       removeItemFromArray(gaTI,j);\r
-                                                       s=j;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }else{\r
-                               var s=0;\r
-                               for(var i=0;i<gaTI.length;i++)\r
-                               {\r
-                                       var bFound=false;\r
-                                       for(var j=s;j<aTI.length;j++)\r
-                                       {\r
-                                               if(gaTI[i].equalTo(aTI[j]))\r
-                                               {\r
-                                                       bFound=true;\r
-                                                       s=j;\r
-                                               }\r
-                                       }\r
-                                       if(!bFound)\r
-                                       {\r
-                                               removeItemFromArray(gaTI,i);\r
-                                               i--;\r
-                                       }\r
-                               }                               \r
-                       }\r
-               }\r
-       }else{\r
-               if((gnCurrentOp==1)&&(!gbNot)){\r
-                       gaTI.length=0;\r
-               }else if((gnCurrentOp==0)&&(gbNot)){\r
-                       displayMsg(gsHelpCannotSearch);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function insertTopic(aTI,oTI)\r
-{\r
-       var nB=0;\r
-       var nE=aTI.length-1;\r
-       if(nE>=0)\r
-       {\r
-               var nM;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)\r
-                               nB=nM+1;\r
-                       else\r
-                       {\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-                       insertItemIntoArray(aTI,nM,oTI);\r
-               else\r
-               {\r
-                       if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)\r
-                               insertItemIntoArray(aTI,nM+1,oTI);\r
-                       else\r
-                               insertItemIntoArray(aTI,nM,oTI);\r
-               }\r
-       }\r
-       else\r
-               aTI[0]=oTI;\r
-}\r
-\r
-function mergeTopics(aTI1,aTI2)\r
-{\r
-       var i1=0;\r
-       var i2=0;\r
-       var len1=aTI1.length;\r
-       var len2=aTI2.length;\r
-       var aTopicNew=new Array();\r
-       var i=0;\r
-       while(i1<len1||i2<len2)\r
-       {\r
-               if(i1<len1&&i2<len2)\r
-               {\r
-                       if(compare(aTI1[i1].sTopicTitle,aTI2[i2].sTopicTitle)<0)\r
-                               aTopicNew[i++]=aTI1[i1++];\r
-                       else\r
-                               aTopicNew[i++]=aTI2[i2++];\r
-               }\r
-               else if(i1<len1)\r
-                       aTopicNew[i++]=aTI1[i1++];\r
-               else if(i2<len2)\r
-                       aTopicNew[i++]=aTI2[i2++];\r
-       }\r
-       return aTopicNew;\r
-}\r
-\r
-function getTopics(oCF,sKey)\r
-{\r
-       var aTIPart=new Array();\r
-       if(oCF&&oCF.aFtsKeys)\r
-       {\r
-               var keys=oCF.aFtsKeys;\r
-               var nB=0;\r
-               var nE=keys.length-1;\r
-               var nM=-1;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(compare(keys[nM].sItemName,sKey)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(keys[nM].sItemName,sKey)<0)\r
-                               nB=nM+1;\r
-                       else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-               {\r
-                       if(keys[nM].aTopics)\r
-                       {\r
-                               for(var i=0;i<keys[nM].aTopics.length;i++)\r
-                               {\r
-                                       var oTC=getTopicChunk(gaaFTCD[oCF.nProjId],keys[nM].aTopics[i]);\r
-                                       if(oTC.aTopics)\r
-                                       {\r
-                                               aTIPart[aTIPart.length]=\r
-                                                       new topicInfo(oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicTitle,\r
-                                                               gaData[oCF.nProjId].sPPath+oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicURL);\r
-                                       }\r
-                                       else{\r
-                                               goCTF=oTC;\r
-                                               gnLoadFts=3;\r
-                                               beginLoading();\r
-                                               loadData2(gaData[oCF.nProjId].sPPath+gaData[oCF.nProjId].sDPath+oTC.sFileName);\r
-                                               return null;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return aTIPart;\r
-}\r
-\r
-function getTopicChunk(aFTCD,nTopicId)\r
-{\r
-       if(aFTCD&&aFTCD.length)\r
-       {\r
-               var nB=0;\r
-               var nE=aFTCD.length-1;\r
-               var nM=-1;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(aFTCD[nM].nBegin>nTopicId)\r
-                               nE=nM-1;\r
-                       else if(aFTCD[nM].nEnd<nTopicId)\r
-                               nB=nM+1;\r
-                       else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-                       return aFTCD[nM];\r
-       }\r
-       return null;\r
-}\r
-\r
-function endLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-               oDiv.style.visibility="hidden";\r
-}\r
-\r
-function beginLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(!oDiv)\r
-       {\r
-               document.body.insertAdjacentHTML("afterBegin",writeLoadingDiv());\r
-               oDiv=getElement(gsLoadingDivID);\r
-       }\r
-       \r
-       if(oDiv)\r
-       {\r
-               oDiv.style.top=document.body.scrollTop;\r
-               oDiv.style.visibility="visible";\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIIdx)\r
-{\r
-       return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";\r
-}\r
-\r
-function topicInfo(sTopicTitle,sTopicURL)\r
-{\r
-       this.sTopicTitle=sTopicTitle;\r
-       this.sTopicURL=sTopicURL;\r
-       this.equalTo=function(oTI)\r
-       {\r
-               return ((this.sTopicTitle==oTI.sTopicTitle)&&\r
-                       (this.sTopicURL==oTI.sTopicURL));\r
-       }\r
-}\r
-\r
-function getChunkedFts(nIndex,sKey)\r
-{\r
-       var oCF=null;\r
-       if(nIndex<gaaFCD.length)\r
-       {\r
-               var len=gaaFCD[nIndex].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bFound=false;\r
-                       do{\r
-                               var nM=(nB+nE)>>1;\r
-                               if(compare(sKey,gaaFCD[nIndex][nM].sEndKey)>0)\r
-                               {\r
-                                       nB=nM+1;\r
-                               }\r
-                               else if(compare(sKey,gaaFCD[nIndex][nM].sStartKey)<0)\r
-                               {\r
-                                       nE=nM-1;\r
-                               }\r
-                               else{\r
-                                       bFound=true;\r
-                                       break;\r
-                               }\r
-                       }while(nE>=nB);\r
-                       if(bFound)\r
-                               oCF=gaaFCD[nIndex][nM];\r
-               }\r
-       }\r
-       return oCF;\r
-}\r
-\r
-function ftsReady(aFCD,aFTCD)\r
-{\r
-       endLoading();\r
-       gaaFTCD[gnCLF]=aFTCD;\r
-       gaaFCD[gnCLF++]=aFCD;\r
-       setTimeout("loadFD();",1);\r
-}\r
-\r
-function putFtsTData(aTopics)\r
-{\r
-       endLoading();\r
-       var oCTF=goCTF;\r
-       if(oCTF)\r
-       {\r
-               oCTF.aTopics=aTopics;\r
-               setTimeout("ftsFindKeyword();",1);\r
-       }\r
-}\r
-\r
-function putFtsWData(aFtsContents)\r
-{\r
-       endLoading();\r
-       var oCF=goCF;\r
-       if(oCF)\r
-       {\r
-               updateCache(oCF);\r
-               oCF.aFtsKeys=aFtsContents;\r
-               setTimeout("ftsFindKeyword();",1);\r
-       }\r
-}\r
-\r
-function IsStopWord(sCW,aFtsStopArray)\r
-{\r
-       var nStopArrayLen=aFtsStopArray.length;\r
-       var nB=0;\r
-       var nE=nStopArrayLen-1;\r
-       var nM=0;\r
-       var bFound=false;\r
-       var sStopWord="";\r
-       while(nB<=nE){\r
-               nM=(nB+nE);\r
-               nM>>=1;\r
-               sStopWord=aFtsStopArray[nM];\r
-               if(compare(sCW,sStopWord)>0){\r
-                       nB=(nB==nM)?nM+1:nM;\r
-               }else{\r
-                       if(compare(sCW,sStopWord)<0){\r
-                               nE=(nE==nM)?nM-1:nM;\r
-                       }else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       return bFound;\r
-}\r
-\r
-function GetStem(szWord)\r
-{\r
-       if(gaFtsStem==null||gaFtsStem.length==0)return szWord;\r
-       var aStems=gaFtsStem;\r
-\r
-       var nStemPos=0;\r
-       var csStem="";\r
-       for(var iStem=0;iStem<aStems.length;iStem++){\r
-\r
-               if(aStems[iStem].length>=szWord.length-1)       continue;\r
-               nStemPos=szWord.lastIndexOf(aStems[iStem]);\r
-               if(nStemPos>0){\r
-                       var cssub=szWord.substring(nStemPos);\r
-                       if(cssub==aStems[iStem]){\r
-                               csStem=szWord;\r
-                               if(szWord.charAt(nStemPos-2)==szWord.charAt(nStemPos-1)){\r
-                                       csStem=csStem.substring(0,nStemPos-1);\r
-                               }else{\r
-                                       csStem=csStem.substring(0,nStemPos);\r
-                               }\r
-                               return csStem;\r
-                       }\r
-               }\r
-       }\r
-       return szWord;\r
-}\r
-\r
-function FtsWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goErrFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this, WH_MSG_SEARCHFTSKEY);\r
-}\r
-\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_SEARCHFTSKEY)\r
-       {\r
-               if(oMsg.oParam)\r
-               {\r
-                       if(gsSK==null||gsSK=="")\r
-                       {\r
-                               gsSK=oMsg.oParam.toLowerCase();\r
-                               findFTSKey();\r
-                       }\r
-                       else\r
-                               gsSK2=oMsg.oParam.toLowerCase();\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PROJECTREADY)\r
-       {\r
-               loadFts();\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhLang&&window.gbWhProxy&&window.gbWhVer&&window.gbWhMsg)\r
-{\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goErrFont=new whFont("Verdana","8pt","#000000","normal","bold","none");\r
-       goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       gbWhFHost=true;\r
-}\r
-else\r
-       document.location.reload();
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whform.js b/doc/salome/gui/GEOM/whform.js
deleted file mode 100755 (executable)
index 323fe8e..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-//     WebHelp 5.10.001\r
-var gfunLookUp;\r
-var gbInputEnable;\r
-var gfunInit;\r
-var gstrFormName= "";\r
-var gbWithButton = false;\r
-var gsTitle="";\r
-var gsOverImage = "";\r
-var gsOutImage = "";\r
-var gsClickImage = "";\r
-var gsText = "";\r
-var gsBgColor = "#c0c0c0";\r
-var gsBgImage = "";\r
-var gbInImage = 0;\r
-var gbInputEnable = 0;\r
-\r
-var goTitleFont=null;\r
-var goInputFont=null;\r
-var goNormalFont=null;\r
-var goHoverFont=null;\r
-var gnType=-1;\r
-var gbWhForm=false;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsBgImage = sBgImage;\r
-\r
-       if  (gsBgImage  && gsBgImage .length > 0)\r
-       {\r
-               document.body.background = gsBgImage ;\r
-       }\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsBgColor = sBgColor;\r
-\r
-       if (gsBgColor&& gsBgColor.length > 0)\r
-       {\r
-               document.body.bgColor = gsBgColor;\r
-       }\r
-}\r
-\r
-function setBtnType(sType)\r
-{\r
-       if (sType == "image")\r
-       {\r
-               gnType = 0;\r
-       }\r
-       else if (sType == "text")\r
-       {\r
-               gnType = 1;\r
-       }\r
-}\r
-\r
-function setGoImage1(sImage1)\r
-{\r
-       gsOutImage = sImage1;\r
-       if (gsOutImage && gsOutImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoImage2(sImage2)\r
-{\r
-       gsOverImage = sImage2;\r
-       if (gsOverImage && gsOverImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoImage3(sImage3)\r
-{\r
-       gsClickImage = sImage3;\r
-       if (gsClickImage && gsClickImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoText(sText)\r
-{\r
-       gsText = sText;\r
-       if (gsText.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)\r
-{\r
-       var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);\r
-       if (sType == "Title")\r
-       {\r
-               goTitleFont = vFont;\r
-               var vFont1 = new whFont(sFontName, sFontSize, "black", sFontStyle, sFontWeight, sFontDecoration);\r
-               goInputFont=vFont1;             \r
-       }\r
-       else if (sType == "Normal")\r
-               goNormalFont = vFont;\r
-       else if (sType == "Hover")\r
-               goHoverFont = vFont;\r
-}\r
-\r
-function writeFormStyle()\r
-{\r
-       var sStyle = "<style type='text/css'>";\r
-       sStyle += "p.title {" + getFontStyle(goTitleFont) + "margin-top:0;margin-bottom:0}\n";\r
-       sStyle += ".inputfield {" + getFontStyle(goInputFont) +"width:100%; }\n";\r
-       sStyle+="A:link {"+getFontStyle(goNormalFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goNormalFont)+"}\n";\r
-       sStyle +="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+=".clsFormBackground{\n";\r
-       if (gsBgImage)\r
-               sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="border-top:black 1px solid;}\n";\r
-\r
-       sStyle += "</style>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function lookupKeyDown()\r
-{\r
-       if (gbInputEnable)\r
-       {\r
-               if (gbIE4)\r
-               {\r
-                       if (event.keyCode == 13)        //Enter key\r
-                               gfunLookUp(true);\r
-                       else\r
-                               gfunLookUp(false);\r
-               }                       \r
-               else\r
-                       gfunLookUp(false);\r
-       }\r
-}\r
-\r
-function init()\r
-{\r
-       if (gfunInit)\r
-               gfunInit();\r
-       if (!window.Array)  return;\r
-               document.onkeyup = lookupKeyDown;\r
-}\r
-\r
-function inputSubmit()\r
-{\r
-       if ((gbInputEnable && !gbIE4)|| gbInImage)\r
-               gfunLookUp(true);\r
-}\r
-\r
-function inputEnable(bEnable)\r
-{\r
-       gbInputEnable = bEnable;\r
-}\r
-\r
-function inImage(bImage)\r
-{\r
-       gbInImage = bImage;\r
-}\r
-\r
-function getFormHTML()\r
-{\r
-       var sForm = "";\r
-       sForm += "<table class=\"clsFormBackground\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">";\r
-       sForm += "<form name=\"" + gstrFormName + "\" method=\"POST\" action=\"javascript:inputSubmit()\" style=\"width:100%\">";\r
-       sForm += "<tr>";\r
-       sForm += "<td>";\r
-       sForm += "<p class=title><nobr>" + gsTitle + "</nobr><br><table width=\"100%\"><tr valign=\"middle\"><td width=\"100%\"><input class=\"inputfield\" type=\"text\" name=\"keywordField\" onfocus=\"inputEnable(1);\" onblur=\"inputEnable(0);\"></td>";\r
-       if (gbWithButton && gnType >= 0)\r
-       {\r
-               sForm += "<td><a title=\"submit button\" href=\"javascript:void(0);\" onclick=\"" + gstrFormName + ".submit(); return false;\" onfocus=\"inImage(1);\" onblur=\"inImage(0);\" onmouseup=\"onMouseUp();\" onmousedown=\"onMouseDown();\" onmouseover=\"onMouseOver();\" onmouseout=\"onMouseOut();\">"\r
-               if (gnType == 0)\r
-               {\r
-                       if (!gsText)\r
-                               gsText="Go";\r
-                       sForm += "<img alt=\""+gsText+"\" id=\"go\" border=\"0\" src=\"" + gsOutImage + "\">";\r
-               }\r
-               else\r
-                       sForm += gsText ;\r
-               sForm += "</a></td>";\r
-       }\r
-       sForm += "</tr></table></p></td></tr></form></table>";\r
-       return sForm;\r
-}\r
-\r
-function onMouseOver()\r
-{\r
-       if (getElement("go") && gsOverImage)\r
-               getElement("go").src = gsOverImage;\r
-}\r
-\r
-function onMouseDown()\r
-{\r
-       if (getElement("go") && gsClickImage)\r
-               getElement("go").src = gsClickImage;\r
-}\r
-\r
-function onMouseUp()\r
-{\r
-       if (getElement("go") && gsOutImage)\r
-               getElement("go").src = gsOutImage;\r
-}\r
-\r
-function onMouseOut()\r
-{\r
-       if (getElement("go") && gsOutImage)\r
-               getElement("go").src = gsOutImage;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)\r
-{\r
-       goTitleFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");\r
-       goNormalFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");\r
-       goHoverFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "underline");\r
-       gbWhForm=true;\r
-}\r
-else\r
-       document.location.reload();
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whframes.js b/doc/salome/gui/GEOM/whframes.js
deleted file mode 100755 (executable)
index 2040f33..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//     WebHelp 5.10.001\r
-// this value should be identical to the value used in whproxy.js\r
-window.whname = "wh_stub";\r
-\r
-// this file will be used by Topic and NavBar and NavPane and other components\r
-// and this file is used in child frame html.\r
-// and the whstub.js will be used in the start page.\r
-// see reference in whstub.js.\r
-// Internal Area\r
-var gbInited = false;\r
-var gWndStubPage = null;\r
-function getStubPage()\r
-{\r
-       if (!gbInited)\r
-       {\r
-               gWndStubPage = getStubPage_inter(window);\r
-               gbInited = true;\r
-       }\r
-       return gWndStubPage;\r
-}\r
-\r
-function getStubPage_inter(wCurrent) {\r
-       if (null == wCurrent.parent || wCurrent.parent == wCurrent)\r
-               return null;\r
-\r
-       if (wCurrent.parent.whname && "wh_stub" == wCurrent.parent.whname) \r
-               return wCurrent.parent;\r
-       else\r
-               if (wCurrent.parent.frames.length != 0 && wCurrent.parent != wCurrent)\r
-                       return getStubPage_inter(wCurrent.parent);\r
-               else \r
-                       return null;\r
-}\r
-\r
-// Public interface begin here................\r
-function RegisterListener(framename, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this) {\r
-               return wStartPage.RegisterListener(framename, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oframe, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this) {\r
-               return wStartPage.RegisterListener2(oframe, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oframe, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this && wStartPage.UnRegisterListener2) {\r
-               return wStartPage.UnRegisterListener2(oframe, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var nMsgId = oMessage.nMessageId;\r
-       if (nMsgId == WH_MSG_ISINFRAMESET && oMessage.wSender != this)\r
-               return true;\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this && wStartPage.SendMessage) \r
-       {\r
-               return wStartPage.SendMessage(oMessage);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-var gbWhProxy=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whgbody.htm b/doc/salome/gui/GEOM/whgbody.htm
deleted file mode 100755 (executable)
index 476ec2d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>\r
-<head>\r
-<title>Glossary Term</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whhost.js"></script>\r
-<script language="javascript1.2" src="whghost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(window.gbWhGHost)\r
-{\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       GloWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white">\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whgdata/whexpbar.gif b/doc/salome/gui/GEOM/whgdata/whexpbar.gif
deleted file mode 100755 (executable)
index e677dc6..0000000
Binary files a/doc/salome/gui/GEOM/whgdata/whexpbar.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf0.htm b/doc/salome/gui/GEOM/whgdata/whlstf0.htm
deleted file mode 100755 (executable)
index 936cdd8..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" >\r
-\r
-\r
-<nobr><a name="bm_{"></a><a name="subkey_{D"></a>1d <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_{S"></a><a name="subkey_{S"></a>1st <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><nobr><a name="bms_{D"></a><a name="subkey_{D"></a>2d <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><nobr><a name="bms_{N"></a><a name="subkey_{N"></a>2nd <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a name="bms_{S"></a><a name="subkey_{S"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2st</b></a> <br><nobr><a name="bms_{D"></a><a name="subkey_{D"></a>3d <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>9</b></a> </nobr><br><nobr><a name="bms_{R"></a><a name="subkey_{R"></a>3rd <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_{S"></a><a name="subkey_{S"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3st</b></a> <br>\r
-<br><br>\r
-<a name="bm_A"></a><a name="subkey_AB"></a><a href="../sketcher.htm"><b>able</b></a> <br><a href="../sketcher.htm"><b>absolute</b></a> <br><a name="bms_AC"></a><a name="subkey_AC"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>accessible</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>accordance</b></a> <br><nobr>according <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>achieve</b></a> <br><a name="bms_AD"></a><a name="subkey_AD"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>add</b></a> <br><nobr>added <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><a href="../working_with_groups.htm"><b>addobject</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>adjustment</b></a> <br><nobr>advanced <a href="../files/salome2_sp3_generationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_AI"></a><a name="subkey_AI"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>aimed</b></a> <br><a name="bms_AL"></a><a name="subkey_AL"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>algorithm</b></a> <br><nobr>allowing <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> </nobr><br><nobr>allows <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../working_with_groups.htm"><b>5</b></a> </nobr><br><nobr>along <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><nobr><a name="bms_AN"></a><a name="subkey_AN"></a>angle <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>another</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>any</b></a> <br><a name="bms_AP"></a><a name="subkey_AP"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>applicable</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>applied</b></a> <br><nobr>apply <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>applying</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>approximation</b></a> <br><nobr><a name="bms_AR"></a><a name="subkey_AR"></a>arc <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>archimede</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>argument</b></a> <br><nobr>arguments <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../changing_displaying_parameters.htm"><b>12</b></a> <a href="../working_with_groups.htm"><b>13</b></a> </nobr><br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>around</b></a> <br><a name="bms_AS"></a><a name="subkey_AS"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>associated</b></a> <br><a name="bms_AT"></a><a name="subkey_AT"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>attributes</b></a> <br><nobr><a name="bms_AU"></a><a name="subkey_AU"></a>automatically <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_AV"></a><a name="subkey_AV"></a>available <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>4</b></a> <a href="../working_with_groups.htm"><b>5</b></a> </nobr><br><a name="bms_AX"></a><a name="subkey_AX"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>axes</b></a> <br><nobr>axis <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br>\r
-<br><br>\r
-<a name="bm_B"></a><a name="subkey_B{"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>b</b></a> <br><a name="bms_BA"></a><a name="subkey_BA"></a><a href="../working_with_groups.htm"><b>background</b></a> <br><nobr>base <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>based</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>baseshape</b></a> <br><nobr>basic <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> <a href="../files/introduction_to_geom.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>basicproperties</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>basing</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>basis</b></a> <br><nobr><a name="bms_BE"></a><a name="subkey_BE"></a>before <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>below</b></a> <br><nobr>bezier <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_BL"></a><a name="subkey_BL"></a>block <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br><nobr>blocks <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../blocks.htm"><b>4</b></a> </nobr><br><nobr><a name="bms_BO"></a><a name="subkey_BO"></a>boolean <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>3</b></a> <a href="../files/introduction_to_geom.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>both</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>boundaries</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>boundary</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>bounding</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>boundingbox</b></a> <br><nobr>box <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>12</b></a> <a href="../changing_displaying_parameters.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><a name="bms_BR"></a><a name="subkey_BR"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>breaks</b></a> <br><nobr>brep <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><nobr>browser <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a name="bms_BS"></a><a name="subkey_BS"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>bspline</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>bsplinerestriction</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>bsplines</b></a> <br><nobr><a name="bms_BU"></a><a name="subkey_BU"></a>build <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> </nobr><br><nobr>building <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../files/introduction_to_geom.htm"><b>3</b></a> <a href="../blocks.htm"><b>4</b></a> </nobr><br><nobr>builds <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><nobr>button <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_BY"></a><a name="subkey_BY"></a><a href="../newentity_blocks.htm"><b>bypassing</b></a> <br>\r
-<br><br>\r
-<a name="bm_C"></a><a name="subkey_CA"></a><a href="../files/introduction_to_geom.htm"><b>cad</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>camera</b></a> <br><nobr>case <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr><a name="bms_CE"></a><a name="subkey_CE"></a>center <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>centerofscale</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>central</b></a> <br><a name="bms_CH"></a><a name="subkey_CH"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>chamfer</b></a> <br><a href="../changing_displaying_parameters.htm"><b>change</b></a> <br><a href="../changing_displaying_parameters.htm"><b>changes</b></a> <br><a href="../changing_displaying_parameters.htm"><b>changing</b></a> <br><nobr>check <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><nobr>checkbox <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>checkcompoundofblocks</b></a> <br><nobr>checked <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><nobr>checking <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>checks</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>checkshape</b></a> <br><nobr>choose <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> </nobr><br><a name="bms_CI"></a><a name="subkey_CI"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>circle</b></a> <br><nobr><a name="bms_CL"></a><a name="subkey_CL"></a>click <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../changing_displaying_parameters.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>close</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>closecontour</b></a> <br><nobr>closed <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>closedwires</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>closes</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>closure</b></a> <br><a name="bms_CO"></a><a name="subkey_CO"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>coincident</b></a> <br><a href="../changing_displaying_parameters.htm"><b>color</b></a> <br><nobr>command <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>12</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>13</b></a> <a href="../changing_displaying_parameters.htm"><b>14</b></a> <a href="../working_with_groups.htm"><b>15</b></a> </nobr><br><nobr>common <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><nobr>complex <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>3</b></a> <a href="../files/introduction_to_geom.htm"><b>4</b></a> </nobr><br><nobr>components <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>composed</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>composing</b></a> <br><nobr>compound <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>7</b></a> </nobr><br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>compsolid</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>compute</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>computed</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>concerning</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>conditions</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>cone</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>confirm</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>conical</b></a> <br><nobr>connected <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>connection</b></a> <br><nobr>considered <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>console</b></a> <br><a href="../newentity_blocks.htm"><b>constraints</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>construct</b></a> <br><nobr>constructed <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>constructing</b></a> <br><nobr>construction <a href="../files/salome2_sp3_booleangui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><nobr>constructor <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>contain</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>contained</b></a> <br><a href="../sketcher.htm"><b>containing</b></a> <br><nobr>contains <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>contents</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>continuities</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>continuity</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>continuity2d</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>continuity3d</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>contour</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>conversion</b></a> <br><nobr>coordinate <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>coordinates <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>copy</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>corners</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>correction</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>correspond</b></a> <br><nobr>corresponding <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>correspondingly <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a href="../sketcher.htm"><b>coupled</b></a> <br><br><br></p><p class="ftsbody" align="center"><a href="whlstf1.htm" target="_self" title="previous search group"><b>&gt;&gt;</b></a>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf1.htm b/doc/salome/gui/GEOM/whgdata/whlstf1.htm
deleted file mode 100755 (executable)
index ea24344..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" align="center"><a href="whlstf0.htm" target="_self" title="previous search group"><b>&lt;&lt;</b></a><br><br></p>\r
-<p class="ftsbody" >\r
-<nobr><a name="bms_CR"></a><a name="subkey_CR"></a>create <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>7</b></a> <a href="../working_with_groups.htm"><b>8</b></a> </nobr><br><nobr>created <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>6</b></a> <a href="../working_with_groups.htm"><b>7</b></a> </nobr><br><a href="../working_with_groups.htm"><b>creategroup</b></a> <br><nobr>creates <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>8</b></a> <a href="../working_with_groups.htm"><b>9</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>creating</b></a> <br><nobr>creation <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/introduction_to_geom.htm"><b>4</b></a> <a href="../working_with_groups.htm"><b>5</b></a> </nobr><br><nobr><a name="bms_CU"></a><a name="subkey_CU"></a>current <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> </nobr><br><nobr>curve <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>curve2dmode</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>curve3dmode</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>curvecontinuity</b></a> <br><nobr>curves <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>curving</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>cut</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>cuts</b></a> <br><nobr>cutting <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_CY"></a><a name="subkey_CY"></a><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>cylinder</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>cylindrical</b></a> <br>\r
-<br><br>\r
-<a name="bm_D"></a><a name="subkey_D{"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>d1</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>d2</b></a> <br><a name="bms_DA"></a><a name="subkey_DA"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>data</b></a> <br><nobr><a name="bms_DE"></a><a name="subkey_DE"></a>default <a href="../sketcher.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>define <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../sketcher.htm"><b>defined</b></a> <br><nobr>defines <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>defining <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>definite <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><nobr>definition <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>deflection</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>degenerated</b></a> <br><nobr>degree <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../sketcher.htm"><b>degrees</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>deleted</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>density</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>depending</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>describes</b></a> <br><nobr>description <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>12</b></a> <a href="../changing_displaying_parameters.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>desired</b></a> <br><a href="../sketcher.htm"><b>destination</b></a> <br><a href="../files/introduction_to_geom.htm"><b>destined</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>detect</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>detection</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>detects</b></a> <br><a name="bms_DI"></a><a name="subkey_DI"></a><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>diagonal</b></a> <br><nobr>dialog <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>12</b></a> <a href="../changing_displaying_parameters.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>differ</b></a> <br><nobr>different <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> <a href="../changing_displaying_parameters.htm"><b>4</b></a> </nobr><br><nobr>dimension <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><nobr>dimensions <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>dir</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>dir1</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>dir2</b></a> <br><nobr>direction <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><nobr>directions <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirface1v</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid1</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid1u</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid1v</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid2</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid2u</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>dirfaceid2v</b></a> <br><nobr>display <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> <a href="../changing_displaying_parameters.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>displayall</b></a> <br><nobr>displayed <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> <a href="../changing_displaying_parameters.htm"><b>4</b></a> </nobr><br><nobr>displaying <a href="../files/salome2_sp3_displaygui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>displayonly</b></a> <br><nobr>displays <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> </nobr><br><nobr>distance <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>divided</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>divideedge</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>dividing</b></a> <br><nobr><a name="bms_DO"></a><a name="subkey_DO"></a>done <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>double</b></a> <br><a href="../sketcher.htm"><b>doubles</b></a> <br><a name="bms_DR"></a><a name="subkey_DR"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>dropsmalledges</b></a> <br><nobr><a name="bms_DX"></a><a name="subkey_DX"></a>dx <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_DY"></a><a name="subkey_DY"></a>dy <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_DZ"></a><a name="subkey_DZ"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>dz</b></a> <br>\r
-<br><br>\r
-<a name="bm_E"></a><a name="subkey_E{"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>e</b></a> <br><a href="../newentity_blocks.htm"><b>e1</b></a> <br><a href="../newentity_blocks.htm"><b>e2</b></a> <br><a href="../newentity_blocks.htm"><b>e3</b></a> <br><a href="../newentity_blocks.htm"><b>e4</b></a> <br><a name="bms_EA"></a><a name="subkey_EA"></a><a href="../working_with_groups.htm"><b>easier</b></a> <br><nobr><a name="bms_ED"></a><a name="subkey_ED"></a>edge <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>edgeid</b></a> <br><nobr>edges <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> </nobr><br><a href="../working_with_groups.htm"><b>edit</b></a> <br><a href="../working_with_groups.htm"><b>editing</b></a> <br><a name="bms_EG"></a><a name="subkey_EG"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>egdemaxtol</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>egdemintol</b></a> <br><a name="bms_EI"></a><a name="subkey_EI"></a><a href="../newentity_blocks.htm"><b>either</b></a> <br><nobr><a name="bms_EL"></a><a name="subkey_EL"></a>element <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>elementary</b></a> <br><nobr>elements <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>ellipse</b></a> <br><a name="bms_EM"></a><a name="subkey_EM"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>empty</b></a> <br><a name="bms_EN"></a><a name="subkey_EN"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>encountered</b></a> <br><nobr>end <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>ending</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>ends</b></a> <br><nobr>enter <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>entire</b></a> <br><nobr>entity <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> <a href="../working_with_groups.htm"><b>7</b></a> </nobr><br><a name="bms_EQ"></a><a name="subkey_EQ"></a><a href="../sketcher.htm"><b>equal</b></a> <br><a name="bms_ER"></a><a name="subkey_ER"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>erase</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>eraseall</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>eraseonly</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>erases</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>error</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>errors</b></a> <br><nobr><a name="bms_ET"></a><a name="subkey_ET"></a>etc <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_EX"></a><a name="subkey_EX"></a>example <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>10</b></a> <a href="../changing_displaying_parameters.htm"><b>11</b></a> <a href="../working_with_groups.htm"><b>12</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>except</b></a> <br><nobr>existing <a href="../sketcher.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>explode <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../blocks.htm"><b>3</b></a> </nobr><br><nobr>exploded <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><nobr>export <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>exportation</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>exported</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>exporting</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>extra</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>extracted</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>extruded</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>extrusion</b></a> <br>\r
-<br><br>\r
-<a name="bm_F"></a><a name="subkey_F{"></a><a href="../newentity_blocks.htm"><b>f1</b></a> <br><a href="../newentity_blocks.htm"><b>f2</b></a> <br><a href="../newentity_blocks.htm"><b>f3</b></a> <br><a href="../newentity_blocks.htm"><b>f4</b></a> <br><a href="../newentity_blocks.htm"><b>f5</b></a> <br><a href="../newentity_blocks.htm"><b>f6</b></a> <br><nobr><a name="bms_FA"></a><a name="subkey_FA"></a>face <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>8</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>face1</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>face2</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>facemaxtol</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>facemintol</b></a> <br><nobr>faces <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>factor</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>false</b></a> <br><br><br></p><p class="ftsbody" align="center"><a href="whlstf2.htm" target="_self" title="previous search group"><b>&gt;&gt;</b></a>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf2.htm b/doc/salome/gui/GEOM/whgdata/whlstf2.htm
deleted file mode 100755 (executable)
index 645eb90..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" align="center"><a href="whlstf1.htm" target="_self" title="previous search group"><b>&lt;&lt;</b></a><br><br></p>\r
-<p class="ftsbody" >\r
-<a name="bms_FI"></a><a name="subkey_FI"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>fields</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>file</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>filename</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>files</b></a> <br><nobr>fill <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>filled</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>fillet</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>fillets</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>filling</b></a> <br><nobr>first <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>fix</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>fixfacesize</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>fixing</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>fixshape</b></a> <br><a name="bms_FL"></a><a name="subkey_FL"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>flag</b></a> <br><nobr><a name="bms_FO"></a><a name="subkey_FO"></a>following <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>format</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>formatname</b></a> <br><a href="../files/introduction_to_geom.htm"><b>formats</b></a> <br><a href="../newentity_blocks.htm"><b>four</b></a> <br><a name="bms_FR"></a><a name="subkey_FR"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>free</b></a> <br><a name="bms_FU"></a><a name="subkey_FU"></a><a href="../newentity_blocks.htm"><b>functionalities</b></a> <br><nobr>functionality <a href="../sketcher.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>functions <a href="../files/salome2_sp3_buildgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>fuse</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>fuses</b></a> <br>\r
-<br><br>\r
-<a name="bm_G"></a><a name="subkey_GA"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>gap</b></a> <br><a name="bms_GE"></a><a name="subkey_GE"></a><a href="../newentity_blocks.htm"><b>general</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>generating</b></a> <br><nobr>generation <a href="../files/salome2_sp3_generationgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><nobr>geom <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>10</b></a> <a href="../files/introduction_to_geom.htm"><b>11</b></a> <a href="../changing_displaying_parameters.htm"><b>12</b></a> </nobr><br><nobr>geom_object <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../working_with_groups.htm"><b>12</b></a> </nobr><br><nobr>geom_objects <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>geometric</b></a> <br><nobr>geometrical <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../files/introduction_to_geom.htm"><b>12</b></a> <a href="../changing_displaying_parameters.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>geometry</b></a> <br><nobr>geompy <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>12</b></a> <a href="../working_with_groups.htm"><b>13</b></a> </nobr><br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>get</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>getfreeboundary</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>getfreefacesids</b></a> <br><a href="../working_with_groups.htm"><b>getobjectids</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>gets</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>getsubshapeid</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>getting</b></a> <br><a name="bms_GG"></a><a name="subkey_GG"></a><a href="../changing_displaying_parameters.htm"><b>gg</b></a> <br><nobr><a name="bms_GI"></a><a name="subkey_GI"></a>given <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>gives</b></a> <br><nobr><a name="bms_GL"></a><a name="subkey_GL"></a>glue <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><nobr>glued <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>glues</b></a> <br><a name="bms_GR"></a><a name="subkey_GR"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>graphic</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>gravity</b></a> <br><nobr>group <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>groups <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><a name="bms_GU"></a><a name="subkey_GU"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>gui</b></a> <br>\r
-<br><br>\r
-<a name="bm_H"></a><a name="subkey_HA"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>half</b></a> <br><a href="../working_with_groups.htm"><b>handling</b></a> <br><nobr>having <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_HE"></a><a name="subkey_HE"></a>height <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><nobr>hexahedral <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>hexahedron</b></a> <br><a name="bms_HI"></a><a name="subkey_HI"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>hide</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>hiding</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>highlight</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>highlights</b></a> <br><a name="bms_HO"></a><a name="subkey_HO"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>hole</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>holes</b></a> <br>\r
-<br><br>\r
-<a name="bm_I"></a><a name="subkey_I{"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>i</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i11</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i12</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i13</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i21</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i22</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i23</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i31</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i32</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>i33</b></a> <br><nobr><a name="bms_ID"></a><a name="subkey_ID"></a>id <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../changing_displaying_parameters.htm"><b>5</b></a> <a href="../working_with_groups.htm"><b>6</b></a> </nobr><br><nobr>ids <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> <a href="../working_with_groups.htm"><b>4</b></a> </nobr><br><nobr><a name="bms_IF"></a><a name="subkey_IF"></a>if <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../working_with_groups.htm"><b>5</b></a> </nobr><br><nobr><a name="bms_IG"></a><a name="subkey_IG"></a>iges <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a name="bms_IM"></a><a name="subkey_IM"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>image</b></a> <br><nobr>import <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>importation</b></a> <br><nobr>imported <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>importing</b></a> <br><a name="bms_IN"></a><a name="subkey_IN"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>increased</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>independent</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>independently</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>indices</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>inertia</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>informs</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>initial</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>inner</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>inquired</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>inretia</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>inserted</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>inside</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>integer</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>integers</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>intended</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>interactively</b></a> <br><a href="../newentity_blocks.htm"><b>intermediate</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>internal</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>intersect</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>intersected</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>intersection</b></a> <br><nobr>introduction <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>invalid</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>investigated</b></a> <br><a name="bms_IS"></a><a name="subkey_IS"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>isbyparameter</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>iscommonvertex</b></a> <br><a href="../changing_displaying_parameters.htm"><b>isolines</b></a> <br><a href="../changing_displaying_parameters.htm"><b>isos</b></a> <br><a name="bms_IT"></a><a name="subkey_IT"></a><a href="../files/salome2_sp3_generationgui_functions.htm"><b>iterations</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>itself</b></a> <br><a name="bms_IX"></a><a name="subkey_IX"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>ix</b></a> <br><a name="bms_IY"></a><a name="subkey_IY"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>iy</b></a> <br><a name="bms_IZ"></a><a name="subkey_IZ"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>iz</b></a> <br>\r
-<br><br>\r
-<a name="bm_J"></a><a name="subkey_JU"></a><a href="../newentity_blocks.htm"><b>just</b></a> <br>\r
-<br><br>\r
-<a name="bm_K"></a><a name="subkey_KE"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>keep</b></a> <br>\r
-<br><br>\r
-<nobr><a name="bm_L"></a><a name="subkey_LA"></a>last <a href="../files/salome2_sp3_buildgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_LC"></a><a name="subkey_LC"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>lcs</b></a> <br><a name="bms_LE"></a><a name="subkey_LE"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>least</b></a> <br><nobr>length <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>less</b></a> <br><a name="bms_LI"></a><a name="subkey_LI"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>limit</b></a> <br><nobr>line <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>list <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> <a href="../working_with_groups.htm"><b>7</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listoffaceid</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>listofgeomshapes</b></a> <br><nobr>listofid <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listofkeepinside</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listofmaterials</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listofremoveinside</b></a> <br><nobr>listofshape <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listofshapeid</b></a> <br><nobr>listofshapes <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>listoftools</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>listofwireid</b></a> <br><nobr><a name="bms_LO"></a><a name="subkey_LO"></a>local <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>located</b></a> <br><nobr>location <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a name="bms_LW"></a><a name="subkey_LW"></a><a href="../sketcher.htm"><b>lwp</b></a> <br><nobr><a name="bms_LY"></a><a name="subkey_LY"></a>lying <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br>\r
-<br><br>\r
-<nobr><a name="bm_M"></a><a name="subkey_MA"></a>main <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>12</b></a> <a href="../blocks.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><a href="../working_with_groups.htm"><b>mainshape</b></a> <br><nobr>major <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>make</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makearc</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makebezier</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makeblockexplode</b></a> <br><a href="../files/salome2_sp3_booleangui_functions.htm"><b>makeboolean</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>makebox</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>makecdg</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makechamferedge</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makechamferface</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makecircle</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makecompound</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>makecone</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>makecylinder</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makeedge</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makeellipse</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makeface</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makefillet</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>makefilling</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>makegluefaces</b></a> <br><a href="../newentity_blocks.htm"><b>makehexasolid</b></a> <br><a href="../newentity_blocks.htm"><b>makehexasolidtwofaces</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makeinterpol</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makeline</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makemarker</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makemirrorbyplane</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makemultirotation1d</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makemultirotation2d</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makemultitransformation1d</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makemultitransformation2d</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makemultitranslation1d</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makemultitranslation2d</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makeoffset</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>makepartition</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>makepipe</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makeplane</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makepolyline</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makeposition</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>makeprism</b></a> <br><a href="../newentity_blocks.htm"><b>makequadface</b></a> <br><a href="../newentity_blocks.htm"><b>makequadfaceedges</b></a> <br><a href="../newentity_blocks.htm"><b>makequadfacevertices</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>makerevolution</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makerotation</b></a> <br><nobr>makes <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../working_with_groups.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>makescaletransform</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>makesewing</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makeshell</b></a> <br><a href="../sketcher.htm"><b>makesketcher</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makesolid</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>makesphere</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>maketorus</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>maketranslation</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makevector</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>makevertex</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>makewire</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>manually</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>mass</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>materials</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>matrix</b></a> <br><nobr>max <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>maxdegree</b></a> <br><nobr>maximal <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> </nobr><br><nobr>maximum <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>maxnbfaces</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>maxtolerance</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>maxtolerance3d</b></a> <br><br><br></p><p class="ftsbody" align="center"><a href="whlstf3.htm" target="_self" title="previous search group"><b>&gt;&gt;</b></a>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf3.htm b/doc/salome/gui/GEOM/whgdata/whlstf3.htm
deleted file mode 100755 (executable)
index 511fd44..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" align="center"><a href="whlstf2.htm" target="_self" title="previous search group"><b>&lt;&lt;</b></a><br><br></p>\r
-<p class="ftsbody" >\r
-<a name="bms_ME"></a><a name="subkey_ME"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>meaning</b></a> <br><a href="../sketcher.htm"><b>means</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>measurement</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>measures</b></a> <br><a href="../newentity_blocks.htm"><b>mentioned</b></a> <br><nobr>menu <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>12</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>13</b></a> <a href="../changing_displaying_parameters.htm"><b>14</b></a> <a href="../blocks.htm"><b>15</b></a> <a href="../working_with_groups.htm"><b>16</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>merging</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>mesh</b></a> <br><nobr>meshing <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>meshingdeflection</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>method</b></a> <br><a name="bms_MI"></a><a name="subkey_MI"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>middle</b></a> <br><nobr>min <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>mindegree</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>mindistance</b></a> <br><nobr>minimal <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>minimum</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>minnbfaces</b></a> <br><nobr>minor <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>mirror</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>mirrored</b></a> <br><nobr><a name="bms_MO"></a><a name="subkey_MO"></a>mode <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>modeled</b></a> <br><a href="../files/introduction_to_geom.htm"><b>models</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>modes</b></a> <br><nobr>modification <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>modified</b></a> <br><nobr>modifies <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>modify</b></a> <br><nobr>module <a href="../files/salome2_sp3_displaygui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>moment</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>moments</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>move</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>moved</b></a> <br><a name="bms_MU"></a><a name="subkey_MU"></a><a href="../working_with_groups.htm"><b>much</b></a> <br><nobr>multi <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../blocks.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>multitude</b></a> <br><nobr>must <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br>\r
-<br><br>\r
-<nobr><a name="bm_N"></a><a name="subkey_NA"></a>name <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>10</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>names</b></a> <br><a name="bms_NB"></a><a name="subkey_NB"></a><a href="../files/salome2_sp3_generationgui_functions.htm"><b>nbiter</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>nbsplitpoints</b></a> <br><nobr>nbtimes <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>nbtimes1</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>nbtimes2</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>nbtimesu</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>nbtimesv</b></a> <br><nobr><a name="bms_NE"></a><a name="subkey_NE"></a>necessary <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>needed</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>negative</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>neigbour</b></a> <br><nobr>new <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>7</b></a> <a href="../working_with_groups.htm"><b>8</b></a> </nobr><br><a name="bms_NO"></a><a name="subkey_NO"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>nodes</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>noerror</b></a> <br><nobr>normal <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>notions</b></a> <br><nobr><a name="bms_NU"></a><a name="subkey_NU"></a>number <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../changing_displaying_parameters.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>numbers</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>numeber</b></a> <br>\r
-<br><br>\r
-<nobr><a name="bm_O"></a><a name="subkey_OB"></a>object <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>9</b></a> <a href="../changing_displaying_parameters.htm"><b>10</b></a> <a href="../working_with_groups.htm"><b>11</b></a> </nobr><br><nobr>objects <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../files/introduction_to_geom.htm"><b>12</b></a> <a href="../changing_displaying_parameters.htm"><b>13</b></a> </nobr><br><nobr><a name="bms_OC"></a><a name="subkey_OC"></a>occ <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../changing_displaying_parameters.htm"><b>3</b></a> <a href="../working_with_groups.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>occurred</b></a> <br><a name="bms_OF"></a><a name="subkey_OF"></a><a href="../working_with_groups.htm"><b>offers</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>offset</b></a> <br><nobr><a name="bms_OK"></a><a name="subkey_OK"></a>ok <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_ON"></a><a name="subkey_ON"></a>one <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>7</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>ones</b></a> <br><a name="bms_OP"></a><a name="subkey_OP"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>open</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>openwires</b></a> <br><nobr>operation <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>4</b></a> </nobr><br><nobr>operations <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>6</b></a> <a href="../files/introduction_to_geom.htm"><b>7</b></a> <a href="../working_with_groups.htm"><b>8</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>operator</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>operators</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>opposite</b></a> <br><a href="../files/introduction_to_geom.htm"><b>optimization</b></a> <br><a href="../blocks.htm"><b>options</b></a> <br><nobr><a name="bms_OR"></a><a name="subkey_OR"></a>order <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><nobr>oriented <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>origin <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_OT"></a><a name="subkey_OT"></a>otherwise <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_OU"></a><a name="subkey_OU"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>outside</b></a> <br><nobr><a name="bms_OX"></a><a name="subkey_OX"></a>ox <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_OY"></a><a name="subkey_OY"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>oy</b></a> <br><nobr><a name="bms_OZ"></a><a name="subkey_OZ"></a>oz <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br>\r
-<br><br>\r
-<nobr><a name="bm_P"></a><a name="subkey_PA"></a>parameter <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>parameters <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>4</b></a> <a href="../changing_displaying_parameters.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>paramter</b></a> <br><nobr>part <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>partition</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>passes</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>path</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>pathshape</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>pattern</b></a> <br><nobr><a name="bms_PE"></a><a name="subkey_PE"></a>perform <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>performed</b></a> <br><a href="../sketcher.htm"><b>perpendicular</b></a> <br><a name="bms_PI"></a><a name="subkey_PI"></a><a href="../files/salome2_sp3_generationgui_functions.htm"><b>pipe</b></a> <br><nobr><a name="bms_PL"></a><a name="subkey_PL"></a>planar <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>plane <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>4</b></a> </nobr><br><a href="../working_with_groups.htm"><b>platform</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>plunged</b></a> <br><nobr><a name="bms_PO"></a><a name="subkey_PO"></a>point <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>point1</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>point2</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>point3</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>pointcoordinates</b></a> <br><nobr>points <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>polyline</b></a> <br><nobr>pop <a href="../files/salome2_sp3_displaygui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><nobr>position <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>possibility</b></a> <br><nobr>possible <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>4</b></a> </nobr><br><a name="bms_PR"></a><a name="subkey_PR"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>precision</b></a> <br><a href="../sketcher.htm"><b>predefined</b></a> <br><a href="../working_with_groups.htm"><b>preferences</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>presses</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>preview</b></a> <br><a href="../sketcher.htm"><b>previous</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>primitive</b></a> <br><nobr>primitives <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>printed</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>prism</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>problems</b></a> <br><nobr>processed <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>processes</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>processing</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>processshape</b></a> <br><a href="../working_with_groups.htm"><b>project</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>propagate</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>propagation</b></a> <br><nobr>properties <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><a name="bms_PU"></a><a name="subkey_PU"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>put</b></a> <br><a name="bms_PY"></a><a name="subkey_PY"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>python</b></a> <br>\r
-<br><br>\r
-<nobr><a name="bm_Q"></a><a name="subkey_QU"></a>quadrangle <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br>\r
-<br><br>\r
-<a name="bm_R"></a><a name="subkey_RA"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>radians</b></a> <br><nobr>radius <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>radius1</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>radius2</b></a> <br><nobr>radiuses <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>radiusmajor <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>radiusminor <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>range <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><br><br></p><p class="ftsbody" align="center"><a href="whlstf4.htm" target="_self" title="previous search group"><b>&gt;&gt;</b></a>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf4.htm b/doc/salome/gui/GEOM/whgdata/whlstf4.htm
deleted file mode 100755 (executable)
index 4f38f02..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" align="center"><a href="whlstf3.htm" target="_self" title="previous search group"><b>&lt;&lt;</b></a><br><br></p>\r
-<p class="ftsbody" >\r
-<a name="bms_RE"></a><a name="subkey_RE"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>re</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>reasonable</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>reconstruction</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>reference</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>regarding</b></a> <br><a href="../sketcher.htm"><b>relative</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>remove</b></a> <br><nobr>removed <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../working_with_groups.htm"><b>3</b></a> </nobr><br><a href="../working_with_groups.htm"><b>removeobject</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>removes</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>removewebs</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>removing</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>repair</b></a> <br><nobr>repairing <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>repetition</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>repetitions</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>representing</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>requested</b></a> <br><nobr>required <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>requireddegree</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>requirednbsegments</b></a> <br><nobr>respect <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>restriction</b></a> <br><nobr>result <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../working_with_groups.htm"><b>12</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>resultant</b></a> <br><nobr>resulting <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>results</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>retrieved</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>retrieves</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>return</b></a> <br><nobr>returned <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>returns <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../working_with_groups.htm"><b>5</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>reverse</b></a> <br><nobr>revolution <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_RI"></a><a name="subkey_RI"></a>right <a href="../files/salome2_sp3_displaygui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><a name="bms_RO"></a><a name="subkey_RO"></a><a href="../files/salome2_sp3_generationgui_functions.htm"><b>rotate</b></a> <br><nobr>rotated <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>rotates</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>rotation</b></a> <br>\r
-<br><br>\r
-<nobr><a name="bm_S"></a><a name="subkey_S{"></a>s <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> <a href="../working_with_groups.htm"><b>6</b></a> </nobr><br><nobr><a name="bms_SA"></a><a name="subkey_SA"></a>salome <a href="../files/introduction_to_geom.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><nobr>same <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>sameparameter</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>satisfy</b></a> <br><a name="bms_SC"></a><a name="subkey_SC"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>scale</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>scaled</b></a> <br><a name="bms_SE"></a><a name="subkey_SE"></a><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>search</b></a> <br><nobr>second <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>4</b></a> </nobr><br><nobr>section <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><nobr>see <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> </nobr><br><a href="../sketcher.htm"><b>segment</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>segments</b></a> <br><nobr>select <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>11</b></a> <a href="../changing_displaying_parameters.htm"><b>12</b></a> <a href="../blocks.htm"><b>13</b></a> <a href="../working_with_groups.htm"><b>14</b></a> </nobr><br><nobr>selected <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> <a href="../changing_displaying_parameters.htm"><b>4</b></a> </nobr><br><nobr>selection <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>sense</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>serve</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>serving</b></a> <br><nobr>set <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../changing_displaying_parameters.htm"><b>3</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>setcolor</b></a> <br><a href="../changing_displaying_parameters.htm"><b>setdisplaymode</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>sets</b></a> <br><nobr>setting <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>settransparency</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>sew</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>sewed</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>sewing</b></a> <br><a name="bms_SG"></a><a name="subkey_SG"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>sg</b></a> <br><a name="bms_SH"></a><a name="subkey_SH"></a><a href="../changing_displaying_parameters.htm"><b>shading</b></a> <br><nobr>shape <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>9</b></a> <a href="../changing_displaying_parameters.htm"><b>10</b></a> <a href="../working_with_groups.htm"><b>11</b></a> </nobr><br><nobr>shape1 <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><nobr>shape2 <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><nobr>shapes <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>6</b></a> <a href="../files/introduction_to_geom.htm"><b>7</b></a> <a href="../working_with_groups.htm"><b>8</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>shapesto</b></a> <br><nobr>shapetype <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>shared</b></a> <br><nobr>shell <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> </nobr><br><nobr>shells <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>short</b></a> <br><nobr>should <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>shown</b></a> <br><a name="bms_SI"></a><a name="subkey_SI"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>side</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>signed</b></a> <br><a href="../newentity_blocks.htm"><b>six</b></a> <br><nobr>size <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a name="bms_SK"></a><a name="subkey_SK"></a><a href="../sketcher.htm"><b>sketch</b></a> <br><a href="../sketcher.htm"><b>sketcher</b></a> <br><nobr><a name="bms_SM"></a><a name="subkey_SM"></a>small <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_SO"></a><a name="subkey_SO"></a>solid <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>solids</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>soon</b></a> <br><nobr><a name="bms_SP"></a><a name="subkey_SP"></a>space <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><a href="../newentity_blocks.htm"><b>specific</b></a> <br><nobr>specified <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>specifies</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>specify</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>specifying</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>sphere</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>spline</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>splitangle</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>splitclosedfaces</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>splitcontinuity</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>splits</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>splitting</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>spot</b></a> <br><a name="bms_ST"></a><a name="subkey_ST"></a><a href="../newentity_blocks.htm"><b>stage</b></a> <br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>standard</b></a> <br><a href="../sketcher.htm"><b>started</b></a> <br><nobr>starting <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>step <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> <a href="../files/introduction_to_geom.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>step1</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>step2</b></a> <br><nobr>string <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>strip</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>study</b></a> <br><nobr><a name="bms_SU"></a><a name="subkey_SU"></a>sub <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../working_with_groups.htm"><b>3</b></a> </nobr><br><nobr>submenu <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> <a href="../blocks.htm"><b>4</b></a> </nobr><br><nobr>subshape <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> <a href="../working_with_groups.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>subshapeall</b></a> <br><a href="../working_with_groups.htm"><b>subshapeid</b></a> <br><nobr>subshapes <a href="../files/salome2_sp3_buildgui_functions.htm"><b>1</b></a> <a href="../working_with_groups.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>suppress</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>suppresses</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>suppressfaces</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>suppressholes</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>suppressinternalwires</b></a> <br><nobr>surface <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>surfacecontinuity</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>surfacemode</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>surfaces</b></a> <br><a name="bms_SY"></a><a name="subkey_SY"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>symmetrical</b></a> <br><nobr>symmetry <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>2</b></a> </nobr><br><nobr>system <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br>\r
-<br><br>\r
-<a name="bm_T"></a><a name="subkey_TA"></a><a href="../sketcher.htm"><b>tangent</b></a> <br><nobr>target <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_TE"></a><a name="subkey_TE"></a><a href="../newentity_blocks.htm"><b>tetrahedral</b></a> <br><a name="bms_TH"></a><a name="subkey_TH"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>theendlcs</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>them</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>theobject</b></a> <br><a href="../sketcher.htm"><b>therefore</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>theshape</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>thestartlcs</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>thetolerance</b></a> <br><a name="bms_TI"></a><a name="subkey_TI"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>times</b></a> <br><a name="bms_TO"></a><a name="subkey_TO"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>tobezier</b></a> <br><a href="../working_with_groups.htm"><b>toggle</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>tol2d</b></a> <br><a href="../files/salome2_sp3_generationgui_functions.htm"><b>tol3d</b></a> <br><nobr>tolerance <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>tolerance2d</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>tolerance3d</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>tolerances</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>tools</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>torus</b></a> <br><br><br></p><p class="ftsbody" align="center"><a href="whlstf5.htm" target="_self" title="previous search group"><b>&gt;&gt;</b></a>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstf5.htm b/doc/salome/gui/GEOM/whgdata/whlstf5.htm
deleted file mode 100755 (executable)
index 833aebc..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words List</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsbody" align="center"><a href="whlstf4.htm" target="_self" title="previous search group"><b>&lt;&lt;</b></a><br><br></p>\r
-<p class="ftsbody" >\r
-<a name="bms_TR"></a><a name="subkey_TR"></a><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>transform</b></a> <br><nobr>transformation <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../blocks.htm"><b>3</b></a> </nobr><br><nobr>transformations <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/introduction_to_geom.htm"><b>2</b></a> </nobr><br><nobr>transformed <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>2</b></a> </nobr><br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>translated</b></a> <br><a href="../files/salome2_sp3_transformationgui_functions.htm"><b>translation</b></a> <br><nobr>translations <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>transparency</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>trihedron</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>trimsize</b></a> <br><nobr>true <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> </nobr><br><nobr><a name="bms_TU"></a><a name="subkey_TU"></a>tui <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>9</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>10</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>11</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>12</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>13</b></a> <a href="../changing_displaying_parameters.htm"><b>14</b></a> <a href="../working_with_groups.htm"><b>15</b></a> </nobr><br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>tuple</b></a> <br><nobr><a name="bms_TW"></a><a name="subkey_TW"></a>two <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>7</b></a> </nobr><br><nobr><a name="bms_TY"></a><a name="subkey_TY"></a>type <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>5</b></a> <a href="../working_with_groups.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>typeofshape</b></a> <br><nobr>types <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> </nobr><br>\r
-<br><br>\r
-<a name="bm_U"></a><a name="subkey_UN"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>underlying</b></a> <br><nobr><a name="bms_UP"></a><a name="subkey_UP"></a>up <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> <a href="../changing_displaying_parameters.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>updated</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>upper</b></a> <br><nobr><a name="bms_US"></a><a name="subkey_US"></a>used <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>3</b></a> <a href="../working_with_groups.htm"><b>4</b></a> </nobr><br><a href="../working_with_groups.htm"><b>useful</b></a> <br><nobr>user <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><nobr>using <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>7</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>8</b></a> <a href="../files/salome2_sp3_booleangui_functions.htm"><b>9</b></a> <a href="../files/introduction_to_geom.htm"><b>10</b></a> </nobr><br>\r
-<br><br>\r
-<a name="bm_V"></a><a name="subkey_V{"></a><a href="../newentity_blocks.htm"><b>v1</b></a> <br><a href="../newentity_blocks.htm"><b>v2</b></a> <br><a href="../newentity_blocks.htm"><b>v3</b></a> <br><a href="../newentity_blocks.htm"><b>v4</b></a> <br><a name="bms_VA"></a><a name="subkey_VA"></a><a href="../files/salome2_sp3_repairgui_functions.htm"><b>val</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>valid</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>validity</b></a> <br><nobr>value <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>7</b></a> </nobr><br><nobr>values <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> <a href="../changing_displaying_parameters.htm"><b>7</b></a> </nobr><br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>various</b></a> <br><nobr><a name="bms_VE"></a><a name="subkey_VE"></a>vector <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><nobr>vectors <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> </nobr><br><nobr>vertex <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>6</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>7</b></a> </nobr><br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>vertex1</b></a> <br><a href="../files/salome2_sp3_buildgui_functions.htm"><b>vertex2</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>vertexmaxtol</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>vertexmintol</b></a> <br><nobr>vertices <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_primitivegui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>5</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>6</b></a> </nobr><br><nobr><a name="bms_VI"></a><a name="subkey_VI"></a>via <a href="../sketcher.htm"><b>1</b></a> <a href="../newentity_blocks.htm"><b>2</b></a> <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>3</b></a> <a href="../working_with_groups.htm"><b>4</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>view</b></a> <br><nobr>viewer <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>4</b></a> <a href="../changing_displaying_parameters.htm"><b>5</b></a> <a href="../working_with_groups.htm"><b>6</b></a> </nobr><br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>viewers</b></a> <br><a href="../files/salome2_sp3_displaygui_functions.htm"><b>visibility</b></a> <br><nobr>visualization <a href="../files/salome2_sp3_displaygui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><a name="bms_VO"></a><a name="subkey_VO"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>volume</b></a> <br><a name="bms_VT"></a><a name="subkey_VT"></a><a href="../files/salome2_sp3_displaygui_functions.htm"><b>vtk</b></a> <br><a name="bms_VX"></a><a name="subkey_VX"></a><a href="../sketcher.htm"><b>vx</b></a> <br>\r
-<br><br>\r
-<a name="bm_W"></a><a name="subkey_WA"></a><a href="../files/salome2_sp3_buildgui_functions.htm"><b>wantplanarface</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>water</b></a> <br><a href="../files/salome2_sp3_operationgui_functions.htm"><b>waterdensity</b></a> <br><a name="bms_WE"></a><a name="subkey_WE"></a><a href="../files/salome2_sp3_operationgui_functions.htm"><b>weight</b></a> <br><a name="bms_WH"></a><a name="subkey_WH"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>whatis</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>whether</b></a> <br><a href="../files/salome2_sp3_repairgui_functions.htm"><b>while</b></a> <br><nobr>whose <a href="../files/salome2_sp3_measuregui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>2</b></a> </nobr><br><a name="bms_WI"></a><a name="subkey_WI"></a><a href="../files/introduction_to_geom.htm"><b>wide</b></a> <br><nobr>will <a href="../files/salome2_sp3_transformationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_operationgui_functions.htm"><b>3</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>4</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>5</b></a> </nobr><br><nobr>wire <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_generationgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> </nobr><br><a href="../changing_displaying_parameters.htm"><b>wireframe</b></a> <br><nobr>wires <a href="../newentity_blocks.htm"><b>1</b></a> <a href="../files/salome2_sp3_repairgui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_buildgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>wish</b></a> <br><nobr>within <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../changing_displaying_parameters.htm"><b>2</b></a> </nobr><br><nobr><a name="bms_WO"></a><a name="subkey_WO"></a>work <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_displaygui_functions.htm"><b>2</b></a> </nobr><br><nobr>working <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>2</b></a> <a href="../working_with_groups.htm"><b>3</b></a> </nobr><br>\r
-<br><br>\r
-<nobr><a name="bm_X"></a><a name="subkey_X{"></a>x <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>x1</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>x2</b></a> <br><a name="bms_XD"></a><a name="subkey_XD"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>xdx</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>xdy</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>xdz</b></a> <br><a name="bms_XM"></a><a name="subkey_XM"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>xmax</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>xmin</b></a> <br><a name="bms_XO"></a><a name="subkey_XO"></a><a href="../sketcher.htm"><b>xoy</b></a> <br><a name="bms_XY"></a><a name="subkey_XY"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>xyz</b></a> <br>\r
-<br><br>\r
-<nobr><a name="bm_Y"></a><a name="subkey_Y{"></a>y <a href="../sketcher.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>y1</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>y2</b></a> <br><a name="bms_YD"></a><a name="subkey_YD"></a><a href="../files/salome2_sp3_basicgui_functions.htm"><b>ydx</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>ydy</b></a> <br><a href="../files/salome2_sp3_basicgui_functions.htm"><b>ydz</b></a> <br><a name="bms_YM"></a><a name="subkey_YM"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>ymax</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>ymin</b></a> <br><nobr><a name="bms_YO"></a><a name="subkey_YO"></a>your <a href="../files/salome2_sp3_repairgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><b>3</b></a> <a href="../working_with_groups.htm"><b>4</b></a> </nobr><br>\r
-<br><br>\r
-<nobr><a name="bm_Z"></a><a name="subkey_Z{"></a>z <a href="../files/salome2_sp3_operationgui_functions.htm"><b>1</b></a> <a href="../files/salome2_sp3_measuregui_functions.htm"><b>2</b></a> <a href="../files/salome2_sp3_basicgui_functions.htm"><b>3</b></a> </nobr><br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>z1</b></a> <br><a href="../files/salome2_sp3_primitivegui_functions.htm"><b>z2</b></a> <br><a name="bms_ZM"></a><a name="subkey_ZM"></a><a href="../files/salome2_sp3_measuregui_functions.htm"><b>zmax</b></a> <br><a href="../files/salome2_sp3_measuregui_functions.htm"><b>zmin</b></a> <br><br><br></p>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl0.htm b/doc/salome/gui/GEOM/whgdata/whlstfl0.htm
deleted file mode 100755 (executable)
index 5d62592..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_{"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf0.htm#bm_{" target="ftslist" title="search letter {D"><b>{D</b></a> <a href="whlstf0.htm#bms_{S" target="ftslist" title="search letter {S"><b>{S</b></a> <a href="whlstf0.htm#bms_{D" target="ftslist" title="search letter {D"><b>{D</b></a> <a href="whlstf0.htm#bms_{N" target="ftslist" title="search letter {N"><b>{N</b></a> <a href="whlstf0.htm#bms_{S" target="ftslist" title="search letter {S"><b>{S</b></a> <a href="whlstf0.htm#bms_{D" target="ftslist" title="search letter {D"><b>{D</b></a> <a href="whlstf0.htm#bms_{R" target="ftslist" title="search letter {R"><b>{R</b></a> <a href="whlstf0.htm#bms_{S" target="ftslist" title="search letter {S"><b>{S</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl1.htm b/doc/salome/gui/GEOM/whgdata/whlstfl1.htm
deleted file mode 100755 (executable)
index 1056227..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_A"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf0.htm#bm_A" target="ftslist" title="search letter AB"><b>AB</b></a> <a href="whlstf0.htm#bms_AC" target="ftslist" title="search letter AC"><b>AC</b></a> <a href="whlstf0.htm#bms_AD" target="ftslist" title="search letter AD"><b>AD</b></a> <a href="whlstf0.htm#bms_AI" target="ftslist" title="search letter AI"><b>AI</b></a> <a href="whlstf0.htm#bms_AL" target="ftslist" title="search letter AL"><b>AL</b></a> <a href="whlstf0.htm#bms_AN" target="ftslist" title="search letter AN"><b>AN</b></a> <a href="whlstf0.htm#bms_AP" target="ftslist" title="search letter AP"><b>AP</b></a> <a href="whlstf0.htm#bms_AR" target="ftslist" title="search letter AR"><b>AR</b></a> <a href="whlstf0.htm#bms_AS" target="ftslist" title="search letter AS"><b>AS</b></a> <a href="whlstf0.htm#bms_AT" target="ftslist" title="search letter AT"><b>AT</b></a> <a href="whlstf0.htm#bms_AU" target="ftslist" title="search letter AU"><b>AU</b></a> <a href="whlstf0.htm#bms_AV" target="ftslist" title="search letter AV"><b>AV</b></a> <a href="whlstf0.htm#bms_AX" target="ftslist" title="search letter AX"><b>AX</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl10.htm b/doc/salome/gui/GEOM/whgdata/whlstfl10.htm
deleted file mode 100755 (executable)
index a5553f8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_L"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf2.htm#bm_L" target="ftslist" title="search letter LA"><b>LA</b></a> <a href="whlstf2.htm#bms_LC" target="ftslist" title="search letter LC"><b>LC</b></a> <a href="whlstf2.htm#bms_LE" target="ftslist" title="search letter LE"><b>LE</b></a> <a href="whlstf2.htm#bms_LI" target="ftslist" title="search letter LI"><b>LI</b></a> <a href="whlstf2.htm#bms_LO" target="ftslist" title="search letter LO"><b>LO</b></a> <a href="whlstf2.htm#bms_LW" target="ftslist" title="search letter LW"><b>LW</b></a> <a href="whlstf2.htm#bms_LY" target="ftslist" title="search letter LY"><b>LY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl11.htm b/doc/salome/gui/GEOM/whgdata/whlstfl11.htm
deleted file mode 100755 (executable)
index 258b96d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_M"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf2.htm#bm_M" target="ftslist" title="search letter MA"><b>MA</b></a> <a href="whlstf3.htm#bms_ME" target="ftslist" title="search letter ME"><b>ME</b></a> <a href="whlstf3.htm#bms_MI" target="ftslist" title="search letter MI"><b>MI</b></a> <a href="whlstf3.htm#bms_MO" target="ftslist" title="search letter MO"><b>MO</b></a> <a href="whlstf3.htm#bms_MU" target="ftslist" title="search letter MU"><b>MU</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl12.htm b/doc/salome/gui/GEOM/whgdata/whlstfl12.htm
deleted file mode 100755 (executable)
index ec899f3..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_N"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf3.htm#bm_N" target="ftslist" title="search letter NA"><b>NA</b></a> <a href="whlstf3.htm#bms_NB" target="ftslist" title="search letter NB"><b>NB</b></a> <a href="whlstf3.htm#bms_NE" target="ftslist" title="search letter NE"><b>NE</b></a> <a href="whlstf3.htm#bms_NO" target="ftslist" title="search letter NO"><b>NO</b></a> <a href="whlstf3.htm#bms_NU" target="ftslist" title="search letter NU"><b>NU</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl13.htm b/doc/salome/gui/GEOM/whgdata/whlstfl13.htm
deleted file mode 100755 (executable)
index adeef2c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_O"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf3.htm#bm_O" target="ftslist" title="search letter OB"><b>OB</b></a> <a href="whlstf3.htm#bms_OC" target="ftslist" title="search letter OC"><b>OC</b></a> <a href="whlstf3.htm#bms_OF" target="ftslist" title="search letter OF"><b>OF</b></a> <a href="whlstf3.htm#bms_OK" target="ftslist" title="search letter OK"><b>OK</b></a> <a href="whlstf3.htm#bms_ON" target="ftslist" title="search letter ON"><b>ON</b></a> <a href="whlstf3.htm#bms_OP" target="ftslist" title="search letter OP"><b>OP</b></a> <a href="whlstf3.htm#bms_OR" target="ftslist" title="search letter OR"><b>OR</b></a> <a href="whlstf3.htm#bms_OT" target="ftslist" title="search letter OT"><b>OT</b></a> <a href="whlstf3.htm#bms_OU" target="ftslist" title="search letter OU"><b>OU</b></a> <a href="whlstf3.htm#bms_OX" target="ftslist" title="search letter OX"><b>OX</b></a> <a href="whlstf3.htm#bms_OY" target="ftslist" title="search letter OY"><b>OY</b></a> <a href="whlstf3.htm#bms_OZ" target="ftslist" title="search letter OZ"><b>OZ</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl14.htm b/doc/salome/gui/GEOM/whgdata/whlstfl14.htm
deleted file mode 100755 (executable)
index bb06cc7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_P"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf3.htm#bm_P" target="ftslist" title="search letter PA"><b>PA</b></a> <a href="whlstf3.htm#bms_PE" target="ftslist" title="search letter PE"><b>PE</b></a> <a href="whlstf3.htm#bms_PI" target="ftslist" title="search letter PI"><b>PI</b></a> <a href="whlstf3.htm#bms_PL" target="ftslist" title="search letter PL"><b>PL</b></a> <a href="whlstf3.htm#bms_PO" target="ftslist" title="search letter PO"><b>PO</b></a> <a href="whlstf3.htm#bms_PR" target="ftslist" title="search letter PR"><b>PR</b></a> <a href="whlstf3.htm#bms_PU" target="ftslist" title="search letter PU"><b>PU</b></a> <a href="whlstf3.htm#bms_PY" target="ftslist" title="search letter PY"><b>PY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl15.htm b/doc/salome/gui/GEOM/whgdata/whlstfl15.htm
deleted file mode 100755 (executable)
index 4dadf29..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_R"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf3.htm#bm_R" target="ftslist" title="search letter RA"><b>RA</b></a> <a href="whlstf4.htm#bms_RE" target="ftslist" title="search letter RE"><b>RE</b></a> <a href="whlstf4.htm#bms_RI" target="ftslist" title="search letter RI"><b>RI</b></a> <a href="whlstf4.htm#bms_RO" target="ftslist" title="search letter RO"><b>RO</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl16.htm b/doc/salome/gui/GEOM/whgdata/whlstfl16.htm
deleted file mode 100755 (executable)
index aba2491..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_S"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf4.htm#bm_S" target="ftslist" title="search letter S "><b>S </b></a> <a href="whlstf4.htm#bms_SA" target="ftslist" title="search letter SA"><b>SA</b></a> <a href="whlstf4.htm#bms_SC" target="ftslist" title="search letter SC"><b>SC</b></a> <a href="whlstf4.htm#bms_SE" target="ftslist" title="search letter SE"><b>SE</b></a> <a href="whlstf4.htm#bms_SG" target="ftslist" title="search letter SG"><b>SG</b></a> <a href="whlstf4.htm#bms_SH" target="ftslist" title="search letter SH"><b>SH</b></a> <a href="whlstf4.htm#bms_SI" target="ftslist" title="search letter SI"><b>SI</b></a> <a href="whlstf4.htm#bms_SK" target="ftslist" title="search letter SK"><b>SK</b></a> <a href="whlstf4.htm#bms_SM" target="ftslist" title="search letter SM"><b>SM</b></a> <a href="whlstf4.htm#bms_SO" target="ftslist" title="search letter SO"><b>SO</b></a> <a href="whlstf4.htm#bms_SP" target="ftslist" title="search letter SP"><b>SP</b></a> <a href="whlstf4.htm#bms_ST" target="ftslist" title="search letter ST"><b>ST</b></a> <a href="whlstf4.htm#bms_SU" target="ftslist" title="search letter SU"><b>SU</b></a> <a href="whlstf4.htm#bms_SY" target="ftslist" title="search letter SY"><b>SY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl17.htm b/doc/salome/gui/GEOM/whgdata/whlstfl17.htm
deleted file mode 100755 (executable)
index f42dc77..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_T"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf4.htm#bm_T" target="ftslist" title="search letter TA"><b>TA</b></a> <a href="whlstf4.htm#bms_TE" target="ftslist" title="search letter TE"><b>TE</b></a> <a href="whlstf4.htm#bms_TH" target="ftslist" title="search letter TH"><b>TH</b></a> <a href="whlstf4.htm#bms_TI" target="ftslist" title="search letter TI"><b>TI</b></a> <a href="whlstf4.htm#bms_TO" target="ftslist" title="search letter TO"><b>TO</b></a> <a href="whlstf5.htm#bms_TR" target="ftslist" title="search letter TR"><b>TR</b></a> <a href="whlstf5.htm#bms_TU" target="ftslist" title="search letter TU"><b>TU</b></a> <a href="whlstf5.htm#bms_TW" target="ftslist" title="search letter TW"><b>TW</b></a> <a href="whlstf5.htm#bms_TY" target="ftslist" title="search letter TY"><b>TY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl18.htm b/doc/salome/gui/GEOM/whgdata/whlstfl18.htm
deleted file mode 100755 (executable)
index 712520b..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_U"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_U" target="ftslist" title="search letter UN"><b>UN</b></a> <a href="whlstf5.htm#bms_UP" target="ftslist" title="search letter UP"><b>UP</b></a> <a href="whlstf5.htm#bms_US" target="ftslist" title="search letter US"><b>US</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl19.htm b/doc/salome/gui/GEOM/whgdata/whlstfl19.htm
deleted file mode 100755 (executable)
index 11b57c1..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_V"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_V" target="ftslist" title="search letter V "><b>V </b></a> <a href="whlstf5.htm#bms_VA" target="ftslist" title="search letter VA"><b>VA</b></a> <a href="whlstf5.htm#bms_VE" target="ftslist" title="search letter VE"><b>VE</b></a> <a href="whlstf5.htm#bms_VI" target="ftslist" title="search letter VI"><b>VI</b></a> <a href="whlstf5.htm#bms_VO" target="ftslist" title="search letter VO"><b>VO</b></a> <a href="whlstf5.htm#bms_VT" target="ftslist" title="search letter VT"><b>VT</b></a> <a href="whlstf5.htm#bms_VX" target="ftslist" title="search letter VX"><b>VX</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl2.htm b/doc/salome/gui/GEOM/whgdata/whlstfl2.htm
deleted file mode 100755 (executable)
index 9fcbd6d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_B"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf0.htm#bm_B" target="ftslist" title="search letter B "><b>B </b></a> <a href="whlstf0.htm#bms_BA" target="ftslist" title="search letter BA"><b>BA</b></a> <a href="whlstf0.htm#bms_BE" target="ftslist" title="search letter BE"><b>BE</b></a> <a href="whlstf0.htm#bms_BL" target="ftslist" title="search letter BL"><b>BL</b></a> <a href="whlstf0.htm#bms_BO" target="ftslist" title="search letter BO"><b>BO</b></a> <a href="whlstf0.htm#bms_BR" target="ftslist" title="search letter BR"><b>BR</b></a> <a href="whlstf0.htm#bms_BS" target="ftslist" title="search letter BS"><b>BS</b></a> <a href="whlstf0.htm#bms_BU" target="ftslist" title="search letter BU"><b>BU</b></a> <a href="whlstf0.htm#bms_BY" target="ftslist" title="search letter BY"><b>BY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl20.htm b/doc/salome/gui/GEOM/whgdata/whlstfl20.htm
deleted file mode 100755 (executable)
index f250aeb..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_W"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_W" target="ftslist" title="search letter WA"><b>WA</b></a> <a href="whlstf5.htm#bms_WE" target="ftslist" title="search letter WE"><b>WE</b></a> <a href="whlstf5.htm#bms_WH" target="ftslist" title="search letter WH"><b>WH</b></a> <a href="whlstf5.htm#bms_WI" target="ftslist" title="search letter WI"><b>WI</b></a> <a href="whlstf5.htm#bms_WO" target="ftslist" title="search letter WO"><b>WO</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl21.htm b/doc/salome/gui/GEOM/whgdata/whlstfl21.htm
deleted file mode 100755 (executable)
index e423e40..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_X"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_X" target="ftslist" title="search letter X "><b>X </b></a> <a href="whlstf5.htm#bms_XD" target="ftslist" title="search letter XD"><b>XD</b></a> <a href="whlstf5.htm#bms_XM" target="ftslist" title="search letter XM"><b>XM</b></a> <a href="whlstf5.htm#bms_XO" target="ftslist" title="search letter XO"><b>XO</b></a> <a href="whlstf5.htm#bms_XY" target="ftslist" title="search letter XY"><b>XY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl22.htm b/doc/salome/gui/GEOM/whgdata/whlstfl22.htm
deleted file mode 100755 (executable)
index 788fcb6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_Y"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_Y" target="ftslist" title="search letter Y "><b>Y </b></a> <a href="whlstf5.htm#bms_YD" target="ftslist" title="search letter YD"><b>YD</b></a> <a href="whlstf5.htm#bms_YM" target="ftslist" title="search letter YM"><b>YM</b></a> <a href="whlstf5.htm#bms_YO" target="ftslist" title="search letter YO"><b>YO</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl23.htm b/doc/salome/gui/GEOM/whgdata/whlstfl23.htm
deleted file mode 100755 (executable)
index 79549db..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_Z"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf5.htm#bm_Z" target="ftslist" title="search letter Z "><b>Z </b></a> <a href="whlstf5.htm#bms_ZM" target="ftslist" title="search letter ZM"><b>ZM</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl3.htm b/doc/salome/gui/GEOM/whgdata/whlstfl3.htm
deleted file mode 100755 (executable)
index 00abe25..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_C"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf0.htm#bm_C" target="ftslist" title="search letter CA"><b>CA</b></a> <a href="whlstf0.htm#bms_CE" target="ftslist" title="search letter CE"><b>CE</b></a> <a href="whlstf0.htm#bms_CH" target="ftslist" title="search letter CH"><b>CH</b></a> <a href="whlstf0.htm#bms_CI" target="ftslist" title="search letter CI"><b>CI</b></a> <a href="whlstf0.htm#bms_CL" target="ftslist" title="search letter CL"><b>CL</b></a> <a href="whlstf0.htm#bms_CO" target="ftslist" title="search letter CO"><b>CO</b></a> <a href="whlstf1.htm#bms_CR" target="ftslist" title="search letter CR"><b>CR</b></a> <a href="whlstf1.htm#bms_CU" target="ftslist" title="search letter CU"><b>CU</b></a> <a href="whlstf1.htm#bms_CY" target="ftslist" title="search letter CY"><b>CY</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl4.htm b/doc/salome/gui/GEOM/whgdata/whlstfl4.htm
deleted file mode 100755 (executable)
index 3c13d46..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_D"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf1.htm#bm_D" target="ftslist" title="search letter D "><b>D </b></a> <a href="whlstf1.htm#bms_DA" target="ftslist" title="search letter DA"><b>DA</b></a> <a href="whlstf1.htm#bms_DE" target="ftslist" title="search letter DE"><b>DE</b></a> <a href="whlstf1.htm#bms_DI" target="ftslist" title="search letter DI"><b>DI</b></a> <a href="whlstf1.htm#bms_DO" target="ftslist" title="search letter DO"><b>DO</b></a> <a href="whlstf1.htm#bms_DR" target="ftslist" title="search letter DR"><b>DR</b></a> <a href="whlstf1.htm#bms_DX" target="ftslist" title="search letter DX"><b>DX</b></a> <a href="whlstf1.htm#bms_DY" target="ftslist" title="search letter DY"><b>DY</b></a> <a href="whlstf1.htm#bms_DZ" target="ftslist" title="search letter DZ"><b>DZ</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl5.htm b/doc/salome/gui/GEOM/whgdata/whlstfl5.htm
deleted file mode 100755 (executable)
index 79523e7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_E"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf1.htm#bm_E" target="ftslist" title="search letter E "><b>E </b></a> <a href="whlstf1.htm#bms_EA" target="ftslist" title="search letter EA"><b>EA</b></a> <a href="whlstf1.htm#bms_ED" target="ftslist" title="search letter ED"><b>ED</b></a> <a href="whlstf1.htm#bms_EG" target="ftslist" title="search letter EG"><b>EG</b></a> <a href="whlstf1.htm#bms_EI" target="ftslist" title="search letter EI"><b>EI</b></a> <a href="whlstf1.htm#bms_EL" target="ftslist" title="search letter EL"><b>EL</b></a> <a href="whlstf1.htm#bms_EM" target="ftslist" title="search letter EM"><b>EM</b></a> <a href="whlstf1.htm#bms_EN" target="ftslist" title="search letter EN"><b>EN</b></a> <a href="whlstf1.htm#bms_EQ" target="ftslist" title="search letter EQ"><b>EQ</b></a> <a href="whlstf1.htm#bms_ER" target="ftslist" title="search letter ER"><b>ER</b></a> <a href="whlstf1.htm#bms_ET" target="ftslist" title="search letter ET"><b>ET</b></a> <a href="whlstf1.htm#bms_EX" target="ftslist" title="search letter EX"><b>EX</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl6.htm b/doc/salome/gui/GEOM/whgdata/whlstfl6.htm
deleted file mode 100755 (executable)
index 01c54a6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_F"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf1.htm#bm_F" target="ftslist" title="search letter F "><b>F </b></a> <a href="whlstf1.htm#bms_FA" target="ftslist" title="search letter FA"><b>FA</b></a> <a href="whlstf2.htm#bms_FI" target="ftslist" title="search letter FI"><b>FI</b></a> <a href="whlstf2.htm#bms_FL" target="ftslist" title="search letter FL"><b>FL</b></a> <a href="whlstf2.htm#bms_FO" target="ftslist" title="search letter FO"><b>FO</b></a> <a href="whlstf2.htm#bms_FR" target="ftslist" title="search letter FR"><b>FR</b></a> <a href="whlstf2.htm#bms_FU" target="ftslist" title="search letter FU"><b>FU</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl7.htm b/doc/salome/gui/GEOM/whgdata/whlstfl7.htm
deleted file mode 100755 (executable)
index 2844837..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_G"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf2.htm#bm_G" target="ftslist" title="search letter GA"><b>GA</b></a> <a href="whlstf2.htm#bms_GE" target="ftslist" title="search letter GE"><b>GE</b></a> <a href="whlstf2.htm#bms_GG" target="ftslist" title="search letter GG"><b>GG</b></a> <a href="whlstf2.htm#bms_GI" target="ftslist" title="search letter GI"><b>GI</b></a> <a href="whlstf2.htm#bms_GL" target="ftslist" title="search letter GL"><b>GL</b></a> <a href="whlstf2.htm#bms_GR" target="ftslist" title="search letter GR"><b>GR</b></a> <a href="whlstf2.htm#bms_GU" target="ftslist" title="search letter GU"><b>GU</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl8.htm b/doc/salome/gui/GEOM/whgdata/whlstfl8.htm
deleted file mode 100755 (executable)
index f666b83..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_H"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf2.htm#bm_H" target="ftslist" title="search letter HA"><b>HA</b></a> <a href="whlstf2.htm#bms_HE" target="ftslist" title="search letter HE"><b>HE</b></a> <a href="whlstf2.htm#bms_HI" target="ftslist" title="search letter HI"><b>HI</b></a> <a href="whlstf2.htm#bms_HO" target="ftslist" title="search letter HO"><b>HO</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstfl9.htm b/doc/salome/gui/GEOM/whgdata/whlstfl9.htm
deleted file mode 100755 (executable)
index 84cc953..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<title>Search Words letter</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<p class="ftsheader"><a name="subkey_I"></a> <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a> <a href="whlstf2.htm#bm_I" target="ftslist" title="search letter I "><b>I </b></a> <a href="whlstf2.htm#bms_ID" target="ftslist" title="search letter ID"><b>ID</b></a> <a href="whlstf2.htm#bms_IF" target="ftslist" title="search letter IF"><b>IF</b></a> <a href="whlstf2.htm#bms_IG" target="ftslist" title="search letter IG"><b>IG</b></a> <a href="whlstf2.htm#bms_IM" target="ftslist" title="search letter IM"><b>IM</b></a> <a href="whlstf2.htm#bms_IN" target="ftslist" title="search letter IN"><b>IN</b></a> <a href="whlstf2.htm#bms_IS" target="ftslist" title="search letter IS"><b>IS</b></a> <a href="whlstf2.htm#bms_IT" target="ftslist" title="search letter IT"><b>IT</b></a> <a href="whlstf2.htm#bms_IX" target="ftslist" title="search letter IX"><b>IX</b></a> <a href="whlstf2.htm#bms_IY" target="ftslist" title="search letter IY"><b>IY</b></a> <a href="whlstf2.htm#bms_IZ" target="ftslist" title="search letter IZ"><b>IZ</b></a>  <a href="whnvl32.htm#home" target="_self" title="back to top level"><b>^</b></a></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstg0.htm b/doc/salome/gui/GEOM/whgdata/whlstg0.htm
deleted file mode 100755 (executable)
index a9d3f26..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<html>\r
-<head>\r
-<title>Glossary words list</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.glsheader {margin-left:10pt; margin-top:0pt;}\r
-.glsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.glsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; }A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_C"></a><nobr><b>Cell</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Element of a mesh. Cells are determined by their connectivity. They can have 0,1,2 or 3 dimension.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Component</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">One integer or real value can correspond to each component of a field and to each entity of a mesh<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_D"></a><nobr><b>Descendant connectivity</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">It is a description of the entities of the mesh with dimension N. This description is made by an ordered list of geometrical entities (nodes, edges, or faces) with dimension N-1.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_E"></a><nobr><b>Edge</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">An edge of a volumetric or surface mesh. It is composed of 2 or 3 nodes (2 vertex nodes and optionally one middle node).<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Entity of a mesh</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Geometrical component of the mesh: node, cell, face and edge. Faces and edges are only intermediate entities allowing to define the cells in descendant connectivity.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Equivalence</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Equivalence represents a list of correspondance 2 by 2 of the entities of the same dimension.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_F"></a><nobr><b>Face</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Face of a volumetrical cell (triangle, quadrangle).<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Family</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Entities of a mesh are described by a certain number&nbsp;  of characteristics (boundary conditions, groups membership). Families represent classes equivalent to these characteristics (two entities of a mesh can belong to the same family if they have the same characteristics). Every family is determined by a set of attributes and a list of groups membership.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Field</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Field consists of one or several scalar components. One definite type is associated to the given field and the values corresponding to different components are all of the same type.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Field profile</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Fields can be defined only on one part of the mesh. Profile&nbsp;  of the field or profile of the component of a field indicates which entities of the mesh contain values.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_G"></a><nobr><b>Group</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Unordered set of entities of a mesh. One entity can belong to&nbsp;  several groups.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_M"></a><nobr><b>Mesh</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Mesh is described by its geometry: list of nodes and list of cells which constitute this mesh. Supplementary information is added with the help of families (initial, boundary conditions).<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_N"></a><nobr><b>Nodal connectivity</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">It is a description of an entity of the mesh by an ordered list of nodes constituting this entity.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Node</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Node can be an isolated node of a mesh, a vertex or middle node of an edge. A node is associated to a point.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_P"></a><nobr><b>Point</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Geometrical entity determined by its coordinates in the space.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_R"></a><nobr><b>Reference connectivity</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">For each type of entity of a mesh, reference connectivity define the topology of an entity.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><nobr><b>Result</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">List of fields referring to one mesh.<p>\r
-<p class="glsbody" style="margin-bottom:1pt;"><a name="bm_S"></a><nobr><b>Study</b></nobr></p>\r
-<p class="glsbody" style="margin-top:1pt;">Study represents a chain of sequences of calculations.<p>\r
-<p class="glsbody"><br><br></p>\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlsti0.htm b/doc/salome/gui/GEOM/whgdata/whlsti0.htm
deleted file mode 100755 (executable)
index a3aec90..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Index words list</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ndxheader {margin-left:10pt; margin-top:0pt;}\r
-.ndxbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstt0.htm b/doc/salome/gui/GEOM/whgdata/whlstt0.htm
deleted file mode 100755 (executable)
index 94f11bf..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table border=0>\r
-<tr><td>\r
-<p class="tocbody">\r
-<nobr><a name="1"></a><a href="whlstt1.htm#1" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> GEOM module</a></nobr><br>\r
-</p>\r
-\r
-</td></tr>\r
-<tr><td>\r
-<p><img src="whexpbar.gif" > <p>\r
-</td></tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstt1.htm b/doc/salome/gui/GEOM/whgdata/whlstt1.htm
deleted file mode 100755 (executable)
index 49595eb..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table border=0>\r
-<tr><td>\r
-<p class="tocbody">\r
-<nobr><a name="1"></a><a href="whlstt0.htm#1" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> GEOM module</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/introduction_to_geom.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Introduction to GEOM</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Importing\exporting geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="2"></a><a href="whlstt2.htm#2" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Managing geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="3"></a><a href="whlstt3.htm#3" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Creating geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="4"></a><a href="whlstt4.htm#4" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Transforming geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_measuregui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using measurement tools</a></nobr><br>\r
-</p>\r
-\r
-</td></tr>\r
-<tr><td>\r
-<p><img src="whexpbar.gif" > <p>\r
-</td></tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstt2.htm b/doc/salome/gui/GEOM/whgdata/whlstt2.htm
deleted file mode 100755 (executable)
index 88c561c..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table border=0>\r
-<tr><td>\r
-<p class="tocbody">\r
-<nobr><a name="1"></a><a href="whlstt0.htm#1" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> GEOM module</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/introduction_to_geom.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Introduction to GEOM</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Importing\exporting geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="2"></a><a href="whlstt1.htm#2" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> Managing geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../changing_displaying_parameters.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Changing displaying parameters</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_displaygui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Displaying\hiding objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="3"></a><a href="whlstt3.htm#3" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Creating geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="4"></a><a href="whlstt4.htm#4" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Transforming geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_measuregui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using measurement tools</a></nobr><br>\r
-</p>\r
-\r
-</td></tr>\r
-<tr><td>\r
-<p><img src="whexpbar.gif" > <p>\r
-</td></tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstt3.htm b/doc/salome/gui/GEOM/whgdata/whlstt3.htm
deleted file mode 100755 (executable)
index aa754c4..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table border=0>\r
-<tr><td>\r
-<p class="tocbody">\r
-<nobr><a name="1"></a><a href="whlstt0.htm#1" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> GEOM module</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/introduction_to_geom.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Introduction to GEOM</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Importing\exporting geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="2"></a><a href="whlstt2.htm#2" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Managing geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="3"></a><a href="whlstt1.htm#3" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> Creating geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_basicgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Creating basic geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_primitivegui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Constructing primitives</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_generationgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Generating complex objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../working_with_groups.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Working with groups</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../newentity_blocks.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Building by blocks</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../sketcher.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Sketcher</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_buildgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Building geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="4"></a><a href="whlstt4.htm#4" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Transforming geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_measuregui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using measurement tools</a></nobr><br>\r
-</p>\r
-\r
-</td></tr>\r
-<tr><td>\r
-<p><img src="whexpbar.gif" > <p>\r
-</td></tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whlstt4.htm b/doc/salome/gui/GEOM/whgdata/whlstt4.htm
deleted file mode 100755 (executable)
index be61f03..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table border=0>\r
-<tr><td>\r
-<p class="tocbody">\r
-<nobr><a name="1"></a><a href="whlstt0.htm#1" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> GEOM module</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/introduction_to_geom.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Introduction to GEOM</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_geomtoolsgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Importing\exporting geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="2"></a><a href="whlstt2.htm#2" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Managing geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="3"></a><a href="whlstt3.htm#3" target="_self" title="closed book"><img src="../wht_toc1.gif" border="0" align="absmiddle"> Creating geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a name="4"></a><a href="whlstt1.htm#4" target="_self"><img src="../wht_toc2.gif" border="0" align="absmiddle"> Transforming geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_operationgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using basic operations</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_booleangui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using boolean operations</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_transformationgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using transformation operations</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_repairgui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Repairing geometrical objects</a></nobr><br>\r
-&nbsp;&nbsp;&nbsp;<nobr><a href="../files/salome2_sp3_measuregui_functions.htm"><img src="../wht_toc3.gif" border="0" align="absmiddle"> Using measurement tools</a></nobr><br>\r
-</p>\r
-\r
-</td></tr>\r
-<tr><td>\r
-<p><img src="whexpbar.gif" > <p>\r
-</td></tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvf30.htm b/doc/salome/gui/GEOM/whgdata/whnvf30.htm
deleted file mode 100755 (executable)
index 33dae3b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>toc frame</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<frameset rows="100%, *" border="0" frameborder="0">\r
-       <frame name="toctree" title="toc tree frame" src="whlstt0.htm"></frame>\r
-</frameset>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvf31.htm b/doc/salome/gui/GEOM/whgdata/whnvf31.htm
deleted file mode 100755 (executable)
index a9128b8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Index frame</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<frameset rows="40, *" border="0" frameborder="0">\r
-       <frame name="ndxletter" title="index letter frame" src="whnvl31.htm" noresize frameborder="1" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="ndxlist" title="index list frame" src="whlsti0.htm"></frame>\r
-</frameset>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvf32.htm b/doc/salome/gui/GEOM/whgdata/whnvf32.htm
deleted file mode 100755 (executable)
index ae87273..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>search frame</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<frameset rows="40, *" border="0" frameborder="0">\r
-       <frame name="ftsletter" title="search letter frame" src="whnvl32.htm" noresize frameborder="1" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="ftslist" title="seach word frame" src="whlstf0.htm"></frame>\r
-</frameset>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvf33.htm b/doc/salome/gui/GEOM/whgdata/whnvf33.htm
deleted file mode 100755 (executable)
index 9af2824..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Glossary frame</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<frameset rows="40, *" border="0" frameborder="0">\r
-       <frame name="glsletter" title="glossary letter frame" src="whnvl33.htm" noresize frameborder="1" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="glslist" title="glossary defination frame" src="whlstg0.htm"></frame>\r
-</frameset>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvl31.htm b/doc/salome/gui/GEOM/whgdata/whnvl31.htm
deleted file mode 100755 (executable)
index 870e98e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Index Letters</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ndxheader {margin-left:10pt; margin-top:0pt;}\r
-.ndxbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-\r
-<body>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvl32.htm b/doc/salome/gui/GEOM/whgdata/whnvl32.htm
deleted file mode 100755 (executable)
index 63c7900..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Search Letters</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="ftsheader">\r
-<a name="home"></a> <a href="whlstfl0.htm#subkey_{" target="_self"title="search non-alphabet letter"><b>#</b></a> \r
- <a href="whlstfl1.htm#subkey_A" target="_self"title="search letter A"><b>A</b></a> \r
- <a href="whlstfl2.htm#subkey_B" target="_self"title="search letter B"><b>B</b></a> \r
- <a href="whlstfl3.htm#subkey_C" target="_self"title="search letter C"><b>C</b></a> \r
- <a href="whlstfl4.htm#subkey_D" target="_self"title="search letter D"><b>D</b></a> \r
- <a href="whlstfl5.htm#subkey_E" target="_self"title="search letter E"><b>E</b></a> \r
- <a href="whlstfl6.htm#subkey_F" target="_self"title="search letter F"><b>F</b></a> \r
- <a href="whlstfl7.htm#subkey_G" target="_self"title="search letter G"><b>G</b></a> \r
- <a href="whlstfl8.htm#subkey_H" target="_self"title="search letter H"><b>H</b></a> \r
- <a href="whlstfl9.htm#subkey_I" target="_self"title="search letter I"><b>I</b></a> \r
- <a href="whlstf2.htm#bm_J" target="ftslist"title="search letter J" ><b>J</b></a> \r
- <a href="whlstf2.htm#bm_K" target="ftslist"title="search letter K" ><b>K</b></a> \r
- <a href="whlstfl10.htm#subkey_L" target="_self"title="search letter L"><b>L</b></a> \r
- <a href="whlstfl11.htm#subkey_M" target="_self"title="search letter M"><b>M</b></a> \r
- <a href="whlstfl12.htm#subkey_N" target="_self"title="search letter N"><b>N</b></a> \r
- <a href="whlstfl13.htm#subkey_O" target="_self"title="search letter O"><b>O</b></a> \r
- <a href="whlstfl14.htm#subkey_P" target="_self"title="search letter P"><b>P</b></a> \r
- <a href="whlstf3.htm#bm_Q" target="ftslist"title="search letter Q" ><b>Q</b></a> \r
- <a href="whlstfl15.htm#subkey_R" target="_self"title="search letter R"><b>R</b></a> \r
- <a href="whlstfl16.htm#subkey_S" target="_self"title="search letter S"><b>S</b></a> \r
- <a href="whlstfl17.htm#subkey_T" target="_self"title="search letter T"><b>T</b></a> \r
- <a href="whlstfl18.htm#subkey_U" target="_self"title="search letter U"><b>U</b></a> \r
- <a href="whlstfl19.htm#subkey_V" target="_self"title="search letter V"><b>V</b></a> \r
- <a href="whlstfl20.htm#subkey_W" target="_self"title="search letter W"><b>W</b></a> \r
- <a href="whlstfl21.htm#subkey_X" target="_self"title="search letter X"><b>X</b></a> \r
- <a href="whlstfl22.htm#subkey_Y" target="_self"title="search letter Y"><b>Y</b></a> \r
- <a href="whlstfl23.htm#subkey_Z" target="_self"title="search letter Z"><b>Z</b></a> \r
-</p>\r
-\r
-<body>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvl33.htm b/doc/salome/gui/GEOM/whgdata/whnvl33.htm
deleted file mode 100755 (executable)
index f3659d1..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Glossary Letters</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.glsheader {margin-left:10pt; margin-top:0pt;}\r
-.glsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.glsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; }A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-<style>\r
-<!--\r
-body {background-color:White; } \r
--->\r
-</style>\r
-</head>\r
-<body marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<p class="glsheader">\r
- <font class="inactive">#</font> \r
- <font class="inactive">A</font> \r
- <font class="inactive">B</font> \r
- <a href="whlstg0.htm#bm_C" target="glslist"title="glossary letter C"><b>C</b></a> \r
- <a href="whlstg0.htm#bm_D" target="glslist"title="glossary letter D"><b>D</b></a> \r
- <a href="whlstg0.htm#bm_E" target="glslist"title="glossary letter E"><b>E</b></a> \r
- <a href="whlstg0.htm#bm_F" target="glslist"title="glossary letter F"><b>F</b></a> \r
- <a href="whlstg0.htm#bm_G" target="glslist"title="glossary letter G"><b>G</b></a> \r
- <font class="inactive">H</font> \r
- <font class="inactive">I</font> \r
- <font class="inactive">J</font> \r
- <font class="inactive">K</font> \r
- <font class="inactive">L</font> \r
- <a href="whlstg0.htm#bm_M" target="glslist"title="glossary letter M"><b>M</b></a> \r
- <a href="whlstg0.htm#bm_N" target="glslist"title="glossary letter N"><b>N</b></a> \r
- <font class="inactive">O</font> \r
- <a href="whlstg0.htm#bm_P" target="glslist"title="glossary letter P"><b>P</b></a> \r
- <font class="inactive">Q</font> \r
- <a href="whlstg0.htm#bm_R" target="glslist"title="glossary letter R"><b>R</b></a> \r
- <a href="whlstg0.htm#bm_S" target="glslist"title="glossary letter S"><b>S</b></a> \r
- <font class="inactive">T</font> \r
- <font class="inactive">U</font> \r
- <font class="inactive">V</font> \r
- <font class="inactive">W</font> \r
- <font class="inactive">X</font> \r
- <font class="inactive">Y</font> \r
- <font class="inactive">Z</font> \r
-</p>\r
-\r
-<body>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvp30.htm b/doc/salome/gui/GEOM/whgdata/whnvp30.htm
deleted file mode 100755 (executable)
index 1a8036d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- WebHelp version 5.10 -->\r
-<html>\r
-<head>\r
-<title> Content Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-\r
-</style>\r
-</head>\r
-<frameset rows="36, *" border="0" frameborder="0">\r
-       <frame name="toctabs" title="tab selection frame" src="whnvt30.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="toclist" title="content frame" src="whlstt0.htm"></frame>\r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whgdata/whnvp31.htm b/doc/salome/gui/GEOM/whgdata/whnvp31.htm
deleted file mode 100755 (executable)
index fa146f1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- WebHelp version 5.10 -->\r
-<html>\r
-<head>\r
-<title> Index Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-\r
-</style>\r
-</head>\r
-<frameset rows="36, *" border="0" frameborder="0">\r
-       <frame name="ndxtabs" title="tab selection frame" src="whnvt31.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="ndxdata" title="index frame" src="whnvf31.htm"></frame>\r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whgdata/whnvp32.htm b/doc/salome/gui/GEOM/whgdata/whnvp32.htm
deleted file mode 100755 (executable)
index c334807..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- WebHelp version 5.10 -->\r
-<html>\r
-<head>\r
-<title> Search Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-\r
-</style>\r
-</head>\r
-<frameset rows="36, *" border="0" frameborder="0">\r
-       <frame name="ftstabs" title="tab selection frame" src="whnvt32.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="ftsdata" title="search frame" src="whnvf32.htm"></frame>\r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whgdata/whnvp33.htm b/doc/salome/gui/GEOM/whgdata/whnvp33.htm
deleted file mode 100755 (executable)
index 8fb4636..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- WebHelp version 5.10 -->\r
-<html>\r
-<head>\r
-<title> Glossary Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-\r
-</style>\r
-</head>\r
-<frameset rows="36, *" border="0" frameborder="0">\r
-       <frame name="glstabs" title="tab selection frame" src="whnvt33.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="glsdata" title="glossary frame" src="whnvf33.htm"></frame>\r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whgdata/whnvt30.htm b/doc/salome/gui/GEOM/whgdata/whnvt30.htm
deleted file mode 100755 (executable)
index 35e6ef5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Content Navigation Tab</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.tocbody {margin-left:10pt; margin-top:0pt;}\r
-.bo {}\r
-.bc {}\r
-.pn {}\r
-.pr {}\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-img {vertial-align:middle;}\r
--->\r
-</style>\r
-</head>\r
-<body class="tabs" marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table class="tabs" width="100%">\r
- <tr> \r
-   <td class="tabs">\r
-   <nobr><a href="javascript:void(0)" title="Contents"><img src="../wht_tab1.gif" border="0"></a><a href="whnvp32.htm" target="_parent" title="Search"><img src="../wht_tab6.gif" border="0"></a><a href="whnvp33.htm" target="_parent" title="Glossary"><img src="../wht_tab8.gif" border="0"></a></nobr>\r
-   </td>\r
- </tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvt31.htm b/doc/salome/gui/GEOM/whgdata/whnvt31.htm
deleted file mode 100755 (executable)
index 53dd7e9..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Index Navigation Tab</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ndxheader {margin-left:10pt; margin-top:0pt;}\r
-.ndxbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-\r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body class="tabs" marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table class="tabs" width="100%">\r
- <tr> \r
-   <td class="tabs">\r
-   <nobr><a href="whnvp30.htm" target="_parent" title="Contents"><img src="../wht_tab2.gif" border="0"></a><a href="whnvp32.htm" target="_parent" title="Search"><img src="../wht_tab6.gif" border="0"></a><a href="whnvp33.htm" target="_parent" title="Glossary"><img src="../wht_tab8.gif" border="0"></a></nobr>\r
-   </td>\r
- </tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvt32.htm b/doc/salome/gui/GEOM/whgdata/whnvt32.htm
deleted file mode 100755 (executable)
index 464a4cc..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Search Navigation Tab</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.ftsheader {margin-left:10pt; margin-top:0pt;}\r
-.ftsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.ftsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; } A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body class="tabs" marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table class="tabs" width="100%">\r
- <tr> \r
-   <td class="tabs">\r
-   <nobr><a href="whnvp30.htm" target="_parent" title="Contents"><img src="../wht_tab2.gif" border="0"></a><a href="javascript:void(0)" title="Search"><img src="../wht_tab5.gif" border="0"></a><a href="whnvp33.htm" target="_parent" title="Glossary"><img src="../wht_tab8.gif" border="0"></a></nobr>\r
-   </td>\r
- </tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdata/whnvt33.htm b/doc/salome/gui/GEOM/whgdata/whnvt33.htm
deleted file mode 100755 (executable)
index eb46f19..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>\r
-<head>\r
-<!-- WebHelp version 5.10 -->\r
-<title>Glossary Navigation Tab</title>\r
-<base target="bsscright">\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<style>\r
-<!--\r
-body {margin-left:1pt; margin-top:1pt; margin-right:1pt;font-family:Arial; font-size:9pt;}\r
-\r
-A:link {font-family:Arial; font-size:9pt; color:#000000;  font-style:normal;  text-decoration:none; }\r
-A:visited {font-family:Arial; font-size:9pt; color:#000000; font-style:normal;  text-decoration:none; }\r
-A:active {background-color:#cccccc;}\r
-A:hover {font-family:Arial; font-size:9pt; color:#007f00; font-style:normal;  text-decoration:underline; }\r
-\r
-.tabs {background-color:#c0c0c0;}\r
-.glsheader {margin-left:10pt; margin-top:0pt;}\r
-.glsbody {margin-left:10pt; margin-top:0pt;}\r
-.inactive {color:#666666;}\r
-.glsheader {background-color:White; } \r
-\r
-body {background-color:White; } \r
-p {color:Black; } p {font-family:Tahoma; } p {font-size:8pt; } p {font-style:Normal; } p {text-decoration:none; } \r
-A:link {color:Black; } A:link {font-family:Tahoma; } A:link {font-size:8pt; } A:link {font-style:Normal; } A:link {text-decoration:none; } \r
-A:visited {color:Black; } A:visited {font-family:Tahoma; }A:visited {font-size:8pt; } A:visited {font-style:Normal; } A:visited {text-decoration:none; } \r
-A:active {background-color:Silver; } \r
-A:hover {color:Navy; } A:hover {font-family:Tahoma; } A:hover {font-size:8pt; } A:hover {font-style:Normal; } A:hover {text-decoration:underline; } \r
-\r
--->\r
-</style>\r
-</head>\r
-<body class="tabs" marginheight="0"  marginwidth="0" bgproperties="fixed">\r
-<table class="tabs" width="100%">\r
- <tr> \r
-   <td class="tabs">\r
-   <nobr><a href="whnvp30.htm" target="_parent" title="Contents"><img src="../wht_tab2.gif" border="0"></a><a href="whnvp32.htm" target="_parent" title="Search"><img src="../wht_tab6.gif" border="0"></a><a href="javascript:void(0)" title="Glossary"><img src="../wht_tab7.gif" border="0"></a></nobr>\r
-   </td>\r
- </tr>\r
-</table>\r
-</body>\r
-\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whgdef.htm b/doc/salome/gui/GEOM/whgdef.htm
deleted file mode 100755 (executable)
index ae43574..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<html>\r
-<head>\r
-<title>Glossary Definition</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goGloFont=null;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLODEF);\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)\r
-{\r
-       var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);\r
-       if (sType == "Normal")\r
-               goGloFont = vFont;\r
-}\r
-\r
-function textToHtml_nbsp_specialcare(sText)\r
-{\r
-       if (sText == null) return null;\r
-       var sHTML= sText;\r
-       var re = new RegExp("  ","g");\r
-       sHTML=  sHTML.replace(re, "&nbsp; ");\r
-       return  sHTML;\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId = oMsg.nMessageId;\r
-       if (nMsgId == WH_MSG_SHOWGLODEF)\r
-       {\r
-               document.body.innerHTML = sDefHead + textToHtml_nbsp_specialcare(oMsg.oParam.sDef) + sDefTail;\r
-               return true;\r
-       }\r
-}\r
-\r
-function GDefWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+=".definition {"+getFontStyle(goGloFont)+"margin:2;}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-if (window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer)\r
-{\r
-       window.onload=window_OnLoad;\r
-       window.onunload = window_Unload;\r
-       goGloFont=new whFont("Verdana", "8pt", "#000000", "normal", "normal", "none");\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       GDefWriteClassStyle();\r
-       RegisterListener2(this, WH_MSG_SHOWGLODEF);\r
-       var sDefHead = "<p class=\"definition\">";\r
-       var sDefTail = "</p>";\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body bgproperties="fixed" bgcolor="white">\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whgdhtml.htm b/doc/salome/gui/GEOM/whgdhtml.htm
deleted file mode 100755 (executable)
index 6ffb294..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-<html>\r
-<head>\r
-<title>Glossary</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body bgcolor=#c0c0c0 scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsBgImage="";\r
-var    gsBgColor="";\r
-var goTitleFont=null;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Title")\r
-               goTitleFont=vFont;\r
-}\r
-\r
-function getTermText()\r
-{\r
-       var strString="Term:";\r
-strString = "Term:";\r
-       return strString;\r
-}\r
-\r
-function getDefinitionText()\r
-{\r
-       var strString="Definition for:";\r
-strString = "Definition:";\r
-       return strString;\r
-}\r
-\r
-function getHTML()\r
-{\r
-       var sHTML="";\r
-       sHTML+="<P class=title><nobr>&nbsp;" + getTermText() + "</nobr></p>";\r
-       sHTML+="<iframe id=glossaryIFrame title=\"glossary term\" src=\"whgbody.htm\" width=100% height=200 MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";\r
-       sHTML+="<P class=title><nobr>&nbsp;" + getDefinitionText() + "&nbsp;<b id=Name></b></nobr></p>";\r
-       sHTML+="<iframe id=defIFrame title=\"glossary definition\" src=\"whgdef.htm\" width=100% height=100% MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";\r
-       return sHTML;\r
-}\r
-\r
-function writeStyle()\r
-{\r
-       var sStyle="<style type='text/css'>";\r
-       sStyle+="p.title {" + getFontStyle(goTitleFont) + "margin-top:4;margin-bottom:4}\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="</style>";\r
-       document.write(sStyle);\r
-}\r
-\r
-\r
-function window_OnResize()\r
-{\r
-       setIFrameHeight();\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-       setIFrameHeight();\r
-}\r
-\r
-function setIFrameHeight()\r
-{\r
-       var tH=0;\r
-       if(gbNav6)\r
-       {\r
-               tH=parseInt(window.innerHeight)-30;\r
-       }\r
-       else\r
-       {\r
-               tH=parseInt(document.body.clientHeight)-4;\r
-       }\r
-               \r
-       var oEle=getElement("glossaryIFrame");\r
-       if(oEle)\r
-       {\r
-               tH=tH-2*parseInt(oEle.offsetTop);\r
-               if(tH>0)\r
-               {\r
-                       oEle.style.height=Math.floor(tH*.6);\r
-                       var oEleDef=getElement("defIFrame");\r
-                       if(oEleDef)\r
-                       {\r
-                               oEleDef.style.height=tH-parseInt(oEle.style.height);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLODEF);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_SHOWGLODEF)\r
-       {\r
-               if(getElement("Name"))\r
-                       getElement("Name").innerHTML=oMsg.oParam.sName;\r
-               return true;\r
-       }\r
-}\r
-\r
-if(window.gbWhVer&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy)\r
-{\r
-       goTitleFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       setBackgroundcolor("White");\r
-       window.onresize=window_OnResize;\r
-       window.onload=window_OnLoad;\r
-       window.onunload=window_Unload;\r
-       RegisterListener2(this,WH_MSG_SHOWGLODEF);\r
-       writeStyle();\r
-       document.write(getHTML());\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whghost.js b/doc/salome/gui/GEOM/whghost.js
deleted file mode 100755 (executable)
index 56e1d56..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-//     WebHelp 5.10.004\r
-var gbXML=false;\r
-var gaDef=new Array();\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goFont=null;\r
-var goHoverFont=null;\r
-var gsMargin="2pt";\r
-var gsIndent="2pt";\r
-var gsActiveBgColor="#cccccc";\r
-var gbWhGHost=false;\r
-var gbShowDef=true;\r
-var gsGloId="Glo_"\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goFont=vFont;\r
-       else if(sType=="Hover")\r
-               goHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsActiveBgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIndent=sIndent;\r
-}\r
-\r
-function insertDef(sKName,sDef)\r
-{\r
-       var nLength=gaDef.length\r
-       var oGlo=new nameDefPair(sKName,sDef);\r
-       gaDef[nLength]=oGlo;\r
-       return nLength;\r
-}\r
-\r
-function showDef(nDef)\r
-{\r
-       if(nDef<gaDef.length)\r
-       {       \r
-               HighLight(nDef);\r
-               var oParam=gaDef[nDef];\r
-               var oMsg=new whMessage(WH_MSG_SHOWGLODEF,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function nameDefPair(sName,sDef)\r
-{\r
-       this.sName=sName;\r
-       this.sDef=sDef;\r
-}\r
-\r
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var sHTML="";\r
-       var nIdxSet=aCurIdxSet[0];\r
-       var nIIdx=aPos[nIdxSet];\r
-       var sRawKName = getItemName(aDataCon,nIdxSet,nIIdx);\r
-       var sKName=_textToHtml(sRawKName);\r
-       var sDText=_textToHtml_nonbsp(getDef(aDataCon,nIdxSet,nIIdx));\r
-       var sDef=sDText;\r
-       for(var i=1;i<nLength;i++)\r
-       {\r
-               var nIdxSeti=aCurIdxSet[i];\r
-               var nIIdxi=aPos[nIdxSeti];\r
-               var sRawKNamei = getItemName(aDataCon,nIdxSeti,nIIdxi);\r
-               var sKNamei=_textToHtml(sRawKNamei);\r
-               var sDTexti=_textToHtml_nonbsp(getDef(aDataCon,nIdxSeti,nIIdxi));\r
-               if (compare(sKNamei,sKName)==0)\r
-               {\r
-                       if (sDText!=sDTexti)\r
-                               sDef+="<br>"+sDTexti;\r
-               }\r
-       }\r
-       var nIndex=insertDef(sKName,sDef);\r
-       if(nLevel==1)\r
-       {\r
-               sHTML+="<p><nobr id=\""+getGloId(nIndex)+"\">";\r
-               sHTML+="<a alt=\""+sKName+"\" href=\"javascript:void(0);\" onfocus=\"HighLight("+nIndex+");\" onclick=\"showDef("+nIndex+");return false;\">"+sKName+"</a></nobr></p>";\r
-               oHTML.addHTML(sHTML,nLength,bDown,true,sRawKName);\r
-               if(gbShowDef)\r
-               {\r
-                       setTimeout("showDef(0);",100);\r
-                       gbShowDef = false;\r
-               }\r
-       }\r
-}\r
-\r
-function HighLight(nIndex)\r
-{\r
-       var oObj=getElement(getGloId(nIndex));\r
-       if(oObj)\r
-               HighLightElement(oObj,gsActiveBgColor,"transparent");\r
-}\r
-\r
-function getGloId(nIndex)\r
-{\r
-       return gsGloId+nIndex;\r
-}\r
-\r
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)\r
-{\r
-       if(bDown)\r
-       {\r
-               for(var i=0;i<nLength;i++)\r
-                       aPos[aCurIdxSet[i]]++;\r
-       }\r
-       else{\r
-               for(var i=0;i<nLength;i++)\r
-                       aPos[aCurIdxSet[i]]--;\r
-       }\r
-}\r
-\r
-function getDef(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sDef;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-       document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());\r
-       loadGlo();\r
-       var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadGlo()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sGlo&&aProj[i].sLangId==sLangId)\r
-                                               addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sGlo);\r
-                               }\r
-                       }\r
-                       writeDataIFrame();\r
-                       enEvt();\r
-               }               \r
-       }\r
-}\r
-\r
-function findCKInDom()\r
-{\r
-       return true;\r
-}\r
-\r
-function GloWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";margin-left:"+gsIndent+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsActiveBgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";     \r
-       document.write(sStyle);\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       if(!gbNav6)\r
-                               document.body.focus();\r
-               }\r
-               else if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadGlo();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhHost)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       gbWhGHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
diff --git a/doc/salome/gui/GEOM/whhost.js b/doc/salome/gui/GEOM/whhost.js
deleted file mode 100755 (executable)
index 5a02374..0000000
+++ /dev/null
@@ -1,1305 +0,0 @@
-//     WebHelp 5.10.002\r
-var gaChunks=new Array();\r
-var gaFakes=new Array();\r
-var gaDataCon=null;\r
-var gaData=new Array();\r
-\r
-var gbFindCK=false;;\r
-var gbNeedCalc=false;\r
-var gbScrl=false;\r
-var gbProcess=false;\r
-var gbReady=false;\r
-\r
-var gnCheck=0;\r
-var gnNum=0;\r
-var gnIns=-1;\r
-var gnLoad=0;\r
-var gnRef=-1;\r
-var gnMaxItems=0;\r
-var gnMaxMargin=32000;\r
-var gnNeeded=0;\r
-var gnNKI=-1;\r
-var gnRE=0;\r
-var gnScrlMgn=30;\r
-var gnSE=0;\r
-var gnVisible=0;\r
-var gnItems=0;\r
-var gnUHeight=1;\r
-\r
-var gsBCK=null;\r
-var gsChK=null;\r
-var gsCK=null;\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading data, please wait...";\r
-var gsSKA=null;\r
-var gsSKB=null;\r
-\r
-var gbLoadInfo=false;\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gbLoadInfo)\r
-       {\r
-               var aChunk=new Array();\r
-               projReady(aChunk);\r
-       }\r
-       else\r
-       {\r
-               var aData=new Array();\r
-               putData(aData);\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gbLoadInfo)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var nTotal=0\r
-                       var aChunk=new Array();\r
-                       var oC=node.firstChild;\r
-                       while(oC)\r
-                       {\r
-                               if(oC.nodeName=="chunkinfo")\r
-                               {\r
-                                       var item=new Object();\r
-                                       item.sBK=oC.getAttribute("first");\r
-                                       item.sEK=oC.getAttribute("last");\r
-                                       item.sFileName=oC.getAttribute("url");\r
-                                       item.nNum=parseInt(oC.getAttribute("num"));\r
-                                       nTotal+=item.nNum;\r
-                                       item.nTotal=nTotal;\r
-                                       aChunk[aChunk.length]=item;\r
-                               }\r
-                               oC=oC.nextSibling;\r
-                       }\r
-                       projReady(aChunk);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var aData=new Array();\r
-                       var nPrev=0;\r
-                       var nNext=0;\r
-                       var oC=node.firstChild;\r
-                       while(oC)\r
-                       {\r
-                               nPrev=nNext;\r
-                               if(oC.nodeName=="key")\r
-                               {\r
-                                       var sName=oC.getAttribute("name");\r
-                                       if(sName&&sName.length>0)\r
-                                       {\r
-                                               var sTarget=oC.getAttribute("target");\r
-                                               var item=new Object();\r
-                                               item.nType=2;\r
-                                               item.sName=sName;\r
-                                               if(sTarget)\r
-                                                       item.sTarget=sTarget;\r
-                                               item.nPKOff=nPrev;\r
-                                               aData[aData.length]=item;\r
-                                               var nCurIndex=aData.length;\r
-                                               processKey(oC,aData,item);\r
-                                               nNext=aData.length-nCurIndex;\r
-                                               item.nNKOff=nNext;\r
-                                       }\r
-                               }\r
-                               else if(oC.nodeName=="letter")\r
-                               {\r
-                                       var name=oC.getAttribute("name");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.nType=1;\r
-                                               item.sName=name;\r
-                                               item.nPKOff=nPrev;\r
-                                               nNext=0;\r
-                                               item.nNKOff=nNext;\r
-                                               aData[aData.length]=item;\r
-                                       }\r
-                               }\r
-                               else if(oC.nodeName=="entry")\r
-                               {\r
-                                       var name=oC.getAttribute("name");\r
-                                       var def=oC.getAttribute("value");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.sName=name;\r
-                                               item.sDef=def;\r
-                                               item.nPKOff=nPrev;\r
-                                               nNext=0;\r
-                                               item.nNKOff=nNext;\r
-                                               aData[aData.length]=item;\r
-                                       }\r
-                               }\r
-                               oC=oC.nextSibling;\r
-                       }\r
-                       putData(aData);\r
-               }\r
-       }\r
-}\r
-\r
-function processKey(element,aData,item)\r
-{\r
-       var i=0;\r
-       var nPrev=0;\r
-       var nNext=0;\r
-       var oC=element.firstChild;\r
-       while(oC)\r
-       {\r
-               if(oC.nodeName=="topic")\r
-               {\r
-                       var name=oC.getAttribute("name");\r
-                       var url=oC.getAttribute("url");\r
-                       if(url&&url.length!=0)\r
-                       {\r
-                               if(!name||name.length==0)\r
-                                       name=url;\r
-                               var topic=new Object();\r
-                               topic.sName=name;\r
-                               topic.sURL=url;\r
-                               if(!item.aTopics)\r
-                                       item.aTopics=new Array();\r
-                               item.aTopics[item.aTopics.length]=topic;\r
-                       }\r
-               }\r
-               else if(oC.nodeName=="key")\r
-               {\r
-                       nPrev=nNext;\r
-                       var name=oC.getAttribute("name");\r
-                       if(name&&name.length!=0)\r
-                       {\r
-                               var subItem=new Object();\r
-                               subItem.sName=name;\r
-                               subItem.nType=3;\r
-                               subItem.nPKOff=nPrev;\r
-                               aData[aData.length]=subItem;\r
-                               var nCurIndex=aData.length;\r
-                               processKey(oC,aData,subItem);\r
-                               nNext=aData.length-nCurIndex;\r
-                               subItem.nNKOff=nNext;\r
-                       }\r
-               }\r
-               oC=oC.nextSibling;\r
-       }\r
-}\r
-\r
-function putData(aData)\r
-{\r
-       endLoading();\r
-       var oCData=goCData;\r
-       if(oCData)\r
-       {\r
-               oCData.aKs=aData;\r
-               if(gnNKI==-1)\r
-                       setTimeout("checkReady();",1);\r
-               else\r
-               {\r
-                       gsSKA=getKByIdx(oCData,gnNKI);\r
-                       gbNeedCalc=true;\r
-                       gbScrl=true;\r
-                       gnNKI=-1;\r
-                       if(gsSKA)\r
-                               setTimeout("checkReady();",1);\r
-                       else\r
-                       {\r
-                               markEnd();\r
-                               setTimeout("checkAgain();",50);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function markEnd()\r
-{\r
-       if(gbProcess)\r
-               gbProcess=false;\r
-}\r
-\r
-function endLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-               oDiv.style.visibility="hidden";\r
-}\r
-\r
-function markBegin()\r
-{\r
-       gbProcess=true;\r
-}\r
-\r
-function beginLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-       {\r
-               oDiv.style.top=document.body.scrollTop;\r
-               oDiv.style.visibility="visible";\r
-       }\r
-}\r
-\r
-function indexHTMLPart()\r
-{\r
-       this.sHTML="";\r
-       this.nNeeded=0;\r
-       this.nCurrent=0;\r
-       this.nConsumed=0;\r
-       this.sFK=null;\r
-       this.sLK=null;\r
-       this.addHTML=function(sHTML,nConsumed,bDown,bK,sK){\r
-               if(bDown)\r
-                       this.sHTML+=sHTML;\r
-               else\r
-                       this.sHTML=sHTML+this.sHTML;\r
-               this.nCurrent++;                        \r
-               this.nConsumed+=nConsumed;\r
-               if(bK)\r
-               {\r
-                       if(!this.sFK)\r
-                               this.sFK=sK;\r
-                       if(!this.sLK)\r
-                               this.sLK=sK;\r
-                       if(bDown)\r
-                               this.sLK=sK;\r
-                       else\r
-                               this.sFK=sK;\r
-               }\r
-       }\r
-       this.appendHTML=function(oHTML,bDown){\r
-               this.addSubHTML(oHTML,bDown);\r
-               if(!this.sFK)\r
-                       this.sFK=oHTML.sFK;\r
-               if(!this.sLK)\r
-                       this.sLK=oHTML.sLK;\r
-               if(bDown)\r
-                       this.sLK=oHTML.sLK;\r
-               else\r
-                       this.sFK=oHTML.sFK;\r
-       }       \r
-       \r
-       this.addSubHTML=function(oHTML,bDown){\r
-               if(bDown)\r
-                       this.sHTML+=oHTML.sHTML;\r
-               else\r
-                       this.sHTML=oHTML.sHTML+this.sHTML;\r
-               this.nCurrent+=oHTML.nCurrent;\r
-               this.nConsumed+=oHTML.nConsumed;                        \r
-       }\r
-}\r
-\r
-function getMaxUnits()\r
-{\r
-       return Math.floor(gnMaxMargin/gnUHeight)+1;\r
-}\r
-\r
-function getFakeItemsHTMLbyCount(nB,nCount)\r
-{\r
-       var nMU=getMaxUnits();\r
-       var nNum=Math.floor(nCount/nMU);\r
-       var sHTML="";\r
-       for(var i=0;i<nNum;i++)\r
-               sHTML+=getFakeItemHTML(nB,nMU-1);\r
-               \r
-       var nRest=nCount%nMU;\r
-       sHTML+=getFakeItemHTML(nB,nRest-1);\r
-       return sHTML;\r
-}\r
-\r
-function getFakeItemHTML(nB,nNum)\r
-{\r
-       return "<h6 name=fk"+nB+" id=fk"+nB+" style=\"margin-top:"+gnUHeight*nNum+";margin-bottom:0\">&nbsp;</h6>";\r
-}\r
-\r
-function fakeItemsArea(nB,n,sKA,sKB,obj)\r
-{\r
-       this.nB=nB;\r
-       this.nNum=n;\r
-       this.sKA=sKA;\r
-       this.sKB=sKB;\r
-       this.obj=obj;\r
-       this.nMargin=(n-1)*gnUHeight;\r
-\r
-       this.setNum=function(n)\r
-       {\r
-               var nLastobj=-1;\r
-               var nDelta=this.nMargin;\r
-               this.nMargin=(n-1)*gnUHeight;\r
-               nDelta=nDelta-this.nMargin;\r
-               if(n>0)\r
-               {\r
-                       this.nNum=n;\r
-                       var nMU=getMaxUnits();\r
-                       nLastobj=Math.floor((n-1)/nMU);\r
-                       if(this.obj.length)\r
-                               this.obj[nLastobj].style.marginTop=((n-1)%nMU)*gnUHeight;\r
-                       else\r
-                               this.obj.style.marginTop=((n-1)%nMU)*gnUHeight;\r
-               }\r
-               if(this.obj.length)\r
-               {\r
-                       for(var i=this.obj.length-1;i>nLastobj;i--)\r
-                               removeThis(this.obj[i]);\r
-               }\r
-               else\r
-               {\r
-                       if(nLastobj==-1)\r
-                               removeThis(this.obj);\r
-               }\r
-               return nDelta;\r
-       }\r
-       this.insertAdjacentHTML=function(sWhere,sHTML)\r
-       {\r
-               if(sWhere=="beforeBegin")\r
-               {\r
-                       if(this.obj.length)\r
-                               this.obj[0].insertAdjacentHTML(sWhere,sHTML);\r
-                       else\r
-                               this.obj.insertAdjacentHTML(sWhere,sHTML);\r
-               }\r
-               else if(sWhere=="afterEnd")\r
-               {\r
-                       if(this.obj.length)\r
-                       {\r
-                               if(gbMac&&gbIE5&&this.obj[this.obj.length-1].nextSibling)\r
-                                       this.obj[this.obj.length-1].nextSibling.insertAdjacentHTML("beforeBegin",sHTML);\r
-                               else\r
-                                       this.obj[this.obj.length-1].insertAdjacentHTML(sWhere,sHTML);\r
-                       }\r
-                       else\r
-                       {\r
-                               if(gbMac&&gbIE5&&this.obj.nextSibling)\r
-                                       this.obj.nextSibling.insertAdjacentHTML("beforeBegin",sHTML);\r
-                               else\r
-                                       this.obj.insertAdjacentHTML(sWhere,sHTML);\r
-                       }\r
-               }\r
-       }\r
-       this.getBtm=function()\r
-       {\r
-               if(this.obj.length)\r
-                       return this.obj[this.obj.length-1].offsetTop;\r
-               else\r
-                       return this.obj.offsetTop;\r
-       }\r
-       this.getTop=function()\r
-       {\r
-               return this.getBtm()-this.nMargin;\r
-       }\r
-}\r
-\r
-function usedItems(nB,nE)\r
-{\r
-       this.nB=nB;\r
-       this.nE=nE;\r
-       this.oN=null;\r
-}\r
-\r
-function checkReady()\r
-{\r
-       var len=gaChunks.length;\r
-       var bNeedLoad=false;\r
-       var aDataCon;\r
-       var s=0;\r
-       var bDown=(gsSKB==null);\r
-       var sK=bDown?gsSKA:gsSKB;\r
-       if(sK==null)\r
-       {\r
-               markEnd();\r
-               setTimeout("checkAgain();",50);\r
-               return;\r
-       }\r
-       if(!gsChK||sK!=gsChK||gnNum==0)\r
-       {\r
-               gnCheck=0;\r
-               gsChK=sK;\r
-               aDataCon=new Array();\r
-       }\r
-       else{\r
-               s=gnNum;\r
-               aDataCon=gaDataCon;\r
-       }\r
-       for(var i=gnCheck;i<len;i++)\r
-       {\r
-               var oCData=getChunkedData(i,bDown,sK);\r
-               if(oCData)\r
-               {\r
-                       if(!oCData.aKs&&oCData.sFileName!=null)\r
-                       {\r
-                               bNeedLoad=true;\r
-                               goCData=oCData;\r
-                               gnNum=s;\r
-                               gnCheck=i;\r
-                               gaDataCon=aDataCon;\r
-                               oCData.nProjId=i;\r
-                               gbLoadInfo=false;\r
-                               beginLoading();\r
-                               loadData2(gaData[i].sPPath+gaData[i].sDPath+oCData.sFileName);\r
-                               return;\r
-                       }\r
-                       else{\r
-                               aDataCon[s++]=oCData;\r
-                       }\r
-               }\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               gnNum=0;\r
-               gsSKA=gsSKB=gsShowK=null;\r
-               \r
-               var oHTML=new indexHTMLPart();\r
-               var aPos=new Array();\r
-               var aOriPos=new Array();\r
-               var aMaxPos=new Array();\r
-               var aMinPos=new Array();\r
-               \r
-               if(gbNeedCalc||gbFindCK) gnIns=0;\r
-               for(i=0;i<aDataCon.length;i++)\r
-               {\r
-                       aPos[i]=getIdxPos(aDataCon[i],bDown,sK);\r
-                       if(gbNeedCalc||gbFindCK)\r
-                       {\r
-                               gnIns+=aPos[i]+aDataCon[i].nTotal-aDataCon[i].nNum;\r
-                               if(!bDown)\r
-                               {\r
-                                       if(aPos[i]!=-1)\r
-                                       {\r
-                                               if(aDataCon[i].aKs)\r
-                                                       gnIns+=aDataCon[i].aKs[aPos[i]].nNKOff;\r
-                                               else\r
-                                               {\r
-                                                       var n=aPos[i]+1;\r
-                                                       while(n<aDataCon[i].aKsOnly.length&&!aDataCon[i].aKsOnly[n])\r
-                                                               n++;\r
-                                                       n=n-aPos[i]-1;\r
-                                                       gnIns+=n;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }\r
-                       aOriPos[i]=aPos[i];\r
-                       getLimit(aDataCon,aPos,aMaxPos,aMinPos,i);\r
-               }\r
-               if((gbNeedCalc||gbFindCK)&&!bDown&&gnIns!=-1)\r
-               {\r
-                       gnIns+=(aDataCon.length-1)\r
-               }\r
-               if(gnIns!=-1||gbFindCK)\r
-               {\r
-                       oHTML.nNeeded=gnNeeded;\r
-                       var bDone=writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,1);\r
-                       if(oHTML.nConsumed!=0)\r
-                       {\r
-                               var nB;\r
-                               if(!bDown)\r
-                                       nB=gnIns-oHTML.nConsumed+1;\r
-                               else\r
-                                       nB=gnIns;\r
-                                       \r
-                               var oldScrollPos=document.body.scrollTop;\r
-                               if(insertIdxKs(nB,oHTML,gbScrl))\r
-                               {\r
-                                       updateUsedK(aDataCon,aOriPos,aPos,bDown);\r
-                                       if(!gbScrl&&gbMac)\r
-                                       {\r
-                                               while(document.body.scrollTop!=oldScrollPos)\r
-                                                       document.body.scrollTop=oldScrollPos;\r
-                                       }\r
-                                       gbScrl=false;\r
-                               }\r
-                               if(gbFindCK)\r
-                               {\r
-                                       gbFindCK=false;\r
-                                       gbNeedCalc=true;\r
-                                       gsSKB=oHTML.sFK;\r
-                                       gnIns=-1;\r
-                                       setTimeout("checkReady();",50);\r
-                                       return;\r
-                               }\r
-                       }\r
-                       else if(gbFindCK)\r
-                       {\r
-                               gbFindCK=false;\r
-                               gbNeedCalc=true;\r
-                               gsSKB=getFirstKeyFromPos(aDataCon,aPos);\r
-                               gnIns=-1;\r
-                               setTimeout("checkReady();",50);\r
-                               return;\r
-                       }\r
-                       if(!findCKInDom()) return;\r
-\r
-                       gnNeeded=gnNeeded-oHTML.nCurrent;\r
-                       gnIns=-1;\r
-                       markEnd();\r
-                       setTimeout("checkAgain();",50);\r
-                       gbNeedCalc=false;\r
-               }\r
-               else\r
-               {\r
-                       if(!findCKInDom()) return;\r
-                       markEnd();\r
-                       setTimeout("checkAgain();",50);\r
-               }\r
-       }\r
-}\r
-\r
-function getFirstKeyFromPos(aDataCon,aPos)\r
-{\r
-       var sCurrentK=getBiggestChar();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               if(aDataCon[i].aKs&&aDataCon[i].aKs.length>0&&aPos[i]>=0&&aPos[i]<aDataCon[i].aKs.length)\r
-               {\r
-                       if(sCurrentK==""||\r
-                               compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)\r
-                       {\r
-                               sCurrentK=aDataCon[i].aKs[aPos[i]].sName;\r
-                       }\r
-               }\r
-       }\r
-       return sCurrentK;\r
-}\r
-\r
-function checkAgain()\r
-{\r
-       if(!gbProcess)\r
-       {\r
-               if(gsBCK!=null)\r
-               {\r
-                       gsCK=gsBCK;\r
-                       gsBCK=null;\r
-                       findCK();\r
-               }\r
-               else\r
-               {\r
-                       markBegin();\r
-                       getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-               }\r
-       }\r
-       else\r
-               setTimeout("checkAgain()",50);\r
-}\r
-\r
-function getLimit(aDataCon,aPos,aMaxPos,aMinPos,i)\r
-{\r
-       aMaxPos[i]=aDataCon[i].nNum;\r
-       aMinPos[i]=-1;\r
-       var oPNode=null;\r
-       if(aDataCon[i].oUsedItems)\r
-       {\r
-               var oUsedItems=aDataCon[i].oUsedItems;\r
-               do{\r
-                       if(oUsedItems.nB>aPos[i])\r
-                       {\r
-                               aMaxPos[i]=oUsedItems.nB;\r
-                               break;\r
-                       }\r
-                       oPNode=oUsedItems;\r
-                       oUsedItems=oUsedItems.oN;\r
-               }while(oUsedItems!=null);\r
-               if(oPNode)\r
-                       aMinPos[i]=oPNode.nE;\r
-       }\r
-       else if(aDataCon[i].aKs==null)\r
-       {\r
-               aMaxPos[i]=aMinPos[i]=aPos[i];\r
-       }\r
-       if(aMinPos[i]>=aPos[i]||aMaxPos[i]<=aPos[i])\r
-       {\r
-               aMaxPos[i]=aMinPos[i]=aPos[i];\r
-       }\r
-}\r
-\r
-function getIdxPos(oIdx,bDown,sK)\r
-{\r
-       var aKs=oIdx.aKs;\r
-       var nIdx;\r
-       if(bDown)\r
-               nIdx=oIdx.nNum;\r
-       else\r
-               nIdx=-1;\r
-       if(aKs!=null)\r
-       {\r
-               for(var i=0;i<aKs.length;i++)\r
-               {       \r
-                       if(bDown)\r
-                       {\r
-                               if(compare(aKs[i].sName,sK)>0)\r
-                               {\r
-                                       nIdx=i;\r
-                                       break;\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if(compare(aKs[i].sName,sK)<0)\r
-                                       nIdx=i;\r
-                               else\r
-                                       break;\r
-                       }\r
-                       i+=aKs[i].nNKOff;\r
-               }\r
-       }\r
-       else if(oIdx.aKsOnly)\r
-       {\r
-               var aKsOnly=oIdx.aKsOnly;\r
-               for(var i=0;i<aKsOnly.length;i++)\r
-               {       \r
-                       if(aKsOnly[i])\r
-                       {\r
-                               if(bDown)\r
-                               {\r
-                                       if(compare(aKsOnly[i],sK)>0)\r
-                                       {\r
-                                               nIdx=i;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(compare(aKsOnly[i],sK)<0)\r
-                                               nIdx=i;\r
-                                       else\r
-                                               break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return nIdx;\r
-}\r
-\r
-function writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,nLevel)\r
-{\r
-       var aOldPos=new Array();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               aOldPos[i]=aPos[i];\r
-       }\r
-       var p;\r
-       do{\r
-               var sCurrentK="";\r
-               var aCurIdxSet=new Array();\r
-               p=0;\r
-               for(i=0;i<aDataCon.length;i++)\r
-               {\r
-                       if(aDataCon[i].aKs&&aDataCon[i].aKs.length&&aPos[i]!=-1&&\r
-                               (bDown&&aPos[i]<aMaxPos[i])||(!bDown&&aPos[i]>aMinPos[i]))\r
-                       {\r
-                               if(sCurrentK==""||\r
-                                       (bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)||\r
-                                       (!bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)<0))\r
-                               {\r
-                                       sCurrentK=aDataCon[i].aKs[aPos[i]].sName;\r
-                                       p=0;\r
-                                       aCurIdxSet[p++]=i;\r
-                               }\r
-                               else if(compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)==0){\r
-                                       aCurIdxSet[p++]=i;\r
-                               }\r
-                       }\r
-                       else if(nLevel==1&&aMaxPos[i]!=aMinPos[i]){\r
-                               if(bDown&&aPos[i]==aMaxPos[i])\r
-                               {\r
-                                       if(aDataCon[i].aKs)\r
-                                       {\r
-                                               gsSKA=aDataCon[i].aKs[aOldPos[i]].sName;\r
-                                               return false;\r
-                                       }\r
-                               }\r
-                               else if(!bDown&&aPos[i]==aMinPos[i])\r
-                               {\r
-                                       if(aDataCon[i].aKs)\r
-                                       {\r
-                                               gsSKB=aDataCon[i].aKs[aOldPos[i]].sName;\r
-                                               return false;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-               if(p>=1){\r
-                       for(var s=0;s<p;s++)\r
-                       {\r
-                               aOldPos[aCurIdxSet[s]]=aPos[aCurIdxSet[s]];\r
-                       }\r
-                       mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,p,aPos,nLevel);\r
-                       adjustPosition(bDown,aDataCon,aCurIdxSet,p,aPos);\r
-                       \r
-                       if(nLevel==1&&oHTML.nNeeded<=oHTML.nCurrent){\r
-                               return true;\r
-                       }\r
-               }\r
-       }while(p>0);\r
-       return true;\r
-}\r
-\r
-function updateUsedK(aDataCon,aOriPos,aOldPos,bDown)\r
-{\r
-       for(var i=0;i<aDataCon.length;i++)\r
-       {\r
-               if (aOldPos[i]!=aOriPos[i])\r
-               {\r
-                       var nBP=0;\r
-                       var nEP=0;\r
-                       if(bDown)\r
-                       {\r
-                               nBP=aOriPos[i];\r
-                               nEP=aOldPos[i]-1;\r
-                       }\r
-                       else\r
-                       {\r
-                               if (aOldPos[i]!=-1)\r
-                                       nBP=aOldPos[i]+aDataCon[i].aKs[aOldPos[i]].nNKOff+1;\r
-                               else\r
-                                       nBP=0;\r
-                               nEP=aOriPos[i]+aDataCon[i].aKs[aOriPos[i]].nNKOff;\r
-                       }\r
-                       if(nBP<=nEP)\r
-                       {\r
-                               setContentsUsed(aDataCon[i],nBP,nEP);\r
-                               \r
-                               var oFirstPair=aDataCon[i].oUsedItems;\r
-                               if(oFirstPair.oN==null&&oFirstPair.nB==0&&oFirstPair.nE==aDataCon[i].nNum-1)\r
-                               {\r
-                                       storeKeysOnly(aDataCon[i]);\r
-                                       aDataCon[i].oUsedItems=aDataCon[i].aKs=aDataCon[i].sFileName=null;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function storeKeysOnly(oCData)\r
-{\r
-       oCData.aKsOnly=new Array();\r
-       for(var i=0;i<oCData.aKs.length;i++)\r
-       {\r
-               oCData.aKsOnly[i]=oCData.aKs[i].sName;\r
-               i+=oCData.aKs[i].nNKOff;\r
-       }\r
-}\r
-\r
-function setContentsUsed(oIdx,nB,nE)\r
-{\r
-       if(!oIdx.oUsedItems)\r
-               oIdx.oUsedItems=new usedItems(nB,nE);\r
-       else\r
-       {\r
-               var oUsedItems=oIdx.oUsedItems;\r
-               var oPNode=null;\r
-               do{\r
-                       if(oUsedItems.nB>nB)\r
-                       {\r
-                               if(oUsedItems.nB==nE+1)\r
-                               {\r
-                                       oUsedItems.nB=nB;\r
-                               }\r
-                               else{\r
-                                       var oNewNode=new usedItems(oUsedItems.nB,oUsedItems.nE);\r
-                                       oNewNode.oN=oUsedItems.oN;\r
-                                       oUsedItems.nB=nB;\r
-                                       oUsedItems.nE=nE;\r
-                                       oUsedItems.oN=oNewNode;\r
-                               }\r
-                               break;\r
-                       }\r
-                       oPNode=oUsedItems;\r
-                       oUsedItems=oUsedItems.oN;\r
-               }while(oUsedItems);\r
-               if(!oUsedItems)\r
-               {\r
-                       if(oPNode!=null)\r
-                               oPNode.oN=new usedItems(nB,nE);\r
-               }\r
-               if(oPNode!=null){\r
-                       if(oPNode.nE==oPNode.oN.nB-1)\r
-                       {\r
-                               oPNode.nE=oPNode.oN.nE;\r
-                               oPNode.oN=oPNode.oN.oN;\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function projInfo(sPPath,sDPath,sFile)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.sFile=sFile;\r
-}\r
-\r
-function addProjInfo(sPPath,sDPath,sFile)\r
-{\r
-       var oIdxInfo=new projInfo(sPPath,sDPath,sFile);\r
-       gaData[gaData.length]=oIdxInfo;\r
-       return oIdxInfo;\r
-}\r
-\r
-function writeDataIFrame()\r
-{\r
-       if(gnLoad<gaData.length)\r
-       {\r
-               gbLoadInfo=true;\r
-               loadData2(gaData[gnLoad].sPPath+gaData[gnLoad].sDPath+gaData[gnLoad].sFile);\r
-       }\r
-       else{\r
-               if(gnItems!=0)\r
-               {\r
-                       markBegin();\r
-                       writeFakeItems();\r
-                       gsSKA="";\r
-                       gnNeeded=gnVisible;\r
-                       gnIns=0;\r
-                       checkReady();\r
-               }\r
-       }\r
-}\r
-\r
-function getH6ById(nPos)\r
-{\r
-       if(document.all)\r
-               return document.all("fk"+nPos);\r
-       else if(document.getElementsByName)\r
-               return document.getElementsByName("fk"+nPos);\r
-       return null;            \r
-}\r
-\r
-function showItemsInEvaluation(nBP)\r
-{\r
-       var bRtn=true;\r
-       var fPer=nBP/gnItems;\r
-       var nB=Math.floor(fPer*gnMaxItems);\r
-       var oCData=getChunkByIdx(gnRef,nB);\r
-       if(oCData)\r
-       {\r
-               if(!oCData.aKs&&oCData.sFileName!=null)\r
-               {\r
-                       gnNKI=nB;\r
-                       goCData=oCData;\r
-                       oCData.nProjId=gnRef;\r
-                       gbLoadInfo=false;\r
-                       beginLoading();\r
-                       loadData2(gaData[gnRef].sPPath+gaData[gnRef].sDPath+oCData.sFileName);\r
-               }\r
-               else{\r
-                       gsSKA=getKByIdx(oCData,nB);\r
-                       if(gsSKA)\r
-                       {\r
-                               gsSKB=null;\r
-                               gbNeedCalc=true;\r
-                               gbScrl=true;\r
-                               checkReady()\r
-                       }\r
-                       else\r
-                       {\r
-                               markEnd();\r
-                               bRtn=false;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               markEnd();\r
-               bRtn=false;\r
-       }\r
-       return bRtn;\r
-}\r
-\r
-function isUsed(oCData,nPos)\r
-{\r
-       var oUsed=oCData.oUsedItems;\r
-       while(oUsed&&oUsed.nB<=nPos)\r
-       {\r
-               if(oUsed.nE>=nPos) return true;\r
-               oUsed=oUsed.oN;\r
-       }\r
-       return false;\r
-}\r
-\r
-function getKByIdx(oCData,nB)\r
-{\r
-       var nRelPos=nB-(oCData.nTotal-oCData.nNum);\r
-       var aIKs=oCData.aKs;\r
-       if(nRelPos>=0&&aIKs&&nRelPos<aIKs.length)\r
-       {\r
-               var oK=null;\r
-               do{\r
-                       oK=aIKs[nRelPos++];\r
-               }       \r
-               while((oK.nType==3||isUsed(oCData,nRelPos-1))&&nRelPos<aIKs.length);\r
-               if(oK.nType!=3)\r
-               {\r
-                       return oK.sName;\r
-               }\r
-               else{\r
-                       nRelPos=nB-(oCData.nTotal-oCData.nNum)-1;\r
-                       if(nRelPos>=0)\r
-                       {\r
-                               do{\r
-                                       oK=aIKs[nRelPos--];\r
-                               }\r
-                               while((oK.nType==3||isUsed(oCData,nRelPos+1))&&nRelPos>=0);\r
-                       }\r
-                       if(oK.nType!=3)\r
-                       {\r
-                               return oK.sName;\r
-                       }\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function loadData2(sFileName)\r
-{\r
-       disEvt();\r
-       if(gbXML)\r
-               loadDataXML(sFileName);\r
-       else\r
-               loadData(sFileName);\r
-       enEvt();\r
-}\r
-\r
-function projReady(aChunk)\r
-{\r
-       gaChunks[gnLoad++]=aChunk;\r
-       var len=aChunk.length;\r
-       var nTotal=0;\r
-       if(len>0)\r
-               nTotal=aChunk[len-1].nTotal;\r
-       gnItems+=nTotal;\r
-       if(nTotal>gnMaxItems)\r
-       {\r
-               gnMaxItems=nTotal;\r
-               gnRef=gnLoad-1;\r
-       }\r
-       setTimeout("writeDataIFrame();",1);\r
-}\r
-\r
-function writeFakeItems()\r
-{\r
-       disEvt();\r
-       gnUHeight=15;\r
-       var sHTML=getFakeItemsHTMLbyCount(0,gnItems);\r
-       document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-       var obj=getH6ById(0);\r
-       if (document.body != null)\r
-       {\r
-               gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);\r
-       }\r
-       gaFakes[0]=new fakeItemsArea(0,gnItems,"",getEndString(),obj);\r
-       enEvt();\r
-}\r
-\r
-function getEndString()\r
-{\r
-       var sBC=getBiggestChar();\r
-       return sBC+sBC+sBC+sBC+sBC+sBC+sBC+sBC;\r
-}\r
-\r
-function getUnitIdx(nScrl,nHeight)\r
-{\r
-       if(gaFakes.length==0)\r
-       {\r
-               markEnd();\r
-               return;\r
-       }\r
-       var nB=0;\r
-       var nE=gaFakes.length-1;\r
-       var nM=-1;\r
-       var nTop=0;\r
-       var nBtm=0;\r
-       var bF=false;\r
-       do{\r
-               nM=(nB+nE)>>1;\r
-               nBtm=gaFakes[nM].getBtm();\r
-               nTop=gaFakes[nM].getTop();\r
-                       \r
-               if(nTop>=nScrl+nHeight)\r
-                       nE=nM-1;\r
-               else if(nBtm<nScrl)\r
-                       nB=nM+1;\r
-               else{\r
-                       bF=true;\r
-                       break;\r
-               }\r
-       }while(nE>=nB);\r
-       if(bF)\r
-       {\r
-               if(nTop>=nScrl){\r
-                       gsSKA=gaFakes[nM].sKA;\r
-                       gsSKB=null;\r
-                       gnNeeded=Math.ceil((nHeight-nTop+nScrl)/gnUHeight);\r
-                       gnIns=gaFakes[nM].nB;\r
-                       checkReady();\r
-               }\r
-               else if(nBtm<=nScrl+nHeight){\r
-                       gsSKB=gaFakes[nM].sKB;\r
-                       gsSKA=null;\r
-                       gnNeeded=Math.ceil((nBtm-nScrl+gnScrlMgn)/gnUHeight);\r
-                       gbNeedCalc=true;\r
-                       checkReady();\r
-               }\r
-               else{\r
-                       gnNeeded=gnVisible;\r
-                       var nUnitIdx=gaFakes[nM].nB+Math.floor((nScrl-nTop)/gnUHeight);\r
-                       if (!showItemsInEvaluation(nUnitIdx))\r
-                       {\r
-                               gsSKA=gaFakes[nM].sKA;\r
-                               gsSKB=null;\r
-                               gnNeeded=Math.ceil(nHeight/gnUHeight);\r
-                               gnIns=gaFakes[nM].nB;\r
-                               checkReady();\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               markEnd();\r
-}\r
-\r
-function disEvt()\r
-{\r
-       window.onscroll=null;\r
-       window.onresize=null;\r
-}\r
-\r
-function enEvt()\r
-{\r
-       window.onscroll=window_OnScroll;\r
-       window.onresize=window_OnResize;\r
-}\r
-\r
-function insertIdxKs(nIns,oHTML,bScrl)\r
-{\r
-       var bRtn=true;\r
-       disEvt();\r
-       var nCount=oHTML.nConsumed;\r
-       var nB=0;\r
-       var nE=gaFakes.length-1;\r
-       var nM=-1;\r
-       var bF=false;\r
-       do{\r
-               nM=(nB+nE)>>1;\r
-               if(gaFakes[nM].nB>nIns)\r
-                       nE=nM-1;\r
-               else if(gaFakes[nM].nB+gaFakes[nM].nNum<=nIns)\r
-                       nB=nM+1;\r
-               else{\r
-                       bF=true;\r
-                       break;\r
-               }\r
-       }while(nE>=nB);\r
-       if(bF)\r
-       {\r
-               var oFIA=gaFakes[nM];\r
-               var nOffsetTop=oFIA.getTop();\r
-               var nOffsetBottom=oFIA.getBtm();\r
-               var nDelta=0;\r
-               var nHDiff=nIns-oFIA.nB;\r
-               var nTDiff=oFIA.nNum+oFIA.nB-(nIns+nCount);\r
-               if(nHDiff>0)\r
-               {\r
-                       nDelta=oFIA.setNum(nHDiff);\r
-                       var sOldKBefore=oFIA.sKB;\r
-                       oFIA.sKB=oHTML.sFK;\r
-                       if(nTDiff>0)\r
-                       {\r
-                               var sHTML=getFakeItemsHTMLbyCount(nIns,nTDiff);\r
-                               oFIA.insertAdjacentHTML("afterEnd",sHTML);\r
-                               var obj=getH6ById(nIns);\r
-                               insertItemIntoArray(gaFakes,nM+1,new fakeItemsArea(nIns+nCount,nTDiff,oHTML.sLK,sOldKBefore,obj));\r
-                       }\r
-                       oFIA.insertAdjacentHTML("afterEnd",oHTML.sHTML);        \r
-                       if(bScrl)\r
-                       {\r
-                               if(gbMac&&gbIE4)\r
-                               {\r
-                                       var nScrollPos=nOffsetBottom-nDelta;\r
-                                       while(document.body.scrollTop!=nScrollPos)\r
-                                               document.body.scrollTop=nScrollPos;\r
-                               }\r
-                               else\r
-                                       window.scrollTo(0,nOffsetBottom-nDelta);\r
-                       }\r
-               }\r
-               else{\r
-                       oFIA.insertAdjacentHTML("beforeBegin",oHTML.sHTML);\r
-                       if(bScrl){\r
-                               if(gbMac&&gbIE4)\r
-                               {\r
-                                       var nScrollPos=nOffsetTop;\r
-                                       while(document.body.scrollTop!=nScrollPos)\r
-                                               document.body.scrollTop=nScrollPos;\r
-                               }\r
-                               else\r
-                                       window.scrollTo(0,nOffsetTop);\r
-                       }\r
-                                       \r
-                       if(nTDiff>0)\r
-                       {\r
-                               oFIA.nB=nIns+nCount;\r
-                               nDelta=oFIA.setNum(nTDiff);\r
-                               oFIA.sKA=oHTML.sLK;\r
-                       }       \r
-                       else{\r
-                               gaFakes[nM].setNum(0);\r
-                               removeItemFromArray(gaFakes,nM);\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               bRtn=false;\r
-       enEvt();\r
-       return bRtn;\r
-}\r
-\r
-function window_OnScroll()\r
-{\r
-       gnSE++;\r
-       setTimeout("procScroll();",50); \r
-}\r
-\r
-function procScroll()\r
-{\r
-       if(gnSE==1&&!gbProcess)\r
-       {\r
-               markBegin();\r
-               getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-       }\r
-       gnSE--;\r
-}\r
-\r
-function window_OnResize()\r
-{\r
-       gnRE++;\r
-       setTimeout("procResize();",50);\r
-}\r
-\r
-function procResize()\r
-{\r
-       if(gnRE==1&&!gbProcess)\r
-       {\r
-               markBegin();\r
-               gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);\r
-               if(gnIns==-1)\r
-                       getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-       }\r
-       gnRE--;\r
-}\r
-\r
-function getChunkByIdx(nIdx,nPosition)\r
-{\r
-       var oCData=null;\r
-       if(nIdx<gaChunks.length)\r
-       {\r
-               var len=gaChunks[nIdx].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bF=false;\r
-                       do{\r
-                               var nM=(nB+nE)>>1;\r
-                               if(nPosition<gaChunks[nIdx][nM].nTotal)\r
-                               {\r
-                                       bF=true;\r
-                                       nE=nM;\r
-                               }\r
-                               else\r
-                                       nB=nM+1;\r
-                       }while(nE>nB);\r
-                       if(bF)\r
-                               oCData=gaChunks[nIdx][nE];\r
-                       else if(nPosition<gaChunks[nIdx][nB].nTotal)\r
-                               oCData=gaChunks[nIdx][nB];\r
-               }\r
-       }\r
-       return oCData;\r
-}\r
-\r
-function getChunkedData(nIdx,bDown,sK)\r
-{\r
-       var oCData=null;\r
-       var nCandId=-1;\r
-       if(nIdx<gaChunks.length)\r
-       {\r
-               var len=gaChunks[nIdx].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bF=false;\r
-                       do{\r
-                               var nM=(nB+nE+(bDown?0:1))>>1;\r
-                               if(bDown)\r
-                               {\r
-                                       if(compare(sK,gaChunks[nIdx][nM].sEK)<0)\r
-                                       {\r
-                                               bF=true;\r
-                                               nE=nM;\r
-                                       }\r
-                                       else\r
-                                               nB=nM+1;\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(compare(sK,gaChunks[nIdx][nM].sBK)>0)\r
-                                       {\r
-                                               bF=true;\r
-                                               nB=nM;\r
-                                       }\r
-                                       else\r
-                                               nE=nM-1;\r
-                               }\r
-                       }while(nE>nB);\r
-                       if(bF)\r
-                       {\r
-                               if(bDown)\r
-                                       nCandId=nE;\r
-                               else\r
-                                       nCandId=nB;\r
-                       }\r
-                       else\r
-                       {\r
-                               if(bDown)\r
-                               {\r
-                                       if(gaChunks[nIdx].length>nB&&compare(sK,gaChunks[nIdx][nB].sEK)<0)\r
-                                               nCandId=nB;\r
-                                       else\r
-                                               nCandId=gaChunks[nIdx].length-1;\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(0<=nE&&compare(sK,gaChunks[nIdx][nE].sBK)>0)\r
-                                               nCandId=nE;\r
-                                       else\r
-                                               nCandId=0;\r
-                               }\r
-                       }\r
-                       return gaChunks[nIdx][nCandId];\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function findCK()\r
-{\r
-       if(gsCK!=null)\r
-       {\r
-               gsSKA=gsCK;\r
-               gbFindCK=true;\r
-               gnNeeded=1;\r
-               markBegin();\r
-               checkReady();\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIIdx)\r
-{\r
-       return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";\r
-}\r
-\r
-var gbWhHost=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whibody.htm b/doc/salome/gui/GEOM/whibody.htm
deleted file mode 100755 (executable)
index a279fa8..0000000
+++ /dev/null
@@ -1,284 +0,0 @@
-<html>\r
-<head>\r
-<title>Index content</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whhost.js"></script>\r
-<script language="javascript1.2" src="whihost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var goPopup = null;\r
-var gbPopupMenuTimeoutExpired=false;\r
-var gBsClientWidth=640;\r
-var gBsClientHeight=480;\r
-var g_bIsPopupMenuInit=false;\r
-\r
-function WritePopupMenuLayer()\r
-{\r
-       if (!g_bIsPopupMenuInit)\r
-       {\r
-               document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");\r
-               document.write("<STYLE TYPE='text/css'>");\r
-               if (gbMac && gbIE4) {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; text-decoration:none;}");\r
-               } else {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");\r
-               }\r
-               document.write("</STYLE>");\r
-       }\r
-       g_bIsPopupMenuInit = true;\r
-}\r
-\r
-function PopupMenu_Invoke()\r
-{\r
-       if (gbNav6)\r
-               resetHighLight();\r
-       \r
-       if (!gbNav6  && document.readyState != "complete")\r
-               return false;\r
-       var fn_arguments = PopupMenu_Invoke.arguments; \r
-       // Make sure we have reasonable arguments\r
-       var argLen = fn_arguments.length;\r
-       if (argLen < 3) {\r
-               return false;\r
-       }\r
-\r
-       // Check to see if we only have one target\r
-       var strTarget = "";\r
-       \r
-       strTarget = "TARGET='" + fn_arguments[1] + "'";\r
-       \r
-       if (argLen < 5) {\r
-               // Get the place that we will be putting the topic into\r
-               var strURL = fn_arguments[3];\r
-\r
-               if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")\r
-                       window.open(strURL, fn_arguments[1]);\r
-               else\r
-                       window.open(strURL);\r
-                       \r
-               return false;\r
-       }\r
-       \r
-       var strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';\r
-       if (gbMac && gbIE4) {\r
-               strMenu += ' CELLPADDING=4';\r
-       } else {\r
-               strMenu += ' CELLPADDING=2';\r
-       }       \r
-       strMenu += ' BGCOLOR=#c0c0c0>';\r
-\r
-       // Add each of the items\r
-       if (gbIE55)\r
-       {\r
-               var i = 2;\r
-               while (i <= argLen - 1) {\r
-                       strMenu += '<TR><TD><NOBR>'\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A ';\r
-                       strMenu += ' onclick="parent.PopupMenu_2HandleClick(\'' + excapeSingleQuotandSlash(fn_arguments[i + 1]) + '\', \'' + fn_arguments[1] + '\');"';\r
-                       strMenu += ' onmouseover="parent.PopupMenu_Over(event);"';\r
-                       strMenu += ' onmouseout="parent.PopupMenu_Out(event);"';\r
-                       strMenu += '>';\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';\r
-                       strMenu += '</A></DIV></NOBR></TD></TR>';\r
-                       i += 2;\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var i = 2;\r
-               while (i <= argLen - 1) {\r
-                       strMenu += '<TR><TD><NOBR>'\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '" ' + strTarget;\r
-                       strMenu += ' onclick="PopupMenu_HandleClick(event);"';\r
-                       strMenu += ' onmouseover="PopupMenu_Over(event);"';\r
-                       strMenu += ' onmouseout="PopupMenu_Out(event);"';\r
-                       strMenu += '>';\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + excapeSingleQuotandSlash(fn_arguments[i]) + '</SPAN>';\r
-                       strMenu += '</A></DIV></NOBR></TD></TR>';\r
-                       i += 2;\r
-               }\r
-       }\r
-       strMenu += "</TABLE>";\r
-\r
-       if (gbMac && gbIE4) {\r
-       // ie5 in mac need something. </TABLE> is one of them.\r
-               strMenu +="<TABLE></TABLE>";\r
-       }\r
-\r
-       var layerPopup = null;\r
-       var stylePopup = null;\r
-       var nEventX = 0;\r
-       var nEventY = 0;\r
-       var nWindowWidth = 0;\r
-       if (gbIE4||gbOpera7)\r
-       {\r
-               layerPopup = document.all["PopupMenu"];\r
-               layerPopup.innerHTML = strMenu;\r
-               stylePopup = layerPopup.style;\r
-\r
-               _BSPSGetClientSize();\r
-\r
-               // Get the position of the item causing the event (relative to its parent)\r
-               nEventX = window.event.clientX;\r
-               nEventY = window.event.clientY;\r
-               \r
-               if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {\r
-                       nEventY += document.body.scrollTop + 10;\r
-               } else {\r
-                       nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;\r
-               }\r
-               stylePopup.top = nEventY;\r
-\r
-               if (nEventX + layerPopup.scrollWidth + 20 > gBsClientWidth) {\r
-                       if (gBsClientWidth - layerPopup.scrollWidth < 5) {\r
-                               stylePopup.left = 5;\r
-                       } else {\r
-                               stylePopup.left = gBsClientWidth - layerPopup.scrollWidth - 5;\r
-                       }\r
-               } else {\r
-                       stylePopup.left = nEventX + document.body.scrollLeft + 20;\r
-               }\r
-\r
-               if (gbIE55) {\r
-                       var nPosX = window.event.clientX;\r
-                       var nPosY = window.event.clientY;\r
-                       if (window.event.srcElement)\r
-                       {\r
-                               nPosX = window.event.srcElement.offsetLeft + window.event.srcElement.offsetWidth - document.body.scrollLeft;\r
-                               nPosY = window.event.srcElement.offsetTop + window.event.srcElement.offsetHeight - document.body.scrollTop;\r
-                       }\r
-                       goPopup = window.createPopup();\r
-                       var oPopupBody = goPopup.document.body;\r
-                       goPopup.document.createStyleSheet();\r
-                       goPopup.document.styleSheets[0].addRule(".PopupOver", "{font-family:\"Arial\"; cursor: hand;color:white; background:navy; font-size:8pt; text-decoration:none;}");\r
-                       goPopup.document.styleSheets[0].addRule(".PopupNotOver", "{font-family:\"Arial\"; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");\r
-                       oPopupBody.insertAdjacentHTML("afterBegin", strMenu);\r
-                       goPopup.show(nPosX, nPosY, layerPopup.scrollWidth, layerPopup.scrollHeight, document.body);\r
-               }\r
-               else \r
-               {\r
-                       stylePopup.visibility = "visible";\r
-                       document.onclick = PopupMenu_HandleClick;\r
-               }\r
-       } else if (gbNav6) {\r
-               layerPopup = document.getElementById("PopupMenu");\r
-               layerPopup.style.visibility = "hidden";\r
-       \r
-               var e = fn_arguments[0];\r
-               nEventX = e.pageX;\r
-               nEventY = e.pageY;\r
-               _BSPSGetClientSize();\r
-               layerPopup.innerHTML = strMenu;\r
-\r
-               if (nEventY + layerPopup.offsetHeight + 20  <  window.pageYOffset + gBsClientHeight) {\r
-                       nEventY += 20;\r
-               } else {\r
-                       nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;\r
-               }\r
-\r
-               if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {\r
-                       if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {\r
-                               nEventX = 5;\r
-                       } else {\r
-                               nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;\r
-                       }\r
-               } else {\r
-                       nEventX += 20;\r
-               }\r
-               layerPopup.style.top = nEventY;\r
-               layerPopup.style.left = nEventX;\r
-\r
-               // set again to avoid the frash in netscape 6.\r
-               layerPopup.innerHTML = strMenu;\r
-               layerPopup.style.visibility = "visible";\r
-               window.onclick = PopupMenu_HandleClick;\r
-       } \r
-\r
-       window.gbPopupMenuTimeoutExpired = false;\r
-       setTimeout("PopupMenu_Timeout();", 100);\r
-       return false;\r
-}\r
-\r
-function PopupMenu_Timeout()\r
-{\r
-       window.gbPopupMenuTimeoutExpired = true;\r
-}\r
-\r
-function PopupMenu_Over(e)\r
-{\r
-       if (gbIE4||gbOpera7)\r
-               e.srcElement.className = "PopupOver";\r
-       else if (gbNav6)\r
-               e.target.parentNode.className = "PopupOver";\r
-}\r
-\r
-function PopupMenu_Out(e)\r
-{\r
-       if (gbIE4||gbOpera7)\r
-               e.srcElement.className = "PopupNotOver";\r
-       else if (gbNav6)\r
-               e.target.parentNode.className = "PopupNotOver";\r
-}\r
-\r
-function PopupMenu_2HandleClick(surl, starget)\r
-{\r
-       window.open(surl, starget);\r
-       goPopup.hide();\r
-}\r
-\r
-function PopupMenu_HandleClick(e)\r
-{\r
-       if (!window.gbPopupMenuTimeoutExpired) {\r
-               return;\r
-       }\r
-\r
-       var layerPopup = getElement("PopupMenu");\r
-       layerPopup.style.visibility = "hidden";\r
-\r
-       return;\r
-}\r
-\r
-//Get client size info\r
-function _BSPSGetClientSize()\r
-{\r
-       gBsClientWidth  = document.body.clientWidth;\r
-       gBsClientHeight = document.body.clientHeight;\r
-}\r
-\r
-if (window.gbWhIHost)\r
-{\r
-       setBackgroundcolor("White");\r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Empty", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       IndexWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">\r
-<script languageE="JavaScript">\r
-<!--\r
-WritePopupMenuLayer();\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
-\r
diff --git a/doc/salome/gui/GEOM/whidhtml.htm b/doc/salome/gui/GEOM/whidhtml.htm
deleted file mode 100755 (executable)
index 945fdc8..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>\r
-<head>\r
-<title>Index</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gbIndexLayerInit = false;\r
-if (window.gbWhProxy&&window.gbWhMsg&&window.gbWhVer)\r
-{\r
-       var strWrite;\r
-       if (gbMac)\r
-               strWrite="<FRAMESET ROWS='45,100%' framespacing=0  frameborder=0>";\r
-       else\r
-               strWrite="<FRAMESET ROWS='60,100%' framespacing=0  frameborder=0>";\r
-       strWrite +="<FRAME SRC='whiform.htm' title='index form frame' name='idxform' noresize='yes' scrolling='no'>";\r
-       strWrite +="<FRAME SRC='whibody.htm' title='index content frame' name='idxbody' scrolling='yes'>";\r
-       strWrite +="</FRAMESET>";\r
-       document.write(strWrite);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whiform.htm b/doc/salome/gui/GEOM/whiform.htm
deleted file mode 100755 (executable)
index 76674d7..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-<html>\r
-<head>\r
-<title>Index form</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<body bgcolor="#c0c0c0">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whform.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-function indexLookup(bCR)\r
-{\r
-       var strInput = document.IndexInputForm.keywordField.value.toUpperCase();\r
-       if (strInput != "") {\r
-               var oParam = new Object();\r
-               oParam.sInput = strInput;\r
-               oParam.bCR = bCR;\r
-               var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);\r
-               SendMessage(oMessage);\r
-       }\r
-       if (gbMac) {\r
-               document.IndexInputForm.keywordField.focus();\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-}\r
-\r
-function onSendMessage(oMessage)\r
-{\r
-       if (oMessage.nMessageId == WH_MSG_SHOWIDX)\r
-       {\r
-               document.IndexInputForm.keywordField.focus();\r
-       }\r
-       else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||\r
-               oMessage.nMessageId == WH_MSG_SHOWTOC || \r
-               oMessage.nMessageId == WH_MSG_SHOWGLO)\r
-       {\r
-               document.IndexInputForm.keywordField.blur();\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhForm)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       window.onunload=window_Unload;\r
-       window.onload = init;\r
-       gfunLookUp = indexLookup;\r
-       gfunInit = null;\r
-       gstrFormName = "IndexInputForm"\r
-       gsTitle = "Type in the keyword to find:";\r
-       gsTitle = "Type in the keyword to find:";\r
-\r
-       setBackgroundcolor("White");\r
-       \r
-       setBtnType("none");\r
-       \r
-       \r
-       \r
-       setGoText("Go");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       \r
-       document.write(getFormHTML());\r
-       writeFormStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whihost.js b/doc/salome/gui/GEOM/whihost.js
deleted file mode 100755 (executable)
index 9aaf13a..0000000
+++ /dev/null
@@ -1,424 +0,0 @@
-//     WebHelp 5.10.002\r
-var gsDefaultTarget="bsscright";\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goIdxFont=null;\r
-var goIdxEmptyFont=null;\r
-var goIdxHoverFont=null;\r
-var gsIdxMargin="0pt";\r
-var gsIdxIndent="8pt";\r
-var gsIdxActiveBgColor="#cccccc";\r
-var gsCK = null;\r
-var gsBCK = null;\r
-var gbCR = false;\r
-var gbBCR = false;\r
-var gbWhIHost=true;\r
-\r
-function myEvent()\r
-{\r
-       this.pageX = 0;\r
-       this.pageY = 0;\r
-}\r
-var _event=new myEvent();\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goIdxFont=vFont;\r
-       else if(sType=="Empty")\r
-               goIdxEmptyFont=vFont;\r
-       else if(sType=="Hover")\r
-               goIdxHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsIdxActiveBgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsIdxMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIdxIndent=sIndent;\r
-}\r
-\r
-function writeOneItem(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var sHTML="";\r
-       var nIdxSet=aCurIdxSet[0];\r
-       var nIIdx=aPos[nIdxSet];\r
-       var sKOriName=getItemName(aDataCon,nIdxSet,nIIdx);\r
-       var sKName=_textToHtml(sKOriName);\r
-\r
-       var nIdxIndent=parseInt(gsIdxIndent);\r
-       var sTopics="";\r
-       if(nLevel==1){\r
-               if(getItemType(aDataCon,nIdxSet,nIIdx)==1)\r
-               {\r
-                       sHTML+="<H6><nobr>";\r
-                       sHTML+="<b>"+sKName+"</b></nobr></H6>";\r
-               }\r
-               else{\r
-                       for(var i=0;i<nLength;i++)\r
-                               sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       sHTML+="<p style=\"margin-left:"+gsIdxIndent+"\"><nobr>";\r
-                       sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";\r
-                       if(sTopics.length>0)\r
-                               sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></p>";\r
-                       else\r
-                               sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></p>";\r
-               }\r
-       }\r
-       else if(nLevel>=2){\r
-               var nIndent=nIdxIndent*nLevel;\r
-               for(var i=0;i<nLength;i++)\r
-                       sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-               if (nLevel==2)\r
-                       sHTML+="<h6 class=\"firstsub\" style=\"margin-left:"+nIndent+"pt\"><nobr>";\r
-               else\r
-                       sHTML+="<h6 style=\"margin-left:"+nIndent+"pt\"><nobr>";\r
-               sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";\r
-               if(sTopics.length>0)\r
-                       sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></h6>";\r
-               else\r
-                       sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></h6>";\r
-       }\r
-       oHTML.addHTML(sHTML,nLength,bDown,(nLevel==1),sKOriName);\r
-}\r
-\r
-function getTargetName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               if(aDataCon[nIdxSet].aKs[nIIdx].sTarget)\r
-                       return aDataCon[nIdxSet].aKs[nIIdx].sTarget;\r
-       return gsDefaultTarget;\r
-}\r
-\r
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var oLocalHTML=new indexHTMLPart();\r
-       writeOneItem(oLocalHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel);\r
-       \r
-       var aLocalPos=new Array();\r
-       var aMaxPos=new Array();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               aLocalPos[i]=aPos[i];\r
-               aMaxPos[i]=-1;\r
-       }\r
-       \r
-       for(i=0;i<nLength;i++)\r
-       {\r
-               var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aLocalPos[aCurIdxSet[i]]);\r
-               aLocalPos[aCurIdxSet[i]]++;\r
-               if(nNKOff>0)\r
-                       aMaxPos[aCurIdxSet[i]]=aLocalPos[aCurIdxSet[i]]+nNKOff;\r
-       }\r
-       var oSubHTML=new indexHTMLPart();\r
-       writeItems(oSubHTML,aDataCon,aLocalPos,null,aMaxPos,true,nLevel+1);\r
-       oLocalHTML.addSubHTML(oSubHTML,true);\r
-       oHTML.appendHTML(oLocalHTML,bDown);\r
-}\r
-\r
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)\r
-{\r
-       if(bDown)\r
-       {\r
-               for(var i=0;i<nLength;i++)\r
-               {\r
-                       var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       aPos[aCurIdxSet[i]]+=(1+nNKOff);\r
-               }\r
-       }\r
-       else{\r
-               for(var i=0;i<nLength;i++)\r
-               {\r
-                       var nPKOff=getPKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       aPos[aCurIdxSet[i]]-=(1+nPKOff);\r
-               }\r
-       }\r
-}\r
-\r
-function getItemName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemType(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nType;\r
-       else\r
-               return 0;\r
-}\r
-\r
-function getNKOff(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nNKOff;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getPKOff(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nPKOff;\r
-       else\r
-               return null;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());\r
-       loadIdx();\r
-       var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadIdx()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sIdx&&aProj[i].sLangId==sLangId)\r
-                                       {\r
-                                               addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sIdx);\r
-                                       }\r
-                               }\r
-                       }\r
-                       writeDataIFrame();\r
-                       enEvt();\r
-               }               \r
-       }\r
-}\r
-\r
-function getIdxTopics(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       var sTopics="";\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-       {\r
-               if(aDataCon[nIdxSet].aKs[nIIdx].aTopics)\r
-               {\r
-                       var nLen=aDataCon[nIdxSet].aKs[nIIdx].aTopics.length;\r
-                       var nProj=aDataCon[nIdxSet].nProjId;\r
-                       var sPath=gaData[nProj].sPPath;\r
-                       for(var i=0;i<nLen;i++)\r
-                       {\r
-                               var sURL=aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sURL;\r
-                               var sFullPath=_getFullPath(sPath,sURL);\r
-                               sTopics+=",'"+excapeSingleQuotandSlash(_textToHtml(aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sName))+"','"+excapeSingleQuotandSlash(_textToHtml_nonbsp(sFullPath))+"'";\r
-                       }\r
-               }\r
-       }\r
-       return sTopics;         \r
-}\r
-\r
-function findCKInDom()\r
-{\r
-       if(gsCK!=null)\r
-       {\r
-               var sK=gsCK;\r
-               var oP=getElementsByTag(document,"P");\r
-               if(!oP) return false;\r
-               var len=oP.length;\r
-               var nB=0;\r
-               var nE=len-1;\r
-               var nM=0;\r
-               var sItem="";\r
-               var bF=false;\r
-               while(nB<nE){\r
-                       nM=(nB+nE+1)>>1;\r
-                       sItem=getInnerText(oP[nM]);\r
-                       \r
-                       if(compare(sItem,sK)==0)\r
-                       {\r
-                               bF=true;\r
-                               break;\r
-                       }\r
-                       else if(compare(sItem,sK)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(sItem,sK)<0)\r
-                               nB=nM;\r
-               }\r
-               if(!bF)\r
-               {\r
-                       if(nB==nE) nM=nB;\r
-               \r
-                       if(nM+1<len)\r
-                       {\r
-                               sItem=getInnerText(oP[nM+1]);\r
-                               if(compare(sItem,sK)<=0) nM++;\r
-                       }                       \r
-                       if(nM+1<len)\r
-                       {\r
-                               sItem=getInnerText(oP[nM+1]);\r
-                               if(compare(sItem.substring(0,sK.length),sK)==0) nM++;\r
-                       }                       \r
-               }\r
-       \r
-               var oMatch=oP[nM];\r
-               if(oMatch)\r
-               {\r
-                       window.scrollTo(0,oMatch.offsetTop);\r
-                       var tempColl=getElementsByTag(oMatch,"A");\r
-                       if(tempColl&&tempColl.length>0){\r
-                               var nbTag=getElementsByTag(oMatch,"NOBR");\r
-                               if(nbTag&&nbTag.length>0)\r
-                                       HighLightElement(nbTag[0], gsIdxActiveBgColor, "transparent");\r
-                               if (gbCR)\r
-                               {\r
-                                       if (gbIE4)\r
-                                               tempColl(0).click();\r
-                                       else\r
-                                       {\r
-                                               var strCommand = tempColl[0].getAttribute("onClick");\r
-                                               var nstrCommand = strCommand.indexOf(";");\r
-                                               strCommand = strCommand.substring(0, nstrCommand);\r
-                                               strCommand = strCommand.replace("event", "_event");\r
-                                               window._event.pageX = oMatch.offsetLeft ;\r
-                                               window._event.pageY = oMatch.offsetTop + 20;\r
-                                               window.setTimeout(strCommand, 100);\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-               gsCK=gsBCK;\r
-               gbCR=gbBCR;\r
-               if(gsBCK!=null)\r
-               {\r
-                       gsBCK=null;\r
-                       gbBCR=false;\r
-                       findCK();\r
-                       return false;\r
-               }\r
-               \r
-       }\r
-       return true;\r
-}\r
-\r
-function clearHighLight()\r
-{\r
-       resetHighLight(gsBgColor);\r
-}\r
-\r
-function IndexWriteClassStyle()\r
-{\r
-       var sStyle="";\r
-       sStyle+="<STYLE TYPE='text/css'>";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       if(gbIE4&&gbMac&&!gbIE5)\r
-       {\r
-               var nMargin=parseInt(gsIdxMargin);\r
-               nMargin-=10;\r
-               sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6.firstsub {"+getFontStyle(goIdxFont)+"margin-top:"+nMargin+"pt;margin-bottom:"+gsIdxMargin+";}\n";\r
-       }\r
-       else\r
-       {\r
-               sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-       }\r
-       sStyle+="DIV {margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goIdxFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goIdxFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsIdxActiveBgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goIdxHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";     \r
-       document.write(sStyle);\r
-       return;\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SEARCHINDEXKEY);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SEARCHINDEXKEY)\r
-               {\r
-                       if(oMsg.oParam && oMsg.oParam.sInput)\r
-                       {\r
-                               if(gsCK==null)\r
-                               {\r
-                                       gsCK=oMsg.oParam.sInput;\r
-                                       gbCR = oMsg.oParam.bCR;\r
-                                       findCK();\r
-                               }\r
-                               else\r
-                               {\r
-                                       gsBCK=oMsg.oParam.sInput;\r
-                                       gbBCR = oMsg.oParam.bCR;\r
-                               }\r
-                       }\r
-               }\r
-               else if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadIdx();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhHost&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SEARCHINDEXKEY);\r
-       goIdxFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goIdxEmptyFont=new whFont("Verdana","8pt","#666666","normal","normal","none");\r
-       goIdxHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       gbWhIHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
diff --git a/doc/salome/gui/GEOM/whlang.js b/doc/salome/gui/GEOM/whlang.js
deleted file mode 100755 (executable)
index 870be0e..0000000
+++ /dev/null
@@ -1,453 +0,0 @@
-//     WebHelp 5.10.001\r
-var garrSortChar=new Array();\r
-var gaFtsStop=new Array();\r
-var gaFtsStem=new Array();\r
-var gbWhLang=false;\r
-\r
-garrSortChar[0] = 0;\r
-garrSortChar[1] = 1;\r
-garrSortChar[2] = 2;\r
-garrSortChar[3] = 3;\r
-garrSortChar[4] = 4;\r
-garrSortChar[5] = 5;\r
-garrSortChar[6] = 6;\r
-garrSortChar[7] = 7;\r
-garrSortChar[8] = 8;\r
-garrSortChar[9] = 40;\r
-garrSortChar[10] = 41;\r
-garrSortChar[11] = 42;\r
-garrSortChar[12] = 43;\r
-garrSortChar[13] = 44;\r
-garrSortChar[14] = 9;\r
-garrSortChar[15] = 10;\r
-garrSortChar[16] = 11;\r
-garrSortChar[17] = 12;\r
-garrSortChar[18] = 13;\r
-garrSortChar[19] = 14;\r
-garrSortChar[20] = 15;\r
-garrSortChar[21] = 16;\r
-garrSortChar[22] = 17;\r
-garrSortChar[23] = 18;\r
-garrSortChar[24] = 19;\r
-garrSortChar[25] = 20;\r
-garrSortChar[26] = 21;\r
-garrSortChar[27] = 22;\r
-garrSortChar[28] = 23;\r
-garrSortChar[29] = 24;\r
-garrSortChar[30] = 25;\r
-garrSortChar[31] = 26;\r
-garrSortChar[32] = 38;\r
-garrSortChar[33] = 45;\r
-garrSortChar[34] = 46;\r
-garrSortChar[35] = 47;\r
-garrSortChar[36] = 48;\r
-garrSortChar[37] = 49;\r
-garrSortChar[38] = 50;\r
-garrSortChar[39] = 33;\r
-garrSortChar[40] = 51;\r
-garrSortChar[41] = 52;\r
-garrSortChar[42] = 53;\r
-garrSortChar[43] = 88;\r
-garrSortChar[44] = 54;\r
-garrSortChar[45] = 34;\r
-garrSortChar[46] = 55;\r
-garrSortChar[47] = 56;\r
-garrSortChar[48] = 115;\r
-garrSortChar[49] = 119;\r
-garrSortChar[50] = 121;\r
-garrSortChar[51] = 123;\r
-garrSortChar[52] = 125;\r
-garrSortChar[53] = 126;\r
-garrSortChar[54] = 127;\r
-garrSortChar[55] = 128;\r
-garrSortChar[56] = 129;\r
-garrSortChar[57] = 130;\r
-garrSortChar[58] = 57;\r
-garrSortChar[59] = 58;\r
-garrSortChar[60] = 89;\r
-garrSortChar[61] = 90;\r
-garrSortChar[62] = 91;\r
-garrSortChar[63] = 59;\r
-garrSortChar[64] = 60;\r
-garrSortChar[65] = 131;\r
-garrSortChar[66] = 148;\r
-garrSortChar[67] = 150;\r
-garrSortChar[68] = 154;\r
-garrSortChar[69] = 158;\r
-garrSortChar[70] = 168;\r
-garrSortChar[71] = 171;\r
-garrSortChar[72] = 173;\r
-garrSortChar[73] = 175;\r
-garrSortChar[74] = 185;\r
-garrSortChar[75] = 187;\r
-garrSortChar[76] = 189;\r
-garrSortChar[77] = 191;\r
-garrSortChar[78] = 193;\r
-garrSortChar[79] = 197;\r
-garrSortChar[80] = 214;\r
-garrSortChar[81] = 216;\r
-garrSortChar[82] = 218;\r
-garrSortChar[83] = 220;\r
-garrSortChar[84] = 225;\r
-garrSortChar[85] = 230;\r
-garrSortChar[86] = 240;\r
-garrSortChar[87] = 242;\r
-garrSortChar[88] = 244;\r
-garrSortChar[89] = 246;\r
-garrSortChar[90] = 252;\r
-garrSortChar[91] = 61;\r
-garrSortChar[92] = 62;\r
-garrSortChar[93] = 63;\r
-garrSortChar[94] = 64;\r
-garrSortChar[95] = 66;\r
-garrSortChar[96] = 67;\r
-garrSortChar[97] = 131;\r
-garrSortChar[98] = 148;\r
-garrSortChar[99] = 150;\r
-garrSortChar[100] = 154;\r
-garrSortChar[101] = 158;\r
-garrSortChar[102] = 168;\r
-garrSortChar[103] = 171;\r
-garrSortChar[104] = 173;\r
-garrSortChar[105] = 175;\r
-garrSortChar[106] = 185;\r
-garrSortChar[107] = 187;\r
-garrSortChar[108] = 189;\r
-garrSortChar[109] = 191;\r
-garrSortChar[110] = 193;\r
-garrSortChar[111] = 197;\r
-garrSortChar[112] = 214;\r
-garrSortChar[113] = 216;\r
-garrSortChar[114] = 218;\r
-garrSortChar[115] = 220;\r
-garrSortChar[116] = 225;\r
-garrSortChar[117] = 230;\r
-garrSortChar[118] = 240;\r
-garrSortChar[119] = 242;\r
-garrSortChar[120] = 244;\r
-garrSortChar[121] = 246;\r
-garrSortChar[122] = 252;\r
-garrSortChar[123] = 68;\r
-garrSortChar[124] = 69;\r
-garrSortChar[125] = 70;\r
-garrSortChar[126] = 71;\r
-garrSortChar[127] = 27;\r
-garrSortChar[128] = 114;\r
-garrSortChar[129] = 28;\r
-garrSortChar[130] = 82;\r
-garrSortChar[131] = 170;\r
-garrSortChar[132] = 85;\r
-garrSortChar[133] = 112;\r
-garrSortChar[134] = 109;\r
-garrSortChar[135] = 110;\r
-garrSortChar[136] = 65;\r
-garrSortChar[137] = 113;\r
-garrSortChar[138] = 223;\r
-garrSortChar[139] = 86;\r
-garrSortChar[140] = 213;\r
-garrSortChar[141] = 29;\r
-garrSortChar[142] = 255;\r
-garrSortChar[143] = 30;\r
-garrSortChar[144] = 31;\r
-garrSortChar[145] = 80;\r
-garrSortChar[146] = 81;\r
-garrSortChar[147] = 83;\r
-garrSortChar[148] = 84;\r
-garrSortChar[149] = 111;\r
-garrSortChar[150] = 36;\r
-garrSortChar[151] = 37;\r
-garrSortChar[152] = 79;\r
-garrSortChar[153] = 229;\r
-garrSortChar[154] = 222;\r
-garrSortChar[155] = 87;\r
-garrSortChar[156] = 212;\r
-garrSortChar[157] = 32;\r
-garrSortChar[158] = 254;\r
-garrSortChar[159] = 251;\r
-garrSortChar[160] = 39;\r
-garrSortChar[161] = 72;\r
-garrSortChar[162] = 97;\r
-garrSortChar[163] = 98;\r
-garrSortChar[164] = 99;\r
-garrSortChar[165] = 100;\r
-garrSortChar[166] = 73;\r
-garrSortChar[167] = 101;\r
-garrSortChar[168] = 74;\r
-garrSortChar[169] = 102;\r
-garrSortChar[170] = 133;\r
-garrSortChar[171] = 93;\r
-garrSortChar[172] = 103;\r
-garrSortChar[173] = 35;\r
-garrSortChar[174] = 104;\r
-garrSortChar[175] = 75;\r
-garrSortChar[176] = 105;\r
-garrSortChar[177] = 92;\r
-garrSortChar[178] = 122;\r
-garrSortChar[179] = 124;\r
-garrSortChar[180] = 76;\r
-garrSortChar[181] = 106;\r
-garrSortChar[182] = 107;\r
-garrSortChar[183] = 108;\r
-garrSortChar[184] = 77;\r
-garrSortChar[185] = 120;\r
-garrSortChar[186] = 199;\r
-garrSortChar[187] = 94;\r
-garrSortChar[188] = 116;\r
-garrSortChar[189] = 117;\r
-garrSortChar[190] = 118;\r
-garrSortChar[191] = 78;\r
-garrSortChar[192] = 131;\r
-garrSortChar[193] = 131;\r
-garrSortChar[194] = 131;\r
-garrSortChar[195] = 131;\r
-garrSortChar[196] = 131;\r
-garrSortChar[197] = 131;\r
-garrSortChar[198] = 131;\r
-garrSortChar[199] = 150;\r
-garrSortChar[200] = 158;\r
-garrSortChar[201] = 158;\r
-garrSortChar[202] = 158;\r
-garrSortChar[203] = 158;\r
-garrSortChar[204] = 175;\r
-garrSortChar[205] = 175;\r
-garrSortChar[206] = 175;\r
-garrSortChar[207] = 175;\r
-garrSortChar[208] = 154;\r
-garrSortChar[209] = 193;\r
-garrSortChar[210] = 197;\r
-garrSortChar[211] = 197;\r
-garrSortChar[212] = 197;\r
-garrSortChar[213] = 197;\r
-garrSortChar[214] = 197;\r
-garrSortChar[215] = 95;\r
-garrSortChar[216] = 197;\r
-garrSortChar[217] = 230;\r
-garrSortChar[218] = 230;\r
-garrSortChar[219] = 230;\r
-garrSortChar[220] = 230;\r
-garrSortChar[221] = 246;\r
-garrSortChar[222] = 227;\r
-garrSortChar[223] = 224;\r
-garrSortChar[224] = 131;\r
-garrSortChar[225] = 131;\r
-garrSortChar[226] = 131;\r
-garrSortChar[227] = 131;\r
-garrSortChar[228] = 131;\r
-garrSortChar[229] = 131;\r
-garrSortChar[230] = 131;\r
-garrSortChar[231] = 150;\r
-garrSortChar[232] = 158;\r
-garrSortChar[233] = 158;\r
-garrSortChar[234] = 158;\r
-garrSortChar[235] = 158;\r
-garrSortChar[236] = 175;\r
-garrSortChar[237] = 175;\r
-garrSortChar[238] = 175;\r
-garrSortChar[239] = 175;\r
-garrSortChar[240] = 154;\r
-garrSortChar[241] = 193;\r
-garrSortChar[242] = 197;\r
-garrSortChar[243] = 197;\r
-garrSortChar[244] = 197;\r
-garrSortChar[245] = 197;\r
-garrSortChar[246] = 197;\r
-garrSortChar[247] = 96;\r
-garrSortChar[248] = 197;\r
-garrSortChar[249] = 230;\r
-garrSortChar[250] = 230;\r
-garrSortChar[251] = 230;\r
-garrSortChar[252] = 230;\r
-garrSortChar[253] = 246;\r
-garrSortChar[254] = 227;\r
-garrSortChar[255] = 250;\r
-\r
-gaFtsStop[0] = "a";\r
-gaFtsStop[1] = "about";\r
-gaFtsStop[2] = "after";\r
-gaFtsStop[3] = "against";\r
-gaFtsStop[4] = "all";\r
-gaFtsStop[5] = "also";\r
-gaFtsStop[6] = "among";\r
-gaFtsStop[7] = "an";\r
-gaFtsStop[8] = "and";\r
-gaFtsStop[9] = "are";\r
-gaFtsStop[10] = "as";\r
-gaFtsStop[11] = "at";\r
-gaFtsStop[12] = "be";\r
-gaFtsStop[13] = "became";\r
-gaFtsStop[14] = "because";\r
-gaFtsStop[15] = "been";\r
-gaFtsStop[16] = "between";\r
-gaFtsStop[17] = "but";\r
-gaFtsStop[18] = "by";\r
-gaFtsStop[19] = "can";\r
-gaFtsStop[20] = "come";\r
-gaFtsStop[21] = "do";\r
-gaFtsStop[22] = "during";\r
-gaFtsStop[23] = "each";\r
-gaFtsStop[24] = "early";\r
-gaFtsStop[25] = "for";\r
-gaFtsStop[26] = "form";\r
-gaFtsStop[27] = "found";\r
-gaFtsStop[28] = "from";\r
-gaFtsStop[29] = "had";\r
-gaFtsStop[30] = "has";\r
-gaFtsStop[31] = "have";\r
-gaFtsStop[32] = "he";\r
-gaFtsStop[33] = "her";\r
-gaFtsStop[34] = "his";\r
-gaFtsStop[35] = "however";\r
-gaFtsStop[36] = "in";\r
-gaFtsStop[37] = "include";\r
-gaFtsStop[38] = "into";\r
-gaFtsStop[39] = "is";\r
-gaFtsStop[40] = "it";\r
-gaFtsStop[41] = "its";\r
-gaFtsStop[42] = "late";\r
-gaFtsStop[43] = "later";\r
-gaFtsStop[44] = "made";\r
-gaFtsStop[45] = "many";\r
-gaFtsStop[46] = "may";\r
-gaFtsStop[47] = "me";\r
-gaFtsStop[48] = "med";\r
-gaFtsStop[49] = "more";\r
-gaFtsStop[50] = "most";\r
-gaFtsStop[51] = "near";\r
-gaFtsStop[52] = "no";\r
-gaFtsStop[53] = "non";\r
-gaFtsStop[54] = "not";\r
-gaFtsStop[55] = "of";\r
-gaFtsStop[56] = "on";\r
-gaFtsStop[57] = "only";\r
-gaFtsStop[58] = "or";\r
-gaFtsStop[59] = "other";\r
-gaFtsStop[60] = "over";\r
-gaFtsStop[61] = "several";\r
-gaFtsStop[62] = "she";\r
-gaFtsStop[63] = "some";\r
-gaFtsStop[64] = "such";\r
-gaFtsStop[65] = "than";\r
-gaFtsStop[66] = "that";\r
-gaFtsStop[67] = "the";\r
-gaFtsStop[68] = "their";\r
-gaFtsStop[69] = "then";\r
-gaFtsStop[70] = "there";\r
-gaFtsStop[71] = "these";\r
-gaFtsStop[72] = "they";\r
-gaFtsStop[73] = "this";\r
-gaFtsStop[74] = "through";\r
-gaFtsStop[75] = "to";\r
-gaFtsStop[76] = "under";\r
-gaFtsStop[77] = "until";\r
-gaFtsStop[78] = "use";\r
-gaFtsStop[79] = "was";\r
-gaFtsStop[80] = "we";\r
-gaFtsStop[81] = "were";\r
-gaFtsStop[82] = "when";\r
-gaFtsStop[83] = "where";\r
-gaFtsStop[84] = "which";\r
-gaFtsStop[85] = "who";\r
-gaFtsStop[86] = "with";\r
-gaFtsStop[87] = "you";\r
-\r
-gaFtsStem[0] = "ed";\r
-gaFtsStem[1] = "es";\r
-gaFtsStem[2] = "er";\r
-gaFtsStem[3] = "e";\r
-gaFtsStem[4] = "s";\r
-gaFtsStem[5] = "ingly";\r
-gaFtsStem[6] = "ing";\r
-gaFtsStem[7] = "ly";\r
-\r
-\r
-// as javascript 1.3 support unicode instead of ISO-Latin-1\r
-// need to transfer come code back to ISO-Latin-1 for compare purpose\r
-// Note: Different Language(Code page) maybe need different array:\r
-var gaUToC=new Array();\r
-gaUToC[8364]=128;\r
-gaUToC[8218]=130;\r
-gaUToC[402]=131;\r
-gaUToC[8222]=132;\r
-gaUToC[8230]=133;\r
-gaUToC[8224]=134;\r
-gaUToC[8225]=135;\r
-gaUToC[710]=136;\r
-gaUToC[8240]=137;\r
-gaUToC[352]=138;\r
-gaUToC[8249]=139;\r
-gaUToC[338]=140;\r
-gaUToC[381]=142;\r
-gaUToC[8216]=145;\r
-gaUToC[8217]=146;\r
-gaUToC[8220]=147;\r
-gaUToC[8221]=148;\r
-gaUToC[8226]=149;\r
-gaUToC[8211]=150;\r
-gaUToC[8212]=151;\r
-gaUToC[732]=152;\r
-gaUToC[8482]=153;\r
-gaUToC[353]=154;\r
-gaUToC[8250]=155;\r
-gaUToC[339]=156;\r
-gaUToC[382]=158;\r
-gaUToC[376]=159;\r
-\r
-var gsBiggestChar="";\r
-function getBiggestChar()\r
-{\r
-       if(gsBiggestChar.length==0)\r
-       {\r
-               if(garrSortChar.length<256)\r
-                       gsBiggestChar=String.fromCharCode(255);\r
-               else\r
-               {\r
-                       var nBiggest=0;\r
-                       var nBigChar=0;\r
-                       for(var i=0;i<=255;i++)\r
-                       {\r
-                               if(garrSortChar[i]>nBiggest)\r
-                               {\r
-                                       nBiggest=garrSortChar[i];\r
-                                       nBigChar=i;\r
-                               }\r
-                       }\r
-                       gsBiggestChar=String.fromCharCode(nBigChar);\r
-               }\r
-\r
-       }       \r
-       return gsBiggestChar;\r
-}\r
-\r
-function getCharCode(str,i)\r
-{\r
-       var code=str.charCodeAt(i)\r
-       if(code>256)\r
-       {\r
-               code=gaUToC[code];\r
-       }\r
-       return code;\r
-}\r
-\r
-function compare(strText1,strText2)\r
-{\r
-       if(garrSortChar.length<256)\r
-       {\r
-               var strt1=strText1.toLowerCase();\r
-               var strt2=strText2.toLowerCase();\r
-               if(strt1<strt2) return -1;\r
-               if(strt1>strt2) return 1;\r
-               return 0;\r
-       }\r
-       else\r
-       {\r
-               for(var i=0;i<strText1.length&&i<strText2.length;i++)\r
-               {\r
-                       if(garrSortChar[getCharCode(strText1,i)]<garrSortChar[getCharCode(strText2,i)]) return -1;\r
-                       if(garrSortChar[getCharCode(strText1,i)]>garrSortChar[getCharCode(strText2,i)]) return 1;\r
-               }\r
-               if(strText1.length<strText2.length) return -1;\r
-               if(strText1.length>strText2.length) return 1;\r
-               return 0;\r
-       }\r
-}\r
-gbWhLang=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whmozemu.js b/doc/salome/gui/GEOM/whmozemu.js
deleted file mode 100755 (executable)
index 84c6de1..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-//     WebHelp 5.10.002\r
-if (! window.gbIE4 && window.gbNav6 && !document.childNodes[0].insertAdjacentHTML){\r
-\r
-HTMLElement.prototype.insertAdjacentElement = function(where,parsedNode)\r
-{\r
-       switch (where){\r
-       case 'beforeBegin':\r
-               this.parentNode.insertBefore(parsedNode,this);\r
-               break;\r
-       case 'afterBegin':\r
-               this.insertBefore(parsedNode,this.firstChild);\r
-               break;\r
-       case 'beforeEnd':\r
-               this.appendChild(parsedNode);\r
-               break;\r
-       case 'afterEnd':\r
-               if (this.nextSibling){\r
-               this.parentNode.insertBefore(parsedNode,this.nextSibling);\r
-               } else {\r
-               this.parentNode.appendChild(parsedNode);\r
-               }\r
-               break;\r
-       }\r
-}\r
-\r
-HTMLElement.prototype.insertAdjacentHTML = function(where,htmlStr){\r
-\r
-       var r = this.ownerDocument.createRange();\r
-       r.setStartBefore(this);\r
-       var parsedHTML = r.createContextualFragment(htmlStr);\r
-       this.insertAdjacentElement(where,parsedHTML);\r
-}\r
-\r
-\r
-HTMLElement.prototype.insertAdjacentText = function(where,txtStr){\r
-\r
-       var parsedText = document.createTextNode(txtStr);\r
-       this.insertAdjacentElement(where,parsedText);\r
-}\r
-}\r
-\r
-function testScroll() {\r
-       // Initialize scrollbar cache if necessary\r
-       if (window._pageXOffset==null) {\r
-               window._pageXOffset = window.pageXOffset;\r
-               window._pageYOffset = window.pageYOffset;\r
-       }\r
-       // Expose Internet Explorer compatible object model\r
-       document.scrollTop = window.pageYOffset;\r
-       document.scrollLeft = window.pageXOffset;\r
-       window.document.scrollHeight = document.height;\r
-       window.document.scrollWidth = document.width;\r
-       window.document.clientWidth = window.innerWidth;\r
-       window.document.clientHeight = window.innerHeight;\r
-\r
-       // If cache!=current values, call the onscroll event\r
-       if (((window.pageXOffset!=window._pageXOffset) || (window.pageYOffset!=window._pageYOffset)) && (window.onscroll)) \r
-               window.onscroll();\r
-       // Cache new values\r
-       window._pageXOffset = window.pageXOffset;\r
-       window._pageYOffset = window.pageYOffset;\r
-       }\r
-\r
-// Create compatibility layer for Netscape\r
-if (window.gbNav6 && !window.gbNav7) {\r
-       setInterval("testScroll()",50)\r
-}
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whmsg.js b/doc/salome/gui/GEOM/whmsg.js
deleted file mode 100755 (executable)
index 52ffcd2..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-//     WebHelp 5.10.002\r
-var WH_MSG_RESIZEPANE          =0x0100;\r
-var WH_MSG_SHOWPANE                    =0x0101;\r
-var WH_MSG_HIDEPANE                    =0x0102;\r
-var WH_MSG_SYNCTOC                     =0x0103;\r
-var WH_MSG_NEXT                                =0x0104;\r
-var WH_MSG_PREV                                =0x0105;\r
-var WH_MSG_NOSEARCHINPUT       =0x0106;\r
-var WH_MSG_NOSYNC                      =0x0107;\r
-var WH_MSG_ENABLEWEBSEARCH     =0x0108;\r
-\r
-var WH_MSG_ISPANEVISIBLE       =0x0109;\r
-var WH_MSG_PANESTATUE          =0x010a;\r
-\r
-var    WH_MSG_SYNCINFO                 =0x010b;\r
-var WH_MSG_PANEINFO                    =0x010c;\r
-var WH_MSG_WEBSEARCH           =0x010d;\r
-\r
-var WH_MSG_SEARCHINDEXKEY      =0x0201;\r
-\r
-var WH_MSG_SEARCHFTSKEY        =0x020a;\r
-\r
-var WH_MSG_PROJECTREADY                =0x0301;\r
-var WH_MSG_GETPROJINFO                 =0x0302;\r
-\r
-var WH_MSG_SHOWTOC                     =0x0401;\r
-var WH_MSG_SHOWIDX                     =0x0402;\r
-var WH_MSG_SHOWFTS                     =0x0403;\r
-var WH_MSG_SHOWGLO                     =0x0404;\r
-\r
-var WH_MSG_SHOWGLODEF          =0x0500;\r
-\r
-var WH_MSG_GETTOCPATHS                 =0x0600;\r
-var WH_MSG_GETAVIAVENUES       =0x0601;\r
-var WH_MSG_GETCURRENTAVENUE =0x0602;\r
-var WH_MSG_GETPANEINFO         =0x0603;\r
-var WH_MSG_AVENUEINFO          =0x0604;\r
-\r
-var WH_MSG_GETSTARTFRAME       =0x0701;\r
-var WH_MSG_GETDEFAULTTOPIC     =0x0702;\r
-\r
-var WH_MSG_SEARCHTHIS          =0x0801;\r
-var WH_MSG_GETSEARCHS          =0x0802;\r
-\r
-var WH_MSG_ISINFRAMESET                =0x0900;\r
-\r
-var WH_MSG_TOOLBARORDER                =0x0a00;\r
-var WH_MSG_MINIBARORDER                =0x0a01;\r
-var WH_MSG_ISSYNCSSUPPORT      =0x0a02;\r
-var WH_MSG_ISSEARCHSUPPORT     =0x0a03;\r
-var WH_MSG_GETPANETYPE         =0x0a04;\r
-var WH_MSG_BACKUPSEARCH                =0x0a05;\r
-var WH_MSG_GETPANES                    =0x0a06;\r
-var WH_MSG_INITSEARCHSTRING =0x0a07;\r
-var WH_MSG_RELOADNS6           =0x0a08;\r
-var WH_MSG_ISAVENUESUPPORT     =0x0a09;\r
-\r
-var WH_MSG_GETCMD                      =0x0b00;\r
-var    WH_MSG_GETPANE                  =0x0b01;\r
-var WH_MSG_GETDEFPANE          =0x0b02;\r
-\r
-function whMessage(nMessageId,wSender,nVersion,oParam)\r
-{\r
-       this.nMessageId=nMessageId;\r
-       this.wSender=wSender;\r
-       this.nVersion=nVersion;\r
-       this.oParam=oParam;\r
-}\r
-var gbWhMsg=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whnjs.htm b/doc/salome/gui/GEOM/whnjs.htm
deleted file mode 100755 (executable)
index 2be1f1e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whstub.js"></script>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whstart.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-function window_Onload()\r
-{\r
-       if (window.gsTopic)\r
-               frames["bsscright"].document.location = window.gsTopic;\r
-}\r
-window.onload=window_Onload;\r
-//-->\r
-</script>\r
-</head>\r
-\r
-<frameset id="whPfset" cols="260,*"><noframes><p>Your browser does not support frames. We recommend that you update your browser to a version that supports frames.</p><p>To view the Help system without frames click on this<a href="whgdata/whnvp30.htm">hyperlink.</a></p></noframes><frame src="whgdata/whnvp30.htm" title="navigation pane" name="navigation pane" scrolling="no"><frame src="files/introduction_to_geom.htm" title="topic pane" name="bsscright" scrolling="yes"></frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whphost.js b/doc/salome/gui/GEOM/whphost.js
deleted file mode 100755 (executable)
index 9c91b49..0000000
+++ /dev/null
@@ -1,581 +0,0 @@
-//     WebHelp 5.10.005\r
-var gaProj=new Array();\r
-var gnChecked=0;\r
-var gsProjName="";\r
-var gbReady=false;\r
-var goMan=null;\r
-var gbXML=false;\r
-var gsFirstPane="";\r
-var gServerEnabled=false;\r
-var gsPath="";\r
-var gbWhPHost=false;\r
-var goDiv = null;\r
-var gsHTML = "";\r
-\r
-if (navigator.currentNavPen)\r
-       gsFirstPane = navigator.currentNavPen;\r
-\r
-\r
-function delayLoad()\r
-{\r
-       if (goDiv&&gsHTML)\r
-       {\r
-               goDiv.innerHTML=gsHTML;\r
-               goDiv=null;\r
-               gsHTML="";\r
-       }\r
-}\r
-\r
-function whCom(sName,sComFile)\r
-{\r
-       this.msName=sName;\r
-       this.msDivId=sName+"Div";\r
-       this.msIFrameId=sName+"IFrame";\r
-       this.msComFile=sComFile;\r
-       this.mbloaded=false;\r
-       this.mbShow=false;\r
-       this.show=function(bShow)\r
-       {\r
-               if(this.mbShow!=bShow)\r
-               {\r
-                       if(bShow&&!this.mbloaded)\r
-                       {\r
-                               this.load();\r
-                       }\r
-\r
-                       var oDiv=getElement(this.msDivId);\r
-                       if(oDiv)\r
-                       {\r
-                               if(gbIE55||(gbIE5&&gbMac))\r
-                               {\r
-                                       var oIframe=getElement(this.msIFrameId);\r
-                                       if(oIframe)\r
-                                       {\r
-                                               if(bShow)\r
-                                               {\r
-                                                       oDiv.style.zIndex=3;\r
-                                                       if(oIframe!=null)\r
-                                                       {\r
-                                                               oIframe.style.zIndex=3;\r
-                                                               if (!gbIE55)\r
-                                                                       oIframe.style.visibility="visible";\r
-                                                       }\r
-                                               }\r
-                                               else\r
-                                               {\r
-                                                       oDiv.style.zIndex=2;\r
-                                                       if(oIframe!=null)\r
-                                                       {\r
-                                                               oIframe.style.zIndex=2;\r
-                                                               if (!gbIE55)\r
-                                                                       oIframe.style.visibility="hidden";\r
-                                                       }\r
-                                               }\r
-                                       }\r
-                               }\r
-                               if (!gbIE55)\r
-                                       oDiv.style.visibility=(bShow==true)?'visible':'hidden';\r
-                               this.mbShow=bShow;\r
-                       }\r
-\r
-               }\r
-       }\r
-       this.load=function()\r
-       {\r
-               if(!this.mbloaded)\r
-               {\r
-                       if(this.msComFile.length>0){\r
-                               var strFile= _getFullPath(getPath(), this.msComFile);\r
-                               var oDiv=getElement(this.msDivId);\r
-                               if(oDiv){\r
-                                       if(gbIE4||gbOpera7){\r
-                                               var nIFrameHeight=oDiv.style.pixelHeight;\r
-                                               var nIFrameWidth=oDiv.style.pixelWidth;\r
-                                               var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";\r
-                                               if(gbMac){\r
-                                                       sHTML+=nIFrameWidth+"px;height:"+nIFrameHeight+"px;\"></IFRAME>";\r
-                                               }else{\r
-                                                       sHTML+="100%; height:100%;\"></IFRAME>";\r
-                                               }\r
-                                               oDiv.innerHTML=sHTML;\r
-                                       }else if(gbNav6){\r
-                                               gsHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:100%;border:0;height:100%;\"></IFRAME>";\r
-                                               goDiv = oDiv;\r
-                                               setTimeout("delayLoad()", 100);\r
-                                       }\r
-                                       this.mbloaded=true;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       this.unload=function()\r
-       {\r
-               var oDiv=getElement(this.msDivId);\r
-               if(oDiv)\r
-                       oDiv.innerHTML="";\r
-       }\r
-       this.getDivHTML=function()\r
-       {\r
-               var sHTML="";\r
-               if(gbMac&&gbIE4)\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;margin:0;padding:0;border:0;\">";\r
-               else if(gbIE5)\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;\">";\r
-               else if(gbIE4||gbWindows)\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";\r
-               else\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:"+parent.height+";visibility:hidden\">";\r
-               sHTML+="</DIV>";\r
-               return sHTML;\r
-       }\r
-}  \r
-\r
-function whComMan()\r
-{\r
-       this.sName="";\r
-       this.maCom=new Array();\r
-       this.addCom=function(sName,sComFile)\r
-       {\r
-               var owhCom=new whCom(sName,sComFile);\r
-               this.maCom[this.maCom.length]=owhCom;\r
-       }\r
-       this.init=function()\r
-       {\r
-               var sHTML="";\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       sHTML+=this.maCom[i].getDivHTML();\r
-               }\r
-               document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-\r
-       }\r
-       this.showById=function(nId)\r
-       {\r
-               for(var s=0;s<this.maCom.length;s++)\r
-               {\r
-                       if(s!==nId)\r
-                               this.maCom[s].show(false);\r
-               }\r
-               this.maCom[nId].show(true);\r
-       }\r
-       this.show=function(sName)\r
-       {\r
-               navigator.currentNavPen = sName;\r
-               var bFound=false;\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       if(sName==this.maCom[i].msName)\r
-                       {\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }\r
-               if(bFound)\r
-               {\r
-                       this.showById(i);\r
-                       this.sName=sName;\r
-               }\r
-       }\r
-       this.unload=function()\r
-       {\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       this.maCom[i].unload();\r
-               }               \r
-       }\r
-       this.getCurrent=function()\r
-       {\r
-               return this.sName;\r
-       }\r
-}\r
-\r
-function getPath()\r
-{\r
-       if(gsPath=="")\r
-       {\r
-               gsPath=location.href;\r
-               gsPath=_replaceSlash(gsPath);\r
-               var nPosFile=gsPath.lastIndexOf("/");\r
-               gsPath=gsPath.substring(0,nPosFile+1);\r
-       }\r
-       return gsPath;\r
-}\r
-\r
-goMan=new whComMan();\r
-function addPane(sName,sFileName)\r
-{\r
-       var oParam=new Object();\r
-       oParam.sName=sName;\r
-       var oMsg=new whMessage(WH_MSG_GETPANE, this, 1, oParam);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oMsg.oParam.bEnable)\r
-                       goMan.addCom(sName,sFileName);\r
-       }\r
-       else\r
-               goMan.addCom(sName,sFileName);  \r
-}\r
-\r
-function setShowPane(sName, bForce)\r
-{\r
-       if ((gsFirstPane == "") || bForce)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_GETDEFPANE, this, 1, null);\r
-               if (SendMessage(oMsg))\r
-               {\r
-                       if (oMsg.oParam)\r
-                               gsFirstPane = oMsg.oParam;\r
-                       else\r
-                               gsFirstPane=sName;\r
-               }\r
-               else\r
-                       gsFirstPane=sName;\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       var bHidePane=false;\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gsFirstPane="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gsFirstPane="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gsFirstPane="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gsFirstPane="glo";\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-       }\r
-       goMan.init();\r
-       if(gsProjName!="")                      \r
-               loadData2(gsProjName);  \r
-       if (bHidePane)\r
-       {\r
-               gsFirstPane="";\r
-               var oMsg1=new whMessage(WH_MSG_HIDEPANE, this, 1, null)\r
-               SendMessage(oMsg1);\r
-       }\r
-       else\r
-       {\r
-               if(gsFirstPane!="")\r
-                       goMan.show(gsFirstPane);\r
-               else\r
-                       goMan.showById(0);\r
-       }\r
-}\r
-\r
-function setServerEnabled()\r
-{\r
-       gServerEnabled = true;\r
-}\r
-\r
-function loadData2(strFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(strFile);\r
-       else\r
-               loadData(strFile);\r
-}\r
-\r
-function addProject(bPreferXML,sXMLName,sHTMLName)\r
-{\r
-       var bLoadXML=bPreferXML;\r
-       if(!gbIE4&&!gbNav6&&!gbOpera7)\r
-               return;\r
-       if(gbIE4&&!gbIE5)\r
-               bLoadXML=false;\r
-       if (gbIE5&&!gbMac)\r
-               bLoadXML=true;\r
-       if(gbIE55||gbNav6)\r
-               bLoadXML=true;\r
-       if(gbOpera7)\r
-               bLoadXML=false;         \r
-       if(bLoadXML)\r
-               addProjectXML(sXMLName);\r
-       else\r
-               addProjectHTML(sHTMLName);\r
-}\r
-\r
-function addProjectHTML(sName)\r
-{\r
-       gbXML=false;\r
-       gsProjName=sName;\r
-}\r
-\r
-function addProjectXML(sName)\r
-{\r
-       gbXML=true;\r
-       gsProjName=sName;\r
-}\r
-\r
-function window_MyBunload()\r
-{\r
-       goMan.unload();\r
-       window_BUnload();\r
-}\r
-\r
-function putDataXML(xmlDoc,sdocPath)\r
-{\r
-       if(xmlDoc!=null)\r
-       {\r
-               var projectNode=xmlDoc.getElementsByTagName("project")[0];\r
-               if(projectNode)\r
-               {\r
-                       var aRProj=new Array();\r
-                       aRProj[0]=new Object();\r
-                       aRProj[0].sPPath=_getPath(sdocPath);\r
-                       var sLangId=projectNode.getAttribute("langid");\r
-                       if(sLangId)\r
-                       {\r
-                               aRProj[0].sLangId=sLangId;\r
-                       }\r
-                       var sDPath=projectNode.getAttribute("datapath");\r
-                       if(sDPath)\r
-                       {\r
-                               if(sDPath.lastIndexOf("/")!=sDPath.length-1)\r
-                                       sDPath+="/";\r
-                               aRProj[0].sDPath=sDPath;\r
-                       }\r
-                       else\r
-                               aRProj[0].sDPath="";\r
-                       aRProj[0].sToc=projectNode.getAttribute("toc");\r
-                       aRProj[0].sIdx=projectNode.getAttribute("index");\r
-                       aRProj[0].sFts=projectNode.getAttribute("fts");\r
-                       aRProj[0].sGlo=projectNode.getAttribute("glossary");\r
-                       var RmtProject=projectNode.getElementsByTagName("remote");\r
-                       var nCount=1;\r
-                       for (var i=0;i<RmtProject.length;i++)\r
-                       {\r
-                               var sURL=RmtProject[i].getAttribute("url");\r
-                               if(sURL)\r
-                               {\r
-                                       if(sURL.lastIndexOf("/")!=sURL.length-1)\r
-                                               sURL+="/";\r
-                                       aRProj[nCount]=new Object();\r
-                                       aRProj[nCount++].sPPath=_getFullPath(aRProj[0].sPPath,sURL);\r
-                               }\r
-                       }\r
-                       putProjectInfo(aRProj);\r
-               }\r
-               else\r
-               {\r
-                       // on Netscape 6.0 under some situation the xml file cannot be loaded.\r
-                       // so we use pure html instead.\r
-                       if (gnChecked == 0)\r
-                               setTimeout("redirectToList();",100);\r
-                       else\r
-                       {\r
-                               gnChecked++;\r
-                               setTimeout("checkRemoteProject();", 1);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       gnChecked++;\r
-       setTimeout("checkRemoteProject();", 1);\r
-}\r
-\r
-function redirectToList()\r
-{\r
-       if(gbReDirectThis)\r
-               document.location=gsNavReDirect;\r
-       else\r
-               parent.document.location=gsNavReDirect;\r
-}\r
-\r
-function putProjectInfo(aRProj)\r
-{\r
-       if(gnChecked==0||isSamePath(gaProj[gnChecked].sPPath,aRProj[0].sPPath))\r
-       {\r
-               if(gnChecked!=0)\r
-               {\r
-                       if(aRProj[0].sLangId!=gaProj[0].sLangId)\r
-                               alert("The merged Help system "+aRProj[0].sPPath+" is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system.");\r
-               }\r
-               gaProj[gnChecked]=aRProj[0];\r
-               for(var i=1;i<aRProj.length;i++)\r
-               {\r
-                       var bFound=false;\r
-                       for(var j=0;j<gaProj.length;j++)\r
-                       {\r
-                               if(isSamePath(gaProj[j].sPPath,aRProj[i].sPPath))\r
-                               {\r
-                                       bFound=true;\r
-                                       break;\r
-                               }\r
-                       }\r
-                       if(!bFound)\r
-                       {\r
-                               gaProj[gaProj.length]=aRProj[i];\r
-                       }\r
-               }\r
-               gnChecked++;\r
-               setTimeout("checkRemoteProject();", 1);\r
-       }\r
-       else\r
-               alert("Could not load correctly, please click Refresh.");\r
-}\r
-\r
-function isSamePath(sPath1,sPath2)\r
-{\r
-       return (sPath1.toLowerCase()==sPath2.toLowerCase());\r
-}\r
-\r
-function checkRemoteProject()\r
-{\r
-       if(gaProj.length!=gnChecked)\r
-       {\r
-               setTimeout("cancelProj("+gnChecked+");",10000);\r
-               loadData2(gaProj[gnChecked].sPPath+gsProjName);\r
-       }\r
-       else{\r
-               var oMsg=new whMessage(WH_MSG_PROJECTREADY,this,1,null);\r
-               gbReady=true;\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function cancelProj(i)\r
-{\r
-       if(i==gnChecked)\r
-       {\r
-               gnChecked++;\r
-               setTimeout("checkRemoteProject();", 1);\r
-       }       \r
-}\r
-\r
-function window_resize()\r
-{\r
-       for(var i=0;i<goMan.maCom.length;i++)\r
-       {\r
-               var oFrame=getElement(goMan.maCom[i].msIFrameId);\r
-               if(oFrame)\r
-               {\r
-                       oFrame.style.height=document.body.clientHeight;\r
-                       oFrame.style.width=document.body.clientWidth;\r
-               }\r
-       }\r
-       window_resize2();\r
-}\r
-\r
-function window_resize2()\r
-{\r
-       if(document.body)\r
-       {\r
-               if(document.body.clientWidth > 1 && document.body.clientHeight>1)\r
-               {\r
-                       var oMsg = new whMessage(WH_MSG_RESIZEPANE, this, 1, null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_GETPROJINFO);\r
-       UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this,WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this,WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-       UnRegisterListener2(this,WH_MSG_GETPANEINFO);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_GETPROJINFO)\r
-               {\r
-                       if(gbReady)\r
-                       {\r
-                               var oProj=new Object();\r
-                               oProj.aProj=gaProj;\r
-                               oProj.bXML=gbXML;\r
-                               oMsg.oParam=oProj;\r
-                       }\r
-                       else\r
-                               return false;\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("toc");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWIDX)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("idx");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWFTS)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("fts");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("glo");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=goMan.getCurrent();\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_GETPROJINFO);\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWIDX);\r
-       RegisterListener2(this,WH_MSG_SHOWFTS);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       RegisterListener2(this,WH_MSG_GETPANEINFO);\r
-\r
-       if((gbMac&&gbIE4)||(gbSunOS&&gbIE5)||gbOpera7)\r
-       {\r
-               window.onresize=window_resize;\r
-       }\r
-       else if(gbIE4)\r
-       {\r
-               window.onresize=window_resize2;\r
-       }\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_MyBunload;\r
-       window.onunload=window_unload;\r
-       gbWhPHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
diff --git a/doc/salome/gui/GEOM/whproj.htm b/doc/salome/gui/GEOM/whproj.htm
deleted file mode 100755 (executable)
index 821daea..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>\r
-<head>\r
-<title>project description</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whproj.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-  setLangId("1033");\r
-  setDataPath("whdata");\r
-  addToc("whtoc.htm");\r
-\r
-  addFts("whfts.htm");\r
-  addGlo("whglo.htm");\r
-\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whproj.js b/doc/salome/gui/GEOM/whproj.js
deleted file mode 100755 (executable)
index ae38fa9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-//     WebHelp 5.10.001\r
-var gaProj=new Array();\r
-\r
-gaProj[0]=new project("");\r
-\r
-function setLangId(sLangId)\r
-{\r
-       gaProj[0].sLangId=sLangId;\r
-}\r
-\r
-function setDataPath(sPath)\r
-{\r
-       if(sPath.length!=0)\r
-       {\r
-               if(sPath.lastIndexOf("/")!=sPath.length-1)\r
-                       sPath+="/";\r
-               gaProj[0].sDPath=sPath; \r
-       }\r
-       else\r
-               gaProj[0].sDPath="";\r
-}\r
-\r
-function addToc(sFile)\r
-{\r
-       gaProj[0].sToc=sFile;\r
-}\r
-\r
-function addIdx(sFile)\r
-{\r
-       gaProj[0].sIdx=sFile;\r
-}\r
-\r
-function addFts(sFile)\r
-{\r
-       gaProj[0].sFts=sFile;\r
-}\r
-\r
-function addGlo(sFile)\r
-{\r
-       gaProj[0].sGlo=sFile;\r
-}\r
-\r
-function addRemoteProject(sProjRelPath)\r
-{\r
-       if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)\r
-               sProjRelPath+="/";\r
-       gaProj[gaProj.length]=new project(sProjRelPath);\r
-}\r
-\r
-function project(sPPath)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sLangId="";\r
-       this.sDPath="";\r
-       this.sToc="";\r
-       this.sIdx="";\r
-       this.sFts="";\r
-       this.sGlo="";\r
-}\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       gsName=document.location.href;\r
-       gsName=_replaceSlash(gsName);\r
-       var nPos=gsName.lastIndexOf("/");\r
-       if(nPos!=-1)\r
-               gaProj[0].sPPath=gsName.substring(0,nPos+1);\r
-       else\r
-               alert("Error in Loading navigation component. Please regenerate WebHelp.");\r
-       patchPath(gaProj);\r
-       if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")\r
-       {\r
-               parent.putProjectInfo(gaProj);\r
-       }\r
-}\r
-\r
-function patchPath(aProj)\r
-{\r
-       for(var i=1;i<aProj.length;i++)\r
-       {\r
-               aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);\r
-       }\r
-}
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whproj.xml b/doc/salome/gui/GEOM/whproj.xml
deleted file mode 100755 (executable)
index 4bd4a8d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<project langid="1033" datapath="whxdata" toc="whtoc.xml" fts="whfts.xml" glossary="whglo.xml" >\r
-</project>\r
diff --git a/doc/salome/gui/GEOM/whproxy.js b/doc/salome/gui/GEOM/whproxy.js
deleted file mode 100755 (executable)
index d0ee298..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-//     WebHelp 5.10.001\r
-var gbInited=false;\r
-var gWndStubPage=null;\r
-function getStubPage()\r
-{\r
-       if(!gbInited)\r
-       {\r
-               gWndStubPage=getStubPage_inter(window);\r
-               gbInited=true;\r
-       }\r
-       return gWndStubPage;\r
-}\r
-\r
-function getStubPage_inter(wCurrent)\r
-{\r
-       if(null==wCurrent.parent||wCurrent.parent==wCurrent)\r
-               return null;\r
-\r
-       if(typeof(wCurrent.parent.whname)=="string"&&"wh_stub"==wCurrent.parent.whname)\r
-               return wCurrent.parent;\r
-       else\r
-               if(wCurrent.parent.frames.length!=0&&wCurrent.parent!=wCurrent)\r
-                       return getStubPage_inter(wCurrent.parent);\r
-               else\r
-                       return null;\r
-}\r
-\r
-function RegisterListener(framename,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this)\r
-               return wSP.RegisterListener(framename,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oframe,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this)\r
-               return wSP.RegisterListener2(oframe,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oframe,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this&&wSP.UnRegisterListener2)\r
-               return wSP.UnRegisterListener2(oframe,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this&&wSP.SendMessage)\r
-               return wSP.SendMessage(oMessage);\r
-       else\r
-               return false;\r
-}\r
-\r
-var gbWhProxy=true;\r
-\r
-var gbPreview=false;\r
-gbPreview=false; \r
-if (gbPreview)\r
-       document.oncontextmenu=contextMenu;\r
-\r
-function contextMenu()\r
-{\r
-       return false;\r
-}\r
diff --git a/doc/salome/gui/GEOM/whres.xml b/doc/salome/gui/GEOM/whres.xml
deleted file mode 100755 (executable)
index f3f010a..0000000
+++ /dev/null
@@ -1,256 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<resource>\r
-<item name="Prev" value="&lt;&lt;" />\r
-<item name="Hide" value="Hide" />\r
-<item name="SyncTocTooltip" value="Sync TOC" />\r
-<item name="InTopicSearchBtnText" value="Go" />\r
-<item name="FtsInputPrompt" value="Type in the word(s) to search for:" />\r
-<item name="Done" value="Done" />\r
-<item name="Logo/Author" value="Powered By" />\r
-<item name="MergeError1" value="The merged Help system" />\r
-<item name="JS_alert_cantLoadProject" value="Can't load project:" />\r
-<item name="Next" value="&gt;&gt;" />\r
-<item name="SyncToc" value="SyncToc" />\r
-<item name="MergeError2" value="is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system." />\r
-<item name="nls_body_instruction" value="Enter your question in the text box above, then click GO." />\r
-<item name="ToolBarSearchBtnText" value="Go" />\r
-<item name="SuggestViewNoFrameMessage" value="To view the Help system without frames click on this" />\r
-<item name="Hide_Navigation_Component" value="Hide Navigation Component" />\r
-<item name="FtsBtnText" value="Go" />\r
-<item name="TopicsFound" value="Topics Found" />\r
-<item name="LoadingContentsData" value="Loading, click here to cancel..." />\r
-<item name="Definition" value="Definition:" />\r
-<item name="CompletingContents" value="Completing Contents..." />\r
-<item name="Seperate" value="|" />\r
-<item name="GeneratedBy" value="Generated by" />\r
-<item name="PoweredBy" value="Powered by" />\r
-<item name="IndexAlphabetBookmarks" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />\r
-<item name="Contents" value="Contents" />\r
-<item name="IndexSelectTopicLabel" value="Select a topic, then click Display" />\r
-<item name="Disabled Prev" value="&lt;&lt;" />\r
-<item name="Glossary" value="Glossary" />\r
-<item name="Search" value="Search" />\r
-<item name="CantSearch" value="Cannot search for that phrase." />\r
-<item name="LoadingIndex" value="Loading Index..." />\r
-<item name="LoadingData" value="Loading data, please wait..." />\r
-<item name="Show_Navigation_Component" value="Show Navigation Component" />\r
-<item name="Book" value="Book" />\r
-<item name="Disabled Next" value="&gt;&gt;" />\r
-<item name="nls_body_empty" value="Sorry, we were unable to find a good answer for your question." />\r
-<item name="nls_button_go_hint" value="Go Search" />\r
-<item name="Find" value="Find" />\r
-<item name="CantOpenURLorFile" value="Can't open URL or file" />\r
-<item name="Print" value="Print" />\r
-<item name="About" value="About" />\r
-<item name="Author" value="Author" />\r
-<item name="IndexSelectTopicTitle" value="Select a Topic" />\r
-<item name="Blank_topic_text" value="This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink." />\r
-<item name="BrowserLimitedMessage" value="Your browser does not support frames. We recommend that you update your browser to a version that supports frames." />\r
-<item name="LoadingTOCItem" value="Loading Table of Contents:" />\r
-<item name="Display" value="Display" />\r
-<item name="Cancel" value="Cancel" />\r
-<item name="IndexSelectTopicError" value="Please select a topic." />\r
-<item name="nls_edit_label" value="Type in your question:" />\r
-<item name="SearchLabel" value="Search" />\r
-<item name="RelateTopicListPrompt" value="Click a topic, then click Display." />\r
-<item name="NextTooltip" value="Next Topic" />\r
-<item name="JS_alert_colorlimitation" value="WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors." />\r
-<item name="TopicsNotFound" value="No Topics Found." />\r
-<item name="Show" value="Show" />\r
-<item name="PreTooltip" value="Previous Topic" />\r
-<item name="SearchPrompt" value="- Search -" />\r
-<item name="IndexBtnText" value="Go" />\r
-<item name="JS_alert_ProjectLoadingFail" value="Could not load correctly, please click Refresh." />\r
-<item name="LoadingContents" value="Loading contents, please wait..." />\r
-<item name="Term" value="Term:" />\r
-<item name="WebSearchButton" value="WebSearch" />\r
-<item name="Remote_Page" value="Remote Page" />\r
-<item name="WebSearch" value="WebSearch" />\r
-<item name="LoadingFTS" value="Reading Search Data..." />\r
-<item name="Index" value="Index" />\r
-<item name="JS_alert_ErrorInLoading" value="Error in Loading navigation component. Please regenerate WebHelp." />\r
-<item name="JS_alert_appletNotLoad" value="Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited." />\r
-<item name="IndexInputPrompt" value="Type in the keyword to find:" />\r
-<item name="Page" value="Page" />\r
-<item name="SuggestViewNoFrameMsg2" value="hyperlink." />\r
-<item name="nls_button_go_text" value="Go" />\r
-<item name="Searching" value="Searching..." />\r
-\r
-  <item name="English"   value="" />\r
-  <item name="langorder" value="0,1,2,3,4,5,6,7,8,40,41,42,43,44,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,38,45,46,47,48,49,50,33,51,52,53,88,54,34,55,56,115,119,121,123,125,126,127,128,129,130,57,58,89,90,91,59,60,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,61,62,63,64,66,67,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,68,69,70,71,27,114,28,82,170,85,112,109,110,65,113,223,86,213,29,255,30,31,80,81,83,84,111,36,37,79,229,222,87,212,32,254,251,39,72,97,98,99,100,73,101,74,102,133,93,103,35,104,75,105,92,122,124,76,106,107,108,77,120,199,94,116,117,118,78,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,95,197,230,230,230,230,246,227,224,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,96,197,230,230,230,230,246,227,250," />\r
-\r
-  <panes show="0">\r
-    <toc />\r
-    <fts />\r
-    <glossary />\r
-  </panes>\r
-\r
-  <stopwords>\r
-    <word name="a" />\r
-    <word name="about" />\r
-    <word name="after" />\r
-    <word name="against" />\r
-    <word name="all" />\r
-    <word name="also" />\r
-    <word name="among" />\r
-    <word name="an" />\r
-    <word name="and" />\r
-    <word name="are" />\r
-    <word name="as" />\r
-    <word name="at" />\r
-    <word name="be" />\r
-    <word name="became" />\r
-    <word name="because" />\r
-    <word name="been" />\r
-    <word name="between" />\r
-    <word name="but" />\r
-    <word name="by" />\r
-    <word name="can" />\r
-    <word name="come" />\r
-    <word name="do" />\r
-    <word name="during" />\r
-    <word name="each" />\r
-    <word name="early" />\r
-    <word name="for" />\r
-    <word name="form" />\r
-    <word name="found" />\r
-    <word name="from" />\r
-    <word name="had" />\r
-    <word name="has" />\r
-    <word name="have" />\r
-    <word name="he" />\r
-    <word name="her" />\r
-    <word name="his" />\r
-    <word name="however" />\r
-    <word name="in" />\r
-    <word name="include" />\r
-    <word name="into" />\r
-    <word name="is" />\r
-    <word name="it" />\r
-    <word name="its" />\r
-    <word name="late" />\r
-    <word name="later" />\r
-    <word name="made" />\r
-    <word name="many" />\r
-    <word name="may" />\r
-    <word name="me" />\r
-    <word name="med" />\r
-    <word name="more" />\r
-    <word name="most" />\r
-    <word name="near" />\r
-    <word name="no" />\r
-    <word name="non" />\r
-    <word name="not" />\r
-    <word name="of" />\r
-    <word name="on" />\r
-    <word name="only" />\r
-    <word name="or" />\r
-    <word name="other" />\r
-    <word name="over" />\r
-    <word name="several" />\r
-    <word name="she" />\r
-    <word name="some" />\r
-    <word name="such" />\r
-    <word name="than" />\r
-    <word name="that" />\r
-    <word name="the" />\r
-    <word name="their" />\r
-    <word name="then" />\r
-    <word name="there" />\r
-    <word name="these" />\r
-    <word name="they" />\r
-    <word name="this" />\r
-    <word name="through" />\r
-    <word name="to" />\r
-    <word name="under" />\r
-    <word name="until" />\r
-    <word name="use" />\r
-    <word name="was" />\r
-    <word name="we" />\r
-    <word name="were" />\r
-    <word name="when" />\r
-    <word name="where" />\r
-    <word name="which" />\r
-    <word name="who" />\r
-    <word name="with" />\r
-    <word name="you" />\r
-  </stopwords>\r
-\r
-  <stems>\r
-    <stem name="ed" />\r
-    <stem name="es" />\r
-    <stem name="er" />\r
-    <stem name="e" />\r
-    <stem name="s" />\r
-    <stem name="ingly" />\r
-    <stem name="ing" />\r
-    <stem name="ly" />\r
-  </stems>\r
-\r
-       <paneskin>\r
-               <background color="#ffffff" img="" />\r
-               <font name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-               <toc>\r
-                       <background color="#ffffff" img="" />\r
-                       <icons>\r
-                               <book open="wht_toc2.gif" close="wht_toc1.gif" />\r
-                               <item  local="wht_toc3.gif" remote="wht_toc4.gif" />\r
-                               <newbook open="" close="" />\r
-                               <newitem  local="" remote="" />\r
-                       </icons>\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </toc>\r
-               <index>\r
-                       <form>\r
-                               <fonts>\r
-                                       <title name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-                               </fonts>\r
-                               <button normal="" hover="" />\r
-                               <editwith value="20" />\r
-                       </form>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                               <empty name="" size="8pt" color="" style="" weight="" decoration="" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </index>\r
-               <fts>\r
-                       <form>\r
-                               <fonts>\r
-                                       <title name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-                               </fonts>\r
-                               <button normal="" hover="" />\r
-                               <editwith value="20" />\r
-                       </form>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                               <error name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </fts>\r
-               <glossary>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </glossary>\r
-       </paneskin>\r
-</resource>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whrstart.ico b/doc/salome/gui/GEOM/whrstart.ico
deleted file mode 100755 (executable)
index bffcd6e..0000000
Binary files a/doc/salome/gui/GEOM/whrstart.ico and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whskin_banner.htm b/doc/salome/gui/GEOM/whskin_banner.htm
deleted file mode 100755 (executable)
index 39ed797..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>\r
-<head>\r
-<title>About WebHelp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style type="text/css">\r
-<!--\r
-P {margin-left:5pt;margin-top:2pt;margin-bottom:2pt;font-size:8pt;font-family:Verdana,sans-serif;}\r
-P.disp {margin-left:5pt; margin-top:0pt;margin-bottom:10pt;font-size:7pt;font-family:Verdana,sans-serif;}\r
-//-->\r
-</style>\r
-<script>\r
-<!--\r
-// this block fix: HTML Dialog Ignores Size Parameters Without SCRIPT Block\r
-//-->\r
-</script> \r
-<body bgcolor="white" scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>\r
-<table border="0" cellpadding="0" cellspacing="0" width="350">\r
-  <tr>\r
-   <td><img src="wht_spac.gif" width="99" height="1" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="251" height="1" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="1" height="1" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td width="99" height="190" rowspan="3" valign="top"><img src="wht_abgw.jpg" border="0"></td>\r
-   <td width="211" height="60" valign="top"><img src="wht_abtw.jpg" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="1" height="65" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td valign="top">\r
-               <p><a href="http://www.ehelp.com" target="_blank">Macromedia</a></p>\r
-               <p><nobr>Copyright © 1992 - 2004, eHelp Corporation</nobr></p>\r
-               <p>Author:&nbsp;eHelp Corporation</p>\r
-   </td>\r
-   <td><img src="wht_spac.gif" width="1" height="50" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td valign="top">\r
-               <p>Powered by:&nbsp;WebHelp 5.50\r
-               <br>Generated by:&nbsp;RoboHelp X5\r
-               <br><a class="tail" href="http://www.ehelp.com/webhelp1" target="_blank">www.ehelp.com</a></p>\r
-   </td>\r
-   <td><img src="wht_spac.gif" width="1" height="50" border="0"></td>\r
-  </tr>\r
-</table>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_blank.htm b/doc/salome/gui/GEOM/whskin_blank.htm
deleted file mode 100755 (executable)
index 43439a8..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>\r
-<head>\r
-<title>Blank Page</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whskin_frmset01.htm b/doc/salome/gui/GEOM/whskin_frmset01.htm
deleted file mode 100755 (executable)
index 3b8d56a..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-\r
-<html>\r
-<head>\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!window.gbWhProxy)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-\r
-<script language="javascript">\r
-<!--\r
-var gsPane="";\r
-var gnType=3;\r
-\r
-var oMsgPane = new whMessage(WH_MSG_GETPANETYPE, this, 1, null);\r
-if (SendMessage(oMsgPane))\r
-{\r
-       gsPane = oMsgPane.oParam.sPaneURL;\r
-       gnType = oMsgPane.oParam.nType;\r
-}\r
-\r
-       var strDefaultTopic = "about:blank";\r
-       var oParam = new Object();\r
-       oParam.sTopic = "";\r
-       var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, this, 1, oParam);\r
-       if (SendMessage(oMsg) && oParam.sTopic != "")\r
-               strDefaultTopic =  oParam.sTopic;\r
-var strHTML = "";\r
-if (gnType == 4)\r
-{\r
-       //no navipane at all\r
-       strHTML += "<frameset border=\"0\" cols=\"100%,*\">";\r
-       strHTML += "<frame src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";\r
-       strHTML += "<frame src=\"whskin_blank.htm\" noresize>";\r
-       strHTML += "</frameset>";\r
-}\r
-else\r
-       strHTML += "<frameset cols=\"220,*\" hostof=\"parent:minibar_navpane|topic!startpage:no\" frameborder=\"1\" id=\"whPfset\"><frame src=\"whskin_frmset010.htm\" id=\"minibar_navpane\" frameborder=\"0\" border=\"0\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame><frame src=\""+strDefaultTopic+"\" id=\"topic\" frameborder=\"1\" border=\"1\" scrolling=\"auto\" title=\"Topic\" name=\"bsscright\"></frame></frameset>";\r
-document.write(strHTML);\r
-// handle show pane, hide pane and query pane status message.\r
-RegisterListener2(this, WH_MSG_RESIZEPANE);\r
-RegisterListener2(this, WH_MSG_SHOWPANE);\r
-RegisterListener2(this, WH_MSG_HIDEPANE);\r
-RegisterListener2(this, WH_MSG_ISPANEVISIBLE);\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_RESIZEPANE);\r
-       UnRegisterListener2(this, WH_MSG_SHOWPANE);\r
-       UnRegisterListener2(this, WH_MSG_HIDEPANE);\r
-       UnRegisterListener2(this, WH_MSG_ISPANEVISIBLE);\r
-}\r
-\r
-window.onunload=window_unload;\r
-\r
-var gbShow=false;\r
-var gstrFrameLastSetting="";\r
-function onSendMessage(oMsg)\r
-{\r
-       var oMsgout = null;\r
-       var nMsgId = oMsg.nMessageId;\r
-       var oFrameset = null;\r
-       if (nMsgId == WH_MSG_SHOWPANE)\r
-       {\r
-               if (!gbShow)\r
-               {\r
-                       oFrameset = getElement("whPfset");\r
-                       if (oFrameset)\r
-                       {\r
-                               if (gstrFrameLastSetting)\r
-                                       oFrameset.cols= gstrFrameLastSetting;\r
-                               else\r
-                                       oFrameset.cols= "220,*";\r
-                       }\r
-                       gbShow=true;\r
-                       oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
-                       SendMessage(oMsgout);\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_HIDEPANE)\r
-       {\r
-               oFrameset = getElement("whPfset");\r
-               if (oFrameset)\r
-               {\r
-                       gstrFrameLastSetting=oFrameset.cols; \r
-                       var oWnd=frames[0];\r
-                       if (oWnd && oWnd.document && oWnd.document.body)\r
-                       {\r
-                               var nPos=0;\r
-                               if ("cols"=="cols")\r
-                                       nPos=oWnd.document.body.offsetWidth;\r
-                               else\r
-                                       nPos=oWnd.document.body.offsetHeight;\r
-                               if(0==0)\r
-                                       gstrFrameLastSetting=nPos+",*";\r
-                               else\r
-                                       gstrFrameLastSetting="*,"+nPos;\r
-                       }\r
-                       oFrameset.cols = "0,*";\r
-               }\r
-               gbShow=false;\r
-               oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");\r
-               SendMessage(oMsgout);\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_RESIZEPANE)\r
-       {\r
-               if (!gbShow)\r
-               {\r
-                       gbShow=true;\r
-                       oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
-                       SendMessage(oMsgout);\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISPANEVISIBLE)\r
-       {\r
-               oMsg.oParam.bVisible = isNavPaneVisible();\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function isNavPaneVisible()\r
-{\r
-       var bVisible = false;\r
-       var sSplit = getElement("whPfset").cols;\r
-       var nSplit = sSplit.indexOf(",");\r
-       if (nSplit != -1)\r
-       {\r
-               var sPart1 = sSplit.substring(0, nSplit);\r
-               var sPart2 = sSplit.substring(nSplit + 1);\r
-               if ("minibar_navpane" == "navpane")\r
-               {\r
-                       var sTemp = sPart1;\r
-                       sPart1 = sPart2;\r
-                       sPart2 = sTemp;\r
-               }\r
-\r
-               if (sPart2 != "*")\r
-               {\r
-                       var n = parseInt(sPart2);\r
-                       if (n>0)\r
-                               bVisible = true;\r
-               }\r
-               else\r
-               {\r
-                       if (sPart1 != "100%")\r
-                               bVisible = true;\r
-               }\r
-       }\r
-       return bVisible;\r
-}\r
-//-->\r
-</script>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_frmset010.htm b/doc/salome/gui/GEOM/whskin_frmset010.htm
deleted file mode 100755 (executable)
index 8a02235..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-\r
-<html>\r
-<head>\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!window.gbWhProxy)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-\r
-<script language="javascript">\r
-<!--\r
-var gsPane="";\r
-var gnType=3;\r
-\r
-var oMsgPane = new whMessage(WH_MSG_GETPANETYPE, this, 1, null);\r
-if (SendMessage(oMsgPane))\r
-{\r
-       gsPane = oMsgPane.oParam.sPaneURL;\r
-       gnType = oMsgPane.oParam.nType;\r
-}\r
-var strHTML = "";\r
-if (gnType == 4)\r
-{\r
-       //no navipane at all\r
-       strHTML += "<frameset border=\"0\" cols=\"100%,*\">";\r
-       strHTML += "<frame src='whskin_mbars.htm' id='minibar' frameborder='0' border='0' scrolling='no' marginheight='0' title='Mini Toolbar'></frame>";\r
-       strHTML += "<frame src=\"whskin_blank.htm\" noresize>";\r
-       strHTML += "</frameset>";\r
-}\r
-else\r
-       strHTML += "<frameset rows=\"24,*\" hostof=\"parent:minibar|navpane!startpage:no\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_mbars.htm\" id=\"minibar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" marginheight=\"0\" title=\"Mini Toolbar\"></frame><frame src=\""+gsPane+"\" id=\"navpane\" frameborder=\"0\" border=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" title=\"Navigator Pane\"></frame></frameset>";\r
-\r
-document.write(strHTML);\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_homepage.htm b/doc/salome/gui/GEOM/whskin_homepage.htm
deleted file mode 100755 (executable)
index 46797c7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = -1;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)                              \r
-               document.location = "whnjs.htm";\r
-       else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       else if (gbMac && gbIE4 && !gbIE5)              \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       else\r
-       {\r
-               nViewFrameType=nWebhelpNavPaneMode;\r
-               if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
-               {\r
-                       var gbDHTML=(nWebhelpNavPaneMode==1);\r
-                       if (gbNav4)                                                                             nViewFrameType = 2;\r
-                       if (gbNav4&&(gnVerMinor < 4.1))                                         nViewFrameType = 3;\r
-                       if (gbNav4&&(gnVerMinor == 4.6))                                        nViewFrameType = 3;\r
-                       if (gbIE4&&gbDHTML)                                                                     nViewFrameType = 1;\r
-                       if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2)                     nViewFrameType = 3;\r
-                       if (gbNav4&&gbSunOS&&nViewFrameType==2)                 nViewFrameType = 3;\r
-                       if (gbNav6&&gbDHTML)                                                            nViewFrameType = 1;\r
-                       if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2)         nViewFrameType = 3;\r
-                       if (gbMac)                                                                                      nViewFrameType = 3;\r
-                       if (gbOpera7&&nViewFrameType == 2)                                      nViewFrameType = 3;\r
-                       if ((bNoApplet)&&(nViewFrameType == 2))                         nViewFrameType = 3;\r
-               }\r
-       }\r
-}\r
-\r
-if (nViewFrameType!=-1)\r
-{\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-       //The colordepth of the 16 color on Windows is 1. \r
-       if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-       {\r
-          alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");\r
-          nViewFrameType = 3;\r
-       }\r
-\r
-       //figure out which one is navpane\r
-       // ReplaceMark:nViewFrameType = 1\r
-       if (nViewFrameType == 1)\r
-       {\r
-               if (gbNav4 && !gbNav6)\r
-                       strPane = strPaneList;\r
-               else\r
-                       strPane = strPaneDHTML;\r
-       }\r
-       else if (nViewFrameType == 2)\r
-               strPane = strPaneApplet;\r
-       else\r
-               strPane = strPaneList;\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (nViewFrameType!=-1)\r
-{\r
-       var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"1\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-       document.write(strHTML);\r
-}\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_info.htm b/doc/salome/gui/GEOM/whskin_info.htm
deleted file mode 100755 (executable)
index e842308..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<html>\r
-<head>\r
-<title>WebHelp 5.50 </title>\r
-<meta name="description" content="output from robohelp">\r
-<meta name="keywords" content="robohelp,webhelp,webhelp enterprise,roboinfo">\r
-</head>\r
-<body>\r
-<h1> WebHelp 5.50 System  Info </h1>\r
-<table>\r
-<tr><td> Start Page </td><td>geom.htm</td></tr>\r
-<tr><td> Skin Name </td><td>Default</td></tr>\r
-<tr><td> Generating Time </td><td>13:16 03/01/2005</td></tr>\r
-<tr><td> Language ID </td><td>1033</td></tr>\r
-<tr><td> Compile Script </td><td>webhelp5_compile_script.xml</td></tr>\r
-<tr><td> Compile Build Version </td><td>13.10.606</td></tr>\r
-<tr><td> Product Name </td><td>WebHelp 5.50</td></tr>\r
-<tr><td> Authoring Tool Name </td><td>RoboHelp X5</td></tr>\r
-<table>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_mbars.htm b/doc/salome/gui/GEOM/whskin_mbars.htm
deleted file mode 100755 (executable)
index c4fa48a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>\r
-<head>\r
-<title> WebHelp Navigation Mini-bar </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whtbar.js"></script>\r
-<body marginheight="0"  marginwidth="0"  bgcolor="#99ccff"     scroll="no">\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhTBar)\r
-{\r
-       setButtonFont("avprev","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("avnext","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("synctoc","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("hide2","Tahoma","8pt","Black","Normal","Normal","none");\r
-\r
-       gsIPrev = "wht_prev.gif";\r
-       gsIPrevD = "wht_prev_g.gif";\r
-       gsINext = "wht_next.gif";\r
-       gsINextD = "wht_next_g.gif";\r
-       gsISync = "wht_sync.gif";\r
-       gsIHide = "wht_hide.gif";\r
-       setBackgroundcolor("#99ccff");\r
-       \r
-       \r
-       addButton("avprev",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("avnext",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("synctoc",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("hide2",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-\r
-       addButton("blankblock");\r
-       writeStyle(true);\r
-       ReSortMinibarButtons();\r
-       writeToolBar();\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_papplet.htm b/doc/salome/gui/GEOM/whskin_papplet.htm
deleted file mode 100755 (executable)
index 5f8296a..0000000
+++ /dev/null
@@ -1,360 +0,0 @@
-<html>\r
-<head>\r
-<title>Navigation Pane</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsInitPane="toc";\r
-var gsCurrentPane="";\r
-var gbLoading = "unknown";\r
-var gbTryTime = 0;\r
-var gbMaxTryTime = 6;\r
-var gbPassPhase0 = 0;\r
-var gbretried = 0;\r
-var gbmaxretry = 3;\r
-var gbretrytime = new Array();\r
-\r
-var origWidth = 0;\r
-var origHeight = 0;\r
-\r
-gbretrytime[0]= 5000;\r
-gbretrytime[1]= 30000;\r
-gbretrytime[2]= 60000;\r
-\r
-function addPane(sName, sFile)\r
-{\r
-}\r
-\r
-function setShowPane(sName)\r
-{\r
-       gsInitPane=sName;\r
-}\r
-  addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-\r
-function window_unload()\r
-{\r
-       if (!gbNav4 || gbNav6) // resize will call unload, but the register code will never be called on Netscape 4.\r
-       {\r
-               UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-               UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-               UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-               UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-               UnRegisterListener2(this, WH_MSG_SYNCTOC);\r
-               UnRegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-               UnRegisterListener2(this, WH_MSG_GETPANEINFO);\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       var bHidePane=false;\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gsInitPane="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gsInitPane="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gsInitPane="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gsInitPane="glo";\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-       }\r
-       if (bHidePane)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)\r
-               SendMessage(oMsg);\r
-       }\r
-       else if (gsInitPane == "toc")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="idx")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="fts")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="glo")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       \r
-}\r
-\r
-function onResize()\r
-{\r
-       var oMsg=null;\r
-       if (gbIE4)\r
-       {\r
-               if(document.body)\r
-               {\r
-                       if(document.body.clientWidth > 1 && document.body.clientHeight>1)\r
-                       {\r
-                               oMsg = new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-       else \r
-       {\r
-               if (window.innerWidth != 0 && window.innerHeight != 0)\r
-               {\r
-                       oMsg = new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase0()\r
-{\r
-       if (!gbPassPhase0) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-               document.applets[0];\r
-               gbPassPhase0 = 1;\r
-       }\r
-       else {\r
-               CheckLoadingPhase1();\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase1()\r
-{\r
-       if (gbNav4) {\r
-               if ("unknown" == gbLoading && document.readystate < 4) {\r
-                       setTimeout("CheckLoadingPhase1()", 1000);\r
-               }\r
-               else if ("unknown" == gbLoading) {\r
-                       CheckLoadingPhase2();\r
-               }\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase2()\r
-{\r
-       if (gbNav4) {\r
-               gbTryTime ++;\r
-               if ("unknown" == gbLoading) {\r
-                       if (gbTryTime <= gbMaxTryTime )\r
-                               setTimeout("CheckLoadingPhase2()", 1000);\r
-                       else {\r
-                               if (gnVerMinor != 4.60) {\r
-                                       alert("Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.");\r
-                               }\r
-                       }       \r
-               }\r
-       }\r
-}\r
-\r
-function CheckAppletLoaded()\r
-{\r
-       if (typeof(document.WebHelp) == "undefined")\r
-       {\r
-               document.location.reload();\r
-               if (gbretried < gbmaxretry)\r
-               {\r
-                       gbretried ++;\r
-                       setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-               }\r
-       }\r
-}\r
-\r
-function reDo() \r
-{\r
-       if (innerWidth != origWidth || innerHeight != origHeight)  \r
-       {\r
-               //reloaded applet if nessary\r
-               gbretried = 0;\r
-\r
-               if (gnVerMinor == 4.60) \r
-               {\r
-                       //reload the applet again.\r
-                       document.location.reload();\r
-                       gbretried ++;\r
-               }\r
-               setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-       }\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if (oMsg)\r
-       {       \r
-               var nMsgId = oMsg.nMessageId;\r
-               var WebHelpApplet = null;\r
-               if (gbNav4)\r
-               {\r
-                       WebHelpApplet = document.applets["WebHelp"];\r
-                       if (!WebHelpApplet.Command)\r
-                               document.location="whskin_plist.htm";\r
-               }\r
-               else\r
-                       WebHelpApplet = window.WebHelp;\r
-\r
-               if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=gsCurrentPane;\r
-                       return false;\r
-               }\r
-               else if(gbLoading!="unknown" || gbNav6)\r
-               {\r
-                       if (nMsgId == WH_MSG_SHOWTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               WebHelpApplet.Command("Contents",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"toc");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWIDX)\r
-                       {\r
-                               gsCurrentPane="idx";\r
-                               WebHelpApplet.Command("Index",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"idx");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWFTS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet.Command("Search",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWGLO)\r
-                       {\r
-                               gsCurrentPane="glo";\r
-                               WebHelpApplet.Command("Glossary",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"glo");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SYNCTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               var oTopicParam=oMsg.oParam;\r
-                               if(oTopicParam&&oTopicParam.aPaths&&oTopicParam.aPaths.length>0&&oTopicParam.sPPath)\r
-                               {\r
-                                       var sPPath=_browserStringToText(oTopicParam.sPPath);\r
-                                       var sParam="";\r
-                                       for(var i=0;i<oTopicParam.aPaths.length;i++)\r
-                                       {\r
-                                               sParam+=oTopicParam.aPaths[i]+"\r\r";\r
-                                       }\r
-                                       WebHelpApplet.Command("SyncToc",sPPath,sParam);\r
-                               }\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SEARCHTHIS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet.Command("Search",oMsg.oParam);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function getInitTocInfo()\r
-{\r
-       var oParam=new Object();\r
-       oParam.oTocInfo=null;\r
-       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               var oTopicParam=oMsg.oParam.oTocInfo;\r
-               if(oTopicParam&&oTopicParam.aPaths&&oTopicParam.aPaths.length>0&&oTopicParam.sPPath)\r
-               {\r
-                       var sPPath=_browserStringToText(oTopicParam.sPPath);\r
-                       var sParam="";\r
-                       for(var i=0;i<oTopicParam.aPaths.length;i++)\r
-                       {\r
-                               sParam+=oTopicParam.aPaths[i]+"\r\r";\r
-                       }\r
-                       var WebHelpApplet;\r
-                       if(gbNav4)\r
-                               WebHelpApplet=document.applets["WebHelp"];\r
-                       else\r
-                               WebHelpApplet=WebHelp;\r
-                       WebHelpApplet.Command("SyncToc",sPPath,sParam);\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       RegisterListener2(this, WH_MSG_SYNCTOC);\r
-       RegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       RegisterListener2(this, WH_MSG_GETPANEINFO);\r
-\r
-       window.onresize=onResize;\r
-       window.onunload = window_unload;\r
-       window.onload=window_OnLoad;\r
-       window.onerror = null;\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-\r
-       if (gbNav4 && !gbNav6 && gbWindows) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-       }\r
-       if (gbNav4)\r
-       {\r
-               origWidth = innerWidth;\r
-               origHeight = innerHeight;\r
-               onresize = reDo;\r
-       }\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="c0c0c0">\r
-<applet code=WebHelp.class name=WebHelp  archive=webhelp.jar width=100% height=100% MAYSCRIPT hspace=0 vspace=0>\r
-<PARAM name=ProjectFile value=whproj.xml><PARAM name=ResourceFile value=whres.xml>\r
-<PARAM name=HideTabs value=true>\r
-<PARAM name=Frame value=bsscright>\r
-<PARAM name=cabbase value=webhelp.cab>\r
-</applet>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whskin_pdhtml.htm b/doc/salome/gui/GEOM/whskin_pdhtml.htm
deleted file mode 100755 (executable)
index 763aa14..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>\r
-<head>\r
-<title> Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body border=0 topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 scroll=no>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whphost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhPHost)\r
-{\r
-       var gsNavReDirect="whskin_plist.htm";\r
-       var gbReDirectThis=true;\r
-       var oMsg = new whMessage(WH_MSG_GETPANES, this, 1, null);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oMsg.oParam)\r
-               {\r
-                       for (var i=0;i<oMsg.oParam.aPanes.length;i++)\r
-                       {\r
-                               addPane(oMsg.oParam.aPanes[i].sPaneName, oMsg.oParam.aPanes[i].sPaneURL);\r
-                       }\r
-                       setShowPane(oMsg.oParam.sDefault);\r
-                       setServerEnabled();\r
-               }\r
-               else\r
-                       writeWebHelpPane();\r
-       }\r
-       else\r
-               writeWebHelpPane();\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-\r
-function writeWebHelpPane()\r
-{\r
-  var bPreferXML             = false;\r
-  var strProjectFileXML =  "whproj.xml";\r
-  var strProjectFileHTM =  "whproj.htm";       \r
-  addProject(bPreferXML, strProjectFileXML, strProjectFileHTM);\r
-  addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_pickup.htm b/doc/salome/gui/GEOM/whskin_pickup.htm
deleted file mode 100755 (executable)
index 1f1af7f..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-<html>\r
-<head>\r
-<title>Select a Topic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gsBgColor = "#c0c0c0";\r
-var gsBgImage = "";\r
-var gsListBgColor = "white";\r
-var gsListBgImage = "";\r
-var gsMargin="0pt";\r
-var gsIndent="0pt";\r
-var gSelectedItem = -1;\r
-\r
-\r
-var goFont=null;\r
-var goHoverFont=null;\r
-var goTableFont=null;\r
-var gsABgColor="#cccccc";\r
-\r
-function setListBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsListBgImage = sBgImage;\r
-}\r
-\r
-function setListBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsListBgColor = sBgColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsBgImage = sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsBgColor = sBgColor;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsABgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if (sType == "Normal")\r
-               goFont=vFont;\r
-       if (sType == "Hover")\r
-               goHoverFont=vFont;\r
-       else if (sType == "Table")\r
-               goTableFont=vFont;\r
-}\r
-\r
-function fnOnload()\r
-{\r
-       if( window.dialogArguments != null )\r
-               fnLoadOptions( window.dialogArguments );\r
-       var items = getElementsByTag(document, "a");\r
-       if (items.length > 0)\r
-               items[0].focus();\r
-}\r
-\r
-var gaOpts = new Array();\r
-\r
-function selectOption(index)\r
-{\r
-       gSelectedItem = index;\r
-}\r
-\r
-function displayOption(index)\r
-{\r
-       if (index < gaOpts.length)\r
-       {\r
-               returnValue = new Object();\r
-               returnValue.m_url = gaOpts[index];\r
-       }\r
-       else\r
-               returnValue = null;\r
-\r
-       window.close();\r
-}\r
-\r
-function fnLoadOptions( cList )\r
-{\r
-       var sHTML = "<dl>";\r
-       for( var i=0;i <cList.length; i++)\r
-       {\r
-               sHTML += "<dt><nobr><a href=\"javascript:void(0);\" onclick=\"return false;\" onfocus=\"selectOption(";\r
-               sHTML += gaOpts.length + ");return false;\" ondblclick=\"displayOption(" + gaOpts.length;\r
-               sHTML += ");return false;\">"+ _textToHtml(cList[i].m_sName) + "</a></nobr></dt>";\r
-               gaOpts[gaOpts.length] = cList[i].m_sURL;\r
-       }\r
-       sHTML += "</dl>";\r
-       var oDivCon=getElement("divlist");\r
-       if(oDivCon)\r
-               oDivCon.innerHTML=sHTML;\r
-       return true;\r
-}\r
-\r
-function fnOK()\r
-{\r
-       displayOption(gSelectedItem);\r
-}\r
-\r
-function fnCancel()\r
-{\r
-       returnValue = null;             window.close();\r
-}\r
-\r
-function fnOnKeypress()\r
-{\r
-       switch( event.keyCode )\r
-       {\r
-       case 13:        // enter key\r
-               fnOK();\r
-               break;\r
-       case 27:        // escape key\r
-               fnCancel();\r
-               break;\r
-       }\r
-}\r
-\r
-function writeStyle(bMiniBar)\r
-{\r
-       var sStyle="";\r
-       sStyle+="<style type='text/css'>\n";\r
-       sStyle+="<!--\n";\r
-       sStyle+="body.clsbody\n";\r
-       sStyle+="{\n";\r
-       sStyle+="margin: 4px;\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="background-attachment: fixed;\n";\r
-       sStyle+="};\n";\r
-       sStyle+="P.clsNDXTD\n";\r
-       sStyle+="{\n";\r
-       sStyle+="margin:0;\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="};\n";\r
-       sStyle+="div.clslist\n";\r
-       sStyle+="{\n";\r
-       if (gsListBgImage)\r
-               sStyle+="background-image:url("+gsListBgImage+");\n";\r
-       else if (gsListBgColor)\r
-               sStyle+="background-color:"+gsListBgColor+";\n";\r
-       sStyle+=getFontStyle(goFont);\r
-       sStyle+="};\n";\r
-       sStyle+="BUTTON.clsNDXButton\n";\r
-       sStyle+="{\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="background-color: transparent;\n";\r
-       sStyle+="};\n";\r
-       sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</style>\n";\r
-       document.write(sStyle);\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(document.body)\r
-       {\r
-               if(gsBgImage&&gsBgImage.length>0)\r
-               {\r
-                       document.body.background=gsBgImage;\r
-               }\r
-               if(gsBgColor&&gsBgColor.length>0)\r
-               {\r
-                       document.body.bgColor=gsBgColor;\r
-               }\r
-       }\r
-       fnOnload();\r
-       window_onResize();\r
-}\r
-\r
-function window_onResize()\r
-{\r
-       var oDiv = getElement("divlist");\r
-       var oTitle = getElement("p_title");\r
-       var oButton = getElement("tb_button");\r
-       if (oDiv && oTitle && oButton)\r
-       {\r
-               oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8;\r
-       }\r
-}\r
-goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none");\r
-\r
-\r
-setBackgroundcolor("White");\r
-\r
-setFont("Table", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-setListBackgroundcolor("White");\r
-\r
-setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-setActiveBgColor("Silver");\r
-\r
-window.onload=window_OnLoad;\r
-window.onresize = window_onResize;\r
-writeStyle();\r
-//-->\r
-</script>\r
-</head>\r
-\r
-<body class="clsbody" scroll="no" onkeypress="fnOnKeypress()">\r
-<p id="p_title" class="clsNDXTD"><nobr>Select a topic, then click Display</nobr></p>\r
-<div id="divlist" class="clslist" style="margin:2px;position: relative;overflow:auto;width:100%;border-style:inset;border-width:2">\r
-</div>\r
-<table id="tb_button" width="100%">\r
-  <tr>\r
-    <td width="100%" align="center"><button class="clsNDXButton" name="btnOK" onclick="fnOK()">Display</button>&#32;&#32;&#32;<button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>\r
-  </tr>\r
-</table>\r
-\r
-</body>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_plist.htm b/doc/salome/gui/GEOM/whskin_plist.htm
deleted file mode 100755 (executable)
index f7cf6d1..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-<html>\r
-<head>\r
-<title> Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-</head>\r
-<script language="javascript">\r
-<!--\r
-var strFrmToc="";\r
-var strFrmNdx="";\r
-var strFrmFts="";\r
-var strFrmGls="";\r
-var strFrmDft="";\r
-var gstrName="";\r
-\r
-//set overwrite here\r
-function setListFrames(strToc,strNdx,strFts,strGls,strDefault)\r
-{\r
-       strFrmToc=strToc;\r
-       strFrmNdx=strNdx;\r
-       strFrmFts=strFts;\r
-       strFrmGls=strGls;\r
-       strFrmDft=strDefault;\r
-       if(strFrmDft==strFrmToc)\r
-               gstrName="toc";\r
-       else if(strFrmDft==strFrmNdx)\r
-               gstrName="idx";\r
-       else if(strFrmDft==strFrmFts)\r
-               gstrName="fts";\r
-       else if(strFrmDft==strFrmGls)\r
-               gstrName="glo";\r
-}\r
-\r
-function setWebHelpPane()\r
-{\r
-       setListFrames("whgdata/whnvf30.htm","whgdata/whnvf31.htm","whgdata/whnvf32.htm","whgdata/whnvf33.htm","whgdata/whnvf30.htm");\r
-}\r
-\r
-function window_unload()\r
-{\r
-       if(!gbNav4||gbNav6) // resize will call unload, but the register code will never be called on Netscape 4.\r
-       {\r
-               UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-               UnRegisterListener2(this,WH_MSG_SHOWIDX);\r
-               UnRegisterListener2(this,WH_MSG_SHOWFTS);\r
-               UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-               UnRegisterListener2(this,WH_MSG_GETPANEINFO);\r
-       }\r
-}\r
-\r
-function window_onload()\r
-{\r
-       var bHidePane=false;\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gstrName="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gstrName="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gstrName="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gstrName="glo";\r
-                       switchNvp(gstrName);\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-               else if(gstrName)\r
-                       switchNvp(gstrName);\r
-       }\r
-       if(bHidePane)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)\r
-               SendMessage(oMsg);\r
-       }\r
-       else if(gstrName)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_PANEINFO,this,1,gstrName);\r
-               SendMessage(oMsg);\r
-       }\r
-       oMsg=new whMessage(WH_MSG_NOSYNC,this,1,null);\r
-       SendMessage(oMsg);\r
-       oMsg=new whMessage(WH_MSG_NOSEARCHINPUT,this,1,null);\r
-       SendMessage(oMsg);\r
-\r
-}\r
-\r
-function switchNvp(strName)\r
-{\r
-       var strFile="";\r
-       if(strName=="toc")              strFile=strFrmToc;\r
-       else if(strName=="idx") strFile=strFrmNdx;\r
-       else if(strName=="fts") strFile=strFrmFts;\r
-       else if(strName=="glo") strFile=strFrmGls;\r
-\r
-       gstrName=strName;\r
-       frames[0].location=strFile;     \r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var onMsg=null;\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       switchNvp("toc");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"toc");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWIDX)\r
-               {\r
-                       switchNvp("idx");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"idx");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWFTS)\r
-               {\r
-                       switchNvp("fts");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       switchNvp("glo");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"glo");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=gstrName;\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function onResize()\r
-{\r
-       var oMsg=null;\r
-       if(gbIE4)\r
-       {\r
-               if(document.body)\r
-               {\r
-                       if(document.body.clientWidth>1&&document.body.clientHeight>1)\r
-                       {\r
-                               oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(window.innerWidth!=0&&window.innerHeight!=0)\r
-               {\r
-                       oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETPANES,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam)\r
-               {\r
-                       for(var i=0;i<oMsg.oParam.aPanes.length;i++)\r
-                       {\r
-                               if(oMsg.oParam.aPanes[i].sPaneName=="toc")\r
-                                       strFrmToc=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="idx")\r
-                                       strFrmNdx=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="fts")\r
-                                       strFrmFts=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="glo")\r
-                                       strFrmGls=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               if(oMsg.oParam.sDefault==oMsg.oParam.aPanes[i].sPaneName)\r
-                               {\r
-                                       strFrmDft=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               }\r
-                       }\r
-               }\r
-               else\r
-                       setWebHelpPane();\r
-       }\r
-       else\r
-               setWebHelpPane();\r
-\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWIDX);\r
-       RegisterListener2(this,WH_MSG_SHOWFTS);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       RegisterListener2(this,WH_MSG_GETPANEINFO);\r
-\r
-       if(gbIE55)\r
-               window.onresize=onResize;\r
-\r
-       window.onunload=window_unload;\r
-       window.onload=window_onload;\r
-\r
-       var strHtml="";\r
-       strHtml+="<frameset rows=\'100%,*\'>";\r
-       strHtml+="<frame name=\'nvplist\' title=\'navpane frame\' src=\'" + strFrmDft +"\'></frame>";\r
-       strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";\r
-       strHtml+="</frameset>";\r
-       document.write(strHtml);\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if(window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_tbars.htm b/doc/salome/gui/GEOM/whskin_tbars.htm
deleted file mode 100755 (executable)
index 6cb4902..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<html>\r
-<head>\r
-<title> WebHelp Navigation Toolbar </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whtbar.js"></script>\r
-\r
-\r
-<body marginheight="0"  marginwidth="0"  bgcolor="#99ccff"     scroll="no">\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhTBar)\r
-{\r
-       setButtonFont("toc","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("toc","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("idx","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("idx","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("fts","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("fts","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("glo","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("glo","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("websearch","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("websearch","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("searchform","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("searchform","","","","","","", true);\r
-setButtonFont("banner","","","","","","");\r
-setButtonFont("banner","","","","","","", true);\r
-\r
-       gsIToc = "wht_toc_n.gif";\r
-       gsITocS = "wht_toc_h.gif";\r
-       gsIIndex = "wht_idx_n.gif";\r
-       gsIIndexS = "wht_idx_h.gif";\r
-       gsISearch = "wht_fts_n.gif";\r
-       gsISearchS = "wht_fts_h.gif";\r
-       gsIGlossary = "wht_glo_n.gif";\r
-       gsIGlossaryS = "wht_glo_h.gif";\r
-       gsIWebSearch = "wht_ws.gif";\r
-       gsIWebSearchD = "wht_ws_g.gif";\r
-       gsIBanner = "wht_logo1.gif";\r
-       gsIGo = "wht_go.gif";\r
-       setBackgroundcolor("#99ccff");\r
-       \r
-       setAlignment("left");\r
-       \r
-       \r
-       if (!gsBgImage)\r
-       {\r
-       setButtonBgColor("toc", gsBgColor);\r
-       setButtonBgColor("idx", gsBgColor);\r
-       setButtonBgColor("fts", gsBgColor);\r
-       setButtonBgColor("glo", gsBgColor);\r
-       setButtonBgColor("toc", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("idx", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("fts", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("glo", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("toc","#99ccff");\r
-setButtonBgColor("idx","#99ccff");\r
-setButtonBgColor("fts","#99ccff");\r
-setButtonBgColor("glo","#99ccff");\r
-setButtonBgColor("websearch","#99ccff");\r
-setButtonBgColor("searchform","");\r
-setButtonBgColor("banner","");\r
-\r
-       }\r
-       setButtonBgColor("toc","#639ace", true);\r
-setButtonBgColor("idx","#639ace", true);\r
-setButtonBgColor("fts","#639ace", true);\r
-setButtonBgColor("glo","#639ace", true);\r
-setButtonBgColor("websearch","#639ace", true);\r
-setButtonBgColor("searchform","", true);\r
-setButtonBgColor("banner","", true);\r
-\r
-       addButton("toc",BTN_TEXT|BTN_IMG,"Contents","","","","",0,0,"","","","","","");\r
-addButton("fts",BTN_TEXT|BTN_IMG,"Search","","","","",0,0,"","","","","","");\r
-addButton("glo",BTN_TEXT|BTN_IMG,"Glossary","","","","",0,0,"","","","","","");\r
-addButton("searchform",BTN_TEXT,"","","","","",0,0,"","","","","","");\r
-addButton("banner",BTN_IMG,"","","","","",0,0,"","","","","","");\r
-\r
-       addButton("blankblock");\r
-       writeStyle(false);\r
-       ReSortToolbarButtons();\r
-       writeToolBar();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_tw.htm b/doc/salome/gui/GEOM/whskin_tw.htm
deleted file mode 100755 (executable)
index 69737fa..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsTopic="";\r
-\r
-if (location.hash.length > 1)\r
-{\r
-       var nPos = location.hash.indexOf(">>");\r
-       if (nPos>1)\r
-       {\r
-               gsTopic = location.hash.substring(1, nPos);\r
-               parseParam(location.hash.substring(nPos+2));\r
-       }\r
-       else\r
-               gsTopic = location.hash.substring(1);\r
-}\r
-\r
-\r
-       var strHtml="";\r
-       strHtml+="<frameset rows=\'100%,*\'>";\r
-       strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";\r
-       strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";\r
-       strHtml+="</frameset>";\r
-       document.write(strHtml);\r
-\r
-function parseParam(sParam)\r
-{\r
-       if (sParam)\r
-       {\r
-               var nBPos=0;\r
-               do \r
-               {\r
-                       var nPos=sParam.indexOf(">>", nBPos);\r
-                       if (nPos!=-1)\r
-                       {\r
-                               if (nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos, nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos = nPos + 2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               } while(nBPos < sParam.length);\r
-       }       \r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("cap=")==0)\r
-       {\r
-               document.title=_browserStringToText(sPart.substring(4));\r
-       }\r
-}\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whst_topics.xml b/doc/salome/gui/GEOM/whst_topics.xml
deleted file mode 100755 (executable)
index 6dce998..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<topictemplate>\r
- <topic type="normal">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS ;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>\r
-";]]>\r
-  </add>\r
-  <add tag="body" pos="beginafter">\r
-    <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-         OutputInTopicNavBarDataButtons("addButton(%s);\r\n");\r
-       "\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(";WH_WEBSKIN.topic.bar.top.pos;");\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataWebSearch.href("addSearchFormHref(\"%s\");\r\n");\r
-       "\r
-               autoSync(";WH_USER_OPTIONS.autosync_toc;");\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>"]]>  \r
-  </add>\r
-  <add tag="body" pos="endbefore">\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(";WH_WEBSKIN.topic.bar.bottom.pos;");\r
-//-->\r
-</script>";\r
-OutputInTopicNavBarDataWebSearch.form();]]>    \r
-  </add>\r
- </topic>\r
- <topic type="frameset">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript1.2\" language=\"javascript\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS ;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_FRAMESET_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.setRelStartPage)\r
-{\r
-";\r
-  OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-"\r
-}\r
-if (window.autoSync)\r
-       autoSync(";WH_USER_OPTIONS.autosync_toc;");\r
-//-->\r
-</script>\r
-";]]>\r
-  </add>\r
- </topic>\r
-</topictemplate>\r
diff --git a/doc/salome/gui/GEOM/whstart.ico b/doc/salome/gui/GEOM/whstart.ico
deleted file mode 100755 (executable)
index 365ecea..0000000
Binary files a/doc/salome/gui/GEOM/whstart.ico and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whstart.js b/doc/salome/gui/GEOM/whstart.js
deleted file mode 100755 (executable)
index 7448a47..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-//     WebHelp 5.10.003\r
-RegisterListener2(this, WH_MSG_GETSTARTFRAME);\r
-RegisterListener2(this, WH_MSG_GETDEFAULTTOPIC);\r
-RegisterListener2(this, WH_MSG_MINIBARORDER);\r
-RegisterListener2(this, WH_MSG_TOOLBARORDER);\r
-RegisterListener2(this, WH_MSG_ISSEARCHSUPPORT);\r
-RegisterListener2(this, WH_MSG_ISSYNCSSUPPORT);\r
-RegisterListener2(this, WH_MSG_ISAVENUESUPPORT);\r
-RegisterListener2(this, WH_MSG_GETPANETYPE);\r
-RegisterListener2(this, WH_MSG_GETPANES);\r
-RegisterListener2(this, WH_MSG_RELOADNS6);\r
-RegisterListener2(this, WH_MSG_GETCMD);\r
-RegisterListener2(this, WH_MSG_GETPANE);\r
-RegisterListener2(this, WH_MSG_GETDEFPANE);\r
-\r
-if (gbNav6)\r
-{\r
-       var gnReload=0;\r
-       setTimeout("delayReload();",5000);\r
-}\r
-\r
-function delayReload()\r
-{\r
-       if (!(this.cMRServer && cMRServer.m_strVersion))\r
-       {\r
-               if(gnReload!=2)\r
-               {\r
-                       if(nViewFrameType&&nViewFrameType==1)\r
-                               document.location=document.location;\r
-               }\r
-       }\r
-}\r
-\r
-var gsToolbarOrder = "toc|fts|glo|blankblock|searchform|banner";\r
-var gsMinibarOrder = "blankblock|hide2|";\r
-\r
-var gsTopic = "files/introduction_to_geom.htm";\r
-var PANE_OPT_SEARCH = 1;\r
-var PANE_OPT_BROWSESEQ = 2;\r
-var gnOpts=-1;\r
-var gnCmd=-1;\r
-var gnPans=2;\r
-var gsBtns="invalid";\r
-var gsDefaultBtn="invalid";\r
-var gbHasTitle=false;\r
-\r
-if (location.hash.length > 1)\r
-{\r
-       var sParam = location.hash;\r
-       if (sParam.indexOf("#<") == 0)\r
-       {\r
-               document.location = "whcsh_home.htm#" + sParam.substring(2);\r
-       }\r
-       else if (sParam.indexOf("#>>") == 0)\r
-       {\r
-               parseParam(sParam.substring(3));\r
-               sParam = "#" + gsTopic + sParam.substring(1);\r
-       }\r
-       else\r
-       {\r
-               var nPos = sParam.indexOf(">>");\r
-               if (nPos>1)\r
-               {\r
-                       gsTopic = sParam.substring(1, nPos);\r
-                       parseParam(sParam.substring(nPos+2));\r
-               }\r
-               else\r
-                       gsTopic = sParam.substring(1);\r
-       }\r
-       if (gnPans == 1 && gsTopic)\r
-       {\r
-               var strURL=location.href;\r
-               if (location.hash)\r
-               {\r
-                       var nPos=location.href.indexOf(location.hash);\r
-                       strURL=strURL.substring(0, nPos);\r
-               }\r
-               if (gbHasTitle)\r
-                       document.location=_getPath(strURL)+ "whskin_tw.htm" + sParam;\r
-               else\r
-                       document.location=_getPath(strURL)+ gsTopic;\r
-       }\r
-}\r
-\r
-function parseParam(sParam)\r
-{\r
-       if (sParam)\r
-       {\r
-               var nBPos=0;\r
-               do \r
-               {\r
-                       var nPos=sParam.indexOf(">>", nBPos);\r
-                       if (nPos!=-1)\r
-                       {\r
-                               if (nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos, nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos = nPos + 2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               } while(nBPos < sParam.length);\r
-       }       \r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("cmd=")==0)\r
-       {\r
-               gnCmd=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("cap=")==0)\r
-       {\r
-               document.title=_browserStringToText(sPart.substring(4));\r
-               gbHasTitle=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pan=")==0)\r
-       {\r
-               gnPans=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pot=")==0)\r
-       {\r
-               gnOpts=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pbs=")==0)\r
-       {\r
-               var sRawBtns = sPart.substring(4);\r
-               var aBtns = sRawBtns.split("|");\r
-               for (var i=0;i<aBtns.length;i++)\r
-               {\r
-                       aBtns[i] = transferAgentNameToPaneName(aBtns[i]);\r
-               }\r
-               gsRawBtns = aBtns.join("|");\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pdb=")==0)\r
-       {\r
-               gsDefaultBtn=transferAgentNameToPaneName(sPart.substring(4));\r
-       }\r
-}\r
-\r
-function setToolbarOrder(sOrder)\r
-{\r
-       gsToolbarOrder = sOrder;\r
-}\r
-\r
-function setMinibarOrder(sOrder)\r
-{\r
-       gsMinibarOrder = sOrder;\r
-}\r
-\r
-function onSendMessageX(oMsg)\r
-{\r
-       var nMsgId = oMsg.nMessageId;\r
-       if (nMsgId == WH_MSG_GETSTARTFRAME)\r
-       {\r
-               oMsg.oParam.oFrame = this;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_GETDEFAULTTOPIC)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_strURLTopic);\r
-                       {\r
-                               oMsg.oParam.sTopic = cMRServer.m_strURLTopic;\r
-                               return false;\r
-                       }\r
-\r
-               }\r
-               oMsg.oParam.sTopic = gsTopic;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_TOOLBARORDER)\r
-       {\r
-               var oMsg1 = new whMessage(WH_MSG_GETPANES, this, 1, null);\r
-               if (SendMessage(oMsg1))\r
-               {\r
-                       if (oMsg1.oParam)\r
-                       {\r
-                               if (this.cMRServer && cMRServer.m_strVersion)\r
-                               {\r
-                                       var aToolbarOrder=cMRServer.m_strAgentList.split(";");\r
-                                       var i=0;\r
-                                       for (i=0;i<aToolbarOrder.length;i++)\r
-                                               aToolbarOrder[i]=transferANToPN2(aToolbarOrder[i]);\r
-                                       aToolbarOrder[aToolbarOrder.length] = "blankblock";\r
-                                       if (cMRServer.m_bShowSearchInput)\r
-                                       {\r
-                                               aToolbarOrder[aToolbarOrder.length] = "searchform";\r
-                                       }\r
-                                       aToolbarOrder[aToolbarOrder.length] = "banner";\r
-                                       var aToolbarOrderNew = new Array();\r
-                                       for (i=0;i<aToolbarOrder.length;i++)\r
-                                       {\r
-                                               if (isAPane(aToolbarOrder[i]))\r
-                                               {\r
-                                                       if (oMsg1.oParam.aPanes && oMsg1.oParam.aPanes.length)\r
-                                                       {\r
-                                                               for (var j=0;j<oMsg1.oParam.aPanes.length;j++)\r
-                                                               {\r
-                                                                       if (aToolbarOrder[i] == oMsg1.oParam.aPanes[j].sPaneName)\r
-                                                                       {\r
-                                                                               aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];\r
-                                                                               break;\r
-                                                                       }\r
-                                                               }\r
-                                                       }\r
-                                               }\r
-                                               else\r
-                                                       aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];\r
-                                       }\r
-                                       oMsg.oParam = aToolbarOrderNew.join("|");\r
-                                       return false;\r
-                               }\r
-                       }\r
-               }\r
-               var sParam="";\r
-               if (gsBtns!="invalid")\r
-                       sParam=gsBtns+"|blankblock|banner";\r
-               else\r
-                       sParam = gsToolbarOrder;\r
-\r
-               if (gnOpts!=-1)\r
-               {\r
-                       var nPosForm=sParam.indexOf("|searchform|");\r
-                       if (gnOpts&PANE_OPT_SEARCH)\r
-                       {\r
-                               if (nPosForm == -1 && sParam.indexOf("|fts|") != -1)\r
-                               {\r
-                                       var nPos=sParam.indexOf("banner");\r
-                                       if (nPos!=-1)\r
-                                       {\r
-                                               sParam=sParam.substring(0, nPos) + "searchform|" + sParam.substring(nPos);\r
-                                       }\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if (nPosForm!=-1)\r
-                               {\r
-                                       sParam=sParam.substring(0,nPosForm) + sParam.substring(nPosForm+11);\r
-                               }\r
-                       }\r
-               }\r
-               oMsg.oParam=sParam;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_MINIBARORDER)\r
-       {\r
-               var sMinParam=gsMinibarOrder;\r
-               if (gnOpts!=-1)\r
-               {\r
-                       var nPosBro=gsMinibarOrder.indexOf("avprev|avnext");\r
-                       if (gnOpts&PANE_OPT_BROWSESEQ)\r
-                       {\r
-                               if (nPosBro==-1)\r
-                               {\r
-                                       sMinParam ="avprev|avnext|" + gsMinibarOrder;\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if (nPosBro!=-1)\r
-                               {\r
-                                       if (nPosBro!=0)\r
-                                               sMinParam=gsMinibarOrder.substring(0, nPosBro) + gsMinibarOrder.substring(nPosBro+14);\r
-                                       else\r
-                                               sMinParam=gsMinibarOrder.substring(14);\r
-                               }\r
-                       }\r
-               }\r
-               oMsg.oParam = sMinParam;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISSYNCSSUPPORT)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_bShowSync)\r
-                               oMsg.oParam=true;\r
-                       else\r
-                               oMsg.oParam=false;\r
-                       return false;\r
-               }\r
-               else\r
-               {\r
-                       if(typeof(nViewFrameType)!="undefined")\r
-                       {\r
-                               oMsg.oParam= (nViewFrameType < 3);\r
-                               return false;\r
-                       }\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_ISAVENUESUPPORT)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_bShowBrowseSequences)\r
-                               oMsg.oParam=true;\r
-                       else\r
-                               oMsg.oParam=false;\r
-               }\r
-               else\r
-               {\r
-                       oMsg.oParam=true;\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISSEARCHSUPPORT)\r
-       {\r
-               if(typeof(nViewFrameType)!="undefined")\r
-               {\r
-                       oMsg.oParam= (nViewFrameType < 3);\r
-                       return false;\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_GETPANETYPE)\r
-       {\r
-               if(typeof(nViewFrameType)!="undefined")\r
-               {\r
-                       var oPaneInfo = new Object();\r
-                       oPaneInfo.nType = nViewFrameType;\r
-                       oPaneInfo.sPaneURL = strPane;\r
-                       oMsg.oParam = oPaneInfo;\r
-                       return false;\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_GETPANES)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       var oPanes = new Object();\r
-                       var aAgentNames = null;\r
-                       if (cMRServer.m_strDefAgent)\r
-                               oPanes.sDefault = transferAgentNameToPaneName(cMRServer.m_strDefAgent);\r
-\r
-                       aPanes = new Array();\r
-                       for(var i=0; i< cMRServer.m_cAgents.length; i++)\r
-                       {\r
-                               var nCur = aPanes.length;\r
-                               aPanes[nCur] = new Object();\r
-                               aPanes[nCur].sPaneName = transferAgentNameToPaneName(cMRServer.m_cAgents[i].m_strID);\r
-                               aPanes[nCur].sPaneURL = cMRServer.m_cAgents[i].m_strURL;\r
-                       }\r
-                       oPanes.aPanes = aPanes;\r
-                       oMsg.oParam = oPanes;\r
-                       return false;\r
-               }\r
-               else\r
-               {\r
-                       oMsg.oParam = null;\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_RELOADNS6)\r
-       {\r
-               if(gbNav6)\r
-                       gnReload++;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETCMD)\r
-       {\r
-               oMsg.oParam=gnCmd;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETPANE)\r
-       {\r
-               if (gsBtns!="invalid" && oMsg.oParam.sName)\r
-               {\r
-                       if(gsBtns.indexOf(oMsg.oParam.sName) != -1)\r
-                               oMsg.oParam.bEnable=true;\r
-                       else\r
-                               oMsg.oParam.bEnable=false;\r
-               }\r
-               else\r
-                       oMsg.oParam.bEnable=true;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETDEFPANE)\r
-       {\r
-               if (gsDefaultBtn!="invalid")\r
-               {\r
-                       oMsg.oParam=gsDefaultBtn;\r
-               }\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function transferANToPN2(sAN)\r
-{\r
-       if (sAN =="toc")\r
-               return "toc";\r
-       else if (sAN =="ndx")\r
-               return "idx";\r
-       else if (sAN =="nls")\r
-               return "fts";\r
-       else if (sAN =="gls")\r
-               return "glo";\r
-       else if (sAN =="WebSearch")\r
-               return "websearch";\r
-       else if (sAN.indexOf("custom_")==0);\r
-               return "custom" + sAN.substring(7);\r
-       return sAN;\r
-}\r
-\r
-function transferAgentNameToPaneName(sAgentName)\r
-{\r
-       if (sAgentName =="toc")\r
-               return "toc";\r
-       else if (sAgentName =="ndx")\r
-               return "idx";\r
-       else if (sAgentName =="nls")\r
-               return "fts";\r
-       else if (sAgentName =="gls")\r
-               return "glo";\r
-       return "";\r
-}\r
-\r
-function isAPane(sPaneName)\r
-{\r
-       if (sPaneName == "toc" || sPaneName == "idx" || sPaneName == "fts" || sPaneName == "glo")\r
-               return true;\r
-       else\r
-               return false;\r
-}
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whstub.js b/doc/salome/gui/GEOM/whstub.js
deleted file mode 100755 (executable)
index a43c6e1..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-//     WebHelp 5.10.002\r
-window.whname="wh_stub";\r
-function getframehandle(frames,framename)\r
-{\r
-       var frame=null;\r
-       if(null==frames) return null;\r
-       for(var i=0;i<frames.length;i++)\r
-       {\r
-               if(typeof(frames[i].name)!="unknown")\r
-               {\r
-                       if(frames[i].name==framename)\r
-                               return frames[i];\r
-               }\r
-               if(frames[i].frames.length>0)\r
-               {\r
-                       frame=getframehandle(frames[i].frames,framename);\r
-                       if(null!=frame)\r
-                               return frame;\r
-               }\r
-       }\r
-       return frame;\r
-}\r
-\r
-function AddToArray(arr,obj)\r
-{\r
-       var bFound=false;\r
-       for(var i=0;i<arr.length;i++){\r
-               if(arr[i]==obj){\r
-                       bFound=true;\r
-                       break;\r
-               }\r
-               else if(arr[i]==null){\r
-                       break;\r
-               }\r
-       }\r
-       if(!bFound) arr[i]=obj;\r
-}\r
-\r
-var gArrayRegistedMessage=new Array();\r
-var gArrayCompoentsArray=new Array();\r
-\r
-function GetComponentsArray(nMessageId)\r
-{\r
-       var len=gArrayRegistedMessage.length;\r
-       for(var i=0;i<len;i++)\r
-       {\r
-               if(gArrayRegistedMessage[i]==nMessageId){\r
-                       if(gArrayCompoentsArray.length>i)\r
-                               return gArrayCompoentsArray[i];\r
-                       else\r
-                               return null;\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function CreateComponentsArray(nMessageId)\r
-{\r
-       var len=gArrayRegistedMessage.length;\r
-       gArrayRegistedMessage[len]=nMessageId;\r
-       gArrayCompoentsArray[len]=new Array();\r
-       return gArrayCompoentsArray[len];\r
-}\r
-\r
-function listener(sName,oWindow)\r
-{\r
-       this.sName=sName;\r
-       this.oWindow=oWindow;\r
-}\r
-\r
-function RegisterListener(windowName,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents==null)\r
-               arrayComponents=CreateComponentsArray(nMessageId);\r
-       \r
-       if(arrayComponents!=null)\r
-       {\r
-               for (var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if (arrayComponents[i].sName == windowName)\r
-                               return false;\r
-               }\r
-               var oListener=new listener(windowName,null);\r
-               AddToArray(arrayComponents,oListener);\r
-               return true;\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oWindow,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents==null)\r
-               arrayComponents=CreateComponentsArray(nMessageId);\r
-       \r
-       if(arrayComponents!=null)\r
-       {\r
-               var oListener=new listener("",oWindow);\r
-               AddToArray(arrayComponents,oListener);\r
-               return true;\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oWindow,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents!=null)\r
-       {\r
-               for(var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if(arrayComponents[i].oWindow==oWindow)\r
-                       {\r
-                               removeItemFromArray(arrayComponents,i);\r
-                               return true;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var bDelivered=false;\r
-       var arrayComponents=GetComponentsArray(oMessage.nMessageId);\r
-       if(arrayComponents!=null&&arrayComponents.length>0){\r
-               for(var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if(null!=arrayComponents[i])\r
-                       {\r
-                               var pFrame;\r
-                               if(arrayComponents[i].oWindow==null)\r
-                                       pFrame=getframehandle(frames,arrayComponents[i].sName);\r
-                               else\r
-                                       pFrame=arrayComponents[i].oWindow;\r
-                               if(null!=pFrame)\r
-                               {\r
-                                       if(pFrame.onSendMessageX)\r
-                                       {\r
-                                               bDelivered=true;\r
-                                               if(!pFrame.onSendMessageX(oMessage))\r
-                                                       break;\r
-                                       }\r
-                                       if(pFrame.onSendMessage)\r
-                                       {\r
-                                               bDelivered=true;\r
-                                               if(!pFrame.onSendMessage(oMessage))\r
-                                                       break;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return bDelivered;\r
-}
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/wht_abge.jpg b/doc/salome/gui/GEOM/wht_abge.jpg
deleted file mode 100755 (executable)
index 5e816c9..0000000
Binary files a/doc/salome/gui/GEOM/wht_abge.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abgi.jpg b/doc/salome/gui/GEOM/wht_abgi.jpg
deleted file mode 100755 (executable)
index bfedc68..0000000
Binary files a/doc/salome/gui/GEOM/wht_abgi.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abgw.jpg b/doc/salome/gui/GEOM/wht_abgw.jpg
deleted file mode 100755 (executable)
index 95af21f..0000000
Binary files a/doc/salome/gui/GEOM/wht_abgw.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abte.jpg b/doc/salome/gui/GEOM/wht_abte.jpg
deleted file mode 100755 (executable)
index a5638fa..0000000
Binary files a/doc/salome/gui/GEOM/wht_abte.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abti.jpg b/doc/salome/gui/GEOM/wht_abti.jpg
deleted file mode 100755 (executable)
index 14ac68c..0000000
Binary files a/doc/salome/gui/GEOM/wht_abti.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abtw.jpg b/doc/salome/gui/GEOM/wht_abtw.jpg
deleted file mode 100755 (executable)
index 46e68b1..0000000
Binary files a/doc/salome/gui/GEOM/wht_abtw.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_fts_h.gif b/doc/salome/gui/GEOM/wht_fts_h.gif
deleted file mode 100755 (executable)
index feb79ae..0000000
Binary files a/doc/salome/gui/GEOM/wht_fts_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_fts_n.gif b/doc/salome/gui/GEOM/wht_fts_n.gif
deleted file mode 100755 (executable)
index 8483be4..0000000
Binary files a/doc/salome/gui/GEOM/wht_fts_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_glo_h.gif b/doc/salome/gui/GEOM/wht_glo_h.gif
deleted file mode 100755 (executable)
index 12223e5..0000000
Binary files a/doc/salome/gui/GEOM/wht_glo_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_glo_n.gif b/doc/salome/gui/GEOM/wht_glo_n.gif
deleted file mode 100755 (executable)
index 32803eb..0000000
Binary files a/doc/salome/gui/GEOM/wht_glo_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_go.gif b/doc/salome/gui/GEOM/wht_go.gif
deleted file mode 100755 (executable)
index 106f1d1..0000000
Binary files a/doc/salome/gui/GEOM/wht_go.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_hide.gif b/doc/salome/gui/GEOM/wht_hide.gif
deleted file mode 100755 (executable)
index 6ec602d..0000000
Binary files a/doc/salome/gui/GEOM/wht_hide.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_idx_h.gif b/doc/salome/gui/GEOM/wht_idx_h.gif
deleted file mode 100755 (executable)
index 2df1b16..0000000
Binary files a/doc/salome/gui/GEOM/wht_idx_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_idx_n.gif b/doc/salome/gui/GEOM/wht_idx_n.gif
deleted file mode 100755 (executable)
index fd193a0..0000000
Binary files a/doc/salome/gui/GEOM/wht_idx_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_logo1.gif b/doc/salome/gui/GEOM/wht_logo1.gif
deleted file mode 100755 (executable)
index 2ef5700..0000000
Binary files a/doc/salome/gui/GEOM/wht_logo1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_logo2.gif b/doc/salome/gui/GEOM/wht_logo2.gif
deleted file mode 100755 (executable)
index 2ac62e8..0000000
Binary files a/doc/salome/gui/GEOM/wht_logo2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_next.gif b/doc/salome/gui/GEOM/wht_next.gif
deleted file mode 100755 (executable)
index 8ea834d..0000000
Binary files a/doc/salome/gui/GEOM/wht_next.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_next_g.gif b/doc/salome/gui/GEOM/wht_next_g.gif
deleted file mode 100755 (executable)
index c0e9758..0000000
Binary files a/doc/salome/gui/GEOM/wht_next_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_prev.gif b/doc/salome/gui/GEOM/wht_prev.gif
deleted file mode 100755 (executable)
index b7eaba8..0000000
Binary files a/doc/salome/gui/GEOM/wht_prev.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_prev_g.gif b/doc/salome/gui/GEOM/wht_prev_g.gif
deleted file mode 100755 (executable)
index 8647909..0000000
Binary files a/doc/salome/gui/GEOM/wht_prev_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_spac.gif b/doc/salome/gui/GEOM/wht_spac.gif
deleted file mode 100755 (executable)
index fc25609..0000000
Binary files a/doc/salome/gui/GEOM/wht_spac.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_sync.gif b/doc/salome/gui/GEOM/wht_sync.gif
deleted file mode 100755 (executable)
index 0ef1747..0000000
Binary files a/doc/salome/gui/GEOM/wht_sync.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab0.gif b/doc/salome/gui/GEOM/wht_tab0.gif
deleted file mode 100755 (executable)
index 955c42f..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab0.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab1.gif b/doc/salome/gui/GEOM/wht_tab1.gif
deleted file mode 100755 (executable)
index b3ec41d..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab2.gif b/doc/salome/gui/GEOM/wht_tab2.gif
deleted file mode 100755 (executable)
index 08fb0ce..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab3.gif b/doc/salome/gui/GEOM/wht_tab3.gif
deleted file mode 100755 (executable)
index 1819c8e..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab3.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab4.gif b/doc/salome/gui/GEOM/wht_tab4.gif
deleted file mode 100755 (executable)
index 1a6fc4f..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab5.gif b/doc/salome/gui/GEOM/wht_tab5.gif
deleted file mode 100755 (executable)
index 9340192..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab5.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab6.gif b/doc/salome/gui/GEOM/wht_tab6.gif
deleted file mode 100755 (executable)
index fe312d2..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab6.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab7.gif b/doc/salome/gui/GEOM/wht_tab7.gif
deleted file mode 100755 (executable)
index 3b95ae2..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab7.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab8.gif b/doc/salome/gui/GEOM/wht_tab8.gif
deleted file mode 100755 (executable)
index c80acc8..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab8.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc1.gif b/doc/salome/gui/GEOM/wht_toc1.gif
deleted file mode 100755 (executable)
index 515c352..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc2.gif b/doc/salome/gui/GEOM/wht_toc2.gif
deleted file mode 100755 (executable)
index 2e3d6c8..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc3.gif b/doc/salome/gui/GEOM/wht_toc3.gif
deleted file mode 100755 (executable)
index 330f369..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc3.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc4.gif b/doc/salome/gui/GEOM/wht_toc4.gif
deleted file mode 100755 (executable)
index 3f9a036..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc_h.gif b/doc/salome/gui/GEOM/wht_toc_h.gif
deleted file mode 100755 (executable)
index fe20f68..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc_n.gif b/doc/salome/gui/GEOM/wht_toc_n.gif
deleted file mode 100755 (executable)
index ce28310..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_ws.gif b/doc/salome/gui/GEOM/wht_ws.gif
deleted file mode 100755 (executable)
index 563db8b..0000000
Binary files a/doc/salome/gui/GEOM/wht_ws.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_ws_g.gif b/doc/salome/gui/GEOM/wht_ws_g.gif
deleted file mode 100755 (executable)
index 3056b75..0000000
Binary files a/doc/salome/gui/GEOM/wht_ws_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whtbar.js b/doc/salome/gui/GEOM/whtbar.js
deleted file mode 100755 (executable)
index 08b19e5..0000000
+++ /dev/null
@@ -1,2043 +0,0 @@
-//     WebHelp 5.10.006\r
-var gaButtons=new Array();\r
-var    gaTypes=new Array();\r
-var gaBtnBgColor=new Array();\r
-var gaSelBtnBgColor=new Array();\r
-var gaOrders=null;\r
-var gaObjBtns=new Array();\r
-var BTN_TEXT=1;\r
-var BTN_IMG=2;\r
-var BTN_IMG_TOP=4\r
-var BTN_IMG_BOTTOM=8;\r
-var BTN_IMG_LEFT=16;\r
-var BTN_IMG_RIGHT=32;\r
-var gsAlign="left";\r
-var gsBgImage="";\r
-var gsBgColor="#99ccff";\r
-var gsShadow="#cccccc";\r
-var gsTBBgImage="";\r
-var gnShowHideStyle=0;\r
-var goTocInfo=null;\r
-var gbTocInfoInited=false;\r
-var goWebSearch=null;\r
-var gsTBFontFamily="Arial";\r
-var gsTBFontSize="xx-small";\r
-var gsTBFontColor="#003063";\r
-var gsTBDarkColor="#808080";\r
-var gsTBLightColor="#FFFAFA";\r
-var gsTBSelectedBgColor="#639ace";\r
-var gsTBFontSelectedColor="#ffffff";\r
-var gaOnLoads=new Array();\r
-var goWebSearchEnable=true;\r
-\r
-var goShow=null;\r
-var goHide=null;\r
-var goHide2=null;\r
-var goSync=null;\r
-\r
-var goToc=null;\r
-var goIdx=null;\r
-var goFts=null;\r
-var goGlo=null;\r
-var goNext=null;\r
-var goPrev=null;\r
-\r
-var LAYOUT=1;\r
-var HLAYOUT=0;\r
-var VLAYOUT=1;\r
-var ALIGN=2;\r
-var BALIGN=0;\r
-var EALIGN=2;\r
-var goEl=null;\r
-var gnRE=0;\r
-\r
-var gnButtonLayout=0;\r
-var gnShowHide=-1;\r
-\r
-var gbEqualSize=false;\r
-var goCusButton=new Array();\r
-var gsBtnStyle="";\r
-var gaAvenues=null;\r
-var gsCurAveName="";\r
-\r
-var gsIToc=null;\r
-var gsITocS=null;\r
-var gsIIndex=null;\r
-var gsIIndexS=null;\r
-var gsISearch=null;\r
-var gsISearchS=null;\r
-var gsIGlossary=null;\r
-var gsIGlossaryS=null;\r
-var gsIBanner=null;\r
-var gsIGo=null;\r
-\r
-var gsIHide=null;\r
-var gsIPrev=null;\r
-var gsINext=null;\r
-var gsISync=null;\r
-var gsINextD=null;\r
-var gsIPrevD=null;\r
-var gsIWebSearch=null;\r
-var gsIWebSearchD=null;\r
-\r
-var gbAveButttnInited=false;\r
-var goNextParent=null;\r
-var goPrevParent=null;\r
-var gsSearchPrompt="- Search -";\r
-\r
-var gstrSearch="";\r
-var gbPreview=false;\r
-gbPreview=false; \r
-var gsSearchFormTitle="";\r
-var gnHasNavPane=-1;\r
-var gbInitBtn=false;\r
-var gaBtns=new Array();\r
-var gbWhTBar=false;\r
-var goTextFont=null;\r
-var goSelTextFont=null;\r
-var gsPane="";\r
-var gbNeedUpdateAve=false;\r
-var gbUpdateTimerCount=0;\r
-\r
-function setGoImage(sGoImage)\r
-{\r
-       if(sGoImage)\r
-       {\r
-               gsIGo=sGoImage;\r
-       }\r
-}\r
-\r
-function btnBgColor(sType,sColor)\r
-{\r
-       this.sType=sType;\r
-       this.sColor=sColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setAlignment(strAlignment)\r
-{\r
-       gnButtonLayout=0;\r
-       if(strAlignment=="left")\r
-       {\r
-               gnButtonLayout=HLAYOUT|BALIGN;\r
-       }\r
-       else if(strAlignment=="right")\r
-       {\r
-               gnButtonLayout=HLAYOUT|EALIGN;\r
-       }\r
-       else if(strAlignment=="top")\r
-       {\r
-               gnButtonLayout=VLAYOUT|BALIGN;\r
-       }\r
-       else if(strAlignment=="bottom")\r
-       {\r
-               gnButtonLayout=VLAYOUT|EALIGN;\r
-       }\r
-}\r
-\r
-function writeStyle(bMiniBar)\r
-{\r
-       var sStyle="";\r
-       sStyle+="<style type='text/css'>\n";\r
-       sStyle+="<!--\n";\r
-       sStyle+=".clsBtnNormal {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBNormal {\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnDisable {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="cursor:default;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBDisable {\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:default;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-\r
-       sStyle+=".clsNotBtn {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnUp{\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:1px;\n";\r
-               else\r
-                       sStyle+="padding:4px;\n";\r
-       sStyle+="border-bottom:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-left:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-right:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-top:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBUp{\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnDown{\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:1px;\n";\r
-               else\r
-                       sStyle+="padding:4px;\n";\r
-       sStyle+="border-bottom:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-left:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-right:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-top:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="color:"+gsTBFontColor+";\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";}\n";\r
-\r
-       sStyle+=".clsNoBDown{\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=getDefaultButtonFont();\r
-       sStyle+=gsBtnStyle;\r
-       sStyle+=".clsToolbarBackground{\n";\r
-       sStyle+="margin:2px;}\n";\r
-       sStyle+="-->\n";\r
-       sStyle+=" body {\n";\r
-       if (gsBgImage)\r
-               sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="border-top:black 1px solid;}\n";\r
-       sStyle+="-->\n";\r
-       sStyle+="</style>\n";\r
-       document.write(sStyle);\r
-}\r
-\r
-function button(sType,sText,nWidth,nHeight)\r
-{\r
-       this.sType=sType;\r
-       this.sText=sText;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       \r
-       this.aIs=new Array();\r
-       var i=0;\r
-       while(button.arguments.length>i+4)\r
-       {\r
-               if (button.arguments[4+i])\r
-                       this.aIs[i]=_getFullPath(_getPath(document.location.href),button.arguments[4+i]);\r
-               else\r
-                       this.aIs[i]="";\r
-               i++;\r
-       }\r
-}\r
-\r
-function getImage(oImage,sTitle)\r
-{\r
-       if(oImage.aIs[0])\r
-       {\r
-               var sI="";\r
-               if(sTitle=="")\r
-                       sTitle=oImage.sText;\r
-               sI+="<img alt=\""+sTitle+"\" src=\""+oImage.aIs[0]+"\"";\r
-               if(oImage.nWidth>0)\r
-                       sI+=" width="+oImage.nWidth;\r
-               if(oImage.nHeight>0)\r
-                       sI+=" height="+oImage.nHeight;\r
-               sI+=" border=0 align=\"absmiddle\">";\r
-               return sI;\r
-       }\r
-       return "";\r
-}\r
-\r
-function getCurrentAveName()\r
-{\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-               return oSelect.value;\r
-       else\r
-               return "";\r
-}\r
-\r
-function updateWebSearch(bEnable)\r
-{\r
-       var oWebSearch=getElement("btnwebsearch");\r
-       var oWebSearchParent=null;\r
-       if(oWebSearch)\r
-               oWebSearchParent=getParentNode(oWebSearch);\r
-       goWebSearchEnable=bEnable;\r
-       if(oWebSearchParent)\r
-       {\r
-               if(bEnable)\r
-                       enableButton(oWebSearchParent,goWebSearch);\r
-               else\r
-                       disableButton(oWebSearchParent,goWebSearch);\r
-       }\r
-\r
-}\r
-\r
-function setState(oEL,sState)\r
-{\r
-       if(gbNav6||gbOpera)\r
-               oEL.setAttribute("state",sState);\r
-       else\r
-               oEL.state=sState;       \r
-}\r
-\r
-function updateAvenueIfNeeded()\r
-{\r
-       gbUpdateTimerCount--;\r
-       if (gbNeedUpdateAve&&gbUpdateTimerCount==0)\r
-       {\r
-               updateAvenue();\r
-       }\r
-}\r
-\r
-function updateAvenue()\r
-{\r
-       var sSelect=getAvenueHTML(gaAvenues);\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-       {\r
-               if(gbNav6)\r
-               {\r
-                       var oParent=getParentNode(oSelect);\r
-                       \r
-                       if(oParent)\r
-                       {\r
-                               removeThis(oSelect);\r
-                               oParent.insertAdjacentHTML("afterBegin",sSelect);\r
-                       }\r
-               }\r
-               else\r
-                       oSelect.outerHTML=sSelect;      \r
-               oSelect=getElement("avenue");\r
-               if(isValidAvenue(gaAvenues,gsCurAveName))\r
-                       oSelect.value=gsCurAveName;\r
-       }\r
-       updateAveButton();\r
-}\r
-\r
-function initAveButtonObj()\r
-{\r
-       if(!gbAveButttnInited)\r
-       {\r
-               var oNext=getElement("btnavnext");\r
-               if(oNext)\r
-                       goNextParent=getParentNode(oNext);\r
-\r
-               var oPrev=getElement("btnavprev");\r
-               if(oPrev)\r
-                       goPrevParent=getParentNode(oPrev);\r
-       }\r
-       gbAveButttnInited=true;\r
-}\r
-\r
-function disableAveButton()\r
-{\r
-       initAveButtonObj();\r
-       if(goNextParent)\r
-               disableButton(goNextParent,goNext);\r
-       if(goPrevParent)\r
-               disableButton(goPrevParent,goPrev);\r
-}\r
-\r
-function disableButton(oEl,oBtn)\r
-{\r
-       setState(oEl,"disable");\r
-       var sPF=oEl.className.substring(0,6);\r
-       oEl.className=sPF+"Disable";\r
-       var oAs = getElementsByTag(oEl,"a");\r
-       if (oAs.length>0)\r
-       {\r
-               oAs[0].style.cursor="default";\r
-       }\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>3)\r
-       {\r
-               if(oBtn.aIs[3])\r
-                       oIs[0].src=oBtn.aIs[3];\r
-       }\r
-       else\r
-               oEl.style.visibility="hidden";\r
-}\r
-\r
-function enableButton(oEl,oBtn)\r
-{\r
-       setState(oEl,"normal");\r
-       if(oEl==goEl)\r
-       {\r
-               var sPF=oEl.className.substring(0,6);\r
-               oEl.className=sPF+"Up";\r
-       }\r
-       var oAs = getElementsByTag(oEl,"a");\r
-       if (oAs.length>0)\r
-       {\r
-               oAs[0].style.cursor="hand";\r
-       }\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>0)\r
-       {\r
-               if(oBtn.aIs[0])\r
-                       oIs[0].src=oBtn.aIs[0];\r
-       }\r
-       oEl.style.visibility="visible";\r
-}\r
-\r
-function updateAveButton()\r
-{\r
-       initAveButtonObj();     \r
-       var strAveName=getCurrentAvenue();\r
-       if(strAveName!="")\r
-       {\r
-               if(gaAvenues)\r
-               {\r
-                       for(var i=0;i<gaAvenues.length;i++)\r
-                       if(gaAvenues[i].sName==strAveName)\r
-                       {\r
-                               if(goNextParent)\r
-                               {\r
-                                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext!="")\r
-                                               enableButton(goNextParent,goNext);\r
-                                       else\r
-                                               disableButton(goNextParent,goNext);\r
-                               }\r
-                               if(goPrevParent)\r
-                               {\r
-                                       if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev!="")\r
-                                               enableButton(goPrevParent,goPrev);\r
-                                       else\r
-                                               disableButton(goPrevParent,goPrev);\r
-                               }       \r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var bNext=false;\r
-               var bPrev=false;\r
-               if(gaAvenues&&gaAvenues.length>0)\r
-               {\r
-                       for(var i=0;i<gaAvenues.length&&(!bNext||!bPrev);i++)\r
-                       {\r
-                               if(!bNext)\r
-                                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext!="")\r
-                                               bNext=true;     \r
-                               if(!bPrev)\r
-                                       if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev!="")\r
-                                               bPrev=true;     \r
-                       }\r
-               }\r
-               if(goNextParent)\r
-               {\r
-                       if(bNext)\r
-                               enableButton(goNextParent,goNext);\r
-                       else\r
-                               disableButton(goNextParent,goNext);\r
-               }\r
-               \r
-               if(goPrevParent)\r
-               {\r
-                       if(bPrev)\r
-                               enableButton(goPrevParent,goPrev);\r
-                       else\r
-                               disableButton(goPrevParent,goPrev);\r
-               }\r
-       }\r
-       \r
-}\r
-\r
-function isValidAvenue(aAvenues,sValue)\r
-{\r
-       if(aAvenues)\r
-       {\r
-               for(var i=0;i<aAvenues.length;i++)\r
-               {\r
-                       if(aAvenues[i].sName==sValue)\r
-                               return true;\r
-               }\r
-       }\r
-       return false;\r
-}\r
-\r
-function getAvenueHTML(aAvenues)\r
-{\r
-       var sSelect="<select id=\"avenue\" size=\"1\" name=\"avenue\" onchange=\"updateAveButton();\">";\r
-       sSelect+="<option value=\"\" selected> - Select Avenue - </option>";\r
-       if(aAvenues)\r
-       {\r
-               for(var i=0;i<aAvenues.length;i++)\r
-               {\r
-                       sSelect+="<option value=\""+aAvenues[i].sName+"\">"+aAvenues[i].sName+"</option>";\r
-               }\r
-       }\r
-       sSelect+="</select>";\r
-       return sSelect;\r
-}\r
-\r
-function addAvenueSelection()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETAVIAVENUES,this,1,new Object());\r
-       var sButton="";\r
-       if(SendMessage(oMsg))\r
-       {\r
-               sButton=getAvenueHTML(oMsg.oParam.aAvenues);\r
-       }\r
-       else\r
-       {\r
-               sButton=getAvenueHTML(null);\r
-       }\r
-       gaButtons[gaButtons.length]="<td NOWRAP align=\"center\" valign=\"middle\">"+sButton+"</td>";\r
-}\r
-\r
-function setSearchFormTitle(sTitle)\r
-{\r
-       gsSearchFormTitle=sTitle;\r
-}\r
-\r
-function highLightIfNeeded()\r
-{\r
-       if(document.searchForm.searchString.value==gsSearchPrompt)\r
-       {\r
-               document.searchForm.searchString.select();\r
-       }\r
-}\r
-\r
-function addSearchForm()\r
-{\r
-       var sPropmptString=gsSearchPrompt;\r
-\r
-       var nWidth=20;\r
-       if(!nWidth) nWidth=20;\r
-       if(gbNav4) nWidth=nWidth*.6;\r
-\r
-       if(gsSearchFormTitle)\r
-               sPropmptString="";\r
-       var sButton="<table id=\"searchInput\" CELLSPACING=0 CELLPADDING=1><tr><td valign=\"middle\" NOWRAP class=\"clsNotBtn\"><span class=\"btnsearchform\">"+_textToHtml(gsSearchFormTitle)+"</span></td><td NOWRAP valign=\"middle\"><input class=\"inputsearchform\" type=\"text\" onfocus=\"highLightIfNeeded();\" name=\"searchString\" value=\""+sPropmptString+"\" size=\""+nWidth+"\"></td>";\r
-       if(gbNav6)\r
-               sButton="<form id=\"searchInput\" name=\"searchForm\" method=\"POST\" action=\"javascript:searchB()\">"+sButton;\r
-       if("image"=="text")\r
-       {\r
-               sButton+="<td NOWRAP valign=\"middle\"><a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\"searchForm.submit(); return false;\"></a></td>";\r
-       }\r
-       else if("image"=="image"&&gsIGo)\r
-       {\r
-               sButton+="<td NOWRAP valign=\"middle\"><a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\"searchForm.submit(); return false;\">"\r
-               sButton+="<img alt=\"Go\" src=\""+gsIGo+"\" border=0 align=\"absmiddle\"></a></td>";\r
-       }\r
-       sButton+="</tr></table>";\r
-       if(gbNav6)\r
-               sButton+="</form>";\r
-       var nBtn=gaButtons.length;\r
-       gaButtons[nBtn]="<td NOWRAP align=\"center\" valign=\"middle\">"+sButton+"</td>";\r
-       gaTypes[nBtn]="searchform";\r
-}\r
-\r
-function getShowHide()\r
-{\r
-       var sText="";\r
-       var sI="";\r
-       if(hasNavPane())\r
-       {\r
-               if(goHide)\r
-               {\r
-                       if(gnShowHideStyle&BTN_TEXT)\r
-                               sText=goHide.sText;\r
-                       if(gnShowHideStyle&BTN_IMG)\r
-                       sI=getImage(goHide,"Hide");\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(goShow)\r
-               {\r
-                       if(gnShowHideStyle&BTN_TEXT)\r
-                               sText=goShow.sText;\r
-                       if(gnShowHideStyle&BTN_IMG)\r
-                               sI=getImage(goShow,"Show");\r
-               }\r
-       }\r
-       var sButton=genButton(sText,sI,gnShowHideStyle);\r
-       return sButton;\r
-}\r
-\r
-function addBanner(sImage)\r
-{\r
-       if(sImage)\r
-       {\r
-               var nBtn=gaButtons.length;\r
-               gaButtons[nBtn]="<td NOWRAP align=\"center\" valign=\"middle\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"javascript:void(0);\" onclick=\"showBanner();return false;\"><img alt=\"About WebHelp\"src=\""+sImage+"\" border=0 align=\"absmiddle\"></a></td>";\r
-               gaTypes[nBtn]="banner";\r
-       }\r
-}\r
-\r
-function showBanner()\r
-{\r
-       if (!gbPreview)\r
-       {\r
-               var nWidth=390;\r
-               var nHeight=204;\r
-               var     nScreenWidth=screen.width;\r
-               var     nScreenHeight=screen.height;\r
-               var nLeft=(nScreenWidth-nWidth)/2;\r
-               var nTop=(nScreenHeight-nHeight)/2;\r
-               if (gbIE4)\r
-               {\r
-                       if (gbIE5)\r
-                               nHeight+=20;\r
-                       else\r
-                               nHeight+=40;\r
-                       window.showModalDialog("whskin_banner.htm","","dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:no;status:no;scroll:no;help:no;center:yes;");\r
-               }\r
-               else\r
-                       window.open("whskin_banner.htm","banner","dependent,innerHeight="+nHeight+",innerWidth="+nWidth+",height="+nHeight+",width="+nWidth+",resizable=no,menubar=no,location=no,personalbar=no,status=no,scrollbar=no,toolbar=no,screenX="+nLeft+",screenY="+nTop);\r
-       }\r
-}\r
-\r
-function addButton(sType,nStyle,sTitle,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6)\r
-{\r
-       var sButton="";\r
-       var bMini=false;\r
-       var sText="";\r
-       var sI="";\r
-       var bState=false;\r
-       var nBtn=gaButtons.length;\r
-       var bHref=false;\r
-       if(sType=="show"&&isShowHideEnable())\r
-       {\r
-               var svTitle="Show Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnshowhide\" class=\"btnshow\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               goShow=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goShow;\r
-               if(gnShowHide!=-1)\r
-               {\r
-                       nBtn=gnShowHide;\r
-               }\r
-               else\r
-               {\r
-                       gnShowHide=nBtn;\r
-               }\r
-               sButton+=getShowHide();\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="hide"&&isShowHideEnable())\r
-       {\r
-               var svTitle="Hide Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnshowhide\" class=\"btnhide\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               goHide=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goHide;\r
-               if(gnShowHide!=-1)\r
-               {\r
-                       nBtn=gnShowHide;\r
-               }\r
-               else\r
-               {\r
-                       gnShowHide=nBtn;\r
-               }\r
-               sButton+=getShowHide();\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="hide2"&&(!gbNav4)&&(!gbOpera))\r
-       {\r
-               var svTitle="Hide Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnhide\" class=\"btnhide\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               if(!sI1)\r
-                       sI1=gsIHide;\r
-               goHide2=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goHide2;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goHide2.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goHide2,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="synctoc")\r
-       {\r
-               var svTitle="Sync TOC";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnsynctoc\" class=\"btnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsISync;\r
-               goSync=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goSync;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goSync.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goSync,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="toc")\r
-       {\r
-               var svTitle="Contents";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btntoc\" class=\"btntoc\" href=\"javascript:void(0);\" onclick=\"showToc();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIToc;\r
-               if(!sI2)\r
-                       sI2=gsITocS;\r
-               if(!sI4)\r
-                       sI4=gsITocS;\r
-               goToc=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goToc;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goToc.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goToc,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="idx")\r
-       {\r
-               var svTitle="Index";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnidx\" class=\"btnidx\" href=\"javascript:void(0);\" onclick=\"showIndex();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIIndex;\r
-               if(!sI2)\r
-                       sI2=gsIIndexS;\r
-               if(!sI4)\r
-                       sI4=gsIIndexS;\r
-               goIdx=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goIdx;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goIdx.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goIdx,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="fts")\r
-       {\r
-               var svTitle="Search";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnfts\" class=\"btnfts\" href=\"javascript:void(0);\" onclick=\"showFts();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsISearch;\r
-               if(!sI2)\r
-                       sI2=gsISearchS;\r
-               if(!sI4)\r
-                       sI4=gsISearchS;\r
-               goFts=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goFts;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goFts.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goFts,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="glo")\r
-       {\r
-               var svTitle="Glossary";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnglo\" class=\"btnglo\" href=\"javascript:void(0);\" onclick=\"showGlossary();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIGlossary;\r
-               if(!sI2)\r
-                       sI2=gsIGlossaryS;\r
-               if(!sI4)\r
-                       sI4=gsIGlossaryS;\r
-               goGlo=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goGlo;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goGlo.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goGlo,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="avnext")\r
-       {\r
-               var svTitle="Next Topic";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnavnext\" class=\"btnavnext\" href=\"javascript:void(0);\" onclick=\"goAveNext();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsINext;\r
-               if(!sI4)\r
-                       sI4=gsINextD;\r
-               goNext=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goNext;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goNext.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goNext,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="avprev")\r
-       {\r
-               var svTitle="Previous Topic";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnavprev\" class=\"btnavprev\" href=\"javascript:void(0);\" onclick=\"goAvePrev();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIPrev;\r
-               if(!sI4)\r
-                       sI4=gsIPrevD;\r
-               goPrev=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goPrev;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goPrev.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goPrev,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="blankblock")\r
-       {\r
-               gaButtons[nBtn]=null;\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-       else if(sType=="websearch")\r
-       {\r
-               var svTitle="WebSearch";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnwebsearch\" class=\"btnwebsearch\" href=\"javascript:void(0);\" onclick=\"doWebSearch();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIWebSearch;\r
-               if(!sI4)\r
-                       sI4=gsIWebSearchD;\r
-               goWebSearch=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goWebSearch;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goWebSearch.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goWebSearch,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-       }\r
-       else if(sType.indexOf("custom")==0)\r
-       {\r
-               var nCusBtnIdx=goCusButton.length;\r
-               goCusButton[nCusBtnIdx]=new cusButton(sType,sTitle,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goCusButton[nCusBtnIdx];\r
-               var re=new RegExp("\"","g");\r
-               var svTitle=sTitle.replace(re, "&quot;");\r
-               if(sHref&&sHref.length!=0)\r
-               {\r
-                       sButton="<a title=\""+svTitle+"\" id=\"btn"+sType+"\" class=\"btn"+sType+"\" target=\"bsscright\" href=\""+sHref+"\" onclick=\"cusOnClick("+nCusBtnIdx+");";\r
-                       bHref=true;\r
-               }\r
-               else\r
-                       sButton="<a title=\""+svTitle+"\" id=\"btn"+sType+"\" class=\"btn"+sType+"\" href=\"javascript:void(0);\" onclick=\"cusOnClick("+nCusBtnIdx+");return false;";\r
-               sButton+="\" onmouseover=\"cusOnMouseOver("+nCusBtnIdx+");\" title=\""+sType+"\">";\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=sTitle;\r
-               if(nStyle&BTN_IMG)\r
-                       sI+=getImage(goCusButton[nCusBtnIdx],sTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-       }\r
-       if(sButton.length!=0)\r
-       {\r
-               var btnClass="";\r
-               if(sText||bMini)\r
-                       btnClass="clsBtnNormal";\r
-               else\r
-                       btnClass="clsNoBNormal";\r
-\r
-               if(!bState)\r
-               {\r
-                       if(bHref)\r
-                               gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" onclick=\"onBtnClick(event);\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-                       else\r
-                               gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" onclick=\"onBtnClick(event);return false;\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-               }\r
-               else\r
-                       gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" state=\"up\" onclick=\"onBtnClick(event);return false;\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-\r
-       if(sType=="avenuesel")\r
-               addAvenueSelection();\r
-       else if(sType=="searchform")\r
-               addSearchForm();\r
-       else if(sType=="banner")\r
-       {\r
-               if(!sI1)\r
-                       sI1=gsIBanner;\r
-               addBanner(sI1);\r
-       }\r
-}\r
-\r
-function isShowHideEnable()\r
-{\r
-       if(gbIE4)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function genButton(sText,sI,nStyle)\r
-{\r
-       var sButton="";\r
-       var sShowText=_textToHtml(sText);\r
-       if (gbNav4 && !gbNav6)\r
-               sShowText += "&nbsp;";\r
-       if(sText!=""&&sI!="")\r
-       {\r
-               if(nStyle&BTN_IMG_TOP)\r
-                       sButton+=sI+"<br>"+ sShowText;\r
-               else if(nStyle&BTN_IMG_BOTTOM)\r
-                       sButton+=sText+"<br>"+sI;\r
-               else if(nStyle&BTN_IMG_RIGHT)\r
-                       sButton+=sText+"&nbsp;"+sI;\r
-               else\r
-                       sButton+=sI+"&nbsp;"+sShowText;\r
-       }\r
-       else if(sText!="")\r
-       {\r
-               sButton+=sShowText;\r
-       }\r
-       else if(sI!="")\r
-       {\r
-               sButton+=sI;\r
-       }\r
-       return sButton;\r
-}\r
-\r
-function searchB()\r
-{\r
-       var onMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null);\r
-       SendMessage(onMsg);\r
-\r
-       var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,document.searchForm.searchString.value);\r
-       if(!SendMessage(oMsg))\r
-               gstrSearch=document.searchForm.searchString.value;\r
-       else\r
-               gstrSearch="";\r
-}\r
-\r
-function ReSortToolbarButtons()\r
-{\r
-       var bSearchEnabled=isSearchEnabled();\r
-       var strOrder="";\r
-       var oMsg=new whMessage(WH_MSG_TOOLBARORDER,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               strOrder=oMsg.oParam;\r
-       }\r
-       if(strOrder.length>0)\r
-       {\r
-               gaOrders=strOrder.split("|");\r
-               var aTempButtons=new Array();\r
-               var ti=0;\r
-               for(var si=0;si<gaOrders.length;si++)\r
-               {\r
-                       if(gaOrders[si]!="searchform"||bSearchEnabled)\r
-                       {\r
-                               var sb=-1;\r
-                               for(var st=0;st<gaTypes.length;st++)\r
-                               {\r
-                                       if(gaOrders[si]==gaTypes[st])\r
-                                       {\r
-                                               sb=st;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(sb!=-1)\r
-                               {\r
-                                       aTempButtons[aTempButtons.length]=gaButtons[sb];\r
-                               }\r
-                       }\r
-               }\r
-               gaButtons=aTempButtons;\r
-       }\r
-}\r
-\r
-function isSyncEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function isAvenueEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISAVENUESUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function isSearchEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISSEARCHSUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function ReSortMinibarButtons()\r
-{\r
-       var bSyncEnabled=isSyncEnabled();\r
-       var bAvenueEnabled=isAvenueEnabled();\r
-       var strOrder="";\r
-       var oMsg=new whMessage(WH_MSG_MINIBARORDER,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               strOrder=oMsg.oParam;\r
-       }\r
-       if(strOrder.length>0)\r
-       {\r
-               gaOrders=strOrder.split("|");\r
-               var aTempButtons=new Array();\r
-               var ti=0;\r
-               for(var si=0;si<gaOrders.length;si++)\r
-               {\r
-                       if((gaOrders[si]!="synctoc"||bSyncEnabled)&&\r
-                               ((gaOrders[si]!="avnext"&&gaOrders[si]!="avprev")||bAvenueEnabled))\r
-                       {\r
-                               var sb=-1;\r
-                               for(var st=0;st<gaTypes.length;st++)\r
-                               {\r
-                                       if(gaOrders[si]==gaTypes[st])\r
-                                       {\r
-                                               sb=st;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(sb!=-1)\r
-                               {\r
-                                       aTempButtons[aTempButtons.length]=gaButtons[sb];\r
-                               }\r
-                       }\r
-               }\r
-               gaButtons=aTempButtons;\r
-       }\r
-}\r
-\r
-function writeToolBar()\r
-{\r
-       var sHTML="";\r
-       if(gaButtons.length>0)\r
-       {\r
-               var strHeight="100%";\r
-               var strWidth="100%";\r
-               if (gbNav4)\r
-               {\r
-                       strHeight=window.innerHeight-4;\r
-                       strWidth=window.innerWidth-4;\r
-               }\r
-               if (gbIE4)\r
-               {\r
-                       strHeight=document.body.clientHeight-4;\r
-                       strWidth=document.body.clientWidth-4;\r
-               }\r
-               if(gbNav6)\r
-                       sHTML="<table class=\"clsToolbarBackground\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\""+strHeight+"\" width=\""+strWidth+"\">";\r
-               else\r
-                       sHTML="<form name=\"searchForm\" method=\"POST\" action=\"javascript:searchB()\"><table class=\"clsToolbarBackground\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\""+strHeight+"\" width=\""+strWidth+"\">";\r
-               if((gnButtonLayout&LAYOUT)==HLAYOUT)\r
-               {\r
-                       sHTML+="<tr>";\r
-                       for(var i=0;i<gaButtons.length;i++)\r
-                       {\r
-                               if(gaButtons[i])\r
-                                       sHTML+=gaButtons[i];\r
-                               else\r
-                                       sHTML+="<td width=\"100%\"></td>";\r
-                       }\r
-                       sHTML+="</tr>";\r
-               }\r
-               else\r
-               {\r
-                       for(var i=0;i<gaButtons.length;i++)\r
-                       {\r
-                               if(gaButtons[i])\r
-                                       sHTML+="<tr width=\"100%\">"+gaButtons[i]+"</tr>";\r
-                               else\r
-                                       sHTML+="<tr height=\"100%\"><td></td></tr>";\r
-                       }\r
-               }\r
-               if(gbNav6)\r
-                       sHTML+="</table>";\r
-               else\r
-                       sHTML+="</table></form>";\r
-       }\r
-       document.write(sHTML);\r
-       if(document.body)\r
-               document.body.onselectstart=onSelect;\r
-       updateAveButton();\r
-}\r
-\r
-function hasNavPane()\r
-{\r
-       if(gnHasNavPane==-1)\r
-       {\r
-               gnHasNavPane=0;\r
-               var oParam=new Object();\r
-               oParam.bVisible=false;\r
-               var oMsg=new whMessage(WH_MSG_ISPANEVISIBLE,this,1,oParam);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       if(oParam.bVisible)\r
-                               gnHasNavPane=1;\r
-               }\r
-               \r
-       }\r
-       if(gnHasNavPane==1)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function getTocInfo()\r
-{\r
-       var oParam=new Object();\r
-       oParam.oTocInfo=null;\r
-       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               goTocInfo=oParam.oTocInfo;\r
-               gbTocInfoInited=true;\r
-       }\r
-}\r
-\r
-function onBtnClick(e)\r
-{\r
-       var oEl=null;\r
-       var oElo=null;\r
-       if(gbNav6)\r
-       {\r
-               oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oElo=event.srcElement;\r
-               oEl=oElo;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       if(oElo.tagName=="A"||oElo.tagName=="IMG") return true;\r
-       var oaA=getElementsByTag(oElo,"A");\r
-       if(oaA&&oaA.length)\r
-       {\r
-               var oA=oaA[0];\r
-               if(gbNav6)\r
-               {\r
-                       var sCmd=oA.getAttribute("onclick");\r
-                       var nCmd=sCmd.indexOf("return false;");\r
-                       if(nCmd!=-1);\r
-                               sCmd=sCmd.substring(0,nCmd);\r
-                       setTimeout(sCmd,1);\r
-               }\r
-               else\r
-                       oA.onclick();\r
-       }\r
-}\r
-\r
-function onBtnMouseDown(e,nBtn)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>2)\r
-       {\r
-               if(gaObjBtns[nBtn].aIs[2])\r
-                       oIs[0].src=gaObjBtns[nBtn].aIs[2];\r
-       }\r
-       var sState=getState(oEl);\r
-       if(sState!="disable")\r
-       {\r
-               oEl.className=sPF+"Down";\r
-       }\r
-}\r
-\r
-function onBtnMouseUp(e,nBtn)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>3)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[3])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[3];\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>0)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[0])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[0];\r
-               }\r
-       }\r
-       if(goEl==oEl)\r
-       {\r
-               if(sState!="down"&&sState!="disable")\r
-               {\r
-                       oEl.className=sPF+"Up";\r
-               }\r
-       }\r
-}\r
-\r
-function getState(oEl)\r
-{\r
-       var sState="";\r
-       if(gbNav6||gbOpera)\r
-               sState=oEl.getAttribute("state");\r
-       else\r
-               if(oEl.state)\r
-                       sState=oEl.state;\r
-       return sState;\r
-}\r
-\r
-function onBtnMouseOver(e,nBtn)\r
-{\r
-       markButton(e);\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               if(sState=="down")\r
-                       oEl.className=sPF+"Down";\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>4)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[4])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[4];\r
-               }\r
-       }\r
-       else\r
-       {\r
-               oEl.className=sPF+"Up";\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>1)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[1])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[1];\r
-               }\r
-       }\r
-}\r
-\r
-function onBtnMouseOut(e,nBtn)\r
-{\r
-       goEl=null;\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-       oEl=getParentNode(oEl);\r
-       if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>3)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[3])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[3];\r
-               }\r
-               if(sState=="down")\r
-                       oEl.className=sPF+"Down";\r
-       }\r
-       else\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>0)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[0])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[0];\r
-               }\r
-               oEl.className=sPF+"Normal";\r
-       }\r
-}\r
-\r
-function showToc()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showIndex()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showFts()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showGlossary()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function syncWithShow()\r
-{\r
-       if(!gbTocInfoInited)\r
-       {\r
-               getTocInfo();\r
-       }\r
-       if(goTocInfo)\r
-       {\r
-               showToc();\r
-               var oParam=goTocInfo;\r
-               var oMsg=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function markButton(e)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-               oEl=event.srcElement;\r
-       while(oEl&&oEl.tagName!="TD") oEl=getParentNode(oEl);\r
-       if(oEl)\r
-               goEl=oEl;\r
-}\r
-\r
-function showHidePane()\r
-{\r
-       var oMsg=null;\r
-       if(hasNavPane())\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);\r
-       else\r
-               oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function goAveNext()\r
-{\r
-       goAvenue(true);\r
-}\r
-\r
-function goAvePrev()\r
-{\r
-       goAvenue(false);\r
-}\r
-\r
-function doWebSearch()\r
-{\r
-       if (goWebSearchEnable)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_WEBSEARCH,this,1,null);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function goAvenue(bNext)\r
-{\r
-       var oMsg=null;\r
-       initAveButtonObj();\r
-       gsCurAveName=getCurrentAveName();\r
-       if(gbNav4&&!gbNav6)\r
-       {\r
-               if(bNext)\r
-               {\r
-                       gaAvenues=null;\r
-                       updateAvenue();\r
-                       oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-               else if(!bNext)\r
-               {\r
-                       gaAvenues=null;\r
-                       updateAvenue();\r
-                       oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(bNext&&goNextParent)\r
-               {\r
-                       var sState=getState(goNextParent);\r
-                       if(sState!="disable")\r
-                       {\r
-                               gaAvenues=null;\r
-                               gbNeedUpdateAve=true;\r
-                               gbUpdateTimerCount++;\r
-                               setTimeout("updateAvenueIfNeeded();", 2000);\r
-                               oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-               else if(!bNext&&goPrevParent)\r
-               {\r
-                       var sState=getState(goPrevParent);\r
-                       if(sState!="disable")\r
-                       {\r
-                               gaAvenues=null;\r
-                               gbNeedUpdateAve=true;\r
-                               gbUpdateTimerCount++;\r
-                               setTimeout("updateAvenueIfNeeded();", 2000);\r
-                               oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       if(!gbNav4||gbNav6)\r
-       {\r
-               UnRegisterListener2(this,WH_MSG_GETSEARCHS);\r
-               UnRegisterListener2(this,WH_MSG_PANESTATUE);\r
-               UnRegisterListener2(this,WH_MSG_SYNCINFO);\r
-               UnRegisterListener2(this,WH_MSG_PANEINFO);\r
-               UnRegisterListener2(this,WH_MSG_AVENUEINFO);\r
-               UnRegisterListener2(this,WH_MSG_GETCURRENTAVENUE);\r
-               UnRegisterListener2(this,WH_MSG_ENABLEWEBSEARCH);\r
-               UnRegisterListener2(this,WH_MSG_INITSEARCHSTRING);\r
-               UnRegisterListener2(this,WH_MSG_NOSEARCHINPUT);\r
-               UnRegisterListener2(this,WH_MSG_NOSYNC);\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(!gbOpera7&&document.body)\r
-       {\r
-               if(gsBgImage&&gsBgImage.length>0)\r
-               {\r
-                       document.body.background=gsBgImage;\r
-               }\r
-               if(gsBgColor&&gsBgColor.length>0)\r
-               {\r
-                       document.body.bgColor=gsBgColor;\r
-               }\r
-       }\r
-       doCusOnLoad();\r
-       var oMsg=new whMessage(WH_MSG_GETPANEINFO,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               setTimeout("flipPaneButton(\""+oMsg.oParam+"\");",1);\r
-       }\r
-       if (!gaAvenues)\r
-       {\r
-               var oMsg2=new whMessage(WH_MSG_GETAVIAVENUES,this,1,new Object());\r
-               if(SendMessage(oMsg2))\r
-               {\r
-                       gaAvenues=oMsg2.oParam.aAvenues;\r
-                       gbNeedUpdateAve=false;\r
-                       setTimeout("updateAvenue();",1);\r
-               }\r
-       }\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_GETSEARCHS)\r
-       {\r
-               if(document.searchForm&&document.searchForm.searchString)\r
-               {\r
-                       oMsg.oParam.sValue=document.searchForm.searchString.value;\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PANESTATUE)\r
-       {\r
-               if(oMsg.oParam=="visible")\r
-               {\r
-                       if(isShowHideEnable())\r
-                               setTimeout("flipShowHide(true);",1);\r
-                       setTimeout("showPaneButton();",1);\r
-               }\r
-               else\r
-               {\r
-                       if(isShowHideEnable())\r
-                               setTimeout("flipShowHide(false);",1);\r
-                       setTimeout("hidePaneButton();",1);\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PANEINFO)\r
-       {\r
-               if(oMsg.oParam)\r
-                       setTimeout("flipPaneButton(\""+oMsg.oParam+"\");",1);\r
-               else\r
-                       setTimeout("hidePaneButton();",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_SYNCINFO)\r
-       {\r
-               if(oMsg.oParam)\r
-                       goTocInfo=oMsg.oParam;\r
-               else\r
-                       goTocInfo=null;\r
-               gbTocInfoInited=true;\r
-       }\r
-       else if(nMsgId==WH_MSG_AVENUEINFO)\r
-       {\r
-               gaAvenues=oMsg.oParam;\r
-               gbNeedUpdateAve=false;\r
-               setTimeout("updateAvenue();",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_GETCURRENTAVENUE)\r
-       {\r
-               var sAveName=getCurrentAvenue();\r
-               if(sAveName!="")\r
-               {\r
-                       oMsg.oParam.sAvenue=sAveName;\r
-                       return false;\r
-               }\r
-               else\r
-                       return true;\r
-       }\r
-       else if(nMsgId==WH_MSG_ENABLEWEBSEARCH)\r
-       {\r
-               setTimeout("updateWebSearch("+oMsg.oParam+");",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_INITSEARCHSTRING)\r
-       {\r
-               if(gstrSearch!="")\r
-               {\r
-                       oMsg.oParam=gstrSearch;\r
-                       gstrSearch="";\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_NOSEARCHINPUT)\r
-       {\r
-               var oSearchInput = getElement("searchInput");\r
-               if (oSearchInput)\r
-               {\r
-                       oSearchInput.style.visibility = "hidden";\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_NOSYNC)\r
-       {\r
-               var oSync = getElement("btnsynctoc");\r
-               if (oSync)\r
-               {\r
-                       oSync.style.visibility = "hidden";\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function getCurrentAvenue()\r
-{\r
-       var strAveName="";\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-       {\r
-               strAveName=oSelect.value;\r
-       }\r
-       return strAveName;\r
-}\r
-\r
-function initBtn()\r
-{\r
-       var oBtn=null;\r
-       oBtn=getElement("btntoc");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnidx");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnfts");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnglo");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       gbInitBtn=true;\r
-}\r
-\r
-function showPaneButton()\r
-{\r
-       flipPaneButton(gsPane);\r
-}\r
-\r
-function hidePaneButton()\r
-{\r
-       flipPaneButton("");\r
-}\r
-\r
-function flipPaneButton(sPane)\r
-{\r
-       if (sPane)\r
-               gsPane=sPane;\r
-       if(!gbInitBtn)\r
-               initBtn();\r
-\r
-       var oUp=null;\r
-       if(sPane)\r
-       {\r
-               oUp=getElement("btn"+sPane);\r
-       }\r
-       for(var i=0;i<gaBtns.length;i++)\r
-       {\r
-               if(gaBtns[i])\r
-               {\r
-                       if(gaBtns[i]==oUp)\r
-                       {\r
-                               var oEl=getParentNode(oUp);\r
-                               var sPF=oEl.className.substring(0,6);\r
-                               var sState=getState(oEl);\r
-                               if(sState=="up")\r
-                               {\r
-                                       setState(oEl,"down");\r
-                                       oEl.className=sPF+"Down";\r
-                                       if(sPF=="clsBtn")\r
-                                       {\r
-                                               if(gaBtns[i].id)\r
-                                               {\r
-                                                       var sColor=getBtnColor(gaBtns[i].id.substring(3),true);\r
-                                                       if(sColor)\r
-                                                       {\r
-                                                               oEl.style.backgroundColor=sColor\r
-                                                       }\r
-                                                       else\r
-                                                       {\r
-                                                               oEl.style.backgroundColor="";\r
-                                                       }\r
-                                               }\r
-                                               var oaA=getElementsByTag(oEl,"A");\r
-                                               if(oaA.length>0)\r
-                                               {\r
-                                                       var strClassName=oaA[0].className;\r
-                                                       oaA[0].className="btnsel"+strClassName.substring(3);\r
-                                               }\r
-                                       }\r
-                                       var oIs=getElementsByTag(oEl,"img");\r
-                                       var oBtn=getButtonObjByType(gaBtns[i].id.substring(3));\r
-                                       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>3)\r
-                                       {\r
-                                               if(oBtn.aIs[3])\r
-                                                       oIs[0].src=oBtn.aIs[3];\r
-                                       }\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               var oEl=getParentNode(gaBtns[i]);\r
-                               var sState=getState(oEl);\r
-                               var sPF=oEl.className.substring(0,6);\r
-                               if(sState=="down")\r
-                               {\r
-                                       setState(oEl,"up");\r
-                                       if(oEl==goEl)\r
-                                               oEl.className=sPF+"Up";\r
-                                       else\r
-                                               oEl.className=sPF+"Normal";\r
-\r
-                                       if(sPF=="clsBtn")\r
-                                       {\r
-                                               if(gaBtns[i].id)\r
-                                               {\r
-                                                       var sColor=getBtnColor(gaBtns[i].id.substring(3),false);\r
-                                                       if(sColor)\r
-                                                       {\r
-                                                               oEl.style.backgroundColor=sColor\r
-                                                       }\r
-                                                       else\r
-                                                       {\r
-                                                               oEl.style.backgroundColor="";\r
-                                                       }\r
-                                               }\r
-\r
-                                               var oaA=getElementsByTag(oEl,"A");\r
-                                               if(oaA.length>0)\r
-                                               {\r
-                                                       var strClassName=oaA[0].className;\r
-                                                       oaA[0].className="btn"+strClassName.substring(6);\r
-                                               }\r
-                                       }\r
-                                       var oIs=getElementsByTag(oEl,"img");\r
-                                       var oBtn=getButtonObjByType(gaBtns[i].id.substring(3));\r
-                                       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>0)\r
-                                       {\r
-                                               if(oBtn.aIs[0])\r
-                                                       oIs[0].src=oBtn.aIs[0];\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function flipShowHide(bShow)\r
-{\r
-       gnHasNavPane=-1;        \r
-       var oA=getElement("btnshowhide");\r
-       if(oA)\r
-       {\r
-               var oEl=getParentNode(oA);\r
-               var sPF=oEl.className.substring(0,6);\r
-               if(oEl&&oEl.state)\r
-               {\r
-                       if(bShow)\r
-                       {\r
-                               oEl.state="down";\r
-                               oEl.className=sPF+"Down";\r
-                       }\r
-                       else\r
-                       {\r
-                               oEl.state="up";\r
-                               \r
-                               if(oEl==goEl)\r
-                                       oEl.className=sPF+"Up";\r
-                               else\r
-                                       oEl.className=sPF+"Normal";\r
-                       }\r
-               }\r
-               oA.innerHTML=getShowHide();\r
-       }\r
-}\r
-\r
-function cusOnClick(nIdx)\r
-{\r
-       if(goCusButton.length>nIdx)\r
-       {\r
-               var sOnClick=goCusButton[nIdx].sOnClick;\r
-               if(sOnClick&&sOnClick.length>0)\r
-               {\r
-                       if(!gbPreview)\r
-                               eval(sOnClick);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function cusOnMouseOver(nIdx)\r
-{\r
-       if(goCusButton.length>nIdx)\r
-       {\r
-               var sOnMouseOver=goCusButton[nIdx].sOnMouseOver;\r
-               if(sOnMouseOver&&sOnMouseOver.length>0)\r
-               {\r
-                       if(!gbPreview)\r
-                               eval(sOnMouseOver);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function doCusOnLoad()\r
-{\r
-       if(!gbPreview&&gaOrders)\r
-       {\r
-               for(var i=0;i<gaOrders.length;i++)\r
-               {\r
-                       for(var j=0;j<gaOnLoads.length;j++)\r
-                       {\r
-                               if(gaOrders[i]==gaOnLoads[j].sType)\r
-                               {\r
-                                       eval(gaOnLoads[j].sOnLoad);\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function registerOnLoad(sOnLoad,sType)\r
-{\r
-       gaOnLoads[gaOnLoads.length]=new cusOnLoad(sType,sOnLoad);       \r
-}\r
-\r
-function cusOnLoad(sType,sOnLoad)\r
-{\r
-       this.sType=sType;\r
-       this.sOnLoad=sOnLoad;\r
-}\r
-\r
-function cusButton(sType,sText,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight)\r
-{\r
-       this.sType=sType;\r
-       this.sText=sText;\r
-       this.sOnClick=sOnClick;\r
-       this.sOnMouseOver=sOnMouseOver;\r
-       this.sOnLoad=sOnLoad;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       this.aIs=new Array();\r
-       var i=0;\r
-       while(cusButton.arguments.length>i+7)\r
-       {\r
-               if (cusButton.arguments[7+i])\r
-                       this.aIs[i]=_getFullPath(_getPath(document.location.href),cusButton.arguments[7+i]);\r
-               else\r
-                       this.aIs[i]="";\r
-               i++;\r
-       }\r
-       if(sOnLoad)\r
-       {\r
-               registerOnLoad(sOnLoad,sType);\r
-       }\r
-}\r
-\r
-function getBtnColor(sType,bSel)\r
-{\r
-       var aBtnColors=null;\r
-       if(bSel)\r
-               aBtnColors=gaSelBtnBgColor;\r
-       else\r
-               aBtnColors=gaBtnBgColor;\r
-       if(aBtnColors)\r
-       {\r
-               for(var i=0;i<aBtnColors.length;i++)\r
-               {\r
-                       if(aBtnColors[i].sType==sType)\r
-                               return aBtnColors[i].sColor;\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function setButtonBgColor(sType,sColor,bSel)\r
-{\r
-       if(sColor)\r
-       {\r
-               var aBtnColors=null;\r
-               if(bSel)\r
-                       aBtnColors=gaSelBtnBgColor;\r
-               else\r
-                       aBtnColors=gaBtnBgColor;\r
-               if(aBtnColors!=null)\r
-               {\r
-                       for(var i=0;i<aBtnColors.length;i++)\r
-                       {\r
-                               if(aBtnColors[i].sType==sType)\r
-                               {\r
-                                       aBtnColors[i].sColor=sColor;\r
-                                       return;\r
-                               }\r
-                       }\r
-                       aBtnColors[aBtnColors.length]=new btnBgColor(sType,sColor);\r
-               }\r
-       }\r
-}\r
-\r
-function getDefaultButtonFont()\r
-{\r
-       var strFontStyle="";\r
-       for(var i=0;i<gaTypes.length;i++)\r
-       {\r
-               strFontStyle+=".btnsel"+gaTypes[i]+"{"+getFontStyle(goSelTextFont)+"}";\r
-               strFontStyle+=".btn"+gaTypes[i]+"{"+getFontStyle(goTextFont)+"}";\r
-       }\r
-       return strFontStyle;\r
-}\r
-\r
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration,bSel)\r
-{\r
-       if(sFontName)\r
-       {\r
-               var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-               if(bSel)\r
-                       gsBtnStyle+=".btnsel"+sType+"{"+getFontStyle(vFont)+"}\n";\r
-               else\r
-                       gsBtnStyle+=".btn"+sType+"{"+getFontStyle(vFont)+"}\n";\r
-       }\r
-       if (sType=="searchform"&&!bSel)\r
-       {\r
-               var vFont1=new whFont(sFontName,sFontSize,"black",sFontStyle,sFontWeight,sFontDecoration);\r
-               gsBtnStyle+=".inputsearchform {" + getFontStyle(vFont1)+"}\n";\r
-       }\r
-}\r
-\r
-function getButtonObjByType(sType)\r
-{\r
-       for(var i=0;i<gaObjBtns.length;i++)\r
-       {\r
-               if(gaObjBtns[i].sType==sType)\r
-                       return gaObjBtns[i];\r
-       }\r
-       return null;\r
-}\r
-\r
-function onSelect()\r
-{\r
-       if (event.srcElement&&event.srcElement.name)\r
-       {\r
-               if (event.srcElement.name=="searchString")\r
-                       return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-function window_onResize()\r
-{\r
-       gnRE++;\r
-       setTimeout("tryReload();", 100);\r
-}\r
-\r
-function tryReload()\r
-{\r
-       if (gnRE==1)\r
-               document.location.reload();\r
-       gnRE--;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_GETSEARCHS);\r
-       RegisterListener2(this,WH_MSG_PANESTATUE);\r
-       RegisterListener2(this,WH_MSG_SYNCINFO);\r
-       RegisterListener2(this,WH_MSG_PANEINFO);\r
-       RegisterListener2(this,WH_MSG_AVENUEINFO);\r
-       RegisterListener2(this,WH_MSG_GETCURRENTAVENUE);\r
-       RegisterListener2(this,WH_MSG_ENABLEWEBSEARCH);\r
-       RegisterListener2(this,WH_MSG_INITSEARCHSTRING);\r
-       RegisterListener2(this,WH_MSG_NOSEARCHINPUT);\r
-       RegisterListener2(this,WH_MSG_NOSYNC);\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onunload=window_Unload;\r
-       window.onresize=window_onResize;\r
-       goTextFont=new whFont("Verdana","8pt","#003063","normal","normal","none");\r
-       goSelTextFont=new whFont("Verdana","8pt","white","normal","normal","none");\r
-       gbWhTBar=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
diff --git a/doc/salome/gui/GEOM/whtdhtml.htm b/doc/salome/gui/GEOM/whtdhtml.htm
deleted file mode 100755 (executable)
index c3eeecb..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>\r
-<head>\r
-<title>Table of contents</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whthost.js"></script>\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-if (window.gbWhTHost)\r
-{\r
-       setBackgroundcolor( "White");  \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       setIcon("BookOpen","wht_toc2.gif");\r
-       setIcon("BookClose","wht_toc1.gif");\r
-       setIcon("Item","wht_toc3.gif");\r
-       setIcon("RemoteItem","wht_toc4.gif");\r
-       \r
-       \r
-       \r
-       \r
-       TocWriteClassStyle();\r
-       TocWriteFixedWidth(true,400);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white" scroll="auto">\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-TocWriteFixedWidth(false,400);\r
-TocInitPage();\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whthost.js b/doc/salome/gui/GEOM/whthost.js
deleted file mode 100755 (executable)
index 54ddc9a..0000000
+++ /dev/null
@@ -1,1504 +0,0 @@
-//     WebHelp 5.10.007\r
-var gaHSLoad=new Array();\r
-var gnMinIdx=0;\r
-var gnInsIdx=-1;\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading, click here to cancel...";\r
-var gaProj=null;\r
-var gaTocs=new Array();\r
-var goChunk=null;\r
-var gbReady=false;\r
-var gbToc=false;\r
-var gbXML=false;\r
-var gaRoot=new Array();\r
-var gnCC=-1;\r
-var gsTP="";\r
-var gaBTPs="";\r
-var gsCTPath="";\r
-var gnLT=-1;\r
-var gsPathSplit="\n";\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goFont=null;\r
-var goHFont=null;\r
-\r
-var gsMargin="0pt";\r
-var gsIndent="15pt";\r
-var gsABgColor="#cccccc";\r
-\r
-var giBookClose="";\r
-var giBookOpen="";\r
-var giBookItem="";\r
-var giURLItem="";\r
-var giNewBookClose="";\r
-var giNewBookOpen="";\r
-var giNewBookItem="";\r
-var giNewURLItem="";\r
-var gnImages=0;\r
-var gnLoadedImages=0;\r
-var gaImgs=new Array();\r
-var gbLoadData=false;\r
-var gobj=null;\r
-var gaTocsNs61Fix=null;\r
-var gbWhTHost=false;\r
-var gBookItems=new Array();\r
-var gInSync=false;\r
-var gbLData=false;\r
-var gbNeedFillStub=false;\r
-var gbLoadToc=false;\r
-\r
-function chunkInfoQueue()\r
-{\r
-       this.aContent=new Array();\r
-       this.inQueue=function(cInfo)\r
-       {\r
-               this.aContent[this.aContent.length]=cInfo;\r
-       }\r
-       this.deQueue=function()\r
-       {\r
-               var cInfo=null;\r
-               if(this.aContent.length>0)\r
-               {\r
-                       cInfo=this.aContent[0];\r
-                       for(var i=1;i<this.aContent.length;i++)\r
-                               this.aContent[i-1]=this.aContent[i];\r
-                       this.aContent.length--;\r
-               }\r
-               return cInfo;\r
-       }\r
-       this.length=function()\r
-       {\r
-               return this.aContent.length;\r
-       }\r
-}\r
-\r
-var gchunkRequestQueue=new chunkInfoQueue();\r
-\r
-function chunkInfo(nIdx, bLocal)\r
-{\r
-       this.nIdx=nIdx;\r
-       this.bLocal=bLocal;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal") goFont=vFont;\r
-       else if(sType=="Hover") goHFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor){gsABgColor=sBgColor;}\r
-\r
-function setMargin(sMargin){gsMargin=sMargin;}\r
-\r
-function setIndent(sIndent){gsIndent=sIndent;}\r
-\r
-function setIcon(sType,sURL)\r
-{\r
-       if(sType=="BookOpen")\r
-               giBookOpen=sURL;\r
-       else if(sType=="BookClose")\r
-               giBookClose=sURL;\r
-       else if(sType=="Item")\r
-               giBookItem=sURL;\r
-       else if(sType=="RemoteItem")\r
-               giURLItem=sURL;\r
-       else if(sType=="NewBookClose")\r
-               giNewBookClose=sURL;\r
-       else if(sType=="NewBookOpen")\r
-               giNewBookOpen=sURL;\r
-       else if(sType=="NewItem")\r
-               giNewBookItem=sURL;\r
-       else if(sType=="NewRemoteItem")\r
-               giNewURLItem=sURL;              \r
-}\r
-\r
-function bookItem(sTarget,sURL)\r
-{\r
-       if(sTarget)\r
-               this.sTarget=sTarget;\r
-       else\r
-               this.sTarget="bsscright";\r
-       this.sURL=sURL;\r
-}\r
-\r
-function addBookItem(sBookId,sTarget,sURL)\r
-{\r
-       gBookItems[sBookId]=new bookItem(sTarget,sURL);         \r
-}\r
-\r
-function tocChunk(sPPath,sDPath)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.nMI=-1;\r
-       this.aTocs=null;\r
-}\r
-\r
-function addTocChunk(sPPath,sDPath)\r
-{\r
-       var oChunk=new tocChunk(sPPath,sDPath);\r
-       gaTocs[gaTocs.length]=oChunk;\r
-       return oChunk;\r
-}\r
-\r
-function isHSLoad(nIdx)\r
-{\r
-       for(var i=0;i<gaHSLoad.length;i++)\r
-               if(gaHSLoad[i]==nIdx)\r
-                       return true;\r
-       return false;\r
-}\r
-\r
-function setHSLoad(nIdx)\r
-{\r
-       if(!isHSLoad(nIdx))\r
-       {\r
-               var len=gaHSLoad.length;\r
-               for(var i=0;i<len;i++)\r
-                       if(gaHSLoad[i]==-1)\r
-                       {\r
-                               gaHSLoad[i]=nIdx;\r
-                               return;\r
-                       }\r
-               gaHSLoad[len]=nIdx;\r
-       }\r
-}\r
-\r
-function setHSUnLoad(nIdx)\r
-{\r
-       if(isHSLoad(nIdx))\r
-       {\r
-               for(var i=0;i<gaHSLoad.length;i++)\r
-                       if(gaHSLoad[i]==nIdx)\r
-                       {\r
-                               gaHSLoad[i]=-1;\r
-                               return;\r
-                       }\r
-       }\r
-}\r
-\r
-function removeLoadingDiv()\r
-{\r
-       var eLoadingDiv=getElement(gsLoadingDivID);\r
-       if(eLoadingDiv)\r
-               removeThis(eLoadingDiv);\r
-}\r
-\r
-function checkBookItem(nIdx)\r
-{\r
-       if(!gInSync)\r
-       {\r
-               var sBookId=getBookId(nIdx);\r
-               if(gBookItems[sBookId])\r
-               {\r
-                       window.open(gBookItems[sBookId].sURL,gBookItems[sBookId].sTarget);\r
-               }\r
-       }\r
-}\r
-\r
-function insertBookItems(nIdx,num)\r
-{\r
-       checkBookItem(nIdx);\r
-       var sChildBookId=getCBId(nIdx);\r
-       var eChildDiv=getElement(sChildBookId);\r
-       if(eChildDiv){\r
-               if((eChildDiv.childNodes&&eChildDiv.childNodes.length==0)||\r
-                       (eChildDiv.all&&eChildDiv.all.length==0)){\r
-                       var sHTML=writeBookItems(nIdx,num);\r
-                       eChildDiv.innerHTML=sHTML;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-       }\r
-       ExpandIt(nIdx);\r
-}\r
-\r
-function isBookEmpty(nIdx)\r
-{\r
-       var num=getItemContentsNum(nIdx);\r
-       if (num>0)\r
-       {\r
-               var nCIdx=0;\r
-               do {\r
-                       nCIdx++;\r
-                       var i=nIdx+nCIdx;\r
-                       var nItemType=getItemType(i);\r
-                       if(nItemType==1){\r
-                               if (!isBookEmpty(i))\r
-                                       return false;\r
-                       }\r
-                       else if(nItemType==4){\r
-                               var     sSrc=getRefURL(i);\r
-                               var nProj=getProject(sSrc);\r
-                               if(nProj!=-1){\r
-                                       sSrc=gaRoot[nProj].sToc;\r
-                                       if(sSrc)\r
-                                               return false;\r
-                               }\r
-                       }\r
-                       else if(nItemType==2||nItemType==16||nItemType==8)\r
-                               return false;\r
-               } while(nCIdx<num);\r
-       }\r
-       return true;\r
-}\r
-\r
-function writeBook(nIdx)\r
-{\r
-       var sIcon=getBookImage(nIdx,true);\r
-       var sName=_textToHtml(getItemName(nIdx));\r
-       sIcon=_textToHtml_nonbsp(sIcon);\r
-       \r
-       var nType=getItemType(nIdx);\r
-       var bLocal=(nType==1);\r
-       var bLocalProject=(nType!=4);\r
-       \r
-       var sHTML="<div id=\""+getPBId(nIdx)+"\" class=";\r
-       if(bLocal)\r
-       {\r
-               if (!isBookEmpty(nIdx))\r
-               {\r
-                       sHTML+="parent><p><nobr><a id=\""+getBookId(nIdx)+"\" href=\"javascript:void(0);\" onfocus=\"markBook("+nIdx+");\" onclick=\"";\r
-                       sHTML+="insertBookItems("+nIdx+", "+getItemContentsNum(nIdx);\r
-                       sHTML+=");return false;\" title=\""+sName+"\"><img alt=\"Book\" name=\""+getBId(nIdx)+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">";\r
-                       sHTML+="&nbsp;"+sName+"</a></nobr></p></div>";\r
-                       var sURL=_textToHtml_nonbsp(getItemURL(nIdx));\r
-                       if(sURL!="")\r
-                               addBookItem(getBookId(nIdx),_textToHtml_nonbsp(getTopicTarget(nIdx)),sURL);\r
-                       sHTML+="<div id=\""+getCBId(nIdx)+"\" class=child></div>";\r
-               }\r
-               else\r
-                       sHTML="";\r
-       }\r
-       else\r
-       {\r
-               sHTML+="stub></div>";\r
-               gbNeedFillStub=true;\r
-               setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-function checkFillStub()\r
-{\r
-       if(!gbLData)\r
-       {\r
-               if(gchunkRequestQueue.length()>0)\r
-               {\r
-                       var cInfo=gchunkRequestQueue.deQueue();\r
-                       if(cInfo)\r
-                       {\r
-                               fillStub(cInfo.nIdx,cInfo.bLocal);\r
-                               return;\r
-                       }\r
-               }\r
-       }\r
-       if(gbNeedFillStub)\r
-       {\r
-               gbNeedFillStub=false;\r
-               setTimeout("syncInit()",1);\r
-       }\r
-}\r
-\r
-function fillStub(nIdx,bLocalProject)\r
-{\r
-       if(!gbLData)\r
-       {\r
-               gbLData=true;\r
-               var sObj=getElement(getPBId(nIdx));\r
-               if(sObj!=null)\r
-               {\r
-                       tocExpandHelpSet(nIdx,bLocalProject);\r
-                       gbNeedFillStub=false;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-               else\r
-                       setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);\r
-       }\r
-       else\r
-               gchunkRequestQueue.inQueue(new chunkInfo(nIdx,bLocalProject));\r
-}\r
-\r
-function getBookId(nIdx){return "B_"+nIdx;}\r
-\r
-function getItemId(nIdx){return "I_"+nIdx;}\r
-\r
-function markBook(nIdx)\r
-{\r
-       var obj=getElement(getItemId(nIdx));\r
-       if(obj==null)\r
-               obj=getElement(getBookId(nIdx));\r
-       if(gbNav6)\r
-       {\r
-               gobj=obj;\r
-               setTimeout("delayMarkObj();",1);\r
-       }\r
-       else\r
-               markObj(obj);\r
-}\r
-\r
-function delayMarkObj()\r
-{\r
-       if(gobj)\r
-       {\r
-               markObj(gobj);\r
-               gobj=null;\r
-       }\r
-}\r
-\r
-function markObj(obj)\r
-{\r
-       if(obj!=null)\r
-       {\r
-               HighLightElement(obj,gsABgColor,"transparent");\r
-               var sPath=calTocPath(obj);\r
-               if(gsCTPath!=sPath)\r
-                       gsCTPath=sPath;\r
-       }\r
-}\r
-\r
-function markItem(nIdx)\r
-{\r
-       var obj=getElement(getItemId(nIdx));\r
-       if(gbNav6)\r
-       {\r
-               gobj=obj;\r
-               setTimeout("delayMarkObj();",1);\r
-       }\r
-       else\r
-               markObj(getElement(getItemId(nIdx)));\r
-}\r
-\r
-function calTocPath(obj)\r
-{\r
-       var sPath=getInnerText2(obj);\r
-       var pObj=getParentNode(obj);\r
-       do\r
-       {\r
-               while(pObj!=null&&!isCBId(pObj.id)) pObj=getParentNode(pObj);\r
-               if(pObj!=null)\r
-               {\r
-                       var nId=getIdByCBId(pObj.id);\r
-                       var sObj=getElement(getPBId(nId));\r
-                       if(sObj!=null)\r
-                       {\r
-                               var objs=getItemsByBook(sObj);\r
-                               for(var i=0;i<objs.length;i++)\r
-                               {\r
-                                       var sText=getInnerText2(objs[i]);\r
-                                       if(sText.length!=0)\r
-                                       {\r
-                                               sPath=sText+gsPathSplit+sPath;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                       }\r
-                       pObj=getParentNode(pObj);\r
-               }\r
-       }while(pObj!=null);\r
-       return sPath;\r
-}\r
-\r
-function writeAnItem(nIdx)\r
-{\r
-       var sTarget=_textToHtml_nonbsp(getTopicTarget(nIdx));\r
-       var sIcon=getItemIcon(nIdx,0);\r
-       if(sIcon=="")\r
-       {\r
-               var nItemType=getItemType(nIdx);\r
-               if(nItemType&2)\r
-                       sIcon=getItemImage(nIdx,false);\r
-               else\r
-                       sIcon=getItemImage(nIdx,true);\r
-       }\r
-       sIcon=_textToHtml_nonbsp(sIcon);\r
-       var sName=_textToHtml(getItemName(nIdx));\r
-       var sHTML="<p><nobr><a id=\""+getItemId(nIdx)+"\" onfocus=\"markItem("+nIdx+");\""\r
-       var sAltString="";\r
-       if(nItemType&2)\r
-               sAltString="Page";\r
-       else\r
-               sAltString="Remote Page";\r
-       if(sTarget!="")\r
-               sHTML+="target=\""+sTarget+"\" ";\r
-       sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\" title=\""+sName+"\"><img alt=\""+sAltString+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">&nbsp;"+sName+"</a></nobr></p>";\r
-       return sHTML;\r
-}\r
-\r
-function writeBookItems(nIdx,num)\r
-{\r
-       var sHTML="";\r
-       if(num>0){\r
-               var nCIdx=0;\r
-               do{\r
-                       nCIdx++;\r
-                       var i=nIdx+nCIdx;\r
-                       var nItemType=getItemType(i);\r
-                       if(nItemType==1||nItemType==4||nItemType==8){\r
-                               sHTML+=writeBook(i);    \r
-                               nCIdx+=getItemContentsNum(i);           \r
-                       }\r
-                       else if(nItemType==2||nItemType==16){\r
-                               sHTML+=writeAnItem(i);\r
-                       }\r
-               }\r
-               while(nCIdx<num);\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-function tocExpandHelpSet(nIdx,bLocal)\r
-{\r
-       checkBookItem(nIdx);\r
-       removeLoadingDiv();\r
-       if(!isHSLoad(nIdx))\r
-       {\r
-               setHSLoad(nIdx);\r
-               var sSrc="";\r
-               if(bLocal){\r
-                       var oChunk=getChunk(nIdx);\r
-                       if(oChunk)\r
-                       {\r
-                               goChunk=addTocChunk(oChunk.sPPath,oChunk.sDPath);\r
-                               sSrc=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;\r
-                       }\r
-               }\r
-               else{\r
-                       sSrc=getRefURL(nIdx);\r
-                       var nProj=getProject(sSrc);\r
-                       if(nProj!=-1)\r
-                       {\r
-                               sSrc=gaRoot[nProj].sToc;\r
-                               if(sSrc)\r
-                                       goChunk=addTocChunk(gaProj[nProj].sPPath,gaProj[nProj].sDPath);\r
-                               else\r
-                                       goChunk=null;\r
-                       }\r
-                       else\r
-                               goChunk=null;\r
-               }\r
-               if(goChunk)\r
-               {\r
-                       PrepareLoading(nIdx);\r
-                       gbToc=false;\r
-                       loadData2(goChunk.sPPath+goChunk.sDPath+sSrc);\r
-               }\r
-               else\r
-               {\r
-                       gbLData=false;\r
-                       checkFillStub();\r
-               }\r
-       }\r
-}\r
-\r
-function getProject(sSrc)\r
-{\r
-       for(var i=0;i<gaProj.length;i++)\r
-               if(isSamePath(getPath(sSrc),gaProj[i].sPPath))\r
-                       return i;\r
-       return -1;\r
-}\r
-\r
-function getPath(sPath)\r
-{\r
-       if(sPath!="")\r
-       {\r
-               sPath=_replaceSlash(sPath);\r
-               var nPosFile=sPath.lastIndexOf("/");\r
-               sPath=sPath.substring(0,nPosFile+1);\r
-       }\r
-       return sPath;\r
-}\r
-\r
-function isSamePath(sPath1,sPath2)\r
-{\r
-       return (sPath1.toLowerCase()==sPath2.toLowerCase());\r
-}\r
-\r
-function PrepareLoading(nIdx)\r
-{\r
-       gnInsIdx=nIdx;\r
-       if(!gsTP)\r
-       {\r
-               var oObj=getElement(getPBId(gnInsIdx));\r
-               if(oObj)\r
-                       oObj.insertAdjacentHTML("afterEnd",writeLoadingDiv(nIdx));\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIdx)\r
-{\r
-       return"<div id=\""+gsLoadingDivID+"\" class=parent onclick=\"removeLoadingDiv();\" style=\"padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";\r
-}\r
-\r
-function getItemName(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].sItemName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemContentsNum(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].nContents;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemType(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].nType;\r
-       else\r
-               return 0;\r
-}\r
-\r
-function getItemURL(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sItemURL;\r
-               if(!(sPath==null||sPath==""))\r
-               {\r
-                       return _getFullPath(oChunk.sPPath,sPath);\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function getRefURL(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;\r
-               if(!(sPath==null||sPath==""))\r
-               {\r
-                       return _getFullPath(oChunk.sPPath,sPath)\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function getTopicTarget(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sTarget)!="undefined")\r
-                       return oChunk.aTocs[nIdx-oChunk.nMI].sTarget;\r
-       }\r
-       return "";\r
-}\r
-\r
-function getItemIcon(nIdx,nIconIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sIconRef)!="undefined")\r
-               {\r
-                       var sIconRef=oChunk.aTocs[nIdx-oChunk.nMI].sIconRef;\r
-                       var nIndex=sIconRef.indexOf(";");\r
-                       while(nIconIdx-->0&&nIndex!=-1)\r
-                       {\r
-                               sIconRef=sIconRef.substring(nIndex+1);\r
-                               nIndex=sIconRef.indexOf(";");\r
-                       }\r
-                       if(nIconIdx<0)\r
-                       {\r
-                               if(nIndex!=-1)\r
-                                       sIconRef=sIconRef.substring(0,nIndex);\r
-                               return _getFullPath(oChunk.sPPath,sIconRef)\r
-                       }\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function TocWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if(gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";\r
-       sStyle+="DIV {margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";\r
-       sStyle+=".parent {margin-left:0pt;}\n";\r
-       sStyle+=".stub {margin-left:0pt;display:none}\n";\r
-       sStyle+=".child {display:none;margin-left:"+gsIndent+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle +="A:hover {"+getFontStyle(goHFont)+"}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function TocWriteFixedWidth(bBegin,nWidth)\r
-{\r
-       if((gbIE4)&&(gbMac)&&(!gbIE5)){\r
-               if(bBegin)\r
-                       document.write("<table width="+nWidth+" border=0><tr><td>");\r
-               else\r
-                       document.write("</td></tr></table>");\r
-       }\r
-}\r
-\r
-function TocInitPage()\r
-{\r
-       var tempColl=getItemsByBook(document.body);\r
-       if(tempColl.length>0)\r
-               tempColl[0].focus();\r
-}\r
-\r
-function getItemsFromObj(obj)\r
-{\r
-       var aAnchor=new Array();\r
-       var tempColl=getChildrenByTag(obj,"P");\r
-       if(tempColl&&tempColl.length>0)\r
-       {\r
-               var anobr=new Array();\r
-               for(var i=0;i<tempColl.length;i++)\r
-               {\r
-                       var tempNobr=getChildrenByTag(tempColl[i],"NOBR");\r
-                       if(tempNobr&&tempNobr.length>0)\r
-                               for(var j=0;j<tempNobr.length;j++)\r
-                                       anobr[anobr.length]=tempNobr[j];\r
-               }\r
-               for(var s=0;s<anobr.length;s++)\r
-               {\r
-                       var tempAnchor=getChildrenByTag(anobr[s],"A");\r
-                       if(tempAnchor&&tempAnchor.length>0)\r
-                               for(var u=0;u<tempAnchor.length;u++)\r
-                                       aAnchor[aAnchor.length]=tempAnchor[u];\r
-               }\r
-       }\r
-       return aAnchor;\r
-}\r
-\r
-function getItemsByBook(obj)\r
-{\r
-       var aAnchor=new Array();\r
-       var aTAnchor=getItemsFromObj(obj);\r
-       for(var i=0;i<aTAnchor.length;i++)\r
-               aAnchor[aAnchor.length]=aTAnchor[i];\r
-       var tempBook=getChildrenByTag(obj,"DIV");\r
-       if(tempBook&&tempBook.length>0)\r
-               for(var j=0;j<tempBook.length;j++)\r
-               {\r
-                       var aTAnchorDiv=getItemsFromObj(tempBook[j]);\r
-                       for(var s=0;s<aTAnchorDiv.length;s++)\r
-                               aAnchor[aAnchor.length]=aTAnchorDiv[s];\r
-               }\r
-       return aAnchor;\r
-}\r
-\r
-function ExpandIt(nId)\r
-{\r
-       if(!gsTP)\r
-               ExpandIt2(nId,false);\r
-}\r
-\r
-function ExpandIt2(nId,bForceOpen)\r
-{\r
-       var oC=TocExpand(nId,true,bForceOpen);\r
-       var nNewScroll=document.body.scrollTop;\r
-       if(oC.style.display=="block"){\r
-               var nTop=oC.offsetTop;\r
-               var nBottom=nTop+oC.offsetHeight;\r
-               if(document.body.scrollTop+document.body.clientHeight<nBottom){\r
-                       nNewScroll=nBottom-document.body.clientHeight;\r
-               }\r
-               if(nBottom-nTop>document.body.clientHeight){\r
-                       nNewScroll=nTop-20;\r
-               }\r
-       }\r
-       document.body.scrollTop=nNewScroll;\r
-}\r
-\r
-function TocExpand(nId,bChangeImg,bForceOpen)\r
-{\r
-       var oDiv=getElement(getCBId(nId));\r
-       if(oDiv==null) return null;\r
-\r
-       var whichIm=document.images[getBId(nId)];\r
-       if((oDiv.style.display!="block")||bForceOpen){\r
-               oDiv.style.display="block";\r
-               if(bChangeImg){\r
-                       var sPath=getPath(whichIm.src);\r
-                       sPath=_getFullPath(sPath,getBookImage(nId,false));\r
-                       whichIm.src=sPath;              \r
-               }\r
-       }else{\r
-               oDiv.style.display="none";\r
-               if(bChangeImg){\r
-                       var sPath=getPath(whichIm.src);\r
-                       sPath=_getFullPath(sPath,getBookImage(nId,true));\r
-                       whichIm.src=sPath;\r
-               }\r
-               if(gbMac&&gbIE5){\r
-                       this.parent.document.getElementById("tocIFrame").style.width="101%";\r
-                       this.parent.document.getElementById("tocIFrame").style.width="100%";\r
-               }\r
-       }\r
-       return oDiv;\r
-}\r
-\r
-function getChunkId(n)\r
-{\r
-       var nCan=-1;\r
-       for(var i=0;i<gaTocs.length;i++)\r
-               if(gaTocs[i].nMI<=n&&gaTocs[i].nMI!=-1)\r
-               {\r
-                       if(nCan==-1)\r
-                               nCan=i;\r
-                       else\r
-                               if(gaTocs[i].nMI>=gaTocs[nCan].nMI)\r
-                                       nCan=i;\r
-               }\r
-       if(nCan!=-1)\r
-               return nCan;\r
-       else\r
-               return -1;\r
-}\r
-\r
-function getChunk(n)\r
-{\r
-       if(gnCC!=-1&&gaTocs[gnCC].nMI<=n&&(gnCC==gaTocs.length-1||\r
-               gaTocs[gnCC+1].nMI>n))\r
-       {       \r
-               return gaTocs[gnCC];\r
-       }\r
-       else{\r
-               gnCC=getChunkId(n);\r
-               if(gnCC!=-1)\r
-                       return gaTocs[gnCC];\r
-               else\r
-                       return null;\r
-       }\r
-}\r
-\r
-function getBookImage(nIdx,bClosed)\r
-{\r
-       var nIdx=bClosed?0:1;\r
-       var sIcon=getItemIcon(nIdx,nIdx);\r
-       if(sIcon=="")\r
-               if(bClosed)\r
-                       sIcon=giBookClose;\r
-               else\r
-                       sIcon=giBookOpen;\r
-       return _getFullPath(gaProj[0].sPPath,sIcon);\r
-}\r
-\r
-function getItemImage(nIdx,bRemote)\r
-{\r
-       var sIcon=getItemIcon(nIdx,0);\r
-       if(sIcon=="")\r
-               if(bRemote)\r
-                       sIcon=giURLItem;\r
-               else\r
-                       sIcon=giBookItem;\r
-       return _getFullPath(gaProj[0].sPPath,sIcon);\r
-}\r
-\r
-function getInnerText2(obj)\r
-{\r
-       var sText=getInnerText(obj);\r
-       if(sText.length>0&&!gbOpera7)\r
-               sText=sText.substring(1);\r
-       return sText;\r
-}\r
-\r
-function expandToc(oObj,sRest,aIdList)\r
-{\r
-       var len=aIdList.length;\r
-       var nPos=sRest.indexOf(gsPathSplit);\r
-       if(nPos!=-1)\r
-       {\r
-               sPart=sRest.substring(0,nPos);\r
-               sRest=sRest.substring(nPos+1);\r
-       }\r
-       else\r
-       {\r
-               sPart=sRest;\r
-               var aTagAs=getItemsByBook(oObj);\r
-               for(var s=0;s<aTagAs.length;s++)\r
-               {\r
-                       var sText=getInnerText2(aTagAs[s]);\r
-                       if(sText==sPart)\r
-                       {\r
-                               aIdList[len]=aTagAs[s];\r
-                               return 1;\r
-                       }\r
-               }\r
-               return 0;\r
-       }\r
-               \r
-       var aChildren=getChildrenByTag(oObj,"DIV");\r
-       for(var i=0;i<aChildren.length;i++)\r
-       {\r
-               var sPId=aChildren[i].id;\r
-               if(!isPBId(sPId))\r
-                       continue;\r
-               var sText=getInnerText2(aChildren[i]);\r
-               if(sText!=sPart)\r
-                       continue;\r
-               aIdList[len]=getIdByPBId(sPId);\r
-               var sCId=getCBId(aIdList[len]);\r
-               var oCObj=getElement(sCId);\r
-               if(oCObj)\r
-               {\r
-                       if(oCObj.innerHTML=="")\r
-                       {\r
-                               var obj=getItemsByBook(aChildren[i]);\r
-                               if(obj.length>0)\r
-                               {\r
-                                       if(gbNav6)\r
-                                       {\r
-                                               var sCommand=obj[0].getAttribute("onClick");\r
-                                               var nCommand=sCommand.indexOf(";");\r
-                                               sCommand=sCommand.substring(0,nCommand);\r
-                                               setTimeout(sCommand,1);\r
-                                       }\r
-                                       else\r
-                                               obj[0].click();\r
-                               }\r
-                               return -1;\r
-                       }\r
-                       var nRet=expandToc(oCObj,sRest,aIdList);\r
-                       if(nRet)\r
-                               return nRet;\r
-               }\r
-       }\r
-       aIdList.length=len;\r
-       return 0;\r
-}\r
-\r
-function getIdByPBId(sPId)\r
-{\r
-       return parseInt(sPId.substring(2,sPId.length-1));\r
-}\r
-\r
-function getIdByCBId(sCId)\r
-{\r
-       return parseInt(sCId.substring(2,sCId.length-1));\r
-}\r
-\r
-function isPBId(sId)\r
-{\r
-       return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("P")==sId.length-1);\r
-}\r
-\r
-function isCBId(sId)\r
-{\r
-       return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("C")==sId.length-1);\r
-}\r
-\r
-function getBId(nIdx)\r
-{\r
-       return "B_"+nIdx;\r
-}\r
-\r
-function getPBId(nIdx)\r
-{\r
-       return getBId(nIdx)+"P";\r
-}\r
-\r
-function getCBId(nIdx)\r
-{\r
-       return getBId(nIdx)+"C";\r
-}\r
-\r
-function getClosestTocPath(aPaths)\r
-{\r
-       var nMaxSimilarity=0;\r
-       var nThatIndex=-1;\r
-       var sPath=null;\r
-       if(aPaths.length==0) return sPath;\r
-       for(var i=0;i<aPaths.length;i++)\r
-       {\r
-               var nSimilarity=comparePath(gsCTPath,aPaths[i]);\r
-               if(nSimilarity>nMaxSimilarity)\r
-               {\r
-                       nMaxSimilarity=nSimilarity;\r
-                       nThatIndex=i;\r
-               }\r
-       }\r
-       if(nThatIndex!=-1)\r
-               sPath=aPaths[nThatIndex];\r
-       else\r
-               sPath=aPaths[0];\r
-       return sPath;\r
-}\r
-\r
-function comparePath(sPath1,sPath2)\r
-{\r
-       var nMaxSimilarity=0;\r
-       var nStartPos1=0;\r
-       var nPos1=-1;\r
-       var nStartPos2=0;\r
-       var nPos2=-1;\r
-       do{\r
-               var sCheck1=null;\r
-               var sCheck2=null;\r
-               nPos1=sPath1.indexOf(gsPathSplit,nStartPos1);\r
-               if(nPos1!=-1)\r
-               {\r
-                       sCheck1=sPath1.substring(nStartPos1,nPos1);\r
-                       nStartPos1=nPos1+1;\r
-               }\r
-               else\r
-               {\r
-                       sCheck1=sPath1.substring(nStartPos1);\r
-                       nStartPos1=-1;\r
-               }\r
-               nPos2=sPath2.indexOf(gsPathSplit,nStartPos2);\r
-               if(nPos1!=-1)\r
-               {\r
-                       sCheck2=sPath2.substring(nStartPos2,nPos2);\r
-                       nStartPos2=nPos2+1;\r
-               }\r
-               else\r
-               {\r
-                       sCheck2=sPath2.substring(nStartPos2);\r
-                       nStartPos2=-1;\r
-               }\r
-               if(sCheck1==sCheck2)\r
-                       nMaxSimilarity++;\r
-               else\r
-                       break;\r
-       }while(nStartPos1!=-1&&nStartPos2!=-1);\r
-       return nMaxSimilarity;\r
-}\r
-\r
-function getTocPaths(oTopicParam)\r
-{\r
-       var aRelTocPaths=oTopicParam.aPaths;\r
-       var aPaths=new Array();\r
-       for(var i=0;i<gaProj.length;i++)\r
-               if(isSamePath(gaProj[i].sPPath,oTopicParam.sPPath))\r
-               {\r
-                       for(var j=0;j<aRelTocPaths.length;j++)\r
-                               for (var k=0;k<gaRoot[i].aRPath.length;k++)\r
-                               {\r
-                                       var sPath=gaRoot[i].aRPath[k]+aRelTocPaths[j];\r
-                                       aPaths[aPaths.length]=sPath.substring(1);\r
-                               }\r
-                       break;\r
-               }\r
-       return aPaths;\r
-}\r
-\r
-function syncInit()\r
-{\r
-       if(gsTP&&!gbNeedFillStub)\r
-       {\r
-               gInSync=true;\r
-               var obj=document.body;\r
-               var aIdList=new Array();\r
-               var nRet=expandToc(obj,gsTP,aIdList);\r
-               if(nRet!=-1)\r
-               {\r
-                       if(nRet==1)\r
-                       {\r
-                               if(aIdList.length)\r
-                                       for(var i=0;i<aIdList.length-1;i++)\r
-                                               ExpandIt2(aIdList[i],true);\r
-                               gsCTPath=gsTP;\r
-                               if(!gbIE55)\r
-                                       aIdList[aIdList.length-1].focus();\r
-                               else\r
-                                       HighLightElement(aIdList[aIdList.length-1],gsABgColor,"transparent");\r
-                       }\r
-                       var aPaths=gaBTPs;\r
-                       gsTP=null;\r
-                       gaBTPs=null;\r
-                       if(aPaths!=null)\r
-                       {\r
-                               var sPath=getClosestTocPath(aPaths);\r
-                               if(sPath!=null)\r
-                               {       \r
-                                       gsTP=sPath;             \r
-                                       setTimeout("syncInit()",1);\r
-                               }\r
-                       }\r
-               }\r
-               gInSync=false;\r
-       }\r
-}\r
-\r
-function loadToc()\r
-{\r
-       if(!gbLoadToc)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbLoadToc=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       gaProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       load1B1();\r
-               }\r
-       }\r
-}\r
-\r
-function load1B1()\r
-{\r
-       if(gnLT+1<gaProj.length)\r
-               for(var i=gnLT+1;i<gaProj.length;i++)\r
-                       if(gaProj[i].sToc)\r
-                       {\r
-                               gbToc=true;\r
-                               gnLT=i;\r
-                               setTimeout("loadTocInfo()",1);\r
-                               return true;\r
-                       }\r
-       return false;\r
-}\r
-\r
-function loadTocInfo()\r
-{\r
-       loadData2(gaProj[gnLT].sPPath+gaProj[gnLT].sDPath+gaProj[gnLT].sToc);\r
-}\r
-\r
-function loadData2(sFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(sFile);\r
-       else\r
-               loadData(sFile);\r
-}\r
-\r
-function projReady(sRoot,aProj)\r
-{\r
-       if(gaRoot.length<=gnLT||!gaRoot[gnLT])\r
-               gaRoot[gnLT]=new Object();\r
-       gaRoot[gnLT].sToc=sRoot;\r
-       \r
-       if(gnLT==0)\r
-       {\r
-               gaRoot[gnLT].aRPath=new Array();\r
-               gaRoot[gnLT].aRPath[0]=gsPathSplit;\r
-       }\r
-\r
-       updatePTPath(gnLT,aProj);\r
-\r
-       if(!((gnLT+1<gaProj.length)&&load1B1()))\r
-       {\r
-               gbReady=true;\r
-               if(gbIE4)\r
-                       setTimeout("loadImages();",1);\r
-               else\r
-                       setTimeout("loadTData();",1);\r
-       }\r
-}\r
-\r
-function loadTData()\r
-{\r
-       if(gaProj[0].sToc!="")\r
-       {\r
-               gbLData=true;\r
-               goChunk=addTocChunk(gaProj[0].sPPath,gaProj[0].sDPath);\r
-               gbToc=false;\r
-               loadData2(gaProj[0].sPPath+gaProj[0].sDPath+gaRoot[0].sToc);\r
-       }\r
-}\r
-\r
-function updatePTPath(n,aProj)\r
-{\r
-       if(aProj)\r
-               for(var i=0;i<aProj.length;i++)\r
-               {\r
-                       var sFullPath=_getFullPath(gaProj[n].sPPath,aProj[i].sPPath);\r
-                       for(var j=0;j<gaProj.length;j++)\r
-                               if(isSamePath(sFullPath,gaProj[j].sPPath))\r
-                               {\r
-                                       if(gaRoot.length<=j||!gaRoot[j])\r
-                                               gaRoot[j]=new Object();\r
-                                       if(!gaRoot[j].aRPath)\r
-                                               gaRoot[j].aRPath=new Array();\r
-\r
-                                       if(gaRoot[n].aRPath)\r
-                                               for(var k=0;k<gaRoot[n].aRPath.length;k++)\r
-                                               {\r
-                                                       var bDup=false;\r
-                                                       var sTFPath=gaRoot[n].aRPath[k]+aProj[i].sRPath;\r
-                                                       for(var l=0;l<gaRoot[j].aRPath.length;l++)\r
-                                                               if(gaRoot[j].aRPath[l]==sTFPath)\r
-                                                               {\r
-                                                                       bDup=true;\r
-                                                                       break;\r
-                                                               }\r
-                                                       if(!bDup)\r
-                                                               gaRoot[j].aRPath[gaRoot[j].aRPath.length]=sTFPath;\r
-                                               }\r
-                                       else\r
-                                               gaRoot[j].aRPath[gaRoot[j].aRPath.length]=aProj[i].sRPath;\r
-                                       break;\r
-                               }\r
-               }\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gbToc)\r
-       {\r
-               var sRoot="";\r
-               var aRProj=new Array();\r
-               projReady(sRoot,aRProj);\r
-       }\r
-       else\r
-       {\r
-               var aToc=new Array();\r
-               putData(aToc)\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gbToc)\r
-       {\r
-               var tocNode=xmlDoc.getElementsByTagName("toc")[0];\r
-               if(tocNode)\r
-               {\r
-                       var sRoot=tocNode.getAttribute("root");\r
-                       var rmtProject=tocNode.getElementsByTagName("project");\r
-                       var aRProj=new Array();\r
-                       if(rmtProject.length>0)\r
-                       {\r
-                               for(var i=0;i<rmtProject.length;i++)\r
-                               {\r
-                                       aRProj[i]=new Object();\r
-                                       var sURL=rmtProject[i].getAttribute("url");\r
-                                       if(sURL)\r
-                                       {\r
-                                               if(sURL.lastIndexOf("/")!=sURL.length-1)\r
-                                                       sURL+="/";                                              \r
-                                       }\r
-                                       aRProj[i].sPPath=sURL;\r
-                                       aRProj[i].sRPath = "";\r
-                                       var oSubPath = rmtProject[i].getElementsByTagName("subpath")[0];\r
-                                       if (oSubPath)\r
-                                       {\r
-                                               while (oSubPath)\r
-                                               {\r
-                                                       aRProj[i].sRPath += oSubPath.getAttribute("name") + "\n";\r
-                                                       oSubPath = oSubPath.getElementsByTagName("subpath")[0];\r
-                                               }\r
-                                       }\r
-                                       else\r
-                                               aRProj[i].sRPath=rmtProject[i].getAttribute("path");\r
-                               }\r
-                       }\r
-                       projReady(sRoot,aRProj);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var chunkNode=xmlDoc.getElementsByTagName("tocdata")[0];\r
-               if(chunkNode)\r
-               {\r
-                       var aToc=new Array();\r
-                       processBook(chunkNode,aToc);\r
-                       putData(aToc);\r
-               }\r
-       }\r
-}\r
-\r
-function processBook(node,aToc)\r
-{\r
-       var i=0;\r
-       var entry=null;\r
-       var prevEntry=null;\r
-       var oChild=node.firstChild;\r
-       do{\r
-               if(oChild)\r
-               {\r
-                       if(oChild.nodeName.indexOf("#")!=0)\r
-                       {\r
-                               var sName=oChild.getAttribute("name");\r
-                               var sURL=oChild.getAttribute("url");\r
-                               var sRef=oChild.getAttribute("ref");\r
-                               var sTarget=oChild.getAttribute("target");\r
-                               var sIcons=oChild.getAttribute("images");\r
-                               var item=new Object();\r
-                               item.sItemName=sName;\r
-                               if(sTarget)\r
-                                       item.sTarget=sTarget;\r
-                               if(sIcons)\r
-                                       item.sIconRef=sIcons;\r
-                               if(sURL==null) sURL="";\r
-\r
-                               item.sItemURL=sURL;\r
-                               \r
-                               if(oChild.nodeName=="book")\r
-                               {\r
-                                       item.nType=1;\r
-                                       aToc[aToc.length]=item;\r
-                                       var nCurrPos=aToc.length;\r
-                                       processBook(oChild,aToc);\r
-                                       item.nContents=aToc.length-nCurrPos;\r
-                               }\r
-                               else if(oChild.nodeName=="item")\r
-                               {\r
-                                       item.nType=2;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="remoteitem")\r
-                               {\r
-                                       item.nType=16;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="project")\r
-                               {\r
-                                       if(sRef)\r
-                                       {\r
-                                               if(sRef.lastIndexOf("/")!=sRef.length-1)\r
-                                                       sRef+="/";                                              \r
-                                       }\r
-                                       item.nType=4;\r
-                                       item.sRefURL=sRef;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="chunk")\r
-                               {\r
-                                       item.nType=8;\r
-                                       item.sRefURL=sRef;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                       }\r
-               }\r
-               else\r
-                       break;\r
-               oChild=oChild.nextSibling;\r
-       }while(true);\r
-}\r
-\r
-function putData(aTocs)\r
-{\r
-       gaTocsNs61Fix=aTocs;\r
-       setTimeout("realPutData();",1);\r
-}\r
-\r
-function realPutData()\r
-{\r
-       removeLoadingDiv();\r
-       var aTocs=gaTocsNs61Fix;\r
-       if(!aTocs) return;\r
-       if(goChunk)\r
-       {\r
-               var n=gnMinIdx;\r
-               goChunk.nMI=gnMinIdx;\r
-               goChunk.aTocs=aTocs;\r
-               gnMinIdx+=aTocs.length;\r
-               if(gnInsIdx!=-1)\r
-               {\r
-                       var oObj=getElement(getPBId(gnInsIdx));\r
-                       if(oObj)\r
-                       {\r
-                               oObj.insertAdjacentHTML("afterEnd",writeBookItems(n-1,aTocs.length));\r
-                               setTimeout("syncInit()",1);\r
-                       }\r
-               }\r
-               else{\r
-                       document.body.insertAdjacentHTML("beforeEnd",writeBookItems(n-1,aTocs.length));\r
-                       var oParam=new Object();\r
-                       oParam.oTocInfo=null;\r
-                       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-                       if(SendMessage(oMsg))\r
-                       {\r
-                               if(oMsg.oParam.oTocInfo)\r
-                                       syncWithPaths(oMsg.oParam.oTocInfo);\r
-                       }\r
-               }       \r
-       }\r
-       gbLData=false;\r
-       checkFillStub();\r
-}\r
-\r
-function syncWithPaths(oTopicParam)\r
-{\r
-       var aPaths=getTocPaths(oTopicParam);\r
-       if(gsTP)\r
-               gaBTPs=aPaths;\r
-       else{\r
-               var sPath=getClosestTocPath(aPaths);\r
-               if(sPath!=null)\r
-               {\r
-                       gsTP=sPath;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       loadToc();\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadImages()\r
-{\r
-       if(giBookClose)\r
-       {\r
-               gaImgs[gnImages]=giBookClose;\r
-               gnImages++;\r
-       }               \r
-       if(giBookOpen)\r
-       {\r
-               gaImgs[gnImages]=giBookOpen;\r
-               gnImages++;\r
-       }               \r
-       if(giBookItem)\r
-       {\r
-               gaImgs[gnImages]=giBookItem;\r
-               gnImages++;\r
-       }               \r
-       if(giURLItem)\r
-       {\r
-               gaImgs[gnImages]=giURLItem;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookClose)\r
-       {\r
-               gaImgs[gnImages]=giNewBookClose;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookOpen)\r
-       {\r
-               gaImgs[gnImages]=giNewBookOpen;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookItem)\r
-       {\r
-               gaImgs[gnImages]=giNewBookItem;\r
-               gnImages++;\r
-       }               \r
-       if(giNewURLItem)\r
-       {\r
-               gaImgs[gnImages]=giNewURLItem;\r
-               gnImages++;\r
-       }\r
-       if(gnImages>0)\r
-       {\r
-               setTimeout("loadDataAfter();",1000);\r
-               loadImage(gaImgs[0]);\r
-       }\r
-       else\r
-               loadDataAfter();\r
-}\r
-\r
-function loadImage(sURL)\r
-{\r
-       var oImg=new Image();\r
-       oImg.onload=checkImageLoading;\r
-       oImg.onerror=errorImageLoading;\r
-       oImg.src=_getFullPath(gaProj[0].sPPath,sURL);\r
-}\r
-\r
-function loadDataAfter()\r
-{\r
-       if(!gbLoadData)\r
-       {\r
-               gbLoadData=true;\r
-               loadTData();\r
-       }\r
-}\r
-\r
-function errorImageLoading()\r
-{\r
-       gnLoadedImages++;\r
-       if(gnImages==gnLoadedImages)\r
-               loadDataAfter();\r
-       else\r
-               loadImage(gaImgs[gnLoadedImages]);      \r
-}\r
-\r
-function checkImageLoading()\r
-{\r
-       gnLoadedImages++;\r
-       if(gnImages==gnLoadedImages)\r
-               loadDataAfter();\r
-       else\r
-               loadImage(gaImgs[gnLoadedImages]);      \r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SYNCTOC);\r
-       UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadToc();\r
-               }\r
-               else if(nMsgId==WH_MSG_SYNCTOC)\r
-               {\r
-                       if(gbReady)\r
-                       {\r
-                               syncWithPaths(oMsg.oParam);\r
-                       }\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       if(!gbNav6)\r
-                               document.body.focus();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhVer&&window.gbWhMsg&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SYNCTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goHFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_unload;\r
-       gbWhTHost=true;\r
-}\r
-else\r
-       document.location.reload();
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whtopic.js b/doc/salome/gui/GEOM/whtopic.js
deleted file mode 100755 (executable)
index 8a53281..0000000
+++ /dev/null
@@ -1,724 +0,0 @@
-//     WebHelp 5.10.005\r
-var gsPPath="";\r
-var gaPaths=new Array();\r
-var gaAvenues=new Array();\r
-\r
-var goFrame=null;\r
-var gsStartPage="";\r
-var gsRelCurPagePath="";\r
-var gsSearchFormHref="";\r
-var gnTopicOnly=-1;\r
-var gnOutmostTopic=-1;\r
-\r
-var BTN_TEXT=1;\r
-var BTN_IMG=2;\r
-\r
-var goSync=null;\r
-\r
-var goShow=null;\r
-var goHide=null;\r
-\r
-var goPrev=null;\r
-var goNext=null;\r
-var gnForm=0;\r
-var goShowNav=null;\r
-var goHideNav=null;\r
-\r
-var goWebSearch=null;\r
-\r
-var gsBtnStyle="";\r
-var gaButtons=new Array();\r
-var gaTypes=new Array();\r
-var whtopic_foldUnload=null;\r
-var gbWhTopic=false;\r
-var gbCheckSync=false;\r
-var gbSyncEnabled=false;\r
-\r
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       gsBtnStyle+=".whtbtn"+sType+"{"+getFontStyle(vFont)+"}";\r
-}\r
-\r
-function writeBtnStyle()\r
-{\r
-       if(gaButtons.length>0)\r
-       {\r
-               if(gsBtnStyle.length>0)\r
-               {\r
-                       var sStyle="<style type='text/css'>";\r
-                       sStyle+=gsBtnStyle+"</style>";\r
-                       document.write(sStyle);\r
-               }\r
-       }\r
-}\r
-\r
-function button(sText,nWidth,nHeight)\r
-{\r
-       this.sText=sText;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       \r
-       this.aImgs=new Array();\r
-       var i=0;\r
-       while(button.arguments.length>i+3)\r
-       {\r
-               this.aImgs[i]=button.arguments[3+i];\r
-               i++;\r
-       }\r
-}\r
-\r
-//project info\r
-function setRelStartPage(sPath)\r
-{\r
-       if(gsPPath.length==0)\r
-       {\r
-               gsPPath=_getFullPath(_getPath(document.location.href),_getPath(sPath));\r
-               gsStartPage=_getFullPath(_getPath(document.location.href),sPath);\r
-               gsRelCurPagePath=_getRelativeFileName(gsStartPage,document.location.href);\r
-       }\r
-}\r
-\r
-function getImage(oImage,sType)\r
-{\r
-       var sImg="";\r
-       if(oImage&&oImage.aImgs&&(oImage.aImgs.length>0))\r
-       {\r
-               sImg+="<img alt=\""+sType+"\" src=\""+oImage.aImgs[0]+"\"";\r
-               if(oImage.nWidth>0)\r
-                       sImg+=" width="+oImage.nWidth;\r
-               if(oImage.nHeight>0)\r
-                       sImg+=" height="+oImage.nHeight;\r
-               sImg+=" border=0>";\r
-       }\r
-       return sImg;\r
-}\r
-\r
-function addTocInfo(sTocPath)\r
-{\r
-       gaPaths[gaPaths.length]=sTocPath;\r
-}\r
-\r
-function addAvenueInfo(sName,sPrev,sNext)\r
-{\r
-       gaAvenues[gaAvenues.length]=new avenueInfo(sName,sPrev,sNext);  \r
-}\r
-\r
-function addButton(sType,nStyle,sText,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sImg1,sImg2,sImg3)\r
-{\r
-       var sButton="";\r
-       var nBtn=gaButtons.length;\r
-       if(sType=="prev")\r
-       {\r
-               if(canGo(false))\r
-               {\r
-                       var sTitle="Previous Topic";\r
-                       goPrev=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnprev\" href=\"javascript:void(0);\" onclick=\"goAvenue(false);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goPrev.sText;\r
-                       else\r
-                               sButton+=getImage(goPrev,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="next")\r
-       {\r
-               if(canGo(true))\r
-               {\r
-                       var sTitle="Next Topic";\r
-                       goNext=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnnext\" href=\"javascript:void(0);\" onclick=\"goAvenue(true);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goNext.sText;\r
-                       else\r
-                               sButton+=getImage(goNext,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="show")\r
-       {\r
-               if(isTopicOnly()&&(!gbOpera6||gbOpera7))\r
-               {\r
-                       var sTitle="Show Navigation Component";\r
-                       goShow=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnshow\" href=\"javascript:void(0);\" onclick=\"show();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goShow.sText;\r
-                       else\r
-                               sButton+=getImage(goShow,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="hide")\r
-       {\r
-               if(!isTopicOnly()&&!gbOpera6)\r
-               {\r
-                       var sTitle="Hide Navigation Component";\r
-                       goHide=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnhide\" href=\"javascript:void(0);\" onclick=\"hide();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goHide.sText;\r
-                       else\r
-                               sButton+=getImage(goHide,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="shownav")\r
-       {\r
-               if(isShowHideEnable())\r
-               {\r
-                       var sTitle="Show Navigation Component";\r
-                       goShowNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnshownav\" href=\"javascript:void(0);\" onclick=\"showHidePane(true);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goShowNav.sText;\r
-                       else\r
-                               sButton+=getImage(goShowNav,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="hidenav")\r
-       {\r
-               if(isShowHideEnable())\r
-               {\r
-                       var sTitle="Hide Navigation Component";\r
-                       goHideNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnhidenav\" href=\"javascript:void(0);\" onclick=\"showHidePane(false);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goHideNav.sText;\r
-                       else\r
-                               sButton+=getImage(goHideNav,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="synctoc")\r
-       {\r
-               if(gaPaths.length>0)\r
-               {\r
-                       var sTitle="Sync TOC";\r
-                       goSync=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goSync.sText;\r
-                       else\r
-                               sButton+=getImage(goSync,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="websearch")\r
-       {\r
-               if(gsSearchFormHref.length>0)\r
-               {\r
-                       var sTitle="WebSearch";\r
-                       goWebSearch=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnwebsearch\" href=\""+gsSearchFormHref+"\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goWebSearch.sText;\r
-                       else\r
-                               sButton+=getImage(goWebSearch,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="searchform")\r
-       {\r
-               gaButtons[nBtn]="NeedSearchForm";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-       if(sButton.length!=0)\r
-       {\r
-               if(nStyle==BTN_TEXT)\r
-                       sButton+="&nbsp;";\r
-               gaButtons[nBtn]="<td>"+sButton+"</td>";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-}\r
-\r
-function isSyncEnabled()\r
-{\r
-       if(!gbCheckSync)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       gbSyncEnabled=oMsg.oParam;\r
-               }\r
-               gbCheckSync=true;\r
-       }\r
-       return gbSyncEnabled;\r
-}\r
-\r
-function isInPopup()\r
-{\r
-       return (window.name.indexOf("BSSCPopup")!=-1);\r
-}\r
-\r
-function getIntopicBar(sAlign)\r
-{\r
-       var sHTML="";\r
-       if(gaButtons.length>0)\r
-       {\r
-               sHTML+="<div align="+sAlign+">";\r
-\r
-               sHTML+="<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"><tr>";\r
-               for(var i=0;i<gaButtons.length;i++)\r
-               {\r
-                       if(gaTypes[i]!="synctoc"||isSyncEnabled())\r
-                       {\r
-                               if(gaButtons[i]=="NeedSearchForm")\r
-                                       sHTML+=getSearchFormHTML();\r
-                               else\r
-                                       sHTML+=gaButtons[i];\r
-                       }\r
-               }\r
-               sHTML+="</tr></table>";\r
-\r
-               sHTML+="</div>";\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-\r
-function writeIntopicBar(nAligns)\r
-{\r
-       if(isInPopup()) return;\r
-       if(gaButtons.length>0)\r
-       {\r
-               var sHTML="";\r
-               if(nAligns!=0)\r
-               {\r
-                       sHTML+="<table width=100%><tr>"\r
-                       if(nAligns&1)\r
-                               sHTML+="<td width=33%>"+getIntopicBar("left")+"</td>";\r
-                       if(nAligns&2)\r
-                               sHTML+="<td width=34%>"+getIntopicBar("center")+"</td>";\r
-                       if(nAligns&4)\r
-                               sHTML+="<td width=33%>"+getIntopicBar("right")+"</td>";\r
-                       sHTML+="</tr></table>";\r
-                       document.write(sHTML);\r
-               }\r
-       }\r
-}\r
-\r
-function sendAveInfoOut()\r
-{\r
-       if(!isInPopup())\r
-               setTimeout("sendAveInfo();",100);\r
-}\r
-\r
-function sendAveInfo()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_AVENUEINFO,this,1,gaAvenues);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-\r
-function onNext()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function onPrev()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function createSyncInfo()\r
-{\r
-       var oParam=new Object();\r
-       if(gsPPath.length==0)\r
-               gsPPath=_getPath(document.location.href);\r
-       oParam.sPPath=gsPPath;\r
-       oParam.sTPath=document.location.href;\r
-       oParam.aPaths=gaPaths;\r
-       return oParam;\r
-}\r
-\r
-function syncWithShow()\r
-{\r
-       if(isTopicOnly())\r
-               show();\r
-       else\r
-       {\r
-               sync();\r
-               showTocPane();\r
-       }\r
-}\r
-\r
-function showTocPane()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function sendSyncInfo()\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oParam=null;\r
-               if(gaPaths.length>0)\r
-               {\r
-                       oParam=createSyncInfo();\r
-               }\r
-               var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function sendInvalidSyncInfo()\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,null);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function enableWebSearch(bEnable)\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_ENABLEWEBSEARCH,this,1,bEnable);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function autoSync(nSync)\r
-{\r
-       if(nSync==0) return;\r
-       if(isInPopup()) return;\r
-       if(isOutMostTopic())\r
-               sync();\r
-}\r
-\r
-function isOutMostTopic()\r
-{\r
-       if(gnOutmostTopic==-1)\r
-       {\r
-               var oMessage=new whMessage(WH_MSG_ISINFRAMESET,this,1,null);\r
-               if(SendMessage(oMessage))\r
-                       gnOutmostTopic=0;\r
-               else\r
-                       gnOutmostTopic=1;\r
-       }\r
-       return (gnOutmostTopic==1);\r
-}\r
-\r
-function sync()\r
-{\r
-       if(gaPaths.length>0)\r
-       {\r
-               var oParam=createSyncInfo();\r
-               var oMessage=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);\r
-               SendMessage(oMessage);\r
-       }\r
-}\r
-\r
-\r
-function avenueInfo(sName,sPrev,sNext)\r
-{\r
-       this.sName=sName;\r
-       this.sPrev=sPrev;\r
-       this.sNext=sNext;\r
-}\r
-\r
-function getCurrentAvenue()\r
-{\r
-       var oParam=new Object();\r
-       oParam.sAvenue=null;\r
-       var oMessage=new whMessage(WH_MSG_GETCURRENTAVENUE,this,1,oParam);\r
-       SendMessage(oMessage);\r
-       return oParam.sAvenue;\r
-}\r
-\r
-function unRegisterListener()\r
-{\r
-       sendInvalidSyncInfo();\r
-       enableWebSearch(false);\r
-       if(whtopic_foldUnload)\r
-               whtopic_foldUnload();\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_GETAVIAVENUES)\r
-       {\r
-               oMsg.oParam.aAvenues=gaAvenues;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETTOCPATHS)\r
-       {\r
-               if(isOutMostTopic())\r
-               {\r
-                       oMsg.oParam.oTocInfo=createSyncInfo();\r
-                       return false;           \r
-               }\r
-               else\r
-                       return true;\r
-       }\r
-       else if(nMsgId==WH_MSG_NEXT)\r
-       {\r
-               goAvenue(true);\r
-       }\r
-       else if(nMsgId==WH_MSG_PREV)\r
-       {\r
-               goAvenue(false);\r
-       }\r
-       else if(nMsgId==WH_MSG_WEBSEARCH)\r
-       {\r
-               websearch();\r
-       }\r
-       return true;\r
-}\r
-\r
-function goAvenue(bNext)\r
-{\r
-       var sTopic=null;\r
-       var sAvenue=getCurrentAvenue();\r
-       var nAvenue=-1;\r
-       if(sAvenue!=null&&sAvenue!="")\r
-       {\r
-               for(var i=0;i<gaAvenues.length;i++)\r
-               {\r
-                       if(gaAvenues[i].sName==sAvenue)\r
-                       {\r
-                               nAvenue=i;\r
-                               break;\r
-                       }\r
-               }\r
-               if(nAvenue!=-1)\r
-               {\r
-                       if(bNext)\r
-                               sTopic=gaAvenues[nAvenue].sNext;\r
-                       else\r
-                               sTopic=gaAvenues[nAvenue].sPrev;\r
-               }\r
-       }\r
-       else\r
-       {\r
-               for(var i=0;i<gaAvenues.length;i++)\r
-               {\r
-                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)\r
-                       {\r
-                               sTopic=gaAvenues[i].sNext;\r
-                               break;\r
-                       }\r
-                       else if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext)\r
-                       {\r
-                               sTopic=gaAvenues[i].sPrev;\r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       \r
-       if(sTopic!=null&&sTopic!="")\r
-       {\r
-               if(gsPPath!=null&&gsPPath!="")\r
-               {\r
-                       sFullTopicPath=_getFullPath(gsPPath,sTopic);\r
-                       document.location=sFullTopicPath;\r
-               }\r
-       }\r
-}\r
-\r
-function canGo(bNext)\r
-{\r
-       for(var i=0;i<gaAvenues.length;i++)\r
-       {\r
-               if((gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)||\r
-                       (gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext))\r
-                       return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-function show()\r
-{\r
-       if(gsStartPage!="")\r
-               window.location=gsStartPage+"#"+gsRelCurPagePath;\r
-}\r
-\r
-function hide()\r
-{\r
-       if(goFrame!=null)\r
-       {\r
-               goFrame.location=window.location;\r
-       }\r
-}\r
-\r
-function isTopicOnly()\r
-{\r
-       if(gnTopicOnly==-1)\r
-       {\r
-               var oParam=new Object();\r
-               oParam.oFrame=null;\r
-               var oMsg=new whMessage(WH_MSG_GETSTARTFRAME,this,1,oParam);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       goFrame=oParam.oFrame;\r
-                       gnTopicOnly=0;\r
-               }\r
-               else\r
-                       gnTopicOnly=1;\r
-       }\r
-       if(gnTopicOnly==1)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function websearch()\r
-{\r
-       if(gbNav4)\r
-       {\r
-               if(document.ehelpform)\r
-                       document.ehelpform.submit();\r
-       }\r
-       else\r
-       {\r
-               if(window.ehelpform)\r
-                       window.ehelpform.submit();\r
-       }\r
-}\r
-\r
-function addSearchFormHref(sHref)\r
-{\r
-       gsSearchFormHref=sHref;\r
-       enableWebSearch(true);\r
-}\r
-\r
-function searchB(nForm)\r
-{\r
-       var sValue=eval("document.searchForm"+nForm+".searchString.value");\r
-       var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,sValue);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function getSearchFormHTML()\r
-{\r
-       var sHTML="";\r
-       gnForm++;\r
-       var sFormName="searchForm"+gnForm;\r
-       var sButton="<form name=\""+sFormName+"\" method=\"POST\" action=\"javascript:searchB("+gnForm+")\">"\r
-       sButton+="<input type=\"text\" name=\"searchString\" value=\"- Full Text search -\" size=\"20\"/>";\r
-       if(""=="text")\r
-       {\r
-               sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\"></a>";\r
-       }\r
-       else if(""=="image")\r
-       {\r
-               sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\">"\r
-               sButton+="<img src=\"\" border=0></a>";\r
-       }\r
-       sButton+="</form>";\r
-       sHTML="<td align=\"center\">"+sButton+"</td>";\r
-       return sHTML;\r
-}\r
-\r
-function showHidePane(bShow)\r
-{\r
-       var oMsg=null;\r
-       if(bShow)\r
-               oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-       else\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function isShowHideEnable()\r
-{\r
-       if(gbIE4)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-\r
-function PickupDialog_Invoke()\r
-{\r
-       if(!gbIE4||gbMac)\r
-       {\r
-               if(typeof(_PopupMenu_Invoke)=="function")\r
-                       return _PopupMenu_Invoke(PickupDialog_Invoke.arguments);\r
-       }\r
-       else\r
-       {\r
-               if(PickupDialog_Invoke.arguments.length>2)\r
-               {\r
-                       var sPickup="whskin_pickup.htm";\r
-                       var sPickupPath=gsPPath+sPickup;\r
-                       if(gbIE4)\r
-                       {\r
-                               var sFrame=PickupDialog_Invoke.arguments[1];\r
-                               var aTopics=new Array();\r
-                               for(var i=2;i<PickupDialog_Invoke.arguments.length;i+=2)\r
-                               {\r
-                                       var j=aTopics.length;\r
-                                       aTopics[j]=new Object();\r
-                                       aTopics[j].m_sName=PickupDialog_Invoke.arguments[i];\r
-                                       aTopics[j].m_sURL=PickupDialog_Invoke.arguments[i+1];\r
-                               }\r
-\r
-                               if(aTopics.length>1)\r
-                               {\r
-                                       var nWidth=300;\r
-                                       var nHeight=180;\r
-                                       var     nScreenWidth=screen.width;\r
-                                       var     nScreenHeight=screen.height;\r
-                                       var nLeft=(nScreenWidth-nWidth)/2;\r
-                                       var nTop=(nScreenHeight-nHeight)/2;\r
-                                       if(gbIE4)\r
-                                       {\r
-                                               var vRet=window.showModalDialog(sPickupPath,aTopics,"dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:yes;status:no;scroll:no;help:no;center:yes;");\r
-                                               if(vRet)\r
-                                               {\r
-                                                       var sURL=vRet.m_url;\r
-                                                       if(sFrame)\r
-                                                               window.open(sURL,sFrame);\r
-                                                       else\r
-                                                               window.open(sURL,"_self");\r
-                                               }\r
-                                       }\r
-                               }\r
-                               else if(aTopics.length==1)\r
-                               {\r
-                                       var sURL=aTopics[0].m_sURL\r
-                                       if(sFrame)\r
-                                               window.open(sURL,sFrame);\r
-                                       else\r
-                                               window.open(sURL,"_self");\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener("bsscright",WH_MSG_GETAVIAVENUES);\r
-       RegisterListener("bsscright",WH_MSG_GETTOCPATHS);\r
-       RegisterListener("bsscright",WH_MSG_NEXT);\r
-       RegisterListener("bsscright",WH_MSG_PREV);\r
-       RegisterListener("bsscright",WH_MSG_WEBSEARCH);\r
-       if(gbMac&&gbIE4)\r
-       {\r
-               if(typeof(window.onunload)!="unknown")\r
-                       if(window.onunload.toString!=unRegisterListener.toString)\r
-                               whtopic_foldUnload=window.onunload;\r
-       }\r
-       else\r
-       {\r
-               if(window.onunload)\r
-                       if(window.onunload.toString!=unRegisterListener.toString)\r
-                               whtopic_foldUnload=window.onunload;\r
-       }\r
-       window.onunload=unRegisterListener;\r
-       setButtonFont("show","","10pt","","","","");\r
-\r
-       gbWhTopic=true;\r
-}\r
-else\r
-       document.location.reload();
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whutils.js b/doc/salome/gui/GEOM/whutils.js
deleted file mode 100755 (executable)
index 85fae7e..0000000
+++ /dev/null
@@ -1,527 +0,0 @@
-//     WebHelp 5.10.004\r
-var gsFileName="";\r
-var gsDivName="";\r
-var xmlDoc=null;\r
-var sdocPath=null;\r
-var gsInsertBeforeEndHTML="";\r
-var sReplaceStringsSrc=new Array();\r
-var gsDivName="dataDiv";\r
-var gnLoadDivNum=0;\r
-sReplaceStringsSrc[0]="&amp;";\r
-sReplaceStringsSrc[1]="&gt;";\r
-sReplaceStringsSrc[2]="&lt;";\r
-sReplaceStringsSrc[3]="&quot;";\r
-sReplaceStringsSrc[4]=String.fromCharCode(8364);\r
-sReplaceStringsSrc[5]="&nbsp;";\r
-\r
-var sReplaceStringsDst=new Array();\r
-sReplaceStringsDst[0]="&";\r
-sReplaceStringsDst[1]=">";\r
-sReplaceStringsDst[2]="<";\r
-sReplaceStringsDst[3]="\"";\r
-sReplaceStringsDst[4]=String.fromCharCode(128);\r
-sReplaceStringsDst[5]=" ";\r
-var goHighLighted=null;\r
-\r
-function _getRelativePath(strParentPath,strCurrentPath)\r
-{\r
-       if(_isAbsPath(strCurrentPath)) return _getPath(strCurrentPath);\r
-       strParentPath=_replaceSlash(strParentPath);\r
-       strParentPath=_getPath(strParentPath);\r
-       strCurrentPath=_replaceSlash(strCurrentPath);\r
-       strCurrentPath=_getPath(strCurrentPath);\r
-       for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)\r
-       {\r
-               if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))\r
-                       break;\r
-       }\r
-       \r
-       strParentPath=strParentPath.substring(i);\r
-       strCurrentPath=strCurrentPath.substring(i);     \r
-       \r
-       var nPathPos=0;\r
-       while(nPathPos!=-1)\r
-       {\r
-               nPathPos=strParentPath.indexOf("/");\r
-               if(nPathPos!=-1)\r
-               {\r
-                       strParentPath=strParentPath.substring(nPathPos+1);\r
-                       strCurrentPath="../"+strCurrentPath;\r
-               }\r
-       }\r
-       return strCurrentPath;\r
-}\r
-\r
-function _getRelativeFileName(strParentPath,strCurrentPath)\r
-{\r
-       strParentPath=_replaceSlash(strParentPath);\r
-       strParentPath=_getPath(strParentPath);\r
-       strCurrentPath=_replaceSlash(strCurrentPath);\r
-       for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)\r
-       {\r
-               if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))\r
-                       break;\r
-       }\r
-       \r
-       strParentPath=strParentPath.substring(i);\r
-       strCurrentPath=strCurrentPath.substring(i);     \r
-       \r
-       var nPathPos=0;\r
-       while(nPathPos!=-1)\r
-       {\r
-               nPathPos=strParentPath.indexOf("/");\r
-               if(nPathPos!=-1)\r
-               {\r
-                       strParentPath=strParentPath.substring(nPathPos+1);\r
-                       strCurrentPath="../"+strCurrentPath;\r
-               }\r
-       }\r
-       return strCurrentPath;\r
-}\r
-\r
-function _isAbsPathToHost(sPath)\r
-{\r
-       return (sPath.indexOf("/")==0);\r
-}\r
-\r
-function _getHost(sPath)\r
-{\r
-       var nPos=sPath.indexOf("//");\r
-       if(nPos>0)\r
-       {\r
-               var nPosx=sPath.indexOf("/",nPos+2);\r
-               if(nPosx>0)\r
-                       return sPath.substring(0,nPosx);\r
-               else\r
-                       return sPath;\r
-       }\r
-       return sPath;\r
-}\r
-\r
-function _getFullPath(sPath,sRelPath)\r
-{\r
-       if(_isAbsPath(sRelPath))\r
-               return sRelPath;\r
-       else if(_isAbsPathToHost(sRelPath))\r
-               return _getHost(sPath)+sRelPath;\r
-       else\r
-       {\r
-               var sFullPath=sPath;\r
-               var nPathPos=0;\r
-               while(nPathPos!=-1)\r
-               {\r
-                       var nPathPos=sRelPath.indexOf("../");\r
-                       if(nPathPos!=-1)\r
-                       {\r
-                               sRelPath=sRelPath.substring(nPathPos+3);\r
-                               sFullPath=sFullPath.substring(0,sFullPath.length-1);\r
-                               var nPos2=sFullPath.lastIndexOf("/");\r
-                               if(nPos2!=-1)\r
-                                       sFullPath=sFullPath.substring(0,nPos2+1);\r
-                               else\r
-                                       break;\r
-                       }\r
-               }\r
-               sFullPath+=sRelPath;\r
-               return sFullPath;\r
-       }       \r
-}\r
-\r
-function _isAbsPath(strPath)\r
-{\r
-       var strUpper=strPath.toUpperCase();\r
-       return (strUpper.indexOf(":")!=-1||strUpper.indexOf("\\\\")==0);\r
-}\r
-\r
-function _replaceSlash(strURL)\r
-{      \r
-       var re=new RegExp("\\\\","g");\r
-       var strReplacedURL=strURL.replace(re,"/");\r
-       return strReplacedURL;\r
-}\r
-\r
-function _getPath(strURL)\r
-{\r
-       pathpos=strURL.lastIndexOf("/");\r
-       if(pathpos>0)\r
-               return strURL.substring(0,pathpos+1);\r
-       else\r
-               return "";\r
-}\r
-\r
-function removeItemFromArray(oArray,i)\r
-{\r
-       if(oArray.length&&i>=0&&i<oArray.length)\r
-       {\r
-               var len=oArray.length;\r
-               for(var s=i;s<len-1;s++)\r
-                       oArray[s]=oArray[s+1];\r
-               oArray.length=len-1;\r
-       }\r
-}\r
-\r
-function insertItemIntoArray(oArray,i,obj)\r
-{\r
-       if(oArray.length&&i>=0&&i<=oArray.length)\r
-       {\r
-               var len=oArray.length;\r
-               for(var s=len;s>i;s--)\r
-                       oArray[s]=oArray[s-1];\r
-               oArray[i]=obj;          \r
-       }\r
-}\r
-\r
-function loadData(sFileName)\r
-{\r
-       var i=gnLoadDivNum;\r
-       var sName=gsDivName+gnLoadDivNum++;\r
-       loadData_2(sFileName,sName);\r
-}\r
-\r
-function loadData_2(sFileName,sDivName)\r
-{\r
-       if(!getElement(sDivName))\r
-       {\r
-               if(!insertDataDiv(sDivName))\r
-               {\r
-                       gsFileName=sFileName;\r
-                       gsDivName=sDivName;\r
-                       return;\r
-               }\r
-       }\r
-       var sHTML="";\r
-       if(gbMac)\r
-               sHTML+="<iframe src=\""+sFileName+"\"></iframe>";\r
-       else\r
-               sHTML+="<iframe style=\"visibility:hidden;width:0;height:0\" src=\""+sFileName+"\"></iframe>";\r
-       \r
-       var oDivCon=getElement(sDivName);\r
-       if(oDivCon)\r
-       {\r
-               if(gbNav6)\r
-               {\r
-                       if(oDivCon.getElementsByTagName&&oDivCon.getElementsByTagName("iFrame").length>0)\r
-                       {\r
-                               oDivCon.getElementsByTagName("iFrame")[0].src=sFileName;\r
-                       }\r
-                       else\r
-                               oDivCon.innerHTML=sHTML;\r
-               }\r
-               else\r
-                       oDivCon.innerHTML=sHTML;\r
-       }\r
-}\r
-\r
-function loadDataXML(sFileName)\r
-{\r
-       var sCurrentDocPath=_getPath(document.location.href);\r
-       sdocPath=_getFullPath(sCurrentDocPath,sFileName);\r
-       if(gbIE5)\r
-       {\r
-               xmlDoc=new ActiveXObject("Microsoft.XMLDOM");\r
-               xmlDoc.async=true;\r
-               xmlDoc.onreadystatechange=checkState;\r
-               if(document.body!=null)\r
-                       xmlDoc.load(sdocPath);\r
-       }\r
-       else if(gbNav6)\r
-       {\r
-               xmlDoc=document.implementation.createDocument("","",null);\r
-               xmlDoc.addEventListener("load",initializeData,false);\r
-               xmlDoc.load(sdocPath,"text/xml");\r
-       }\r
-}\r
-\r
-function initializeData()\r
-{\r
-       if(xmlDoc!=null)\r
-               putDataXML(xmlDoc,sdocPath);\r
-}\r
-\r
-function checkState()\r
-{\r
-       if(xmlDoc!=null)\r
-       {\r
-               var state=xmlDoc.readyState;\r
-               if(state==4)\r
-               {\r
-                       var err=xmlDoc.parseError;\r
-                       if(err.errorCode==0)\r
-                               putDataXML(xmlDoc,sdocPath);\r
-                       else\r
-                               onLoadXMLError();\r
-               }\r
-       }\r
-}\r
-\r
-function insertDataDiv(sName)\r
-{\r
-       var sHTML="";\r
-       if(gbMac)\r
-               sHTML+="<div id="+sName+" style=\"display:none;\"></div>";\r
-       else\r
-               sHTML+="<div id="+sName+" style=\"visibility:hidden\"></div>";\r
-       if((gbIE5||gbNav6)&&document.body)\r
-               document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-       else\r
-       {\r
-               gsInsertBeforeEndHTML=sHTML;\r
-               setTimeout("insertWhenBodyReady();",100);\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function insertWhenBodyReady()\r
-{\r
-       if(gsInsertBeforeEndHTML=="") return;\r
-       if(document.body)\r
-       {\r
-               document.body.insertAdjacentHTML("beforeEnd",gsInsertBeforeEndHTML);\r
-               gsInsertBeforeEndHTML="";\r
-               loadData_2(gsFileName,gsDivName);\r
-       }\r
-       else\r
-       {\r
-               setTimeout("insertWhenBodyReady();",100);\r
-       }\r
-}\r
-\r
-function window_BUnload()\r
-{\r
-       for(var i=0;i<gnLoadDivNum;i++)\r
-       {\r
-               var oDivCon=getElement(gsDivName+i);\r
-               if(oDivCon)\r
-                       oDivCon.innerHTML="";\r
-       }\r
-}\r
-\r
-function removeThis(obj)\r
-{\r
-       if(obj.parentNode)\r
-               obj.parentNode.removeChild(obj);\r
-       else\r
-               obj.outerHTML="";\r
-}\r
-\r
-function getParentNode(obj)\r
-{\r
-       if(obj.parentNode)\r
-               return obj.parentNode;\r
-       else if(obj.parentElement)\r
-               return obj.parentElement;\r
-       return null;\r
-}\r
-\r
-function getElement(sID)\r
-{\r
-       if(document.getElementById)\r
-               return document.getElementById(sID);\r
-       else if(document.all)\r
-               return document.all(sID);\r
-       return null;\r
-}\r
-\r
-function getChildrenByTag(obj,sTagName)\r
-{\r
-       if(obj.getElementsByTagName)\r
-       {\r
-               var aChildren=new Array();\r
-               var aElements=getElementsByTag(obj,sTagName);\r
-               if(aElements!=null)\r
-               {\r
-                       for(var i=0;i<aElements.length;i++)\r
-                       {\r
-                               if(aElements[i].parentNode==obj)\r
-                                       aChildren[aChildren.length]=aElements[i];\r
-                       }\r
-                       return aChildren;\r
-               }\r
-               else\r
-                       return new Array();\r
-       }\r
-       else if(obj.children)\r
-               return obj.children.tags(sTagName);\r
-}\r
-\r
-function getElementsByTag(obj,sTagName)\r
-{\r
-       if(obj.getElementsByTagName)\r
-               return obj.getElementsByTagName(sTagName);\r
-       else if(obj.all)\r
-               return obj.all.tags(sTagName);\r
-       return null;\r
-}\r
-\r
-function _htmlToText(sHTML)\r
-{\r
-       if(sHTML==null) return null;\r
-       var sText=sHTML;\r
-       for(var i=0;i<sReplaceStringsSrc.length;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsSrc[i],"g");\r
-               sText=sText.replace(re,sReplaceStringsDst[i]);\r
-       }       \r
-       return sText;\r
-}\r
-\r
-function _textToHtml_nonbsp(sText)\r
-{\r
-       if(sText==null) return null;\r
-       var sHTML=sText;\r
-       for(var i=0;i<sReplaceStringsSrc.length-1;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsDst[i],"g");\r
-               sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);\r
-       }       \r
-       return sHTML;\r
-}\r
-\r
-function _textToHtml(sText)\r
-{\r
-       if(sText==null) return null;\r
-       var sHTML=sText;\r
-       for(var i=0;i<sReplaceStringsSrc.length;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsDst[i],"g");\r
-               sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);\r
-       }       \r
-       return sHTML;\r
-}\r
-\r
-\r
-function getInnerText(obj)\r
-{\r
-       var renbsp2sp=new RegExp("\xa0","g");\r
-       if(obj.innerText)\r
-       {\r
-               var sText=obj.innerText;\r
-               sText=sText.replace(renbsp2sp," ");\r
-               return sText;\r
-       }\r
-       else\r
-       {\r
-               if(obj.nodeValue)\r
-               {\r
-                       var sValue=obj.nodeValue;\r
-                       sValue=sValue.replace(renbsp2sp," ");\r
-                       return sValue;\r
-               }\r
-               else\r
-               {\r
-                       var sText="";\r
-                       var oChild=obj.firstChild;\r
-                       while(oChild!=null)\r
-                       {\r
-                               sText+=getInnerText(oChild);\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       return sText;\r
-               }\r
-       }\r
-               \r
-}\r
-\r
-function HighLightElement(obj,sHighLightColor,sNormalColor)\r
-{\r
-       if(obj!=null)\r
-       {\r
-               resetHighLight(sNormalColor);\r
-               if (obj.style)\r
-                       obj.style.backgroundColor=sHighLightColor;\r
-               goHighLighted=obj;\r
-       }\r
-}\r
-\r
-function resetHighLight(sNormalColor)\r
-{\r
-       if(goHighLighted!=null)\r
-       {\r
-               if (goHighLighted.style)\r
-                       goHighLighted.style.backgroundColor=sNormalColor;\r
-               goHighLighted=null;\r
-       }\r
-}\r
-\r
-function whFont(sName,sSize,sColor,sStyle,sWeight,sDecoration)\r
-{\r
-       this.sName=sName;\r
-       this.sSize=sSize;\r
-       this.sColor=sColor;\r
-       this.sStyle=sStyle;\r
-       this.sWeight=sWeight;\r
-       this.sDecoration=sDecoration;\r
-}\r
-\r
-function getFontStyle(oFont)\r
-{\r
-       var sStyle="";\r
-       if(oFont)\r
-       {\r
-               sStyle+="font-family:"+oFont.sName+";";\r
-               if(gbMac)\r
-               {\r
-                       var nSize=parseInt(oFont.sSize);\r
-                       if(gbIE5)\r
-                               nSize+=2;\r
-                       else\r
-                               nSize+=4;\r
-                       sStyle+="font-size:"+nSize+"pt;";\r
-               }\r
-               else\r
-                       sStyle+="font-size:"+oFont.sSize+";";\r
-                       \r
-               sStyle+="font-style:"+oFont.sStyle+";";\r
-               sStyle+="font-weight:"+oFont.sWeight+";";\r
-               sStyle+="text-decoration:"+oFont.sDecoration+";";\r
-               sStyle+="color:"+oFont.sColor+";";\r
-       }\r
-       return sStyle;\r
-}\r
-\r
-function _browserStringToText(sBStr)\r
-{\r
-       var sText="";\r
-       // change %xxx back to the real char.\r
-       var nPos=sBStr.indexOf('%');\r
-       while(nPos!=-1)\r
-       {\r
-               sText+=sBStr.substring(0,nPos);\r
-               sBStr=sBStr.substring(nPos+1);\r
-               var sNum="";\r
-               var i=0;\r
-               while(sBStr.charAt(i)>='0'&&sBStr.charAt(i)<='9')\r
-               {\r
-                       sNum+=sBStr.charAt(i++);        \r
-               }\r
-               if(sNum!=""){\r
-                       var nNum=parseInt(sNum,16);\r
-                       sText+=String.fromCharCode(nNum);\r
-                       sBStr=sBStr.substring(i);\r
-               }\r
-               nPos=sBStr.indexOf('%');\r
-       }\r
-       sText+=sBStr;\r
-       return sText;\r
-}\r
-\r
-function excapeSingleQuotandSlash(str)\r
-{\r
-       if(str==null) return null;\r
-       var nPos=0;\r
-       var sRes="";\r
-       var nPosNew=str.indexOf("\\",nPos);\r
-       while(nPosNew!=-1){\r
-               sRes+=str.substring(nPos,nPosNew+1)+"\\";\r
-               nPos=nPosNew+1;\r
-               nPosNew=str.indexOf("\\",nPos);\r
-       }\r
-       if(nPos<str.length)\r
-               sRes+=str.substring(nPos);\r
-       var re=new RegExp("'","g");\r
-       sRes=sRes.replace(re,"\\'");\r
-       return sRes;\r
-}\r
-\r
-var gbWhUtil=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whver.js b/doc/salome/gui/GEOM/whver.js
deleted file mode 100755 (executable)
index ff59763..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-//     WebHelp 5.10.006\r
-var gbNav=false;\r
-var gbNav6=false;\r
-var gbNav61=false;\r
-var gbNav7=false;\r
-var gbNav4=false;\r
-var gbIE4=false;\r
-var gbIE=false;\r
-var gbIE5=false;\r
-var gbIE55=false;\r
-var gbOpera6=false;\r
-var gbOpera7=false;\r
-var gbKonqueror3=false;\r
-\r
-var gAgent=navigator.userAgent.toLowerCase();\r
-var gbMac=(gAgent.indexOf("mac")!=-1);\r
-var gbSunOS=(gAgent.indexOf("sunos")!=-1);\r
-var gbOpera=(gAgent.indexOf("opera")!=-1);\r
-var gbKonqueror=(gAgent.indexOf("konqueror")!= -1);\r
-var gbSafari=(gAgent.indexOf("safari")!= -1);\r
-var gbWindows=((gAgent.indexOf('win')!= -1)||(gAgent.indexOf('16bit')!= -1));\r
-var gbMozilla=((gAgent.indexOf('gecko')!=-1) && (gAgent.indexOf('netscape')==-1));\r
-\r
-\r
-var gVersion=navigator.appVersion.toLowerCase();\r
-\r
-var gnVerMajor=parseInt(gVersion);\r
-var gnVerMinor=parseFloat(gVersion);\r
-\r
-if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings.\r
-{\r
-       gbIE=(navigator.appName.indexOf("Microsoft")!=-1);\r
-       gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1));\r
-       if(gnVerMajor>=4)\r
-       {\r
-               if(navigator.appName=="Netscape")\r
-               {\r
-                       gbNav4=true;\r
-                       if(gnVerMajor>=5)\r
-                               gbNav6=true;\r
-               }\r
-               gbIE4=(navigator.appName.indexOf("Microsoft")!=-1);\r
-       }\r
-       if(gbNav6)\r
-       {\r
-               var nPos=gAgent.indexOf("gecko");\r
-               if(nPos!=-1)\r
-               {\r
-                       var nPos2=gAgent.indexOf("/", nPos);\r
-                       if(nPos2!=-1)\r
-                       {\r
-                               var nVersion=parseFloat(gAgent.substring(nPos2+1));\r
-                               if(nVersion>=20010726)\r
-                               {\r
-                                       gbNav61=true;\r
-                                       if (nVersion>=20020823)\r
-                                               gbNav7=true;\r
-                               }\r
-                       }\r
-               }\r
-       }else if(gbIE4)\r
-       {\r
-               var nPos=gAgent.indexOf("msie");\r
-               if(nPos!=-1)\r
-               {\r
-                       var nVersion=parseFloat(gAgent.substring(nPos+5));\r
-                       if(nVersion>=5)\r
-                       {\r
-                               gbIE5=true;\r
-                               if(nVersion>=5.5)\r
-                                       gbIE55=true;\r
-                       }\r
-               }\r
-       }\r
-}\r
-else if (gbOpera)\r
-{\r
-       var nPos = gAgent.indexOf("opera");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion=parseFloat(gAgent.substring(nPos+6));\r
-               if(nVersion>=6)\r
-               {\r
-                       gbOpera6=true;\r
-                       if(nVersion>=7)\r
-                               gbOpera7=true;\r
-               }\r
-       }\r
-}\r
-else if (gbKonqueror)\r
-{\r
-       var nPos = gAgent.indexOf("konqueror");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion = parseFloat(gAgent.substring(nPos+10));\r
-               if (nVersion >= 3)\r
-               {\r
-                       gbKonqueror3=true;\r
-               }\r
-       }\r
-}\r
-\r
-var gbWhVer=true;
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whxdata/whftdata0.xml b/doc/salome/gui/GEOM/whxdata/whftdata0.xml
deleted file mode 100755 (executable)
index 9aad4e8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<ftstdata>\r
-<topic name="Building of blocks" url="blocks.htm" />\r
-<topic name="Changing displaying parameters" url="changing_displaying_parameters.htm" />\r
-<topic name="Introduction to GEOM" url="files/introduction_to_geom.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_basicgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_booleangui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_buildgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_displaygui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_generationgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_geomtoolsgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_measuregui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_operationgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_primitivegui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_repairgui_functions.htm" />\r
-<topic name="Titre" url="files/salome2_sp3_transformationgui_functions.htm" />\r
-<topic name="Blocks" url="newentity_blocks.htm" />\r
-<topic name="Sketcher" url="sketcher.htm" />\r
-<topic name="Working with groups" url="working_with_groups.htm" />\r
-\r
-</ftstdata>  \r
diff --git a/doc/salome/gui/GEOM/whxdata/whfts.xml b/doc/salome/gui/GEOM/whxdata/whfts.xml
deleted file mode 100755 (executable)
index e57bfb0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<fts>\r
-<chunkinfo url="whfwdata0.xml" first="0" last="zmin"/>\r
-\r
-<tchunkinfo first="0" last="16" url="whftdata0.xml" />\r
-\r
-</fts>\r
diff --git a/doc/salome/gui/GEOM/whxdata/whfwdata0.xml b/doc/salome/gui/GEOM/whxdata/whfwdata0.xml
deleted file mode 100755 (executable)
index 6706ec0..0000000
+++ /dev/null
@@ -1,768 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<ftswdata>\r
-<key name="0"> 1,12, </key>\r
-<key name="1"> 1,15,3,4,7,5,11,12,13,10,9,16, </key>\r
-<key name="12"> 9, </key>\r
-<key name="1d"> 3,10, </key>\r
-<key name="1st"> 3,11,12,13,10, </key>\r
-<key name="2"> 14,1,15,3,4,5,11,12,13,10,9, </key>\r
-<key name="2d"> 3,4,7,5,12,10, </key>\r
-<key name="2nd"> 3,11,12,13,10, </key>\r
-<key name="2st"> 13, </key>\r
-<key name="3"> 15,3,4,11,12,13,10, </key>\r
-<key name="3d"> 3,4,6,7,5,11,12,10,9, </key>\r
-<key name="3rd"> 3,10, </key>\r
-<key name="3st"> 13, </key>\r
-<key name="4"> 14,15,4,12,10, </key>\r
-<key name="5"> 15,7,12, </key>\r
-<key name="6"> 14,12,9, </key>\r
-<key name="7"> 12, </key>\r
-<key name="8"> 12, </key>\r
-<key name="9"> 15,12, </key>\r
-<key name="90"> 15, </key>\r
-<key name="abl"> 15, </key>\r
-<key name="absolut"> 15, </key>\r
-<key name="accessibl"> 13, </key>\r
-<key name="accord"> 3,12, </key>\r
-<key name="accordanc"> 12, </key>\r
-<key name="achiev"> 12, </key>\r
-<key name="ad"> 12,16, </key>\r
-<key name="add"> 12, </key>\r
-<key name="addobject"> 16, </key>\r
-<key name="adjustment"> 12, </key>\r
-<key name="advanc"> 7,5, </key>\r
-<key name="aim"> 10, </key>\r
-<key name="algorithm"> 10, </key>\r
-<key name="allow"> 14,15,8,12,13,16, </key>\r
-<key name="along"> 7,13,10, </key>\r
-<key name="angl"> 15,7,12,13, </key>\r
-<key name="anoth"> 4, </key>\r
-<key name="any"> 12, </key>\r
-<key name="ap"> 3,12, </key>\r
-<key name="appli"> 10, </key>\r
-<key name="applicabl"> 13, </key>\r
-<key name="apply"> 12, </key>\r
-<key name="approximation"> 12, </key>\r
-<key name="arc"> 15,3, </key>\r
-<key name="archimed"> 10, </key>\r
-<key name="argument"> 14,1,15,3,4,7,5,11,12,13,10,9,16, </key>\r
-<key name="around"> 7, </key>\r
-<key name="associat"> 6, </key>\r
-<key name="attribut"> 6, </key>\r
-<key name="automatical"> 14,3, </key>\r
-<key name="availabl"> 14,15,6,12,16, </key>\r
-<key name="ax"> 3, </key>\r
-<key name="axi"> 3,7,11,13,9, </key>\r
-<key name="b"> 3, </key>\r
-<key name="background"> 16, </key>\r
-<key name="bas"> 7,11,12,13, </key>\r
-<key name="baseshap"> 7, </key>\r
-<key name="basi"> 7, </key>\r
-<key name="basic"> 2,15,3,5,10,9, </key>\r
-<key name="basicproperti"> 9, </key>\r
-<key name="befor"> 15,12, </key>\r
-<key name="below"> 14, </key>\r
-<key name="bezi"> 3,12, </key>\r
-<key name="block"> 14,0,10,9, </key>\r
-<key name="boolean"> 2,4,5,9, </key>\r
-<key name="both"> 6, </key>\r
-<key name="bound"> 9, </key>\r
-<key name="boundari"> 12, </key>\r
-<key name="boundary"> 12, </key>\r
-<key name="boundingbox"> 9, </key>\r
-<key name="box"> 14,1,15,3,4,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="break"> 10, </key>\r
-<key name="brep"> 2,8, </key>\r
-<key name="brows"> 3,6,8, </key>\r
-<key name="bsplin"> 12, </key>\r
-<key name="bsplinerestriction"> 12, </key>\r
-<key name="build"> 14,0,2,5,10, </key>\r
-<key name="button"> 3,12, </key>\r
-<key name="bypas"> 14, </key>\r
-<key name="cad"> 2, </key>\r
-<key name="camera"> 3, </key>\r
-<key name="cas"> 14,3,12, </key>\r
-<key name="cent"> 15,3,11,13,9, </key>\r
-<key name="centerofscal"> 13, </key>\r
-<key name="central"> 11, </key>\r
-<key name="chamf"> 10, </key>\r
-<key name="chang"> 1, </key>\r
-<key name="check"> 12,10,9, </key>\r
-<key name="checkbox"> 12,13, </key>\r
-<key name="checkcompoundofblock"> 9, </key>\r
-<key name="checkshap"> 9, </key>\r
-<key name="choos"> 6,8,10, </key>\r
-<key name="circl"> 3, </key>\r
-<key name="click"> 1,6,8, </key>\r
-<key name="clos"> 5,12, </key>\r
-<key name="closecontour"> 12, </key>\r
-<key name="closedwir"> 12, </key>\r
-<key name="closur"> 12, </key>\r
-<key name="coincident"> 12, </key>\r
-<key name="color"> 1, </key>\r
-<key name="command"> 14,1,15,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="common"> 4,12, </key>\r
-<key name="complex"> 2,4,7,10, </key>\r
-<key name="component"> 15,3,13, </key>\r
-<key name="compos"> 14,9, </key>\r
-<key name="compound"> 14,4,5,12,13,10,9, </key>\r
-<key name="compsolid"> 7, </key>\r
-<key name="comput"> 10,9, </key>\r
-<key name="con"> 11, </key>\r
-<key name="concern"> 9, </key>\r
-<key name="condition"> 9, </key>\r
-<key name="confirm"> 8, </key>\r
-<key name="conical"> 12, </key>\r
-<key name="connect"> 5,10,9, </key>\r
-<key name="connection"> 9, </key>\r
-<key name="consider"> 12,9, </key>\r
-<key name="consol"> 9, </key>\r
-<key name="constraint"> 14, </key>\r
-<key name="construct"> 14,5,11, </key>\r
-<key name="construction"> 2,4, </key>\r
-<key name="constructor"> 3,11,12,13,10, </key>\r
-<key name="contain"> 15,8,12,10, </key>\r
-<key name="content"> 8, </key>\r
-<key name="continuiti"> 12, </key>\r
-<key name="continuity"> 12, </key>\r
-<key name="continuity2d"> 12, </key>\r
-<key name="continuity3d"> 12, </key>\r
-<key name="contour"> 12, </key>\r
-<key name="conversion"> 12, </key>\r
-<key name="coordinat"> 15,3,11,13,9, </key>\r
-<key name="copy"> 13, </key>\r
-<key name="corner"> 11, </key>\r
-<key name="correction"> 12, </key>\r
-<key name="correspond"> 3,7,5,11,12,10, </key>\r
-<key name="coupl"> 15, </key>\r
-<key name="creat"> 14,15,3,6,7,5,11,12,13,10,9,16, </key>\r
-<key name="creategroup"> 16, </key>\r
-<key name="creation"> 2,7,12,10,16, </key>\r
-<key name="current"> 15,6, </key>\r
-<key name="curv"> 15,3,7,12, </key>\r
-<key name="curve2dmod"> 12, </key>\r
-<key name="curve3dmod"> 12, </key>\r
-<key name="curvecontinuity"> 12, </key>\r
-<key name="cut"> 4,12,10, </key>\r
-<key name="cylind"> 11, </key>\r
-<key name="cylindrical"> 12, </key>\r
-<key name="d1"> 10, </key>\r
-<key name="d2"> 10, </key>\r
-<key name="data"> 9, </key>\r
-<key name="default"> 15,16, </key>\r
-<key name="defin"> 15,3,11,12,13,10, </key>\r
-<key name="definit"> 12,9, </key>\r
-<key name="definition"> 7,12, </key>\r
-<key name="deflection"> 10, </key>\r
-<key name="degenerat"> 9, </key>\r
-<key name="degre"> 15,7,12, </key>\r
-<key name="delet"> 10, </key>\r
-<key name="density"> 10, </key>\r
-<key name="depend"> 10, </key>\r
-<key name="describ"> 8, </key>\r
-<key name="description"> 14,1,15,3,4,6,7,5,11,12,13,10,9,16, </key>\r
-<key name="desir"> 12, </key>\r
-<key name="destin"> 2, </key>\r
-<key name="destination"> 15, </key>\r
-<key name="detect"> 12, </key>\r
-<key name="detection"> 12, </key>\r
-<key name="diagonal"> 11, </key>\r
-<key name="dialog"> 14,1,15,3,4,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="dif"> 6, </key>\r
-<key name="different"> 1,6,11,9, </key>\r
-<key name="dimension"> 7,11,10,9, </key>\r
-<key name="dir"> 13, </key>\r
-<key name="dir1"> 13, </key>\r
-<key name="dir2"> 13, </key>\r
-<key name="direction"> 15,3,7,11,13,10, </key>\r
-<key name="dirface1v"> 10, </key>\r
-<key name="dirfaceid1"> 10, </key>\r
-<key name="dirfaceid1u"> 10, </key>\r
-<key name="dirfaceid1v"> 10, </key>\r
-<key name="dirfaceid2"> 10, </key>\r
-<key name="dirfaceid2u"> 10, </key>\r
-<key name="dirfaceid2v"> 10, </key>\r
-<key name="display"> 1,3,6,8,12,9, </key>\r
-<key name="displayall"> 6, </key>\r
-<key name="displayon"> 6, </key>\r
-<key name="distanc"> 12,13,9, </key>\r
-<key name="divid"> 12, </key>\r
-<key name="divideedg"> 12, </key>\r
-<key name="don"> 12,13, </key>\r
-<key name="doubl"> 1,15, </key>\r
-<key name="dropsmalledg"> 12, </key>\r
-<key name="dx"> 15,13, </key>\r
-<key name="dy"> 15,13, </key>\r
-<key name="dz"> 13, </key>\r
-<key name="e"> 6, </key>\r
-<key name="e1"> 14, </key>\r
-<key name="e2"> 14, </key>\r
-<key name="e3"> 14, </key>\r
-<key name="e4"> 14, </key>\r
-<key name="easi"> 16, </key>\r
-<key name="edg"> 14,3,7,5,12,10,9, </key>\r
-<key name="edgeid"> 12, </key>\r
-<key name="edit"> 16, </key>\r
-<key name="egdemaxtol"> 9, </key>\r
-<key name="egdemintol"> 9, </key>\r
-<key name="eith"> 14, </key>\r
-<key name="element"> 15,3,4,6,7,5,11,12,9, </key>\r
-<key name="elementary"> 14, </key>\r
-<key name="ellips"> 3, </key>\r
-<key name="empty"> 12, </key>\r
-<key name="encounter"> 9, </key>\r
-<key name="end"> 15,3,12,13, </key>\r
-<key name="ent"> 3,8, </key>\r
-<key name="entir"> 9, </key>\r
-<key name="entity"> 14,15,3,7,5,11,16, </key>\r
-<key name="equal"> 15, </key>\r
-<key name="eras"> 6, </key>\r
-<key name="eraseall"> 6, </key>\r
-<key name="eraseon"> 6, </key>\r
-<key name="error"> 12,9, </key>\r
-<key name="etc"> 5,12, </key>\r
-<key name="exampl"> 14,1,15,3,4,7,5,11,12,13,10,16, </key>\r
-<key name="except"> 12, </key>\r
-<key name="exist"> 15,16, </key>\r
-<key name="explod"> 0,5,10, </key>\r
-<key name="export"> 2,8, </key>\r
-<key name="exportation"> 8, </key>\r
-<key name="extra"> 9, </key>\r
-<key name="extract"> 10, </key>\r
-<key name="extrud"> 7, </key>\r
-<key name="extrusion"> 7, </key>\r
-<key name="f1"> 14, </key>\r
-<key name="f2"> 14, </key>\r
-<key name="f3"> 14, </key>\r
-<key name="f4"> 14, </key>\r
-<key name="f5"> 14, </key>\r
-<key name="f6"> 14, </key>\r
-<key name="fac"> 14,3,7,5,12,13,10,9, </key>\r
-<key name="face1"> 10, </key>\r
-<key name="face2"> 10, </key>\r
-<key name="facemaxtol"> 9, </key>\r
-<key name="facemintol"> 9, </key>\r
-<key name="factor"> 13, </key>\r
-<key name="fals"> 12, </key>\r
-<key name="field"> 3, </key>\r
-<key name="fil"> 3,8,7, </key>\r
-<key name="filenam"> 8, </key>\r
-<key name="fill"> 7,12, </key>\r
-<key name="fillet"> 10, </key>\r
-<key name="first"> 3,4,5,11,13,10, </key>\r
-<key name="fix"> 12, </key>\r
-<key name="fixfacesiz"> 12, </key>\r
-<key name="fixshap"> 12, </key>\r
-<key name="flag"> 9, </key>\r
-<key name="follow"> 4,6,5,9, </key>\r
-<key name="format"> 2,8, </key>\r
-<key name="formatnam"> 8, </key>\r
-<key name="four"> 14, </key>\r
-<key name="fre"> 12, </key>\r
-<key name="function"> 2,5, </key>\r
-<key name="functionaliti"> 14, </key>\r
-<key name="functionality"> 15,16, </key>\r
-<key name="fus"> 4, </key>\r
-<key name="gap"> 12, </key>\r
-<key name="general"> 14, </key>\r
-<key name="generat"> 7, </key>\r
-<key name="generation"> 2,7, </key>\r
-<key name="geom"> 1,2,3,4,6,8,7,5,11,13,10,9, </key>\r
-<key name="geom_object"> 14,15,3,4,7,5,11,12,13,10,9,16, </key>\r
-<key name="geometric"> 14, </key>\r
-<key name="geometrical"> 1,2,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="geometry"> 12, </key>\r
-<key name="geompy"> 14,15,3,4,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="get"> 4,5,9, </key>\r
-<key name="getfreeboundary"> 12, </key>\r
-<key name="getfreefacesid"> 12, </key>\r
-<key name="getobjectid"> 16, </key>\r
-<key name="getsubshapeid"> 5, </key>\r
-<key name="gg"> 1, </key>\r
-<key name="giv"> 3, </key>\r
-<key name="given"> 3,5,12,13,10,9, </key>\r
-<key name="glu"> 12,10,9, </key>\r
-<key name="graphic"> 6, </key>\r
-<key name="gravity"> 9, </key>\r
-<key name="group"> 10,16, </key>\r
-<key name="gui"> 10, </key>\r
-<key name="half"> 3, </key>\r
-<key name="handl"> 16, </key>\r
-<key name="hav"> 5,12, </key>\r
-<key name="height"> 7,11, </key>\r
-<key name="hexahedral"> 14,10, </key>\r
-<key name="hexahedron"> 14, </key>\r
-<key name="hid"> 6, </key>\r
-<key name="highlight"> 12,9, </key>\r
-<key name="hol"> 12, </key>\r
-<key name="i"> 6, </key>\r
-<key name="i11"> 9, </key>\r
-<key name="i12"> 9, </key>\r
-<key name="i13"> 9, </key>\r
-<key name="i21"> 9, </key>\r
-<key name="i22"> 9, </key>\r
-<key name="i23"> 9, </key>\r
-<key name="i31"> 9, </key>\r
-<key name="i32"> 9, </key>\r
-<key name="i33"> 9, </key>\r
-<key name="id"> 1,6,5,12,10,16, </key>\r
-<key name="if"> 5,12,10,9,16, </key>\r
-<key name="ig"> 2,8, </key>\r
-<key name="imag"> 13, </key>\r
-<key name="import"> 2,6,8,9, </key>\r
-<key name="importation"> 8, </key>\r
-<key name="in"> 13, </key>\r
-<key name="increas"> 12, </key>\r
-<key name="independent"> 4,6, </key>\r
-<key name="indic"> 10, </key>\r
-<key name="inertia"> 9, </key>\r
-<key name="inform"> 9, </key>\r
-<key name="initial"> 13, </key>\r
-<key name="inquir"> 9, </key>\r
-<key name="inretia"> 9, </key>\r
-<key name="insert"> 12, </key>\r
-<key name="insid"> 10, </key>\r
-<key name="integ"> 10, </key>\r
-<key name="integer"> 10, </key>\r
-<key name="intend"> 12, </key>\r
-<key name="interactive"> 10, </key>\r
-<key name="intermediat"> 14, </key>\r
-<key name="internal"> 12, </key>\r
-<key name="intersect"> 10, </key>\r
-<key name="intersection"> 10, </key>\r
-<key name="introduction"> 14,2, </key>\r
-<key name="invalid"> 12, </key>\r
-<key name="investigat"> 9, </key>\r
-<key name="isbyparamet"> 12, </key>\r
-<key name="iscommonvertex"> 12, </key>\r
-<key name="iso"> 1, </key>\r
-<key name="isolin"> 1, </key>\r
-<key name="iteration"> 7, </key>\r
-<key name="itself"> 12, </key>\r
-<key name="ix"> 9, </key>\r
-<key name="iy"> 9, </key>\r
-<key name="iz"> 9, </key>\r
-<key name="just"> 14, </key>\r
-<key name="keep"> 13, </key>\r
-<key name="last"> 3,5, </key>\r
-<key name="lc"> 3, </key>\r
-<key name="least"> 3, </key>\r
-<key name="length"> 15,12,9, </key>\r
-<key name="les"> 12, </key>\r
-<key name="limit"> 10, </key>\r
-<key name="lin"> 15,3,10, </key>\r
-<key name="list"> 15,3,7,5,12,10,16, </key>\r
-<key name="listoffaceid"> 10, </key>\r
-<key name="listofgeomshap"> 12, </key>\r
-<key name="listofid"> 5,12, </key>\r
-<key name="listofkeepinsid"> 10, </key>\r
-<key name="listofmaterial"> 10, </key>\r
-<key name="listofremoveinsid"> 10, </key>\r
-<key name="listofshap"> 3,5,12,10, </key>\r
-<key name="listofshapeid"> 10, </key>\r
-<key name="listoftool"> 10, </key>\r
-<key name="listofwireid"> 12, </key>\r
-<key name="local"> 15,3,13, </key>\r
-<key name="locat"> 3, </key>\r
-<key name="location"> 3,8,13, </key>\r
-<key name="lwp"> 15, </key>\r
-<key name="ly"> 15,12, </key>\r
-<key name="main"> 14,0,15,3,4,6,7,5,11,12,13,10,9,16, </key>\r
-<key name="mainshap"> 16, </key>\r
-<key name="major"> 3,11, </key>\r
-<key name="mak"> 13,10,16, </key>\r
-<key name="makearc"> 3, </key>\r
-<key name="makebezi"> 3, </key>\r
-<key name="makeblockexplod"> 10, </key>\r
-<key name="makeboolean"> 4, </key>\r
-<key name="makebox"> 11, </key>\r
-<key name="makecdg"> 9, </key>\r
-<key name="makechamferedg"> 10, </key>\r
-<key name="makechamferfac"> 10, </key>\r
-<key name="makecircl"> 3, </key>\r
-<key name="makecompound"> 5, </key>\r
-<key name="makecon"> 11, </key>\r
-<key name="makecylind"> 11, </key>\r
-<key name="makeedg"> 5, </key>\r
-<key name="makeellips"> 3, </key>\r
-<key name="makefac"> 5, </key>\r
-<key name="makefil"> 7, </key>\r
-<key name="makefillet"> 10, </key>\r
-<key name="makegluefac"> 12, </key>\r
-<key name="makehexasolid"> 14, </key>\r
-<key name="makehexasolidtwofac"> 14, </key>\r
-<key name="makeinterpol"> 3, </key>\r
-<key name="makelin"> 3, </key>\r
-<key name="makemark"> 3, </key>\r
-<key name="makemirrorbyplan"> 13, </key>\r
-<key name="makemultirotation1d"> 13, </key>\r
-<key name="makemultirotation2d"> 13, </key>\r
-<key name="makemultitransformation1d"> 10, </key>\r
-<key name="makemultitransformation2d"> 10, </key>\r
-<key name="makemultitranslation1d"> 13, </key>\r
-<key name="makemultitranslation2d"> 13, </key>\r
-<key name="makeoffset"> 13, </key>\r
-<key name="makepartition"> 10, </key>\r
-<key name="makepip"> 7, </key>\r
-<key name="makeplan"> 3, </key>\r
-<key name="makepolylin"> 3, </key>\r
-<key name="makeposition"> 13, </key>\r
-<key name="makeprism"> 7, </key>\r
-<key name="makequadfac"> 14, </key>\r
-<key name="makequadfaceedg"> 14, </key>\r
-<key name="makequadfacevertic"> 14, </key>\r
-<key name="makerevolution"> 7, </key>\r
-<key name="makerotation"> 13, </key>\r
-<key name="makescaletransform"> 13, </key>\r
-<key name="makesew"> 12, </key>\r
-<key name="makeshell"> 5, </key>\r
-<key name="makesketch"> 15, </key>\r
-<key name="makesolid"> 5, </key>\r
-<key name="makespher"> 11, </key>\r
-<key name="maketoru"> 11, </key>\r
-<key name="maketranslation"> 13, </key>\r
-<key name="makevector"> 3, </key>\r
-<key name="makevertex"> 3, </key>\r
-<key name="makewir"> 5, </key>\r
-<key name="manual"> 3, </key>\r
-<key name="mas"> 9, </key>\r
-<key name="material"> 10, </key>\r
-<key name="matrix"> 9, </key>\r
-<key name="max"> 7,12,10, </key>\r
-<key name="maxdegre"> 7, </key>\r
-<key name="maximal"> 7,12,10,9, </key>\r
-<key name="maximum"> 12,10, </key>\r
-<key name="maxnbfac"> 10, </key>\r
-<key name="maxtoleranc"> 12, </key>\r
-<key name="maxtolerance3d"> 12, </key>\r
-<key name="mean"> 15,13, </key>\r
-<key name="measur"> 9, </key>\r
-<key name="measurement"> 9, </key>\r
-<key name="mention"> 14, </key>\r
-<key name="menu"> 14,0,1,15,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="merg"> 12, </key>\r
-<key name="mesh"> 14,10, </key>\r
-<key name="meshingdeflection"> 10, </key>\r
-<key name="method"> 5, </key>\r
-<key name="middl"> 3, </key>\r
-<key name="min"> 7,10,9, </key>\r
-<key name="mindegre"> 7, </key>\r
-<key name="mindistanc"> 9, </key>\r
-<key name="minimal"> 7,10,9, </key>\r
-<key name="minimum"> 10, </key>\r
-<key name="minnbfac"> 10, </key>\r
-<key name="minor"> 3,11, </key>\r
-<key name="mirror"> 13, </key>\r
-<key name="mod"> 1,12, </key>\r
-<key name="model"> 2,10, </key>\r
-<key name="modifi"> 3,12,13, </key>\r
-<key name="modification"> 12,13, </key>\r
-<key name="modify"> 13, </key>\r
-<key name="modul"> 2,6, </key>\r
-<key name="moment"> 9, </key>\r
-<key name="mov"> 13, </key>\r
-<key name="much"> 16, </key>\r
-<key name="multi"> 0,13,10, </key>\r
-<key name="multitud"> 10, </key>\r
-<key name="must"> 12,13,9, </key>\r
-<key name="nam"> 14,3,4,8,7,5,11,12,13,10, </key>\r
-<key name="nbit"> 7, </key>\r
-<key name="nbsplitpoint"> 12, </key>\r
-<key name="nbtim"> 13,10, </key>\r
-<key name="nbtimes1"> 13, </key>\r
-<key name="nbtimes2"> 13, </key>\r
-<key name="nbtimesu"> 10, </key>\r
-<key name="nbtimesv"> 10, </key>\r
-<key name="necessary"> 15,6,12,9, </key>\r
-<key name="need"> 12, </key>\r
-<key name="negativ"> 13, </key>\r
-<key name="neigbour"> 12, </key>\r
-<key name="new"> 14,15,3,7,5,11,12,16, </key>\r
-<key name="nod"> 3, </key>\r
-<key name="noerror"> 12, </key>\r
-<key name="normal"> 3,7,13, </key>\r
-<key name="notion"> 14, </key>\r
-<key name="numb"> 1,7,12,13,10, </key>\r
-<key name="number"> 10, </key>\r
-<key name="numeb"> 10, </key>\r
-<key name="object"> 1,2,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="occ"> 1,6,12,16, </key>\r
-<key name="occur"> 12, </key>\r
-<key name="offer"> 16, </key>\r
-<key name="offset"> 13, </key>\r
-<key name="ok"> 3,8, </key>\r
-<key name="on"> 15,3,4,6,12,13,10, </key>\r
-<key name="open"> 12, </key>\r
-<key name="openwir"> 12, </key>\r
-<key name="operation"> 14,2,4,6,7,12,13,10,16, </key>\r
-<key name="operator"> 12, </key>\r
-<key name="opposit"> 11, </key>\r
-<key name="optimization"> 2, </key>\r
-<key name="option"> 0, </key>\r
-<key name="ord"> 12,9, </key>\r
-<key name="orient"> 14,3, </key>\r
-<key name="origin"> 3,11, </key>\r
-<key name="otherwis"> 12,13, </key>\r
-<key name="outsid"> 10, </key>\r
-<key name="ox"> 15,3, </key>\r
-<key name="oy"> 3, </key>\r
-<key name="oz"> 15,3, </key>\r
-<key name="paramet"> 3,5,12, </key>\r
-<key name="parameter"> 1,15,3,7,12, </key>\r
-<key name="paramt"> 12, </key>\r
-<key name="part"> 4,11, </key>\r
-<key name="partition"> 10, </key>\r
-<key name="pas"> 3, </key>\r
-<key name="path"> 7, </key>\r
-<key name="pathshap"> 7, </key>\r
-<key name="pattern"> 13, </key>\r
-<key name="perform"> 10,16, </key>\r
-<key name="perpendicular"> 15, </key>\r
-<key name="pip"> 7, </key>\r
-<key name="plan"> 15,3,13,10, </key>\r
-<key name="planar"> 15,3,5, </key>\r
-<key name="platform"> 16, </key>\r
-<key name="plung"> 10, </key>\r
-<key name="point"> 14,15,3,11,12,13,9, </key>\r
-<key name="point1"> 3, </key>\r
-<key name="point2"> 3, </key>\r
-<key name="point3"> 3, </key>\r
-<key name="pointcoordinat"> 9, </key>\r
-<key name="polylin"> 3, </key>\r
-<key name="pop"> 1,6, </key>\r
-<key name="position"> 3,12, </key>\r
-<key name="possibility"> 12, </key>\r
-<key name="possibl"> 6,12,10,9, </key>\r
-<key name="precision"> 12, </key>\r
-<key name="predefin"> 15, </key>\r
-<key name="preferenc"> 16, </key>\r
-<key name="pres"> 3, </key>\r
-<key name="preview"> 3, </key>\r
-<key name="previou"> 15, </key>\r
-<key name="primitiv"> 2,11, </key>\r
-<key name="print"> 9, </key>\r
-<key name="prism"> 7, </key>\r
-<key name="problem"> 12, </key>\r
-<key name="proces"> 12,10, </key>\r
-<key name="processshap"> 12, </key>\r
-<key name="project"> 16, </key>\r
-<key name="propagat"> 10, </key>\r
-<key name="propagation"> 10, </key>\r
-<key name="properti"> 1,9, </key>\r
-<key name="put"> 10, </key>\r
-<key name="python"> 9, </key>\r
-<key name="quadrangl"> 14,3,9, </key>\r
-<key name="radian"> 12, </key>\r
-<key name="radiu"> 15,3,11,10, </key>\r
-<key name="radius"> 3,11, </key>\r
-<key name="radius1"> 11, </key>\r
-<key name="radius2"> 11, </key>\r
-<key name="radiusmajor"> 3,11, </key>\r
-<key name="radiusminor"> 3,11, </key>\r
-<key name="rang"> 2,12, </key>\r
-<key name="re"> 12, </key>\r
-<key name="reasonabl"> 6, </key>\r
-<key name="reconstruction"> 10, </key>\r
-<key name="referenc"> 3, </key>\r
-<key name="regard"> 3, </key>\r
-<key name="relativ"> 15, </key>\r
-<key name="remov"> 12,13,16, </key>\r
-<key name="removeobject"> 16, </key>\r
-<key name="removeweb"> 10, </key>\r
-<key name="repair"> 2,12, </key>\r
-<key name="repetition"> 13, </key>\r
-<key name="represent"> 3, </key>\r
-<key name="request"> 5, </key>\r
-<key name="requir"> 6,8,12, </key>\r
-<key name="requireddegre"> 12, </key>\r
-<key name="requirednbsegment"> 12, </key>\r
-<key name="respect"> 15,12, </key>\r
-<key name="restriction"> 12, </key>\r
-<key name="result"> 14,15,3,4,7,5,11,12,13,10,9,16, </key>\r
-<key name="resultant"> 12, </key>\r
-<key name="retriev"> 5,12, </key>\r
-<key name="return"> 5,12,10,9,16, </key>\r
-<key name="revers"> 13, </key>\r
-<key name="revolution"> 7,12, </key>\r
-<key name="right"> 1,6, </key>\r
-<key name="rotat"> 7,13, </key>\r
-<key name="rotation"> 13, </key>\r
-<key name="s"> 3,5,12,13,10,16, </key>\r
-<key name="salom"> 2,16, </key>\r
-<key name="sam"> 15,12, </key>\r
-<key name="sameparamet"> 12, </key>\r
-<key name="satisfy"> 9, </key>\r
-<key name="scal"> 13, </key>\r
-<key name="se"> 8,9, </key>\r
-<key name="search"> 8, </key>\r
-<key name="second"> 4,11,13,10, </key>\r
-<key name="section"> 4,10, </key>\r
-<key name="segment"> 15,12, </key>\r
-<key name="select"> 0,1,15,3,4,6,8,7,5,11,12,10,9,16, </key>\r
-<key name="selection"> 15,3,10, </key>\r
-<key name="sens"> 10, </key>\r
-<key name="serv"> 3,7, </key>\r
-<key name="set"> 1,3,12,13,10, </key>\r
-<key name="setcolor"> 1, </key>\r
-<key name="setdisplaymod"> 1, </key>\r
-<key name="settransparency"> 1, </key>\r
-<key name="sew"> 12, </key>\r
-<key name="sg"> 6, </key>\r
-<key name="shad"> 1, </key>\r
-<key name="shap"> 1,2,4,6,8,7,5,12,13,10,9,16, </key>\r
-<key name="shape1"> 4,9, </key>\r
-<key name="shape2"> 4,9, </key>\r
-<key name="shapesto"> 12, </key>\r
-<key name="shapetyp"> 10,16, </key>\r
-<key name="shar"> 12, </key>\r
-<key name="shel"> 5,12,13, </key>\r
-<key name="shell"> 14,7,5,13, </key>\r
-<key name="short"> 1, </key>\r
-<key name="should"> 12,9, </key>\r
-<key name="shown"> 3, </key>\r
-<key name="sid"> 3, </key>\r
-<key name="sign"> 13, </key>\r
-<key name="six"> 14, </key>\r
-<key name="siz"> 3,12,10, </key>\r
-<key name="sketch"> 15, </key>\r
-<key name="small"> 3,12, </key>\r
-<key name="solid"> 14,7,5,11,13,10, </key>\r
-<key name="soon"> 3, </key>\r
-<key name="spac"> 3,9, </key>\r
-<key name="specifi"> 3,12,10, </key>\r
-<key name="specific"> 14, </key>\r
-<key name="specify"> 12,13, </key>\r
-<key name="spher"> 11, </key>\r
-<key name="splin"> 3, </key>\r
-<key name="split"> 12, </key>\r
-<key name="splitangl"> 12, </key>\r
-<key name="splitclosedfac"> 12, </key>\r
-<key name="splitcontinuity"> 12, </key>\r
-<key name="spot"> 12, </key>\r
-<key name="stag"> 14, </key>\r
-<key name="standard"> 8, </key>\r
-<key name="start"> 15,3,13, </key>\r
-<key name="step"> 2,8,13, </key>\r
-<key name="step1"> 13, </key>\r
-<key name="step2"> 13, </key>\r
-<key name="str"> 15,8, </key>\r
-<key name="strip"> 12, </key>\r
-<key name="study"> 6, </key>\r
-<key name="sub"> 5,12,16, </key>\r
-<key name="submenu"> 0,5,12,9, </key>\r
-<key name="subshap"> 5,10,16, </key>\r
-<key name="subshapeall"> 5, </key>\r
-<key name="subshapeid"> 16, </key>\r
-<key name="suppres"> 12, </key>\r
-<key name="suppressfac"> 12, </key>\r
-<key name="suppresshol"> 12, </key>\r
-<key name="suppressinternalwir"> 12, </key>\r
-<key name="surfac"> 12,13,9, </key>\r
-<key name="surfacecontinuity"> 12, </key>\r
-<key name="surfacemod"> 12, </key>\r
-<key name="symmetrical"> 13, </key>\r
-<key name="symmetry"> 11,13, </key>\r
-<key name="system"> 3,13, </key>\r
-<key name="tangent"> 15, </key>\r
-<key name="target"> 15,10, </key>\r
-<key name="tetrahedral"> 14, </key>\r
-<key name="theendlc"> 13, </key>\r
-<key name="them"> 12, </key>\r
-<key name="theobject"> 13, </key>\r
-<key name="therefor"> 15, </key>\r
-<key name="theshap"> 12, </key>\r
-<key name="thestartlc"> 13, </key>\r
-<key name="thetoleranc"> 12, </key>\r
-<key name="tim"> 13, </key>\r
-<key name="tobezi"> 12, </key>\r
-<key name="toggl"> 16, </key>\r
-<key name="tol2d"> 7, </key>\r
-<key name="tol3d"> 7, </key>\r
-<key name="toleranc"> 7,12,9, </key>\r
-<key name="tolerance2d"> 12, </key>\r
-<key name="tolerance3d"> 12, </key>\r
-<key name="tool"> 9, </key>\r
-<key name="toru"> 11, </key>\r
-<key name="transform"> 4,13,10, </key>\r
-<key name="transformation"> 0,2,13,10, </key>\r
-<key name="translat"> 13, </key>\r
-<key name="translation"> 13,10, </key>\r
-<key name="transparency"> 1, </key>\r
-<key name="trihedron"> 3, </key>\r
-<key name="trimsiz"> 3, </key>\r
-<key name="tru"> 12,10,9, </key>\r
-<key name="tui"> 14,1,15,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="tupl"> 9, </key>\r
-<key name="two"> 14,4,11,12,13,10,9, </key>\r
-<key name="typ"> 15,4,5,11,12,10,9,16, </key>\r
-<key name="typeofshap"> 5, </key>\r
-<key name="underly"> 12, </key>\r
-<key name="up"> 1,6,11,10, </key>\r
-<key name="updat"> 3, </key>\r
-<key name="us"> 14,2,15,3,4,6,7,5,12,13,10,9,16, </key>\r
-<key name="useful"> 16, </key>\r
-<key name="v1"> 14, </key>\r
-<key name="v2"> 14, </key>\r
-<key name="v3"> 14, </key>\r
-<key name="v4"> 14, </key>\r
-<key name="val"> 12, </key>\r
-<key name="valid"> 9, </key>\r
-<key name="validity"> 9, </key>\r
-<key name="valu"> 1,15,3,7,11,12,13,10,9, </key>\r
-<key name="variou"> 12, </key>\r
-<key name="vector"> 15,3,7,11,13, </key>\r
-<key name="vertex"> 3,7,5,11,12,13,9, </key>\r
-<key name="vertex1"> 5, </key>\r
-<key name="vertex2"> 5, </key>\r
-<key name="vertexmaxtol"> 9, </key>\r
-<key name="vertexmintol"> 9, </key>\r
-<key name="vertic"> 14,3,5,11,12,13, </key>\r
-<key name="via"> 14,15,13,16, </key>\r
-<key name="view"> 1,3,6,12,9,16, </key>\r
-<key name="viewer"> 6, </key>\r
-<key name="visibility"> 6, </key>\r
-<key name="visualization"> 1,6, </key>\r
-<key name="volum"> 9, </key>\r
-<key name="vtk"> 6, </key>\r
-<key name="vx"> 15, </key>\r
-<key name="wantplanarfac"> 5, </key>\r
-<key name="wat"> 10, </key>\r
-<key name="waterdensity"> 10, </key>\r
-<key name="weight"> 10, </key>\r
-<key name="whati"> 9, </key>\r
-<key name="wheth"> 9, </key>\r
-<key name="whil"> 12, </key>\r
-<key name="whos"> 5,9, </key>\r
-<key name="wid"> 2, </key>\r
-<key name="will"> 3,8,12,13,10, </key>\r
-<key name="wir"> 14,7,5,12, </key>\r
-<key name="wirefram"> 1, </key>\r
-<key name="wish"> 8, </key>\r
-<key name="within"> 1,12, </key>\r
-<key name="work"> 15,3,6,12,16, </key>\r
-<key name="x"> 15,3,9, </key>\r
-<key name="x1"> 11, </key>\r
-<key name="x2"> 11, </key>\r
-<key name="xdx"> 3, </key>\r
-<key name="xdy"> 3, </key>\r
-<key name="xdz"> 3, </key>\r
-<key name="xmax"> 9, </key>\r
-<key name="xmin"> 9, </key>\r
-<key name="xoy"> 15, </key>\r
-<key name="xyz"> 3, </key>\r
-<key name="y"> 15,3,9, </key>\r
-<key name="y1"> 11, </key>\r
-<key name="y2"> 11, </key>\r
-<key name="ydx"> 3, </key>\r
-<key name="ydy"> 3, </key>\r
-<key name="ydz"> 3, </key>\r
-<key name="ymax"> 9, </key>\r
-<key name="ymin"> 9, </key>\r
-<key name="your"> 8,12,9,16, </key>\r
-<key name="z"> 3,10,9, </key>\r
-<key name="z1"> 11, </key>\r
-<key name="z2"> 11, </key>\r
-<key name="zmax"> 9, </key>\r
-<key name="zmin"> 9, </key>\r
-\r
-</ftswdata>  \r
diff --git a/doc/salome/gui/GEOM/whxdata/whfwdata1.xml b/doc/salome/gui/GEOM/whxdata/whfwdata1.xml
deleted file mode 100755 (executable)
index d2e772d..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<ftswdata>\r
-<key name="geompy"> 14,15,3,4,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="get"> 4,5,9, </key>\r
-<key name="getfreeboundary"> 12, </key>\r
-<key name="getobjectid"> 16, </key>\r
-<key name="getsubshapeid"> 5, </key>\r
-<key name="gg"> 1, </key>\r
-<key name="giv"> 3, </key>\r
-<key name="given"> 3,5,12,13,10, </key>\r
-<key name="glu"> 12,10, </key>\r
-<key name="graphic"> 6, </key>\r
-<key name="gravity"> 9, </key>\r
-<key name="group"> 16, </key>\r
-<key name="gui"> 10, </key>\r
-<key name="half"> 3, </key>\r
-<key name="hav"> 5,12, </key>\r
-<key name="height"> 7,11, </key>\r
-<key name="hexahedral"> 14,10, </key>\r
-<key name="hexahedron"> 14, </key>\r
-<key name="hid"> 6, </key>\r
-<key name="highlight"> 12, </key>\r
-<key name="hol"> 12, </key>\r
-<key name="i"> 6, </key>\r
-<key name="i11"> 9, </key>\r
-<key name="i12"> 9, </key>\r
-<key name="i13"> 9, </key>\r
-<key name="i21"> 9, </key>\r
-<key name="i22"> 9, </key>\r
-<key name="i23"> 9, </key>\r
-<key name="i31"> 9, </key>\r
-<key name="i32"> 9, </key>\r
-<key name="i33"> 9, </key>\r
-<key name="id"> 1,6,5,12,10,16, </key>\r
-<key name="if"> 5,12,10,9, </key>\r
-<key name="ig"> 2,8, </key>\r
-<key name="imag"> 13, </key>\r
-<key name="import"> 2,6,8,9, </key>\r
-<key name="importation"> 8, </key>\r
-<key name="in"> 13, </key>\r
-<key name="increas"> 12, </key>\r
-<key name="independent"> 4,6, </key>\r
-<key name="indic"> 10, </key>\r
-<key name="inertia"> 9, </key>\r
-<key name="initial"> 13, </key>\r
-<key name="inquir"> 9, </key>\r
-<key name="inretia"> 9, </key>\r
-<key name="insert"> 12, </key>\r
-<key name="insid"> 10, </key>\r
-<key name="integ"> 10, </key>\r
-<key name="integer"> 10, </key>\r
-<key name="intend"> 12, </key>\r
-<key name="interactive"> 10, </key>\r
-<key name="intermediat"> 14, </key>\r
-<key name="internal"> 12, </key>\r
-<key name="intersect"> 10, </key>\r
-<key name="intersection"> 10, </key>\r
-<key name="introduction"> 14,2, </key>\r
-<key name="invalid"> 12, </key>\r
-<key name="isbyparamet"> 12, </key>\r
-<key name="iscommonvertex"> 12, </key>\r
-<key name="iso"> 1, </key>\r
-<key name="isolin"> 1, </key>\r
-<key name="iteration"> 7, </key>\r
-<key name="itself"> 12, </key>\r
-<key name="ix"> 9, </key>\r
-<key name="iy"> 9, </key>\r
-<key name="iz"> 9, </key>\r
-<key name="just"> 14, </key>\r
-<key name="keep"> 13, </key>\r
-<key name="last"> 3,5, </key>\r
-<key name="lc"> 3, </key>\r
-<key name="least"> 3, </key>\r
-<key name="length"> 15,12,9, </key>\r
-<key name="les"> 12, </key>\r
-<key name="limit"> 10, </key>\r
-<key name="lin"> 15,3,10, </key>\r
-<key name="list"> 15,3,7,5,12,10,16, </key>\r
-<key name="listoffaceid"> 10, </key>\r
-<key name="listofgeomshap"> 12, </key>\r
-<key name="listofid"> 5,12, </key>\r
-<key name="listofkeepinsid"> 10, </key>\r
-<key name="listofmaterial"> 10, </key>\r
-<key name="listofremoveinsid"> 10, </key>\r
-<key name="listofshap"> 3,5,12,10, </key>\r
-<key name="listofshapeid"> 10, </key>\r
-<key name="listoftool"> 10, </key>\r
-<key name="listofwireid"> 12, </key>\r
-<key name="local"> 15,3,13, </key>\r
-<key name="locat"> 3, </key>\r
-<key name="location"> 3,8,13, </key>\r
-<key name="lwp"> 15, </key>\r
-<key name="ly"> 15,12, </key>\r
-<key name="main"> 0,3,4,6,7,5,11,12,10,9,16, </key>\r
-<key name="mainshap"> 16, </key>\r
-<key name="major"> 3,11, </key>\r
-<key name="mak"> 13,10, </key>\r
-<key name="makearc"> 3, </key>\r
-<key name="makebezi"> 3, </key>\r
-<key name="makeblockexplod"> 10, </key>\r
-<key name="makeboolean"> 4, </key>\r
-<key name="makebox"> 11, </key>\r
-<key name="makecdg"> 9, </key>\r
-<key name="makechamferedg"> 10, </key>\r
-<key name="makechamferfac"> 10, </key>\r
-<key name="makecircl"> 3, </key>\r
-<key name="makecompound"> 5, </key>\r
-<key name="makecon"> 11, </key>\r
-<key name="makecylind"> 11, </key>\r
-<key name="makeedg"> 5, </key>\r
-<key name="makeellips"> 3, </key>\r
-<key name="makefac"> 5, </key>\r
-<key name="makefil"> 7, </key>\r
-<key name="makefillet"> 10, </key>\r
-<key name="makegluefac"> 12, </key>\r
-<key name="makehexasolid"> 14, </key>\r
-<key name="makehexasolidtwofac"> 14, </key>\r
-<key name="makeinterpol"> 3, </key>\r
-<key name="makelin"> 3, </key>\r
-<key name="makemark"> 3, </key>\r
-<key name="makemirrorbyplan"> 13, </key>\r
-<key name="makemultirotation1d"> 13, </key>\r
-<key name="makemultirotation2d"> 13, </key>\r
-<key name="makemultitransformation1d"> 10, </key>\r
-<key name="makemultitransformation2d"> 10, </key>\r
-<key name="makemultitranslation1d"> 13, </key>\r
-<key name="makemultitranslation2d"> 13, </key>\r
-<key name="makeoffset"> 13, </key>\r
-<key name="makepartition"> 10, </key>\r
-<key name="makepip"> 7, </key>\r
-<key name="makeplan"> 3, </key>\r
-<key name="makepolylin"> 3, </key>\r
-<key name="makeposition"> 13, </key>\r
-<key name="makeprism"> 7, </key>\r
-<key name="makequadfac"> 14, </key>\r
-<key name="makequadfaceedg"> 14, </key>\r
-<key name="makequadfacevertic"> 14, </key>\r
-<key name="makerevolution"> 7, </key>\r
-<key name="makerotation"> 13, </key>\r
-<key name="makescaletransform"> 13, </key>\r
-<key name="makesew"> 12, </key>\r
-<key name="makeshell"> 5, </key>\r
-<key name="makesketch"> 15, </key>\r
-<key name="makesolid"> 5, </key>\r
-<key name="makespher"> 11, </key>\r
-<key name="maketoru"> 11, </key>\r
-<key name="maketranslation"> 13, </key>\r
-<key name="makevector"> 3, </key>\r
-<key name="makevertex"> 3, </key>\r
-<key name="makewir"> 5, </key>\r
-<key name="manual"> 3, </key>\r
-<key name="mas"> 9, </key>\r
-<key name="material"> 10, </key>\r
-<key name="matrix"> 9, </key>\r
-<key name="max"> 7,12,10, </key>\r
-<key name="maxdegre"> 7, </key>\r
-<key name="maximal"> 7,12,10,9, </key>\r
-<key name="maximum"> 12,10, </key>\r
-<key name="maxnbfac"> 10, </key>\r
-<key name="maxtoleranc"> 12, </key>\r
-<key name="maxtolerance3d"> 12, </key>\r
-<key name="mean"> 15,13, </key>\r
-<key name="measur"> 9, </key>\r
-<key name="measurement"> 9, </key>\r
-<key name="mention"> 14, </key>\r
-<key name="menu"> 0,1,3,4,6,8,7,5,11,12,10,9,16, </key>\r
-<key name="merg"> 12, </key>\r
-<key name="mesh"> 14,10, </key>\r
-<key name="meshingdeflection"> 10, </key>\r
-<key name="method"> 5, </key>\r
-<key name="middl"> 3, </key>\r
-<key name="min"> 7,10,9, </key>\r
-<key name="mindegre"> 7, </key>\r
-<key name="mindistanc"> 9, </key>\r
-<key name="minimal"> 7,10,9, </key>\r
-<key name="minimum"> 10, </key>\r
-<key name="minnbfac"> 10, </key>\r
-<key name="minor"> 3,11, </key>\r
-<key name="mirror"> 13, </key>\r
-<key name="mod"> 1,12, </key>\r
-<key name="model"> 2,10, </key>\r
-<key name="modifi"> 3,12,13, </key>\r
-<key name="modification"> 12,13, </key>\r
-<key name="modify"> 13, </key>\r
-<key name="modul"> 2,6, </key>\r
-<key name="moment"> 9, </key>\r
-<key name="mov"> 13, </key>\r
-<key name="multi"> 0,13,10, </key>\r
-<key name="must"> 12,13, </key>\r
-<key name="nam"> 14,3,4,8,7,5,11,12,13,10, </key>\r
-<key name="nbit"> 7, </key>\r
-<key name="nbsplitpoint"> 12, </key>\r
-<key name="nbtim"> 13,10, </key>\r
-<key name="nbtimes1"> 13, </key>\r
-<key name="nbtimes2"> 13, </key>\r
-<key name="nbtimesu"> 10, </key>\r
-<key name="nbtimesv"> 10, </key>\r
-<key name="necessary"> 15,6,12,9, </key>\r
-<key name="need"> 12, </key>\r
-<key name="negativ"> 13, </key>\r
-<key name="neigbour"> 12, </key>\r
-<key name="new"> 15,3,7,5,11,12,16, </key>\r
-<key name="nod"> 3, </key>\r
-<key name="noerror"> 12, </key>\r
-<key name="normal"> 3,7,13, </key>\r
-<key name="notion"> 14, </key>\r
-<key name="numb"> 1,7,12,13,10, </key>\r
-<key name="number"> 10, </key>\r
-<key name="numeb"> 10, </key>\r
-<key name="object"> 1,2,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="occ"> 1,6,12, </key>\r
-<key name="occur"> 12, </key>\r
-<key name="offset"> 13, </key>\r
-<key name="ok"> 3,8, </key>\r
-<key name="on"> 15,3,4,6,12,13,10, </key>\r
-<key name="open"> 12, </key>\r
-<key name="openwir"> 12, </key>\r
-<key name="operation"> 14,2,4,6,7,12,13,10,16, </key>\r
-<key name="operator"> 12, </key>\r
-<key name="opposit"> 11, </key>\r
-<key name="optimization"> 2, </key>\r
-<key name="option"> 0, </key>\r
-<key name="ord"> 12, </key>\r
-<key name="orient"> 14,3, </key>\r
-<key name="origin"> 3,11, </key>\r
-<key name="otherwis"> 12,13, </key>\r
-<key name="outsid"> 10, </key>\r
-<key name="ox"> 15,3, </key>\r
-<key name="oy"> 3, </key>\r
-<key name="oz"> 15,3, </key>\r
-<key name="paramet"> 3,5,12, </key>\r
-<key name="parameter"> 1,15,3,7,12, </key>\r
-<key name="paramt"> 12, </key>\r
-<key name="part"> 4,11, </key>\r
-<key name="partition"> 10, </key>\r
-<key name="pas"> 3, </key>\r
-<key name="path"> 7, </key>\r
-<key name="pathshap"> 7, </key>\r
-<key name="pattern"> 13, </key>\r
-<key name="perform"> 10,16, </key>\r
-<key name="perpendicular"> 15, </key>\r
-<key name="pip"> 7, </key>\r
-<key name="plan"> 15,3,13,10, </key>\r
-<key name="planar"> 15,3,5, </key>\r
-<key name="plung"> 10, </key>\r
-<key name="point"> 14,15,3,11,12,13,9, </key>\r
-<key name="point1"> 3, </key>\r
-<key name="point2"> 3, </key>\r
-<key name="point3"> 3, </key>\r
-<key name="pointcoordinat"> 9, </key>\r
-<key name="polylin"> 3, </key>\r
-<key name="pop"> 1,6, </key>\r
-<key name="position"> 3,12, </key>\r
-<key name="possibility"> 12, </key>\r
-<key name="possibl"> 6,12, </key>\r
-<key name="precision"> 12, </key>\r
-<key name="predefin"> 15, </key>\r
-<key name="pres"> 3, </key>\r
-<key name="preview"> 3, </key>\r
-<key name="previou"> 15, </key>\r
-<key name="primitiv"> 2,11, </key>\r
-<key name="prism"> 7, </key>\r
-<key name="problem"> 12, </key>\r
-<key name="proces"> 12,10, </key>\r
-<key name="processshap"> 12, </key>\r
-<key name="properti"> 1,9, </key>\r
-<key name="put"> 10, </key>\r
-<key name="python"> 9, </key>\r
-<key name="quadrangl"> 14,3, </key>\r
-<key name="radian"> 12, </key>\r
-<key name="radiu"> 15,3,11,10, </key>\r
-\r
-</ftswdata>  \r
diff --git a/doc/salome/gui/GEOM/whxdata/whfwdata2.xml b/doc/salome/gui/GEOM/whxdata/whfwdata2.xml
deleted file mode 100755 (executable)
index 055ba0c..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<ftswdata>\r
-<key name="radius"> 3,11, </key>\r
-<key name="radius1"> 11, </key>\r
-<key name="radius2"> 11, </key>\r
-<key name="radiusmajor"> 3,11, </key>\r
-<key name="radiusminor"> 3,11, </key>\r
-<key name="rang"> 2,12, </key>\r
-<key name="re"> 12, </key>\r
-<key name="reasonabl"> 6, </key>\r
-<key name="reconstruction"> 10, </key>\r
-<key name="referenc"> 3, </key>\r
-<key name="regard"> 3, </key>\r
-<key name="relativ"> 15, </key>\r
-<key name="remov"> 12,13,16, </key>\r
-<key name="removeobject"> 16, </key>\r
-<key name="removeweb"> 10, </key>\r
-<key name="repair"> 2,12, </key>\r
-<key name="repetition"> 13, </key>\r
-<key name="represent"> 3, </key>\r
-<key name="request"> 5, </key>\r
-<key name="requir"> 6,8,12, </key>\r
-<key name="requireddegre"> 12, </key>\r
-<key name="requirednbsegment"> 12, </key>\r
-<key name="respect"> 15,12, </key>\r
-<key name="restriction"> 12, </key>\r
-<key name="result"> 14,15,3,4,7,5,11,12,13,10,9,16, </key>\r
-<key name="resultant"> 12, </key>\r
-<key name="retriev"> 5, </key>\r
-<key name="return"> 5,10,9,16, </key>\r
-<key name="revers"> 13, </key>\r
-<key name="revolution"> 7,12, </key>\r
-<key name="right"> 1,6, </key>\r
-<key name="rotat"> 7,13, </key>\r
-<key name="rotation"> 13, </key>\r
-<key name="s"> 3,5,12,13,10,16, </key>\r
-<key name="salom"> 2, </key>\r
-<key name="sam"> 15,12, </key>\r
-<key name="sameparamet"> 12, </key>\r
-<key name="scal"> 13, </key>\r
-<key name="se"> 8, </key>\r
-<key name="search"> 8, </key>\r
-<key name="second"> 4,11,13,10, </key>\r
-<key name="section"> 4,10, </key>\r
-<key name="segment"> 15,12, </key>\r
-<key name="select"> 0,1,15,3,4,6,8,7,5,11,12,10,9,16, </key>\r
-<key name="selection"> 15,3,10, </key>\r
-<key name="sens"> 10, </key>\r
-<key name="serv"> 3,7, </key>\r
-<key name="set"> 1,3,12,13,10, </key>\r
-<key name="setcolor"> 1, </key>\r
-<key name="setdisplaymod"> 1, </key>\r
-<key name="settransparency"> 1, </key>\r
-<key name="sew"> 12, </key>\r
-<key name="sg"> 6, </key>\r
-<key name="shad"> 1, </key>\r
-<key name="shap"> 1,2,4,6,8,7,5,12,13,10,9,16, </key>\r
-<key name="shape1"> 4,9, </key>\r
-<key name="shape2"> 4,9, </key>\r
-<key name="shapesto"> 12, </key>\r
-<key name="shapetyp"> 10,16, </key>\r
-<key name="shel"> 5,13, </key>\r
-<key name="shell"> 14,7,5,13, </key>\r
-<key name="short"> 1, </key>\r
-<key name="should"> 12, </key>\r
-<key name="shown"> 3, </key>\r
-<key name="sid"> 3, </key>\r
-<key name="sign"> 13, </key>\r
-<key name="six"> 14, </key>\r
-<key name="siz"> 3,12,10, </key>\r
-<key name="sketch"> 15, </key>\r
-<key name="small"> 3,12, </key>\r
-<key name="solid"> 14,7,5,11,13,10, </key>\r
-<key name="soon"> 3, </key>\r
-<key name="spac"> 3,9, </key>\r
-<key name="specifi"> 3,12,10, </key>\r
-<key name="specific"> 14, </key>\r
-<key name="specify"> 12,13, </key>\r
-<key name="spher"> 11, </key>\r
-<key name="splin"> 3, </key>\r
-<key name="split"> 12, </key>\r
-<key name="splitangl"> 12, </key>\r
-<key name="splitclosedfac"> 12, </key>\r
-<key name="splitcontinuity"> 12, </key>\r
-<key name="spot"> 12, </key>\r
-<key name="stag"> 14, </key>\r
-<key name="standard"> 8, </key>\r
-<key name="start"> 15,3,13, </key>\r
-<key name="step"> 14,2,8,13, </key>\r
-<key name="step1"> 13, </key>\r
-<key name="step2"> 13, </key>\r
-<key name="str"> 15,8, </key>\r
-<key name="strip"> 12, </key>\r
-<key name="study"> 6, </key>\r
-<key name="sub"> 5,12,16, </key>\r
-<key name="submenu"> 0,5,12,9, </key>\r
-<key name="subshap"> 5,10,16, </key>\r
-<key name="subshapeall"> 5, </key>\r
-<key name="subshapeid"> 16, </key>\r
-<key name="suppres"> 12, </key>\r
-<key name="suppressfac"> 12, </key>\r
-<key name="suppresshol"> 12, </key>\r
-<key name="suppressinternalwir"> 12, </key>\r
-<key name="surfac"> 12,13,9, </key>\r
-<key name="surfacecontinuity"> 12, </key>\r
-<key name="surfacemod"> 12, </key>\r
-<key name="symmetrical"> 13, </key>\r
-<key name="symmetry"> 11,13, </key>\r
-<key name="system"> 3,13, </key>\r
-<key name="tak"> 14, </key>\r
-<key name="tangent"> 15, </key>\r
-<key name="target"> 15,10, </key>\r
-<key name="tetrahedral"> 14, </key>\r
-<key name="theendlc"> 13, </key>\r
-<key name="them"> 12, </key>\r
-<key name="theobject"> 13, </key>\r
-<key name="therefor"> 15, </key>\r
-<key name="theshap"> 12, </key>\r
-<key name="thestartlc"> 13, </key>\r
-<key name="thetoleranc"> 12, </key>\r
-<key name="tim"> 13, </key>\r
-<key name="tobezi"> 12, </key>\r
-<key name="tol2d"> 7, </key>\r
-<key name="tol3d"> 7, </key>\r
-<key name="toleranc"> 7,12,9, </key>\r
-<key name="tolerance2d"> 12, </key>\r
-<key name="tolerance3d"> 12, </key>\r
-<key name="tool"> 9, </key>\r
-<key name="toru"> 11, </key>\r
-<key name="transform"> 4,13,10, </key>\r
-<key name="transformation"> 0,2,13,10, </key>\r
-<key name="translat"> 13, </key>\r
-<key name="translation"> 13,10, </key>\r
-<key name="transparency"> 1, </key>\r
-<key name="trihedron"> 3, </key>\r
-<key name="trimsiz"> 3, </key>\r
-<key name="tru"> 12,10,9, </key>\r
-<key name="tui"> 14,1,15,3,4,6,8,7,5,11,12,13,10,9,16, </key>\r
-<key name="tupl"> 9, </key>\r
-<key name="two"> 14,4,11,12,13,10, </key>\r
-<key name="typ"> 15,4,5,11,12,10,9,16, </key>\r
-<key name="typeofshap"> 5, </key>\r
-<key name="underly"> 12, </key>\r
-<key name="up"> 1,6,11,10, </key>\r
-<key name="updat"> 3, </key>\r
-<key name="us"> 14,2,15,3,4,6,7,5,12,13,10,9, </key>\r
-<key name="v1"> 14, </key>\r
-<key name="v2"> 14, </key>\r
-<key name="v3"> 14, </key>\r
-<key name="v4"> 14, </key>\r
-<key name="val"> 12, </key>\r
-<key name="valid"> 9, </key>\r
-<key name="validity"> 9, </key>\r
-<key name="valu"> 1,15,3,7,11,12,13,10,9, </key>\r
-<key name="variou"> 12, </key>\r
-<key name="vector"> 15,3,7,11,13, </key>\r
-<key name="vertex"> 3,7,5,11,12,13,9, </key>\r
-<key name="vertex1"> 5, </key>\r
-<key name="vertex2"> 5, </key>\r
-<key name="vertexmaxtol"> 9, </key>\r
-<key name="vertexmintol"> 9, </key>\r
-<key name="vertic"> 14,3,5,11,12,13, </key>\r
-<key name="view"> 1,3,6,12, </key>\r
-<key name="viewer"> 6, </key>\r
-<key name="visibility"> 6, </key>\r
-<key name="visualization"> 1,6, </key>\r
-<key name="volum"> 9, </key>\r
-<key name="vtk"> 6, </key>\r
-<key name="vx"> 15, </key>\r
-<key name="wantplanarfac"> 5, </key>\r
-<key name="wat"> 10, </key>\r
-<key name="waterdensity"> 10, </key>\r
-<key name="weight"> 10, </key>\r
-<key name="whati"> 9, </key>\r
-<key name="whil"> 12, </key>\r
-<key name="whos"> 5,9, </key>\r
-<key name="wid"> 2, </key>\r
-<key name="will"> 3,8,12,13,10, </key>\r
-<key name="wir"> 14,7,5,12, </key>\r
-<key name="wirefram"> 1, </key>\r
-<key name="within"> 1,12, </key>\r
-<key name="work"> 15,3,6,12,16, </key>\r
-<key name="x"> 15,3,9, </key>\r
-<key name="x1"> 11, </key>\r
-<key name="x2"> 11, </key>\r
-<key name="xdx"> 3, </key>\r
-<key name="xdy"> 3, </key>\r
-<key name="xdz"> 3, </key>\r
-<key name="xmax"> 9, </key>\r
-<key name="xmin"> 9, </key>\r
-<key name="xoy"> 15, </key>\r
-<key name="xyz"> 3, </key>\r
-<key name="y"> 15,3,9, </key>\r
-<key name="y1"> 11, </key>\r
-<key name="y2"> 11, </key>\r
-<key name="ydx"> 3, </key>\r
-<key name="ydy"> 3, </key>\r
-<key name="ydz"> 3, </key>\r
-<key name="ymax"> 9, </key>\r
-<key name="ymin"> 9, </key>\r
-<key name="your"> 8,12,9, </key>\r
-<key name="z"> 3,10,9, </key>\r
-<key name="z1"> 11, </key>\r
-<key name="z2"> 11, </key>\r
-<key name="zmax"> 9, </key>\r
-<key name="zmin"> 9, </key>\r
-\r
-</ftswdata>  \r
diff --git a/doc/salome/gui/GEOM/whxdata/whgdata0.xml b/doc/salome/gui/GEOM/whxdata/whgdata0.xml
deleted file mode 100755 (executable)
index 0075ff8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<glossarydata>\r
- <entry name="Cell" value="Element of a mesh. Cells are determined by their connectivity. They can have 0,1,2 or 3 dimension." />\r
- <entry name="Component" value="One integer or real value can correspond to each component of a field and to each entity of a mesh" />\r
- <entry name="Descendant connectivity" value="It is a description of the entities of the mesh with dimension N. This description is made by an ordered list of geometrical entities (nodes, edges, or faces) with dimension N-1." />\r
- <entry name="Edge" value="An edge of a volumetric or surface mesh. It is composed of 2 or 3 nodes (2 vertex nodes and optionally one middle node)." />\r
- <entry name="Entity of a mesh" value="Geometrical component of the mesh: node, cell, face and edge. Faces and edges are only intermediate entities allowing to define the cells in descendant connectivity." />\r
- <entry name="Equivalence" value="Equivalence represents a list of correspondance 2 by 2 of the entities of the same dimension." />\r
- <entry name="Face" value="Face of a volumetrical cell (triangle, quadrangle)." />\r
- <entry name="Family" value="Entities of a mesh are described by a certain number   of characteristics (boundary conditions, groups membership). Families represent classes equivalent to these characteristics (two entities of a mesh can belong to the same family if they have the same characteristics). Every family is determined by a set of attributes and a list of groups membership." />\r
- <entry name="Field" value="Field consists of one or several scalar components. One definite type is associated to the given field and the values corresponding to different components are all of the same type." />\r
- <entry name="Field profile" value="Fields can be defined only on one part of the mesh. Profile   of the field or profile of the component of a field indicates which entities of the mesh contain values." />\r
- <entry name="Group" value="Unordered set of entities of a mesh. One entity can belong to   several groups." />\r
- <entry name="Mesh" value="Mesh is described by its geometry: list of nodes and list of cells which constitute this mesh. Supplementary information is added with the help of families (initial, boundary conditions)." />\r
- <entry name="Nodal connectivity" value="It is a description of an entity of the mesh by an ordered list of nodes constituting this entity." />\r
- <entry name="Node" value="Node can be an isolated node of a mesh, a vertex or middle node of an edge. A node is associated to a point." />\r
- <entry name="Point" value="Geometrical entity determined by its coordinates in the space." />\r
- <entry name="Reference connectivity" value="For each type of entity of a mesh, reference connectivity define the topology of an entity." />\r
- <entry name="Result" value="List of fields referring to one mesh." />\r
- <entry name="Study" value="Study represents a chain of sequences of calculations." />\r
-\r
-</glossarydata>\r
diff --git a/doc/salome/gui/GEOM/whxdata/whglo.xml b/doc/salome/gui/GEOM/whxdata/whglo.xml
deleted file mode 100755 (executable)
index 0f1cd68..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<glossary>\r
-<chunkinfo url="whgdata0.xml" first="Cell" last="Study" num="18" />\r
-\r
-</glossary>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whxdata/whidx.xml b/doc/salome/gui/GEOM/whxdata/whidx.xml
deleted file mode 100755 (executable)
index ac66bb9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<index>\r
-\r
-</index>\r
diff --git a/doc/salome/gui/GEOM/whxdata/whtdata0.xml b/doc/salome/gui/GEOM/whxdata/whtdata0.xml
deleted file mode 100755 (executable)
index 64917af..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<tocdata>\r
-<book name="GEOM module" >\r
-  <item name="Introduction to GEOM" url="files/introduction_to_geom.htm" />\r
-  <item name="Importing\exporting geometrical objects" url="files/salome2_sp3_geomtoolsgui_functions.htm" />\r
-  <book name="Managing geometrical objects" >\r
-    <item name="Changing displaying parameters" url="changing_displaying_parameters.htm" />\r
-    <item name="Displaying\hiding objects" url="files/salome2_sp3_displaygui_functions.htm" />\r
-  </book>\r
-  <book name="Creating geometrical objects" >\r
-    <item name="Creating basic geometrical objects" url="files/salome2_sp3_basicgui_functions.htm" />\r
-    <item name="Constructing primitives" url="files/salome2_sp3_primitivegui_functions.htm" />\r
-    <item name="Generating complex objects" url="files/salome2_sp3_generationgui_functions.htm" />\r
-    <item name="Working with groups" url="working_with_groups.htm" />\r
-    <item name="Building by blocks" url="newentity_blocks.htm" />\r
-    <item name="Sketcher" url="sketcher.htm" />\r
-    <item name="Building geometrical objects" url="files/salome2_sp3_buildgui_functions.htm" />\r
-  </book>\r
-  <book name="Transforming geometrical objects" >\r
-    <item name="Using basic operations" url="files/salome2_sp3_operationgui_functions.htm" />\r
-    <item name="Using boolean operations" url="files/salome2_sp3_booleangui_functions.htm" />\r
-    <item name="Using transformation operations" url="files/salome2_sp3_transformationgui_functions.htm" />\r
-    <item name="Repairing geometrical objects" url="files/salome2_sp3_repairgui_functions.htm" />\r
-  </book>\r
-  <item name="Using measurement tools" url="files/salome2_sp3_measuregui_functions.htm" />\r
-</book>\r
-\r
-</tocdata>\r
diff --git a/doc/salome/gui/GEOM/whxdata/whtoc.xml b/doc/salome/gui/GEOM/whxdata/whtoc.xml
deleted file mode 100755 (executable)
index a271ba7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<toc root="whtdata0.xml">\r
-\r
-</toc>\r
diff --git a/doc/salome/gui/GEOM/working_with_groups.htm b/doc/salome/gui/GEOM/working_with_groups.htm
deleted file mode 100755 (executable)
index 09f15c3..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Working with groups</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{   document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { margin-left:40px; }\r
-img_whs2 { border-style:none; border:none; width:24px; height:22px; }\r
-p.whs3 { font-size:12pt; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border-style:none; border:none; width:200px; height:224px; }\r
-p.whs6 { font-size:12pt; font-weight:bold; }\r
-img_whs7 { border-style:none; border:none; width:250px; height:307px; }\r
-img_whs8 { border-style:none; border:none; width:22px; height:22px; }\r
-ul.whs9 { list-style:disc; }\r
-img_whs10 { border-style:none; border:none; width:200px; height:226px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nWorking with groups");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Working with groups</h1>\r
-\r
-<p>The <span style="font-style: italic;"><I>Salome</I></span> platform offers \r
- such a useful functionality as creation and editing groups of subshapes \r
- of a geometrical object which makes handling subshapes much easier. However \r
- the functionality is available in the OCC viewer only. If other viewer \r
- is used in your project by default, you can toggle the OCC viewer via \r
- Preferences / Viewer background / OCC viewer. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To perform operations with groups:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs1">In the main menu select <span style="font-weight: bold;"><B>New \r
- entity &gt; Group</B></span>.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><img src="image56.gif" width="24px" height="22px" border="0" class="img_whs2"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Create \r
- a group</B></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Creates a group of subshapes of a geometrical object.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.CreateGroup(MainShape, ShapeType)</I></span>, \r
- where MainShape is a shape for which the group is created, ShapeType is \r
- a type of shapes in the created group.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- 1 Shape + Type of subshape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;"><img src="image192.jpg" width="200px" height="224px" border="0" class="img_whs5"></b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs6">Example:</p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="image193.jpg" width="250px" height="307px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="image57.gif" width="22px" height="22px" border="0" class="img_whs8"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Edit \r
- a group</B></font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Allows to edit the existing group.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i></p>\r
-\r
-<ul type="disc" class="whs9">\r
-       \r
-       <li class=kadov-p><p class="whs3"><i><span style="font-style: italic;"><I>g</i>eompy.AddObject(Group, \r
- SubShapeID)</I></span>, where Group is a group to which a sub shape has to \r
- be added, SubShapeID is an ID of the sub shape to be added to the group</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.RemoveObject(Group, \r
- SubShapeID)</I></span>, where Group is a group from which a sub shape has \r
- to be removed, SubShapeID is an ID of the sub shape to be removed from \r
- the group</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.GetObjectIDs(Group)</I></span>, \r
- where Group is a group for which its object ID\92s are returned. </p></li>\r
-</ul>\r
-\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Returns: \r
- List of IDs.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- 1 Shape + its subshapes.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;"><img src="image194.jpg" width="200px" height="226px" border="0" class="img_whs10"></b></p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/Makefile.in b/doc/salome/gui/Makefile.in
deleted file mode 100644 (file)
index a44228d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Vasily Rusyaev (Open Cascade NN)
-#  Module : doc
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-@COMMENCE@
-
-docs:
-       cp -fr $(srcdir)/GEOM ./
-       -find $(PWD) -name CVS -exec rm -rf {} \;
-
-clean:
-       rm -fr `ls | grep -v "Makefile"`
-
-distclean: clean
-       rm -fr GEOM
-
-install:
-       mkdir -p $(docdir)/gui
-       cp -rf GEOM $(docdir)/gui
-       -find $(PWD) -name CVS -exec rm -rf {} \;
-
-uninstall:
-       rm -rf $(docdir)/gui/GEOM
diff --git a/doc/salome/tui/GEOM/HTML/GEOM_Gen.html b/doc/salome/tui/GEOM/HTML/GEOM_Gen.html
deleted file mode 100644 (file)
index 507db79..0000000
+++ /dev/null
@@ -1,802 +0,0 @@
-<HTML><b>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_Object</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  GetEntry (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetEntry (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  GetStudyID (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetStudyID (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  GetType (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetType (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>shape_type  GetShapeType (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetShapeType (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void SetName ( in string theName )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>SetName ( theName )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  GetName (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetName (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void SetStudyEntry ( in string theEntry )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>SetStudyEntry ( theEntry )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  GetStudyEntry (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetStudyEntry (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfGO  GetDependency (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetDependency (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfGO  GetLastDependency (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetLastDependency (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  getShape (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = getShape (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>TMPFile  GetShapeStream (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetShapeStream (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>boolean  IsMainShape (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = IsMainShape (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfLong  GetSubShapeIndices (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetSubShapeIndices (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetMainShape (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetMainShape (  )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>boolean  IsDone (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = IsDone (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void SetErrorCode ( in string theErrorID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>SetErrorCode ( theErrorID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  GetErrorCode (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetErrorCode (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  GetStudyID (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetStudyID (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void StartOperation (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>StartOperation (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void FinishOperation (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>FinishOperation (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void AbortOperation (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>AbortOperation (  )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IBasicOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePointXYZ ( in double theX, in double theY, in double theZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePointXYZ ( theX, theY, theZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePointWithReference ( in GEOM_Object theReference, in double theX, in double theY, in double theZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePointWithReference ( theReference, theX, theY, theZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePointOnCurve ( in GEOM_Object theRefCurve, in double theParameter )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePointOnCurve ( theRefCurve, theParameter )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeVectorDXDYDZ ( in double theDX, in double theDY, in double theDZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeVectorDXDYDZ ( theDX, theDY, theDZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeVectorTwoPnt ( in GEOM_Object thePnt1, in GEOM_Object thePnt2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeVectorTwoPnt ( thePnt1, thePnt2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeLineTwoPnt ( in GEOM_Object thePnt1, in GEOM_Object thePnt2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeLineTwoPnt ( thePnt1, thePnt2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePlaneThreePnt ( in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in double theTrimSize )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePlaneThreePnt ( thePnt1, thePnt2, thePnt3, theTrimSize )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePlanePntVec ( in GEOM_Object thePnt, in GEOM_Object theVec, in double theTrimSize )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePlanePntVec ( thePnt, theVec, theTrimSize )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePlaneFace ( in GEOM_Object theFace, in double theTrimSize )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePlaneFace ( theFace, theTrimSize )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeMarker ( in double theOX, in double theOY, in double theOZ, in double theXDX, in double theXDY, in double theXDZ, in double theYDX, in double theYDY, in double theYDZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeMarker ( theOX, theOY, theOZ, theXDX, theXDY, theXDZ, theYDX, theYDY, theYDZ )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_ITransformOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateTwoPoints ( in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateTwoPoints ( theObject, thePoint1, thePoint2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateTwoPointsCopy ( in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateTwoPointsCopy ( theObject, thePoint1, thePoint2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateDXDYDZ ( in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateDXDYDZ ( theObject, theDX, theDY, theDZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateDXDYDZCopy ( in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateDXDYDZCopy ( theObject, theDX, theDY, theDZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateVector ( in GEOM_Object theObject, in GEOM_Object theVector )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateVector ( theObject, theVector )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  TranslateVectorCopy ( in GEOM_Object theObject, in GEOM_Object theVector )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = TranslateVectorCopy ( theObject, theVector )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MultiTranslate1D ( in GEOM_Object theObject, in GEOM_Object theVector, in double theStep, in long theNbTimes )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MultiTranslate1D ( theObject, theVector, theStep, theNbTimes )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MultiTranslate2D ( in GEOM_Object theObject, in GEOM_Object theVector1, in double theStep1, in long theNbTimes1, in GEOM_Object theVector2, in double theStep2, in long theNbTimes2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MultiTranslate2D ( theObject, theVector1, theStep1, theNbTimes1, theVector2, theStep2, theNbTimes2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  Rotate ( in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = Rotate ( theObject, theAxis, theAngle )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  RotateCopy ( in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = RotateCopy ( theObject, theAxis, theAngle )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MultiRotate1D ( in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbTimes )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MultiRotate1D ( theObject, theAxis, theNbTimes )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MultiRotate2D ( in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle, in long theNbTimes1, in double theStep, in long theNbTimes2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MultiRotate2D ( theObject, theAxis, theAngle, theNbTimes1, theStep, theNbTimes2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorPlane ( in GEOM_Object theObject, in GEOM_Object thePlane )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorPlane ( theObject, thePlane )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorPlaneCopy ( in GEOM_Object theObject, in GEOM_Object thePlane )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorPlaneCopy ( theObject, thePlane )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorAxis ( in GEOM_Object theObject, in GEOM_Object theAxis )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorAxis ( theObject, theAxis )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorAxisCopy ( in GEOM_Object theObject, in GEOM_Object theAxis )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorAxisCopy ( theObject, theAxis )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorPoint ( in GEOM_Object theObject, in GEOM_Object thePoint )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorPoint ( theObject, thePoint )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MirrorPointCopy ( in GEOM_Object theObject, in GEOM_Object thePoint )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MirrorPointCopy ( theObject, thePoint )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  OffsetShape ( in GEOM_Object theObject, in double theOffset )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = OffsetShape ( theObject, theOffset )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  OffsetShapeCopy ( in GEOM_Object theObject, in double theOffset )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = OffsetShapeCopy ( theObject, theOffset )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  ScaleShape ( in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = ScaleShape ( theObject, thePoint, theFactor )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  ScaleShapeCopy ( in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = ScaleShapeCopy ( theObject, thePoint, theFactor )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  PositionShape ( in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = PositionShape ( theObject, theStartLCS, theEndLCS )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  PositionShapeCopy ( in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = PositionShapeCopy ( theObject, theStartLCS, theEndLCS )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_I3DPrimOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeBoxDXDYDZ ( in double theDX, in double theDY, in double theDZ )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeBoxDXDYDZ ( theDX, theDY, theDZ )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeBoxTwoPnt ( in GEOM_Object thePnt1, in GEOM_Object thePnt2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeBoxTwoPnt ( thePnt1, thePnt2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCylinderRH ( in double theR, in double theH )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCylinderRH ( theR, theH )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCylinderPntVecRH ( in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCylinderPntVecRH ( thePnt, theAxis, theR, theH )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeConeR1R2H ( in double theR1, in double theR2, in double theH )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeConeR1R2H ( theR1, theR2, theH )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeConePntVecR1R2H ( in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR1, in double theR2, in double theH )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeConePntVecR1R2H ( thePnt, theAxis, theR1, theR2, theH )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeTorusRR ( in double theRMajor, in double theRMinor )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeTorusRR ( theRMajor, theRMinor )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeTorusPntVecRR ( in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeTorusPntVecRR ( thePnt, theVec, theRMajor, theRMinor )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSphereR ( in double theR )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSphereR ( theR )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSpherePntR ( in GEOM_Object thePnt, in double theR )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSpherePntR ( thePnt, theR )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePrismVecH ( in GEOM_Object theBase, in GEOM_Object theVec, in double theH )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePrismVecH ( theBase, theVec, theH )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePrismTwoPnt ( in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePrismTwoPnt ( theBase, thePoint1, thePoint2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePipe ( in GEOM_Object theBase, in GEOM_Object thePath )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePipe ( theBase, thePath )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeRevolutionAxisAngle ( in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeRevolutionAxisAngle ( theBase, theAxis, theAngle )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFilling ( in GEOM_Object theShape, in long theMinDeg, in long theMaxDeg, in double theTol2D, in double theTol3D, in long theNbIter )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFilling ( theShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IShapesOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeEdge ( in GEOM_Object thePnt1, in GEOM_Object thePnt2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeEdge ( thePnt1, thePnt2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeWire ( in ListOfGO theEdgesAndWires )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeWire ( theEdgesAndWires )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFace ( in GEOM_Object theWire, in boolean isPlanarWanted )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFace ( theWire, isPlanarWanted )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFaceWires ( in ListOfGO theWires, in boolean isPlanarWanted )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFaceWires ( theWires, isPlanarWanted )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeShell ( in ListOfGO theFacesAndShells )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeShell ( theFacesAndShells )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSolidShell ( in GEOM_Object theShell )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSolidShell ( theShell )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSolidShells ( in ListOfGO theShells )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSolidShells ( theShells )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCompound ( in ListOfGO theShapes )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCompound ( theShapes )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeGlueFaces ( in GEOM_Object theShape, in double theTolerance )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeGlueFaces ( theShape, theTolerance )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfGO  MakeExplode ( in GEOM_Object theShape, in long theShapeType, in boolean isSorted )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeExplode ( theShape, theShapeType, isSorted )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  NumberOfFaces ( in GEOM_Object theShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = NumberOfFaces ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  NumberOfEdges ( in GEOM_Object theShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = NumberOfEdges ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  ChangeOrientation ( in GEOM_Object theShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = ChangeOrientation ( theShape )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IBlocksOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeQuadFaceFourVertices ( in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in GEOM_Object thePnt4 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeQuadFaceFourVertices ( thePnt1, thePnt2, thePnt3, thePnt4 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeQuadFaceFourEdges ( in GEOM_Object theEdge1, in GEOM_Object theEdge2, in GEOM_Object theEdge3, in GEOM_Object theEdge4 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeQuadFaceFourEdges ( theEdge1, theEdge2, theEdge3, theEdge4 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeQuadFaceTwoEdges ( in GEOM_Object theEdge1, in GEOM_Object theEdge2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeQuadFaceTwoEdges ( theEdge1, theEdge2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeHexaSolidSixFaces ( in GEOM_Object theFace1, in GEOM_Object theFace2, in GEOM_Object theFace3, in GEOM_Object theFace4, in GEOM_Object theFace5, in GEOM_Object theFace6 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeHexaSolidSixFaces ( theFace1, theFace2, theFace3, theFace4, theFace5, theFace6 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeHexaSolidTwoFaces ( in GEOM_Object theFace1, in GEOM_Object theFace2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeHexaSolidTwoFaces ( theFace1, theFace2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetEdge ( in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetEdge ( theShape, thePoint1, thePoint2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetFaceByPoints ( in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in GEOM_Object thePoint3, in GEOM_Object thePoint4 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetFaceByPoints ( theShape, thePoint1, thePoint2, thePoint3, thePoint4 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetFaceByEdges ( in GEOM_Object theShape, in GEOM_Object theEdge1, in GEOM_Object theEdge2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetFaceByEdges ( theShape, theEdge1, theEdge2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetOppositeFace ( in GEOM_Object theBlock, in GEOM_Object theFace )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetOppositeFace ( theBlock, theFace )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetFaceNearPoint ( in GEOM_Object theShape, in GEOM_Object thePoint )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetFaceNearPoint ( theShape, thePoint )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetFaceByNormale ( in GEOM_Object theBlock, in GEOM_Object theVector )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetFaceByNormale ( theBlock, theVector )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>boolean  IsCompoundOfBlocks ( in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces, out long theNbBlocks )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ return_value,  theNbBlocks ] = IsCompoundOfBlocks ( theCompound, theMinNbFaces, theMaxNbFaces )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfGO  ExplodeCompoundOfBlocks ( in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = ExplodeCompoundOfBlocks ( theCompound, theMinNbFaces, theMaxNbFaces )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetBlockNearPoint ( in GEOM_Object theCompound, in GEOM_Object thePoint )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetBlockNearPoint ( theCompound, thePoint )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetBlockByParts ( in GEOM_Object theCompound, in ListOfGO theParts )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetBlockByParts ( theCompound, theParts )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfGO  GetBlocksByParts ( in GEOM_Object theCompound, in ListOfGO theParts )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetBlocksByParts ( theCompound, theParts )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeMultiTransformation1D ( in GEOM_Object theBlock, in long theDirFace1, in long theDirFace2, in long theNbTimes )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeMultiTransformation1D ( theBlock, theDirFace1, theDirFace2, theNbTimes )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeMultiTransformation2D ( in GEOM_Object theBlock, in long theDirFace1U, in long theDirFace2U, in long theNbTimesU, in long theDirFace1V, in long theDirFace2V, in long theNbTimesV )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeMultiTransformation2D ( theBlock, theDirFace1U, theDirFace2U, theNbTimesU, theDirFace1V, theDirFace2V, theNbTimesV )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IBooleanOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeBoolean ( in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeBoolean ( theShape1, theShape2, theOperation )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePartition ( in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePartition ( theShapes, theTools, theKeepInside, theRemoveInside, theLimit, theRemoveWebs, theMaterials )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeHalfPartition ( in GEOM_Object theShape, in GEOM_Object thePlane )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeHalfPartition ( theShape, thePlane )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_ICurvesOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCirclePntVecR ( in GEOM_Object thePnt, in GEOM_Object theVec, in double theR )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCirclePntVecR ( thePnt, theVec, theR )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCircleThreePnt ( in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCircleThreePnt ( thePnt1, thePnt2, thePnt3 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeEllipse ( in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeEllipse ( thePnt, theVec, theRMajor, theRMinor )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeArc ( in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeArc ( thePnt1, thePnt2, thePnt3 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakePolyline ( in ListOfGO thePoints )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakePolyline ( thePoints )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSplineBezier ( in ListOfGO thePoints )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSplineBezier ( thePoints )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSplineInterpolation ( in ListOfGO thePoints )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSplineInterpolation ( thePoints )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeSketcher ( in string theCommand, in ListOfDouble theWorkingPlane )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeSketcher ( theCommand, theWorkingPlane )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_ILocalOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFilletAll ( in GEOM_Object theShape, in double theR )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFilletAll ( theShape, theR )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFilletEdges ( in GEOM_Object theShape, in double theR, in ListOfLong theEdges )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFilletEdges ( theShape, theR, theEdges )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeFilletFaces ( in GEOM_Object theShape, in double theR, in ListOfLong theFaces )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeFilletFaces ( theShape, theR, theFaces )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeChamferAll ( in GEOM_Object theShape, in double theD )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeChamferAll ( theShape, theD )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeChamferEdge ( in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeChamferEdge ( theShape, theD1, theD2, theFace1, theFace2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeChamferFaces ( in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeChamferFaces ( theShape, theD1, theD2, theFaces )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeArchimede ( in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeArchimede ( theShape, theWeight, theWaterDensity, theMeshDeflection )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  GetSubShapeIndex ( in GEOM_Object theShape, in GEOM_Object theSubShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetSubShapeIndex ( theShape, theSubShape )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IHealingOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  ProcessShape ( in GEOM_Object theShapes, in string_array theOperators, in string_array theParameters, in string_array theValues )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = ProcessShape ( theShapes, theOperators, theParameters, theValues )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void GetShapeProcessParameters ( out string_array theOperators, out string_array theParameters, out string_array theValues )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ theOperators, theParameters, theValues ] = GetShapeProcessParameters (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  SuppressFaces ( in GEOM_Object theObject, in short_array theFaces )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = SuppressFaces ( theObject, theFaces )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  CloseContour ( in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = CloseContour ( theObject, theWires, isCommonVertex )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  RemoveIntWires ( in GEOM_Object theObject, in short_array theWires )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = RemoveIntWires ( theObject, theWires )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  FillHoles ( in GEOM_Object theObject, in short_array theWires )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = FillHoles ( theObject, theWires )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  Sew ( in GEOM_Object theObject, in double theTolerance )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = Sew ( theObject, theTolerance )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  DivideEdge ( in GEOM_Object theObject, in short theEdgeIndex, in double theValue, in boolean isByParameter )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = DivideEdge ( theObject, theEdgeIndex, theValue, isByParameter )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>boolean  GetFreeBoundary ( in GEOM_Object theObject, out ListOfGO theClosedWires, out ListOfGO theOpenWires )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ return_value,  theClosedWires, theOpenWires ] = GetFreeBoundary ( theObject )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IInsertOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  MakeCopy ( in GEOM_Object theOriginal )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = MakeCopy ( theOriginal )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void Export ( in GEOM_Object theObject, in string theFileName, in string theFormatName )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>Export ( theObject, theFileName, theFormatName )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  Import ( in string theFileName, in string theFormatName )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = Import ( theFileName, theFormatName )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void ImportTranslators ( out string_array theFormats, out string_array thePatterns )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ theFormats, thePatterns ] = ImportTranslators (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void ExportTranslators ( out string_array theFormats, out string_array thePatterns )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ theFormats, thePatterns ] = ExportTranslators (  )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IMeasureOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void GetBasicProperties ( in GEOM_Object theShape, out double theLength, out double theSurfArea, out double theVolume )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ theLength, theSurfArea, theVolume ] = GetBasicProperties ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetCentreOfMass ( in GEOM_Object theShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetCentreOfMass ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void GetInertia ( in GEOM_Object theShape, out double I11, out double I12, out double I13, out double I21, out double I22, out double I23, out double I31, out double I32, out double I33, out double Ix, out double Iy, out double Iz )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ I11, I12, I13, I21, I22, I23, I31, I32, I33, Ix, Iy, Iz ] = GetInertia ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void GetBoundingBox ( in GEOM_Object theShape, out double Xmin, out double Xmax, out double Ymin, out double Ymax, out double Zmin, out double Zmax )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ Xmin, Xmax, Ymin, Ymax, Zmin, Zmax ] = GetBoundingBox ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void GetTolerance ( in GEOM_Object theShape, out double FaceMin, out double FaceMax, out double EdgeMin, out double EdgeMax, out double VertMin, out double VertMax )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ FaceMin, FaceMax, EdgeMin, EdgeMax, VertMin, VertMax ] = GetTolerance ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>boolean  CheckShape ( in GEOM_Object theShape, out string theDescription )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ return_value,  theDescription ] = CheckShape ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  WhatIs ( in GEOM_Object theShape )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = WhatIs ( theShape )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>double  GetMinDistance ( in GEOM_Object theShape1, in GEOM_Object theShape2, out double X1, out double Y1, out double Z1, out double X2, out double Y2, out double Z2 )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ return_value,  X1, Y1, Z1, X2, Y2, Z2 ] = GetMinDistance ( theShape1, theShape2 )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void PointCoordinates ( in GEOM_Object theShape, out double X, out double Y, out double Z )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>[ X, Y, Z ] = PointCoordinates ( theShape )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_IGroupOperations</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  CreateGroup ( in GEOM_Object theMainShape, in long theShapeType )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = CreateGroup ( theMainShape, theShapeType )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void AddObject ( in GEOM_Object theGroup, in long theSubShapeId )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>AddObject ( theGroup, theSubShapeId )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void RemoveObject ( in GEOM_Object theGroup, in long theSubShapeId )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>RemoveObject ( theGroup, theSubShapeId )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>long  GetType ( in GEOM_Object theGroup )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetType ( theGroup )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetMainShape ( in GEOM_Object theGroup )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetMainShape ( theGroup )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>ListOfLong  GetObjects ( in GEOM_Object theGroup )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetObjects ( theGroup )</b></div></td>
-</tr>
-</table><br>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_Gen</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void Undo ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>Undo ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void Redo ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>Redo ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>SObject  AddInStudy ( in Study theStudy, in GEOM_Object theObject, in string theName, in GEOM_Object theFather )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = AddInStudy ( theStudy, theObject, theName, theFather )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IBasicOperations  GetIBasicOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIBasicOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_ITransformOperations  GetITransformOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetITransformOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_I3DPrimOperations  GetI3DPrimOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetI3DPrimOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IShapesOperations  GetIShapesOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIShapesOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IBooleanOperations  GetIBooleanOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIBooleanOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_ICurvesOperations  GetICurvesOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetICurvesOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_ILocalOperations  GetILocalOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetILocalOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IHealingOperations  GetIHealingOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIHealingOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IInsertOperations  GetIInsertOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIInsertOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IMeasureOperations  GetIMeasureOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIMeasureOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IBlocksOperations  GetIBlocksOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIBlocksOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_IGroupOperations  GetIGroupOperations ( in long theStudyID )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIGroupOperations ( theStudyID )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>void RemoveObject ( in GEOM_Object theObject )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>RemoveObject ( theObject )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetObject ( in long theStudyID, in string theEntry )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetObject ( theStudyID, theEntry )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  AddSubShape ( in GEOM_Object theMainShape, in ListOfLong theIndices )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = AddSubShape ( theMainShape, theIndices )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Object  GetIORFromString ( in string theIOR )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetIORFromString ( theIOR )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>string  GetStringFromIOR ( in GEOM_Object theObject )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetStringFromIOR ( theObject )</b></div></td>
-</tr>
-</table><br>
-</b></HTML>
diff --git a/doc/salome/tui/GEOM/HTML/GEOM_Shape.html b/doc/salome/tui/GEOM/HTML/GEOM_Shape.html
deleted file mode 100644 (file)
index bfee3cd..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<HTML><b>
-<table width="100%" BORDER>
-<tr bgcolor="#FFFFCC">
-<td colspan="11"><font size="+3"><b><div align="center"><i>interface GEOM_Shape</i></div></b></font></td>
-</tr>
-<td width="50%" bgcolor= "lightgreen" ><font size="+2"><div align="center"><b><i>IDL file</i></b></div></font></td>
-<td width="50%" bgcolor= "lightgreen"><font size="+2"><div align="center"><b><i>Python</i></b></div></font></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>TMPFile  GetShapeStream (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = GetShapeStream (  )</b></div></td>
-</tr>
-<tr>
-<td bgcolor= "lightgreen"><div align="center"><b>GEOM_Gen  Engine (  )</b></div></td>
-<td bgcolor= "lightgreen"><div align="center"><b>return_value = Engine (  )</b></div></td>
-</tr>
-</table><br>
-</b></HTML>
diff --git a/doc/salome/tui/GEOM/doxyfile b/doc/salome/tui/GEOM/doxyfile
deleted file mode 100755 (executable)
index 92c5022..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-# Doxyfile 1.3-rc1
-
-#---------------------------------------------------------------------------
-# General configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME           = "SALOME - GEOM - v.2.1.0"
-PROJECT_NUMBER         = id#1.1
-OUTPUT_DIRECTORY       = ../
-OUTPUT_LANGUAGE        = English
-EXTRACT_ALL            = YES
-EXTRACT_PRIVATE        = YES
-EXTRACT_STATIC         = YES
-EXTRACT_LOCAL_CLASSES  = YES
-HIDE_UNDOC_MEMBERS     = NO
-HIDE_UNDOC_CLASSES     = NO
-HIDE_FRIEND_COMPOUNDS  = NO
-HIDE_IN_BODY_DOCS      = NO
-BRIEF_MEMBER_DESC      = YES
-REPEAT_BRIEF           = NO
-ALWAYS_DETAILED_SEC    = YES
-INLINE_INHERITED_MEMB  = YES
-FULL_PATH_NAMES        = NO
-STRIP_FROM_PATH        = 
-INTERNAL_DOCS          = YES
-CASE_SENSE_NAMES       = YES
-SHORT_NAMES            = NO
-HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
-SHOW_INCLUDE_FILES     = YES
-JAVADOC_AUTOBRIEF      = YES
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP         = NO
-INHERIT_DOCS           = YES
-INLINE_INFO            = YES
-SORT_MEMBER_DOCS       = NO
-DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 5
-GENERATE_TODOLIST      = YES
-GENERATE_TESTLIST      = YES
-GENERATE_BUGLIST       = YES
-GENERATE_DEPRECATEDLIST= YES
-ALIASES                = 
-ENABLED_SECTIONS       = 
-MAX_INITIALIZER_LINES  = 25
-OPTIMIZE_OUTPUT_FOR_C  = YES
-OPTIMIZE_OUTPUT_JAVA   = YES
-SHOW_USED_FILES        = NO
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET                  = NO
-WARNINGS               = YES
-WARN_IF_UNDOCUMENTED   = YES
-WARN_FORMAT            = "$file:$line: $text"
-WARN_LOGFILE           = log.txt
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT                  = ../../../share/salome/idl/GEOM_Gen.idl
-FILE_PATTERNS          = 
-RECURSIVE              = NO
-EXCLUDE                = 
-EXCLUDE_SYMLINKS       = NO
-EXCLUDE_PATTERNS       = 
-EXAMPLE_PATH           = 
-EXAMPLE_PATTERNS       = 
-EXAMPLE_RECURSIVE      = NO
-IMAGE_PATH             = sources/
-INPUT_FILTER           = 
-FILTER_SOURCE_FILES    = YES
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
-INLINE_SOURCES         = NO
-STRIP_CODE_COMMENTS    = YES
-REFERENCED_BY_RELATION = NO
-REFERENCES_RELATION    = YES
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-ALPHABETICAL_INDEX     = NO
-COLS_IN_ALPHA_INDEX    = 5
-IGNORE_PREFIX          = 
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-GENERATE_HTML          = YES
-HTML_OUTPUT            = GEOM
-HTML_FILE_EXTENSION    = .html
-HTML_HEADER            = sources/myheader.html
-HTML_FOOTER            = 
-HTML_STYLESHEET        = 
-HTML_ALIGN_MEMBERS     = YES
-GENERATE_HTMLHELP      = NO
-CHM_FILE               = 
-HHC_LOCATION           = 
-GENERATE_CHI           = NO
-BINARY_TOC             = YES
-TOC_EXPAND             = YES
-DISABLE_INDEX          = YES
-ENUM_VALUES_PER_LINE   = 4
-GENERATE_TREEVIEW      = YES
-TREEVIEW_WIDTH         = 250
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-GENERATE_LATEX         = NO
-LATEX_OUTPUT           = latex
-LATEX_CMD_NAME         = latex
-MAKEINDEX_CMD_NAME     = makeindex
-COMPACT_LATEX          = NO
-PAPER_TYPE             = a4wide
-EXTRA_PACKAGES         = 
-LATEX_HEADER           = 
-PDF_HYPERLINKS         = NO
-USE_PDFLATEX           = NO
-LATEX_BATCHMODE        = NO
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-GENERATE_RTF           = NO
-RTF_OUTPUT             = rtf
-COMPACT_RTF            = NO
-RTF_HYPERLINKS         = NO
-RTF_STYLESHEET_FILE    = 
-RTF_EXTENSIONS_FILE    = 
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-GENERATE_MAN           = NO
-MAN_OUTPUT             = man
-MAN_EXTENSION          = .3
-MAN_LINKS              = NO
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-GENERATE_XML           = NO
-XML_SCHEMA             = 
-XML_DTD                = 
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-GENERATE_AUTOGEN_DEF   = NO
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-GENERATE_PERLMOD       = NO
-PERLMOD_LATEX          = NO
-PERLMOD_PRETTY         = YES
-PERLMOD_MAKEVAR_PREFIX = 
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor   
-#---------------------------------------------------------------------------
-ENABLE_PREPROCESSING   = YES
-MACRO_EXPANSION        = YES
-EXPAND_ONLY_PREDEF     = NO
-SEARCH_INCLUDES        = YES
-INCLUDE_PATH           = 
-INCLUDE_FILE_PATTERNS  = 
-PREDEFINED             = 
-EXPAND_AS_DEFINED      = 
-SKIP_FUNCTION_MACROS   = NO
-#---------------------------------------------------------------------------
-# Configuration::addtions related to external references   
-#---------------------------------------------------------------------------
-TAGFILES               = 
-GENERATE_TAGFILE       = 
-ALLEXTERNALS           = NO
-EXTERNAL_GROUPS        = YES
-PERL_PATH              = /usr/bin/perl
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool   
-#---------------------------------------------------------------------------
-CLASS_DIAGRAMS         = YES
-HIDE_UNDOC_RELATIONS   = NO
-HAVE_DOT               = YES
-CLASS_GRAPH            = YES
-COLLABORATION_GRAPH    = NO
-TEMPLATE_RELATIONS     = YES
-INCLUDE_GRAPH          = YES
-INCLUDED_BY_GRAPH      = NO
-GRAPHICAL_HIERARCHY    = YES
-DOT_IMAGE_FORMAT       = jpg
-DOT_PATH               = 
-DOTFILE_DIRS           = 
-MAX_DOT_GRAPH_WIDTH    = 1024
-MAX_DOT_GRAPH_HEIGHT   = 1200
-GENERATE_LEGEND        = NO
-DOT_CLEANUP            = YES
-#---------------------------------------------------------------------------
-# Configuration::addtions related to the search engine   
-#---------------------------------------------------------------------------
-SEARCHENGINE           = NO
-CGI_NAME               = search.cgi
-CGI_URL                = 
-DOC_URL                = 
-DOC_ABSPATH            = 
-BIN_ABSPATH            = /usr/local/bin/
-EXT_DOC_PATHS          = 
diff --git a/doc/salome/tui/GEOM/doxyfile_py b/doc/salome/tui/GEOM/doxyfile_py
deleted file mode 100755 (executable)
index a76886d..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-# Doxyfile 1.3-rc1
-
-#---------------------------------------------------------------------------
-# General configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME           = "SALOME - GEOM - v.2.1.0"
-PROJECT_NUMBER         = id#1.1
-OUTPUT_DIRECTORY       = ../
-OUTPUT_LANGUAGE        = English
-EXTRACT_ALL            = YES
-EXTRACT_PRIVATE        = YES
-EXTRACT_STATIC         = YES
-EXTRACT_LOCAL_CLASSES  = YES
-HIDE_UNDOC_MEMBERS     = NO
-HIDE_UNDOC_CLASSES     = NO
-HIDE_FRIEND_COMPOUNDS  = NO
-HIDE_IN_BODY_DOCS      = NO
-BRIEF_MEMBER_DESC      = YES
-REPEAT_BRIEF           = NO
-ALWAYS_DETAILED_SEC    = YES
-INLINE_INHERITED_MEMB  = YES
-FULL_PATH_NAMES        = NO
-STRIP_FROM_PATH        = 
-INTERNAL_DOCS          = YES
-CASE_SENSE_NAMES       = YES
-SHORT_NAMES            = NO
-HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
-SHOW_INCLUDE_FILES     = YES
-JAVADOC_AUTOBRIEF      = YES
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP         = NO
-INHERIT_DOCS           = YES
-INLINE_INFO            = YES
-SORT_MEMBER_DOCS       = NO
-DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 5
-GENERATE_TODOLIST      = YES
-GENERATE_TESTLIST      = YES
-GENERATE_BUGLIST       = YES
-GENERATE_DEPRECATEDLIST= YES
-ALIASES                = 
-ENABLED_SECTIONS       = 
-MAX_INITIALIZER_LINES  = 25
-OPTIMIZE_OUTPUT_FOR_C  = YES
-OPTIMIZE_OUTPUT_JAVA   = YES
-SHOW_USED_FILES        = NO
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET                  = NO
-WARNINGS               = YES
-WARN_IF_UNDOCUMENTED   = YES
-WARN_FORMAT            = "$file:$line: $text"
-WARN_LOGFILE           = log.txt
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT                  = list_py_files_to_process
-FILE_PATTERNS          = 
-RECURSIVE              = NO
-EXCLUDE                = 
-EXCLUDE_SYMLINKS       = NO
-EXCLUDE_PATTERNS       = 
-EXAMPLE_PATH           = 
-EXAMPLE_PATTERNS       = 
-EXAMPLE_RECURSIVE      = NO
-IMAGE_PATH             = ../sources/
-INPUT_FILTER           = 
-FILTER_SOURCE_FILES    = YES
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
-INLINE_SOURCES         = NO
-STRIP_CODE_COMMENTS    = YES
-REFERENCED_BY_RELATION = NO
-REFERENCES_RELATION    = YES
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-ALPHABETICAL_INDEX     = NO
-COLS_IN_ALPHA_INDEX    = 5
-IGNORE_PREFIX          = 
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-GENERATE_HTML          = YES
-HTML_OUTPUT            = ../GEOM/geompy_doc
-HTML_FILE_EXTENSION    = .html
-HTML_HEADER            = ../sources/myheader_py2.html
-HTML_FOOTER            = 
-HTML_STYLESHEET        = 
-HTML_ALIGN_MEMBERS     = YES
-GENERATE_HTMLHELP      = NO
-CHM_FILE               = 
-HHC_LOCATION           = 
-GENERATE_CHI           = NO
-BINARY_TOC             = YES
-TOC_EXPAND             = YES
-DISABLE_INDEX          = YES
-ENUM_VALUES_PER_LINE   = 4
-GENERATE_TREEVIEW      = YES
-TREEVIEW_WIDTH         = 250
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-GENERATE_LATEX         = NO
-LATEX_OUTPUT           = latex
-LATEX_CMD_NAME         = latex
-MAKEINDEX_CMD_NAME     = makeindex
-COMPACT_LATEX          = NO
-PAPER_TYPE             = a4wide
-EXTRA_PACKAGES         = 
-LATEX_HEADER           = 
-PDF_HYPERLINKS         = NO
-USE_PDFLATEX           = NO
-LATEX_BATCHMODE        = NO
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-GENERATE_RTF           = NO
-RTF_OUTPUT             = rtf
-COMPACT_RTF            = NO
-RTF_HYPERLINKS         = NO
-RTF_STYLESHEET_FILE    = 
-RTF_EXTENSIONS_FILE    = 
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-GENERATE_MAN           = NO
-MAN_OUTPUT             = man
-MAN_EXTENSION          = .3
-MAN_LINKS              = NO
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-GENERATE_XML           = NO
-XML_SCHEMA             = 
-XML_DTD                = 
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-GENERATE_AUTOGEN_DEF   = NO
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-GENERATE_PERLMOD       = NO
-PERLMOD_LATEX          = NO
-PERLMOD_PRETTY         = YES
-PERLMOD_MAKEVAR_PREFIX = 
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor   
-#---------------------------------------------------------------------------
-ENABLE_PREPROCESSING   = YES
-MACRO_EXPANSION        = YES
-EXPAND_ONLY_PREDEF     = NO
-SEARCH_INCLUDES        = YES
-INCLUDE_PATH           = 
-INCLUDE_FILE_PATTERNS  = 
-PREDEFINED             = 
-EXPAND_AS_DEFINED      = 
-SKIP_FUNCTION_MACROS   = NO
-#---------------------------------------------------------------------------
-# Configuration::addtions related to external references   
-#---------------------------------------------------------------------------
-TAGFILES               = 
-GENERATE_TAGFILE       = 
-ALLEXTERNALS           = NO
-EXTERNAL_GROUPS        = YES
-PERL_PATH              = /usr/bin/perl
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool   
-#---------------------------------------------------------------------------
-CLASS_DIAGRAMS         = YES
-HIDE_UNDOC_RELATIONS   = NO
-HAVE_DOT               = YES
-CLASS_GRAPH            = YES
-COLLABORATION_GRAPH    = NO
-TEMPLATE_RELATIONS     = YES
-INCLUDE_GRAPH          = YES
-INCLUDED_BY_GRAPH      = NO
-GRAPHICAL_HIERARCHY    = YES
-DOT_IMAGE_FORMAT       = jpg
-DOT_PATH               = 
-DOTFILE_DIRS           = 
-MAX_DOT_GRAPH_WIDTH    = 1024
-MAX_DOT_GRAPH_HEIGHT   = 1200
-GENERATE_LEGEND        = NO
-DOT_CLEANUP            = YES
-#---------------------------------------------------------------------------
-# Configuration::addtions related to the search engine   
-#---------------------------------------------------------------------------
-SEARCHENGINE           = NO
-CGI_NAME               = search.cgi
-CGI_URL                = 
-DOC_URL                = 
-DOC_ABSPATH            = 
-BIN_ABSPATH            = /usr/local/bin/
-EXT_DOC_PATHS          = 
diff --git a/doc/salome/tui/GEOM/sources/Application-About.png b/doc/salome/tui/GEOM/sources/Application-About.png
deleted file mode 100755 (executable)
index 7b58330..0000000
Binary files a/doc/salome/tui/GEOM/sources/Application-About.png and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/Application-About1.jpg b/doc/salome/tui/GEOM/sources/Application-About1.jpg
deleted file mode 100755 (executable)
index cf7ab8b..0000000
Binary files a/doc/salome/tui/GEOM/sources/Application-About1.jpg and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/application.gif b/doc/salome/tui/GEOM/sources/application.gif
deleted file mode 100644 (file)
index 0b05d5c..0000000
Binary files a/doc/salome/tui/GEOM/sources/application.gif and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/application.jpg b/doc/salome/tui/GEOM/sources/application.jpg
deleted file mode 100755 (executable)
index a6979ab..0000000
Binary files a/doc/salome/tui/GEOM/sources/application.jpg and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/bg_salome.gif b/doc/salome/tui/GEOM/sources/bg_salome.gif
deleted file mode 100755 (executable)
index 677b704..0000000
Binary files a/doc/salome/tui/GEOM/sources/bg_salome.gif and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/logocorp.gif b/doc/salome/tui/GEOM/sources/logocorp.gif
deleted file mode 100755 (executable)
index 7697e08..0000000
Binary files a/doc/salome/tui/GEOM/sources/logocorp.gif and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/myheader.html b/doc/salome/tui/GEOM/sources/myheader.html
deleted file mode 100755 (executable)
index 83ca543..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-   <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-   <title>Main Page</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
-</head>
-<body>
-&nbsp;
-<center><table WIDTH="96%" >
-<tr>
-<td><a href="http://www.opencascade.com"><img src="sources/logocorp.gif" BORDER=0 height=46 width=122></a></td>
-
-
-<td>
-<div align=right><a href="http://www.opencascade.org/SALOME/"><img src="sources/application.gif" BORDER=0 height=46 width=108></a></div>
-</td>
-</tr>
-</table></center>
-
-
-</body>
-</html>
diff --git a/doc/salome/tui/GEOM/sources/myheader_py2.html b/doc/salome/tui/GEOM/sources/myheader_py2.html
deleted file mode 100755 (executable)
index 372b224..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-   <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-   <title>Main Page</title>
-<link href="doxygen.css" rel="stylesheet" type="text/css">
-</head>
-<body>
-&nbsp;
-<center><table WIDTH="96%" >
-<tr>
-<td><a href="http://www.opencascade.com"><img src="../sources/logocorp.gif" BORDER=0 height=46 width=122></a></td>
-
-
-<td>
-<div align=right><a href="http://www.opencascade.org/SALOME/"><img src="../sources/application.gif" BORDER=0 height=46 width=108></a></div>
-</td>
-</tr>
-</table></center>
-
-
-</body>
-</html>
diff --git a/doc/salome/tui/GEOM/sources/occ.gif b/doc/salome/tui/GEOM/sources/occ.gif
deleted file mode 100755 (executable)
index ce017c8..0000000
Binary files a/doc/salome/tui/GEOM/sources/occ.gif and /dev/null differ
diff --git a/doc/salome/tui/GEOM/sources/static/doxygen.css b/doc/salome/tui/GEOM/sources/static/doxygen.css
deleted file mode 100755 (executable)
index 0a8e93d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-H1 { text-align: center; }
-CAPTION { font-weight: bold }
-A.qindex {}
-A.qindexRef {}
-A.el { text-decoration: none; font-weight: bold }
-A.elRef { font-weight: bold }
-A.code { text-decoration: none; font-weight: normal; color: #4444ee }
-A.codeRef { font-weight: normal; color: #4444ee }
-A:hover { text-decoration: none; background-color: lightblue }
-DL.el { margin-left: -1cm }
-DIV.fragment { width: 100%; border: none; background-color: #CCCCCC }
-DIV.ah { background-color: #CCCCCC; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
-TD.md { background-color: lightblue; font-weight: bold; }
-TD.mdname1 { background-color: lightblue; font-weight: bold; color: #602020; }
-TD.mdname { background-color: lightblue; font-weight: bold; color: #602020; width: 600px; }
-DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
-DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller }
-BODY { background: url(sources/bg_salome.gif) }
-TD.indexkey { 
-   background-color: #CCCCCC; 
-   font-weight: bold; 
-   padding-right  : 10px; 
-   padding-top    : 2px; 
-   padding-left   : 10px; 
-   padding-bottom : 2px; 
-   margin-left    : 0px; 
-   margin-right   : 0px; 
-   margin-top     : 2px; 
-   margin-bottom  : 2px  
-}
-TD.indexvalue { 
-   background-color: #CCCCCC; 
-   font-style: italic; 
-   padding-right  : 10px; 
-   padding-top    : 2px; 
-   padding-left   : 10px; 
-   padding-bottom : 2px; 
-   margin-left    : 0px; 
-   margin-right   : 0px; 
-   margin-top     : 2px; 
-   margin-bottom  : 2px  
-}
-span.keyword       { color: #008000 }
-span.keywordtype   { color: #604020 }
-span.keywordflow   { color: #e08000 }
-span.comment       { color: #800000 }
-span.preprocessor  { color: #806020 }
-span.stringliteral { color: #002080 }
-span.charliteral   { color: #008080 }
diff --git a/doc/salome/tui/GEOM/sources/static/page2.html b/doc/salome/tui/GEOM/sources/static/page2.html
deleted file mode 100755 (executable)
index 1966a56..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-    
-  <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
-    
-  <meta name="GENERATOR"
- content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-  <title>Main Page</title>
-     
-  <link href="doxygen.css" rel="stylesheet" type="text/css">
-</head>
-  <body>
- &nbsp; 
-<center>
-<table width="96%">
- <tbody>
-    <tr>
- <td><a href="http://www.opencascade.com"><img
- src="sources/logocorp.gif" border="0" height="46" width="122">
-      </a></td>
-   <td> 
-      <div align="right"><a href="http://www.opencascade.org/SALOME/"><img
- src="sources/application.gif" border="0" height="46" width="108">
-      </a></div>
- </td>
- </tr>
-  </tbody>
-</table>
-</center>
-   <!-- Generated by Doxygen 1.3-rc2 --> 
-<ul>
- <li><b>SALOME GEOMETRY module</b>
-    <ul>
- <li><a href="HTML/GEOM_Gen.html">Mapping of GEOM_Gen functions</a></li>
-    </ul>
- </li>
-</ul>
- <br>
-</body>
-</html>
diff --git a/doc/salome/tui/GEOM/sources/static/tree.js b/doc/salome/tui/GEOM/sources/static/tree.js
deleted file mode 100755 (executable)
index edeb48c..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-foldersTree = gFld("<b>SALOME v.2.1.0 </b>", "", "")
-     insDoc(foldersTree, gLnk("Main Page", "", "main.html"))
-
-aux1 = insFld(foldersTree, gFld("TUI Reference Guide", ""))
-  aux2 = insFld(aux1, gFld("Modules", ""))
-    aux3 = insFld(aux2, gFld("SALOME GEOMETRY module", ""))
-/*!             insDoc(aux3, gLnk("Overview", "", "overview_Geometry.html"))*/
-      aux4 = insFld(aux3, gFld("Packages", ""))                
-               insDoc(aux4, gLnk("GEOM", "", "namespaceGEOM.html"))
-/*!             insDoc(aux3, gLnk("Examples", "", "examples_GEOM.html"))
-*/
-
-/*! Data structures
-*/
-         insDoc(aux1, gLnk("Data Structures", "", "annotated.html"))
-
-/*!    insDoc(aux1, gLnk("GEOM::GEOM_Gen", "", "interfaceGEOM_1_1GEOM__Gen.html"))
-       insDoc(aux1, gLnk("GEOM::GEOM_Shape", "", "interfaceGEOM_1_1GEOM__Shape.html"))
-*/
-         insDoc(aux1, gLnk("Class Hierarchy", "", "hierarchy.html"))
-
-/*!    
-    aux3 = insFld(aux2, gFld("GEOM::GEOM_Gen", "", "interfaceGEOM_1_1GEOM__Gen.html"))
-    aux3 = insFld(aux2, gFld("GEOM::GEOM_Shape", "", "interfaceGEOM_1_1GEOM__Shape.html"))
-    aux3 = insFld(aux2, gFld("GEOM::AxisStruct", "", "structGEOM_1_1AxisStruct.html"))
-    aux3 = insFld(aux2, gFld("GEOM::DirStruct", "", "structGEOM_1_1DirStruct.html"))
-    aux3 = insFld(aux2, gFld("GEOM::PointStruct", "", "structGEOM_1_1PointStruct.html"))
-*/
-         insDoc(aux1, gLnk("Class methods list", "", "functions.html"))
-/*!
-aux1 = insFld(foldersTree, gFld("Namespace List", "", "namespaces.html"))
-       insDoc(aux1, gLnk("GEOM", "", "namespaceGEOM.html"))
-*/
-         insDoc(aux1, gLnk("Namespace Members", "", "namespacemembers.html"))
-
-         insDoc(aux1, gLnk("File List", "", "files.html"))
-      
-/*!
-      
-       insDoc(aux1, gLnk("GEOM_Gen.idl", "", "GEOM__Gen_8idl.html"))
-       insDoc(aux1, gLnk("GEOM_Shape.idl", "", "GEOM__Shape_8idl.html"))
-*/
-
-aux1 = insFld(foldersTree, gFld("IDL/Python mapping", ""))
-         insDoc(aux1, gLnk("Mapping of GEOMETRY IDL definitions to Python language", "", "page2.html"))
-
-/*!aux1 = insFld(foldersTree, gFld("Python Commands", "", "geompy_doc/main.html"))
-         insDoc(aux1, gLnk("Package geompy", "", "geompy_doc/namespacegeompy.html"))
-         insDoc(aux1, gLnk("Namespace Members", "", "geompy_doc/namespacemembers.html"))
-         insDoc(aux1, gLnk("File geompy.py", "", "geompy_doc/geompy_8py.html"))
-*/
-
-aux1 = insFld(foldersTree, gFld("Python Commands", "", "geompy_doc/main.html"))
-         insDoc(aux1, gLnk("Package List", "", "geompy_doc/namespaces.html"))
-         insDoc(aux1, gLnk("Namespace Members", "", "geompy_doc/namespacemembers.html"))
-         insDoc(aux1, gLnk("File List", "", "geompy_doc/files.html"))
-
-/*!  insDoc(foldersTree, gLnk("Graphical Class Hierarchy", "", "inherits.html"))
-*/
diff --git a/doc/salome/tui/GEOM/sources/static/treeview.js b/doc/salome/tui/GEOM/sources/static/treeview.js
deleted file mode 100644 (file)
index 55eb43d..0000000
+++ /dev/null
@@ -1,505 +0,0 @@
-//**************************************************************** 
-// You are free to copy the "Folder-Tree" script as long as you  
-// keep this copyright notice: 
-// Script found in: http://www.geocities.com/Paris/LeftBank/2178/ 
-// Author: Marcelino Alves Martins (martins@hks.com) December '97. 
-//**************************************************************** 
-//Log of changes: 
-//       17 Feb 98 - Fix initialization flashing problem with Netscape
-//       
-//       27 Jan 98 - Root folder starts open; support for USETEXTLINKS; 
-//                   make the ftien4 a js file 
-//       
-// DvH:  Dec 2000 -  Made some minor changes to support external 
-//                   references
-// Definition of class Folder 
-// ***************************************************************** 
-function Folder(folderDescription, tagName, hreference) //constructor 
-{ 
-  //constant data 
-  this.desc = folderDescription 
-  this.tagName = tagName
-  this.hreference = hreference 
-  this.id = -1   
-  this.navObj = 0  
-  this.iconImg = 0  
-  this.nodeImg = 0  
-  this.isLastNode = 0 
-  //dynamic data 
-  this.isOpen = true 
-  this.iconSrc = "ftv2folderopen.png"   
-  this.children = new Array 
-  this.nChildren = 0 
-  //methods 
-  this.initialize = initializeFolder 
-  this.setState = setStateFolder 
-  this.addChild = addChild 
-  this.createIndex = createEntryIndex 
-  this.hide = hideFolder 
-  this.display = display 
-  this.renderOb = drawFolder 
-  this.totalHeight = totalHeight 
-  this.subEntries = folderSubEntries 
-  this.outputLink = outputFolderLink 
-} 
-function setStateFolder(isOpen) 
-{ 
-  var subEntries 
-  var totalHeight 
-  var fIt = 0 
-  var i=0 
-  if (isOpen == this.isOpen) 
-    return 
-  if (browserVersion == 2)  
-  { 
-    totalHeight = 0 
-    for (i=0; i < this.nChildren; i++) 
-      totalHeight = totalHeight + this.children[i].navObj.clip.height 
-      subEntries = this.subEntries() 
-    if (this.isOpen) 
-      totalHeight = 0 - totalHeight 
-    for (fIt = this.id + subEntries + 1; fIt < nEntries; fIt++) 
-      indexOfEntries[fIt].navObj.moveBy(0, totalHeight) 
-  }  
-  this.isOpen = isOpen 
-  propagateChangesInState(this) 
-} 
-function propagateChangesInState(folder) 
-{   
-  var i=0 
-  if (folder.isOpen) 
-  { 
-    if (folder.nodeImg) 
-      if (folder.isLastNode) 
-        folder.nodeImg.src = "ftv2mlastnode.png" 
-      else 
-         folder.nodeImg.src = "ftv2mnode.png" 
-    folder.iconImg.src = "ftv2folderopen.png" 
-    for (i=0; i<folder.nChildren; i++) 
-      folder.children[i].display() 
-  } 
-  else 
-  { 
-    if (folder.nodeImg) 
-      if (folder.isLastNode) 
-        folder.nodeImg.src = "ftv2plastnode.png" 
-      else 
-         folder.nodeImg.src = "ftv2pnode.png" 
-    folder.iconImg.src = "ftv2folderclosed.png" 
-    for (i=0; i<folder.nChildren; i++) 
-      folder.children[i].hide() 
-  }  
-} 
-function hideFolder() 
-{ 
-  if (browserVersion == 1 || browserVersion == 3) { 
-    if (this.navObj.style.display == "none") 
-      return 
-    this.navObj.style.display = "none" 
-  } else { 
-    if (this.navObj.visibility == "hidden") 
-      return 
-    this.navObj.visibility = "hidden" 
-  } 
-   
-  this.setState(0) 
-} 
-function initializeFolder(level, lastNode, leftSide) 
-{ 
-var j=0 
-var i=0 
-var numberOfFolders 
-var numberOfDocs 
-var nc 
-      
-  nc = this.nChildren 
-   
-  this.createIndex() 
-  var auxEv = "" 
-  if (browserVersion > 0) 
-    auxEv = "<a href='javascript:clickOnNode("+this.id+")'>" 
-  else 
-    auxEv = "<a>" 
-  if (level>0) 
-    if (lastNode) //the last 'brother' in the children array 
-    { 
-      this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mlastnode.png' width=16 height=22 border=0></a>") 
-//    leftSide = leftSide + "<img src='ftv2blank.png' width=16 height=22>"  
-      this.isLastNode = 1 
-    } 
-    else 
-    { 
-      this.renderOb(leftSide + auxEv + "<img name='nodeIcon" + this.id + "' src='ftv2mnode.png' width=16 height=22 border=0></a>") 
-      leftSide = leftSide + "<img src='ftv2vertline.png' width=16 height=22>" 
-      this.isLastNode = 0 
-    } 
-  else 
-    this.renderOb("") 
-   
-  if (nc > 0) 
-  { 
-    level = level + 1 
-    for (i=0 ; i < this.nChildren; i++)  
-    { 
-      if (i == this.nChildren-1) 
-        this.children[i].initialize(level, 1, leftSide) 
-      else 
-        this.children[i].initialize(level, 0, leftSide) 
-      } 
-  } 
-} 
-function drawFolder(leftSide) 
-{ 
-  if (browserVersion == 2) { 
-    if (!doc.yPos) 
-      doc.yPos=8 
-    doc.write("<layer id='folder" + this.id + "' top=" + doc.yPos + " visibility=hidden>") 
-  } 
-  if (browserVersion == 3) 
-  {
-    doc.write("<div id='folder" + this.id + "' style='visibility:hide;'>") 
-  }
-   
-  doc.write("\n<table ") 
-  if (browserVersion == 1) 
-    doc.write(" id='folder" + this.id + "' style='position:block;' ") 
-  doc.write(" border=0 cellspacing=0 cellpadding=0>") 
-  doc.write("\n<tr><td>") 
-  doc.write(leftSide) 
-  this.outputLink() 
-  doc.write("<img name='folderIcon" + this.id + "' ") 
-  doc.write("src='" + this.iconSrc+"' border=0></a>") 
-  doc.write("</td>\n<td valign=middle nowrap>") 
-  if (USETEXTLINKS) 
-  { 
-    this.outputLink() 
-    doc.write(this.desc + "</a>") 
-  } 
-  else 
-    doc.write(this.desc)
-
-/*! 
-  if (this.tagName!="")
-  {
-    doc.write(" [external]")
-  }
-*/
-  doc.write("</td>")  
-  doc.write("\n</table>\n") 
-   
-  if (browserVersion == 2) { 
-    doc.write("</layer>") 
-  } 
-  if (browserVersion == 3) { 
-    doc.write("</div>") 
-  } 
-  if (browserVersion == 1) { 
-    this.navObj = doc.all["folder"+this.id] 
-    this.iconImg = doc.all["folderIcon"+this.id] 
-    this.nodeImg = doc.all["nodeIcon"+this.id] 
-  } else if (browserVersion == 2) { 
-    this.navObj = doc.layers["folder"+this.id] 
-    this.iconImg = this.navObj.document.images["folderIcon"+this.id] 
-    this.nodeImg = this.navObj.document.images["nodeIcon"+this.id] 
-    doc.yPos=doc.yPos+this.navObj.clip.height 
-  } else if (browserVersion == 3) {
-    this.navObj = doc.getElementById("folder"+this.id)
-    this.iconImg = doc.images.namedItem("folderIcon"+this.id)
-    this.nodeImg = doc.images.namedItem("nodeIcon"+this.id)
-  }
-} 
-function outputFolderLink() 
-{ 
-  if (this.hreference) 
-  { 
-    doc.write("<a ")
-    if (this.tagName)
-    {
-      doc.write("doxygen='" + this.tagName + "' ");
-    }
-    doc.write("href='" + this.hreference + "' TARGET=\"basefrm\" ") 
-    if (browserVersion > 0) 
-      doc.write("onClick='javascript:clickOnFolder("+this.id+")'") 
-    doc.write(">") 
-  } 
-  else 
-    doc.write("<a>") 
-} 
-function addChild(childNode) 
-{ 
-  this.children[this.nChildren] = childNode 
-  this.nChildren++ 
-  return childNode 
-} 
-function folderSubEntries() 
-{ 
-  var i = 0 
-  var se = this.nChildren 
-  for (i=0; i < this.nChildren; i++){ 
-    if (this.children[i].children) //is a folder 
-      se = se + this.children[i].subEntries() 
-  } 
-  return se 
-} 
-// Definition of class Item (a document or link inside a Folder) 
-// ************************************************************* 
-function Item(itemDescription, tagName, itemLink) // Constructor 
-{ 
-  // constant data 
-  this.desc = itemDescription 
-  this.tagName = tagName
-  this.link = itemLink 
-  this.id = -1 //initialized in initalize() 
-  this.navObj = 0 //initialized in render() 
-  this.iconImg = 0 //initialized in render() 
-  this.iconSrc = "ftv2doc.png" 
-  // methods 
-  this.initialize = initializeItem 
-  this.createIndex = createEntryIndex 
-  this.hide = hideItem 
-  this.display = display 
-  this.renderOb = drawItem 
-  this.totalHeight = totalHeight 
-} 
-function hideItem() 
-{ 
-  if (browserVersion == 1 || browserVersion == 3) { 
-    if (this.navObj.style.display == "none") 
-      return 
-    this.navObj.style.display = "none" 
-  } else { 
-    if (this.navObj.visibility == "hidden") 
-      return 
-    this.navObj.visibility = "hidden" 
-  }     
-} 
-function initializeItem(level, lastNode, leftSide) 
-{  
-  this.createIndex() 
-  if (level>0) 
-    if (lastNode) //the last 'brother' in the children array 
-    { 
-      this.renderOb(leftSide + "<img src='ftv2lastnode.png' width=16 height=22>") 
-      leftSide = leftSide + "<img src='ftv2blank.png' width=16 height=22>"  
-    } 
-    else 
-    { 
-      this.renderOb(leftSide + "<img src='ftv2node.png' width=16 height=22>") 
-      leftSide = leftSide + "<img src='ftv2vertline.png' width=16 height=22>" 
-    } 
-  else 
-    this.renderOb("")   
-} 
-function drawItem(leftSide) 
-{ 
-  if (browserVersion == 2) 
-    doc.write("<layer id='item" + this.id + "' top=" + doc.yPos + " visibility=hidden>") 
-  if (browserVersion == 3) 
-    doc.write("<div id='item" + this.id + "' style='display:block;'>") 
-     
-  doc.write("\n<table ") 
-  if (browserVersion == 1) 
-    doc.write(" id='item" + this.id + "' style='position:block;' ") 
-  doc.write(" border=0 cellspacing=0 cellpadding=0>\n") 
-  doc.write("<tr><td>") 
-  doc.write(leftSide) 
-  if (this.link!="")
-  {
-    doc.write("<a href=" + this.link + ">") 
-  }
-  doc.write("<img id='itemIcon"+this.id+"' ") 
-  doc.write("src='"+this.iconSrc+"' border=0>") 
-  if (this.link!="")
-  {
-    doc.write("</a>")
-  } 
-  doc.write("</td>\n<td valign=middle nowrap>") 
-  if (USETEXTLINKS && this.link!="") 
-    doc.write("<a href=" + this.link + ">" + this.desc + "</a>") 
-  else 
-    doc.write(this.desc) 
-/*!
-  if (this.tagName!="")
-  {
-    doc.write(" [external]");
-  }
-*/
-  doc.write("\n</table>\n") 
-   
-  if (browserVersion == 2) 
-    doc.write("</layer>") 
-  if (browserVersion == 3) 
-    doc.write("</div>")
-  if (browserVersion == 1) { 
-    this.navObj = doc.all["item"+this.id] 
-    this.iconImg = doc.all["itemIcon"+this.id] 
-  } else if (browserVersion == 2) { 
-    this.navObj = doc.layers["item"+this.id] 
-    this.iconImg = this.navObj.document.images["itemIcon"+this.id] 
-    doc.yPos=doc.yPos+this.navObj.clip.height 
-  } else if (browserVersion == 3) {
-    this.navObj = doc.getElementById("item"+this.id)
-    this.iconImg = doc.images.namedItem("itemIcon"+this.id)
-  }
-} 
-// Methods common to both objects (pseudo-inheritance) 
-// ******************************************************** 
-function display() 
-{ 
-  if (browserVersion == 1 || browserVersion == 3) 
-    this.navObj.style.display = "block" 
-  else 
-    this.navObj.visibility = "show" 
-} 
-function createEntryIndex() 
-{ 
-  this.id = nEntries 
-  indexOfEntries[nEntries] = this 
-  nEntries++ 
-} 
-// total height of subEntries open 
-function totalHeight() //used with browserVersion == 2 
-{ 
-  var h = this.navObj.clip.height 
-  var i = 0 
-   
-  if (this.isOpen) //is a folder and _is_ open 
-    for (i=0 ; i < this.nChildren; i++)  
-      h = h + this.children[i].totalHeight() 
-  return h 
-} 
-// Events 
-// ********************************************************* 
-function clickOnFolder(folderId) 
-{ 
-  var clicked = indexOfEntries[folderId] 
-  if (!clicked.isOpen) 
-    clickOnNode(folderId) 
-  return  
-  if (clicked.isSelected) 
-    return 
-} 
-function clickOnNode(folderId) 
-{ 
-  var clickedFolder = 0 
-  var state = 0 
-  clickedFolder = indexOfEntries[folderId] 
-  state = clickedFolder.isOpen 
-  clickedFolder.setState(!state) //open<->close  
-} 
-function initializeDocument() 
-{ 
-  doc = document;
-  if (doc.all) 
-    browserVersion = 1 //IE4   
-  else 
-    if (doc.layers) 
-      browserVersion = 2 //NS4 
-    else if(navigator.userAgent.toLowerCase().indexOf('gecko') != -1)
-        browserVersion = 3 //mozilla
-      else 
-        browserVersion = 0 //other 
-
-  foldersTree.initialize(0, 1, "") 
-  foldersTree.display()
-  
-  if (browserVersion > 0) 
-  { 
-    if(browserVersion != 3)
-      doc.write("<layer top="+indexOfEntries[nEntries-1].navObj.top+">&nbsp;</layer>") 
-    // close the whole tree 
-    clickOnNode(0) 
-    // open the root folder 
-    clickOnNode(0) 
-  } 
-} 
-// Auxiliary Functions for Folder-Treee backward compatibility 
-// ********************************************************* 
-function gFld(description, tagName, hreference) 
-{ 
-  folder = new Folder(description, tagName, hreference) 
-  return folder 
-} 
-function gLnk(description, tagName, linkData) 
-{ 
-  fullLink = "" 
-  if (linkData!="")
-  {
-    fullLink = "'"+linkData+"' target=\"basefrm\"" 
-  } 
-  linkItem = new Item(description, tagName, fullLink)   
-  return linkItem 
-} 
-function insFld(parentFolder, childFolder) 
-{ 
-  return parentFolder.addChild(childFolder) 
-} 
-function insDoc(parentFolder, document) 
-{ 
-  parentFolder.addChild(document) 
-} 
-// Global variables 
-// **************** 
-USETEXTLINKS = 1
-indexOfEntries = new Array 
-nEntries = 0 
-doc = document 
-browserVersion = 0 
-selectedFolder=0
diff --git a/doc/salome/tui/Makefile.in b/doc/salome/tui/Makefile.in
deleted file mode 100644 (file)
index 8a2c776..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Vasily Rusyaev (Open Cascade NN)
-#  Module : doc
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../../..
-root_srcdir=@ROOT_SRCDIR@
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-doxygen=@DOXYGEN@
-
-@COMMENCE@
-
-PYTHON_SCRIPTS = \
-       geompy.py \
-       GEOM_TestMeasures.py
-
-#PYTHON_SCRIPTS_PY2 = py2/geompy.py py2/GEOM_TestMeasures.py
-
-docs:
-       cp -fr $(srcdir)/GEOM ./INPUT
-       cd INPUT; \
-       sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
-       mv -f doxyfile1 doxyfile; \
-       $(doxygen) ./doxyfile; \
-       mkdir py1; mkdir py2; \
-       cd ..
-       for file in $(PYTHON_SCRIPTS) dummy; do \
-         if [ $$file != "dummy" ]; then \
-           cp $(root_srcdir)/src/GEOM_SWIG/$$file INPUT/py1/; \
-         fi ; \
-       done
-       cd INPUT; \
-       python $(KERNEL_ROOT_DIR)/doc/salome/tui/KERNEL/pythfilter.py ./py1 ./py2; \
-       sed 's|list_py_files_to_process|$(PYTHON_SCRIPTS)|' ./doxyfile_py > py2/doxyfile_py; \
-       cd py2; \
-       $(doxygen) ./doxyfile_py; \
-       cd ../..; \
-       cp -fr $(srcdir)/GEOM/sources/static/*.* ./GEOM/
-       cp -fr $(srcdir)/GEOM/sources/ GEOM/
-       cp -fr $(srcdir)/GEOM/HTML/ GEOM/
-       rm -fr INPUT
-
-clean:
-       rm -fr GEOM
-
-distclean: clean
-       rm -fr INPUT
-
-install:
-       $(INSTALL) -d $(docdir); \
-       mkdir -p $(docdir)/tui
-       cp -fr GEOM $(docdir)/tui
-
-uninstall:
-       rm -fr $(docdir)/tui/GEOM
diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl
deleted file mode 100644 (file)
index 6bc1582..0000000
+++ /dev/null
@@ -1,2075 +0,0 @@
-//  File   : GEOM_Gen.idl
-//  Author : Sergey RUIN
-
-#ifndef __GEOM_GEN__
-#define __GEOM_GEN__
-
-#include "SALOME_Exception.idl"
-#include "SALOME_Component.idl"
-#include "SALOMEDS.idl"
-
-#include "SALOME_GenericObj.idl"
-
-module GEOM
-{
-  /*!
-   *  Topological types of shapes (like Open Cascade types)
-   */
-  enum shape_type { COMPOUND, COMPSOLID, SOLID, SHELL,
-                   FACE, WIRE, EDGE, VERTEX, SHAPE };
-
-
-  /*!
-   *  State of shape relatively geometrical surface like plane, sphere or cylinder.
-   *  Is used in functions GEOM_IShapesOperations.GetShapesOn<xxx>()
-   */
-  enum shape_state
-  {
-    /*! Shape is on surface */
-    ST_ON,
-
-    /*!
-     *  Shape is in the direction defined by the normal and not on surface.
-     *  For plane it means above the plane,
-     *  For sphere and cylinder it means outside of volume, bounded by the surface.
-     */
-    ST_OUT,
-
-    /*!
-     *  Shape is in the direction defined by the normal and on surface.
-     *  ONOUT = ON || OUT
-     */
-    ST_ONOUT,
-
-    /*!
-     *  Complementary to ONOUT.
-     *  For plane it means below the plane,
-     *  For sphere and cylinder it means inside the volume, bounded by the surface
-     *  (beyond axis and surface for cylinder and beyond cented and surface for sphere).
-     */
-    ST_IN,
-
-    /*!
-     *  Complementary to OUT.
-     *  ONIN = ON || IN
-     */
-    ST_ONIN
-  };
-
-  typedef sequence<string>      string_array;
-  typedef sequence<short>       short_array;
-  typedef sequence<long>        ListOfLong;
-  typedef sequence<double>      ListOfDouble;
-
-  interface GEOM_Object;
-
-  typedef sequence<GEOM_Object> ListOfGO;
-
-  /*!
-   *  GEOM_Object: interface of geometric object
-   */
-  interface GEOM_Object : SALOME::GenericObj
-  {
-
-    /*!
-     *  Get an entry of the object in GEOM component.
-     */
-    string GetEntry();
-
-    /*!
-     *  Get ID of study, where the object is created.
-     */
-    long GetStudyID();
-
-    /*!
-     *  Get internal type of the object (POINT, BOX, CYLINDER, EXTRUSION...).
-     */
-    long GetType();
-
-    /*!
-     *  Get a <VAR>shape_type</VAR> of the object value.
-     */
-    shape_type GetShapeType();
-
-    /*!
-     *  Set name of the object.
-     *  \param theName is a name which will be associated with this object.
-     */
-    void SetName (in string theName);
-
-    /*!
-     *  Get name of the object associated with this object.
-     */
-    string GetName();
-
-    /*!
-     *  Set a Study entry where this object was published.
-     */
-    void SetStudyEntry (in string theEntry);
-
-    /*!
-     *  Get a Study entry where this object was published.
-     */
-    string GetStudyEntry();
-
-    /*!
-     *  Get a list of all GEOM objects on which were the arguments
-     *  when this object was constructed and modified.
-     *  \note This method is supposed to be used by GUI only.
-     */
-    ListOfGO GetDependency();
-
-    /*!
-     *  Get a list of GEOM objects on which the last function that created or modified the object depends.
-     *  \note This method is supposed to be used by GUI only.
-     */
-    ListOfGO GetLastDependency();
-
-    /*!
-     *  Get the TopoDS_Shape, for colocated case only.
-     */
-    long getShape();
-
-    /*!
-     ######################################################################
-     *  Internal methods (For sub shape identification)
-     ######################################################################
-     */
-
-    /*!
-     *  Get geometric shape of the object as a byte stream
-     */
-    SALOMEDS::TMPFile GetShapeStream();
-
-    /*
-     *  Returns True if this object is not a sub shape of another object.
-     */
-    boolean IsMainShape();
-
-    /*
-     *  Get a list of ID's of sub shapes in the main shape.
-     *  \note Internal method, suppopsed to be used only by GEOM_Client
-     */
-    ListOfLong GetSubShapeIndices();
-
-    /*
-     *  Get a main shape object to which this object is a sub shape
-     *  \note Internal method, suppopsed to be used only by GEOM_Client
-     */
-    GEOM_Object GetMainShape();
-
-    /*
-     *  Return true if geom object representes a shape.
-     *  For example, method return false for GEOM_MARKER
-     */
-     boolean IsShape();
-  };
-
-
-  /*!
-   *  GEOM_IOperations: basic methods of all geometric operations
-   */
-  interface GEOM_IOperations : SALOME::GenericObj
-  {
-    /*!
-     *  To know, if the operation was successfully performed
-     */
-    boolean IsDone();
-
-    /*!
-     *  Set the operation error code
-     *  \param theErrorID is a string describing the error occured
-     *  \note This method is supposed to be used only by interfaces inheriting from IOperations.
-     */
-    void SetErrorCode (in string theErrorID);
-
-    /*!
-     *  Get the operation error code
-     */
-    string GetErrorCode();
-
-    /*!
-     *  Get ID of study, where the operation is defined
-     */
-    long GetStudyID();
-
-    /*!
-     *  Opens a new transaction
-     */
-    void StartOperation();
-
-    /*!
-     *  Closes the previously opened trasaction
-     */
-    void FinishOperation();
-
-    /*!
-     *  Aborts the previously opened transaction
-     */
-    void AbortOperation();
-  };
-
-  /*!
-   *  GEOM_IBasicOperations: interface for basic geometry creation
-   *  (Point, Vector, Plane, Marker)
-   */
-  interface GEOM_IBasicOperations : GEOM_IOperations
-  {
-    /*!
-     *  Create point by three coordinates.
-     *  \param theX The X coordinate of the point.
-     *  \param theY The Y coordinate of the point.
-     *  \param theZ The Z coordinate of the point.
-     *  \return New GEOM_Object, containing the created point.
-     */
-    GEOM_Object MakePointXYZ (in double theX, in double theY, in double theZ);
-
-    /*!
-     *  Create a point, distant from the referenced point
-     *  on the given distances along the coordinate axes.
-     *  \param theReference The referenced point.
-     *  \param theX Displacement from the referenced point along OX axis.
-     *  \param theY Displacement from the referenced point along OY axis.
-     *  \param theZ Displacement from the referenced point along OZ axis.
-     *  \return New GEOM_Object, containing the created point.
-     */
-    GEOM_Object MakePointWithReference (in GEOM_Object theReference,
-                                       in double theX, in double theY, in double theZ);
-
-    /*!
-     *  Create a point, corresponding to the given parameter on the given curve.
-     *  \param theRefCurve The referenced curve.
-     *  \param theParameter Value of parameter on the referenced curve.
-     *  \return New GEOM_Object, containing the created point.
-     */
-    GEOM_Object MakePointOnCurve (in GEOM_Object theRefCurve,
-                                 in double theParameter);
-
-    /*!
-     *  Create a vector with the given components.
-     *  \param theDX X component of the vector.
-     *  \param theDY Y component of the vector.
-     *  \param theDZ Z component of the vector.
-     *  \return New GEOM_Object, containing the created vector.
-     */
-    GEOM_Object MakeVectorDXDYDZ (in double theDX,
-                                 in double theDY,
-                                 in double theDZ);
-
-    /*!
-     *  Create a vector between two points.
-     *  \param thePnt1 Start point for the vector.
-     *  \param thePnt2 End point for the vector.
-     *  \return New GEOM_Object, containing the created vector.
-     */
-    GEOM_Object MakeVectorTwoPnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
-
-    /*!
-     *  Create a line, passing through the given point
-     *  and parrallel to the given direction
-     *  \param thePnt Point. The resulting line will pass through it.
-     *  \param theDir Direction. The resulting line will be parallel to it.
-     *  \return New GEOM_Object, containing the created line.
-     */
-    GEOM_Object MakeLine (in GEOM_Object thePnt, in GEOM_Object theDir);
-
-    /*!
-     *  Create a line, passing through the given points
-     *  \param thePnt1 First of two points, defining the line.
-     *  \param thePnt2 Second of two points, defining the line.
-     *  \return New GEOM_Object, containing the created line.
-     */
-    GEOM_Object MakeLineTwoPnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
-
-    /*!
-     *  Create a plane, passing through the three given points
-     *  \param thePnt1 First of three points, defining the plane.
-     *  \param thePnt2 Second of three points, defining the plane.
-     *  \param thePnt3 Fird of three points, defining the plane.
-     *  \param theTrimSize Half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-     */
-    GEOM_Object MakePlaneThreePnt (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in double theTrimSize);
-
-    /*!
-     *  Create a plane, passing through the given point
-     *  and normal to the given vector.
-     *  \param thePnt Point, the plane has to pass through.
-     *  \param theVec Vector, defining the plane normal direction.
-     *  \param theTrimSize Half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-     */
-    GEOM_Object MakePlanePntVec (in GEOM_Object thePnt,
-                                in GEOM_Object theVec,
-                                in double theTrimSize);
-
-    /*!
-     *  Create a plane, similar to the existing one, but with another size of representing face.
-     *  \param theFace Referenced plane.
-     *  \param theTrimSize New half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-     */
-    GEOM_Object MakePlaneFace (in GEOM_Object theFace,
-                              in double theTrimSize);
-
-    /*!
-     *  Create a local coordinate system.
-     *  \param theOX,theOY,theOZ Three coordinates of coordinate system origin.
-     *  \param theXDX,theXDY,theXDZ Three components of OX direction
-     *  \param theYDX,theYDY,theYDZ Three components of OY direction
-     *  \return New GEOM_Object, containing the created coordinate system.
-     */
-    GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
-                           in double theXDX, in double theXDY, in double theXDZ,
-                           in double theYDX, in double theYDY, in double theYDZ);
-  };
-
-  interface GEOM_ITransformOperations : GEOM_IOperations
-  {
-    /*!
-     *  Translate the given object along the vector, specified by its end points.
-     *  \param theObject The object to be translated.
-     *  \param thePoint1 Start point of translation vector.
-     *  \param thePoint2 End point of translation vector.
-     *  \return theObject.
-     */
-    GEOM_Object TranslateTwoPoints (in GEOM_Object theObject,
-                                   in GEOM_Object thePoint1,
-                                   in GEOM_Object thePoint2);
-
-    /*!
-     *  Translate the given object along the vector, specified
-     *  by its end points, creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param thePoint1 Start point of translation vector.
-     *  \param thePoint2 End point of translation vector.
-     *  \return New GEOM_Object, containing the translated object.
-     */
-    GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject,
-                                       in GEOM_Object thePoint1,
-                                        in GEOM_Object thePoint2);
-
-    /*!
-     *  Translate the given object along the vector, specified by its components.
-     *  \param theObject The object to be translated.
-     *  \param theDX,theDY,theDZ Components of translation vector.
-     *  \return theObject.
-     */
-    GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject,
-                                in double theDX, in double theDY, in double theDZ);
-
-    /*!
-     *  Translate the given object along the vector, specified
-     *  by its components, creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param theDX,theDY,theDZ Components of translation vector.
-     *  \return New GEOM_Object, containing the translated object.
-     */
-    GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject,
-                                    in double theDX, in double theDY, in double theDZ);
-
-
-    /*!
-     *  Translate the given object along the given vector.
-     *  \param theObject The object to be translated.
-     *  \param theVector Translation vector, giving both direction and distance.
-     *  \return theObject.
-     */
-    GEOM_Object TranslateVector (in GEOM_Object theObject,
-                                in GEOM_Object theVector);
-
-    /*!
-     *  Translate the given object along the given vector,
-     *  creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param theVector Translation vector, giving both direction and distance.
-     *  \return New GEOM_Object, containing the translated object.
-     */
-    GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
-                                    in GEOM_Object theVector);
-
-    /*!
-     *  Translate the given object along the given vector a given number times
-     *  \param theObject The object to be translated.
-     *  \param theVector Direction of the translation.
-     *  \param theStep Distance to translate on.
-     *  \param theNbTimes Quantity of translations to be done.
-     *  \return New GEOM_Object, containing compound of all
-     *          the shapes, obtained after each translation.
-     */
-    GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector,
-                                 in double theStep,
-                                 in long theNbTimes);
-
-    /*!
-     *  Conseqently apply two specified translations to theObject specified number of times.
-     *  \param theObject The object to be translated.
-     *  \param theVector1 Direction of the first translation.
-     *  \param theStep1 Step of the first translation.
-     *  \param theNbTimes1 Quantity of translations to be done along theVector1.
-     *  \param theVector2 Direction of the second translation.
-     *  \param theStep2 Step of the second translation.
-     *  \param theNbTimes2 Quantity of translations to be done along theVector2.
-     *  \return New GEOM_Object, containing compound of all
-     *          the shapes, obtained after each translation.
-     */
-    GEOM_Object MultiTranslate2D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector1,
-                                 in double theStep1,
-                                 in long theNbTimes1,
-                                 in GEOM_Object theVector2,
-                                 in double theStep2,
-                                 in long theNbTimes2);
-
-    /*!
-     *  Rotate the given object around the given axis on the given angle.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in radians.
-     *  \return theObject.
-     */
-    GEOM_Object Rotate (in GEOM_Object theObject,
-                       in GEOM_Object theAxis,
-                       in double theAngle);
-
-    /*!
-     *  Rotate the given object around the given axis
-     *  on the given angle, creating its copy before the rotatation.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in radians.
-     *  \return New GEOM_Object, containing the rotated object.
-     */
-    GEOM_Object RotateCopy (in GEOM_Object theObject,
-                           in GEOM_Object theAxis,
-                           in double theAngle);
-
-    /*!
-     *  Rotate the given object around the given axis a given number times.
-     *  Rotation angle will be 2*PI/theNbTimes.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis The rotation axis.
-     *  \param theNbTimes Quantity of rotations to be done.
-     *  \return New GEOM_Object, containing compound of all the
-     *          shapes, obtained after each rotation.
-     */
-    GEOM_Object MultiRotate1D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in long theNbTimes);
-
-    /*!
-     *  Rotate the given object around the
-     *  given axis on the given angle a given number
-     *  times and multi-translate each rotation result.
-     *  Translation direction passes through center of gravity
-     *  of rotated shape and its projection on the rotation axis.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in graduces.
-     *  \param theNbTimes1 Quantity of rotations to be done.
-     *  \param theStep Translation distance.
-     *  \param theNbTimes2 Quantity of translations to be done.
-     *  \return New GEOM_Object, containing compound of all the
-     *          shapes, obtained after each transformation.
-     */
-    GEOM_Object MultiRotate2D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in double theAngle,
-                              in long theNbTimes1,
-                              in double theStep,
-                              in long theNbTimes2);
-
-    /*!
-     *  Replace the given object by an object,
-     *  symmetrical to it relatively the given plane.
-     *  \param theObject The object to be mirrored.
-     *  \param thePlane Plane of symmetry.
-     */
-    GEOM_Object MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane);
-
-    /*!
-     *  Create an object, symmetrical
-     *  to the given one relatively the given plane.
-     *  \param theObject The object to be mirrored.
-     *  \param thePlane Plane of symmetry.
-     *  \return New GEOM_Object, containing the mirrored shape.
-     */
-    GEOM_Object MirrorPlaneCopy (in GEOM_Object theObject, in GEOM_Object thePlane);
-
-    /*!
-     *  Replace the given object by an object,
-     *  symmetrical to it relatively the given axis.
-     *  \param theObject The object to be mirrored.
-     *  \param theAxis Axis of symmetry.
-     *  \return theObject.
-     */
-    GEOM_Object MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis);
-
-    /*!
-     *  Create an object, symmetrical
-     *  to the given one relatively the given axis.
-     *  \param theObject The object to be mirrored.
-     *  \param theAxis Axis of symmetry.
-     *  \return New GEOM_Object, containing the mirrored object.
-     */
-    GEOM_Object MirrorAxisCopy (in GEOM_Object theObject, in GEOM_Object theAxis);
-
-    /*!
-     *  Replace the given object by an object, symmetrical to it relatively the given point.
-     *  \param theObject The object to be mirrored.
-     *  \param thePoint Point of symmetry.
-     *  \return theObject.
-     */
-    GEOM_Object MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint);
-
-    /*!
-     *  Create an object, symmetrical to the given one relatively the given point.
-     *  \param theObject The object to be mirrored.
-     *  \param thePoint Point of symmetry.
-     *  \return New GEOM_Object, containing the mirrored object.
-     */
-    GEOM_Object MirrorPointCopy (in GEOM_Object theObject, in GEOM_Object thePoint);
-
-    /*!
-     *  Replace the given object by its offset.
-     *  \param theObject The base object for the offset.
-     *  \param theOffset Offset value.
-     *  \return theObject.
-     */
-    GEOM_Object OffsetShape (in GEOM_Object theObject, in double theOffset);
-
-    /*!
-     *  Create new object as offset of the given one.
-     *  \param theObject The base object for the offset.
-     *  \param theOffset Offset value.
-     *  \return New GEOM_Object, containing the offset object.
-     */
-    GEOM_Object OffsetShapeCopy (in GEOM_Object theObject, in double theOffset);
-
-    /*!
-     *  Scale the given object by the factor.
-     *  \param theObject The object to be scaled.
-     *  \param thePoint Center point for scaling.
-     *  \param theFactor Scaling factor value.
-     *  \return theObject.
-     */
-    GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
-                           in double theFactor);
-
-    /*!
-     *  Scale the given object by the factor, creating its copy before the scaling.
-     *  \param theObject The object to be scaled.
-     *  \param thePoint Center point for scaling.
-     *  \param theFactor Scaling factor value.
-     *  \return New GEOM_Object, containing the scaled shape.
-     */
-    GEOM_Object ScaleShapeCopy (in GEOM_Object theObject, in GEOM_Object thePoint,
-                               in double theFactor);
-
-    /*!
-     *  Modify the Location of the given object by LCS
-     */
-    GEOM_Object PositionShape (in GEOM_Object theObject,
-                              in GEOM_Object theStartLCS,
-                              in GEOM_Object theEndLCS);
-
-    /*!
-     *  Modify the Location of the given object by LCS
-     *  creating its copy before the setting
-     */
-    GEOM_Object PositionShapeCopy (in GEOM_Object theObject,
-                                  in GEOM_Object theStartLCS,
-                                  in GEOM_Object theEndLCS);
-  };
-
-  /*!
-   *  GEOM_I3DPrimOperations: Interface for 3D primitives creation
-   *  Box, Cylinder, Cone, Sphere, Prism (extrusion),
-   *  Pipe (extrusion along contour), Revolution, Solid (from shell).
-   */
-  interface GEOM_I3DPrimOperations : GEOM_IOperations
-  {
-    /*!
-     *  Create a box with specified dimensions along the coordinate axes
-     *  and with edges, parallel to the coordinate axes.
-     *  Center of the box will be at point (DX/2, DY/2, DZ/2).
-     *  \param theDX Length of Box edges, parallel to OX axis.
-     *  \param theDY Length of Box edges, parallel to OY axis.
-     *  \param theDZ Length of Box edges, parallel to OZ axis.
-     *  \return New GEOM_Object, containing the created box.
-     */
-    GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ);
-
-    /*!
-     *  Create a box with two specified opposite vertices,
-     *  and with edges, parallel to the coordinate axes
-     *  \param thePnt1 First of two opposite vertices.
-     *  \param thePnt2 Second of two opposite vertices.
-     *  \return New GEOM_Object, containing the created box.
-     */
-    GEOM_Object MakeBoxTwoPnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
-
-    /*!
-     *  Create a cylinder with given radius and height at
-     *  the origin of coordinate system. Axis of the cylinder
-     *  will be collinear to the OZ axis of the coordinate system.
-     *  \param theR Cylinder radius.
-     *  \param theH Cylinder height.
-     *  \return New GEOM_Object, containing the created cylinder.
-     */
-    GEOM_Object MakeCylinderRH (in double theR, in double theH);
-
-    /*!
-     *  Create a cylinder with given base point, axis, radius and height.
-     *  \param thePnt Central point of cylinder base.
-     *  \param theAxis Cylinder axis.
-     *  \param theR Cylinder radius.
-     *  \param theH Cylinder height.
-     *  \return New GEOM_Object, containing the created cylinder.
-     */
-    GEOM_Object MakeCylinderPntVecRH (in GEOM_Object thePnt,
-                                     in GEOM_Object theAxis,
-                                     in double      theR,
-                                     in double      theH);
-
-    /*!
-     *  Create a cone with given height and radiuses at
-     *  the origin of coordinate system. Axis of the cone will
-     *  be collinear to the OZ axis of the coordinate system.
-     *  \param theR1 Radius of the first cone base.
-     *  \param theR2 Radius of the second cone base.
-     *    \note If both radiuses are non-zero, the cone will be truncated.
-     *    \note If the radiuses are equal, a cylinder will be created instead.
-     *  \param theH Cone height.
-     *  \return New GEOM_Object, containing the created cone.
-     */
-    GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH);
-
-    /*!
-     *  Create a cone with given base point, axis, height and radiuses.
-     *  \param thePnt Central point of the first cone base.
-     *  \param theAxis Cone axis.
-     *  \param theR1 Radius of the first cone base.
-     *  \param theR2 Radius of the second cone base.
-     *    \note If both radiuses are non-zero, the cone will be truncated.
-     *    \note If the radiuses are equal, a cylinder will be created instead.
-     *  \param theH Cone height.
-     *  \return New GEOM_Object, containing the created cone.
-     */
-    GEOM_Object MakeConePntVecR1R2H (in GEOM_Object thePnt,
-                                    in GEOM_Object theAxis,
-                                    in double      theR1,
-                                    in double      theR2,
-                                    in double      theH);
-
-    /*!
-     *  Create a torus with given radiuses at the origin of coordinate system.
-     *  \param theRMajor Torus major radius.
-     *  \param theRMinor Torus minor radius.
-     *  \return New GEOM_Object, containing the created torus.
-     */
-    GEOM_Object MakeTorusRR (in double theRMajor,
-                            in double theRMinor);
-
-    /*!
-     *  Create a torus with given center, normal vector and radiuses.
-     *  \param thePnt Torus central point.
-     *  \param theVec Torus axis of symmetry.
-     *  \param theRMajor Torus major radius.
-     *  \param theRMinor Torus minor radius.
-     *  \return New GEOM_Object, containing the created torus.
-     */
-    GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt,
-                                  in GEOM_Object theVec,
-                                  in double theRMajor,
-                                  in double theRMinor);
-
-    /*!
-     *  Create a sphere with given radius at the origin of coordinate system.
-     *  \param theR Sphere radius.
-     *  \return New GEOM_Object, containing the created sphere.
-     */
-    GEOM_Object MakeSphereR (in double theR);
-
-    /*!
-     *  Create a sphere with given center and radius.
-     *  \param thePnt Sphere center.
-     *  \param theR Sphere radius.
-     *  \return New GEOM_Object, containing the created .
-     */
-    GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR);
-
-    /*!
-     *  Create a shape by extrusion of the base shape along the vector,
-     *  i.e. all the space, transfixed by the base shape during its translation
-     *  along the vector on the given distance.
-     *  \param theBase Base shape to be extruded.
-     *  \param theVec Direction of extrusion.
-     *  \param theH Prism dimension along theVec.
-     *  \return New GEOM_Object, containing the created prism.
-     */
-    GEOM_Object MakePrismVecH (in GEOM_Object theBase,
-                              in GEOM_Object theVec,
-                              in double      theH);
-
-    /*!
-     *  Create a shape by extrusion of the base shape along a vector, defined by two points.
-     *  \param theBase Base shape to be extruded.
-     *  \param thePoint1 First end of extrusion vector.
-     *  \param thePoint2 Second end of extrusion vector.
-     *  \return New GEOM_Object, containing the created prism.
-     */
-    GEOM_Object MakePrismTwoPnt (in GEOM_Object theBase,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2);
-
-    /*!
-     *  Create a shape by extrusion of the base shape along
-     *  the path shape. The path shape can be a wire or an edge.
-     *  \param theBase Base shape to be extruded.
-     *  \param thePath Path shape to extrude the base shape along it.
-     *  \return New GEOM_Object, containing the created pipe.
-     */
-    GEOM_Object MakePipe (in GEOM_Object theBase, in GEOM_Object thePath);
-
-    /*!
-     *  Create a shape by revolution of the base shape around the axis
-     *  on the given angle, i.e. all the space, transfixed by the base
-     *  shape during its rotation around the axis on the given angle.
-     *  \param theBase Base shape to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in radians.
-     *  \return New GEOM_Object, containing the created revolution.
-     */
-    GEOM_Object MakeRevolutionAxisAngle (in GEOM_Object theBase,
-                                        in GEOM_Object theAxis,
-                                        in double theAngle);
-
-    /*!
-     *  Create a filling from the given compound of contours.
-     *  \param theMinDeg a minimal degree
-     *  \param theMaxDeg a maximal degree
-     *  \param theTol2D a 2d tolerance
-     *  \param theTol3D a 3d tolerance
-     *  \param theNbIter a number of iteration
-     *  \return New GEOM_Object, containing the created filling surface.
-     */
-    GEOM_Object MakeFilling (in GEOM_Object theShape,
-                            in long theMinDeg, in long theMaxDeg,
-                            in double theTol2D, in double theTol3D,
-                            in long theNbIter);
-  };
-
-  /*!
-   *  GEOM_IShapesOperations: Interface for Shapes creation:
-   *  Edge from two points, Wire from edges, Face from wire,
-   *  Shell from faces, Solid from shells, Compound from shapes
-   */
-  interface GEOM_IShapesOperations : GEOM_IOperations
-  {
-    /*!
-     *  Create a linear edge with specified ends.
-     *  \param thePnt1 Point for the first end of edge.
-     *  \param thePnt2 Point for the second end of edge.
-     *  \return New GEOM_Object, containing the created edge.
-     */
-    GEOM_Object MakeEdge (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
-
-    /*!
-     *  Create a wire from the set of edges and wires.
-     *  \param theEdgesAndWires List of edge and/or wires.
-     *  \return New GEOM_Object, containing the created wire.
-     */
-    GEOM_Object MakeWire (in ListOfGO theEdgesAndWires);
-
-    /*!
-     *  Create a face on the given wire.
-     *  \param theWire Wire to build the face on.
-     *  \param isPlanarWanted If TRUE, only planar face will be built.
-     *                        If impossible, NULL object will be returned.
-     *  \return New GEOM_Object, containing the created face.
-     */
-    GEOM_Object MakeFace (in GEOM_Object theWire, in boolean isPlanarWanted);
-
-    /*!
-     *  Create a face on the given wires set.
-     *  \param theWires List of wires to build the face on.
-     *  \param isPlanarWanted If TRUE, only planar face will be built.
-     *                        If impossible, NULL object will be returned.
-     *  \return New GEOM_Object, containing the created face.
-     */
-    GEOM_Object MakeFaceWires (in ListOfGO theWires, in boolean isPlanarWanted);
-
-    /*!
-     *  Create a shell from the set of faces and shells.
-     *  \param theFacesAndShells List of faces and/or shells.
-     *  \return New GEOM_Object, containing the created shell.
-     */
-    GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
-
-    /*!
-     *  Create a solid, bounded by the given shell.
-     *  \param theShell Bounding shell.
-     *  \return New GEOM_Object, containing the created solid.
-     */
-    GEOM_Object MakeSolidShell (in GEOM_Object theShell);
-
-    /*!
-     *  Create a solid, bounded by the given shells.
-     *  \param theShells Bounding shells.
-     *  \return New GEOM_Object, containing the created solid.
-     */
-    GEOM_Object MakeSolidShells (in ListOfGO theShells);
-
-    /*!
-     *  Create a compound of the given shapes.
-     *  \param theShapes List of shapes to put in compound.
-     *  \return New GEOM_Object, containing the created compound.
-     */
-    GEOM_Object MakeCompound (in ListOfGO theShapes);
-
-    /*!
-     *  Replace coincident faces in theShape by one face.
-     *  \param theShape Initial shape.
-     *  \param theTolerance Maximum distance between faces, which can be considered as coincident.
-     *  \return New GEOM_Object, containing a copy of theShape without coincident faces.
-     */
-    GEOM_Object MakeGlueFaces (in GEOM_Object theShape, in double theTolerance);
-
-    /*!
-     *  Explode a shape on subshapes of a given type.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param isSorted If this parameter is TRUE, sub-shapes will be
-     *                  sorted by coordinates of their gravity centers.
-     *  \return List of sub-shapes of type theShapeType, contained in theShape.
-     */
-    ListOfGO MakeExplode (in GEOM_Object theShape,
-                         in long        theShapeType,
-                         in boolean     isSorted);
-
-    /*!
-     *  Explode a shape on subshapes of a given type.
-     *  Does the same, as the above method, but returns IDs of sub-shapes,
-     *  not GEOM_Objects. It works faster.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param isSorted If this parameter is TRUE, sub-shapes will be
-     *                  sorted by coordinates of their gravity centers.
-     *  \return List of IDs of sub-shapes of type theShapeType, contained in theShape.
-     */
-    ListOfLong SubShapeAllIDs (in GEOM_Object theShape,
-                              in long        theShapeType,
-                              in boolean     isSorted);
-
-    /*!
-     *  Get a sub shape defined by its unique ID inside \a theMainShape
-     *  \note The sub shape GEOM_Objects can has ONLY ONE function.
-     *        Don't try to apply modification operations on them.
-     */
-    GEOM_Object GetSubShape (in GEOM_Object theMainShape,
-                            in long        theID);
-
-    /*!
-     *  Count number of faces in the given shape.
-     *  \param theShape Shape to count faces in.
-     *  \return Number of faces in the given shape.
-     */
-    long NumberOfFaces (in GEOM_Object theShape);
-
-    /*!
-     *  Count number of edges in the given shape.
-     *  \param theShape Shape to count edges in.
-     *  \return Number of edges in theShape.
-     */
-    long NumberOfEdges (in GEOM_Object theShape);
-
-    /*!
-     *  Reverses an orientation the given shape.
-     *  \param theShape Shape to be reversed.
-     *  \return The reversed copy of theShape.
-     */
-    GEOM_Object ChangeOrientation (in GEOM_Object theShape);
-
-    /*!
-     *  Retrieve all free faces from the given shape.
-     *  Free face is a face, which is not shared between two shells of the shape.
-     *  \param theShape Shape to find free faces in.
-     *  \return List of IDs of all free faces, contained in theShape.
-     */
-    ListOfLong GetFreeFacesIDs (in GEOM_Object theShape);
-
-    /*!
-     *  Get all sub-shapes of theShape1 of the given type, shared with theShape2.
-     *  \param theShape1 Shape to find sub-shapes in.
-     *  \param theShape2 Shape to find shared sub-shapes with.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of sub-shapes of theShape1, shared with theShape2.
-     */
-    ListOfGO GetSharedShapes (in GEOM_Object theShape1,
-                             in GEOM_Object theShape2,
-                             in long        theShapeType);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified plane by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAx1 Vector (or line, or linear edge), specifying normal
-     *                direction and location of the plane to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of all found sub-shapes.
-     */
-    ListOfGO GetShapesOnPlane (in GEOM_Object theShape,
-                              in long        theShapeType,
-                              in GEOM_Object theAx1,
-                              in shape_state theState);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified cylinder by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAxis Vector (or line, or linear edge), specifying
-     *                 axis of the cylinder to find shapes on.
-     *  \param theRadius Radius of the cylinder to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of all found sub-shapes.
-     */
-    ListOfGO GetShapesOnCylinder (in GEOM_Object theShape,
-                                 in long        theShapeType,
-                                 in GEOM_Object theAxis,
-                                 in double      theRadius,
-                                 in shape_state theState);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified sphere by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theCenter Point, specifying center of the sphere to find shapes on.
-     *  \param theRadius Radius of the sphere to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of all found sub-shapes.
-     */
-    ListOfGO GetShapesOnSphere (in GEOM_Object theShape,
-                               in long        theShapeType,
-                               in GEOM_Object theCenter,
-                               in double      theRadius,
-                               in shape_state theState);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified plane by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAx1 Vector (or line, or linear edge), specifying normal
-     *                direction and location of the plane to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of IDs of all found sub-shapes.
-     */
-    ListOfLong GetShapesOnPlaneIDs (in GEOM_Object theShape,
-                                   in long        theShapeType,
-                                   in GEOM_Object theAx1,
-                                   in shape_state theState);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified cylinder by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAxis Vector (or line, or linear edge), specifying
-     *                 axis of the cylinder to find shapes on.
-     *  \param theRadius Radius of the cylinder to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of IDs of all found sub-shapes.
-     */
-    ListOfLong GetShapesOnCylinderIDs (in GEOM_Object theShape,
-                                      in long        theShapeType,
-                                      in GEOM_Object theAxis,
-                                      in double      theRadius,
-                                      in shape_state theState);
-
-    /*!
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified sphere by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theCenter Point, specifying center of the sphere to find shapes on.
-     *  \param theRadius Radius of the sphere to find shapes on.
-     *  \param theState The state of the subshapes to find.
-     *  \return List of IDs of all found sub-shapes.
-     */
-    ListOfLong GetShapesOnSphereIDs (in GEOM_Object theShape,
-                                    in long        theShapeType,
-                                    in GEOM_Object theCenter,
-                                    in double      theRadius,
-                                    in shape_state theState);
-
-    /*!
-     *  Get sub-shape(s) of theShapeWhere, which are
-     *  coincident with \a theShapeWhat or could be a part of it.
-     *  \param theShapeWhere Shape to find sub-shapes of.
-     *  \param theShapeWhat Shape, specifying what to find.
-     *  \return Group of all found sub-shapes or a single found sub-shape.
-     */
-    GEOM_Object GetInPlace (in GEOM_Object theShapeWhere,
-                           in GEOM_Object theShapeWhat);
-  };
-
-  /*!
-   *  GEOM_IBlocksOperations: Interface for Blocks construction
-   *  Face from points or edges, Block from faces,
-   *  Blocks multi-translation and multi-rotation
-   */
-  interface GEOM_IBlocksOperations : GEOM_IOperations
-  {
-    /*!
-     *  Creation of blocks
-     */
-
-    /*!
-     *  Create a quadrangle face from four edges. Order of Edges is not
-     *  important. It is  not necessary that edges share the same vertex.
-     *  \param theEdge1,theEdge2,theEdge3,theEdge4 Edges for the face bound.
-     *  \return New GEOM_Object, containing the created face.
-     */
-    GEOM_Object MakeQuad (in GEOM_Object theEdge1,
-                         in GEOM_Object theEdge2,
-                         in GEOM_Object theEdge3,
-                         in GEOM_Object theEdge4);
-
-    /*!
-     *  Create a quadrangle face on two edges.
-     *  The missing edges will be built by creating the shortest ones.
-     *  \param theEdge1,theEdge2 Two opposite edges for the face.
-     *  \return New GEOM_Object, containing the created face.
-     */
-    GEOM_Object MakeQuad2Edges (in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2);
-
-    /*!
-     *  Create a quadrangle face with specified corners.
-     *  The missing edges will be built by creating the shortest ones.
-     *  \param thePnt1,thePnt2,thePnt3,thePnt4 Corner vertices for the face.
-     *  \return New GEOM_Object, containing the created face.
-     */
-    GEOM_Object MakeQuad4Vertices (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in GEOM_Object thePnt4);
-
-    /*!
-     *  Create a hexahedral solid, bounded by the six given faces. Order of
-     *  faces is not important. It is  not necessary that Faces share the same edge.
-     *  \param theFace1-theFace6 Faces for the hexahedral solid.
-     *  \return New GEOM_Object, containing the created solid.
-     */
-    GEOM_Object MakeHexa (in GEOM_Object theFace1,
-                         in GEOM_Object theFace2,
-                         in GEOM_Object theFace3,
-                         in GEOM_Object theFace4,
-                         in GEOM_Object theFace5,
-                         in GEOM_Object theFace6);
-
-    /*!
-     *  Create a hexahedral solid between two given faces.
-     *  The missing faces will be built by creating the smallest ones.
-     *  \param theFace1,theFace2 Two opposite faces for the hexahedral solid.
-     *  \return New GEOM_Object, containing the created solid.
-     */
-    GEOM_Object MakeHexa2Faces (in GEOM_Object theFace1,
-                               in GEOM_Object theFace2);
-
-    /*!
-     *  Extract elements of blocks and blocks compounds
-     */
-
-    /*!
-     *  Get a vertex, found in the given shape by its coordinates.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theX,theY,theZ Coordinates of the sought vertex.
-     *  \param theEpsilon Maximum allowed distance between the resulting
-     *                    vertex and point with the given coordinates.
-     *  \return New GEOM_Object, containing the found vertex.
-     */
-    GEOM_Object GetPoint (in GEOM_Object theShape,
-                         in double      theX,
-                         in double      theY,
-                         in double      theZ,
-                         in double      theEpsilon);
-
-    /*!
-     *  Get an edge, found in the given shape by two given vertices.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint1,thePoint2 Points, close to the ends of the desired edge.
-     *  \return New GEOM_Object, containing the found edge.
-     */
-    GEOM_Object GetEdge (in GEOM_Object theShape,
-                        in GEOM_Object thePoint1,
-                        in GEOM_Object thePoint2);
-
-    /*!
-     *  Find an edge of the given shape, which has minimal distance to the given point.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint Point, close to the desired edge.
-     *  \return New GEOM_Object, containing the found edge.
-     */
-    GEOM_Object GetEdgeNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint);
-
-    /*!
-     *  Returns a face, found in the given shape by four given corner vertices.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint1-thePoint4 Points, close to the corners of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-     */
-    GEOM_Object GetFaceByPoints (in GEOM_Object theShape,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2,
-                                in GEOM_Object thePoint3,
-                                in GEOM_Object thePoint4);
-
-    /*!
-     *  Get a face of block, found in the given shape by two given edges.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theEdge1,theEdge2 Edges, close to the edges of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-     */
-    GEOM_Object GetFaceByEdges (in GEOM_Object theShape,
-                               in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2);
-
-    /*!
-     *  Find a face, opposite to the given one in the given block.
-     *  \param theBlock Must be a hexahedral solid.
-     *  \param theFace Face of \a theBlock, opposite to the desired face.
-     *  \return New GEOM_Object, containing the found face.
-     */
-    GEOM_Object GetOppositeFace (in GEOM_Object theBlock,
-                                in GEOM_Object theFace);
-
-    /*!
-     *  Find a face of the given shape, which has minimal distance to the given point.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint Point, close to the desired face.
-     *  \return New GEOM_Object, containing the found face.
-     */
-    GEOM_Object GetFaceNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint);
-
-    /*!
-     *  Find a face of block, whose outside normale has minimal angle with the given vector.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theVector Vector, close to the normale of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-     */
-    GEOM_Object GetFaceByNormale (in GEOM_Object theBlock,
-                                 in GEOM_Object theVector);
-
-    /*!
-     *  Extract blocks from blocks compounds
-     */
-
-    /*!
-     *  Check, if the compound contains only specified blocks.
-     *  \param theCompound The compound to check.
-     *  \param theMinNbFaces If solid has lower number of faces, it is not a block.
-     *  \param theMaxNbFaces If solid has higher number of faces, it is not a block.
-     *    \note If theMaxNbFaces = 0, the maximum number of faces is not restricted.
-     *  \return TRUE, if the given compound contains only blocks.
-     *  \return theNbBlocks Number of specified blocks in theCompound.
-     */
-    boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
-                               in long        theMinNbFaces,
-                               in long        theMaxNbFaces,
-                               out long       theNbBlocks);
-
-    /*!
-     *  Enumeration of Blocks Compound defects.
-     */
-    enum BCErrorType
-    {
-      /* Each element of the compound should be a Block */
-      NOT_BLOCK,
-
-      /* An element is a potential block, but has degenerated and/or seam edge(s). */
-      EXTRA_EDGE,
-
-      /* A connection between two Blocks should be an entire face or an entire edge */
-      INVALID_CONNECTION,
-
-      /* The compound should be connexe */
-      NOT_CONNECTED,
-
-      /* The glue between two quadrangle faces should be applied */
-      NOT_GLUED
-    };
-
-    /*!
-     *  Description of Blocks Compound defect: type and incriminated sub-shapes.
-     */
-    struct BCError
-    {
-      BCErrorType error;
-      ListOfLong  incriminated;
-    };
-
-    /*!
-     *  Sequence of all Blocks Compound defects.
-     */
-    typedef sequence<BCError> BCErrors;
-
-    /*!
-     *  Check, if the compound of blocks is given.
-     *  To be considered as a compound of blocks, the
-     *  given shape must satisfy the following conditions:
-     *  - Each element of the compound should be a Block (6 faces and 12 edges).
-     *  - A connection between two Blocks should be an entire quadrangle face or an entire edge.
-     *  - The compound should be connexe.
-     *  - The glue between two quadrangle faces should be applied.
-     *    \note Single block is also accepted as a valid compound of blocks.
-     *  \param theCompound The compound to check.
-     *  \return TRUE, if the given shape is a compound of blocks.
-     *  \return theErrors Structure, containing discovered errors and incriminated sub-shapes.
-     */
-    boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
-                                  out BCErrors   theErrors);
-
-    /*!
-     *  Convert sequence of Blocks Compound errors, returned by
-     *  <VAR>CheckCompoundOfBlocks()</VAR>, into string.
-     *  \param theCompound The bad compound.
-     *  \param theErrors The sequence of \a theCompound errors.
-     *  \return String, describing all the errors in form, suitable for printing.
-     */
-    string PrintBCErrors (in GEOM_Object theCompound,
-                         in BCErrors    theErrors);
-
-    /*!
-     *  Remove all seam and degenerated edges from \a theShape.
-     *  Unite faces and edges, sharing one surface.
-     *  \param theShape The compound or single solid to remove irregular edges from.
-     *  \return Improved shape.
-     */
-    GEOM_Object RemoveExtraEdges (in GEOM_Object theShape);
-
-    /*!
-     *  Check, if the given shape is a blocks compound.
-     *  Fix all detected errors.
-     *    \note Single block can be also fixed by this method.
-     *  \param theCompound The compound to check and improve.
-     *  \return Improved compound.
-     */
-    GEOM_Object CheckAndImprove (in GEOM_Object theCompound);
-
-    /*!
-     *  Get all the blocks, contained in the given compound.
-     *  \param theCompound The compound to explode.
-     *  \param theMinNbFaces If solid has lower number of faces, it is not a block.
-     *  \param theMaxNbFaces If solid has higher number of faces, it is not a block.
-     *    \note If theMaxNbFaces = 0, the maximum number of faces is not restricted.
-     *  \return List of GEOM_Objects, containing the retrieved blocks.
-     */
-    ListOfGO ExplodeCompoundOfBlocks (in GEOM_Object theCompound,
-                                     in long        theMinNbFaces,
-                                     in long        theMaxNbFaces);
-
-    /*!
-     *  Find block, containing the given point inside its volume or on boundary.
-     *  \param theCompound Compound, to find block in.
-     *  \param thePoint Point, close to the desired block. If the point lays on
-     *         boundary between some blocks, we return block with nearest center.
-     *  \return New GEOM_Object, containing the found block.
-     */
-    GEOM_Object GetBlockNearPoint (in GEOM_Object theCompound,
-                                  in GEOM_Object thePoint);
-
-    /*!
-     *  Find block, containing all the elements, passed as the parts, or maximum quantity of them.
-     *  \param theCompound Compound, to find block in.
-     *  \param theParts List of faces and/or edges and/or vertices to be parts of the found block.
-     *  \return New GEOM_Object, containing the found block.
-     */
-    GEOM_Object GetBlockByParts (in GEOM_Object theCompound,
-                                in ListOfGO    theParts);
-
-    /*!
-     *  Return all blocks, containing all the elements, passed as the parts.
-     *  \param theCompound Compound, to find blocks in.
-     *  \param theParts List of faces and/or edges and/or vertices to be parts of the found blocks.
-     *  \return List of GEOM_Objects, containing the found blocks.
-     */
-    ListOfGO GetBlocksByParts (in GEOM_Object theCompound,
-                              in ListOfGO    theParts);
-
-    /*!
-     *  Operations on blocks with gluing of result
-     */
-
-    /*!
-     *  Multi-transformate block and glue the result.
-     *  Transformation is defined so, as to superpose theDirFace1 with theDirFace2.
-     *  \param theBlock Hexahedral solid to be multi-transformed.
-     *  \param theDirFace1 First direction face global index.
-     *  \param theDirFace2 Second direction face global index.
-     *  \param theNbTimes Quantity of transformations to be done.
-     *    \note Global index of sub-shape can be obtained, using method
-     *          <VAR>GEOM_ILocalOperations.GetSubShapeIndex()</VAR>.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeMultiTransformation1D (in GEOM_Object theBlock,
-                                          in long        theDirFace1,
-                                          in long        theDirFace2,
-                                          in long        theNbTimes);
-
-    /*!
-     *  Multi-transformate block and glue the result.
-     *  \param theBlock Hexahedral solid to be multi-transformed.
-     *  \param theDirFace1U,theDirFace2U Direction faces for the first transformation.
-     *  \param theDirFace1V,theDirFace2V Direction faces for the second transformation.
-     *  \param theNbTimesU,theNbTimesV Quantity of transformations to be done.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeMultiTransformation2D (in GEOM_Object theBlock,
-                                          in long        theDirFace1U,
-                                          in long        theDirFace2U,
-                                          in long        theNbTimesU,
-                                          in long        theDirFace1V,
-                                          in long        theDirFace2V,
-                                          in long        theNbTimesV);
-
-    /*!
-     *  Special operation - propagation
-     */
-
-    /*!
-     *  Build all possible propagation groups.
-     *  Propagation group is a set of all edges, opposite to one (main)
-     *  edge of this group directly or through other opposite edges.
-     *  Notion of Opposite Edge make sence only on quadrangle face.
-     *  \param theShape Shape to build propagation groups on.
-     *  \return List of GEOM_Objects, each of them is a propagation group.
-     */
-    ListOfGO Propagate (in GEOM_Object theShape);
-  };
-
-  /*!
-   *  GEOM_IBooleanOperations: Interface for boolean operations (Cut, Fuse, Common)
-   */
-  interface GEOM_IBooleanOperations : GEOM_IOperations
-  {
-    /*!
-     *  Perform one of boolean operations on two given shapes.
-     *  \param theShape1 First argument for boolean operation.
-     *  \param theShape2 Second argument for boolean operation.
-     *  \param theOperation Indicates the operation to be done:
-     *                      1 - Common, 2 - Cut, 3 - Fuse, 4 - Section.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeBoolean (in GEOM_Object theShape1,
-                            in GEOM_Object theShape2,
-                            in long theOperation);
-
-    /*!
-     *  Perform partition operation.
-     *  \param theShapes Shapes to be intersected.
-     *  \param theTools Shapes to intersect theShapes.
-     *  \param theKeepInside Shapes, outside which the results will be deleted.
-     *         Each shape from theKeepInside must belong to theShapes also.
-     *  \param theRemoveInside Shapes, inside which the results will be deleted.
-     *         Each shape from theRemoveInside must belong to theShapes also.
-     *  \param theLimit Type of resulting shapes (corresponding to TopAbs_ShapeEnum).
-     *  \param theRemoveWebs If TRUE, perform Glue 3D algorithm.
-     *  \param theMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE.
-     *  \return New GEOM_Object, containing the result shapes.
-     */
-    GEOM_Object MakePartition (in ListOfGO   theShapes,
-                              in ListOfGO   theTools,
-                              in ListOfGO   theKeepInside,
-                              in ListOfGO   theRemoveInside,
-                              in short      theLimit,
-                              in boolean    theRemoveWebs,
-                              in ListOfLong theMaterials);
-
-    /*!
-     *  Perform partition of the Shape with the Plane
-     *  \param theShape Shape to be intersected.
-     *  \param thePlane Tool shape, to intersect theShape.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeHalfPartition (in GEOM_Object theShape,
-                                  in GEOM_Object thePlane);
-  };
-
-  /*!
-   *  GEOM_ICurvesOperations: Interface for curves creation.
-   *  Polyline, Circle, Spline (Bezier and Interpolation)
-   */
-  interface GEOM_ICurvesOperations : GEOM_IOperations
-  {
-    /*!
-     *  Create a circle with given center, normal vector and radius.
-     *  \param thePnt Circle center.
-     *  \param theVec Vector, normal to the plane of the circle.
-     *  \param theR Circle radius.
-     *  \return New GEOM_Object, containing the created circle.
-     */
-    GEOM_Object MakeCirclePntVecR (in GEOM_Object thePnt,
-                                  in GEOM_Object theVec,
-                                  in double theR);
-    /*!
-     *  Create a circle, passing through three given points
-     *  \param thePnt1,thePnt2,thePnt3 Points, defining the circle.
-     *  \return New GEOM_Object, containing the created circle.
-     */
-    GEOM_Object MakeCircleThreePnt (in GEOM_Object thePnt1,
-                                   in GEOM_Object thePnt2,
-                                   in GEOM_Object thePnt3);
-
-    /*!
-     *  Create an ellipse with given center, normal vector and radiuses.
-     *  \param thePnt Ellipse center.
-     *  \param theVec Vector, normal to the plane of the ellipse.
-     *  \param theRMajor Major ellipse radius.
-     *  \param theRMinor Minor ellipse radius.
-     *  \return New GEOM_Object, containing the created ellipse.
-     */
-    GEOM_Object MakeEllipse (in GEOM_Object thePnt,
-                            in GEOM_Object theVec,
-                            in double theRMajor,
-                            in double theRMinor);
-
-    /*!
-     *  Create an arc of circle, passing through three given points.
-     *  \param thePnt1 Start point of the arc.
-     *  \param thePnt2 Middle point of the arc.
-     *  \param thePnt3 End point of the arc.
-     *  \return New GEOM_Object, containing the created arc.
-     */
-    GEOM_Object MakeArc (in GEOM_Object thePnt1,
-                        in GEOM_Object thePnt2,
-                        in GEOM_Object thePnt3);
-
-    /*!
-     *  Create a polyline on the set of points.
-     *  \param thePoints Sequence of points for the polyline.
-     *  \return New GEOM_Object, containing the created polyline.
-     */
-    GEOM_Object MakePolyline (in ListOfGO thePoints);
-
-    /*!
-     *  Create bezier curve on the set of points.
-     *  \param thePoints Sequence of points for the bezier curve.
-     *  \return New GEOM_Object, containing the created bezier curve.
-     */
-    GEOM_Object MakeSplineBezier (in ListOfGO thePoints);
-
-    /*!
-     *  Create B-Spline curve on the set of points.
-     *  \param thePoints Sequence of points for the B-Spline curve.
-     *  \return New GEOM_Object, containing the created B-Spline curve.
-     */
-    GEOM_Object MakeSplineInterpolation (in ListOfGO thePoints);
-
-    /*!
-     *  Create a sketcher (wire or face), following the textual description,
-     *  passed through \a theCommand argument. \n
-     *  Edges of the resulting wire or face will be arcs of circles and/or linear segments. \n
-     *  Format of the description string have to be the following:
-     *
-     *  "Sketcher[:F x1 y1]:CMD[:CMD[:CMD...]]"
-     *
-     *  Where:
-     *  - x1, y1 are coordinates of the first sketcher point (zero by default),
-     *  - CMD is one of
-     *     - "R angle" : Set the direction by angle
-     *     - "D dx dy" : Set the direction by DX & DY
-     *     .
-     *       \n
-     *     - "TT x y" : Create segment by point at X & Y
-     *     - "T dx dy" : Create segment by point with DX & DY
-     *     - "L length" : Create segment by direction & Length
-     *     - "IX x" : Create segment by direction & Intersect. X
-     *     - "IY y" : Create segment by direction & Intersect. Y
-     *     .
-     *       \n
-     *     - "C radius length" : Create arc by direction, radius and length(in degree)
-     *     .
-     *       \n
-     *     - "WW" : Close Wire (to finish)
-     *     - "WF" : Close Wire and build face (to finish)
-     *
-     *  \param theCommand String, defining the sketcher in local
-     *                    coordinates of the working plane.
-     *  \param theWorkingPlane Nine double values, defining origin,
-     *                         OZ and OX directions of the working plane.
-     *  \return New GEOM_Object, containing the created wire.
-     */
-    GEOM_Object MakeSketcher (in string theCommand, in ListOfDouble theWorkingPlane);
-
-      /*!
-     *  Create a sketcher (wire or face), following the textual description,
-     *  passed through \a theCommand argument. \n
-     *  For format of the description string see the previous method.\n
-     *  \param theCommand String, defining the sketcher in local
-     *                    coordinates of the working plane.
-     *  \param theWorkingPlane Planar Face of the working plane.
-     *  \return New GEOM_Object, containing the created wire.
-     */
-    GEOM_Object MakeSketcherOnPlane (in string theCommand, in GEOM_Object theWorkingPlane);
-  };
-
-  /*!
-   *  GEOM_ILocalOperations: Interface for fillet and chamfer creation.
-   */
-  interface GEOM_ILocalOperations : GEOM_IOperations
-  {
-    /*!
-     *  Perform a fillet on all edges of the given shape.
-     *  \param theShape Shape, to perform fillet on.
-     *  \param theR Fillet radius.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeFilletAll (in GEOM_Object theShape,
-                              in double      theR);
-
-    /*!
-     *  Perform a fillet on the specified edges of the given shape
-     *  \param theShape Shape, to perform fillet on.
-     *  \param theR Fillet radius.
-     *  \param theEdges Global indices of edges to perform fillet on.
-     *    \note Global index of sub-shape can be obtained, using method <VAR>GetSubShapeIndex()</VAR>.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeFilletEdges (in GEOM_Object theShape,
-                                in double      theR,
-                                in ListOfLong  theEdges);
-
-    /*!
-     *  Perform a fillet on all edges of the specified faces of the given shape.
-     *  \param theShape Shape, to perform fillet on.
-     *  \param theR Fillet radius.
-     *  \param theFaces Global indices of faces to perform fillet on.
-     *    \note Global index of sub-shape can be obtained, using method <VAR>GetSubShapeIndex()</VAR>.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeFilletFaces (in GEOM_Object theShape,
-                                in double      theR,
-                                in ListOfLong  theFaces);
-
-    /*!
-     *  Perform a symmetric chamfer on all edges of the given shape.
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD Chamfer size along each face.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeChamferAll (in GEOM_Object theShape,
-                               in double      theD);
-
-    /*!
-     *  Perform a chamfer on edges, common to the specified faces.
-     *  with distance D1 on the Face1
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD1 Chamfer size along \a theFace1.
-     *  \param theD2 Chamfer size along \a theFace2.
-     *  \param theFace1,theFace2 Global indices of two faces of \a theShape.
-     *    \note Global index of sub-shape can be obtained, using method <VAR>GetSubShapeIndex()</VAR>.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeChamferEdge (in GEOM_Object theShape,
-                                in double theD1, in double theD2,
-                                in long theFace1, in long theFace2);
-
-    /*!
-     *  Perform a chamfer on all edges of the specified faces.
-     *  with distance D1 on the first specified face (if several for one edge)
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD1 Chamfer size along face from \a theFaces. If both faces,
-     *               connected to the edge, are in \a theFaces, \a theD1
-     *               will be get along face, which is nearer to \a theFaces beginning.
-     *  \param theD2 Chamfer size along another of two faces, connected to the edge.
-     *  \param theFaces Sequence of global indices of faces of \a theShape.
-     *    \note Global index of sub-shape can be obtained, using method <VAR>GetSubShapeIndex()</VAR>.
-     *  \return New GEOM_Object, containing the result shape.
-     */
-    GEOM_Object MakeChamferFaces (in GEOM_Object theShape,
-                                 in double theD1, in double theD2,
-                                 in ListOfLong theFaces);
-
-    /*!
-     *  Perform an Archimde operation on the given shape with given parameters.
-     *                    The object presenting the resulting face is returned
-     *  \param theShape Shape to be put in water.
-     *  \param theWeight Weight og the shape.
-     *  \param theWaterDensity Density of the water.
-     *  \param theMeshDeflection Deflection od the mesh, using to compute the section.
-     *  \return New GEOM_Object, containing a section of \a theShape
-     *          by a plane, corresponding to water level.
-     */
-    GEOM_Object MakeArchimede (in GEOM_Object theShape,
-                              in double theWeight,
-                              in double theWaterDensity,
-                              in double theMeshDeflection);
-
-    /*!
-     *  Get global index of \a theSubShape in \a theShape.
-     *  \param theShape Main shape.
-     *  \param theSubShape Sub-shape of the main shape.
-     *  \return global index of \a theSubShape in \a theShape.
-     */
-    long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape);
-  };
-
-  /*!
-   *  GEOM_IHealingOperations: Interface for shape healing operations.
-   *  Shape Processing, SuppressFaces, etc.
-   */
-  interface GEOM_IHealingOperations : GEOM_IOperations
-  {
-    /*!
-     *  Apply a sequence of Shape Healing operators to the given object.
-     *  \param theShapes Shape to be processed.
-     *  \param theOperators List of names of operators ("FixShape", "SplitClosedFaces", etc.).
-     *  \param theParameters List of names of parameters
-     *                    ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.).
-     *  \param theValues List of values of parameters, in the same order
-     *                    as parameters are listed in \a theParameters list.
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object ProcessShape (in GEOM_Object theShapes,
-                             in string_array theOperators,
-                             in string_array theParameters,
-                             in string_array theValues);
-
-    /*!
-     *  Get default sequence of operators, their parameters and parameters' values
-     *  of Shape Process operation. In the current implementation the defaults are
-     *  read from the file pointed by CSF_ShHealingDefaults environmental variable.
-     *  \param theOperators Output. Default list of names of operators.
-     *  \param theParameters Output. Default list of names of parameters.
-     *  \param theValues Output. List of default values of parameters, in the same order
-     *                           as parameters are listed in \a theParameters list.
-     */
-    void GetShapeProcessParameters (out string_array theOperators,
-                                   out string_array theParameters,
-                                   out string_array theValues);
-    /*!
-     *  Get parameters and parameters' values for the given Shape Process operation.
-     *  In the current implementation the defaults are
-     *  read from the file pointed by CSF_ShHealingDefaults environmental variable.
-     *  \param theOperator Input. The operator's name.
-     *  \param theParameters Output. Default list of names of parameters.
-     *  \param theValues Output. List of default values of parameters, in the same order
-     *                           as parameters are listed in \a theParameters list.
-     */
-    void GetOperatorParameters (in string theOperator,
-                               out string_array theParameters,
-                               out string_array theValues);
-
-    /*!
-     *  Remove faces from the given object (shape).
-     *  \param theObject Shape to be processed.
-     *  \param theFaces Indices of faces to be removed, if EMPTY then the method
-     *                  removes ALL faces of the given object.
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object SuppressFaces (in GEOM_Object theObject, in short_array theFaces);
-
-    /*!
-     *  Close an open wire.
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indexes of edge(s) and wire(s) to be closed within <VAR>theObject</VAR>'s shape,
-     *                  if -1, then theObject itself is a wire.
-     *  \param isCommonVertex If TRUE : closure by creation of a common vertex,
-     *                        If FALS : closure by creation of an edge between ends.
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object CloseContour (in GEOM_Object theObject, in short_array theWires,
-                             in boolean isCommonVertex);
-
-    /*!
-     *  Remove internal wires and edges from the given object (face).
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indices of wires to be removed, if EMPTY then the method
-     *                  removes ALL internal wires of the given object.
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object RemoveIntWires (in GEOM_Object theObject, in short_array theWires);
-
-    /*!
-     *  Remove internal closed contours (holes) from the given object.
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indices of wires to be removed, if EMPTY then the method
-     *                  removes ALL internal holes of the given object
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires);
-
-    /*!
-     *  Sewing of the given object.
-     *  \param theObject Shape to be processed.
-     *  \param theTolerance Required tolerance value.
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object Sew (in GEOM_Object theObject, in double theTolerance);
-
-    /*!
-     *  Addition of a point to a given edge object.
-     *  \param theObject Shape to be processed.
-     *  \param theEdgeIndex Index of edge to be divided within theObject's shape,
-     *                      if -1, then theObject itself is the edge.
-     *  \param theValue Value of parameter on edge or length parameter,
-     *                  depending on \a isByParameter.
-     *  \param isByParameter If TRUE : \a theValue is treated as a curve parameter [0..1],
-     *                       if FALSE : \a theValue is treated as a length parameter [0..1]
-     *  \return New GEOM_Object, containing processed shape.
-     */
-    GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex,
-                           in double theValue, in boolean isByParameter);
-
-    /*!
-     *  Get a list of wires (wrapped in GEOM_Object-s),
-     *  that constitute a free boundary of the given shape.
-     *  \param theObject Shape to get free boundary of.
-     *  \param theClosedWires Output. Closed wires on the free boundary of the given shape.
-     *  \param theOpenWires Output. Open wires on the free boundary of the given shape.
-     *  \return FALSE, if an error(s) occured during the method execution.
-     */
-    boolean GetFreeBoundary (in GEOM_Object theObject,
-                            out ListOfGO theClosedWires,
-                            out ListOfGO theOpenWires);
-  };
-
-  /*!
-   *  GEOM_IInsertOperations: Interface for shape insert operations (like copy, import).
-   *
-   */
-  interface GEOM_IInsertOperations : GEOM_IOperations
-  {
-    /*!
-     *  Create a copy of the given object
-     */
-    GEOM_Object MakeCopy (in GEOM_Object theOriginal);
-
-    /*!
-     *  Export the given shape into a file with given name.
-     *  \param theObject Shape to be stored in the file.
-     *  \param theFileName Name of the file to store the given shape in.
-     *  \param theFormatName Specify format for the shape storage.
-     *         Available formats can be obtained with <VAR>ImportTranslators()</VAR> method.
-     */
-    void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName);
-
-    /*!
-     *  Import a shape from the BRep or IGES or STEP file
-     *  (depends on given format) with given name.
-     *  \param theFileName The file, containing the shape.
-     *  \param theFormatName Specify format for the file reading.
-     *         Available formats can be obtained with <VAR>ImportTranslators()</VAR> method.
-     *  \return New GEOM_Object, containing the imported shape.
-     */
-    GEOM_Object Import (in string theFileName, in string theFormatName);
-
-    /*!
-     *  Get the supported import formats and corresponding patterns for File dialog.
-     *  \param theFormats Output. List of formats, available for import.
-     *  \param thePatterns Output. List of file patterns, corresponding to available formats.
-     *  \return Returns available formats and patterns through the arguments.
-     */
-    void ImportTranslators (out string_array theFormats,
-                           out string_array thePatterns);
-
-    /*!
-     *  Get the supported export formats and corresponding patterns for File dialog.
-     *  \param theFormats Output. List of formats, available for export.
-     *  \param thePatterns Output. List of file patterns, corresponding to available formats.
-     *  \return Returns available formats and patterns through the arguments.
-     */
-    void ExportTranslators (out string_array theFormats,
-                           out string_array thePatterns);
-  };
-
-  /*!
-   *  GEOM_IMeasureOperations: Interface for measurement (distance, whatis) and
-   *  properties calculation (like Centre of Mass, Inertia, etc.).
-   *
-   */
-  interface GEOM_IMeasureOperations : GEOM_IOperations
-  {
-    /*!
-     *  Get summarized length of all wires,
-     *  area of surface and volume of the given shape.
-     *  \param theShape Shape to define properties of.
-     *  \param theLength Output. Summarized length of all wires of the given shape.
-     *  \param theSurfArea Output. Area of surface of the given shape.
-     *  \param theVolume Output. Volume of the given shape.
-     *  \return Returns shape properties through the last three arguments.
-     */
-    void GetBasicProperties (in GEOM_Object theShape,
-                            out double theLength,
-                            out double theSurfArea,
-                            out double theVolume);
-
-    /*!
-     *  Get a point, situated at the centre of mass of theShape.
-     *  \param theShape Shape to define centre of mass of.
-     *  \return New GEOM_Object, containing the created point.
-     */
-    GEOM_Object GetCentreOfMass (in GEOM_Object theShape);
-
-    /*!
-     *  Get inertia matrix and moments of inertia of theShape.
-     *  \param theShape Shape to calculate inertia of.
-     *  \param I(1-3)(1-3) Output. Components of the inertia matrix of the given shape.
-     *  \param Ix,Iy,Iz Output. Moments of inertia of the given shape.
-     *  \return Returns inertia through the last twelve arguments.
-     */
-    void GetInertia (in GEOM_Object theShape,
-                    out double I11, out double I12, out double I13,
-                    out double I21, out double I22, out double I23,
-                    out double I31, out double I32, out double I33,
-                    out double Ix , out double Iy , out double Iz);
-
-    /*!
-     *  Get parameters of bounding box of the given shape
-     *  \param theShape Shape to obtain bounding box of.
-     *  \param Xmin,Xmax Output. Limits of shape along OX axis.
-     *  \param Ymin,Ymax Output. Limits of shape along OY axis.
-     *  \param Zmin,Zmax Output. Limits of shape along OZ axis.
-     *  \return Returns parameters of bounding box through the last six arguments.
-     */
-    void GetBoundingBox (in GEOM_Object theShape,
-                        out double Xmin, out double Xmax,
-                        out double Ymin, out double Ymax,
-                        out double Zmin, out double Zmax);
-
-    /*!
-     *  Get min and max tolerances of sub-shapes of theShape
-     *  \param theShape Shape, to get tolerances of.
-     *  \param FaceMin,FaceMax Output. Min and max tolerances of the faces.
-     *  \param EdgeMin,EdgeMax Output. Min and max tolerances of the edges.
-     *  \param VertMin,VertMax Output. Min and max tolerances of the vertices.
-     *  \return Returns shape tolerances through the last six arguments.
-     */
-    void GetTolerance (in GEOM_Object theShape,
-                      out double FaceMin, out double FaceMax,
-                      out double EdgeMin, out double EdgeMax,
-                      out double VertMin, out double VertMax);
-
-    /*!
-     *  Check a topology of the given shape.
-     *  \param theShape Shape to check validity of.
-     *  \param theDescription Output. Description of problems in the shape, if they are.
-     *  \return TRUE, if the shape "seems to be valid" from the topological point of view.
-     */
-    boolean CheckShape (in GEOM_Object theShape,
-                       out string     theDescription);
-
-    /*!
-     *  Obtain description of the given shape
-     *  \param theShape Shape to be described.
-     *  \return Description of the given shape.
-     */
-    string WhatIs (in GEOM_Object theShape);
-
-    /*!
-     *  Get minimal distance between the given shapes.
-     *  \param theShape1,theShape2 Shapes to find minimal distance between.
-     *  \param X1,Y1,Z1 Output. Coordinates of point on theShape1, nearest to theShape2.
-     *  \param X2,Y2,Z2 Output. Coordinates of point on theShape2, nearest to theShape1.
-     *  \return Value of the minimal distance between the given shapes.
-     */
-    double GetMinDistance (in GEOM_Object theShape1, in GEOM_Object theShape2,
-                          out double X1, out double Y1, out double Z1,
-                          out double X2, out double Y2, out double Z2);
-
-
-    /*!
-     *  Get point coordinates
-     */
-    void PointCoordinates (in GEOM_Object theShape, out double X, out double Y, out double Z);
-  };
-
-
-  /*!
-   *  GEOM_IGroupOperations: Interface for groups creation.
-   */
-  interface GEOM_IGroupOperations : GEOM_IOperations
-  {
-    /*!
-     *  Creates a new group which will store  sub shapes of theMainShape
-     *  \param theMainShape is a GEOM object on which the group is selected
-     *  \param theShapeType defines a shape type of the group
-     *  \return a newly created GEOM group
-     */
-    GEOM_Object CreateGroup (in GEOM_Object theMainShape, in long theShapeType);
-
-    /*!
-     *  Adds a sub object with ID theSubShapeId to the group
-     *  \param theGroup is a GEOM group to which the new sub shape is added
-     *  \param theSubShapeId is a sub shape ID in the main object.
-     *  \note Use method <VAR>ILocalOperations.GetSubShapeIndex()</VAR> to get an ID by the sub shape
-     */
-    void AddObject (in GEOM_Object theGroup, in long theSubShapeId);
-
-    /*!
-     *  Removes a sub object with ID \a theSubShapeId from the group
-     *  \param theGroup is a GEOM group from which the sub shape is removed.
-     *  \param theSubShapeId is a sub shape ID in the main object.
-     *  \note Use method <VAR>ILocalOperations.GetSubShapeIndex()</VAR> to get an ID by the sub shape
-     */
-    void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
-
-    /*!
-     *  Adds to the group all the given shapes. No errors, if some shapes are alredy included.
-     *  \param theGroup is a GEOM group to which the new sub shapes are added.
-     *  \param theSubShapes is a list of sub shapes to be added.
-     */
-    void UnionList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
-
-    /*!
-     *  Removes from the group all the given shapes. No errors, if some shapes are not included.
-     *  \param theGroup is a GEOM group from which the sub-shapes are removed.
-     *  \param theSubShapes is a list of sub-shapes to be removed.
-     */
-    void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
-
-    /*!
-     *  Adds to the group all the given shapes. No errors, if some shapes are alredy included.
-     *  \param theGroup is a GEOM group to which the new sub shapes are added.
-     *  \param theSubShapes is a list of IDs of sub shapes to be added.
-     */
-    void UnionIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
-
-    /*!
-     *  Removes from the group all the given shapes. No errors, if some shapes are not included.
-     *  \param theGroup is a GEOM group from which the sub-shapes are removed.
-     *  \param theSubShapes is a list of IDs of sub-shapes to be removed.
-     */
-    void DifferenceIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
-
-    /*!
-     *  Returns a type of sub objects stored in the group
-     *  \param theGroup is a GEOM group which type is returned.
-     */
-    long GetType (in GEOM_Object theGroup);
-
-    /*!
-     *  Returns a main shape associated with the group
-     *  \param theGroup is a GEOM group for which a main shape object is requested
-     *  \return a GEOM object which is a main shape for theGroup
-     */
-    GEOM_Object GetMainShape (in GEOM_Object theGroup);
-
-    /*!
-     *  Returns a list of sub objects ID stored in the group
-     *  \param theGroup is a GEOM group for which a list of IDs is requested
-     */
-    ListOfLong GetObjects (in GEOM_Object theGroup);
-  };
-
-
-  /*!
-   *  GEOM_Gen: Interface to access other GEOM interfaces.
-   *  Also contains some methods to access and manage GEOM objects.
-   */
-  interface GEOM_Gen : Engines::Component,SALOMEDS::Driver
-  {
-    /*!
-     *  Undo/Redo Management
-     */
-
-    void Undo (in long theStudyID);
-
-    void Redo (in long theStudyID);
-
-    /*!
-     * Publishing manangement
-     * Adds in theStudy a object theObject under with a name theName,
-     * if theFather is not NULL the object is placed under thFather's SObject.
-     * Returns a SObject where theObject is placed
-     */
-    SALOMEDS::SObject AddInStudy (in SALOMEDS::Study theStudy,
-                                 in GEOM_Object theObject,
-                                 in string theName,
-                                 in GEOM_Object theFather);
-
-    /*!
-     *  Methods to access interfaces for objects creation and transformation
-     */
-    GEOM_IBasicOperations     GetIBasicOperations    (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_ITransformOperations GetITransformOperations(in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_I3DPrimOperations    GetI3DPrimOperations   (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IShapesOperations    GetIShapesOperations   (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IBooleanOperations   GetIBooleanOperations  (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_ICurvesOperations    GetICurvesOperations   (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_ILocalOperations     GetILocalOperations    (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IHealingOperations   GetIHealingOperations  (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IInsertOperations    GetIInsertOperations   (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IMeasureOperations   GetIMeasureOperations  (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IBlocksOperations    GetIBlocksOperations   (in long theStudyID) raises (SALOME::SALOME_Exception);
-    GEOM_IGroupOperations     GetIGroupOperations    (in long theStudyID) raises (SALOME::SALOME_Exception);
-
-    /*!
-     *  Objects Management
-     */
-
-    /*!
-     *  Removes the object from the GEOM component
-     *  \param theObject is a GEOM object to be removed
-     */
-    void RemoveObject (in GEOM_Object theObject);
-
-    /*!
-     *  Returns an object defined by the study and its entry in the GEOM component
-     *  \param theStudyID is a SALOMEDS Study ID
-     *  \param theEntry is an entry of the requested GEOM object in the GEOM component
-     *  \note if the object has not previously been created a NULL GEOM object is returned
-     */
-    GEOM_Object GetObject (in long theStudyID, in string theEntry);
-
-    /*!
-     *  Add a sub shape defined by indices in \a theIndices
-     *  (contains unique IDs of sub shapes inside theMainShape)
-     *  \note The sub shape GEOM_Objects can has ONLY ONE function.
-     *        Don't try to apply modification operations on them.
-     *  \note Internal method
-     */
-    GEOM_Object AddSubShape (in GEOM_Object theMainShape, in ListOfLong theIndices);
-
-    /*!
-     *  GEOM object's IOR Management
-     */
-
-    /*!
-     *  Returns a GEOM Object defined by its IOR
-     *  \param theIOR a string containg an IOR of the requested GEOM object
-     */
-    GEOM_Object GetIORFromString (in string theIOR);
-
-    /*!
-     *  Returns a string which contains an IOR of the GEOM object
-     *  \param theObject is a GEOM object which IOR is requested
-     */
-    string GetStringFromIOR (in GEOM_Object theObject);
-
-    /*!
-     *  Returns a name with which a GEOM object was dumped into python script
-     *  \param theStudyEntry is an entry of the GEOM object in the study
-     */
-    string GetDumpName (in string theStudyEntry);
-
-    /*!
-     *  Returns all names with which a GEOM objects was dumped
-     *  into python script to avoid the same names in SMESH script
-     */
-    string_array GetAllDumpNames();
-  };
-};
-
-#endif
diff --git a/idl/GEOM_Superv.idl b/idl/GEOM_Superv.idl
deleted file mode 100644 (file)
index 4f2c94f..0000000
+++ /dev/null
@@ -1,418 +0,0 @@
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Superv.idl
-//  Author : Lucien PIGNOLONI
-
-#ifndef __GEOM_SUPERV__
-#define __GEOM_SUPERV__
-
-#include "GEOM_Gen.idl"
-
-module GEOM
-{
-  interface GEOM_List
-  { };
-
-  interface GEOM_Superv : Engines::Component,SALOMEDS::Driver
-  {
-    //-----------------------------------------------------------//
-    // Set current study ID                                      // 
-    //-----------------------------------------------------------//
-    void SetStudyID (in long theStudyID) ;
-    
-    //-----------------------------------------------------------//
-    // Create ListOfGO and add items to it                       // 
-    //-----------------------------------------------------------//
-    GEOM_List CreateListOfGO();
-    void AddItemToListOfGO( inout GEOM_List theList, 
-                           in GEOM_Object theObject);
-
-    //-----------------------------------------------------------//
-    // Create ListOfLong and add items to it                     // 
-    //-----------------------------------------------------------//
-    GEOM_List CreateListOfLong();
-    void AddItemToListOfLong( inout GEOM_List theList, 
-                             in long theObject);
-
-    //-----------------------------------------------------------//
-    // Create ListOfDouble and add items to it                   // 
-    //-----------------------------------------------------------//
-    GEOM_List CreateListOfDouble();
-    void AddItemToListOfDouble( inout GEOM_List theList, 
-                               in double theObject);
-
-    //-----------------------------------------------------------//
-    // Primitives Construction : BasicOperations                 // 
-    //-----------------------------------------------------------//
-    GEOM_Object MakePointXYZ (in double theX,
-                             in double theY,
-                             in double theZ) ;
-    GEOM_Object MakePointWithReference (in GEOM_Object theReference,
-                                       in double theX, 
-                                       in double theY, 
-                                       in double theZ) ;
-    GEOM_Object MakePointOnCurve (in GEOM_Object theRefCurve,
-                                 in double theParameter) ;
-    GEOM_Object MakeVectorDXDYDZ (in double theDX,
-                                 in double theDY,
-                                 in double theDZ) ;
-    GEOM_Object MakeVectorTwoPnt (in GEOM_Object thePnt1,
-                                 in GEOM_Object thePnt2) ;
-    GEOM_Object MakeLineTwoPnt (in GEOM_Object thePnt1,
-                               in GEOM_Object thePnt2) ;
-    GEOM_Object MakePlaneThreePnt (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in double theTrimSize) ;
-    GEOM_Object MakePlanePntVec (in GEOM_Object thePnt,
-                                in GEOM_Object theVec,
-                                in double      theTrimSize) ;
-    GEOM_Object MakePlaneFace (in GEOM_Object theFace,
-                              in double      theTrimSize) ;
-    GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
-                           in double theXDX, in double theXDY, in double theXDZ,
-                           in double theYDX, in double theYDY, in double theYDZ) ;
-
-    //-----------------------------------------------------------//
-    // Primitives Construction : 3DPrimOperations                //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeBox (in double theX1,
-                        in double theY1,
-                        in double theZ1,
-                        in double theX2,
-                        in double theY2,
-                        in double theZ2) ; 
-    GEOM_Object MakeBoxDXDYDZ (in double theDX, 
-                              in double theDY, 
-                              in double theDZ) ;
-    GEOM_Object MakeBoxTwoPnt (in GEOM_Object thePnt1, 
-                              in GEOM_Object thePnt2) ;
-    GEOM_Object MakeCylinderPntVecRH (in GEOM_Object thePnt,
-                                     in GEOM_Object theAxis,
-                                     in double      theRadius,
-                                     in double      theHeight) ;
-    GEOM_Object MakeCylinderRH (in double theR, 
-                               in double theH) ;
-    GEOM_Object MakeSphere (in double theX,
-                           in double theY,
-                           in double theZ,
-                           in double theRadius) ;
-    GEOM_Object MakeSphereR (in double theR) ;
-    GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, 
-                               in double      theR) ;
-    GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt,
-                                  in GEOM_Object theVec,
-                                  in double      theRMajor,
-                                  in double      theRMinor) ;
-    GEOM_Object MakeTorusRR (in double theRMajor,
-                            in double theRMinor) ;
-    GEOM_Object MakeConePntVecR1R2H (in GEOM_Object thePnt,
-                                    in GEOM_Object theAxis,
-                                    in double      theR1,
-                                    in double      theR2,
-                                    in double      theHeight) ;
-    GEOM_Object MakeConeR1R2H (in double theR1, 
-                              in double theR2, 
-                              in double theHeight) ;
-    GEOM_Object MakePrismVecH (in GEOM_Object theBase,
-                              in GEOM_Object theVec,
-                              in double      theH) ;
-    GEOM_Object MakePrismTwoPnt (in GEOM_Object theBase,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2) ;
-    GEOM_Object MakePipe (in GEOM_Object theBase, 
-                         in GEOM_Object thePath) ;
-    GEOM_Object MakeRevolutionAxisAngle (in GEOM_Object theBase,
-                                        in GEOM_Object theAxis,
-                                        in double      theAngle) ;
-    GEOM_Object MakeFilling (in GEOM_Object theShape,
-                            in long theMinDeg, in long theMaxDeg,
-                            in double theTol2D, in double theTol3D,
-                            in long theNbIter) ;
-
-    //-----------------------------------------------------------//
-    // BooleanOperations                                         //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeBoolean (in GEOM_Object theShape1,
-                            in GEOM_Object theShape2,
-                            in long        theOperation) ;
-    GEOM_Object MakeFuse (in GEOM_Object theShape1,
-                         in GEOM_Object theShape2) ;
-    GEOM_Object MakePartition (in GEOM_List   theShapes,
-                              in GEOM_List   theTools,
-                              in GEOM_List   theKeepInside,
-                              in GEOM_List   theRemoveInside,
-                              in short       theLimit,
-                              in boolean     theRemoveWebs,
-                              in GEOM_List   theMaterials) ;
-    GEOM_Object MakeHalfPartition (in GEOM_Object theShape,
-                                  in GEOM_Object thePlane) ;
-
-    //-----------------------------------------------------------//
-    // InsertOperations                                          //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeCopy (in GEOM_Object theOriginal) ;
-    void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName) ;
-    GEOM_Object Import (in string theFileName, in string theFormatName) ;
-    void ImportTranslators (out string_array theFormats,
-                           out string_array thePatterns) ;
-    void ExportTranslators (out string_array theFormats,
-                           out string_array thePatterns) ;
-
-    //-----------------------------------------------------------//
-    // TransformOperations                                       //
-    //-----------------------------------------------------------//
-    GEOM_Object TranslateTwoPoints (in GEOM_Object theObject,
-                                   in GEOM_Object thePoint1,
-                                   in GEOM_Object thePoint2) ;
-    GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject,
-                                       in GEOM_Object thePoint1,
-                                        in GEOM_Object thePoint2) ;
-    GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject,
-                                in double      theDX, 
-                                in double      theDY, 
-                                in double      theDZ) ;
-    GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject,
-                                    in double      theDX, 
-                                    in double      theDY, 
-                                    in double      theDZ) ;
-    GEOM_Object TranslateVector (in GEOM_Object theObject,
-                                in GEOM_Object theVector) ;
-    GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
-                                    in GEOM_Object theVector) ;
-    GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector,
-                                 in double      theStep,
-                                 in long        theNbTimes) ;
-    GEOM_Object MultiTranslate2D (in GEOM_Object theObject,
-                                 in GEOM_Object theVector1,
-                                 in double      theStep1,
-                                 in long        theNbTimes1,
-                                 in GEOM_Object theVector2,
-                                 in double      theStep2,
-                                 in long        theNbTimes2) ;
-    GEOM_Object Rotate (in GEOM_Object theObject,
-                       in GEOM_Object theAxis,
-                       in double      theAngle) ;
-    GEOM_Object RotateCopy (in GEOM_Object theObject,
-                           in GEOM_Object theAxis,
-                           in double      theAngle) ;
-    GEOM_Object MultiRotate1D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in long        theNbTimes) ;
-    GEOM_Object MultiRotate2D (in GEOM_Object theObject,
-                              in GEOM_Object theAxis,
-                              in double      theAngle,
-                              in long        theNbTimes1,
-                              in double      theStep,
-                              in long        theNbTimes2) ;
-    GEOM_Object MirrorPlane (in GEOM_Object theObject, 
-                            in GEOM_Object thePlane) ;
-    GEOM_Object MirrorPlaneCopy (in GEOM_Object theObject, 
-                                in GEOM_Object thePlane) ;
-    GEOM_Object MirrorAxis (in GEOM_Object theObject, 
-                           in GEOM_Object theAxis) ;
-    GEOM_Object MirrorAxisCopy (in GEOM_Object theObject, 
-                               in GEOM_Object theAxis) ;
-    GEOM_Object MirrorPoint (in GEOM_Object theObject, 
-                            in GEOM_Object thePoint) ;
-    GEOM_Object MirrorPointCopy (in GEOM_Object theObject, 
-                                in GEOM_Object thePoint) ;
-    GEOM_Object OffsetShape (in GEOM_Object theObject, 
-                            in double      theOffset) ;
-    GEOM_Object OffsetShapeCopy (in GEOM_Object theObject, 
-                                in double      theOffset) ;
-    GEOM_Object ScaleShape (in GEOM_Object theObject, 
-                           in GEOM_Object thePoint,
-                           in double      theFactor) ;
-    GEOM_Object ScaleShapeCopy (in GEOM_Object theObject, 
-                               in GEOM_Object thePoint,
-                               in double      theFactor) ;
-    GEOM_Object PositionShape (in GEOM_Object theObject,
-                              in GEOM_Object theStartLCS,
-                              in GEOM_Object theEndLCS) ;
-    GEOM_Object PositionShapeCopy (in GEOM_Object theObject,
-                                  in GEOM_Object theStartLCS,
-                                  in GEOM_Object theEndLCS) ;
-
-    //-----------------------------------------------------------//
-    // ShapesOperations                                          //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeEdge (in GEOM_Object thePnt1, 
-                         in GEOM_Object thePnt2) ;
-    GEOM_Object MakeWire (in GEOM_List theEdgesAndWires) ;
-    GEOM_Object MakeFace (in GEOM_Object theWire, 
-                         in boolean     isPlanarWanted) ;
-    GEOM_Object MakeFaceWires (in GEOM_List theWires, 
-                              in boolean   isPlanarWanted) ;
-    GEOM_Object MakeShell (in GEOM_List theFacesAndShells) ;
-    GEOM_Object MakeSolidShell (in GEOM_Object theShell) ;
-    GEOM_Object MakeSolidShells (in GEOM_List theShells) ;
-    GEOM_Object MakeCompound (in GEOM_List theShapes) ;
-    GEOM_Object MakeGlueFaces (in GEOM_Object theShape, 
-                              in double      theTolerance) ;
-    GEOM_List MakeExplode (in GEOM_Object theShape,
-                          in long        theShapeType,
-                          in boolean     isSorted) ;
-    long NumberOfFaces (in GEOM_Object theShape) ;
-    long NumberOfEdges (in GEOM_Object theShape) ;
-    GEOM_Object ChangeOrientation (in GEOM_Object theShape) ;
-
-    //-----------------------------------------------------------//
-    // BlocksOperations                                          //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeQuad4Vertices (in GEOM_Object thePnt1,
-                                  in GEOM_Object thePnt2,
-                                  in GEOM_Object thePnt3,
-                                  in GEOM_Object thePnt4) ;
-    GEOM_Object MakeQuad (in GEOM_Object theEdge1,
-                         in GEOM_Object theEdge2,
-                         in GEOM_Object theEdge3,
-                         in GEOM_Object theEdge4) ;
-    GEOM_Object MakeQuad2Edges (in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2) ;
-    GEOM_Object MakeHexa (in GEOM_Object theFace1,
-                         in GEOM_Object theFace2,
-                         in GEOM_Object theFace3,
-                         in GEOM_Object theFace4,
-                         in GEOM_Object theFace5,
-                         in GEOM_Object theFace6) ;
-    GEOM_Object MakeHexa2Faces (in GEOM_Object theFace1,
-                               in GEOM_Object theFace2) ;
-    GEOM_Object GetPoint (in GEOM_Object theShape,
-                         in double      theX,
-                         in double      theY,
-                         in double      theZ,
-                         in double      theEpsilon) ;
-    GEOM_Object GetEdge (in GEOM_Object theShape,
-                        in GEOM_Object thePoint1,
-                        in GEOM_Object thePoint2) ;
-    GEOM_Object GetEdgeNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint) ;
-    GEOM_Object GetFaceByPoints (in GEOM_Object theShape,
-                                in GEOM_Object thePoint1,
-                                in GEOM_Object thePoint2,
-                                in GEOM_Object thePoint3,
-                                in GEOM_Object thePoint4) ;
-    GEOM_Object GetFaceByEdges (in GEOM_Object theShape,
-                               in GEOM_Object theEdge1,
-                               in GEOM_Object theEdge2) ;
-    GEOM_Object GetOppositeFace (in GEOM_Object theBlock,
-                                in GEOM_Object theFace) ;
-    GEOM_Object GetFaceNearPoint (in GEOM_Object theShape,
-                                 in GEOM_Object thePoint) ;
-    GEOM_Object GetFaceByNormale (in GEOM_Object theBlock,
-                                 in GEOM_Object theVector) ;
-    boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
-                               in long        theMinNbFaces,
-                               in long        theMaxNbFaces,
-                               out long       theNbBlocks) ;
-    boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
-                                  out GEOM_IBlocksOperations::BCErrors   theErrors) ;
-    string PrintBCErrors (in GEOM_Object theCompound,
-                         in GEOM_IBlocksOperations::BCErrors    theErrors) ;
-    GEOM_List ExplodeCompoundOfBlocks (in GEOM_Object theCompound,
-                                      in long        theMinNbFaces,
-                                      in long        theMaxNbFaces) ;
-    GEOM_Object GetBlockNearPoint (in GEOM_Object theCompound,
-                                  in GEOM_Object thePoint) ;
-    GEOM_Object GetBlockByParts (in GEOM_Object theCompound,
-                                in GEOM_List   theParts) ;
-    GEOM_List GetBlocksByParts (in GEOM_Object theCompound,
-                               in GEOM_List   theParts) ;
-    GEOM_Object MakeMultiTransformation1D (in GEOM_Object theBlock,
-                                          in long        theDirFace1,
-                                          in long        theDirFace2,
-                                          in long        theNbTimes) ;
-    GEOM_Object MakeMultiTransformation2D (in GEOM_Object theBlock,
-                                          in long        theDirFace1U,
-                                          in long        theDirFace2U,
-                                          in long        theNbTimesU,
-                                          in long        theDirFace1V,
-                                          in long        theDirFace2V,
-                                          in long        theNbTimesV) ;
-
-    //-----------------------------------------------------------//
-    // CurvesOperations                                          //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeCirclePntVecR (in GEOM_Object thePnt,
-                                  in GEOM_Object theVec,
-                                  in double      theR) ;
-    GEOM_Object MakeCircleThreePnt (in GEOM_Object thePnt1,
-                                   in GEOM_Object thePnt2,
-                                   in GEOM_Object thePnt3) ;
-    GEOM_Object MakeEllipse (in GEOM_Object thePnt,
-                            in GEOM_Object theVec,
-                            in double      theRMajor,
-                            in double      theRMinor) ;
-    GEOM_Object MakeArc (in GEOM_Object thePnt1,
-                        in GEOM_Object thePnt2,
-                        in GEOM_Object thePnt3) ;
-    GEOM_Object MakePolyline (in GEOM_List thePoints) ;
-    GEOM_Object MakeSplineBezier (in GEOM_List thePoints) ;
-    GEOM_Object MakeSplineInterpolation (in GEOM_List thePoints) ;
-    GEOM_Object MakeSketcher (in string    theCommand, 
-                             in GEOM_List theWorkingPlane) ;
-    
-    //-----------------------------------------------------------//
-    // LocalOperations                                           //
-    //-----------------------------------------------------------//
-    GEOM_Object MakeFilletAll (in GEOM_Object theShape,
-                              in double      theR) ;
-    GEOM_Object MakeFilletEdges (in GEOM_Object theShape,
-                                in double      theR,
-                                in GEOM_List   theEdges) ;
-    GEOM_Object MakeFilletFaces (in GEOM_Object theShape,
-                                in double      theR,
-                                in GEOM_List   theFaces) ;
-    GEOM_Object MakeChamferAll (in GEOM_Object theShape,
-                               in double      theD) ;
-    GEOM_Object MakeChamferEdge (in GEOM_Object theShape,
-                                in double theD1, in double theD2,
-                                in long theFace1, in long theFace2) ;
-    GEOM_Object MakeChamferFaces (in GEOM_Object theShape,
-                                 in double theD1, in double theD2,
-                                 in GEOM_List theFaces) ;
-    GEOM_Object MakeArchimede (in GEOM_Object theShape,
-                              in double      theWeight,
-                              in double      theWaterDensity,
-                              in double      theMeshDeflection) ;
-    long GetSubShapeIndex (in GEOM_Object theShape, 
-                          in GEOM_Object theSubShape) ;
-
-    //-----------------------------------------------------------//
-    // GroupOperations                                           //
-    //-----------------------------------------------------------//
-    GEOM_Object CreateGroup (in GEOM_Object theMainShape, 
-                            in long        theShapeType) ;
-    void AddObject (in GEOM_Object theGroup, 
-                   in long        theSubShapeId) ;
-    void RemoveObject (in GEOM_Object theGroup, 
-                      in long        theSubShapeId) ;
-    long GetType (in GEOM_Object theGroup) ;
-    GEOM_Object  GetMainShape(in GEOM_Object theGroup) ;
-    GEOM_List  GetObjects(in GEOM_Object theGroup) ;
-
-  };
-};
-
-#endif
diff --git a/idl/Makefile.in b/idl/Makefile.in
deleted file mode 100644 (file)
index 72f11d7..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# generate dependencies for idl file :
-#
-
-# source path
-top_srcdir=@top_srcdir@
-top_builddir=..
-srcdir=@srcdir@
-VPATH=.:${KERNEL_ROOT_DIR}/idl/salome
-
-@COMMENCE@
-
-IDL_FILES = \
-  GEOM_Gen.idl \
-  GEOM_Superv.idl
-
-PY_CLIENT_IDL = $(IDL_FILES)
-
-# we copy all idl file in $(top_builddir)/idl
-inc: $(top_builddir)/idl/salome $(IDL_FILES:%=$(top_builddir)/idl/salome/%)
-
-$(top_builddir)/idl/salome:
-       mkdir $@
-
-$(IDL_FILES:%=$(top_builddir)/idl/salome/%):$(IDL_FILES:%=$(top_srcdir)/idl/%)
-#      $(CP) $< $@
-       cp -f $^ $(top_builddir)/idl/salome
-
-
-lib: pyidl
-
-PYTHON_BUILD_SITE=$(top_builddir)/lib/python$(PYTHON_VERSION)/site-packages/@PACKAGE@
-
-pyidl: $(PYTHON_BUILD_SITE) $(IDL_FILES:%.idl=$(PYTHON_BUILD_SITE)/%_idl.py)
-
-$(PYTHON_BUILD_SITE):
-       $(INSTALL) -d  $@
-
-$(PYTHON_BUILD_SITE)/%_idl.py: $(top_builddir)/idl/salome/%.idl
-       $(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -C$(PYTHON_BUILD_SITE) $<
-
-
-# install python client (generated from idl file
-install: install-pyidl install-idl
-
-# create directory $(idldir) and copy idl files into it
-install-idl: $(IDL_FILES:%=$(top_builddir)/idl/salome/%)
-       $(INSTALL) -d  $(idldir)
-       $(INSTALL_DATA) $^ $(idldir)
-
-
-install-pyidl: $(IDL_FILES:%=$(top_builddir)/idl/salome/%)
-       $(INSTALL) -d  $(PYTHON_SITE_INSTALL)
-       @for file in $^ dummy; do \
-         if [ $$file != "dummy" ]; then \
-           $(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -C$(PYTHON_SITE_INSTALL) $$file ; \
-         fi ; \
-       done ;
-
-#@ CONCLUDE @
-
-cleandep:
-       -$(RM) .dep*
-
-distclean:
-       -$(RM) *.py
-       -$(RM) $(IDL_FILES:%=$(top_builddir)/idl/salome/%)
-       -$(RM) Makefile
-
diff --git a/resources/GEOM.config b/resources/GEOM.config
deleted file mode 100644 (file)
index 6925397..0000000
+++ /dev/null
@@ -1 +0,0 @@
-language=en
\ No newline at end of file
diff --git a/resources/GEOMCatalog.xml b/resources/GEOMCatalog.xml
deleted file mode 100644 (file)
index b1f7194..0000000
+++ /dev/null
@@ -1,4276 +0,0 @@
-<?xml version='1.0' encoding='us-ascii' ?>
-
-<!-- XML component catalog -->
-<begin-catalog>
-
-<!-- Path prefix information -->
-
-<path-prefix-list>
-</path-prefix-list>
-
-<!-- Component list -->
-<component-list>
-    <component>
-        <!-- Component identification -->
-        <component-name>GEOM</component-name>
-        <component-username>Geometry</component-username>
-        <component-type>Geom</component-type>
-        <component-author>NRI</component-author>
-        <component-version>3.0.0</component-version>
-        <component-comment>Geometry component</component-comment>
-        <component-multistudy>1</component-multistudy>
-        <component-icone>ModuleGeom.png</component-icone>
-
-        <!-- component interface list -->
-        <component-interface-list>
-            <!-- component interface identification -->
-            <component-interface-name>GEOM</component-interface-name>
-            <component-interface-comment>No comment</component-interface-comment>
-
-            <!-- Component service list-->
-            <component-service-list>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>Undo</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list></outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>Redo</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list></outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>AddInStudy</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudy</inParameter-name>
-                            <inParameter-type>Study</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                        <inParameter>
-                            <inParameter-name>theObject</inParameter-name>
-                            <inParameter-type>GEOM_Object</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                        <inParameter>
-                            <inParameter-name>theName</inParameter-name>
-                            <inParameter-type>string</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                        <inParameter>
-                            <inParameter-name>theFather</inParameter-name>
-                            <inParameter-type>GEOM_Object</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>SObject</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIBasicOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IBasicOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetITransformOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_ITransformOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetI3DPrimOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_I3DPrimOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIShapesOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IShapesOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIBooleanOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IBooleanOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetICurvesOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_ICurvesOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetILocalOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_ILocalOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIHealingOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IHealingOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIInsertOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IInsertOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIMeasureOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IMeasureOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIBlocksOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IBlocksOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIGroupOperations</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_IGroupOperations</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>RemoveObject</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theObject</inParameter-name>
-                            <inParameter-type>GEOM_Object</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list></outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetObject</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theStudyID</inParameter-name>
-                            <inParameter-type>long</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                        <inParameter>
-                            <inParameter-name>theEntry</inParameter-name>
-                            <inParameter-type>string</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_Object</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>AddSubShape</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theMainShape</inParameter-name>
-                            <inParameter-type>GEOM_Object</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                        <inParameter>
-                            <inParameter-name>theIndices</inParameter-name>
-                            <inParameter-type>ListOfLong</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_Object</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetIORFromString</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>ior</inParameter-name>
-                            <inParameter-type>string</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>GEOM_Object</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-                <component-service>
-                    <!-- service-identification -->
-                    <service-name>GetStringFromIOR</service-name>
-                    <service-author></service-author>
-                    <service-version></service-version>
-                    <service-comment></service-comment>
-                    <service-by-default>1</service-by-default>
-                    <!-- service-connexion -->
-                    <inParameter-list>
-                        <inParameter>
-                            <inParameter-name>theObject</inParameter-name>
-                            <inParameter-type>GEOM_Object</inParameter-type>
-                            <inParameter-comment></inParameter-comment>
-                        </inParameter>
-                    </inParameter-list>
-                    <outParameter-list>
-                        <outParameter>
-                            <outParameter-name>return</outParameter-name>
-                            <outParameter-type>string</outParameter-type>
-                            <outParameter-comment></outParameter-comment>
-                        </outParameter>
-                    </outParameter-list>
-                    <DataStream-list></DataStream-list>
-                </component-service>
-            </component-service-list>
-        </component-interface-list>
-    <constraint>hostname = localhost</constraint>
-    </component>
-     
-    <component>
-            <component-name>GEOM_Superv</component-name>
-            <component-username>GEOM_Superv</component-username>
-            <component-type>OTHER</component-type>
-            <component-author>mkr</component-author>
-            <component-version>3.0.0</component-version>
-            <component-comment>Supervision wrapper for Geometry component</component-comment>
-            <component-multistudy>1</component-multistudy>
-            <component-icone></component-icone>
-            <constraint></constraint>
-            <component-interface-list>
-                <component-interface-name>GEOM_Superv</component-interface-name>
-                <component-interface-comment>unknown</component-interface-comment>
-                <component-service-list>
-                    <component-service>
-                        <service-name>SetStudyID</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theStudyID</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list></outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>CreateListOfGO</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list></inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>AddItemToListOfGO</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theList</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>theList</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>CreateListOfLong</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list></inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>AddItemToListOfLong</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theList</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>theList</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>CreateListOfDouble</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list></inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>AddItemToListOfDouble</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theList</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>theList</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePointXYZ</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePointWithReference</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theReference</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePointOnCurve</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theRefCurve</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theParameter</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeVectorDXDYDZ</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeVectorTwoPnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeLineTwoPnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePlaneThreePnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTrimSize</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePlanePntVec</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVec</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTrimSize</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePlaneFace</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theFace</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTrimSize</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeMarker</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theOX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theOY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theOZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theXDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theXDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theXDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theYDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theYDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theYDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeBox</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theX1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theX2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeBoxDXDYDZ</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeBoxTwoPnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCylinderPntVecRH</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRadius</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theHeight</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCylinderRH</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theH</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSphere</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRadius</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSphereR</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSpherePntR</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeTorusPntVecRR</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVec</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRMajor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRMinor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeTorusRR</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theRMajor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRMinor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeConePntVecR1R2H</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theHeight</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeConeR1R2H</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theR1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theHeight</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePrismVecH</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBase</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVec</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theH</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePrismTwoPnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBase</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePipe</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBase</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePath</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeRevolutionAxisAngle</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBase</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAngle</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFilling</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMinDeg</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMaxDeg</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTol2D</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTol3D</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbIter</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeBoolean</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theShape2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theOperation</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFuse</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theShape2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePartition</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShapes</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTools</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theKeepInside</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRemoveInside</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theLimit</inParameter-name>
-                                <inParameter-type>short</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRemoveWebs</inParameter-name>
-                                <inParameter-type>boolean</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMaterials</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeHalfPartition</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePlane</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theOriginal</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>Export</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFileName</inParameter-name>
-                                <inParameter-type>string</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFormatName</inParameter-name>
-                                <inParameter-type>string</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list></outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>Import</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theFileName</inParameter-name>
-                                <inParameter-type>string</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFormatName</inParameter-name>
-                                <inParameter-type>string</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ImportTranslators</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list></inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>theFormats</outParameter-name>
-                                <outParameter-type>string_array</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                            <outParameter>
-                                <outParameter-name>thePatterns</outParameter-name>
-                                <outParameter-type>string_array</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ExportTranslators</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list></inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>theFormats</outParameter-name>
-                                <outParameter-type>string_array</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                            <outParameter>
-                                <outParameter-name>thePatterns</outParameter-name>
-                                <outParameter-type>string_array</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateTwoPoints</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateTwoPointsCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateDXDYDZ</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateDXDYDZCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateVector</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>TranslateVectorCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MultiTranslate1D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStep</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MultiTranslate2D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStep1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes1</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStep2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes2</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>Rotate</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAngle</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>RotateCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAngle</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MultiRotate1D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MultiRotate2D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAngle</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes1</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStep</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes2</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorPlane</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePlane</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorPlaneCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePlane</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorAxis</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorAxisCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theAxis</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorPoint</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MirrorPointCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>OffsetShape</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theOffset</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>OffsetShapeCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theOffset</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ScaleShape</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFactor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ScaleShapeCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFactor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>PositionShape</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStartLCS</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEndLCS</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>PositionShapeCopy</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theObject</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theStartLCS</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEndLCS</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeEdge</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeWire</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theEdgesAndWires</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFace</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theWire</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>isPlanarWanted</inParameter-name>
-                                <inParameter-type>boolean</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFaceWires</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theWires</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>isPlanarWanted</inParameter-name>
-                                <inParameter-type>boolean</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeShell</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theFacesAndShells</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSolidShell</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShell</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSolidShells</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShells</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCompound</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShapes</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeGlueFaces</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theTolerance</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeExplode</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theShapeType</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>isSorted</inParameter-name>
-                                <inParameter-type>boolean</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>NumberOfFaces</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>NumberOfEdges</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ChangeOrientation</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeQuad4Vertices</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt4</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeQuad</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theEdge1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge4</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeQuad2Edges</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theEdge1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeHexa</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theFace1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace4</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace5</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace6</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeHexa2Faces</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theFace1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetPoint</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theX</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theY</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theZ</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEpsilon</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetEdge</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetEdgeNearPoint</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetFaceByPoints</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint4</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetFaceByEdges</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdge2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetOppositeFace</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBlock</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetFaceNearPoint</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetFaceByNormale</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBlock</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVector</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>IsCompoundOfBlocks</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMinNbFaces</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMaxNbFaces</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                            <outParameter>
-                                <outParameter-name>theNbBlocks</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>CheckCompoundOfBlocks</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                            <outParameter>
-                                <outParameter-name>theErrors</outParameter-name>
-                                <outParameter-type>BCErrors</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>PrintBCErrors</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theErrors</inParameter-name>
-                                <inParameter-type>BCErrors</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>string</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>ExplodeCompoundOfBlocks</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMinNbFaces</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMaxNbFaces</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetBlockNearPoint</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePoint</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetBlockByParts</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theParts</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetBlocksByParts</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCompound</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theParts</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeMultiTransformation1D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBlock</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace1</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace2</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimes</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeMultiTransformation2D</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theBlock</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace1U</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace2U</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimesU</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace1V</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theDirFace2V</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theNbTimesV</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCirclePntVecR</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVec</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeCircleThreePnt</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeEllipse</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theVec</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRMajor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theRMinor</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeArc</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePnt1</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt2</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>thePnt3</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakePolyline</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePoints</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSplineBezier</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePoints</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSplineInterpolation</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>thePoints</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeSketcher</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theCommand</inParameter-name>
-                                <inParameter-type>string</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theWorkingPlane</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFilletAll</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFilletEdges</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theEdges</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeFilletFaces</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theR</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFaces</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeChamferAll</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theD</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeChamferEdge</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theD1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theD2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace1</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFace2</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeChamferFaces</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theD1</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theD2</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theFaces</inParameter-name>
-                                <inParameter-type>GEOM_List</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>MakeArchimede</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theWeight</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theWaterDensity</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theMeshDeflection</inParameter-name>
-                                <inParameter-type>double</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetSubShapeIndex</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theSubShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>CreateGroup</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theMainShape</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theShapeType</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>AddObject</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theGroup</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theSubShapeId</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list></outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>RemoveObject</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theGroup</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                            <inParameter>
-                                <inParameter-name>theSubShapeId</inParameter-name>
-                                <inParameter-type>long</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list></outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetType</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theGroup</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>long</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetMainShape</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theGroup</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_Object</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                    <component-service>
-                        <service-name>GetObjects</service-name>
-                        <service-author>mkr</service-author>
-                        <service-version>2.1.0</service-version>
-                        <service-comment>unknown</service-comment>
-                        <service-by-default>0</service-by-default>
-                        <inParameter-list>
-                            <inParameter>
-                                <inParameter-name>theGroup</inParameter-name>
-                                <inParameter-type>GEOM_Object</inParameter-type>
-                                <inParameter-comment>unknown</inParameter-comment>
-                            </inParameter>
-                        </inParameter-list>
-                        <outParameter-list>
-                            <outParameter>
-                                <outParameter-name>return</outParameter-name>
-                                <outParameter-type>GEOM_List</outParameter-type>
-                                <outParameter-comment>unknown</outParameter-comment>
-                            </outParameter>
-                        </outParameter-list>
-                        <DataStream-list></DataStream-list>
-                    </component-service>
-                </component-service-list>
-            </component-interface-list>
-    </component>
-</component-list>
-</begin-catalog>
diff --git a/resources/GEOMDS_Resources b/resources/GEOMDS_Resources
deleted file mode 100644 (file)
index 06f018f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-formatlist:SALOME_GEOM
-
-SALOME_GEOM.Description: GEOM Document Version 1.0
-SALOME_GEOM.FileExtension: sgd
-SALOME_GEOM.StoragePlugin: ad696000-5b34-11d1-b5ba-00a0c9064368
-SALOME_GEOM.RetrievalPlugin: ad696001-5b34-11d1-b5ba-00a0c9064368
-SALOME_GEOMSchema: ad696002-5b34-11d1-b5ba-00a0c9064368
-SALOME_GEOM.AttributeStoragePlugin: 47b0b826-d931-11d1-b5da-00a0c9064368
-SALOME_GEOM.AttributeRetrievalPlugin: 47b0b827-d931-11d1-b5da-00a0c9064368
-
diff --git a/resources/GEOM_en.xml b/resources/GEOM_en.xml
deleted file mode 100644 (file)
index 01c72ee..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-<?xml version='1.0' encoding='us-ascii'?>
-<!DOCTYPE application PUBLIC "" "desktop.dtd">
-
-<!--  GUI customization for GEOMETRY component  -->
-
-
-<application> <!-- APPLICATION BEGIN  -->
-
-       title="Geometry component"
-       date="2001/12/12"
-       author="Lucien PIGNOLONI"
-       appId="Geometry for Salome">
-
-<desktop>  <!-- DESKTOP BEGIN  -->
-<menubar>  <!-- MENUBAR BEGIN  --> 
-
-
-<!-- ************************* File  (menubar) ************************************** -->
-<menu-item label-id="File" item-id="1" pos-id="1">
-   <popup-item item-id="111" pos-id="8" label-id="Import..." icon-id="" tooltip-id="" accel-id="Ctrl+I" toggle-id="" execute-action=""/>
-   <popup-item item-id="121" pos-id="9" label-id="Export..." icon-id="" tooltip-id="" accel-id="Ctrl+E" toggle-id="" execute-action=""/>
-   <separator pos-id="10"/>
-</menu-item>
-
-<!-- ************************* Edit (menubar) ************************************** -->
-<menu-item label-id="Edit" item-id="3" pos-id="2">
-    <separator pos-id=""/>
-<!--    <popup-item item-id="31" pos-id="3" label-id="Copy" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> -->
-    <popup-item item-id="33" pos-id="" label-id="Delete" icon-id="delete.png" tooltip-id="" accel-id="" toggle-id="" execute-action="" />
-</menu-item>
-
-
-<!-- ************************* New Entity  (menubar) ******************************* -->
-<menu-item label-id="New Entity" item-id="40" pos-id="3">
-   <submenu label-id="Basic" item-id="401" pos-id="1">
-       <popup-item item-id="4011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4012" pos-id="" label-id="Line" icon-id="line.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4013" pos-id="" label-id="Circle" icon-id="circle.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4014" pos-id="" label-id="Ellipse" icon-id="ellipse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4019" pos-id="" label-id="Curve" icon-id="spline.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id="7"/>
-       <popup-item item-id="4016" pos-id="" label-id="Vector" icon-id="vector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4017" pos-id="" label-id="Plane" icon-id="plane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>    
-       <popup-item item-id="4018" pos-id="" label-id="Working Plane" icon-id="planeWorking.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-  <popup-item item-id="4020" pos-id="" label-id="Local coordinate system" icon-id="marker.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Primitives" item-id="402" pos-id="2">
-       <popup-item item-id="4021" pos-id="" label-id="Box" icon-id="box.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4022" pos-id="" label-id="Cylinder" icon-id="cylinder.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4023" pos-id="" label-id="Sphere" icon-id="sphere.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4024" pos-id="" label-id="Torus" icon-id="torus.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-        <popup-item item-id="4025" pos-id="" label-id="Cone" icon-id="cone.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Generation" item-id="403" pos-id="3">
-       <popup-item item-id="4031" pos-id="" label-id="Extrusion" icon-id="prism.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4032" pos-id="" label-id="Revolution" icon-id="revol.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>       
-       <popup-item item-id="4033" pos-id="" label-id="Filling" icon-id="filling.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-       <popup-item item-id="4034" pos-id="" label-id="Pipe creation" icon-id="pipe.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-   </submenu>
-   <endsubmenu />
-   <separator pos-id=""/>
-   <submenu label-id="Group" item-id="405" pos-id="4">
-       <popup-item item-id="800" pos-id="" label-id="Create" icon-id="group_new.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-       <popup-item item-id="801" pos-id="" label-id="Edit" icon-id="group_edit.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   </submenu>
-   <endsubmenu />
-   <separator pos-id=""/>
-
-
-   <submenu label-id="Blocks" item-id="410" pos-id="">
-       <popup-item item-id="9997" pos-id="" label-id="Quadrangle Face" icon-id="build_face.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="9999" pos-id="" label-id="Hexahedral Solid" icon-id="box.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-
-   <separator pos-id=""/>
-
-   <popup-item item-id="404" pos-id="" label-id="Sketch" icon-id="sketch.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="407" pos-id="" label-id="Explode" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <submenu label-id="Build" item-id="408" pos-id="">
-      <popup-item item-id="4081" pos-id="" label-id="Edge" icon-id="build_edge.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4082" pos-id="" label-id="Wire" icon-id="build_wire.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4083" pos-id="" label-id="Face" icon-id="build_face.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4084" pos-id="" label-id="Shell" icon-id="build_shell.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4085" pos-id="" label-id="Solid" icon-id="build_solid.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4086" pos-id="" label-id="Compound" icon-id="build_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-
-</menu-item>
-
-<!-- ************************ Operations  (menubar) *********************************** -->
-<menu-item label-id="Operations" item-id="50" pos-id="4">
-   <submenu label-id="Boolean" item-id="501" pos-id="1">
-      <popup-item item-id="5011" pos-id="" label-id="Fuse" icon-id="fuse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5012" pos-id="" label-id="Common" icon-id="common.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5013" pos-id="" label-id="Cut" icon-id="cut.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5014" pos-id="" label-id="Section" icon-id="section.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Transformation" item-id="502" pos-id="2">
-       <popup-item item-id="5021" pos-id="" label-id="Translation" icon-id="translationVector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5022" pos-id="" label-id="Rotation" icon-id="rotate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5023" pos-id="" label-id="Modify The Location" icon-id="position2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5024" pos-id="" label-id="Mirror image" icon-id="mirrorPlane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5025" pos-id="" label-id="Scale transform" icon-id="scale.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5026" pos-id="" label-id="Offset surface" icon-id="offset.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id=""/>  
-       <popup-item item-id="5027" pos-id="" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5028" pos-id="" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <popup-item item-id="503" pos-id="" label-id="Partition" icon-id="partition.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <popup-item item-id="504" pos-id="" label-id="Archimede" icon-id="archimede.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <separator pos-id=""/>
-   <popup-item item-id="505" pos-id="" label-id="Fillet" icon-id="fillet.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <popup-item item-id="506" pos-id="" label-id="Chamfer" icon-id="chamfer.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <popup-item item-id="507" pos-id="" label-id="Clipping range" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-
-
-   <separator pos-id=""/>
-   <submenu label-id="Blocks" item-id="510" pos-id="">
-       <popup-item item-id="9998" pos-id="" label-id="Multi-transformation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="9995" pos-id="" label-id="Explode on Blocks" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="99991" pos-id="" label-id="Propagate" icon-id="propagate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-
-
-</menu-item>
-
-
-<!-- ************************** Advanced  (menubar) ************************************** -->
-<menu-item label-id="Repair" item-id="60" pos-id="5">
-   <popup-item item-id="605" pos-id="" label-id="Shape processing" icon-id="shapeprocess.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>    
-   <popup-item item-id="603" pos-id="" label-id="Suppress faces" icon-id="supressface.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="606" pos-id="" label-id="Close contour" icon-id="closecontour.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="607" pos-id="" label-id="Suppress internal wires" icon-id="suppressintwires.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="604" pos-id="" label-id="Suppress holes" icon-id="supresshole.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="601" pos-id="" label-id="Sewing" icon-id="sewing.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="602" pos-id="" label-id="Glue faces" icon-id="glue.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="608" pos-id="" label-id="Add point on edge" icon-id="pointonedge.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="609" pos-id="" label-id="Check free boundaries" icon-id="free_bound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="610" pos-id="" label-id="Check free faces" icon-id="free_faces.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-
-<!-- ************************** Mesures  (menubar)  ************************************ -->
-<menu-item label-id="Measures" item-id="70" pos-id="6">
-   <popup-item item-id="708" pos-id="" label-id="Point coordinates" icon-id="point_coord.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="701" pos-id="" label-id="Basic properties" icon-id="basicproperties.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id="4"/>
-   <popup-item item-id="702" pos-id="" label-id="Center of mass" icon-id="centergravity.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="703" pos-id="" label-id="Inertia" icon-id="axisinertia.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id="7"/>
-   <submenu label-id="Dimensions" item-id="704" pos-id="8">
-   <popup-item item-id="7041" pos-id="" label-id="Bounding Box" icon-id="bounding.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="7042" pos-id="" label-id="Min distance" icon-id="mindist.png"  tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <separator pos-id="9"/>
-   <popup-item item-id="705" pos-id="" label-id="Tolerance" icon-id="tolerance.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="706" pos-id="" label-id="Whatis" icon-id="whatis.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="707" pos-id="" label-id="Check" icon-id="check.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="7072" pos-id="" label-id="Check Compound of Blocks" icon-id="check_blocks_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-<!-- ********************************* Tools  (menubar) ************************************ -->
-<menu-item label-id="Tools" item-id="5" pos-id="">
-   <separator pos-id=""/>
-   <popup-item item-id="5103" pos-id="" label-id="Check Geometry" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-<!-- ********************************* Settings  (menubar) ********************************* -->
-<menu-item label-id="Preferences" item-id="4" pos-id="">
-   <submenu label-id="Geometry" item-id="41" pos-id="-1">
-<!--      <popup-item item-id="411" pos-id="" label-id="Name/Store automatic" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-      <separator pos-id=""/> -->
-      <popup-item item-id="412" pos-id="" label-id="Shading Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="413" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="414" pos-id="" label-id="Step value" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   </submenu>
-   <endsubmenu />
-   <separator pos-id="-1"/>
-</menu-item>
-
-<!-- ***************************** View (menubar) ************************************ -->
-<menu-item label-id="View" item-id="2" pos-id="">
-   <separator pos-id=""/>
-   <submenu label-id="Display mode" item-id="21" pos-id="5">
-       <popup-item item-id="211" pos-id="" label-id="Shading" icon-id="shading.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <separator pos-id=""/>
-   <popup-item item-id="212" pos-id="" label-id="Display all" icon-id="displayall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="214" pos-id="" label-id="Erase all" icon-id="eraseall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="216" pos-id="" label-id="Display" icon-id="display.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="213" pos-id="" label-id="Display only" icon-id="displayonly.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="215" pos-id="" label-id="Erase" icon-id="erase.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-
-</menubar> <!-- MENUBAR END  -->
-
-
-<!-- ///////////////////////////////////// TOOLBARS ////////////////////////////////////// -->
-<toolbar label-id="Basic">
-  <toolbutton-item item-id="4011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="Point" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4012" pos-id="" label-id="Line" icon-id="line.png" tooltip-id="Line" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4013" pos-id="" label-id="Circle" icon-id="circle.png" tooltip-id="Circle" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4014" pos-id="" label-id="Ellipse" icon-id="ellipse.png" tooltip-id="Ellipse" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="Arc" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4019" pos-id="" label-id="Curve" icon-id="spline.png" tooltip-id="Curve" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4016" pos-id="" label-id="Vector" icon-id="vector.png" tooltip-id="Vector" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4017" pos-id="" label-id="Plane" icon-id="plane.png" tooltip-id="Plane" accel-id="" toggle-id="" execute-action=""/>       
-  <toolbutton-item item-id="4018" pos-id="" label-id="Working Plane" icon-id="planeWorking.png" tooltip-id="Working Plane" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4020" pos-id="" label-id="Local coordinate system" icon-id="marker.png" tooltip-id="Local coordinate system" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Primitives">
-   <toolbutton-item item-id="4021" label-id="Box" icon-id="box.png" tooltip-id="Box" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4022" label-id="Cylinder" icon-id="cylinder.png" tooltip-id="Cylinder" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4023" label-id="Sphere" icon-id="sphere.png" tooltip-id="Sphere" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4024" label-id="Torus" icon-id="torus.png" tooltip-id="Torus" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4025" label-id="Cone" icon-id="cone.png" tooltip-id="Cone" accel-id="" toggle-id="" execute-action=""/> 
-</toolbar>                                                                                
-
-<toolbar label-id="Ope. Boolean">
-   <toolbutton-item item-id="5011" label-id="Fuse" icon-id="fuse.png" tooltip-id="Fuse two shapes" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5012" label-id="Common" icon-id="common.png" tooltip-id="Common of two shapes" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5013" label-id="Cut" icon-id="cut.png" tooltip-id="Cut first shape with second" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5014" label-id="Section" icon-id="section.png" tooltip-id="Section lines of intersection (2 shapes)" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Generation">
-   <toolbutton-item item-id="4031" label-id="Extrusion" icon-id="prism.png" tooltip-id="Shape construction by extrusion" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4032" label-id="Revolution" icon-id="revol.png" tooltip-id="Shape construction by revolution" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4033" label-id="Filling" icon-id="filling.png" tooltip-id="Generation by filling" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4034" label-id="Pipe creation" icon-id="pipe.png" tooltip-id="Pipe mode generation" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Transformation">
-   <toolbutton-item item-id="5021" label-id="Translation" icon-id="translationVector.png" tooltip-id="Translate a shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5022" label-id="Rotation" icon-id="rotate.png" tooltip-id="Rotate a shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5023" label-id="Location" icon-id="position2.png" tooltip-id="Modify The Location" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5024" label-id="Mirror image" icon-id="mirrorPlane.png" tooltip-id="Mirror a shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5025" label-id="Scale transform" icon-id="scale.png" tooltip-id="Scale a shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5026" label-id="Offset surface" icon-id="offset.png" tooltip-id="Offset surface" accel-id="" toggle-id="" execute-action=""/>
-   <separatorTB/>
-   <toolbutton-item item-id="5027" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="Multi-translate a shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5028" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="Multi-rotate a shape" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-
-<!-- ################################# POPUP MENU #################################  -->
-<popupmenu label-id="Popup for Viewer" context-id="" parent-id="Viewer" object-id="Shape">
-   <popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <submenu label-id="Display Mode" item-id="803" pos-id="6">
-      <popup-item item-id="80311" pos-id="" label-id="Wireframe" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="80312" pos-id="" label-id="Shading" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <popup-item item-id="8032" pos-id="" label-id="Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8033" pos-id="" label-id="Transparency" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8034" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-<popupmenu label-id="Popup for Viewer" context-id="" parent-id="Viewer" object-id="Group">
-   <popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <submenu label-id="Display Mode" item-id="803" pos-id="6">
-      <popup-item item-id="80311" pos-id="" label-id="Wireframe" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="80312" pos-id="" label-id="Shading" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <popup-item item-id="8032" pos-id="" label-id="Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8033" pos-id="" label-id="Transparency" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8034" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-<popupmenu label-id="Popup for Viewer" context-id="" parent-id="Viewer" object-id="">
-   <popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <submenu label-id="Display Mode" item-id="803" pos-id="6">
-      <popup-item item-id="80311" pos-id="" label-id="Wireframe" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="80312" pos-id="" label-id="Shading" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <popup-item item-id="8032" pos-id="" label-id="Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8033" pos-id="" label-id="Transparency" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="8034" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-<popupmenu label-id="Popup for ObjectBrowser" context-id="" parent-id="ObjectBrowser" object-id="Shape">
-   <popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="800" pos-id="" label-id="Create Group" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-<popupmenu label-id="Popup for ObjectBrowser" context-id="" parent-id="ObjectBrowser" object-id="Group">
-   <popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="801" pos-id="" label-id="Edit" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-</desktop>      <!--   DESKTOP END    -->  
-</application>  <!-- APPLICATION END  -->
diff --git a/resources/GEOM_fr.xml b/resources/GEOM_fr.xml
deleted file mode 100644 (file)
index 8c925b6..0000000
+++ /dev/null
@@ -1,256 +0,0 @@
-<?xml version='1.0' encoding='us-ascii'?>
-<!DOCTYPE application PUBLIC "" "desktop.dtd">
-
-<!--  GUI customization for GEOMETRY component  -->
-
-<application> <!-- APPLICATION BEGIN  -->
-
-       title="Geometry component"
-       date="2001/12/12"
-       author="Lucien PIGNOLONI"
-       appId="Geometry for Salome">
-
-<desktop>  <!-- DESKTOP BEGIN  -->
-<menubar>  <!-- MENUBAR BEGIN  --> 
-
-
-<!-- ************************* File  (menubar) ************************************** -->
-<menu-item label-id="Fichier" item-id="1" pos-id="1">
-   <submenu label-id="Importer" item-id="11" pos-id="8">
-       <popup-item item-id="111" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="Ctrl+Alt+B" toggle-id="" execute-action=""/>
-       <popup-item item-id="112" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="Ctrl+Alt+I" toggle-id="" execute-action=""/>
-       <popup-item item-id="113" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="Ctrl+Alt+S" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Exporter" item-id="12" pos-id="9">
-       <popup-item item-id="121" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="Ctrl+Shift+B" toggle-id="" execute-action=""/>
-       <popup-item item-id="122" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="Ctrl+Shift+I" toggle-id="" execute-action=""/>
-       <popup-item item-id="123" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="Ctrl+Shift+S" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <separator pos-id="10"/>
-</menu-item>
-
-<!-- ************************* Edit (menubar) ************************************** -->
-<menu-item label-id="Edition" item-id="3" pos-id="2">
-    <separator pos-id=""/>
-<!--    <popup-item item-id="31" pos-id="3" label-id="Copier" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> -->
-    <popup-item item-id="33" pos-id="" label-id="Supprimer" icon-id="delete.png" tooltip-id="" accel-id="" toggle-id="" execute-action="" />
-</menu-item>
-
-<!-- ************************* New Entity  (menubar) ******************************* -->
-<menu-item label-id="Nouvelle entité" item-id="40" pos-id="3">
-   <submenu label-id="Construction basique" item-id="401" pos-id="1">
-       <popup-item item-id="4011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4012" pos-id="" label-id="Ligne" icon-id="line.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4013" pos-id="" label-id="Cercle" icon-id="circle.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4014" pos-id="" label-id="Ellipse" icon-id="ellipse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id="6"/>
-       <popup-item item-id="4016" pos-id="" label-id="Vecteur" icon-id="vector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4017" pos-id="" label-id="Plan" icon-id="plane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4018" pos-id="" label-id="Plan de travail" icon-id="planeWorking.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Primitives" item-id="402" pos-id="2">
-      <popup-item item-id="4021" pos-id="" label-id="Boite" icon-id="box.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="4022" pos-id="" label-id="Cylindre" icon-id="cylinder.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="4023" pos-id="" label-id="Sphère" icon-id="sphere.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="4024" pos-id="" label-id="Tore" icon-id="torus.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="4025" pos-id="" label-id="Cone" icon-id="cone.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Generation" item-id="403" pos-id="3">
-       <popup-item item-id="4031" pos-id="" label-id="Extrusion" icon-id="prism.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4032" pos-id="" label-id="Revolution" icon-id="revol.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>       
-       <popup-item item-id="4033" pos-id="" label-id="Filling" icon-id="filling.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-       <popup-item item-id="4034" pos-id="" label-id="Pipe" icon-id="pipe.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-   </submenu>
-   <endsubmenu />
-   <separator pos-id=""/>
-   <popup-item item-id="404" pos-id="" label-id="Sketch" icon-id="sketch.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="406" pos-id="" label-id="Spline" icon-id="spline.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="407" pos-id="" label-id="Exploser" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <submenu label-id="Construction" item-id="408" pos-id="">
-      <popup-item item-id="4081" pos-id="" label-id="Edge" icon-id="build_edge.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4082" pos-id="" label-id="Wire" icon-id="build_wire.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4083" pos-id="" label-id="Face" icon-id="build_face.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>   
-       <popup-item item-id="4084" pos-id="" label-id="Shell" icon-id="build_shell.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4085" pos-id="" label-id="Solid" icon-id="build_solid.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="4086" pos-id="" label-id="Compound" icon-id="build_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-</menu-item>
-
-
-<!-- ************************ Operations  (menubar) *********************************** -->
-<menu-item label-id="Opérations" item-id="50" pos-id="4">
-   <submenu label-id="Booléennes" item-id="501" pos-id="1">
-      <popup-item item-id="5011" pos-id="" label-id="Union" icon-id="fuse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5012" pos-id="" label-id="Commun" icon-id="common.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5013" pos-id="" label-id="Couper" icon-id="cut.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="5014" pos-id="" label-id="Section" icon-id="section.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <submenu label-id="Transformation" item-id="502" pos-id="2">
-       <popup-item item-id="5021" pos-id="" label-id="Translation" icon-id="translationVector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5022" pos-id="" label-id="Rotation" icon-id="rotate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5023" pos-id="" label-id="Location" icon-id="position2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5024" pos-id="" label-id="Symétrie" icon-id="mirrorPlane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5025" pos-id="" label-id="Facteur d'échelle" icon-id="scale.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> 
-       <popup-item item-id="5026" pos-id="" label-id="Offset surface(MZN: translate)" icon-id="offset.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id=""/>
-       <popup-item item-id="5027" pos-id="" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="5028" pos-id="" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <popup-item item-id="503" pos-id="" label-id="Partition" icon-id="partition.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <popup-item item-id="504" pos-id="" label-id="Archimede" icon-id="archimede.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <separator pos-id=""/>
-   <popup-item item-id="505" pos-id="" label-id="Congé" icon-id="fillet.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <popup-item item-id="506" pos-id="" label-id="Chanfrein" icon-id="chamfer.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>  
-   <separator pos-id=""/>
-   <submenu label-id="Blocks" item-id="510" pos-id="">
-       <popup-item item-id="9998" pos-id="" label-id="Multi-transformation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="9995" pos-id="" label-id="Explode on Blocks" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="99991" pos-id="" label-id="Propagate" icon-id="propagate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-</menu-item>
-
-
-<!-- ************************** Advanced  (menubar) ************************************** -->
-<menu-item label-id="Avancé" item-id="60" pos-id="5">
-   <popup-item item-id="601" pos-id="" label-id="Couture" icon-id="sewing.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="602" pos-id="" label-id="Orientation" icon-id="orientation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="603" pos-id="" label-id="Suppression de faces" icon-id="supressface.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="604" pos-id="" label-id="Suppression de trou" icon-id="supresshole.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="610" pos-id="" label-id="Check free faces" icon-id="free_faces.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-
-<!-- ************************** Mesures  (menubar)  ************************************ -->
-<menu-item label-id="Mesures" item-id="70" pos-id="6">
-   <popup-item item-id="701" pos-id="" label-id="Fondamentales" icon-id="linear.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id="4"/>
-   <popup-item item-id="702" pos-id="" label-id="Centre de gravité" icon-id="centergravity.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="703" pos-id="" label-id="Axes d'inertie" icon-id="axisinertia.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id="7"/>
-   <submenu label-id="Dimensions" item-id="704" pos-id="8">
-      <popup-item item-id="7041" pos-id="" label-id="Boite englobante" icon-id="bounding.png"  tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="7042" pos-id="" label-id="Distance minimale" icon-id="mindist.png"  tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <separator pos-id="9"/>
-   <popup-item item-id="705" pos-id="" label-id="Tolérance" icon-id="tolerance.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="706" pos-id="" label-id="Whatis" icon-id="whatis.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="707" pos-id="" label-id="Check" icon-id="check.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <popup-item item-id="7072" pos-id="" label-id="Check Compound of Blocks" icon-id="check_blocks_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
- </menu-item>
-
-<!-- ********************************* Tools  (menubar) ************************************ -->
-<menu-item label-id="Outils" item-id="5" pos-id="">
-   <separator pos-id=""/>
-   <popup-item item-id="5103" pos-id="" label-id="Check Géométrie" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</menu-item>
-
-<!-- ********************************* Settings         (menubar) ********************************* -->
-<menu-item label-id="Préférences" item-id="4" pos-id="">
-   <submenu label-id="Géométry" item-id="41" pos-id="-1">
-      <popup-item item-id="411" pos-id="" label-id="Nommer/Ranger automatiquement" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <separator pos-id=""/>
-      <popup-item item-id="412" pos-id="" label-id="Couleur" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="413" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-      <popup-item item-id="414" pos-id="" label-id="Valeur d'increment" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>     
-   </submenu>
-   <endsubmenu />
-   <separator pos-id="-1"/>
-</menu-item>
-
-<!-- ***************************** View (menubar) ************************************ -->
-<menu-item label-id="Affichage" item-id="2" pos-id="">
-   <submenu label-id="Mode d'affichage" item-id="21" pos-id="5">
-       <popup-item item-id="211" pos-id="" label-id="Ombré" icon-id="shading.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id=""/>
-       <popup-item item-id="212" pos-id="" label-id="Afficher tout" icon-id="displayall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="213" pos-id="" label-id="Afficher seulement" icon-id="display.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="214" pos-id="" label-id="Effacer tout" icon-id="eraseall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="215" pos-id="" label-id="Effacer seulement" icon-id="erase.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-</menu-item>
-
-</menubar> <!-- MENUBAR END  -->
-
-
-<!-- ///////////////////////////////////// TOOLBARS ////////////////////////////////////// -->
-<toolbar label-id="Construction basique">
-  <toolbutton-item item-id="4011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="Point" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4012" pos-id="" label-id="Ligne" icon-id="line.png" tooltip-id="Ligne" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4013" pos-id="" label-id="Cercle" icon-id="circle.png" tooltip-id="Cercle" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4014" pos-id="" label-id="Ellipse" icon-id="ellipse.png" tooltip-id="Ellipse" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="Arc" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4016" pos-id="" label-id="Vecteur" icon-id="vector.png" tooltip-id="Vecteur" accel-id="" toggle-id="" execute-action=""/>
-  <toolbutton-item item-id="4017" pos-id="" label-id="Plan" icon-id="plane.png" tooltip-id="Plan" accel-id="" toggle-id="" execute-action=""/>         
-  <toolbutton-item item-id="4018" pos-id="" label-id="Plan de travail" icon-id="planeWorking.png" tooltip-id="Plan de travail" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Primitives">
-   <toolbutton-item item-id="4021" label-id="Boite" icon-id="box.png" tooltip-id="Construction d'une boite" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4022" label-id="Cylindre" icon-id="cylinder.png" tooltip-id="Construction d'un cylindre" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4023" label-id="Sphère" icon-id="sphere.png" tooltip-id="Construction d'une sphère" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4024" label-id="Tore" icon-id="torus.png" tooltip-id="Construction d'un tore" accel-id="" toggle-id="" execute-action=""/> 
-   <toolbutton-item item-id="4025" label-id="Cone" icon-id="cone.png" tooltip-id="Cone" accel-id="" toggle-id="" execute-action=""/> 
-</toolbar>
-
-<toolbar label-id="Opé. Booléennes">
-   <toolbutton-item item-id="5011" label-id="Union" icon-id="fuse.png" tooltip-id="Union de deux shapes" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5012" label-id="Commun" icon-id="common.png" tooltip-id="Partie commune entre deux shapes" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5013" label-id="Couper" icon-id="cut.png" tooltip-id="Coupe la première shape par la seconde" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5014" label-id="Section" icon-id="section.png" tooltip-id="Section entre deux shapes" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Construction">
-   <toolbutton-item item-id="4031" label-id="Extrusion" icon-id="prism.png" tooltip-id="Shape construite par extrusion" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4032" label-id="Révolution" icon-id="revol.png" tooltip-id="Shape construite par révolution" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4033" label-id="Filling" icon-id="filling.png" tooltip-id="Generation by filling" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="4034" label-id="Pipe" icon-id="pipe.png" tooltip-id="Pipe mode generation" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-<toolbar label-id="Transformation">
-   <toolbutton-item item-id="5021" label-id="Translation" icon-id="translationVector.png" tooltip-id="Translation d'une shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5022" label-id="Rotation" icon-id="rotate.png" tooltip-id="Rotation d'une shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5023" label-id="Location" icon-id="position2.png" tooltip-id="Mise en position" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5024" label-id="Symétrie" icon-id="mirrorPlane.png" tooltip-id="Symétrie" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5025" label-id="Facteur d'échelle" icon-id="scale.png" tooltip-id="Facteur d'échelle" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5026" label-id="Offset surface(MZN:translate)" icon-id="offset.png" tooltip-id="Offset surface" accel-id="" toggle-id="" execute-action=""/>
-   <separatorTB/>
-   <toolbutton-item item-id="5027" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="Multi-translation d'une shape" accel-id="" toggle-id="" execute-action=""/>
-   <toolbutton-item item-id="5028" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="Multi-rotation d'une shape" accel-id="" toggle-id="" execute-action=""/>
-</toolbar>
-
-
-<!-- ################################# POPUP MENU #################################  -->
-<popupmenu label-id="Menu contextuel du Viewer" context-id="" parent-id="Viewer" object-id="">
-   <submenu label-id="Propriétés" item-id="803" pos-id="6">
-       <popup-item item-id="8031" pos-id="" label-id="Filaire/Ombré" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <separator pos-id=""/>
-       <popup-item item-id="8032" pos-id="" label-id="Couleur" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="8033" pos-id="" label-id="Transparence" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-       <popup-item item-id="8034" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   </submenu>
-   <endsubmenu />
-   <separator pos-id=""/>
-   <popup-item item-id="804" pos-id="" label-id="Ajouter dans l'étude" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-<popupmenu label-id="Menu contextuel" context-id="" parent-id="ObjectBrowser" object-id="">
-   <popup-item item-id="9024" pos-id="" label-id="Ouverture" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-   <separator pos-id=""/>
-   <popup-item item-id="901" pos-id="" label-id="Renommer" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
-</popupmenu>
-
-</desktop>     <!--   DESKTOP END    -->
-</application> <!-- APPLICATION END  -->
diff --git a/resources/ImportExport b/resources/ImportExport
deleted file mode 100644 (file)
index 574e0e2..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Import: BREP|IGES|STEP
-Export: BREP|IGES|STEP
-
-BREP.Import: libBREPImport.so
-BREP.Export: libBREPExport.so
-BREP.Pattern: BREP Files ( *.brep )
-
-IGES.Import: libIGESImport.so
-IGES.Export: libIGESExport.so
-IGES.Pattern: IGES Files ( *.iges *.igs )
-
-STEP.Import: libSTEPImport.so
-STEP.Export: libSTEPExport.so
-STEP.Pattern: STEP Files ( *.step *.stp )
diff --git a/resources/ModuleGeom.png b/resources/ModuleGeom.png
deleted file mode 100644 (file)
index 4cf6099..0000000
Binary files a/resources/ModuleGeom.png and /dev/null differ
diff --git a/resources/ShHealing b/resources/ShHealing
deleted file mode 100644 (file)
index 087f7a0..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-
-!--------------------------------------------------------------------
-! Parameters for Shape Healing
-!--------------------------------------------------------------------
-
-ShapeProcess.exec.op : FixShape,FixFaceSize,DropSmallEdges,SameParameter
-
-ShapeProcess.SplitAngle.Angle                          : 3.1415928
-ShapeProcess.SplitAngle.MaxTolerance                   : 0.1
-ShapeProcess.SplitAngle.SegmentSurfaceMode             : 1
-
-ShapeProcess.SplitClosedFaces.NbSplitPoints            : 1
-ShapeProcess.SplitClosedFaces.CloseTolerance           : 0.05
-ShapeProcess.SplitClosedFaces.MaxTolerance             : 0.1
-ShapeProcess.SplitClosedFaces.SegmentSurfaceMode       : 1
-
-ShapeProcess.FixFaceSize.Tolerance                     : 0.05
-
-ShapeProcess.DropSmallEdges.Tolerance3d                : 0.05
-
-ShapeProcess.BSplineRestriction.SurfaceMode            : 1
-ShapeProcess.BSplineRestriction.Curve3dMode            : 1
-ShapeProcess.BSplineRestriction.Curve2dMode            : 1
-ShapeProcess.BSplineRestriction.OffsetSurfaceMode      : 1
-ShapeProcess.BSplineRestriction.OffsetCurve3dMode      : 1
-ShapeProcess.BSplineRestriction.OffsetCurve2dMode      : 1
-ShapeProcess.BSplineRestriction.LinearExtrusionMode    : 1
-ShapeProcess.BSplineRestriction.RevolutionMode         : 1
-ShapeProcess.BSplineRestriction.Tolerance3d            : 1e-3
-ShapeProcess.BSplineRestriction.Tolerance2d            : 1e-5
-ShapeProcess.BSplineRestriction.Continuity3d           : C1
-ShapeProcess.BSplineRestriction.Continuity2d           : C1
-ShapeProcess.BSplineRestriction.RequiredDegree         : 15
-ShapeProcess.BSplineRestriction.RequiredNbSegments     : 100
-ShapeProcess.BSplineRestriction.PreferDegree           : 1
-ShapeProcess.BSplineRestriction.RationalToPolynomial   : 1
-ShapeProcess.BSplineRestriction.MaxDegree              : 15
-ShapeProcess.BSplineRestriction.MaxNbSegments          : 10000
-ShapeProcess.BSplineRestriction.SegmentSurfaceMode     : 1
-ShapeProcess.BSplineRestriction.ConvCurve3dMode        : 0
-ShapeProcess.BSplineRestriction.ConvCurve2dMode        : 0
-ShapeProcess.BSplineRestriction.PlaneMode              : 0
-ShapeProcess.BSplineRestriction.BezierMode             : 0
-
-ShapeProcess.SplitContinuity.Tolerance3d               :1.e-3
-ShapeProcess.SplitContinuity.SurfaceContinuity         :C0
-ShapeProcess.SplitContinuity.CurveContinuity           :C1
-
-ShapeProcess.ToBezier.EdgeMode                         : 0
-ShapeProcess.ToBezier.SurfaceMode                      : 0
-ShapeProcess.ToBezier.PlaneMode                                : 1
-ShapeProcess.ToBezier.RevolutionMode                   : 1
-ShapeProcess.ToBezier.ExtrusionMode                    : 1
-ShapeProcess.ToBezier.BSplineMode                      : 1
-ShapeProcess.ToBezier.Curve3dMode                      : 1
-ShapeProcess.ToBezier.Curve2dMode                      : 1
-ShapeProcess.ToBezier.Line3dMode                       : 1
-ShapeProcess.ToBezier.Circle3dMode                     : 1
-ShapeProcess.ToBezier.Conic3dMode                      : 1
-ShapeProcess.ToBezier.MaxTolerance                     : 0.1
-ShapeProcess.ToBezier.SegmentSurfaceMode               : 1
-ShapeProcess.ToBezier.MinCurveLength                   : 0.05
-
-ShapeProcess.FixShape.Tolerance3d                      : 1.e-7
-ShapeProcess.FixShape.MaxTolerance3d                   : 1
-ShapeProcess.FixShape.MinTolerance3d                   : 1.e-7
-ShapeProcess.FixShape.FixFreeShellMode                 : -1
-ShapeProcess.FixShape.FixFreeFaceMode                  : -1
-ShapeProcess.FixShape.FixFreeWireMode                  : -1
-ShapeProcess.FixShape.FixSameParameterMode             : -1
-ShapeProcess.FixShape.FixSolidMode                     : -1
-ShapeProcess.FixShape.FixShellMode                     : -1
-ShapeProcess.FixShape.FixFaceMode                      : -1
-ShapeProcess.FixShape.FixWireMode                      : -1
-ShapeProcess.FixShape.FixOrientationMode               : -1
-ShapeProcess.FixShape.FixMissingSeamMode               : -1
-ShapeProcess.FixShape.FixSmallAreaWireMode             : -1
-ShapeProcess.FixShape.ModifyTopologyMode               : 0
-ShapeProcess.FixShape.ModifyGeometryMode               : 1
-ShapeProcess.FixShape.ClosedWireMode                   : 1
-ShapeProcess.FixShape.PreferencePCurveMode             : 1
-ShapeProcess.FixShape.FixReorderMode                   : -1
-ShapeProcess.FixShape.FixSmallMode                     : -1
-ShapeProcess.FixShape.FixConnectedMode                 : -1
-ShapeProcess.FixShape.FixEdgeCurvesMode                        : -1
-ShapeProcess.FixShape.FixDegeneratedMode               : -1
-ShapeProcess.FixShape.FixLackingMode                   : -1
-ShapeProcess.FixShape.FixSelfIntersectionMode          : -1
-ShapeProcess.FixShape.FixReversed2dMode                        : -1
-ShapeProcess.FixShape.FixRemovePCurveMode              : -1
-ShapeProcess.FixShape.FixRemoveCurve3dMode             : -1
-ShapeProcess.FixShape.FixAddPCurveMode                 : -1
-ShapeProcess.FixShape.FixAddCurve3dMode                        : -1
-ShapeProcess.FixShape.FixSeamMode                      : -1
-ShapeProcess.FixShape.FixShiftedMode                   : -1
-ShapeProcess.FixShape.FixEdgeSameParameterMode         : 0
-ShapeProcess.FixShape.FixSelfIntersectingEdgeMode      : -1
-ShapeProcess.FixShape.FixIntersectingEdgesMode         : -1
-ShapeProcess.FixShape.FixNonAdjacentIntersectingEdgesMode : -1
-ShapeProcess.FixShape.FixIntersectingWiresMode         : -1
-ShapeProcess.FixShape.FixLoopWiresMode                 : -1
-ShapeProcess.FixShape.CreateOpenSolidMode               :0
-
-ShapeProcess.SameParameter.Force                        : 0
-ShapeProcess.SameParameter.Tolerance3d                 : 1.e-7
-
-!===========================================================================
-! Description of parameters for Operations
-!===========================================================================
-! .MaxTolerance                        : Maximal tolerance for comparing curves, points which is 
-!                                        used by splitting tools. The tools that are used this 
-!                                        parameter are the following: SplitAngle, SplitClosedFaces,
-!                                        ToBezier. This value should be the same for all tools in 
-!                                         one sequence. To redefine default value uncomment 
-!                                         appropriate line in each operator.
-! .SegmentSurfaceMode                  : Mode for limiting surface by UV boundaries of face that
-!                                        is based on this surface. If flag is 1 the surface is
-!                                        limited. This mode is used by splitting tools (SplitAngle, 
-!                                         SplitClosedFaces, ToBezier). This value should be the same
-!                                        for all tools in one sequence. To redefine default value
-!                                        uncomment appropriate line in each operator.
-! BSplineRestriction                   : Approximation of general B-Spline and Bezier with particular B-Spline
-! BSplineRestriction.ConvCurve3dMode    : Mode of conversion of any 3D curve to BSpline and approximation,
-! BSplineRestriction.ConvCurve2dMode    : Mode of conversion of any 2D curve to BSpline and approximation,
-! BSplineRestriction.PlaneMode         : Mode of conversion of Geom_Plane to BSpline surface,
-! BSplineRestriction.BezierMode                : Mode of conversion of Besier surface to BSpline and approximation,
-! BSplineRestriction.SurfaceMode       : Mode of approximation of surfaces if restriction is necessary, yes/no
-! BSplineRestriction.Curve3dMode       : Mode of approximation of 3D curves if restriction is necessary, yes/no 
-! BSplineRestriction.Curve2dMode       : Mode of approximation of 2D curves if restriction is necessary, yes/no
-! BSplineRestriction.OffsetSurfaceMode  : Mode of conversion of offset surfaces to BSpline surface, yes/no
-!                                      : Yes - surface is converted to BSpline surface
-!                                      : No - basis surface is processed but offset surface is kept.
-!                                      : This mode acts if BSplineRestriction.SurfaceMode is yes.
-! BSplineRestriction.LinearExtrusionMode: Mode of conversion of linear extrusion surfaces to BSpline surface, yes/no
-!                                      : Yes - surface is converted to BSpline surface
-!                                      : No - basis curve is processed but extrusion surface is kept.
-!                                      : This mode acts if BSplineRestriction.SurfaceMode is yes.
-! BSplineRestriction.RevolutionMode     : Mode of conversion surfaces of revolution to BSpline surface, yes/no
-!                                      : Yes - surface is converted to BSpline surface
-!                                      : No - basis curve is processed but revolution surface is kept.
-!                                       : This mode acts if BSplineRestriction.SurfaceMode is yes.
-! BSplineRestriction.OffsetCurve3dMode  : Mode of conversion of 3d offset curves to BSpline curves, yes/no
-!                                      : Yes - curve is converted to BSpline curve
-!                                      : No - basis curve is processed but offset curve is kept.
-!                                      : This mode acts if BSplineRestriction.Curve3dMode is yes.
-! BSplineRestriction.OffsetCurve2dMode  : Mode of conversion of 2d offset curves to BSpline curves, yes/no
-!                                      : Yes - curve is converted to BSpline curve
-!                                      : No - basis curve is processed but offset curve is kept.
-!                                      : This mode acts if BSplineRestriction.Curve2dMode is yes.
-! BSplineRestriction.Tolerance3d       : Tolerance of 3D approximation
-! BSplineRestriction.Tolerance2d       : Tolerance of 2D approximation
-! BSplineRestriction.Continuity3d      : Required continuity of 3D geometry
-! BSplineRestriction.Continuity2d      : Required continuity of 2D geometry
-! BSplineRestriction.RequiredDegree    : Required degree of B-Spline 
-! BSplineRestriction.RequiredNbSegments        : Required maximum number of segments of B-Spline
-! BSplineRestriction.PreferDegree      : Preference between requirement to degree and maximum number of segments, true/false
-! BSplineRestriction.RationalToPolynomial: Mode of conversion of rational B-Spline to polynomial, yes/no
-! BSplineRestriction.MaxDegree                 : Maximum allowed degree of B-Spline
-! BSplineRestriction.MaxNbSegments     : Maximum allowed number of segments in a B-Spline
-
-! DirectFaces                          : Conversion of elementary surface in left-handed coordinate system into right-handed
-! no parameters
-
-! ElementaryToRevolution               : Conversion of elementary revolutive surface into general surface of revolution
-! no parameters
-
-! SameParameter                                : Conversion of edge to be SameRange and SameParameter
-! SameParameter.Force                  : Mode of forced invoking, true/false
-! SameParameter.Tolerance3d            : 3D tolerance
-
-! SplitAngle                           : Split revolutive surface (elementary and general) into several surfaces
-! SplitAngle.Angle                     : Maximum angle of revolution, radian
-
-! SplitClosedFaces                     : Split faces that have seam-edge or geometrically closed on closed surface.
-! SplitClosedFaces.NbSplitPoints        : Number of cuttings (number of resulting faces will be NbSplitPoints+1)
-! SplitClosedFaces.CloseTolerance       : Precision to define geometric closure.
-
-! SplitContinuity                      : Correction or split shapes to have speicified continuity
-! SplitContinuity.Tolerance3d          : 3D tolerance for correction of geometry
-! SplitContinuity.SurfaceContinuity    : Required continuity for surfaces
-! SplitContinuity.CurveContinuity      : Required continuity for curves
-
-! ToBezier                             : Conversion of geometry into Bezier
-! ToBezier.SurfaceMode                 : Mode of conversion of surfaces, yes/no
-! ToBezier.PlaneMode                   : Mode of conversion of Planes,yes/no. This mode acts if SurfaceMode is yes.
-! ToBezier.RevolutionMode              : Mode of conversion of Surfaces of Revolution (generatrix to bezier), yes/no.
-!                                        This mode acts if SurfaceMode is yes.
-! ToBezier.ExtrusionMode               : Mode of conversion of Surfaces of Extrusion (whole surface not only generatrix), yes/no.
-!                                        This mode acts if SurfaceMode is yes.
-! ToBezier.BSplineMode                 : Mode of conversion of BSpline Surfaces, yes/no. This mode acts if SurfaceMode is yes.
-! ToBezier.EdgeMode                    : Mode of translation edges (0- Free,1 - Shared,2- Both)
-!                                      : .Default - Free. Acts on translation curves 3d . 
-|                                      : If it is 0 (Free) that only free edges are taken into
-!                                      : account for translation 3d curves,
-!                                      : if it is 1 (Shared) that only shared edges are taken into
-!                                      : account for translation 3d curves,
-!                                      : if it is 2 (Both) that all edges are taken into
-!                                      : account for translation 3d curves,
-! ToBezier.Curve3dMode                 : Mode of conversion 3D curves, yes/no
-! ToBezier.Curve2dMode                 : Mode of conversion 2D curves, yes/no
-! ToBezier.Line3dMode                  : Mode of conversion 3D lines, yes/no
-! ToBezier.Circle3dMode                        : Mode of conversion 3D circles, yes/no
-! ToBezier.Conic3dMode                 : Mode of conversion 3D conics, yes/no
-! ToBezier.MinCurveLength              : Min length of created curves 3d.( default 0.05)
-
-
-! FixFaceSize                           : Removing small faces
-! FixFaceSize.Tolerance                 : Tolerance in 3d
-
-! DropSmallEdges                        : Eliminate small edges by removing or merging with neighbour
-! DropSmallEdges.Tolerance3d            : Tolerance (3d)
-
-! FixShape.Tolerance3d                 : Tolerance (3d) for fixing of shape.
-! FixShape.MaxTolerance3d              : Maximal possible value of increasing of tolerance during fixing.
-! FixShape.MinTolerance3d              : Minimal value of tolerance.
-! FixShape.FixFreeShellMode            : Mode for fixing free shells in the shape (default - -1, yes - 1 , no - 0).
-! FixShape.FixFreeFaceMode             : Mode for fixing free faces in the shape (default - -1, yes - 1 , no - 0).  
-! FixShape.FixFreeWireMode             : Mode for fixing free wires in the shape (default - -1, yes - 1 , no - 0).
-! FixShape.FixSameParameterMode                : Mode for fixing same parameter on the whole shape (default - -1, yes - 1 , no - 0).
-! FixShape.FixSolidMode                        : Mode for fixing solids (default - -1, yes - 1 , no - 0).
-! FixShape.FixShellMode                        : Mode for fixing shells (default - -1, yes - 1 , no - 0).
-! FixShape.FixFaceMode                 : Mode for fixing faces (default - -1, yes - 1 , no - 0).
-! FixShape.FixWireMode                 : Mode for fixing wires (default - -1, yes - 1 , no - 0).
-! FixShape.FixOrientationMode          : Mode for fixing face orientation (default - -1, yes - 1 , no - 0).
-! FixShape.FixMissingSeamMode          : Mode for fixing face missing seam (default - -1, yes - 1 , no - 0).
-! FixShape.FixSmallAreaWireMode                : Mode for fixing small area wires (default - -1, yes - 1 , no - 0).
-! FixShape.ModifyTopologyMode          : Mode allowing of modifing of topology (default - 0, yes - 1 , no - 0).
-! FixShape.ModifyGeometryMode          : Mode allowing of modifing of geometry (default - 1, yes - 1 , no - 0).
-! FixShape.ClosedWireMode              : Mode defining whether the wire is to be closed. (default - 1, yes - 1 , no - 0).
-! FixShape.PreferencePCurveMode                : Mode defining of preference of 2d representation (default - 1, yes - 1 , no - 0). 
-! FixShape.FixReorderMode              : Mode for fixing of order of the edges in the wire (default - -1, yes - 1 , no - 0).
-! FixShape.FixSmallMode                        : Mode for removing of the small edges from the wire in the case when 
-!                                      : ModifyTopologyMode equaled "yes" (default - -1, yes - 1 , no - 0).
-! FixShape.FixConnectedMode            : Mode for fixing of connecting of edges in the wire(default - -1, yes - 1 , no - 0).
-! FixShape.FixEdgeCurvesMode           : Moge for fixing each edge from the wire (default - -1, yes - 1 , no - 0).
-! FixShape.FixDegeneratedMode          : Moge for fixing cases of degenerate pcurve (default - -1, yes - 1 , no - 0).
-! FixShape.FixLackingMode              : Moge for fixing cases of lacking edge (default - -1, yes - 1 , no - 0).
-! FixShape.FixSelfIntersectionMode     : Mode for fixing of cases self-intersection of wire (default - -1, yes - 1 , no - 0).
-! FixShape.FixReversed2dMode           : Mode for fixing cases when pcurve is opposite curve3d (default - -1, yes - 1 , no - 0).
-! FixShape.FixRemovePCurveMode         : Mode for removing of pcurves from edges (default - -1, yes - 1 , no - 0).
-! FixShape.FixRemoveCurve3dMode                : Mode for removing of 3d curves from edges (default - -1, yes - 1 , no - 0).
-! FixShape.FixAddPCurveMode            : Mode for adding pcurves of the edges if missing (default - -1, yes - 1 , no - 0).
-! FixShape.FixAddCurve3dMode           : Mode for adding curves 3d of the edges if missing (default - -1, yes - 1 , no - 0).
-! FixShape.FixSeamMode                 : Mode for fixing cases of seam edges.
-! FixShape.FixShiftedMode              : Mode for fixing cases when pcurves can be shifted on period on the closed surface
-!                                        (default - -1, yes - 1 , no - 0). 
-! FixShape.FixEdgeSameParameterMode    : Mode for fixing same parameter for each edge (default - -1, yes - 1 , no - 0).
-! FixShape.FixSelfIntersectingEdgeMode : Mode for fixing cases self-intrsection edge (default - -1, yes - 1 , no - 0).
-! FixShape.FixIntersectingEdgesMode    : Mode for fixing intersection adjacent edges.
-! FixShape.FixNonAdjacentIntersectingEdgesMode : Mode for fixing intersection non-adjacent edges.
-!
diff --git a/resources/arc.png b/resources/arc.png
deleted file mode 100644 (file)
index 03aef73..0000000
Binary files a/resources/arc.png and /dev/null differ
diff --git a/resources/archimede.png b/resources/archimede.png
deleted file mode 100644 (file)
index 8760ada..0000000
Binary files a/resources/archimede.png and /dev/null differ
diff --git a/resources/axisinertia.png b/resources/axisinertia.png
deleted file mode 100644 (file)
index 22f1a96..0000000
Binary files a/resources/axisinertia.png and /dev/null differ
diff --git a/resources/basicproperties.png b/resources/basicproperties.png
deleted file mode 100644 (file)
index 3b72b8d..0000000
Binary files a/resources/basicproperties.png and /dev/null differ
diff --git a/resources/bezier.png b/resources/bezier.png
deleted file mode 100644 (file)
index 2629a2b..0000000
Binary files a/resources/bezier.png and /dev/null differ
diff --git a/resources/block_2f.png b/resources/block_2f.png
deleted file mode 100644 (file)
index cd3b492..0000000
Binary files a/resources/block_2f.png and /dev/null differ
diff --git a/resources/block_6f.png b/resources/block_6f.png
deleted file mode 100644 (file)
index 877add1..0000000
Binary files a/resources/block_6f.png and /dev/null differ
diff --git a/resources/block_face_2e.png b/resources/block_face_2e.png
deleted file mode 100644 (file)
index 5d70484..0000000
Binary files a/resources/block_face_2e.png and /dev/null differ
diff --git a/resources/block_face_4e.png b/resources/block_face_4e.png
deleted file mode 100644 (file)
index c81fa4a..0000000
Binary files a/resources/block_face_4e.png and /dev/null differ
diff --git a/resources/block_face_4v.png b/resources/block_face_4v.png
deleted file mode 100644 (file)
index 24f5c65..0000000
Binary files a/resources/block_face_4v.png and /dev/null differ
diff --git a/resources/block_multitrsf_double.png b/resources/block_multitrsf_double.png
deleted file mode 100644 (file)
index a148c71..0000000
Binary files a/resources/block_multitrsf_double.png and /dev/null differ
diff --git a/resources/block_multitrsf_simple.png b/resources/block_multitrsf_simple.png
deleted file mode 100644 (file)
index 7efa632..0000000
Binary files a/resources/block_multitrsf_simple.png and /dev/null differ
diff --git a/resources/bounding.png b/resources/bounding.png
deleted file mode 100644 (file)
index 7d55637..0000000
Binary files a/resources/bounding.png and /dev/null differ
diff --git a/resources/box.png b/resources/box.png
deleted file mode 100644 (file)
index ac562fc..0000000
Binary files a/resources/box.png and /dev/null differ
diff --git a/resources/box2points.png b/resources/box2points.png
deleted file mode 100644 (file)
index 8fe9367..0000000
Binary files a/resources/box2points.png and /dev/null differ
diff --git a/resources/boxdxyz.png b/resources/boxdxyz.png
deleted file mode 100644 (file)
index c84482a..0000000
Binary files a/resources/boxdxyz.png and /dev/null differ
diff --git a/resources/build_compound.png b/resources/build_compound.png
deleted file mode 100644 (file)
index 82591b7..0000000
Binary files a/resources/build_compound.png and /dev/null differ
diff --git a/resources/build_edge.png b/resources/build_edge.png
deleted file mode 100644 (file)
index 877c1f7..0000000
Binary files a/resources/build_edge.png and /dev/null differ
diff --git a/resources/build_face.png b/resources/build_face.png
deleted file mode 100644 (file)
index 5f12c70..0000000
Binary files a/resources/build_face.png and /dev/null differ
diff --git a/resources/build_shell.png b/resources/build_shell.png
deleted file mode 100644 (file)
index fc13a46..0000000
Binary files a/resources/build_shell.png and /dev/null differ
diff --git a/resources/build_solid.png b/resources/build_solid.png
deleted file mode 100644 (file)
index 14b8958..0000000
Binary files a/resources/build_solid.png and /dev/null differ
diff --git a/resources/build_wire.png b/resources/build_wire.png
deleted file mode 100644 (file)
index ca881f8..0000000
Binary files a/resources/build_wire.png and /dev/null differ
diff --git a/resources/centergravity.png b/resources/centergravity.png
deleted file mode 100644 (file)
index 8f76214..0000000
Binary files a/resources/centergravity.png and /dev/null differ
diff --git a/resources/chamfer.png b/resources/chamfer.png
deleted file mode 100644 (file)
index ccea754..0000000
Binary files a/resources/chamfer.png and /dev/null differ
diff --git a/resources/chamferall.png b/resources/chamferall.png
deleted file mode 100644 (file)
index c90b674..0000000
Binary files a/resources/chamferall.png and /dev/null differ
diff --git a/resources/chamferedge.png b/resources/chamferedge.png
deleted file mode 100644 (file)
index e8d5ccd..0000000
Binary files a/resources/chamferedge.png and /dev/null differ
diff --git a/resources/chamferface.png b/resources/chamferface.png
deleted file mode 100644 (file)
index 4e3f36b..0000000
Binary files a/resources/chamferface.png and /dev/null differ
diff --git a/resources/check.png b/resources/check.png
deleted file mode 100644 (file)
index fe4a73b..0000000
Binary files a/resources/check.png and /dev/null differ
diff --git a/resources/check_blocks_compound.png b/resources/check_blocks_compound.png
deleted file mode 100644 (file)
index 8196d7e..0000000
Binary files a/resources/check_blocks_compound.png and /dev/null differ
diff --git a/resources/circle.png b/resources/circle.png
deleted file mode 100644 (file)
index b040939..0000000
Binary files a/resources/circle.png and /dev/null differ
diff --git a/resources/circle3points.png b/resources/circle3points.png
deleted file mode 100644 (file)
index a14c41b..0000000
Binary files a/resources/circle3points.png and /dev/null differ
diff --git a/resources/circlepointvector.png b/resources/circlepointvector.png
deleted file mode 100644 (file)
index 8cd0e4a..0000000
Binary files a/resources/circlepointvector.png and /dev/null differ
diff --git a/resources/closecontour.png b/resources/closecontour.png
deleted file mode 100644 (file)
index 9ab62f9..0000000
Binary files a/resources/closecontour.png and /dev/null differ
diff --git a/resources/common.png b/resources/common.png
deleted file mode 100644 (file)
index ead31c8..0000000
Binary files a/resources/common.png and /dev/null differ
diff --git a/resources/cone.png b/resources/cone.png
deleted file mode 100644 (file)
index a150f54..0000000
Binary files a/resources/cone.png and /dev/null differ
diff --git a/resources/conedxyz.png b/resources/conedxyz.png
deleted file mode 100755 (executable)
index f8ab8e2..0000000
Binary files a/resources/conedxyz.png and /dev/null differ
diff --git a/resources/conepointvector.png b/resources/conepointvector.png
deleted file mode 100644 (file)
index b727f53..0000000
Binary files a/resources/conepointvector.png and /dev/null differ
diff --git a/resources/coordsys.png b/resources/coordsys.png
deleted file mode 100755 (executable)
index 823b377..0000000
Binary files a/resources/coordsys.png and /dev/null differ
diff --git a/resources/cut.png b/resources/cut.png
deleted file mode 100644 (file)
index 4370b7c..0000000
Binary files a/resources/cut.png and /dev/null differ
diff --git a/resources/cylinder.png b/resources/cylinder.png
deleted file mode 100644 (file)
index 3981e4c..0000000
Binary files a/resources/cylinder.png and /dev/null differ
diff --git a/resources/cylinderdxyz.png b/resources/cylinderdxyz.png
deleted file mode 100755 (executable)
index fa84a2e..0000000
Binary files a/resources/cylinderdxyz.png and /dev/null differ
diff --git a/resources/cylinderpointvector.png b/resources/cylinderpointvector.png
deleted file mode 100644 (file)
index 524074a..0000000
Binary files a/resources/cylinderpointvector.png and /dev/null differ
diff --git a/resources/delete.png b/resources/delete.png
deleted file mode 100644 (file)
index 8ae8475..0000000
Binary files a/resources/delete.png and /dev/null differ
diff --git a/resources/display.png b/resources/display.png
deleted file mode 100644 (file)
index 6028075..0000000
Binary files a/resources/display.png and /dev/null differ
diff --git a/resources/displayall.png b/resources/displayall.png
deleted file mode 100644 (file)
index b2f001d..0000000
Binary files a/resources/displayall.png and /dev/null differ
diff --git a/resources/displayonly.png b/resources/displayonly.png
deleted file mode 100644 (file)
index 6028075..0000000
Binary files a/resources/displayonly.png and /dev/null differ
diff --git a/resources/ellipse.png b/resources/ellipse.png
deleted file mode 100755 (executable)
index 1d6f199..0000000
Binary files a/resources/ellipse.png and /dev/null differ
diff --git a/resources/ellipsepointvector.png b/resources/ellipsepointvector.png
deleted file mode 100755 (executable)
index 1d6f199..0000000
Binary files a/resources/ellipsepointvector.png and /dev/null differ
diff --git a/resources/erase.png b/resources/erase.png
deleted file mode 100644 (file)
index 7f21be7..0000000
Binary files a/resources/erase.png and /dev/null differ
diff --git a/resources/eraseall.png b/resources/eraseall.png
deleted file mode 100644 (file)
index 3173050..0000000
Binary files a/resources/eraseall.png and /dev/null differ
diff --git a/resources/fillet.png b/resources/fillet.png
deleted file mode 100644 (file)
index d5af8ae..0000000
Binary files a/resources/fillet.png and /dev/null differ
diff --git a/resources/filletall.png b/resources/filletall.png
deleted file mode 100644 (file)
index c90b674..0000000
Binary files a/resources/filletall.png and /dev/null differ
diff --git a/resources/filletedge.png b/resources/filletedge.png
deleted file mode 100644 (file)
index e8d5ccd..0000000
Binary files a/resources/filletedge.png and /dev/null differ
diff --git a/resources/filletface.png b/resources/filletface.png
deleted file mode 100644 (file)
index 4e3f36b..0000000
Binary files a/resources/filletface.png and /dev/null differ
diff --git a/resources/filling.png b/resources/filling.png
deleted file mode 100644 (file)
index eaa725c..0000000
Binary files a/resources/filling.png and /dev/null differ
diff --git a/resources/free_bound.png b/resources/free_bound.png
deleted file mode 100755 (executable)
index 15b634a..0000000
Binary files a/resources/free_bound.png and /dev/null differ
diff --git a/resources/free_faces.png b/resources/free_faces.png
deleted file mode 100644 (file)
index aa13084..0000000
Binary files a/resources/free_faces.png and /dev/null differ
diff --git a/resources/fuse.png b/resources/fuse.png
deleted file mode 100644 (file)
index d71f7d1..0000000
Binary files a/resources/fuse.png and /dev/null differ
diff --git a/resources/geometry.png b/resources/geometry.png
deleted file mode 100644 (file)
index 86746f0..0000000
Binary files a/resources/geometry.png and /dev/null differ
diff --git a/resources/glue.png b/resources/glue.png
deleted file mode 100644 (file)
index 8c9a151..0000000
Binary files a/resources/glue.png and /dev/null differ
diff --git a/resources/group_edit.png b/resources/group_edit.png
deleted file mode 100644 (file)
index 24f2736..0000000
Binary files a/resources/group_edit.png and /dev/null differ
diff --git a/resources/group_new.png b/resources/group_new.png
deleted file mode 100644 (file)
index 1ccac8f..0000000
Binary files a/resources/group_new.png and /dev/null differ
diff --git a/resources/interpol.png b/resources/interpol.png
deleted file mode 100644 (file)
index 0fe35f2..0000000
Binary files a/resources/interpol.png and /dev/null differ
diff --git a/resources/line.png b/resources/line.png
deleted file mode 100644 (file)
index f5a295c..0000000
Binary files a/resources/line.png and /dev/null differ
diff --git a/resources/line2points.png b/resources/line2points.png
deleted file mode 100644 (file)
index f5a295c..0000000
Binary files a/resources/line2points.png and /dev/null differ
diff --git a/resources/lineedge.png b/resources/lineedge.png
deleted file mode 100644 (file)
index 66a8d5e..0000000
Binary files a/resources/lineedge.png and /dev/null differ
diff --git a/resources/linepointvector.png b/resources/linepointvector.png
deleted file mode 100644 (file)
index 054bc84..0000000
Binary files a/resources/linepointvector.png and /dev/null differ
diff --git a/resources/marker.png b/resources/marker.png
deleted file mode 100644 (file)
index e9da636..0000000
Binary files a/resources/marker.png and /dev/null differ
diff --git a/resources/marker2.png b/resources/marker2.png
deleted file mode 100644 (file)
index 4755c79..0000000
Binary files a/resources/marker2.png and /dev/null differ
diff --git a/resources/marker3.png b/resources/marker3.png
deleted file mode 100644 (file)
index 835ea28..0000000
Binary files a/resources/marker3.png and /dev/null differ
diff --git a/resources/mindist.png b/resources/mindist.png
deleted file mode 100644 (file)
index 9ec01ae..0000000
Binary files a/resources/mindist.png and /dev/null differ
diff --git a/resources/mirrorAxe.png b/resources/mirrorAxe.png
deleted file mode 100644 (file)
index 6b69016..0000000
Binary files a/resources/mirrorAxe.png and /dev/null differ
diff --git a/resources/mirrorPlane.png b/resources/mirrorPlane.png
deleted file mode 100644 (file)
index edbb4f2..0000000
Binary files a/resources/mirrorPlane.png and /dev/null differ
diff --git a/resources/mirrorPoint.png b/resources/mirrorPoint.png
deleted file mode 100644 (file)
index cdffc17..0000000
Binary files a/resources/mirrorPoint.png and /dev/null differ
diff --git a/resources/multirotation.png b/resources/multirotation.png
deleted file mode 100644 (file)
index 612ba7c..0000000
Binary files a/resources/multirotation.png and /dev/null differ
diff --git a/resources/multirotationdouble.png b/resources/multirotationdouble.png
deleted file mode 100644 (file)
index a148c71..0000000
Binary files a/resources/multirotationdouble.png and /dev/null differ
diff --git a/resources/multirotationsimple.png b/resources/multirotationsimple.png
deleted file mode 100644 (file)
index 7efa632..0000000
Binary files a/resources/multirotationsimple.png and /dev/null differ
diff --git a/resources/multitranslation.png b/resources/multitranslation.png
deleted file mode 100644 (file)
index 7d0e54b..0000000
Binary files a/resources/multitranslation.png and /dev/null differ
diff --git a/resources/multitranslationdouble.png b/resources/multitranslationdouble.png
deleted file mode 100644 (file)
index 3d7b91d..0000000
Binary files a/resources/multitranslationdouble.png and /dev/null differ
diff --git a/resources/multitranslationsimple.png b/resources/multitranslationsimple.png
deleted file mode 100644 (file)
index a33c9cf..0000000
Binary files a/resources/multitranslationsimple.png and /dev/null differ
diff --git a/resources/offset.png b/resources/offset.png
deleted file mode 100644 (file)
index 6ce1561..0000000
Binary files a/resources/offset.png and /dev/null differ
diff --git a/resources/orientation.png b/resources/orientation.png
deleted file mode 100644 (file)
index bd0954c..0000000
Binary files a/resources/orientation.png and /dev/null differ
diff --git a/resources/partition.png b/resources/partition.png
deleted file mode 100644 (file)
index ccc0b8d..0000000
Binary files a/resources/partition.png and /dev/null differ
diff --git a/resources/partitionkeep.png b/resources/partitionkeep.png
deleted file mode 100644 (file)
index 2fc91e0..0000000
Binary files a/resources/partitionkeep.png and /dev/null differ
diff --git a/resources/partitionplane.png b/resources/partitionplane.png
deleted file mode 100644 (file)
index 96e8d66..0000000
Binary files a/resources/partitionplane.png and /dev/null differ
diff --git a/resources/pipe.png b/resources/pipe.png
deleted file mode 100755 (executable)
index 494a846..0000000
Binary files a/resources/pipe.png and /dev/null differ
diff --git a/resources/plane.png b/resources/plane.png
deleted file mode 100644 (file)
index eb538d0..0000000
Binary files a/resources/plane.png and /dev/null differ
diff --git a/resources/plane3points.png b/resources/plane3points.png
deleted file mode 100644 (file)
index d5b5d45..0000000
Binary files a/resources/plane3points.png and /dev/null differ
diff --git a/resources/planeWorking.png b/resources/planeWorking.png
deleted file mode 100644 (file)
index d64aad9..0000000
Binary files a/resources/planeWorking.png and /dev/null differ
diff --git a/resources/planedxyz.png b/resources/planedxyz.png
deleted file mode 100644 (file)
index 409d7e8..0000000
Binary files a/resources/planedxyz.png and /dev/null differ
diff --git a/resources/planeface.png b/resources/planeface.png
deleted file mode 100644 (file)
index 2ab9ec6..0000000
Binary files a/resources/planeface.png and /dev/null differ
diff --git a/resources/planepointvector.png b/resources/planepointvector.png
deleted file mode 100644 (file)
index 7db7fb2..0000000
Binary files a/resources/planepointvector.png and /dev/null differ
diff --git a/resources/planeworkingface.png b/resources/planeworkingface.png
deleted file mode 100644 (file)
index 4eb8bd4..0000000
Binary files a/resources/planeworkingface.png and /dev/null differ
diff --git a/resources/planeworkingorigin.png b/resources/planeworkingorigin.png
deleted file mode 100644 (file)
index 14370a3..0000000
Binary files a/resources/planeworkingorigin.png and /dev/null differ
diff --git a/resources/planeworkingvector.png b/resources/planeworkingvector.png
deleted file mode 100644 (file)
index 3ae81b6..0000000
Binary files a/resources/planeworkingvector.png and /dev/null differ
diff --git a/resources/point2.png b/resources/point2.png
deleted file mode 100644 (file)
index ae02c47..0000000
Binary files a/resources/point2.png and /dev/null differ
diff --git a/resources/point3.png b/resources/point3.png
deleted file mode 100644 (file)
index 53d5bab..0000000
Binary files a/resources/point3.png and /dev/null differ
diff --git a/resources/point_coord.png b/resources/point_coord.png
deleted file mode 100644 (file)
index ae02c47..0000000
Binary files a/resources/point_coord.png and /dev/null differ
diff --git a/resources/pointonedge.png b/resources/pointonedge.png
deleted file mode 100755 (executable)
index 50bab61..0000000
Binary files a/resources/pointonedge.png and /dev/null differ
diff --git a/resources/polyline.png b/resources/polyline.png
deleted file mode 100644 (file)
index 6e21c6b..0000000
Binary files a/resources/polyline.png and /dev/null differ
diff --git a/resources/position.png b/resources/position.png
deleted file mode 100644 (file)
index 5c308d7..0000000
Binary files a/resources/position.png and /dev/null differ
diff --git a/resources/position2.png b/resources/position2.png
deleted file mode 100644 (file)
index 12f4a0a..0000000
Binary files a/resources/position2.png and /dev/null differ
diff --git a/resources/prism.png b/resources/prism.png
deleted file mode 100644 (file)
index fdbe72e..0000000
Binary files a/resources/prism.png and /dev/null differ
diff --git a/resources/propagate.png b/resources/propagate.png
deleted file mode 100644 (file)
index c3ff01c..0000000
Binary files a/resources/propagate.png and /dev/null differ
diff --git a/resources/redo.png b/resources/redo.png
deleted file mode 100644 (file)
index ac72e5c..0000000
Binary files a/resources/redo.png and /dev/null differ
diff --git a/resources/revol.png b/resources/revol.png
deleted file mode 100644 (file)
index 887d640..0000000
Binary files a/resources/revol.png and /dev/null differ
diff --git a/resources/rotate.png b/resources/rotate.png
deleted file mode 100644 (file)
index fccff20..0000000
Binary files a/resources/rotate.png and /dev/null differ
diff --git a/resources/scale.png b/resources/scale.png
deleted file mode 100644 (file)
index 4c89872..0000000
Binary files a/resources/scale.png and /dev/null differ
diff --git a/resources/section.png b/resources/section.png
deleted file mode 100644 (file)
index 4a2b782..0000000
Binary files a/resources/section.png and /dev/null differ
diff --git a/resources/select1.png b/resources/select1.png
deleted file mode 100644 (file)
index a1a4ee1..0000000
Binary files a/resources/select1.png and /dev/null differ
diff --git a/resources/sewing.png b/resources/sewing.png
deleted file mode 100644 (file)
index 5da9eaa..0000000
Binary files a/resources/sewing.png and /dev/null differ
diff --git a/resources/shading.png b/resources/shading.png
deleted file mode 100755 (executable)
index 11ca268..0000000
Binary files a/resources/shading.png and /dev/null differ
diff --git a/resources/shapeprocess.png b/resources/shapeprocess.png
deleted file mode 100644 (file)
index d9fa256..0000000
Binary files a/resources/shapeprocess.png and /dev/null differ
diff --git a/resources/sketch.png b/resources/sketch.png
deleted file mode 100644 (file)
index 683ec72..0000000
Binary files a/resources/sketch.png and /dev/null differ
diff --git a/resources/sphere.png b/resources/sphere.png
deleted file mode 100644 (file)
index 335570e..0000000
Binary files a/resources/sphere.png and /dev/null differ
diff --git a/resources/spheredxyz.png b/resources/spheredxyz.png
deleted file mode 100644 (file)
index 2eb4404..0000000
Binary files a/resources/spheredxyz.png and /dev/null differ
diff --git a/resources/spherepoint.png b/resources/spherepoint.png
deleted file mode 100644 (file)
index 9474100..0000000
Binary files a/resources/spherepoint.png and /dev/null differ
diff --git a/resources/spline.png b/resources/spline.png
deleted file mode 100644 (file)
index 0fe35f2..0000000
Binary files a/resources/spline.png and /dev/null differ
diff --git a/resources/subblock.png b/resources/subblock.png
deleted file mode 100755 (executable)
index 6c75aa4..0000000
Binary files a/resources/subblock.png and /dev/null differ
diff --git a/resources/subshape.png b/resources/subshape.png
deleted file mode 100755 (executable)
index 6c75aa4..0000000
Binary files a/resources/subshape.png and /dev/null differ
diff --git a/resources/suppressintwires.png b/resources/suppressintwires.png
deleted file mode 100644 (file)
index 9ab62f9..0000000
Binary files a/resources/suppressintwires.png and /dev/null differ
diff --git a/resources/supressHolesOnFaceShell.png b/resources/supressHolesOnFaceShell.png
deleted file mode 100755 (executable)
index 3587939..0000000
Binary files a/resources/supressHolesOnFaceShell.png and /dev/null differ
diff --git a/resources/supressface.png b/resources/supressface.png
deleted file mode 100644 (file)
index 9ab62f9..0000000
Binary files a/resources/supressface.png and /dev/null differ
diff --git a/resources/supresshole.png b/resources/supresshole.png
deleted file mode 100755 (executable)
index 071790c..0000000
Binary files a/resources/supresshole.png and /dev/null differ
diff --git a/resources/tolerance.png b/resources/tolerance.png
deleted file mode 100644 (file)
index fd75ba4..0000000
Binary files a/resources/tolerance.png and /dev/null differ
diff --git a/resources/torus.png b/resources/torus.png
deleted file mode 100644 (file)
index b4585cd..0000000
Binary files a/resources/torus.png and /dev/null differ
diff --git a/resources/torusdxyz.png b/resources/torusdxyz.png
deleted file mode 100755 (executable)
index 8b6c79b..0000000
Binary files a/resources/torusdxyz.png and /dev/null differ
diff --git a/resources/toruspointvector.png b/resources/toruspointvector.png
deleted file mode 100644 (file)
index 843d71a..0000000
Binary files a/resources/toruspointvector.png and /dev/null differ
diff --git a/resources/translation.png b/resources/translation.png
deleted file mode 100644 (file)
index 78e6f90..0000000
Binary files a/resources/translation.png and /dev/null differ
diff --git a/resources/translationDxyz.png b/resources/translationDxyz.png
deleted file mode 100644 (file)
index 99549ed..0000000
Binary files a/resources/translationDxyz.png and /dev/null differ
diff --git a/resources/translationPoints.png b/resources/translationPoints.png
deleted file mode 100644 (file)
index 9474b11..0000000
Binary files a/resources/translationPoints.png and /dev/null differ
diff --git a/resources/translationVector.png b/resources/translationVector.png
deleted file mode 100644 (file)
index 78e6f90..0000000
Binary files a/resources/translationVector.png and /dev/null differ
diff --git a/resources/tree_block.png b/resources/tree_block.png
deleted file mode 100644 (file)
index aa74e79..0000000
Binary files a/resources/tree_block.png and /dev/null differ
diff --git a/resources/tree_compound.png b/resources/tree_compound.png
deleted file mode 100644 (file)
index 1dd78eb..0000000
Binary files a/resources/tree_compound.png and /dev/null differ
diff --git a/resources/tree_compsolid.png b/resources/tree_compsolid.png
deleted file mode 100644 (file)
index 87ec868..0000000
Binary files a/resources/tree_compsolid.png and /dev/null differ
diff --git a/resources/tree_edge.png b/resources/tree_edge.png
deleted file mode 100644 (file)
index df9741d..0000000
Binary files a/resources/tree_edge.png and /dev/null differ
diff --git a/resources/tree_face.png b/resources/tree_face.png
deleted file mode 100644 (file)
index e9dc9a8..0000000
Binary files a/resources/tree_face.png and /dev/null differ
diff --git a/resources/tree_group_edge.png b/resources/tree_group_edge.png
deleted file mode 100644 (file)
index 214be93..0000000
Binary files a/resources/tree_group_edge.png and /dev/null differ
diff --git a/resources/tree_group_face.png b/resources/tree_group_face.png
deleted file mode 100644 (file)
index debb48d..0000000
Binary files a/resources/tree_group_face.png and /dev/null differ
diff --git a/resources/tree_group_solid.png b/resources/tree_group_solid.png
deleted file mode 100644 (file)
index d685883..0000000
Binary files a/resources/tree_group_solid.png and /dev/null differ
diff --git a/resources/tree_group_vertex.png b/resources/tree_group_vertex.png
deleted file mode 100644 (file)
index 553a4b9..0000000
Binary files a/resources/tree_group_vertex.png and /dev/null differ
diff --git a/resources/tree_lcs.png b/resources/tree_lcs.png
deleted file mode 100644 (file)
index 853d47e..0000000
Binary files a/resources/tree_lcs.png and /dev/null differ
diff --git a/resources/tree_shape.png b/resources/tree_shape.png
deleted file mode 100644 (file)
index 0ece93b..0000000
Binary files a/resources/tree_shape.png and /dev/null differ
diff --git a/resources/tree_shell.png b/resources/tree_shell.png
deleted file mode 100644 (file)
index 59992de..0000000
Binary files a/resources/tree_shell.png and /dev/null differ
diff --git a/resources/tree_solid.png b/resources/tree_solid.png
deleted file mode 100644 (file)
index aa74e79..0000000
Binary files a/resources/tree_solid.png and /dev/null differ
diff --git a/resources/tree_vertex.png b/resources/tree_vertex.png
deleted file mode 100644 (file)
index 6a112b5..0000000
Binary files a/resources/tree_vertex.png and /dev/null differ
diff --git a/resources/tree_wire.png b/resources/tree_wire.png
deleted file mode 100644 (file)
index 9416d0e..0000000
Binary files a/resources/tree_wire.png and /dev/null differ
diff --git a/resources/undo.png b/resources/undo.png
deleted file mode 100644 (file)
index 61b1977..0000000
Binary files a/resources/undo.png and /dev/null differ
diff --git a/resources/vector.png b/resources/vector.png
deleted file mode 100644 (file)
index 9a1a7e8..0000000
Binary files a/resources/vector.png and /dev/null differ
diff --git a/resources/vector2points.png b/resources/vector2points.png
deleted file mode 100644 (file)
index ff58a8a..0000000
Binary files a/resources/vector2points.png and /dev/null differ
diff --git a/resources/vectordxyz.png b/resources/vectordxyz.png
deleted file mode 100644 (file)
index e37e015..0000000
Binary files a/resources/vectordxyz.png and /dev/null differ
diff --git a/resources/whatis.png b/resources/whatis.png
deleted file mode 100644 (file)
index 1b39f35..0000000
Binary files a/resources/whatis.png and /dev/null differ
diff --git a/src/ARCHIMEDE/Archimede_VolumeSection.cxx b/src/ARCHIMEDE/Archimede_VolumeSection.cxx
deleted file mode 100644 (file)
index 9558be9..0000000
+++ /dev/null
@@ -1,409 +0,0 @@
-//  GEOM ARCHIMEDE : algorithm implementation
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Archimede_VolumeSection.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include <Standard_OStream.hxx>
-
-#include "Archimede_VolumeSection.hxx"
-#include "utilities.h"
-
-#include <BRepMesh_IncrementalMesh.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopLoc_Location.hxx>
-#include <Poly_Triangulation.hxx>
-#include <Poly_Array1OfTriangle.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shape.hxx>
-#include <math_Matrix.hxx>
-#include <math.h>
-#include <GC_MakePlane.hxx>
-#include <stdlib.h>
-#include <gp_Trsf.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Ax1.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pln.hxx>
-
-#include <GeomAPI_ProjectPointOnSurf.hxx>
-#include <Geom_RectangularTrimmedSurface.hxx>
-
-//------------------------------------------------------------------------------------------------------- 
-//----------------------------------- Methodes publiques -------------------------------------------------
-//------------------------------------------------------------------------------------------------------- 
-
-//  Maillage de la shape
-VolumeSection::VolumeSection(TopoDS_Shape S , Standard_Real Precision):myShape(S),Tolerance(Precision)
-{
-  // Maillage de la shape myShape
-  BRepMesh_IncrementalMesh(myShape,Tolerance);
-}
-
-TopoDS_Shape VolumeSection::GetShape()
-{
-  return myShape;
-}
-
-void VolumeSection::SetPlane(Handle (Geom_Plane) P)
-{
-  myPlane = P;
-}
-
-void VolumeSection::CenterOfGravity()
-{
-  Standard_Integer i;
-  Standard_Integer nbNodes;
-  TopExp_Explorer ex;
-  TopLoc_Location L;
-  
-  // Boucle sur les faces de la shape
-  
-  Xmin = 1000000000;
-  Ymin = 1000000000;
-  Zmin = 1000000000;
-  Xmax = -1000000000;
-  Ymax = -1000000000;
-  Zmax = -1000000000;
-  
-  for (ex.Init(myShape, TopAbs_FACE); ex.More(); ex.Next()) 
-    {
-      TopoDS_Face F = TopoDS::Face(ex.Current());
-      Handle(Poly_Triangulation) Tr = BRep_Tool::Triangulation(F, L);
-      if(Tr.IsNull())
-       MESSAGE("Error, null layer" )
-      nbNodes = Tr->NbNodes();
-      const TColgp_Array1OfPnt& Nodes = Tr->Nodes();
-      
-      // Calcul des dimensions de la boite englobante du solide
-      
-      for(i=1;i<=nbNodes;i++)
-       {
-         InitPoint = Nodes(i).Transformed(L.Transformation());
-         if(InitPoint.X() < Xmin)
-           Xmin = InitPoint.X();
-         if(InitPoint.X() > Xmax)
-           Xmax = InitPoint.X();
-         if(InitPoint.Y() < Ymin)
-           Ymin = InitPoint.Y();
-         if(InitPoint.Y() > Ymax)
-           Ymax = InitPoint.Y();
-         if(InitPoint.Z() < Zmin)
-           Zmin = InitPoint.Z();
-         if(InitPoint.Z() > Zmax)
-           Zmax = InitPoint.Z();
-         
-       }
-    }
-  
-  // Creation du point d'initialisation, c'est \80 dire le centre de gravit\89 
-  //g\89om\89trique de la boite englobante
-  
-  InitPoint.SetX(0.5 * (Xmin + Xmax));
-  InitPoint.SetY(0.5 * (Ymin + Ymax));
-  InitPoint.SetZ(0);
-}
-
-Standard_Real VolumeSection::CalculateVolume(Standard_Real Elevation)
-{
-  Standard_Integer i,noeud[3],flag[3];
-  Standard_Integer nbNodes;
-  TopExp_Explorer ex;
-  TopLoc_Location L;
-  Standard_Real z[3];
-  Standard_Real Volume=0;
-  Standard_Real Determinant=0;
-  gp_Pnt P[3];
-  
-  // Projection du point d'initialisation sur le plan de section
-  
-  InitPoint.SetZ(Elevation);
-
-  for (ex.Init(myShape, TopAbs_FACE); ex.More(); ex.Next()) 
-    {
-      TopoDS_Face F = TopoDS::Face(ex.Current());
-      Handle(Poly_Triangulation) Tr = BRep_Tool::Triangulation(F, L);
-      if(Tr.IsNull())
-       MESSAGE("Error, null layer" )
-      const Poly_Array1OfTriangle& triangles = Tr->Triangles();
-      Standard_Integer nbTriangles = Tr->NbTriangles();
-      nbNodes = Tr->NbNodes();
-      const TColgp_Array1OfPnt& Nodes = Tr->Nodes();
-      
-      // Calcul des volumes de chaque triangle, de chaque face 
-      //en tenant compte des triangles coup\89s par le plan de section
-      
-      for (i=1;i<=nbTriangles;i++) 
-       {
-         Determinant=0;
-         //Gardons la meme orientation des noeuds
-         if (F.Orientation()  == TopAbs_REVERSED)
-           triangles(i).Get(noeud[0], noeud[2], noeud[1]);
-         else 
-           triangles(i).Get(noeud[0], noeud[1], noeud[2]);
-         
-          P[0] = Nodes(noeud[0]).Transformed(L.Transformation());
-         z[0] = P[0].Z();
-         P[1] = Nodes(noeud[1]).Transformed(L.Transformation());
-         z[1] = P[1].Z();
-          P[2] = Nodes(noeud[2]).Transformed(L.Transformation());
-          z[2] = P[2].Z();
-
-         // Determination des cas aux limites pour les triangles
-         Standard_Integer i,compteur=0;
-
-         for (i=0;i<=2;i++)
-           {
-              flag[i]=Standard_False;
-             if(z[i]>=Elevation)
-               {
-                 flag[i]=Standard_True;
-                 compteur++;
-               }
-           }
-         
-         switch(compteur)
-           {
-           case 0:
-             Determinant = ElementaryVolume(P[0],P[1],P[2]);
-             break;
-             
-           case 1:
-             for (i=0;i<=2;i++)
-               {
-                 if (flag[i]==Standard_True)
-                   {
-                     gp_Pnt Result1 = Intersection(P[i],P[(i+1)%3],Elevation);
-                     gp_Pnt Result2 = Intersection(P[i],P[(i+2)%3],Elevation);
-                     Determinant = ElementaryVolume(Result1,P[(i+1)%3],P[(i+2)%3])
-                       + ElementaryVolume(Result1,P[(i+2)%3],Result2);
-                   }
-               }
-             break;
-             
-           case 2:
-             for (i=0;i<=2;i++)
-               {
-                 if (flag[i]==Standard_False)
-                   {
-                     gp_Pnt Result1 = Intersection(P[i],P[(i+1)%3],Elevation);
-                     gp_Pnt Result2 = Intersection(P[i],P[(i+2)%3],Elevation);
-                     Determinant = ElementaryVolume(P[i],Result1,Result2);
-                   }
-               }
-             break;
-             
-           case 3:
-             break;
-           }
-         Volume += Determinant;
-       }
-    }
-  
-  return Volume;
-}
-
-Standard_Real VolumeSection::Archimede(Standard_Real Constante , Standard_Real Epsilon)
-{
-  // Resolution de l equation V(h) = Constante a l aide de l algorithme de dichotomie avec ponderation type
-  // Lagrange
-  
-  Standard_Real c,Binf,Bsup;
-  Standard_Real tempBsupVolume=0;
-  Standard_Real tempBinfVolume=0;
-  Standard_Real tempCVolume = 0;
-
-  Binf = Zmin;
-  Bsup = Zmax;
-  if(Binf>Bsup)
-    {
-      MESSAGE("error, Bound + < Bound - in dichotomy")
-      return -1;
-    }
-  tempBsupVolume = CalculateVolume(Bsup);
-  tempBinfVolume = CalculateVolume(Binf);
-  
-  if (Constante>tempBsupVolume || Constante<tempBinfVolume)
-    {
-      MESSAGE("error, algorithm start Impossible. Wrong constant value" )
-      return -1;
-    }
-  
-  c = ((Binf*(tempBsupVolume-Constante))-(Bsup*(tempBinfVolume-Constante)))
-    /((tempBsupVolume-Constante)-(tempBinfVolume-Constante));
-  tempCVolume = CalculateVolume(c);
-  
-  
-  if(Abs(tempCVolume-Constante)<=Epsilon)
-    {
-      goto endMethod;
-    }
-  else
-    {
-      while((Bsup-Binf)>Epsilon)
-       { 
-         if((tempBinfVolume-Constante)*(tempCVolume-Constante)>0 && Abs(tempCVolume-Constante)>Epsilon)
-           {
-             Binf = c;
-             tempBinfVolume=tempCVolume;
-             
-             c = ((Binf*(tempBsupVolume-Constante))-(Bsup*(tempBinfVolume-Constante)))
-               /((tempBsupVolume-Constante)-(tempBinfVolume-Constante));
- tempCVolume=CalculateVolume(c);
-           }
-         else if((tempBinfVolume-Constante)*(tempCVolume-Constante)<0 && Abs(tempCVolume-Constante)>Epsilon)
-           {
-             Bsup = c;
-             tempBsupVolume =tempCVolume;
-
-             c = ((Binf*(tempBsupVolume-Constante))-(Bsup*(tempBinfVolume-Constante)))
-               /((tempBsupVolume-Constante)-(tempBinfVolume-Constante));
- tempCVolume=CalculateVolume(c);
-           }
-         else
-           {
-             goto endMethod;
-           }
-       }
-      goto endMethod;
-      
-    }
- endMethod:
-  MESSAGE("La ligne de flottaison correspondant a la constante :"<<Constante<<" est a la cote Z = "<<c)
-  
-  return c;
-}
-
-void VolumeSection::MakeRotation(gp_Dir PlaneDirection)
-{
-  gp_Dir Zdirection(0.0,0.0,1.0);
-  Standard_Real VariationAngle = 0;
-  gp_Pnt RotationAxeLocation(0.0,0.0,0.0);
-  gp_Dir RotationAxeDirection(1.0,1.0,1.0);
-  gp_Ax1 RotationAxe(RotationAxeLocation,RotationAxeDirection);
-  gp_Trsf Transformation;
-  
-  VariationAngle = Zdirection.Angle(PlaneDirection);
-  RotationAxe.SetDirection(PlaneDirection.Crossed(Zdirection));
-  Transformation.SetRotation(RotationAxe,VariationAngle);
-  TopLoc_Location L(Transformation);
-  myShape.Move(L);
-  myPlane->Transform(Transformation);
-}
-
-Handle (Geom_RectangularTrimmedSurface) VolumeSection::TrimSurf()
-{
-  Standard_Real Umin,Umax,Vmin,Vmax;
-  gp_Pnt Pmin(Xmin,Ymin,Zmin);
-  GeomAPI_ProjectPointOnSurf Projection(Pmin,myPlane);
-  Projection.Parameters(1,Umin,Vmin);
-  gp_Pnt Pmax(Xmax,Ymax,Zmax);
-  GeomAPI_ProjectPointOnSurf Projection2(Pmax,myPlane);
-  Projection2.Parameters(1,Umax,Vmax);
-  Handle (Geom_RectangularTrimmedSurface) Plane = new Geom_RectangularTrimmedSurface(myPlane,Umin,Umax,Vmin,Vmax);
-  return Plane;
-}
-
-Handle (Geom_RectangularTrimmedSurface) VolumeSection::InvMakeRotation(gp_Dir PlaneDirection, Handle (Geom_RectangularTrimmedSurface) SurfTrim)
-{
-  gp_Dir Zdirection(0.0,0.0,1.0);
-  Standard_Real VariationAngle = 0;
-  gp_Pnt RotationAxeLocation(0.0,0.0,0.0);
-  gp_Dir RotationAxeDirection(1.0,1.0,1.0);
-  gp_Ax1 RotationAxe(RotationAxeLocation,RotationAxeDirection);
-  gp_Trsf Transformation;
-
-  VariationAngle = Zdirection.Angle(PlaneDirection);
-  RotationAxe.SetDirection(PlaneDirection.Crossed(Zdirection));
-  Transformation.SetRotation(RotationAxe,-VariationAngle);
-  SurfTrim->Transform(Transformation);
-  TopLoc_Location L(Transformation);
-  myShape.Move(L);
-  
-  return SurfTrim;
-}
-
-Handle (Geom_RectangularTrimmedSurface) VolumeSection::AjustePlan(Handle (Geom_RectangularTrimmedSurface) SurfTrim, Standard_Real Cote, gp_Pnt PosPlan)
-{
-  gp_Trsf Transformation;
-  gp_Pnt PosArchi(PosPlan.X(),PosPlan.Y(),Cote);
-  
-  Transformation.SetTranslation(PosPlan,PosArchi);
-  SurfTrim->Transform(Transformation);
-  
-  return SurfTrim;
-      
-}
-
-//------------------------------------------------------------------------------------------------------- 
-//----------------------------------- Methodes privees ---------------------------------------------------
-//------------------------------------------------------------------------------------------------------- 
-
-
- //Fonction calculant l'intersection de la droite passant par les points P1 et P2 
-//avec le plan horizontal Z=Hauteur
-gp_Pnt VolumeSection::Intersection(gp_Pnt P1,gp_Pnt P2,Standard_Real Hauteur)
-{
-  Standard_Real constante;
-  gp_Pnt Point;
-
-  constante = (Hauteur-P1.Z())/(P2.Z()-P1.Z());
-  Point.SetX(P1.X()*(1-constante) + constante*P2.X());
-  Point.SetY(P1.Y()*(1-constante) + constante*P2.Y());
-  Point.SetZ(Hauteur);
-  
-  return Point;
-}
-
-//Fonction calculant le volume \89l\89mentaire de chaque t\89traedre \80 partir de 3 points
-Standard_Real VolumeSection::ElementaryVolume(gp_Pnt P1,gp_Pnt P2,gp_Pnt P3)
-{
-  Standard_Real Determinant;
-  
-  math_Matrix M(1,3,1,3);
-  
-  M(1,1)=P1.X()-InitPoint.X();
-  M(1,2)=P2.X()-InitPoint.X();
-  M(1,3)=P3.X()-InitPoint.X();
-  M(2,1)=P1.Y()-InitPoint.Y();
-  M(2,2)=P2.Y()-InitPoint.Y();
-  M(2,3)=P3.Y()-InitPoint.Y();
-  M(3,1)=P1.Z()-InitPoint.Z();
-  M(3,2)=P2.Z()-InitPoint.Z();
-  M(3,3)=P3.Z()-InitPoint.Z();
-  
-  Determinant = (1.0/6) * M.Determinant();
-
-  return Determinant;
-}
-
-void VolumeSection::getZ( double& min, double& max)
-{
-  min = Zmin;
-  max = Zmax;
-}
-
diff --git a/src/ARCHIMEDE/Archimede_VolumeSection.hxx b/src/ARCHIMEDE/Archimede_VolumeSection.hxx
deleted file mode 100644 (file)
index 3d4b6ed..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-//  GEOM ARCHIMEDE : algorithm implementation
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Archimede_VolumeSection.hxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef ARCHIMEDE_VOLUMESECTION_HXX
-#define ARCHIMEDE_VOLUMESECTION_HXX
-
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-#include <TopoDS_Shape.hxx>
-#include <Geom_Plane.hxx>
-#include <Geom_RectangularTrimmedSurface.hxx>
-
-class VolumeSection{
-
-public:
-  // Constructeur effectuant le maillage de peau de la shape
-  Standard_EXPORT VolumeSection(TopoDS_Shape , Standard_Real); 
-
-  //Methode qui affecte \80 un point,les coordonn\89es de centre de la boite englobante de la shape 
-  Standard_EXPORT void CenterOfGravity();
-
-  // Methode qui calcule le volume sous un plan Z = h
-  Standard_EXPORT Standard_Real CalculateVolume(Standard_Real); 
-
-  // Methode qui resout l'equation V(h)=constante
-  Standard_EXPORT Standard_Real Archimede(Standard_Real , Standard_Real); 
-
-  // Methode permettant de "setter" un plan afin de l'utiliser \80 l'interieur de la classe
-  Standard_EXPORT void SetPlane(Handle (Geom_Plane));
-
-  // Methode permettant de r\89cup\89rer la shape modifi\89\80 l'ext\89rieur de la classe
-  Standard_EXPORT TopoDS_Shape GetShape();
-
-  // Methode effectuant la rotation du plan et de la shape
-  Standard_EXPORT void MakeRotation(gp_Dir);
-
-  // Methode effectuant la rotation inverse du plan et de la shape
-  Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) InvMakeRotation(gp_Dir,Handle(Geom_RectangularTrimmedSurface));
-
-  // Methode permettant de d\89couper le plan selon une projection de la Shape
-  Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) TrimSurf();
-
-  // Methode permmettant de deplacer le plan jusqu'a la position donn\89e par Archim\88de
-  Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) AjustePlan(Handle(Geom_RectangularTrimmedSurface),Standard_Real,gp_Pnt);
-
-  Standard_EXPORT void getZ( double& min, double& max);
-  
-private:
-  
-  TopoDS_Shape  myShape;
-  Standard_Real Tolerance;
-  gp_Pnt        InitPoint;
-  Standard_Real Zmin,Zmax,Ymin,Ymax,Xmin,Xmax;
-  Handle(Geom_Plane) myPlane;
-  
-  Standard_Real ElementaryVolume(gp_Pnt,gp_Pnt,gp_Pnt);
-  gp_Pnt        Intersection(gp_Pnt,gp_Pnt,Standard_Real);
-  
-};
-#endif
diff --git a/src/ARCHIMEDE/Makefile.in b/src/ARCHIMEDE/Makefile.in
deleted file mode 100644 (file)
index a024382..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#  GEOM ARCHIMEDE : algorithm implementation
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Nicolas REJNERI
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOMArchimede.la 
-LIB_SRC = Archimede_VolumeSection.cxx
-LIB_CLIENT_IDL = 
-
-# header files 
-EXPORT_HEADERS = Archimede_VolumeSection.hxx
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += $(CAS_KERNEL) $(CAS_MODELER) -L${KERNEL_ROOT_DIR}/lib/salome
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
-
diff --git a/src/BREPExport/BREPExport.cxx b/src/BREPExport/BREPExport.cxx
deleted file mode 100644 (file)
index 0c1d96e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// File:       BREPExport.cxx
-// Created:    Wed May 19 13:10:05 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <BRepTools.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
-  {
-    MESSAGE("Export BREP into file " << theFileName.ToCString());
-
-    if ( !BRepTools::Write( theShape, theFileName.ToCString() ) )
-      return 0;
-
-    return 1;
-  }
-}
diff --git a/src/BREPExport/Makefile.in b/src/BREPExport/Makefile.in
deleted file mode 100644 (file)
index 8983e67..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-EXPORT_HEADERS= 
-
-# Libraries targets
-
-LIB = libBREPExport.la
-
-LIB_SRC = BREPExport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKBRep -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/BREPImport/BREPImport.cxx b/src/BREPImport/BREPImport.cxx
deleted file mode 100644 (file)
index 251ef0d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// File:       BREPImport.cxx
-// Created:    Wed May 19 14:29:52 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <BRepTools.hxx>
-#include <BRep_Builder.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
-                       TCollection_AsciiString&       theError)
-  {
-    MESSAGE("Import BREP from file " << theFileName);
-    TopoDS_Shape aShape;
-    BRep_Builder B;
-    BRepTools::Read(aShape, theFileName.ToCString(), B);
-    if (aShape.IsNull()) {
-      theError = "BREP Import failed";
-    }
-    return aShape;
-  }
-}
diff --git a/src/BREPImport/Makefile.in b/src/BREPImport/Makefile.in
deleted file mode 100644 (file)
index cc76e0c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB= libBREPImport.la
-
-LIB_SRC = BREPImport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKBRep -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/BasicGUI/BasicGUI.cxx b/src/BasicGUI/BasicGUI.cxx
deleted file mode 100644 (file)
index 076e0ed..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI.h"
-#include "GeometryGUI.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-#include "SUIT_ViewWindow.h"
-#include "OCCViewer_ViewWindow.h"
-#include "OCCViewer_ViewModel.h"
-#include "OCCViewer_ViewManager.h"
-#include "OCCViewer_ViewPort3d.h"
-#include "utilities.h"
-
-#include <Precision.hxx>
-#include <BRep_Tool.hxx>
-#include <ProjLib.hxx>
-#include <ElSLib.hxx>
-#include <TopoDS.hxx>
-
-#include "BasicGUI_PointDlg.h"        // Method POINT
-#include "BasicGUI_LineDlg.h"         // Method LINE
-#include "BasicGUI_CircleDlg.h"       // Method CIRCLE
-#include "BasicGUI_EllipseDlg.h"      // Method ELLIPSE
-#include "BasicGUI_ArcDlg.h"          // Method ARC
-#include "BasicGUI_CurveDlg.h"        // Method CURVE
-#include "BasicGUI_VectorDlg.h"       // Method VECTOR
-#include "BasicGUI_PlaneDlg.h"        // Method PLANE
-#include "BasicGUI_WorkingPlaneDlg.h" // Method WORKING PLANE
-#include "BasicGUI_MarkerDlg.h"       // Method REPAIR
-
-using namespace std;
-
-BasicGUI* BasicGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetBasicGUI()
-// purpose  : Get the only BasicGUI object [ static ]
-//=======================================================================
-BasicGUI* BasicGUI::GetBasicGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    myGUIObject = new BasicGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : BasicGUI()
-// purpose  : Constructor
-//=======================================================================
-BasicGUI::BasicGUI( GeometryGUI* parent ) :
-  GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~BasicGUI()
-// purpose  : Destructor
-//=======================================================================
-BasicGUI::~BasicGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool BasicGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  QDialog* aDlg = NULL;
-
-  switch ( theCommandID )
-    {
-    case 4011: // POINT
-      aDlg = new BasicGUI_PointDlg( getGeometryGUI(), parent, "" ); 
-      break;
-    case 4012:  // LINE
-      aDlg = new BasicGUI_LineDlg( getGeometryGUI(), parent, "" );
-      break;
-    case 4013:  // CIRCLE
-      aDlg = new BasicGUI_CircleDlg( getGeometryGUI(), parent, "");
-      break;
-    case 4014:  // ELLIPSE
-      aDlg = new BasicGUI_EllipseDlg( getGeometryGUI(), parent, "" );
-      break;
-    case 4015:  // ARC
-      aDlg = new BasicGUI_ArcDlg( getGeometryGUI(), parent, "" );
-      break ;
-    case 4016: // VECTOR
-      aDlg = new BasicGUI_VectorDlg( getGeometryGUI(), parent, "" );
-      break;
-    case 4017: // PLANE
-      aDlg = new BasicGUI_PlaneDlg( getGeometryGUI(), parent, "");
-      break;
-    case 4018: // WORKING PLANE
-      aDlg = new BasicGUI_WorkingPlaneDlg( getGeometryGUI(), parent, "" );
-      break;
-    case 4019: // CURVE
-      aDlg = new BasicGUI_CurveDlg( getGeometryGUI(), parent, "" );
-      break;
-    case 4020: // REPAIR
-      aDlg = new BasicGUI_MarkerDlg( getGeometryGUI(), parent );
-      break;      
-    default:
-      SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-      break;
-    }
-
-  if ( aDlg != NULL )
-    aDlg->show();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : 0nMousePress()
-// purpose  : [static] manage mouse events
-//=================================================================================
-bool BasicGUI::OnMousePress( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow )
-{
-  QDialog* aDlg = getGeometryGUI()->GetActiveDialogBox();
-
-  // Create Point dialog, OCC viewer 
-  if ( aDlg && aDlg->isA( "BasicGUI_PointDlg" ) && theViewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() &&  pe->state() != Qt::ControlButton )
-  {
-    BasicGUI_PointDlg* aPntDlg = (BasicGUI_PointDlg*) aDlg;
-    if ( aPntDlg->acceptMouseEvent() )
-      {
-       OCCViewer_Viewer* anOCCViewer = ((OCCViewer_ViewManager*)(theViewWindow->getViewManager()))->getOCCViewer();
-       Handle(AIS_InteractiveContext) ic = anOCCViewer->getAISContext();
-       
-       gp_Pnt aPnt;    
-
-       ic->InitSelected();
-       if( pe->state() == Qt::ShiftButton )
-         ic->ShiftSelect();  // Append selection
-       else
-         ic->Select();       // New selection
-
-       ic->InitSelected();
-       if( ic->MoreSelected() )
-         {
-           TopoDS_Shape aShape = ic->SelectedShape();
-           if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
-             aPnt = BRep_Tool::Pnt( TopoDS::Vertex( ic->SelectedShape() ) );
-         }
-       else
-         {
-           OCCViewer_ViewPort3d* vp =  ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
-           aPnt = ConvertClickToPoint( pe->x(), pe->y(), vp->getView() );
-         }
-
-       aPntDlg->OnPointSelected( aPnt );  // "feed" the point to point construction dialog
-      } // acceptMouseEvent()
-  } 
-  return false;
-}
-
-
-//=======================================================================
-// function : ConvertClickToPoint()
-// purpose  : Returns the point clicked in 3D view
-//=======================================================================
-gp_Pnt BasicGUI::ConvertClickToPoint( int x, int y, Handle(V3d_View) aView)
-{
-  V3d_Coordinate XEye, YEye, ZEye, XAt, YAt, ZAt;
-  aView->Eye(XEye, YEye, ZEye);
-
-  aView->At(XAt, YAt, ZAt);
-  gp_Pnt EyePoint(XEye, YEye, ZEye);
-  gp_Pnt AtPoint(XAt, YAt, ZAt);
-
-  gp_Vec EyeVector(EyePoint, AtPoint);
-  gp_Dir EyeDir(EyeVector);
-
-  gp_Pln PlaneOfTheView = gp_Pln(AtPoint,EyeDir);
-  Standard_Real X, Y, Z;
-  aView->Convert(x, y, X, Y, Z);
-  gp_Pnt ConvertedPoint(X, Y, Z);
-
-  gp_Pnt2d ConvertedPointOnPlane = ProjLib::Project(PlaneOfTheView, ConvertedPoint);
-  gp_Pnt ResultPoint = ElSLib::Value(ConvertedPointOnPlane.X(), ConvertedPointOnPlane.Y(), PlaneOfTheView);
-  return ResultPoint;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return BasicGUI::GetBasicGUI( parent );
-  }
-}
diff --git a/src/BasicGUI/BasicGUI.h b/src/BasicGUI/BasicGUI.h
deleted file mode 100644 (file)
index a2cd25a..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef BASICGUI_H
-#define BASICGUI_H
-
-#include "GEOMGUI.h"
-#include "GEOMBase.h"
-#include <V3d_View.hxx>
-
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI
-// purpose  :
-//=================================================================================
-class BasicGUI : public GEOMGUI
-{
-protected:
-  BasicGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~BasicGUI();
-
-  // Get the only BasicGUI object
-  static BasicGUI* GetBasicGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-  bool OnMousePress(QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow);
-
-  gp_Pnt ConvertClickToPoint( int x, int y, Handle(V3d_View) aView );
-
-private:
-  static BasicGUI* myGUIObject;        // the only BasicGUI object
-};
-
-#endif
diff --git a/src/BasicGUI/BasicGUI_ArcDlg.cxx b/src/BasicGUI/BasicGUI_ArcDlg.cxx
deleted file mode 100644 (file)
index 06ed13b..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_ArcDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_ArcDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <GC_MakeArcOfCircle.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <Precision.hxx>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_ArcDlg()
-// purpose  : Constructs a BasicGUI_ArcDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_ArcDlg::BasicGUI_ArcDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu),
-   myGeometryGUI()
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_ARC")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_ARC_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_ARC"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  Group3Pnts = new DlgRef_3Sel_QTD(this, "Group3Pnts");
-  Group3Pnts->GroupBox1->setTitle(tr("GEOM_POINTS"));
-  Group3Pnts->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
-  Group3Pnts->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
-  Group3Pnts->TextLabel3->setText(tr("GEOM_POINT_I").arg("3"));
-
-  Group3Pnts->LineEdit1->setReadOnly( true );
-  Group3Pnts->LineEdit2->setReadOnly( true );
-  Group3Pnts->LineEdit3->setReadOnly( true );
-  
-  Group3Pnts->PushButton1->setPixmap(image1);
-  Group3Pnts->PushButton2->setPixmap(image1);
-  Group3Pnts->PushButton3->setPixmap(image1);
-
-  Layout1->addWidget( Group3Pnts, 2, 0 );
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_ArcDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_ArcDlg::~BasicGUI_ArcDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::Init()
-{
-  /* init variables */
-  // myGeometryGUI->SetState( 0 );
-  globalSelection( GEOM_POINT );
-
-  myEditCurrentArgument = Group3Pnts->LineEdit1;
-  myEditCurrentArgument->setFocus();
-
-  myPoint1 = myPoint2 = myPoint3 = GEOM::GEOM_Object::_nil();
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(Group3Pnts->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group3Pnts->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3Pnts->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3Pnts->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_ARC" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_ArcDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_ArcDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  // reset
-  myPoint1 = myPoint2 = myPoint3 = GEOM::GEOM_Object::_nil();
-  Group3Pnts->LineEdit1->setText( "" );
-  Group3Pnts->LineEdit2->setText( "" );
-  Group3Pnts->LineEdit3->setText( "" );
-  myEditCurrentArgument = Group3Pnts->LineEdit1;
-  
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_ArcDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  
-  if ( IObjectCount() != 1 )  
-  {
-    if      ( myEditCurrentArgument == Group3Pnts->LineEdit1 )   myPoint1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )   myPoint2 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )   myPoint3 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {  
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) ); 
-    if      ( myEditCurrentArgument == Group3Pnts->LineEdit1 )   myPoint1 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )   myPoint2 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )   myPoint3 = aSelectedObject;
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if      ( send == Group3Pnts->PushButton1 )   myEditCurrentArgument = Group3Pnts->LineEdit1;
-  else if ( send == Group3Pnts->PushButton2 )   myEditCurrentArgument = Group3Pnts->LineEdit2;
-  else if ( send == Group3Pnts->PushButton3 )   myEditCurrentArgument = Group3Pnts->LineEdit3;
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::LineEditReturnPressed()
-{ 
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == Group3Pnts->LineEdit1 ||
-       send == Group3Pnts->LineEdit2 ||
-       send == Group3Pnts->LineEdit3 )
-  {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  // myGeometryGUI->SetState( 0 );
-  globalSelection( GEOM_POINT );
-
-  myEditCurrentArgument = Group3Pnts->LineEdit1;
-  myEditCurrentArgument->setFocus();
-
-  Group3Pnts->LineEdit1->setText( "" );
-  Group3Pnts->LineEdit2->setText( "" );
-  Group3Pnts->LineEdit3->setText( "" );
-  myPoint1 = myPoint2 = myPoint3 = GEOM::GEOM_Object::_nil();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_ArcDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_ArcDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetICurvesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isEqual
-// purpose  : it may also be needed to check for min distance between gp_Pnt-s...
-//=================================================================================
-static bool isEqual( const GEOM::GEOM_Object_var& thePnt1, const GEOM::GEOM_Object_var& thePnt2 )
-{
-  return thePnt1->_is_equivalent( thePnt2 );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_ArcDlg::isValid( QString& msg )
-{
-  return !myPoint1->_is_nil() && !myPoint2->_is_nil() && !myPoint3->_is_nil() &&
-    !isEqual( myPoint1, myPoint2 ) && !isEqual( myPoint1, myPoint3 ) && !isEqual( myPoint2, myPoint3 );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_ArcDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeArc( myPoint1, myPoint2, myPoint3 );
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  return true;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_ArcDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/BasicGUI/BasicGUI_ArcDlg.h b/src/BasicGUI/BasicGUI_ArcDlg.h
deleted file mode 100644 (file)
index 42b1a45..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_ArcDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_ARC_H
-#define DIALOGBOX_ARC_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_3Sel_QTD.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI_ArcDlg
-// purpose  : 
-//=================================================================================
-class BasicGUI_ArcDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_ArcDlg( GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
-    ~BasicGUI_ArcDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI*  myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint1, myPoint2, myPoint3;
-
-    DlgRef_3Sel_QTD* Group3Pnts;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-    
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_ARC_H
diff --git a/src/BasicGUI/BasicGUI_CircleDlg.cxx b/src/BasicGUI/BasicGUI_CircleDlg.cxx
deleted file mode 100644 (file)
index 503489d..0000000
+++ /dev/null
@@ -1,435 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_CircleDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_CircleDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : BasicGUI_CircleDlg()
-// purpose  : Constructs a BasicGUI_CircleDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_CircleDlg::BasicGUI_CircleDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu),
-   myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CIRCLE_PV")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CIRCLE_PNTS")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_CIRCLE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_CIRCLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image2);
-  RadioButton3->close(TRUE);
-
-  GroupPntVecR = new DlgRef_2Sel1Spin(this, "GroupPntVecR");
-  GroupPntVecR->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  
-  GroupPntVecR->TextLabel1->setText(tr("GEOM_CENTER_POINT"));
-  GroupPntVecR->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPntVecR->TextLabel3->setText(tr("GEOM_RADIUS"));
-  GroupPntVecR->PushButton1->setPixmap(image1);
-  GroupPntVecR->PushButton2->setPixmap(image1);
-
-  GroupPntVecR->LineEdit1->setReadOnly( true );
-  GroupPntVecR->LineEdit2->setReadOnly( true );
-
-  Group3Pnts = new DlgRef_3Sel_QTD(this, "Group3Pnts");
-  Group3Pnts->GroupBox1->setTitle(tr("GEOM_3_POINTS"));
-  Group3Pnts->TextLabel1->setText(tr("GEOM_POINT1"));
-  Group3Pnts->TextLabel2->setText(tr("GEOM_POINT2"));
-  Group3Pnts->TextLabel3->setText(tr("GEOM_POINT3"));
-  Group3Pnts->PushButton1->setPixmap(image1);
-  Group3Pnts->PushButton2->setPixmap(image1);
-  Group3Pnts->PushButton3->setPixmap(image1);
-
-  Group3Pnts->LineEdit1->setReadOnly( true );
-  Group3Pnts->LineEdit2->setReadOnly( true );
-  Group3Pnts->LineEdit3->setReadOnly( true );
-
-  Layout1->addWidget( GroupPntVecR, 2, 0 );
-  Layout1->addWidget( Group3Pnts, 2, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_CircleDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_CircleDlg::~BasicGUI_CircleDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPntVecR->LineEdit1;
-
-  myPoint = myDir = myPoint1 = myPoint2 = myPoint3 = GEOM::GEOM_Object::_nil();
-
-  // myGeometryGUI->SetState( 0 );
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double aStep = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPntVecR->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, aStep, 3);
-  GroupPntVecR->SpinBox_DX->SetValue( 100 );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-  
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPntVecR->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPntVecR->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPntVecR->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPntVecR->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPntVecR->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPntVecR->SpinBox_DX, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_CIRCLE" ) );
-
-  Group3Pnts->hide();
-  ConstructorsClicked( 0 );
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_CircleDlg::ConstructorsClicked( int constructorId )
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  myPoint = myDir = myPoint1 = myPoint2 = myPoint3 = GEOM::GEOM_Object::_nil();
-
-  switch ( constructorId )
-  {
-    case 0:
-      {
-       Group3Pnts->hide();
-       resize(0, 0);
-       GroupPntVecR->show();
-       
-       myEditCurrentArgument = GroupPntVecR->LineEdit1;
-       GroupPntVecR->LineEdit1->setText("");
-       GroupPntVecR->LineEdit2->setText("");
-       break;
-      }
-  case 1:
-    {
-      GroupPntVecR->hide();
-      resize( 0, 0 );
-      Group3Pnts->show();
-      
-      myEditCurrentArgument = Group3Pnts->LineEdit1;
-      Group3Pnts->LineEdit1->setText("");
-      Group3Pnts->LineEdit2->setText("");
-      Group3Pnts->LineEdit3->setText("");
-      break;
-      }
-  }
-  
-  myEditCurrentArgument->setFocus();
-  globalSelection( GEOM_POINT );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_CircleDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_CircleDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_CircleDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  
-  if ( IObjectCount() != 1 )  
-  {
-    if      ( myEditCurrentArgument == GroupPntVecR->LineEdit1 ) myPoint  = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupPntVecR->LineEdit2 ) myDir    = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit1 )   myPoint1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )   myPoint2 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )   myPoint3 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {  
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == GroupPntVecR->LineEdit1 ) myPoint  = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupPntVecR->LineEdit2 ) myDir    = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit1 )   myPoint1 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )   myPoint2 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )   myPoint3 = aSelectedObject;
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if ( send == GroupPntVecR->PushButton1 )      myEditCurrentArgument = GroupPntVecR->LineEdit1;
-  else if ( send == GroupPntVecR->PushButton2 ) myEditCurrentArgument = GroupPntVecR->LineEdit2;
-  else if ( send == Group3Pnts->PushButton1 )   myEditCurrentArgument = Group3Pnts->LineEdit1;
-  else if ( send == Group3Pnts->PushButton2 )   myEditCurrentArgument = Group3Pnts->LineEdit2;
-  else if ( send == Group3Pnts->PushButton3 )   myEditCurrentArgument = Group3Pnts->LineEdit3;
-  
-  myEditCurrentArgument->setFocus();
-  
-  if ( myEditCurrentArgument == GroupPntVecR->LineEdit2 ) 
-    globalSelection( GEOM_LINE );
-  else
-    globalSelection( GEOM_POINT );
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == GroupPntVecR->LineEdit1 ||
-       send == GroupPntVecR->LineEdit2 ||
-       send == Group3Pnts->LineEdit1 ||
-       send == Group3Pnts->LineEdit2 ||
-       send == Group3Pnts->LineEdit3 )
-  {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_POINT );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  // myGeometryGUI->SetState( 0 );
-
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_CircleDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : getRadius()
-// purpose  :
-//=================================================================================
-double BasicGUI_CircleDlg::getRadius() const
-{
-  return GroupPntVecR->SpinBox_DX->GetValue();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_CircleDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetICurvesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isEqual
-// purpose  : it may also be needed to check for min distance between gp_Pnt-s...
-//=================================================================================
-static bool isEqual( const GEOM::GEOM_Object_var& thePnt1, const GEOM::GEOM_Object_var& thePnt2 )
-{
-  return thePnt1->_is_equivalent( thePnt2 );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_CircleDlg::isValid( QString& msg )
-{
-  const int id = getConstructorId();
-  if ( id == 0 )
-    return !myPoint->_is_nil() && !myDir->_is_nil() && getRadius() > 0;
-  else if ( id == 1 )
-    return !myPoint1->_is_nil() && !myPoint2->_is_nil() && !myPoint3->_is_nil() &&
-      !isEqual( myPoint1, myPoint2 ) && !isEqual( myPoint1, myPoint3 ) && !isEqual( myPoint2, myPoint3 );
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_CircleDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  switch ( getConstructorId() )
-  {
-  case 0 :
-    anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeCirclePntVecR( myPoint, myDir, getRadius() );
-    res = true;
-    break;
-  case 1 :
-    anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeCircleThreePnt( myPoint1, myPoint2, myPoint3 );
-    res = true;
-    break;
-  }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_CircleDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
diff --git a/src/BasicGUI/BasicGUI_CircleDlg.h b/src/BasicGUI/BasicGUI_CircleDlg.h
deleted file mode 100644 (file)
index 3a61f7e..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_CircleDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CIRCLE_H
-#define DIALOGBOX_CIRCLE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin.h"
-#include "DlgRef_3Sel_QTD.h"
-
-#include "BasicGUI.h"
-
-//#include "GEOM_EdgeFilter.hxx"
-//#include "GEOM_ShapeTypeFilter.hxx"
-#include <gp_Dir.hxx>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
-//=================================================================================
-// class    : BasicGUI_CircleDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_CircleDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_CircleDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_CircleDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );    
-
-private :
-    void   Init();
-    void   enterEvent(QEvent* e);
-    double getRadius() const;
-
-    GeometryGUI*  myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint, myDir, myPoint1, myPoint2, myPoint3;
-
-    DlgRef_2Sel1Spin* GroupPntVecR;
-    DlgRef_3Sel_QTD*  Group3Pnts;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void SelectionIntoArgument();
-
-    void ConstructorsClicked( int );
-    void LineEditReturnPressed();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-
-};
-
-#endif // DIALOGBOX_CIRCLE_H
diff --git a/src/BasicGUI/BasicGUI_CurveDlg.cxx b/src/BasicGUI/BasicGUI_CurveDlg.cxx
deleted file mode 100644 (file)
index e5c92ee..0000000
+++ /dev/null
@@ -1,326 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_CurveDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_CurveDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "utilities.h"
-
-#include "SALOME_ListIteratorOfListIO.hxx"
-#include "SALOME_ListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_CurveDlg()
-// purpose  : Constructs a BasicGUI_CurveDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_CurveDlg::BasicGUI_CurveDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), 
-   myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POLYLINE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SPLINE")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BEZIER")));
-  
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_CURVE_TITLE"));
-  
-  /***************************************************************/
-  RadioButton1->setPixmap( image0 );
-  RadioButton2->setPixmap( image3 );
-  RadioButton3->setPixmap( image2 );
-
-  GroupPoints = new DlgRef_1Sel_QTD( this, "GroupPoints" );
-  GroupPoints->GroupBox1->setTitle( tr( "GEOM_NODES" ) );
-  GroupPoints->TextLabel1->setText( tr("GEOM_POINTS") );
-  GroupPoints->PushButton1->setPixmap(image1);
-  
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_CurveDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_CurveDlg::~BasicGUI_CurveDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myPoints = new GEOM::ListOfGO();
-  myPoints->length( 0 );
-
-  globalSelection( GEOM_POINT );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-  
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_CURVE" ) );
-  ConstructorsClicked( 0 );
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::ConstructorsClicked( int id )
-{
-  QString aTitle = tr( id == 0 ? "GEOM_POLYLINE" : id == 1 ? "GEOM_BEZIER" : "GEOM_INTERPOL" );
-  GroupConstructors->setTitle( aTitle );
-       
-       myPoints = new GEOM::ListOfGO();
-  myPoints->length( 0 );  
-
-  myEditCurrentArgument->setText("");
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::SetEditCurrentArgument()
-{
-  if ( sender() == GroupPoints->PushButton1 ) 
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::LineEditReturnPressed()
-{
-  if ( sender() == GroupPoints->LineEdit1 ) 
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_CurveDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_CurveDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_CurveDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  Standard_Boolean aRes = Standard_False;
-  int i = 0;
-  myPoints->length( IObjectCount() ); // this length may be greater than number of objects,
-                                                   // that will actually be put into myPoints
-  for ( SALOME_ListIteratorOfListIO anIt( selectedIO() ); anIt.More(); anIt.Next() )
-  {
-    GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( anIt.Value(), aRes );
-    if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-    {
-      //TopoDS_Shape aPointShape;
-      //if ( myGeomBase->GetShape( aSelectedObject, aPointShape, TopAbs_VERTEX ) )
-      myPoints[i++] = aSelectedObject;
-    }
-  }
-  myPoints->length( i ); // this is the right length, smaller of equal to the previously set
-  if ( i )
-    GroupPoints->LineEdit1->setText( QString::number( i ) + "_" + tr( "GEOM_POINT" ) + tr( "_S_" ) );
-  
-  displayPreview(); 
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  // myGeometryGUI->SetState( 0 );
-
-  globalSelection( GEOM_POINT );
-  ConstructorsClicked( getConstructorId() );
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_CurveDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_CurveDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetICurvesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_CurveDlg::isValid( QString& msg )
-{
-  return myPoints->length() > 1;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_CurveDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() )
-  {
-  case 0 :
-    anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakePolyline( myPoints );
-    res = true;
-    break;
-  case 1 :
-    anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeSplineBezier( myPoints );
-    res = true;
-    break;
-  case 2 :
-    anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeSplineInterpolation( myPoints );
-    res = true;
-    break;
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_CurveDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
diff --git a/src/BasicGUI/BasicGUI_CurveDlg.h b/src/BasicGUI/BasicGUI_CurveDlg.h
deleted file mode 100644 (file)
index 623d355..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_CurveDlg.h
-//  Author : Alexander SLADKOV
-//  Module : GEOM
-//  $Header$
-
-#ifndef BASICGUI_CURVE_H
-#define BASICGUI_CURVE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-
-#include "BasicGUI.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//#include "GEOM_ShapeTypeFilter.hxx"
-
-//=================================================================================
-// class    : BasicGUI_CurveDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_CurveDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_CurveDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_CurveDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-
-    DlgRef_1Sel_QTD* GroupPoints;
-    GEOM::ListOfGO_var myPoints;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();    
-    
-    void ConstructorsClicked( int );
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // BASICGUI_CURVE_H
diff --git a/src/BasicGUI/BasicGUI_EllipseDlg.cxx b/src/BasicGUI/BasicGUI_EllipseDlg.cxx
deleted file mode 100644 (file)
index 85cf7a7..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_EllipseDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_EllipseDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_EllipseDlg()
-// purpose  : Constructs a BasicGUI_EllipseDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_EllipseDlg::BasicGUI_EllipseDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_ELLIPSE_PV")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_ELLIPSE_TITLE"));
-  
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_ELLIPSE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel2Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_CENTER"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_RADIUS_MAJOR"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_RADIUS_MINOR"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_EllipseDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_EllipseDlg::~BasicGUI_EllipseDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  globalSelection( GEOM_POINT );
-
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-
-  // myGeometryGUI->SetState( 0 );
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  double aMajorR( 200. ), aMinorR( 100. );
-
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator( 0.001, 999.999, step, 3 );
-  GroupPoints->SpinBox_DY->RangeStepAndValidator( 0.001, 999.999, step, 3 );
-  GroupPoints->SpinBox_DX->SetValue( aMajorR );
-  GroupPoints->SpinBox_DY->SetValue( aMinorR );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_ELLIPSE" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_EllipseDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  // reset
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-  GroupPoints->LineEdit1->setText( "" );
-  GroupPoints->LineEdit2->setText( "" );
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  globalSelection( GEOM_POINT );
-  
-  return true;
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_EllipseDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_EllipseDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  if ( IObjectCount() != 1 )  
-  {
-    if      ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myPoint = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) myDir   = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {  
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myPoint = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) myDir   = aSelectedObject;
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if      ( send == GroupPoints->PushButton1 ) myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == GroupPoints->PushButton2 ) myEditCurrentArgument = GroupPoints->LineEdit2;
-  
-  myEditCurrentArgument->setFocus();
-  if ( myEditCurrentArgument == GroupPoints->LineEdit2 )
-    globalSelection( GEOM_LINE );
-  else
-    globalSelection( GEOM_POINT );
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == GroupPoints->LineEdit1 ||
-       send == GroupPoints->LineEdit2 )
-  {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  GroupPoints->LineEdit1->setText( "" );
-  GroupPoints->LineEdit2->setText( "" );
-
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-  globalSelection( GEOM_POINT );
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_EllipseDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::ValueChangedInSpinBox(double newValue)
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_EllipseDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetICurvesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_EllipseDlg::isValid( QString& msg )
-{
-  double aMajorR = GroupPoints->SpinBox_DX->GetValue();
-  double aMinorR = GroupPoints->SpinBox_DY->GetValue();
-  if ( aMajorR < aMinorR )
-  {
-       msg = tr( "GEOM_ELLIPSE_ERROR_1" );
-       return false;
-  }
-  return !myPoint->_is_nil() && !myDir->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_EllipseDlg::execute( ObjectList& objects )
-{
-  double aMajorR = GroupPoints->SpinBox_DX->GetValue();
-  double aMinorR = GroupPoints->SpinBox_DY->GetValue();
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeEllipse( myPoint, myDir, aMajorR, aMinorR );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_EllipseDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
diff --git a/src/BasicGUI/BasicGUI_EllipseDlg.h b/src/BasicGUI/BasicGUI_EllipseDlg.h
deleted file mode 100644 (file)
index 86f2cb3..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_EllipseDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef BASICGUI_ELLIPSE_H
-#define BASICGUI_ELLIPSE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel2Spin.h"
-
-#include "BasicGUI.h"
-
-//#include "GEOM_ShapeTypeFilter.hxx"
-//#include "GEOM_EdgeFilter.hxx"
-#include <gp_Dir.hxx>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI_EllipseDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_EllipseDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_EllipseDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_EllipseDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint, myDir;
-
-    DlgRef_2Sel2Spin* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox(double newValue);
-
-};
-
-#endif // BASICGUI_ELLIPSE_H
diff --git a/src/BasicGUI/BasicGUI_LineDlg.cxx b/src/BasicGUI/BasicGUI_LineDlg.cxx
deleted file mode 100644 (file)
index 308f661..0000000
+++ /dev/null
@@ -1,296 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_LineDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_LineDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_LineDlg()
-// purpose  : Constructs a BasicGUI_LineDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_LineDlg::BasicGUI_LineDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr("ICON_DLG_LINE_2P")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_LINE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_LINE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_POINTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_LineDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_LineDlg::~BasicGUI_LineDlg()
-{  
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-
-  // myGeometryGUI->SetState( 0 );
-  globalSelection( GEOM_POINT );
-       
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  initName( tr("GEOM_LINE") );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_LineDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_LineDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_LineDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  if ( IObjectCount() != 1 ) 
-  {
-    if ( myEditCurrentArgument == GroupPoints->LineEdit1 )      myPoint1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) myPoint2 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1 
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myPoint1 = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) myPoint2 = aSelectedObject;
-  }
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if      ( send == GroupPoints->PushButton1 ) myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == GroupPoints->PushButton2 ) myEditCurrentArgument = GroupPoints->LineEdit2;
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if      ( send == GroupPoints->LineEdit1 ) myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == GroupPoints->LineEdit2 ) myEditCurrentArgument = GroupPoints->LineEdit2;
-  else return;
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  // myGeometryGUI->SetState( 0 );
-  globalSelection( GEOM_POINT );
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setFocus();
-
-  GroupPoints->LineEdit1->setText( "" );
-  GroupPoints->LineEdit2->setText( "" );
-  myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_LineDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_LineDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetIBasicOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_LineDlg::isValid( QString& msg )
-{
-  return !myPoint1->_is_nil() && !myPoint2->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_LineDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakeLineTwoPnt( myPoint1, myPoint2 );
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  return true;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_LineDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
diff --git a/src/BasicGUI/BasicGUI_LineDlg.h b/src/BasicGUI/BasicGUI_LineDlg.h
deleted file mode 100644 (file)
index 7afed3c..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_LineDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_LINE_H
-#define DIALOGBOX_LINE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
-//=================================================================================
-// class    : BasicGUI_LineDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_LineDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_LineDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_LineDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-    
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI*  myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint1;   
-    GEOM::GEOM_Object_var myPoint2;
-
-    DlgRef_2Sel_QTD* GroupPoints;
-    
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_LINE_H
diff --git a/src/BasicGUI/BasicGUI_MarkerDlg.cxx b/src/BasicGUI/BasicGUI_MarkerDlg.cxx
deleted file mode 100644 (file)
index a276a06..0000000
+++ /dev/null
@@ -1,748 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_MarkerDlg.cxx
-//  Author : Sergey LITONIN
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_MarkerDlg.h"
-#include "DlgRef_SpinBox.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-#include "utilities.h"
-
-#include <TopExp.hxx>
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Face.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <BRep_Tool.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pln.hxx>
-#include <Geom_Plane.hxx>
-#include <GProp_GProps.hxx>
-#include <BRepGProp.hxx>
-
-//=================================================================================
-// class    : BasicGUI_MarkerDlg()
-// purpose  : Constructor
-//=================================================================================
-BasicGUI_MarkerDlg::BasicGUI_MarkerDlg( GeometryGUI* theGeometryGUI, QWidget* theParent )
-: GEOMBase_Skeleton( theParent, "BasicGUI_MarkerDlg", false,
-                    WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap iconCS1   ( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_MARKER" ) ) );
-  QPixmap iconCS2   ( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_MARKER2" ) ) );
-  QPixmap iconCS3   ( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_MARKER3" ) ) );
-  QPixmap iconSelect( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "CAPTION" ) );
-
-  GroupConstructors->setTitle( tr( "LOCALCS" ) );
-  RadioButton1->setPixmap( iconCS1 );
-  RadioButton2->setPixmap( iconCS2 );
-  RadioButton3->setPixmap( iconCS3 );
-
-  Group1 = new DlgRef_1Sel_QTD(this, "Group1");
-  Group1->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  Group1->TextLabel1->setText(tr("GEOM_OBJECT"));
-  Group1->PushButton1->setPixmap(iconSelect);
-
-  Group2 = new DlgRef_3Sel_QTD(this, "Group2");
-  Group2->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  Group2->TextLabel1->setText(tr("GEOM_POINT"));
-  Group2->TextLabel2->setText(tr("XDIR"));
-  Group2->TextLabel3->setText(tr("YDIR"));
-  Group2->PushButton1->setPixmap(iconSelect);
-  Group2->PushButton2->setPixmap(iconSelect);
-  Group2->PushButton3->setPixmap(iconSelect);
-
-  aMainGrp = new QGroupBox( 1, Qt::Horizontal, this );
-  aMainGrp->setFrameStyle( QFrame::NoFrame );
-  aMainGrp->setInsideMargin( 0 );
-
-  QGroupBox* anOriGrp = new QGroupBox( 1, Qt::Vertical, tr( "ORIGIN" ), aMainGrp );
-  new QLabel( tr( "GEOM_X" ), anOriGrp );
-  myData[ X ] = new DlgRef_SpinBox( anOriGrp );
-  new QLabel( tr( "GEOM_Y" ), anOriGrp );
-  myData[ Y ] = new DlgRef_SpinBox( anOriGrp );
-  new QLabel( tr( "GEOM_Z" ), anOriGrp );
-  myData[ Z ] = new DlgRef_SpinBox( anOriGrp );
-
-  QGroupBox* aXAxisGrp = new QGroupBox( 1, Qt::Vertical, tr( "XDIR" ), aMainGrp );
-  new QLabel( tr( "DX" ), aXAxisGrp );
-  myData[ DX1 ] = new DlgRef_SpinBox( aXAxisGrp );
-  new QLabel( tr( "DY" ), aXAxisGrp );
-  myData[ DY1 ] = new DlgRef_SpinBox( aXAxisGrp );
-  new QLabel( tr( "DZ" ), aXAxisGrp );
-  myData[ DZ1 ] = new DlgRef_SpinBox( aXAxisGrp );
-
-  QGroupBox* anYAxisGrp = new QGroupBox( 1, Qt::Vertical, tr( "YDIR" ), aMainGrp );
-  new QLabel( tr( "DX" ), anYAxisGrp );
-  myData[ DX2 ] = new DlgRef_SpinBox( anYAxisGrp );
-  new QLabel( tr( "DY" ), anYAxisGrp );
-  myData[ DY2 ] = new DlgRef_SpinBox( anYAxisGrp );
-  new QLabel( tr( "DZ" ), anYAxisGrp );
-  myData[ DZ2 ] = new DlgRef_SpinBox( anYAxisGrp );
-  
-  Layout1->addWidget( aMainGrp, 2, 0 );
-  Layout1->addWidget( Group1, 2, 0 );
-  Layout1->addWidget( Group2, 2, 0 );
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_MarkerDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_MarkerDlg::~BasicGUI_MarkerDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::Init()
-{
-  myBlockPreview = false;
-  myConstructorId = -1;
-  myEditCurrentArgument = Group1->LineEdit1;
-  Group1->LineEdit1->setReadOnly( true );
-  Group2->LineEdit1->setReadOnly( true );
-  Group2->LineEdit2->setReadOnly( true );
-  Group2->LineEdit3->setReadOnly( true );
-  
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-  connect(Group1->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group1->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( onClose() ) );
-  connect( myGeometryGUI, SIGNAL( SignalDeactivateActiveDialog() ), this, SLOT( onDeactivate() ) );
-  connect( myGeometryGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( onClose() ) );
-
-  connect( buttonOk, SIGNAL( clicked() ), this, SLOT( onOk() ) );
-  connect( buttonApply, SIGNAL( clicked() ), this, SLOT( onApply() ) );
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionDone() ) );
-
-  initName( tr( "LCS_NAME" ) );
-
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  for ( DataMap::iterator anIter = myData.begin(); anIter != myData.end(); ++anIter )
-  {
-    anIter.data()->RangeStepAndValidator( -999.999, 999.999, step, 3 );
-    connect( anIter.data(), SIGNAL( valueChanged( double ) ),
-             this, SLOT( onValueChanged( double ) ) );
-  }
-
-  myBlockPreview = true;
-  for ( DataMap::iterator anIter = myData.begin(); anIter != myData.end(); ++anIter )
-    anIter.data()->SetValue( 0 );
-  myData[ DX1 ]->SetValue( 1 );
-  myData[ DY2 ]->SetValue( 1 );
-  myBlockPreview = false;
-
-  ConstructorsClicked( 0 );
-
-
-  //@
-  /*
-  QAD_ViewFrame* aFrame = QAD_Application::getDesktop()->getActiveApp()->
-    getActiveStudy()->getActiveStudyFrame()->getRightFrame()->getViewFrame();
-
-  VTKViewer_ViewFrame* aVTKFrame = dynamic_cast<VTKViewer_ViewFrame*>( aFrame );
-  if ( aVTKFrame )
-  {
-    aVTKFrame->AdjustTrihedrons( true );
-    return;
-  }
-
-  OCCViewer_ViewFrame* aOCCFrame = dynamic_cast<OCCViewer_ViewFrame*>( aFrame );
-  if ( aOCCFrame )
-    aOCCFrame->AdjustTrihedrons( true );
-  */
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_MarkerDlg::ConstructorsClicked( int constructorId )
-{
-  if ( myConstructorId == constructorId && myConstructorId == 0 )
-  {
-    localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
-    activate( GEOM_MARKER );
-    displayPreview();
-    return;
-  }
-
-  myConstructorId = constructorId;
-
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-
-  switch (constructorId)
-    {
-    case 0:
-    {
-      Group1->hide();
-      Group2->hide();
-      resize(0, 0);
-      aMainGrp->show();
-      localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
-      activate( GEOM_MARKER );
-      break;
-    }
-    case 1:
-      {
-       Group2->hide();
-       aMainGrp->hide();
-       resize(0, 0);
-       Group1->show();
-
-       globalSelection( GEOM_ALLGEOM );
-       myEditCurrentArgument = Group1->LineEdit1;
-       Group1->LineEdit1->setText("");
-       break;
-      }
-    case 2:
-      {
-       aMainGrp->hide();
-       Group1->show();
-       resize(0, 0);
-       Group2->show();
-
-       globalSelection( GEOM_POINT );
-       myEditCurrentArgument = Group2->LineEdit1;
-       Group2->LineEdit1->setText("");
-       Group2->LineEdit2->setText("");
-       Group2->LineEdit3->setText("");
-       break;
-      }
-    }
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(onSelectionDone()));
-  onSelectionDone();
-}
-
-//=================================================================================
-// function : onOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::onOk()
-{
-  if ( onApply() )
-    onClose();
-}
-
-//=======================================================================
-// function : onClose()
-// purpose  :
-//=======================================================================
-void BasicGUI_MarkerDlg::onClose()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : onApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_MarkerDlg::onApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  
-  return true;
-}
-
-//=================================================================================
-// function : onSelectionDone0()
-// purpose  : Reaction on selection when first method of creation is current one
-//=================================================================================
-void BasicGUI_MarkerDlg::onSelectionDone0()
-{
-  if ( IObjectCount() == 1 )
-  {
-
-    Standard_Boolean aRes = Standard_False;
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    GEOM::GEOM_Object_var aSelectedObj = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-
-    if ( aRes && !aSelectedObj->_is_nil() )
-    {
-      TopoDS_Shape aShape;
-      if ( myGeomBase->GetShape( aSelectedObj, aShape, TopAbs_SHAPE ) && !aShape.IsNull() )
-      {
-        if ( aSelectedObj->GetType() == GEOM_MARKER && aShape.ShapeType() == TopAbs_FACE )
-        {
-          TopoDS_Face aFace = TopoDS::Face( aShape );
-          Handle(Geom_Plane) aPlane = Handle(Geom_Plane)::DownCast( BRep_Tool::Surface( aFace ) );
-
-          if ( !aPlane.IsNull() )
-          {
-            gp_Ax3 anAx3 = aPlane->Pln().Position();
-            gp_Pnt aLoc = anAx3.Location();
-            gp_Dir aXDir = anAx3.XDirection();
-            gp_Dir aYDir = anAx3.YDirection();
-
-            myData[ X ]->SetValue( aLoc.X() );
-            myData[ Y ]->SetValue( aLoc.Y() );
-            myData[ Z ]->SetValue( aLoc.Z() );
-
-            myData[ DX1 ]->SetValue( aXDir.X() );
-            myData[ DY1 ]->SetValue( aXDir.Y() );
-            myData[ DZ1 ]->SetValue( aXDir.Z() );
-
-            myData[ DX2 ]->SetValue( aYDir.X() );
-            myData[ DY2 ]->SetValue( aYDir.Y() );
-            myData[ DZ2 ]->SetValue( aYDir.Z() );
-           ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->clearSelected();
-          }
-        }
-        else
-        {
-         TColStd_IndexedMapOfInteger aMap;
-         ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-         if ( aMap.Extent() == 1 )
-          {
-           int anIndex = aMap( 1 );
-           TopTools_IndexedMapOfShape aShapes;
-           TopExp::MapShapes( aShape, aShapes );
-           aShape = aShapes.FindKey( anIndex );
-           ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->clearSelected();
-         }
-          
-
-          if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
-          {
-            gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-            myData[ X ]->SetValue( aPnt.X() );
-            myData[ Y ]->SetValue( aPnt.Y() );
-            myData[ Z ]->SetValue( aPnt.Z() );
-          }
-        }
-      }
-    }
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : onSelectionDone()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_MarkerDlg::onSelectionDone()
-{
-  if ( getConstructorId() == 0 )
-  {
-    onSelectionDone0();
-    return;
-  }
-    
-
-  myEditCurrentArgument->setText("");
-  QString aName;
-
-  if ( IObjectCount() == 1 ) {
-    Standard_Boolean aRes = Standard_False;
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    GEOM::GEOM_Object_var aSelectedObj = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-
-    if ( !CORBA::is_nil( aSelectedObj ) && aRes ) {
-      aName = GEOMBase::GetName( aSelectedObj );
-      TopoDS_Shape aShape;
-      if ( myGeomBase->GetShape( aSelectedObj, aShape, TopAbs_SHAPE ) ) {
-       GEOM::short_array anIndexes;
-
-       TColStd_IndexedMapOfInteger aMap;
-       ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-       
-       if ( !aMap.IsEmpty() ) { 
-         int anIndex = aMap( 1 );
-         TopTools_IndexedMapOfShape aShapes;
-         TopExp::MapShapes( aShape, aShapes );
-         aShape = aShapes.FindKey( anIndex );
-       }
-
-       if ( getConstructorId() == 1 ) {
-         if ( !aShape.IsNull() ) {
-           gp_Pnt aPnt;
-           if (aShape.ShapeType() == TopAbs_VERTEX) {
-             aPnt = BRep_Tool::Pnt(TopoDS::Vertex(aShape));
-           } 
-           else {
-             GProp_GProps aSystem;
-             if (aShape.ShapeType() == TopAbs_EDGE || aShape.ShapeType() == TopAbs_WIRE)
-               BRepGProp::LinearProperties(aShape, aSystem);
-             else if (aShape.ShapeType() == TopAbs_FACE || aShape.ShapeType() == TopAbs_SHELL)
-               BRepGProp::SurfaceProperties(aShape, aSystem);
-             else
-               BRepGProp::VolumeProperties(aShape, aSystem);
-             
-             aPnt = aSystem.CentreOfMass();
-           }
-           
-           gp_Ax3 anAx3;
-           anAx3.Transform(aShape.Location().Transformation());
-           if(aShape.ShapeType() == TopAbs_FACE) {
-             Handle(Geom_Surface) aGS = BRep_Tool::Surface( TopoDS::Face( aShape ) );
-             if (!aGS.IsNull() && aGS->IsKind( STANDARD_TYPE( Geom_Plane ) ) ) {
-               Handle(Geom_Plane) aGPlane = Handle(Geom_Plane)::DownCast( aGS );
-               gp_Pln aPln = aGPlane->Pln();
-               anAx3 = aPln.Position();
-             }
-           }
-           
-           gp_Dir aDirX = anAx3.XDirection();
-           gp_Dir aDirY = anAx3.YDirection();
-           
-           myData[ X ]->SetValue( aPnt.X() );
-           myData[ Y ]->SetValue( aPnt.Y() );
-           myData[ Z ]->SetValue( aPnt.Z() );
-           
-           myData[ DX1 ]->SetValue( aDirX.X() );
-           myData[ DY1 ]->SetValue( aDirX.Y() );
-           myData[ DZ1 ]->SetValue( aDirX.Z() );
-           
-           myData[ DX2 ]->SetValue( aDirY.X() );
-           myData[ DY2 ]->SetValue( aDirY.Y() );
-           myData[ DZ2 ]->SetValue( aDirY.Z() );
-           
-           myEditCurrentArgument->setText( aName );
-         }
-         else {
-           myData[ X ]->SetValue( 0 );
-           myData[ Y ]->SetValue( 0 );
-           myData[ Z ]->SetValue( 0 );
-           
-           myData[ DX1 ]->SetValue( 0 );
-           myData[ DY1 ]->SetValue( 0 );
-           myData[ DZ1 ]->SetValue( 0 );
-           
-           myData[ DX2 ]->SetValue( 0 );
-           myData[ DY2 ]->SetValue( 0 );
-           myData[ DZ2 ]->SetValue( 0 );
-         }
-       }
-       else if ( getConstructorId() == 2 ) {
-         if (myEditCurrentArgument == Group2->LineEdit1) {
-           if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX ) {
-             gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-             myData[ X ]->SetValue( aPnt.X() );
-             myData[ Y ]->SetValue( aPnt.Y() );
-             myData[ Z ]->SetValue( aPnt.Z() );
-             myEditCurrentArgument->setText( aName );
-           }
-           else {
-             myData[ X ]->SetValue( 0 );
-             myData[ Y ]->SetValue( 0 );
-             myData[ Z ]->SetValue( 0 );
-           }
-         }
-         else if (myEditCurrentArgument == Group2->LineEdit2) {
-           if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_EDGE ) {
-             gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(TopoDS::Edge(aShape)));
-             gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex(TopoDS::Edge(aShape)));
-             gp_Dir aDir(gp_Vec(aP1, aP2));
-             
-             myData[ DX1 ]->SetValue( aDir.X() );
-             myData[ DY1 ]->SetValue( aDir.Y() );
-             myData[ DZ1 ]->SetValue( aDir.Z() );
-             myEditCurrentArgument->setText( aName );
-           }
-           else {
-             myData[ DX1 ]->SetValue( 0 );
-             myData[ DY1 ]->SetValue( 0 );
-             myData[ DZ1 ]->SetValue( 0 );
-           }
-         }
-         else if (myEditCurrentArgument == Group2->LineEdit3) {
-           if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_EDGE ) {
-             gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(TopoDS::Edge(aShape)));
-             gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex(TopoDS::Edge(aShape)));
-             gp_Dir aDir(gp_Vec(aP1, aP2));
-             
-             myData[ DX2 ]->SetValue( aDir.X() );
-             myData[ DY2 ]->SetValue( aDir.Y() );
-             myData[ DZ2 ]->SetValue( aDir.Z() );
-             myEditCurrentArgument->setText( aName );
-           }
-           else {
-             myData[ DX2 ]->SetValue( 0 );
-             myData[ DY2 ]->SetValue( 0 );
-             myData[ DZ2 ]->SetValue( 0 );
-           }
-         }
-       }
-      }
-    }
-  }
-  else {
-    if ( getConstructorId() == 1 ) {
-      myData[ X ]->SetValue( 0 );
-      myData[ Y ]->SetValue( 0 );
-      myData[ Z ]->SetValue( 0 );
-      
-      myData[ DX1 ]->SetValue( 0 );
-      myData[ DY1 ]->SetValue( 0 );
-      myData[ DZ1 ]->SetValue( 0 );
-      
-      myData[ DX2 ]->SetValue( 0 );
-      myData[ DY2 ]->SetValue( 0 );
-      myData[ DZ2 ]->SetValue( 0 );
-    }
-    else if ( getConstructorId() == 2 ) {
-      if (myEditCurrentArgument == Group2->LineEdit1) {
-       myData[ X ]->SetValue( 0 );
-       myData[ Y ]->SetValue( 0 );
-       myData[ Z ]->SetValue( 0 );
-      }
-      else if (myEditCurrentArgument == Group2->LineEdit2) {
-       myData[ DX1 ]->SetValue( 0 );
-       myData[ DY1 ]->SetValue( 0 );
-       myData[ DZ1 ]->SetValue( 0 );
-      }
-      else if (myEditCurrentArgument == Group2->LineEdit3) {
-       myData[ DX2 ]->SetValue( 0 );
-       myData[ DY2 ]->SetValue( 0 );
-       myData[ DZ2 ]->SetValue( 0 );
-      }
-    }    
-  }
-  
-  displayPreview();
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == Group1->PushButton1) {
-    myEditCurrentArgument = Group1->LineEdit1;
-    globalSelection( GEOM_ALLGEOM );
-  }
-  else if(send == Group2->PushButton1) {
-    myEditCurrentArgument = Group2->LineEdit1;
-    globalSelection( GEOM_POINT );
-  }
-  else if(send == Group2->PushButton2) {
-    myEditCurrentArgument = Group2->LineEdit2;
-      globalSelection( GEOM_LINE );
-  }
-  else if(send == Group2->PushButton3) {
-    myEditCurrentArgument = Group2->LineEdit3;
-    globalSelection( GEOM_LINE );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  onSelectionDone();
-}
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-
-  myEditCurrentArgument = send;
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-//=================================================================================
-// function : onActivate()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::onActivate()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionDone() ) );
-
-  ConstructorsClicked( getConstructorId() );
-}
-
-//=================================================================================
-// function : onDeactivate()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_MarkerDlg::onDeactivate()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::enterEvent(QEvent* e)
-{                       
-  if ( !GroupConstructors->isEnabled() )
-    onActivate();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_MarkerDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetIBasicOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_MarkerDlg::isValid( QString& msg )
-{
-  const int id = getConstructorId();
-  gp_Vec v1( myData[ DX1 ]->GetValue(), myData[ DY1 ]->GetValue(), myData[ DZ1 ]->GetValue() ),
-         v2( myData[ DX2 ]->GetValue(), myData[ DY2 ]->GetValue(), myData[ DZ2 ]->GetValue() );
-
-  bool isOk = false;
-  // we will got exception if the magnitude of any of the 2 vectors <= gp::Resolution()
-  // Vectors shouldn't be checked for being orthogonal here!
-  if ( v1.Magnitude() > gp::Resolution() && v2.Magnitude() > gp::Resolution() ) {
-    isOk = !v1.IsParallel( v2, Precision::Angular() );
-    if ( !isOk )
-      msg += tr( "VEC_PARALLEL" );
-  }
-
-  switch ( id )
-  {
-    case 0:
-      return isOk;
-    case 1:
-      return !Group1->LineEdit1->text().isEmpty() && isOk;
-    case 2:
-      return !Group2->LineEdit1->text().isEmpty() && 
-            !Group2->LineEdit2->text().isEmpty() && 
-            !Group2->LineEdit3->text().isEmpty() && isOk;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_MarkerDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_IBasicOperations::_narrow(
-    getOperation() )->MakeMarker( myData[ X   ]->GetValue(), myData[ Y   ]->GetValue(), myData[ Z   ]->GetValue(),
-                                  myData[ DX1 ]->GetValue(), myData[ DY1 ]->GetValue(), myData[ DZ1 ]->GetValue(),
-                                  myData[ DX2 ]->GetValue(), myData[ DY2 ]->GetValue(), myData[ DZ2 ]->GetValue() );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : onValueChanged
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::onValueChanged( double )
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : displayPreview
-// purpose  :
-//=================================================================================
-void BasicGUI_MarkerDlg::displayPreview ( const bool   activate,
-                                          const bool   update,
-                                          const bool   toRemoveFromEngine,
-                                          const double lineWidth )
-{
-  if ( !myBlockPreview )
-  {
-    GEOMBase_Skeleton::displayPreview( activate, update, toRemoveFromEngine, lineWidth );
-    if ( myConstructorId == 0 )
-    {
-      GEOMBase_Skeleton::activate( GEOM_MARKER );
-    }
-  }
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/BasicGUI/BasicGUI_MarkerDlg.h b/src/BasicGUI/BasicGUI_MarkerDlg.h
deleted file mode 100644 (file)
index 7b3cf3b..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_MarkerDlg.h
-//  Author : Sergey LITONIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_Marker_H
-#define DIALOGBOX_Marker_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-#include "DlgRef_3Sel_QTD.h"
-
-#include <qmap.h>
-
-class DlgRef_SpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
-class BasicGUI_MarkerDlg : public GEOMBase_Skeleton
-{
-  Q_OBJECT
-
-private:
-  enum { X, Y, Z, DX1, DY1, DZ1, DX2, DY2, DZ2 };
-  typedef QMap< int, DlgRef_SpinBox* > DataMap;
-
-public:
-                                BasicGUI_MarkerDlg( GeometryGUI* theGeometryGUI, QWidget* );
-  virtual                       ~BasicGUI_MarkerDlg();
-  void                          Init();
-
-protected:
-  virtual                       GEOM::GEOM_IOperations_ptr createOperation();
-  virtual bool                  isValid( QString& );
-  virtual bool                  execute( ObjectList& objects );
-  virtual void                  closeEvent( QCloseEvent* e );
-  virtual void                  displayPreview ( const bool   activate = false,
-                                                 const bool   update = true,
-                                                 const bool   toRemoveFromEngine = true,
-                                                 const double lineWidth = -1 );
-
-private :
-  void                          enterEvent( QEvent* e );
-  void                          onSelectionDone0();
-
-  GeometryGUI* myGeometryGUI;
-
-private slots:
-  void                          onOk();
-  void                          onClose();
-  bool                          onApply();
-  void                          onActivate();
-  void                          onDeactivate();
-  void                          onSelectionDone();
-  void                          onValueChanged( double );
-  void                          ConstructorsClicked( int );
-  void                          LineEditReturnPressed();
-  void                          SetEditCurrentArgument();
-
-private:
-  DataMap                       myData;
-  int                           myConstructorId;
-  int                           myBlockPreview;
-
-  QGroupBox*                    aMainGrp;
-  DlgRef_1Sel_QTD*              Group1;
-  DlgRef_3Sel_QTD*              Group2;
-
-};
-
-#endif // DIALOGBOX_Marker_H
diff --git a/src/BasicGUI/BasicGUI_PlaneDlg.cxx b/src/BasicGUI/BasicGUI_PlaneDlg.cxx
deleted file mode 100644 (file)
index eee53f1..0000000
+++ /dev/null
@@ -1,507 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_PlaneDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_PlaneDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_PlaneDlg()
-// purpose  : Constructs a BasicGUI_PlaneDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_PlaneDlg::BasicGUI_PlaneDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PLANE_PV")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PLANE_3PNTS")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PLANE_FACE")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_PLANE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PLANE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->setPixmap(image2);
-
-  GroupPntDir = new DlgRef_2Sel1Spin(this, "GroupPointDirection");
-  GroupPntDir->GroupBox1->setTitle(tr("GEOM_PLANE_PV"));
-  GroupPntDir->TextLabel1->setText(tr("GEOM_POINT"));
-  GroupPntDir->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPntDir->TextLabel3->setText(tr("GEOM_PLANE_SIZE"));
-  GroupPntDir->PushButton1->setPixmap(image3);
-  GroupPntDir->PushButton2->setPixmap(image3);
-  GroupPntDir->LineEdit1->setReadOnly( true );
-  GroupPntDir->LineEdit2->setReadOnly( true );
-
-  Group3Pnts = new DlgRef_3Sel1Spin(this, "Group3Pnts");
-  Group3Pnts->GroupBox1->setTitle(tr("GEOM_3_POINTS"));
-  Group3Pnts->TextLabel1->setText(tr("GEOM_POINT1"));
-  Group3Pnts->TextLabel2->setText(tr("GEOM_POINT2"));
-  Group3Pnts->TextLabel3->setText(tr("GEOM_POINT3"));
-  Group3Pnts->TextLabel4->setText(tr("GEOM_PLANE_SIZE"));
-  Group3Pnts->PushButton1->setPixmap(image3);
-  Group3Pnts->PushButton2->setPixmap(image3);
-  Group3Pnts->PushButton3->setPixmap(image3);
-
-  Group3Pnts->LineEdit1->setReadOnly( true );
-  Group3Pnts->LineEdit2->setReadOnly( true );
-  Group3Pnts->LineEdit3->setReadOnly( true );
-
-  GroupFace = new DlgRef_1Sel1Spin(this, "GroupFace");
-  GroupFace->GroupBox1->setTitle(tr("GEOM_FACE"));
-  GroupFace->TextLabel1->setText(tr("GEOM_SELECTION"));
-  GroupFace->TextLabel2->setText(tr("GEOM_PLANE_SIZE"));
-  GroupFace->PushButton1->setPixmap(image3);
-
-  GroupFace->LineEdit1->setReadOnly( true );
-    
-  Layout1->addWidget(GroupPntDir, 2, 0);
-  Layout1->addWidget(Group3Pnts, 2, 0);
-  Layout1->addWidget(GroupFace, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_PlaneDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_PlaneDlg::~BasicGUI_PlaneDlg()
-{  
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPntDir->LineEdit1;
-
-  myPoint = myDir = myPoint1 = myPoint2 = myPoint3 = myFace = GEOM::GEOM_Object::_nil();
-
-  // myGeometryGUI->SetState( 0 );
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double aStep = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  double aTrimSize = 2000.0;
-  
-  /* min, max, step and decimals for spin boxes */
-  GroupPntDir->SpinBox_DX->RangeStepAndValidator( 0.001, 10000000.0, aStep, 3 );
-  GroupPntDir->SpinBox_DX->SetValue( aTrimSize );
-  Group3Pnts->SpinBox_DX->RangeStepAndValidator(0.001, 10000000.0, aStep, 3);
-  Group3Pnts->SpinBox_DX->SetValue( aTrimSize );
-  GroupFace->SpinBox_DX->RangeStepAndValidator(0.001, 10000000.0, aStep, 3);
-  GroupFace->SpinBox_DX->SetValue( aTrimSize );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPntDir->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPntDir->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3Pnts->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupFace->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPntDir->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPntDir->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3Pnts->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3Pnts->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3Pnts->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupFace->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPntDir->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group3Pnts->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupFace->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPntDir->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group3Pnts->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupFace->SpinBox_DX, SLOT(SetStep(double)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_PLANE" ) );
-
-  Group3Pnts->hide();
-  GroupFace->hide();
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_PlaneDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  myPoint = myDir = myPoint1 = myPoint2 = myPoint3 = myFace = GEOM::GEOM_Object::_nil();
-
-  switch ( constructorId )
-  {
-    case 0: /* plane from a point and a direction (vector, edge...) */
-      {        
-                               Group3Pnts->hide();
-                               GroupFace->hide();
-                               resize(0, 0);
-                               GroupPntDir->show();
-
-                               myEditCurrentArgument = GroupPntDir->LineEdit1;
-                               GroupPntDir->LineEdit1->setText(tr(""));
-                               GroupPntDir->LineEdit2->setText(tr(""));
-
-                               /* for the first argument */
-                               globalSelection( GEOM_POINT );
-                               break;
-      }
-    case 1: /* plane from 3 points */
-      {
-                               GroupPntDir->hide();
-                               GroupFace->hide();
-                               resize(0, 0);
-                               Group3Pnts->show();
-
-                               myEditCurrentArgument = Group3Pnts->LineEdit1;
-                               Group3Pnts->LineEdit1->setText("");
-                               Group3Pnts->LineEdit2->setText("");
-                               Group3Pnts->LineEdit3->setText("");
-
-                               /* for the first argument */
-                               globalSelection( GEOM_POINT );
-                               break;
-      } 
-    case 2: /* plane from a planar face selection */
-      {
-                               GroupPntDir->hide();
-                               Group3Pnts->hide();
-                               resize(0, 0);
-                               GroupFace->show();
-
-                               myEditCurrentArgument = GroupFace->LineEdit1;
-                               GroupFace->LineEdit1->setText(tr(""));
-
-                               /* for the first argument */
-                               globalSelection( GEOM_PLANE );
-                               break;
-      }
-    }
-
-  myEditCurrentArgument->setFocus();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_PlaneDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_PlaneDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void BasicGUI_PlaneDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  
-  if ( IObjectCount() != 1 )  
-  {
-    if      ( myEditCurrentArgument == GroupPntDir->LineEdit1 ) myPoint  = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupPntDir->LineEdit2 ) myDir    = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit1 )  myPoint1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )  myPoint2 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )  myPoint3 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupFace->LineEdit1 )   myFace   = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {  
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == GroupPntDir->LineEdit1 ) myPoint  = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupPntDir->LineEdit2 ) myDir    = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit1 )  myPoint1 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit2 )  myPoint2 = aSelectedObject;
-    else if ( myEditCurrentArgument == Group3Pnts->LineEdit3 )  myPoint3 = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupFace->LineEdit1 )   myFace   = aSelectedObject;
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();  
-
-  if      ( send == GroupPntDir->PushButton1 ) myEditCurrentArgument = GroupPntDir->LineEdit1;
-  else if ( send == GroupPntDir->PushButton2 ) myEditCurrentArgument = GroupPntDir->LineEdit2;
-  else if ( send == Group3Pnts->PushButton1 )  myEditCurrentArgument = Group3Pnts->LineEdit1;
-  else if ( send == Group3Pnts->PushButton2 )  myEditCurrentArgument = Group3Pnts->LineEdit2;
-  else if ( send == Group3Pnts->PushButton3 )  myEditCurrentArgument = Group3Pnts->LineEdit3;
-  else if ( send == GroupFace->PushButton1 )   myEditCurrentArgument = GroupFace->LineEdit1;
-
-  myEditCurrentArgument->setFocus();
-  
-  if ( myEditCurrentArgument == GroupPntDir->LineEdit2 )
-    globalSelection( GEOM_LINE );
-  else if ( myEditCurrentArgument == GroupFace->LineEdit1 )
-       globalSelection( GEOM_PLANE );
-  else
-       globalSelection( GEOM_POINT );
-   
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == GroupPntDir->LineEdit1 ||
-       send == GroupPntDir->LineEdit2 ||
-       send == Group3Pnts->LineEdit1 ||
-       send == Group3Pnts->LineEdit2 ||
-       send == Group3Pnts->LineEdit3 ||
-       send == GroupFace->LineEdit1 )
-  {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  // myGeometryGUI->SetState( 0 );
-
-  ConstructorsClicked( getConstructorId() );
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_PlaneDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::ValueChangedInSpinBox(double newValue)
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : getSize()
-// purpose  :
-//=================================================================================
-double BasicGUI_PlaneDlg::getSize() const
-{
-  switch ( getConstructorId() )
-  {
-  case 0 : return GroupPntDir->SpinBox_DX->GetValue();
-  case 1 : return Group3Pnts->SpinBox_DX->GetValue();
-  case 2 : return GroupFace->SpinBox_DX->GetValue();
-  }
-  return 0.;
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_PlaneDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetIBasicOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isEqual
-// purpose  : it may also be needed to check for min distance between gp_Pnt-s...
-//=================================================================================
-static bool isEqual( const GEOM::GEOM_Object_var& thePnt1, const GEOM::GEOM_Object_var& thePnt2 )
-{
-       return thePnt1->_is_equivalent( thePnt2 );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_PlaneDlg::isValid( QString& msg )
-{
-       const int id = getConstructorId();
-       if ( getSize() <= 0 )
-       {
-               msg = QString( "Please, enter size greater than 0." );
-               return false;
-       }
-       if ( id == 0 )
-               return !CORBA::is_nil( myPoint ) && !CORBA::is_nil( myDir );
-       else if ( id == 1 )
-               return !CORBA::is_nil( myPoint1  ) && !CORBA::is_nil( myPoint2 ) && !CORBA::is_nil( myPoint3 ) &&
-                      !isEqual( myPoint1, myPoint2 ) && !isEqual( myPoint1, myPoint3 ) && !isEqual( myPoint2, myPoint3 );
-       else if ( id == 2 )
-               return !CORBA::is_nil( myFace );
-       return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_PlaneDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() )
-  {
-  case 0 :
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePlanePntVec( myPoint, myDir, getSize() );
-    res = true;
-    break;
-  case 1 :
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePlaneThreePnt( myPoint1, myPoint2, myPoint3, getSize() );
-    res = true;
-    break;
-  case 2 :
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePlaneFace( myFace, getSize() );
-    res = true;
-    break;
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_PlaneDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
diff --git a/src/BasicGUI/BasicGUI_PlaneDlg.h b/src/BasicGUI/BasicGUI_PlaneDlg.h
deleted file mode 100644 (file)
index cf3c65c..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_PlaneDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_PLANE_H
-#define DIALOGBOX_PLANE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Spin.h"
-#include "DlgRef_2Sel1Spin.h"
-#include "DlgRef_3Sel1Spin.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
-//=================================================================================
-// class    : BasicGUI_PlaneDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_PlaneDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_PlaneDlg( GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_PlaneDlg();
-    
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double getSize() const;
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint, myDir, myPoint1, myPoint2, myPoint3, myFace;
-
-    DlgRef_2Sel1Spin* GroupPntDir;
-    DlgRef_3Sel1Spin* Group3Pnts;
-    DlgRef_1Sel1Spin* GroupFace;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-    
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void SelectionIntoArgument();
-    void LineEditReturnPressed();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int constructorId);
-    void ValueChangedInSpinBox(double newValue);
-
-};
-
-#endif // DIALOGBOX_PLANE_H
diff --git a/src/BasicGUI/BasicGUI_PointDlg.cxx b/src/BasicGUI/BasicGUI_PointDlg.cxx
deleted file mode 100644 (file)
index 29b7bf6..0000000
+++ /dev/null
@@ -1,571 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_PointDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_PointDlg.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <qlabel.h>
-
-#include "utilities.h"
-
-#include <gp_Pnt.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopoDS.hxx>
-#include <BRep_Tool.hxx>
-
-#include <qapplication.h>
-using namespace std;
-//=================================================================================
-// class    : BasicGUI_PointDlg()
-// purpose  : Constructs a BasicGUI_PointDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_PointDlg::BasicGUI_PointDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, fl ), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POINT")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POINT_EDGE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POINT_REF")));
-
-  setCaption(tr("GEOM_POINT_TITLE"));
-
-  QGroupBox* aFrame = new QGroupBox( 1, Qt::Horizontal, this );
-  aFrame->setInsideMargin( 0 );
-  aFrame->setFrameStyle( QFrame::NoFrame );
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_POINTS"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image3);
-  RadioButton3->setPixmap(image1);
-
-  GroupXYZ = new DlgRef_3Spin( aFrame, "GroupXYZ" );
-  GroupXYZ->GroupBox1->setTitle(tr("GEOM_COORDINATES"));
-  GroupXYZ->TextLabel1->setText(tr("GEOM_X"));
-  GroupXYZ->TextLabel2->setText(tr("GEOM_Y"));
-  GroupXYZ->TextLabel3->setText(tr("GEOM_Z"));
-
-  GroupOnCurve = new DlgRef_1Sel1Spin( aFrame, "GroupOnCurve" );
-  GroupOnCurve->GroupBox1->setTitle(tr("GEOM_PARAM_POINT"));
-  GroupOnCurve->TextLabel1->setText(tr("GEOM_EDGE"));
-  GroupOnCurve->TextLabel2->setText(tr("GEOM_PARAMETER"));
-  GroupOnCurve->PushButton1->setPixmap(image2);
-
-  GroupRefPoint = new DlgRef_1Sel3Spin( aFrame, "GoupRefPoint" );
-  GroupRefPoint->GroupBox1->setTitle(tr("GEOM_REF_POINT"));
-  GroupRefPoint->TextLabel1->setText(tr("GEOM_POINT"));
-  GroupRefPoint->PushButton1->setPixmap(image2);
-  GroupRefPoint->TextLabel2->setText(tr("GEOM_DX"));
-  GroupRefPoint->TextLabel3->setText(tr("GEOM_DY"));
-  GroupRefPoint->TextLabel4->setText(tr("GEOM_DZ"));
-
-  Layout1->addWidget( aFrame, 2, 0 );
-  /***************************************************************/
-
-  myCoordGrp = new QGroupBox( 2, Qt::Horizontal, tr( "GEOM_COORDINATES" ), aFrame );
-  new QLabel( tr( "GEOM_X" ), myCoordGrp );
-  myX = new QLineEdit( myCoordGrp );
-  new QLabel( tr( "GEOM_Y" ), myCoordGrp );
-  myY = new QLineEdit( myCoordGrp );
-  new QLabel( tr( "GEOM_Z" ), myCoordGrp );
-  myZ = new QLineEdit( myCoordGrp );
-
-  myX->setReadOnly( true );
-  myY->setReadOnly( true );
-  myZ->setReadOnly( true );
-
-  myX->setEnabled( false );
-  myY->setEnabled( false );
-  myZ->setEnabled( false );
-
-  QPalette aPal = myX->palette();
-  aPal.setColor( QPalette::Disabled, QColorGroup::Text, QColor( 0, 0, 0 ) ) ;
-  myX->setPalette( aPal );
-  myY->setPalette( aPal );
-  myZ->setPalette( aPal );
-  Init();
-}
-
-
-//=======================================================================
-// function : ~BasicGUI_PointDlg()
-// purpose  : Destructor
-//=======================================================================
-BasicGUI_PointDlg::~BasicGUI_PointDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::Init()
-{
-  GroupOnCurve->LineEdit1->setReadOnly( true );
-  GroupRefPoint->LineEdit1->setReadOnly( true );
-
-  myEdge = GEOM::GEOM_Object::_nil();
-  myRefPoint = GEOM::GEOM_Object::_nil();
-
-  myEditCurrentArgument = 0;
-
-  // myGeometryGUI->SetState( 0 );
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  /* min, max, step and decimals for spin boxes */
-  GroupXYZ->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupXYZ->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupXYZ->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupXYZ->SpinBox_DX->SetValue(0.0);
-  GroupXYZ->SpinBox_DY->SetValue(0.0);
-  GroupXYZ->SpinBox_DZ->SetValue(0.0);
-
-  GroupRefPoint->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupRefPoint->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupRefPoint->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupRefPoint->SpinBox_DX->SetValue(0.0);
-  GroupRefPoint->SpinBox_DY->SetValue(0.0);
-  GroupRefPoint->SpinBox_DZ->SetValue(0.0);
-
-  step = 0.1;
-  GroupOnCurve->SpinBox_DX->RangeStepAndValidator(0., 1., step, 3);
-  GroupOnCurve->SpinBox_DX->SetValue( 0.5 );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupOnCurve->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupOnCurve->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupOnCurve->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupXYZ->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupXYZ->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupXYZ->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupRefPoint->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupRefPoint->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupRefPoint->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupOnCurve->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupXYZ->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupXYZ->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupXYZ->SpinBox_DZ, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupRefPoint->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupRefPoint->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupRefPoint->SpinBox_DZ, SLOT(SetStep(double)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));  
-  
-  initName( tr("GEOM_VERTEX") );
-  
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_PointDlg::ConstructorsClicked(int constructorId)
-{  
-  switch ( constructorId )
-  {
-  case 0:
-    {
-      localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
-
-      GroupRefPoint->hide();
-      GroupOnCurve->hide();
-
-      GroupXYZ->show();
-
-      myCoordGrp->hide();
-      break;
-    }
-  case 1:
-    {
-      myEditCurrentArgument = GroupRefPoint->LineEdit1;
-      myEditCurrentArgument->setText("");
-      myRefPoint = GEOM::GEOM_Object::_nil();
-
-      globalSelection( GEOM_POINT );
-
-      GroupXYZ->hide();
-      GroupOnCurve->hide();
-
-      GroupRefPoint->show();
-      
-      myCoordGrp->show();
-      break;
-    }
-  case 2:
-    {
-      myEditCurrentArgument = GroupOnCurve->LineEdit1;
-      myEditCurrentArgument->setText("");
-      myEdge = GEOM::GEOM_Object::_nil();
-
-      globalSelection( GEOM_EDGE );
-
-      GroupXYZ->hide();
-      GroupRefPoint->hide();
-
-      GroupOnCurve->show();
-      
-      myCoordGrp->show();
-      break;
-    }
-  }
-
-  myX->setText( "" );
-  myY->setText( "" );
-  myZ->setText( "" );
-
-  qApp->processEvents();
-  updateGeometry();
-  resize( minimumSize() );
-
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::ClickOnOk()
-{
-  if ( onAccept() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_PointDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_PointDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed (for constructors not using local context)
-//=================================================================================
-void BasicGUI_PointDlg::SelectionIntoArgument()
-{
-  const int id = getConstructorId();
-
-  if ( ( id == 1 || id == 2 ) && myEditCurrentArgument != 0 )
-    {
-      myEditCurrentArgument->setText("");
-      myX->setText( "" );
-      myY->setText( "" );
-      myZ->setText( "" );
-      myRefPoint = myEdge = GEOM::GEOM_Object::_nil();
-    }
-       
-  if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aRes = Standard_False;
-      GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-      if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-       {
-         if ( id == 0 )
-           {
-             // get CORBA reference to data object
-             TopoDS_Shape aShape = myGeometryGUI->GetShapeReader().GetShape( myGeometryGUI->GetGeomGen(), aSelectedObject );
-             if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
-               {
-                 gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-                 GroupXYZ->SpinBox_DX->SetValue( aPnt.X() );
-                 GroupXYZ->SpinBox_DY->SetValue( aPnt.Y() );
-                 GroupXYZ->SpinBox_DZ->SetValue( aPnt.Z() );
-               }
-           }
-         else if ( id == 1 )
-           {
-             myRefPoint = aSelectedObject;
-             GroupRefPoint->LineEdit1->setText( GEOMBase::GetName( aSelectedObject ) );
-           }
-         else if ( id == 2 )
-           {
-             myEdge = aSelectedObject;
-             GroupOnCurve->LineEdit1->setText( GEOMBase::GetName( aSelectedObject ) );
-           }
-       }
-    }
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == GroupRefPoint->LineEdit1 || send == GroupOnCurve->LineEdit1 )
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if ( send == GroupRefPoint->PushButton1 )
-  {
-    GroupRefPoint->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupRefPoint->LineEdit1;
-    
-    globalSelection( GEOM_POINT );
-  }
-  else if ( send == GroupOnCurve->PushButton1 )
-  {
-    GroupOnCurve->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupOnCurve->LineEdit1;
-    
-    globalSelection( GEOM_EDGE );
-  }
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : to reactivate this dialog box when mouse enter onto the window
-//=================================================================================
-void BasicGUI_PointDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::ActivateThisDialog( )
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  // myGeometryGUI->SetState( 0 );
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_PointDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::ValueChangedInSpinBox(double newValue)
-{
-  displayPreview();
-}
-
-//=======================================================================
-// funcion  : getParameter()
-// purpose  :
-//=======================================================================
-double BasicGUI_PointDlg::getParameter() const
-{
-  return GroupOnCurve->SpinBox_DX->GetValue();
-}
-
-//=================================================================================
-// function : OnPointSelected
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::OnPointSelected( const gp_Pnt& thePnt )
-{
-  if ( getConstructorId() == 0 )
-  {
-    GroupXYZ->SpinBox_DX->SetValue( thePnt.X() );
-    GroupXYZ->SpinBox_DY->SetValue( thePnt.Y() );
-    GroupXYZ->SpinBox_DZ->SetValue( thePnt.Z() );
-
-    displayPreview();
-  }
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_PointDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetIBasicOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_PointDlg::isValid( QString& msg )
-{
-  const int id = getConstructorId();
-  if ( id == 0 )
-    return true;
-  else if ( id == 1 )
-    return !myRefPoint->_is_nil();
-  else if ( id == 2 )
-    return !myEdge->_is_nil();
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_PointDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() )
-  {
-  case 0 :
-  {
-    double x = GroupXYZ->SpinBox_DX->GetValue();
-    double y = GroupXYZ->SpinBox_DY->GetValue();
-    double z = GroupXYZ->SpinBox_DZ->GetValue();
-      
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePointXYZ( x,y,z );
-    res = true;
-    break;
-  }
-  case 1 :
-  {
-    double dx = GroupRefPoint->SpinBox_DX->GetValue();
-    double dy = GroupRefPoint->SpinBox_DY->GetValue();
-    double dz = GroupRefPoint->SpinBox_DZ->GetValue();
-  
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePointWithReference( myRefPoint, dx, dy, dz );
-    res = true;
-    break;
-  }
-  case 2 :
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakePointOnCurve( myEdge, getParameter() );
-    res = true;
-    break;
-  }
-
-  if ( getConstructorId() == 1 || getConstructorId() == 2 )
-  {
-    TopoDS_Shape aShape;
-    if ( GEOMBase::GetShape( anObj, aShape ) && !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
-    {
-      gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-      myX->setText( QString( "%1" ).arg( aPnt.X() ) );
-      myY->setText( QString( "%1" ).arg( aPnt.Y() ) );
-      myZ->setText( QString( "%1" ).arg( aPnt.Z() ) );
-    }
-    else
-    {
-      myX->setText( "" );
-      myY->setText( "" );
-      myZ->setText( "" );
-    }
-  }
-  
-  if ( !anObj->_is_nil() )
-  {
-    //printf( "--> a valid point is created\n" );
-    objects.push_back( anObj._retn() );
-  }
-
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_PointDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/BasicGUI/BasicGUI_PointDlg.h b/src/BasicGUI/BasicGUI_PointDlg.h
deleted file mode 100644 (file)
index d053672..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_PointDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_POINT_H
-#define DIALOGBOX_POINT_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Spin.h"
-#include "DlgRef_3Spin.h"
-#include "DlgRef_1Sel3Spin.h"
-
-class QLineEdit;
-class QGroupBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI_PointDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_PointDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_PointDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-
-    ~BasicGUI_PointDlg();
-
-    bool acceptMouseEvent() const { return ( getConstructorId() == 0 );  };
-    void OnPointSelected( const gp_Pnt& ); // called by BasicGUI::OnMousePress()
-    
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double getParameter() const;
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myEdge;
-    GEOM::GEOM_Object_var myRefPoint; 
-
-    DlgRef_3Spin*     GroupXYZ;
-    DlgRef_1Sel3Spin* GroupRefPoint;
-    DlgRef_1Sel1Spin* GroupOnCurve;
-
-    QGroupBox*        myCoordGrp;
-    QLineEdit*        myX;
-    QLineEdit*        myY;
-    QLineEdit*        myZ;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int constructorId);
-    void ValueChangedInSpinBox(double newValue);
-};
-
-#endif // DIALOGBOX_POINT_H
diff --git a/src/BasicGUI/BasicGUI_VectorDlg.cxx b/src/BasicGUI/BasicGUI_VectorDlg.cxx
deleted file mode 100644 (file)
index 3581fca..0000000
+++ /dev/null
@@ -1,416 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_VectorDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BasicGUI_VectorDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_VectorDlg()
-// purpose  : Constructs a BasicGUI_VectorDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_VectorDlg::BasicGUI_VectorDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, fl ), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_VECTOR_2P")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_VECTOR_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_VECTOR_TITLE"));
-  
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_VECTOR"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_POINTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  GroupDimensions = new DlgRef_3Spin1Check(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_COORDINATES"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_DX"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_DY"));
-  GroupDimensions->TextLabel3->setText(tr("GEOM_DZ"));
-  GroupDimensions->CheckBox1->setText(tr("GEOM_REVERSE_VECTOR"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BasicGUI_VectorDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_VectorDlg::~BasicGUI_VectorDlg()
-{  
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::Init()
-{
-    /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myPoint1 = GEOM::GEOM_Object::_nil();
-  myPoint2 = GEOM::GEOM_Object::_nil();
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  /* min, max, step and decimals for spin boxes */
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-
-  double dx( 0. ), dy( 0. ), dz( 200. );
-  GroupDimensions->SpinBox_DX->SetValue( dx );
-  GroupDimensions->SpinBox_DY->SetValue( dy );
-  GroupDimensions->SpinBox_DZ->SetValue( dz );
-
-  GroupDimensions->CheckBox1->setChecked(FALSE);
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-  
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DZ, SLOT(SetStep(double)));
-
-  connect(GroupDimensions->CheckBox1, SIGNAL(stateChanged(int)), this, SLOT(ReverseVector(int)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr("GEOM_VECTOR") );
-
-  GroupDimensions->hide();
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_VectorDlg::ConstructorsClicked( int constructorId )
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  myPoint1 = GEOM::GEOM_Object::_nil();
-  myPoint2 = GEOM::GEOM_Object::_nil();
-
-  switch (constructorId)
-    {
-    case 0:
-      {
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText("");
-       GroupPoints->LineEdit2->setText("");
-
-       globalSelection( GEOM_POINT );
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break;
-      }
-    case 1:
-      {
-       GroupPoints->hide();
-       resize( 0, 0 );
-       GroupDimensions->show();
-       
-       double dx( 0. ), dy( 0. ), dz( 0. ); 
-       GroupDimensions->SpinBox_DX->SetValue( dx );
-       GroupDimensions->SpinBox_DY->SetValue( dy );
-       GroupDimensions->SpinBox_DZ->SetValue( dz );
-
-       GroupDimensions->CheckBox1->setChecked( FALSE );
-       break;
-      }
-    }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_VectorDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_VectorDlg::ClickOnApply()
-{
-  buttonApply->setFocus();
-
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  if ( getConstructorId() != 1 )
-       ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_VectorDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  if ( IObjectCount() != 1 ) 
-  {
-    if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-      myPoint1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 )
-      myPoint2 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1 
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-  {
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myPoint1 = aSelectedObject;
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 ) myPoint2 = aSelectedObject;
-  }
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if      ( send == GroupPoints->PushButton1 ) myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == GroupPoints->PushButton2 ) myEditCurrentArgument = GroupPoints->LineEdit2;
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::LineEditReturnPressed()
-{ 
-  QLineEdit* send = (QLineEdit*)sender();
-  if      ( send == GroupPoints->LineEdit1 ) myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == GroupPoints->LineEdit2 ) myEditCurrentArgument = GroupPoints->LineEdit2;
-  else return;
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       
-  ConstructorsClicked( getConstructorId() );
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_VectorDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BasicGUI_VectorDlg::ValueChangedInSpinBox( double newValue )
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : ReverseVector()
-// purpose  : 'state' not used here
-//=================================================================================
-void BasicGUI_VectorDlg::ReverseVector(int state)
-{
-  double dx = -GroupDimensions->SpinBox_DX->GetValue();
-  double dy = -GroupDimensions->SpinBox_DY->GetValue();
-  double dz = -GroupDimensions->SpinBox_DZ->GetValue();
-
-  GroupDimensions->SpinBox_DX->SetValue( dx );
-  GroupDimensions->SpinBox_DY->SetValue( dy );
-  GroupDimensions->SpinBox_DZ->SetValue( dz );
-  
-  displayPreview();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BasicGUI_VectorDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetIBasicOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BasicGUI_VectorDlg::isValid( QString& msg )
-{
-  return getConstructorId() == 0 ? !myPoint1->_is_nil() && !myPoint2->_is_nil(): true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BasicGUI_VectorDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) {
-  case 0 :
-    anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakeVectorTwoPnt( myPoint1, myPoint2 );
-    res = true;
-    break;
-
-  case 1 :
-    {
-      double dx = GroupDimensions->SpinBox_DX->GetValue();
-      double dy = GroupDimensions->SpinBox_DY->GetValue();
-      double dz = GroupDimensions->SpinBox_DZ->GetValue();
-      anObj = GEOM::GEOM_IBasicOperations::_narrow( getOperation() )->MakeVectorDXDYDZ( dx,dy,dz );
-      res = true;
-      break;
-    }
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return res;
-}
-
diff --git a/src/BasicGUI/BasicGUI_VectorDlg.h b/src/BasicGUI/BasicGUI_VectorDlg.h
deleted file mode 100644 (file)
index 8e87f2b..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_VectorDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_VECTOR_H
-#define DIALOGBOX_VECTOR_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-#include "DlgRef_3Spin1Check.h"
-
-#include "BasicGUI.h"
-//#include "GEOM_ShapeTypeFilter.hxx"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI_VectorDlg
-// purpose  :
-//=================================================================================
-class BasicGUI_VectorDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_VectorDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BasicGUI_VectorDlg();
-    
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myPoint1;   
-    GEOM::GEOM_Object_var myPoint2;
-
-    DlgRef_2Sel_QTD* GroupPoints;
-    DlgRef_3Spin1Check* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-    
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int constructorId);
-    void ValueChangedInSpinBox(double newValue);
-    void ReverseVector(int state);
-
-};
-
-#endif // DIALOGBOX_VECTOR_H
diff --git a/src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx b/src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx
deleted file mode 100644 (file)
index cf56ed7..0000000
+++ /dev/null
@@ -1,468 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : BasicGUI_WorkingPlaneDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-
-#include "BasicGUI_WorkingPlaneDlg.h"
-
-#include "GEOMBase.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <Geom_Surface.hxx>
-#include <Geom_Plane.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-#include <BRep_Tool.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Pln.hxx>
-#include <V3d_View.hxx>
-
-#include "GEOMImpl_Types.hxx"
-
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : BasicGUI_WorkingPlaneDlg()
-// purpose  : Constructs a BasicGUI_WorkingPlaneDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BasicGUI_WorkingPlaneDlg::BasicGUI_WorkingPlaneDlg(GeometryGUI* theGeometryGUI , QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_WPLANE_FACE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_WPLANE_VECTOR")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_WPLANE_ORIGIN")));
-
-  setCaption(tr("GEOM_WPLANE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_WPLANE"));
-  RadioButton1->setPixmap(image1);
-  RadioButton2->setPixmap(image2);
-  RadioButton3->setPixmap(image3);
-
-  Group1 = new DlgRef_1Sel_QTD(this, "Group1");
-  Group1->GroupBox1->setTitle(tr("GEOM_WPLANE_FACE"));
-  Group1->TextLabel1->setText(tr("GEOM_SELECTION"));
-  Group1->PushButton1->setPixmap(image0);
-  Group1->LineEdit1->setReadOnly( true );
-
-  Group2 = new DlgRef_2Sel_QTD(this, "Group2");
-  Group2->GroupBox1->setTitle(tr("GEOM_WPLANE_VECTOR"));
-  Group2->TextLabel1->setText(tr("GEOM_WPLANE_VX"));
-  Group2->TextLabel2->setText(tr("GEOM_WPLANE_VZ"));
-  Group2->PushButton1->setPixmap(image0);
-  Group2->PushButton2->setPixmap(image0);
-  Group2->LineEdit1->setReadOnly( true );
-  Group2->LineEdit2->setReadOnly( true );
-
-  Group3 = new DlgRef_3Check_QTD(this, "Group3");
-  Group3->GroupBox1->setTitle(tr("GEOM_WPLANE_ORIGIN"));
-  Group3->RadioButton1->setText(tr("GEOM_WPLANE_OXY"));
-  Group3->RadioButton2->setText(tr("GEOM_WPLANE_OYZ"));
-  Group3->RadioButton3->setText(tr("GEOM_WPLANE_OZX"));
-
-  Layout1->addWidget(Group1, 1, 0);
-  Layout1->addWidget(Group2, 1, 0);
-  Layout1->addWidget(Group3, 1, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-//=================================================================================
-// function : ~BasicGUI_WorkingPlaneDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BasicGUI_WorkingPlaneDlg::~BasicGUI_WorkingPlaneDlg()
-{
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = Group1->LineEdit1;
-  myWPlane = myGeometryGUI->GetWorkingPlane();
-
-  // myGeometryGUI->SetState( 0 );
-
-  myFace = GEOM::GEOM_Object::_nil();
-  myVectX = GEOM::GEOM_Object::_nil();
-  myVectZ = GEOM::GEOM_Object::_nil();
-
-  aOriginType = 1;
-
-  /* Filter definition */
-  globalSelection( GEOM_PLANE );
-
-   /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(Group1->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group1->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group2->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group3->GroupBox1, SIGNAL(clicked(int)), this, SLOT(GroupClicked(int)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_WPLANE" ) );
-  ConstructorsClicked(0);
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  // myGeometryGUI->SetState( 0 );
-
-  switch (constructorId)
-    {
-    case 0:
-      {
-        globalSelection( GEOM_PLANE );
-
-        Group2->hide();
-        Group3->hide();
-        resize(0, 0);
-        Group1->show();
-
-        myEditCurrentArgument = Group1->LineEdit1;
-        Group1->LineEdit1->setText("");
-        myFace = GEOM::GEOM_Object::_nil();
-
-        connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-        break;
-      }
-    case 1:
-      {
-        globalSelection( GEOM_LINE );
-
-        Group1->hide();
-        Group3->hide();
-        resize(0, 0);
-        Group2->show();
-
-        myEditCurrentArgument = Group2->LineEdit1;
-        Group2->LineEdit1->setText("");
-         Group2->LineEdit2->setText("");
-        myVectX = GEOM::GEOM_Object::_nil();
-        myVectZ = GEOM::GEOM_Object::_nil();
-
-        connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-        break;
-      }
-    case 2:
-      {
-        Group1->hide();
-        Group2->hide();
-        resize(0, 0);
-        Group3->show();
-
-        Group3->RadioButton1->setChecked(true);
-        aOriginType = 1;
-              break;
-      }
-    }
-  displayPreview();
-}
-
-//=================================================================================
-// function : GroupClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::GroupClicked(int groupId)
-{
-  aOriginType = groupId;
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BasicGUI_WorkingPlaneDlg::ClickOnApply()
-{
-  buttonApply->setFocus();
-  myGeometryGUI->application()->putInfo(tr(""));
-  const int id = getConstructorId();
-
-  if (id == 0) {
-    if ( !CORBA::is_nil( myFace ) ) {
-      TopoDS_Face aPlaneShape;
-      if ( GEOMBase::GetShape( myFace, aPlaneShape, TopAbs_FACE ) ) {
-        Handle(Geom_Surface) aGS = BRep_Tool::Surface( TopoDS::Face( aPlaneShape ) );
-        if ( !aGS.IsNull() && aGS->IsKind( STANDARD_TYPE( Geom_Plane ) ) ) {
-          Handle(Geom_Plane) aGPlane = Handle(Geom_Plane)::DownCast( aGS );
-          gp_Pln aPln = aGPlane->Pln();
-
-          myWPlane = aPln.Position();
-          myGeometryGUI->SetWorkingPlane(myWPlane);
-          myGeometryGUI->ActiveWorkingPlane();
-          return true;
-        }
-      }
-    }
-  } else if (id == 1) {
-    if ( CORBA::is_nil( myVectX ) || CORBA::is_nil( myVectZ ) ) {
-      showError( "Two vectors have to be selected" );
-      return false;
-    }
-
-    TopoDS_Edge aVectX, aVectZ;
-    TopoDS_Vertex V1, V2;
-    gp_Vec aVX, aVZ;
-    if (GEOMBase::GetShape( myVectX, aVectX, TopAbs_EDGE ) &&
-        GEOMBase::GetShape( myVectZ, aVectZ, TopAbs_EDGE )) {
-      TopExp::Vertices(aVectZ, V1, V2, Standard_True);
-      if (!V1.IsNull() && !V2.IsNull())
-        aVZ = gp_Vec(BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-      else {
-        showError( "Bad OZ vector" );
-        return false;
-      }
-
-      TopExp::Vertices(aVectX, V1, V2, Standard_True);
-      if (!V1.IsNull() && !V2.IsNull())
-        aVX = gp_Vec(BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-      else {
-        showError( "Bad OX vector" );
-        return false;
-      }
-
-      gp_Dir aDirZ = gp_Dir(aVZ.X(), aVZ.Y(), aVZ.Z());
-      gp_Dir aDirX = gp_Dir(aVX.X(), aVX.Y(), aVX.Z());
-
-      if (aDirX.IsParallel(aDirZ, Precision::Confusion())) {
-        showError( "Parallel vectors selected" );
-        return false;
-      }
-
-      myWPlane = gp_Ax3(BRep_Tool::Pnt(V1), aDirZ, aDirX);
-
-      myGeometryGUI->SetWorkingPlane(myWPlane);
-      myGeometryGUI->ActiveWorkingPlane();
-      return true;
-    }
-  } else if (id == 2) {
-    gp_Pnt P1 = gp_Pnt(0., 0., 0.);
-    gp_Dir aDirZ, aDirX;
-
-    if (aOriginType == 1) {
-      aDirZ = gp_Dir(0., 0., 1.);
-      aDirX = gp_Dir(1., 0., 0.);
-    }
-    else if (aOriginType == 2) {
-      aDirZ = gp_Dir(1., 0., 0.);
-      aDirX = gp_Dir(0., 1., 0.);
-    }
-    else if (aOriginType == 0) {
-      aDirZ = gp_Dir(0., 1., 0.);
-      aDirX = gp_Dir(0., 0., 1.);
-    }
-
-    myWPlane = gp_Ax3(P1, aDirZ, aDirX);
-
-    myGeometryGUI->SetWorkingPlane(myWPlane);
-    myGeometryGUI->ActiveWorkingPlane();
-    return true;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  const int id = getConstructorId();
-  if ( IObjectCount() != 1 ) {
-    if(id == 0)
-      myFace = GEOM::GEOM_Object::_nil();
-    else if(id == 1) {
-      if (myEditCurrentArgument == Group2->LineEdit1)
-        myVectX = GEOM::GEOM_Object::_nil();
-      else if (myEditCurrentArgument == Group2->LineEdit2)
-        myVectZ = GEOM::GEOM_Object::_nil();
-    }
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), aRes);
-
-  if(!aRes || CORBA::is_nil( aSelectedObject ))
-    return;
-
-  if(myEditCurrentArgument == Group1->LineEdit1)
-    myFace = aSelectedObject;
-  else if(myEditCurrentArgument == Group2->LineEdit1)
-    myVectX = aSelectedObject;
-  else if(myEditCurrentArgument == Group2->LineEdit2)
-    myVectZ = aSelectedObject;
-
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if(send == Group1->PushButton1) {
-    myEditCurrentArgument = Group1->LineEdit1;
-    globalSelection( GEOM_PLANE );
-  }
-  else if(send == Group2->PushButton1) {
-    myEditCurrentArgument = Group2->LineEdit1;
-    globalSelection( GEOM_LINE );
-  }
-  else if(send == Group2->PushButton2) {
-    myEditCurrentArgument = Group2->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == Group1->LineEdit1 || send == Group2->LineEdit1 || send == Group2->LineEdit2) {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::ActivateThisDialog( )
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::DeactivateActiveDialog()
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void BasicGUI_WorkingPlaneDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void BasicGUI_WorkingPlaneDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeometryGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/BasicGUI/BasicGUI_WorkingPlaneDlg.h b/src/BasicGUI/BasicGUI_WorkingPlaneDlg.h
deleted file mode 100644 (file)
index 4ee7a78..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BasicGUI_WorkingPlaneDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-
-#ifndef DIALOGBOX_WORKINGPLANE_H
-#define DIALOGBOX_WORKINGPLANE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-#include "DlgRef_2Sel_QTD.h"
-#include "DlgRef_3Check_QTD.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : BasicGUI_WorkingPlaneDlg
-// purpose  :
-//=================================================================================
-class BASICGUI_WNT_EXPORT BasicGUI_WorkingPlaneDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BasicGUI_WorkingPlaneDlg( GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
-    ~BasicGUI_WorkingPlaneDlg();
-    virtual void closeEvent( QCloseEvent* e );
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myFace;
-    GEOM::GEOM_Object_var myVectX;
-    GEOM::GEOM_Object_var myVectZ;
-
-    int aOriginType;
-
-    DlgRef_1Sel_QTD* Group1;
-    DlgRef_2Sel_QTD* Group2;
-    DlgRef_3Check_QTD* Group3;
-
-    gp_Ax3 myWPlane;
-
-private slots:
-    void ClickOnOk();
-    void ClickOnCancel();
-    bool ClickOnApply();
-
-    void ConstructorsClicked(int constructorId);
-    void GroupClicked(int groupId);
-    void SetEditCurrentArgument();
-    void SelectionIntoArgument();
-    void LineEditReturnPressed();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-};
-
-#endif // DIALOGBOX_WORKINGPLANE_H
diff --git a/src/BasicGUI/Makefile.in b/src/BasicGUI/Makefile.in
deleted file mode 100644 (file)
index 4bbaaa7..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#  GEOM BASICGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS= BasicGUI_PointDlg.h
-
-# Libraries targets
-LIB = libBasicGUI.la 
-
-LIB_SRC =      BasicGUI.cxx \
-               BasicGUI_PointDlg.cxx \
-               BasicGUI_LineDlg.cxx \
-               BasicGUI_CircleDlg.cxx \
-               BasicGUI_EllipseDlg.cxx \
-               BasicGUI_ArcDlg.cxx \
-               BasicGUI_VectorDlg.cxx \
-               BasicGUI_PlaneDlg.cxx \
-               BasicGUI_WorkingPlaneDlg.cxx \
-               BasicGUI_CurveDlg.cxx \
-               BasicGUI_MarkerDlg.cxx          
-
-LIB_MOC = \
-               BasicGUI_PointDlg.h \
-               BasicGUI_LineDlg.h \
-               BasicGUI_CircleDlg.h \
-               BasicGUI_EllipseDlg.h \
-               BasicGUI_ArcDlg.h \
-               BasicGUI_VectorDlg.h \
-               BasicGUI_PlaneDlg.h \
-               BasicGUI_WorkingPlaneDlg.h \
-               BasicGUI_CurveDlg.h \
-               BasicGUI_MarkerDlg.h
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Exception.idl SALOME_Component.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase -lGEOM
-
-@CONCLUDE@
diff --git a/src/BlocksGUI/BlocksGUI.cxx b/src/BlocksGUI/BlocksGUI.cxx
deleted file mode 100644 (file)
index 30abf2a..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BooleanGUI.cxx
-//  Author : Julia DOOVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI.h"
-
-#include "BlocksGUI_QuadFaceDlg.h"
-#include "BlocksGUI_BlockDlg.h"
-#include "BlocksGUI_TrsfDlg.h"
-//#include "BlocksGUI_CheckMultiBlockDlg.h"
-#include "BlocksGUI_ExplodeDlg.h"
-#include "BlocksGUI_PropagateDlg.h"
-
-#include "GeometryGUI.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_MessageBox.h"
-#include "SUIT_Session.h"
-
-BlocksGUI* BlocksGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetBlocksGUI()
-// purpose  : Get the only BlocksGUI object [ static ]
-//=======================================================================
-BlocksGUI* BlocksGUI::GetBlocksGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 )
-    myGUIObject = new BlocksGUI( parent );
-
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : BlocksGUI()
-// purpose  : Constructor
-//=======================================================================
-BlocksGUI::BlocksGUI( GeometryGUI* parent )
-     : GEOMGUI( parent )
-{
-}
-
-//=======================================================================
-// function : ~BlocksGUI()
-// purpose  : Destructor
-//=======================================================================
-BlocksGUI::~BlocksGUI()
-{
-}
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  :
-//=======================================================================
-bool BlocksGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-
-  QDialog* aDlg = NULL;
-
-  switch (theCommandID)
-  {
-    case 9999:
-      aDlg = new BlocksGUI_BlockDlg (parent);
-      break;
-
-    case 9998:
-      aDlg = new BlocksGUI_TrsfDlg (parent);
-      break;
-
-    case 9997:
-      aDlg = new BlocksGUI_QuadFaceDlg (parent);
-      break;
-
-    case 9996:
-//      aDlg = new BlocksGUI_CheckMultiBlockDlg (parent, Sel);
-      SUIT_MessageBox::warn1 (parent,
-                             QObject::tr("WRN_WARNING"), 
-                             QObject::tr("WRN_NOT_IMPLEMENTED"),
-                             QObject::tr("BUT_OK"));
-      break;
-      
-    case 9995:
-      aDlg = new BlocksGUI_ExplodeDlg (parent);
-      break;
-    case 99991:
-      aDlg = new BlocksGUI_PropagateDlg (parent, "");
-      break;
-
-    default:
-      SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-      break;
-  }
-
-  if (aDlg != NULL)
-    aDlg->show();
-
-  return true;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return BlocksGUI::GetBlocksGUI( parent );
-  }
-}
diff --git a/src/BlocksGUI/BlocksGUI.h b/src/BlocksGUI/BlocksGUI.h
deleted file mode 100644 (file)
index eab7902..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BuildGUI.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef BLOCKSGUI_H
-#define BLOCKSGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : BlocksGUI
-// purpose  :
-//=================================================================================
-class BlocksGUI : public GEOMGUI
-{
- protected:
-  BlocksGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
- public:
-  ~BlocksGUI();
-
-  // Get the only BuildGUI object
-  static BlocksGUI* GetBlocksGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent (int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static BlocksGUI* myGUIObject;        // the only BlocksGUI object
-};
-
-#endif
diff --git a/src/BlocksGUI/BlocksGUI_BlockDlg.cxx b/src/BlocksGUI/BlocksGUI_BlockDlg.cxx
deleted file mode 100644 (file)
index 059c8fa..0000000
+++ /dev/null
@@ -1,400 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_BlockDlg.cxx
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI_BlockDlg.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "GEOMImpl_Types.hxx"
-
-using namespace std;
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BlocksGUI_BlockDlg()
-// purpose  : Constructs a BlocksGUI_BlockDlg which is a child of 'parent'.
-//=================================================================================
-BlocksGUI_BlockDlg::BlocksGUI_BlockDlg (QWidget* parent,
-                                        bool modal)
-     : GEOMBase_Skeleton(parent, "BlockDlg", modal,
-                         WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BLOCK_2F")));
-  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BLOCK_6F")));
-  QPixmap imageS (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_BLOCK_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_BLOCK"));
-
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  // Create first group
-  Group2F = new DlgRef_2Sel_QTD(this, "Group2F");
-  Group2F->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  Group2F->TextLabel1->setText(tr("FACE_1"));
-  Group2F->TextLabel2->setText(tr("FACE_2"));
-  Group2F->PushButton1->setPixmap(imageS);
-  Group2F->PushButton2->setPixmap(imageS);
-
-  // Create second group
-  Group6F = new DlgRef_6Sel_QTD(this, "Group2F");
-  Group6F->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  Group6F->TextLabel1->setText(tr("FACE_1"));
-  Group6F->TextLabel2->setText(tr("FACE_2"));
-  Group6F->TextLabel3->setText(tr("FACE_3"));
-  Group6F->TextLabel4->setText(tr("FACE_4"));
-  Group6F->TextLabel5->setText(tr("FACE_5"));
-  Group6F->TextLabel6->setText(tr("FACE_6"));
-  Group6F->PushButton1->setPixmap(imageS);
-  Group6F->PushButton2->setPixmap(imageS);
-  Group6F->PushButton3->setPixmap(imageS);
-  Group6F->PushButton4->setPixmap(imageS);
-  Group6F->PushButton5->setPixmap(imageS);
-  Group6F->PushButton6->setPixmap(imageS);
-
-  // Add groups to layout
-  Layout1->addWidget(Group2F, 2, 0);
-  Layout1->addWidget(Group6F, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-//=================================================================================
-// function : ~BlocksGUI_BlockDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BlocksGUI_BlockDlg::~BlocksGUI_BlockDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BlocksGUI_BlockDlg::Init()
-{
-  // init variables
-  Group2F->LineEdit1->setReadOnly(true);
-  Group2F->LineEdit2->setReadOnly(true);
-
-  Group6F->LineEdit1->setReadOnly(true);
-  Group6F->LineEdit2->setReadOnly(true);
-  Group6F->LineEdit3->setReadOnly(true);
-  Group6F->LineEdit4->setReadOnly(true);
-  Group6F->LineEdit5->setReadOnly(true);
-  Group6F->LineEdit6->setReadOnly(true);
-
-  // signals and slots connections
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(Group2F->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2F->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group6F->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group6F->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group6F->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group6F->PushButton4, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group6F->PushButton5, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group6F->PushButton6, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  // init controls and fields
-  initName(tr("GEOM_BLOCK"));
-
-  myConstructorId = -1;
-  ConstructorsClicked(0);
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BlocksGUI_BlockDlg::ConstructorsClicked (int constructorId)
-{
-  if (myConstructorId == constructorId)
-    return;
-
-  myConstructorId = constructorId;
-
-  switch (constructorId) {
-  case 0:
-    Group6F->hide();
-    resize(0, 0);
-    Group2F->show();
-
-    myEditCurrentArgument = Group2F->LineEdit1;
-    Group2F->LineEdit1->setText(tr(""));
-    Group2F->LineEdit2->setText(tr(""));
-    break;
-  case 1:
-    Group2F->hide();
-    resize(0, 0);
-    Group6F->show();
-
-    myEditCurrentArgument = Group6F->LineEdit1;
-    Group6F->LineEdit1->setText(tr(""));
-    Group6F->LineEdit2->setText(tr(""));
-    Group6F->LineEdit3->setText(tr(""));
-    Group6F->LineEdit4->setText(tr(""));
-    Group6F->LineEdit5->setText(tr(""));
-    Group6F->LineEdit6->setText(tr(""));
-    break;
-  default:
-    break;
-  }
-
-  // init fields
-  myFace1 = myFace2 = GEOM::GEOM_Object::_nil();
-  myFace3 = myFace4 = myFace5 = myFace6 = myFace1;
-
-  globalSelection(GEOM_FACE);
-  SelectionIntoArgument();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BlocksGUI_BlockDlg::ClickOnOk()
-{
-  if (ClickOnApply())
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BlocksGUI_BlockDlg::ClickOnApply()
-{
-  if (!onAccept())
-    return false;
-
-  initName();
-  return true;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BlocksGUI_BlockDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-
-  if (IObjectCount() != 1)
-  {
-    if (myEditCurrentArgument == Group2F->LineEdit1 ||
-        myEditCurrentArgument == Group6F->LineEdit1)
-      myFace1 = GEOM::GEOM_Object::_nil();
-    else if (myEditCurrentArgument == Group2F->LineEdit2 ||
-             myEditCurrentArgument == Group6F->LineEdit2)
-      myFace2 = GEOM::GEOM_Object::_nil();
-    else if (myEditCurrentArgument == Group6F->LineEdit3)
-      myFace3 = GEOM::GEOM_Object::_nil();
-    else if (myEditCurrentArgument == Group6F->LineEdit4)
-      myFace4 = GEOM::GEOM_Object::_nil();
-    else if (myEditCurrentArgument == Group6F->LineEdit5)
-      myFace5 = GEOM::GEOM_Object::_nil();
-    else if (myEditCurrentArgument == Group6F->LineEdit6)
-      myFace6 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-
-  if (!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-
-  if (myEditCurrentArgument == Group2F->LineEdit1 ||
-      myEditCurrentArgument == Group6F->LineEdit1)
-    myFace1 = aSelectedObject;
-  else if (myEditCurrentArgument == Group2F->LineEdit2 ||
-           myEditCurrentArgument == Group6F->LineEdit2)
-    myFace2 = aSelectedObject;
-  else if (myEditCurrentArgument == Group6F->LineEdit3)
-    myFace3 = aSelectedObject;
-  else if (myEditCurrentArgument == Group6F->LineEdit4)
-    myFace4 = aSelectedObject;
-  else if (myEditCurrentArgument == Group6F->LineEdit5)
-    myFace5 = aSelectedObject;
-  else if (myEditCurrentArgument == Group6F->LineEdit6)
-    myFace6 = aSelectedObject;
-
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-
-  displayPreview();
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BlocksGUI_BlockDlg::SetEditCurrentArgument()
-{
-  QPushButton* aSender = (QPushButton*)sender();
-
-  if (aSender == Group2F->PushButton1) {
-    myEditCurrentArgument = Group2F->LineEdit1;
-  } else if (aSender == Group2F->PushButton2) {
-    myEditCurrentArgument = Group2F->LineEdit2;
-
-  } else if (aSender == Group6F->PushButton1) {
-    myEditCurrentArgument = Group6F->LineEdit1;
-  } else if (aSender == Group6F->PushButton2) {
-    myEditCurrentArgument = Group6F->LineEdit2;
-  } else if (aSender == Group6F->PushButton3) {
-    myEditCurrentArgument = Group6F->LineEdit3;
-  } else if (aSender == Group6F->PushButton4) {
-    myEditCurrentArgument = Group6F->LineEdit4;
-  } else if (aSender == Group6F->PushButton5) {
-    myEditCurrentArgument = Group6F->LineEdit5;
-  } else if (aSender == Group6F->PushButton6) {
-    myEditCurrentArgument = Group6F->LineEdit6;
-  }
-
-  globalSelection(GEOM_FACE);
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_BlockDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  globalSelection(GEOM_FACE);
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BlocksGUI_BlockDlg::enterEvent (QEvent* e)
-{
-  if (!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-//void BlocksGUI_BlockDlg::DeactivateActiveDialog()
-//{
-//  GEOMBase_Skeleton::DeactivateActiveDialog();
-//}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BlocksGUI_BlockDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations(getStudyId());
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BlocksGUI_BlockDlg::isValid (QString&)
-{
-  switch (getConstructorId()) {
-    case 0:
-      return !(myFace1->_is_nil() || myFace2->_is_nil());
-    case 1:
-      return !(myFace1->_is_nil() || myFace2->_is_nil() ||
-               myFace3->_is_nil() || myFace4->_is_nil() ||
-               myFace5->_is_nil() || myFace6->_is_nil());
-    default:
-      return false;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BlocksGUI_BlockDlg::execute (ObjectList& objects)
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch (getConstructorId()) {
-    case 0:
-      if (!CORBA::is_nil(myFace1) && !CORBA::is_nil(myFace2)) {
-        anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->
-          MakeHexa2Faces(myFace1, myFace2);
-        res = true;
-      }
-      break;
-    case 1:
-      if (!CORBA::is_nil(myFace1) && !CORBA::is_nil(myFace2) &&
-          !CORBA::is_nil(myFace3) && !CORBA::is_nil(myFace4) &&
-          !CORBA::is_nil(myFace5) && !CORBA::is_nil(myFace6)) {
-        anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->
-          MakeHexa(myFace1, myFace2, myFace3, myFace4, myFace5, myFace6);
-        res = true;
-      }
-      break;
-  }
-
-  if (!anObj->_is_nil())
-    objects.push_back(anObj._retn());
-
-  return res;
-}
diff --git a/src/BlocksGUI/BlocksGUI_BlockDlg.h b/src/BlocksGUI/BlocksGUI_BlockDlg.h
deleted file mode 100644 (file)
index 567538c..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_BlockDlg.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BLOCK_H
-#define DIALOGBOX_BLOCK_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-#include "DlgRef_6Sel_QTD.h"
-
-
-//=================================================================================
-// class    : BlocksGUI_BlockDlg
-// purpose  :
-//=================================================================================
-class BlocksGUI_BlockDlg : public GEOMBase_Skeleton
-{
-  Q_OBJECT
-
-public:
-  BlocksGUI_BlockDlg (QWidget* parent,
-                     bool modal = FALSE);
-  ~BlocksGUI_BlockDlg();
-
-protected:
-  // redefined from GEOMBase_Helper
-  virtual GEOM::GEOM_IOperations_ptr createOperation();
-  virtual bool                       isValid (QString&);
-  virtual bool                       execute (ObjectList& objects);
-
-private:
-  void Init();
-  void enterEvent (QEvent* e);
-
-private:
-  int                   myConstructorId;
-
-  GEOM::GEOM_Object_var myFace1, myFace2;
-  GEOM::GEOM_Object_var myFace3, myFace4, myFace5, myFace6;
-
-  DlgRef_2Sel_QTD*      Group2F;
-  DlgRef_6Sel_QTD*      Group6F;
-
-private slots:
-  void ClickOnOk();
-  bool ClickOnApply();
-  void ActivateThisDialog();
-//  void DeactivateActiveDialog();
-  void ConstructorsClicked (int constructorId);
-
-  void SelectionIntoArgument();
-  void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_BLOCK_H
diff --git a/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx b/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx
deleted file mode 100644 (file)
index 9ebdd93..0000000
+++ /dev/null
@@ -1,505 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_ExplodeDlg.cxx
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI_ExplodeDlg.h"
-
-#include "DlgRef_SpinBox.h"
-
-#include "GEOM_Displayer.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "OCCViewer_ViewModel.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "utilities.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qmessagebox.h>
-#include <qtextedit.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BlocksGUI_ExplodeDlg()
-// purpose  : Constructs a BlocksGUI_ExplodeDlg which is a child of 'parent'.
-//=================================================================================
-BlocksGUI_ExplodeDlg::BlocksGUI_ExplodeDlg (QWidget* parent,
-                                            bool modal)
-     : GEOMBase_Skeleton(parent, "ExplodeDlg", modal,
-                         WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BLOCK_EXPLODE")));
-  QPixmap imageS (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_BLOCK_EXPLODE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_BLOCK_EXPLODE"));
-
-  RadioButton1->setPixmap(image1);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  // Create first group
-  myGrp1 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_ARGUMENTS"), this);
-
-  QGroupBox* aSelGrp = new QGroupBox(3, Qt::Horizontal, myGrp1);
-  aSelGrp->setFrameStyle(QFrame::NoFrame);
-  aSelGrp->setInsideMargin(0);
-
-  new QLabel(tr("GEOM_MAIN_OBJECT"), aSelGrp);
-  mySelBtn = new QPushButton(aSelGrp);
-  mySelBtn->setPixmap(imageS);
-  mySelName = new QLineEdit(aSelGrp);
-  mySelName->setReadOnly(true);
-
-  QGroupBox* aSpinGrp = new QGroupBox(2, Qt::Horizontal, myGrp1);
-  aSpinGrp->setFrameStyle(QFrame::NoFrame);
-  aSpinGrp->setInsideMargin(0);
-
-  new QLabel(tr("NB_FACES_MIN"), aSpinGrp);
-  mySpinBoxMin = new DlgRef_SpinBox(aSpinGrp);
-
-  new QLabel(tr("NB_FACES_MAX"), aSpinGrp);
-  mySpinBoxMax = new DlgRef_SpinBox(aSpinGrp);
-
-  QGroupBox* anInfoGrp = new QGroupBox(2, Qt::Horizontal, myGrp1);
-  anInfoGrp->setFrameStyle(QFrame::NoFrame);
-  anInfoGrp->setInsideMargin(0);
-
-  myBlocksNb = new QTextEdit(anInfoGrp);
-  myBlocksNb->setReadOnly(true);
-
-  QGroupBox* aCheckGrp = new QGroupBox(3, Qt::Horizontal, myGrp1);
-  aCheckGrp->setFrameStyle(QFrame::NoFrame);
-  aCheckGrp->setInsideMargin(0);
-
-  myCheckBtn = new QCheckBox(aCheckGrp, "CheckButton1");
-  myCheckBtn->setText(tr("GEOM_SUBSHAPE_SELECT"));
-
-  // Add groups to layout
-  Layout1->addWidget(myGrp1, 1, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-//=================================================================================
-// function : ~BlocksGUI_ExplodeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BlocksGUI_ExplodeDlg::~BlocksGUI_ExplodeDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-  clearTemporary();
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::Init()
-{
-  // Set range of spinboxes
-  double SpecificStep = 1.0;
-  mySpinBoxMin->RangeStepAndValidator(0.0, 999.0, SpecificStep, 3);
-  mySpinBoxMax->RangeStepAndValidator(0.0, 999.0, SpecificStep, 3);
-
-  if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-      != OCCViewer_Viewer::Type())
-    myCheckBtn->setEnabled(false);
-
-  // signals and slots connections
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(mySelBtn, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(mySpinBoxMin, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(mySpinBoxMax, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myCheckBtn, SIGNAL(stateChanged(int)), this, SLOT(SubShapeToggled()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  myConstructorId = -1;
-  ConstructorsClicked(0);
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BlocksGUI_ExplodeDlg::ConstructorsClicked (int constructorId)
-{
-  if (myConstructorId == constructorId)
-    return;
-
-  myConstructorId = constructorId;
-
-  switch (constructorId) {
-  case 0:
-    myGrp1->show();
-    mySpinBoxMin->SetValue(6.0);
-    mySpinBoxMax->SetValue(6.0);
-    myCheckBtn->setChecked(FALSE);
-    break;
-  default:
-    break;
-  }
-
-  // init fields
-  myEditCurrentArgument = mySelName;
-  myObject = GEOM::GEOM_Object::_nil();
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::ClickOnOk()
-{
-  if (ClickOnApply())
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BlocksGUI_ExplodeDlg::ClickOnApply()
-{
-  SUIT_Session::session()->activeApplication()->putInfo(tr(""));
-
-  // Explode all sub shapes
-  if (isAllSubShapes()) {
-    // More than 30 subshapes : ask confirmation
-    if (myNbBlocks > 30) {
-      const QString caption = tr("GEOM_CONFIRM");
-      const QString text = tr("GEOM_CONFIRM_INFO").arg(myNbBlocks);
-      const QString button0 = tr("GEOM_BUT_EXPLODE");
-      const QString button1 = tr("GEOM_BUT_CANCEL");
-
-      if (QMessageBox::warning(this, caption, text, button0, button1) != 0)
-        return false;  /* aborted */
-    }
-  }
-
-  if (!onAccept())
-    return false;
-
-  activateSelection();
-
-  return true;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void BlocksGUI_ExplodeDlg::SelectionIntoArgument()
-{
-  if (!isAllSubShapes())
-    return;
-
-  myObject = GEOM::GEOM_Object::_nil();
-  mySelName->setText("");
-
-  if (IObjectCount() == 1) {
-    Standard_Boolean aResult = Standard_False;
-    GEOM::GEOM_Object_var anObj =
-      GEOMBase::ConvertIOinGEOMObject(firstIObject(), aResult);
-
-    if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
-      myObject = anObj;
-      mySelName->setText(GEOMBase::GetName(anObj));
-    }
-  }
-
-  updateButtonState();
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::SetEditCurrentArgument()
-{
-  QPushButton* aSender = (QPushButton*)sender();
-
-  if (mySelBtn == aSender) {
-    mySelName->setFocus();
-    myEditCurrentArgument = mySelName;
-    myCheckBtn->setChecked(FALSE);
-  }
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::enterEvent (QEvent* e)
-{
-  if (!GroupConstructors->isEnabled())
-    this->ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::ValueChangedInSpinBox (double newValue)
-{
-  if (!isAllSubShapes())
-    activateSelection();
-  else
-    updateButtonState();
-}
-
-//=================================================================================
-// function : SubShapeToggled()
-// purpose  : Allow user selection of all or only selected sub shapes
-//          : Called when 'myCheckBtn' state change
-//=================================================================================
-void BlocksGUI_ExplodeDlg::SubShapeToggled()
-{
-  activateSelection();
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Redisplay preview and Activate selection
-//=================================================================================
-void BlocksGUI_ExplodeDlg::activateSelection()
-{
-  clearTemporary();
-  erasePreview(true);
-
-  if (isAllSubShapes()) { // Sub-shapes selection disabled
-    disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-              SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-    globalSelection( GEOM_ALLSHAPES );
-    if (myObject->_is_nil()) {
-      SelectionIntoArgument();
-    }
-    connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-           SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  } else {
-    displayPreview(true, true, false);
-    globalSelection(GEOM_PREVIEW);
-  }
-}
-
-//=================================================================================
-// function : updateButtonState
-// purpose  :
-//=================================================================================
-void BlocksGUI_ExplodeDlg::updateButtonState()
-{
-  if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-      != OCCViewer_Viewer::Type() || myObject->_is_nil()) {
-    myCheckBtn->setChecked(FALSE);
-    myCheckBtn->setEnabled(FALSE);
-  } else {
-    myCheckBtn->setEnabled(TRUE);
-  }
-
-  myNbBlocks = 0;
-
-  if (myObject->_is_nil()) {
-    myBlocksNb->setText("");
-  } else {
-    bool isOnlyBlocks = GEOM::GEOM_IBlocksOperations::_narrow
-      (getOperation())->IsCompoundOfBlocks(myObject,
-                                           (int)mySpinBoxMin->GetValue(),
-                                           (int)mySpinBoxMax->GetValue(),
-                                           myNbBlocks);
-    if (isOnlyBlocks)
-      myBlocksNb->setText(tr("GEOM_NB_BLOCKS_NO_OTHERS").arg(myNbBlocks));
-    else
-      myBlocksNb->setText(tr("GEOM_NB_BLOCKS_SOME_OTHERS").arg(myNbBlocks));
-  }
-}
-
-//=================================================================================
-// function : isAllSubShapes
-// purpose  :
-//=================================================================================
-bool BlocksGUI_ExplodeDlg::isAllSubShapes() const
-{
-  return !myCheckBtn->isChecked() || !myCheckBtn->isEnabled();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BlocksGUI_ExplodeDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations(getStudyId());
-}
-
-//=================================================================================
-// function : isValid()
-// purpose  : Verify validity of input data
-//=================================================================================
-bool BlocksGUI_ExplodeDlg::isValid (QString&)
-{
-  switch (getConstructorId()) {
-  case 0:
-    if (IsPreview())
-      return !myObject->_is_nil();
-    else
-      return !myObject->_is_nil() && (isAllSubShapes() || IObjectCount());
-  default:
-    return false;
-  }
-
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BlocksGUI_ExplodeDlg::execute (ObjectList& objects)
-{
-  GEOM::ListOfGO_var aList;
-
-  switch (getConstructorId()) {
-    case 0:
-      aList = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->ExplodeCompoundOfBlocks
-        (myObject,
-         (int)mySpinBoxMin->GetValue(),
-         (int)mySpinBoxMax->GetValue());
-      break;
-  }
-
-  if (!aList->length())
-    return false;
-
-  if (IsPreview()) {
-    clearTemporary();
-
-    // Store objects. They will be put in study when "Apply" is pressed
-    for (int i = 0, n = aList->length(); i < n; i++) {
-      objects.push_back(GEOM::GEOM_Object::_duplicate(aList[i]));
-      myTmpObjs.push_back(GEOM::GEOM_Object::_duplicate(aList[i]));
-    }
-
-    return objects.size() ? true : false;
-  }
-
-  // Throw away sub-shapes not selected by user if not in preview mode
-  // and manual selection is active
-  if (!isAllSubShapes())
-  {
-    QMap<QString, char> selected;
-
-    // Get names of selected objects
-    SALOME_ListIteratorOfListIO it (selectedIO());
-    for (; it.More(); it.Next()) {
-      selected.insert(it.Value()->getName(), 0);
-    }
-
-    // Iterate through result and select objects with names from selection
-    ObjectList toRemoveFromEnggine;
-    ObjectList::iterator anIter;
-    for (anIter = myTmpObjs.begin(); anIter != myTmpObjs.end(); ++anIter) {
-      if (selected.contains(myGeomGUI->getApp()->orb()->object_to_string(*anIter)))
-        objects.push_back(*anIter);
-      else
-        toRemoveFromEnggine.push_back(*anIter);
-    }
-
-    // Remove from engine useless objects
-    ObjectList::iterator anIter2 = toRemoveFromEnggine.begin();
-    for (; anIter2 != toRemoveFromEnggine.end(); ++anIter2)
-      getGeomEngine()->RemoveObject(*anIter2);
-
-    myTmpObjs.clear();
-
-  } else {
-    for (int i = 0, n = aList->length(); i < n; i++)
-      objects.push_back(GEOM::GEOM_Object::_duplicate(aList[i]));
-  }
-
-  return objects.size();
-}
-
-//=================================================================================
-// function : clearTemporary
-// purpose  : Remove temporary objects from engine
-//=================================================================================
-void BlocksGUI_ExplodeDlg::clearTemporary()
-{
-  ObjectList::iterator anIter;
-  for (anIter = myTmpObjs.begin(); anIter != myTmpObjs.end(); ++anIter)
-    getGeomEngine()->RemoveObject(*anIter);
-
-  myTmpObjs.clear();
-}
-
-//================================================================
-// Function : getFather
-// Purpose  : Get father object for object to be added in study
-//            ( called with addInStudy method )
-//================================================================
-GEOM::GEOM_Object_ptr BlocksGUI_ExplodeDlg::getFather (GEOM::GEOM_Object_ptr)
-{
-  return myObject;
-}
-
-//================================================================
-// Function : getNewObjectName
-// Purpose  : Redefine this method to return proper name for a new object
-//================================================================
-const char* BlocksGUI_ExplodeDlg::getNewObjectName() const
-{
-  return "";
-}
diff --git a/src/BlocksGUI/BlocksGUI_ExplodeDlg.h b/src/BlocksGUI/BlocksGUI_ExplodeDlg.h
deleted file mode 100644 (file)
index 7c83e73..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_ExplodeDlg.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BLOCK_EXPLODE_H
-#define DIALOGBOX_BLOCK_EXPLODE_H
-
-#include "GEOMBase_Skeleton.h"
-
-class DlgRef_SpinBox;
-class QTextEdit;
-class QCheckBox;
-
-//=================================================================================
-// class    : BlocksGUI_ExplodeDlg
-// purpose  :
-//=================================================================================
-class BlocksGUI_ExplodeDlg : public GEOMBase_Skeleton
-{
-  Q_OBJECT
-
-public:
-  BlocksGUI_ExplodeDlg (QWidget* parent,
-                       bool modal = FALSE);
-  ~BlocksGUI_ExplodeDlg();
-
-protected:
-  // redefined from GEOMBase_Helper
-  virtual GEOM::GEOM_IOperations_ptr createOperation();
-  virtual bool                       isValid (QString& msg);
-  virtual bool                       execute (ObjectList& objects);
-  virtual GEOM::GEOM_Object_ptr      getFather(GEOM::GEOM_Object_ptr theObj);
-
-  virtual const char*                getNewObjectName() const; 
-
-private:
-  void Init();
-  void enterEvent (QEvent* e);
-
-  void activateSelection();
-
-  void updateButtonState();
-  bool isAllSubShapes() const;
-  int  shapeType() const;
-
-  void clearTemporary();
-
-private:
-  int                        myConstructorId;
-
-  CORBA::Long                myNbBlocks;
-  GEOM::GEOM_Object_var      myObject;
-
-  ObjectList                 myTmpObjs;
-
-  QFrame*                    myGrp1;
-
-  QPushButton*               mySelBtn;
-  QLineEdit*                 mySelName;
-
-  DlgRef_SpinBox*            mySpinBoxMin;
-  DlgRef_SpinBox*            mySpinBoxMax;
-
-  QTextEdit*                 myBlocksNb;
-
-  QCheckBox*                 myCheckBtn;
-
-private slots:
-  void ClickOnOk();
-  bool ClickOnApply();
-  void ActivateThisDialog();
-  void ConstructorsClicked (int constructorId);
-
-  void SelectionIntoArgument();
-  void SetEditCurrentArgument();
-
-  void SubShapeToggled();
-
-  void ValueChangedInSpinBox (double newValue);
-};
-
-#endif // DIALOGBOX_BLOCK_EXPLODE_H
diff --git a/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx b/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx
deleted file mode 100644 (file)
index de52f99..0000000
+++ /dev/null
@@ -1,319 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : BlocksGUI_PropagateDlg.cxx
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI_PropagateDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : BlocksGUI_PropagateDlg()
-// purpose  : Constructs a BlocksGUI_PropagateDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BlocksGUI_PropagateDlg::BlocksGUI_PropagateDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PROPAGATE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_PROPAGATE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PROPAGATE_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  QGroupBox* aMainGrp = new QGroupBox( 1, Qt::Horizontal, tr( "GEOM_SELECTED_SHAPE" ), this );
-  QGroupBox* aSelGrp = new QGroupBox(3, Qt::Horizontal, aMainGrp);
-  aSelGrp->setFrameStyle(QFrame::NoFrame);
-  aSelGrp->setInsideMargin(0);
-
-  new QLabel(tr("GEOM_OBJECT"), aSelGrp);
-  mySelBtn = new QPushButton(aSelGrp);
-  mySelBtn->setPixmap(image1);
-  mySelName = new QLineEdit(aSelGrp);
-  mySelName->setReadOnly(true);
-
-  Layout1->addWidget(aMainGrp, 1, 0);
-
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BlocksGUI_PropagateDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BlocksGUI_PropagateDlg::~BlocksGUI_PropagateDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::Init()
-{
-  /* init variables */
-
-  myObject = GEOM::GEOM_Object::_nil();
-  ResultName->setText( "" );
-
-  //myGeomGUI->SetState( 0 );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(mySelBtn, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(mySelName, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  activateSelection();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void BlocksGUI_PropagateDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BlocksGUI_PropagateDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  mySelName->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  activateSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection
-//=================================================================================
-void BlocksGUI_PropagateDlg::SelectionIntoArgument()
-{
-  mySelName->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  if ( IObjectCount() == 1 ) {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    Standard_Boolean aRes;
-    myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-    if ( aRes )
-      mySelName->setText( GEOMBase::GetName( myObject ) );
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::SetEditCurrentArgument()
-{
-  const QObject* send = sender();
-  if ( send == mySelBtn )  {
-    mySelName->setFocus();
-  }
-  activateSelection();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::LineEditReturnPressed()
-{
-  const QObject* send = sender();
-  if( send == mySelName ) {
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-
-  mySelName->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  //myGeomGUI->SetState( 0 );
-  activateSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void BlocksGUI_PropagateDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void BlocksGUI_PropagateDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BlocksGUI_PropagateDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BlocksGUI_PropagateDlg::isValid( QString& msg )
-{
-  return !myObject->_is_nil() ;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BlocksGUI_PropagateDlg::execute( ObjectList& objects )
-{
-
-  GEOM::ListOfGO_var aList = GEOM::GEOM_IBlocksOperations::_narrow( getOperation() )->Propagate( myObject );
-  ResultName->setText( "" );
-
-  if ( !aList->length() )
-    return false;
-
-  for ( int i = 0, n = aList->length(); i < n; i++ )
-  {
-    objects.push_back(aList[i]._retn());
-  }
-
-  return objects.size() ? true : false;
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection
-//=================================================================================
-void BlocksGUI_PropagateDlg::activateSelection()
-{
-  TColStd_MapOfInteger aMap;
-  aMap.Add( GEOM_SOLID );
-  aMap.Add( GEOM_COMPOUND );
-  globalSelection( aMap );
-  if (myObject->_is_nil()) {
-    SelectionIntoArgument();
-  }
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-}
-
-//================================================================
-// Function : getFather
-// Purpose  : Get father object for object to be added in study
-//            ( called with addInStudy method )
-//================================================================
-GEOM::GEOM_Object_ptr BlocksGUI_PropagateDlg::getFather (GEOM::GEOM_Object_ptr)
-{
-  return myObject;
-}
-
diff --git a/src/BlocksGUI/BlocksGUI_PropagateDlg.h b/src/BlocksGUI/BlocksGUI_PropagateDlg.h
deleted file mode 100644 (file)
index db86019..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : BlocksGUI_PropagateDlg.h
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BlocksGUI_PropagateDlg_H
-#define DIALOGBOX_BlocksGUI_PropagateDlg_H
-
-#include "GEOMBase_Skeleton.h"
-
-
-//=================================================================================
-// class    : BlocksGUI_PropagateDlg
-// purpose  :
-//=================================================================================
-class BlocksGUI_PropagateDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    BlocksGUI_PropagateDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BlocksGUI_PropagateDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-    virtual GEOM::GEOM_Object_ptr getFather(GEOM::GEOM_Object_ptr theObj);
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void activateSelection();
-
-private :
-
-    GEOM::GEOM_Object_var      myObject;
-    QPushButton*               mySelBtn;
-    QLineEdit*                 mySelName;
-
-};
-
-#endif // DIALOGBOX_BlocksGUI_PropagateDlg_H
diff --git a/src/BlocksGUI/BlocksGUI_QuadFaceDlg.cxx b/src/BlocksGUI/BlocksGUI_QuadFaceDlg.cxx
deleted file mode 100644 (file)
index 72f017d..0000000
+++ /dev/null
@@ -1,413 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_QuadFaceDlg.cxx
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI_QuadFaceDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-//using namespace std;
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BlocksGUI_QuadFaceDlg()
-// purpose  : Constructs a BlocksGUI_QuadFaceDlg which is a child of 'parent'.
-//=================================================================================
-BlocksGUI_QuadFaceDlg::BlocksGUI_QuadFaceDlg (QWidget* parent,
-                                        bool modal)
-     : GEOMBase_Skeleton(parent, "QuadFaceDlg", modal,
-                         WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_QUAD_FACE_4_VERT")));
-  QPixmap image2 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_QUAD_FACE_2_EDGE")));
-  QPixmap image3 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_QUAD_FACE_4_EDGE")));
-  QPixmap imageS (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_QUAD_FACE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_QUAD_FACE"));
-
-  RadioButton1->setPixmap(image1);
-  RadioButton2->setPixmap(image2);
-  RadioButton3->setPixmap(image3);
-
-  // Create first group
-  myGrp1 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_ARGUMENTS"), this);
-
-  QGroupBox* aSelGrp1 = new QGroupBox(3, Qt::Horizontal, myGrp1);
-  aSelGrp1->setFrameStyle(QFrame::NoFrame);
-  aSelGrp1->setInsideMargin(0);
-
-  createSelWg(tr("VERTEX_1"), imageS, aSelGrp1, Vertex1);
-  createSelWg(tr("VERTEX_2"), imageS, aSelGrp1, Vertex2);
-  createSelWg(tr("VERTEX_3"), imageS, aSelGrp1, Vertex3);
-  createSelWg(tr("VERTEX_4"), imageS, aSelGrp1, Vertex4);
-
-  // Create second group
-  myGrp2 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_ARGUMENTS"), this);
-
-  QGroupBox* aSelGrp2 = new QGroupBox(3, Qt::Horizontal, myGrp2);
-  aSelGrp2->setFrameStyle(QFrame::NoFrame);
-  aSelGrp2->setInsideMargin(0);
-
-  createSelWg(tr("EDGE_1"), imageS, aSelGrp2, Edge12);
-  createSelWg(tr("EDGE_2"), imageS, aSelGrp2, Edge22);
-
-  // Create fird group
-  myGrp3 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_ARGUMENTS"), this);
-
-  QGroupBox* aSelGrp3 = new QGroupBox(3, Qt::Horizontal, myGrp3);
-  aSelGrp3->setFrameStyle(QFrame::NoFrame);
-  aSelGrp3->setInsideMargin(0);
-
-  createSelWg(tr("EDGE_1"), imageS, aSelGrp3, Edge14);
-  createSelWg(tr("EDGE_2"), imageS, aSelGrp3, Edge24);
-  createSelWg(tr("EDGE_3"), imageS, aSelGrp3, Edge34);
-  createSelWg(tr("EDGE_4"), imageS, aSelGrp3, Edge44);
-
-  (new QLabel(myGrp3))->setSizePolicy(
-    QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
-
-  // Add groups to layout
-  Layout1->addWidget(myGrp1, 2, 0);
-  Layout1->addWidget(myGrp2, 2, 0);
-  Layout1->addWidget(myGrp3, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-//=================================================================================
-// function : ~BlocksGUI_QuadFaceDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BlocksGUI_QuadFaceDlg::~BlocksGUI_QuadFaceDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::Init()
-{
-  // signals and slots connections
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  QMap<int, QPushButton*>::iterator anIterBtn;
-  for (anIterBtn = mySelBtn.begin(); anIterBtn != mySelBtn.end(); ++anIterBtn)
-    connect(anIterBtn.data(), SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  // init controls and fields
-  initName(tr("GEOM_QUAD_FACE"));
-
-  myConstructorId = -1;
-  ConstructorsClicked(0);
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::ConstructorsClicked (int constructorId)
-{
-  if (myConstructorId == constructorId)
-    return;
-
-  myConstructorId = constructorId;
-
-  switch (constructorId) {
-  case 0:
-    myGrp2->hide();
-    myGrp3->hide();
-    myGrp1->show();
-    myEditCurrentArgument = mySelName[Vertex1];
-    break;
-  case 1:
-    myGrp1->hide();
-    myGrp3->hide();
-    myGrp2->show();
-    myEditCurrentArgument = mySelName[Edge12];
-    break;
-  case 2:
-    myGrp1->hide();
-    myGrp2->hide();
-    myGrp3->show();
-    myEditCurrentArgument = mySelName[Edge14];
-    break;
-  default:
-    break;
-  }
-
-  // clear line edits
-  QMap<int, QLineEdit*>::iterator anIterLE;
-  for (anIterLE = mySelName.begin(); anIterLE != mySelName.end(); ++anIterLE)
-    anIterLE.data()->setText("");
-
-  // init fields
-  myShape1 = myShape2 = GEOM::GEOM_Object::_nil();
-  myShape3 = myShape4 = myShape1;
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::ClickOnOk()
-{
-  if (ClickOnApply())
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BlocksGUI_QuadFaceDlg::ClickOnApply()
-{
-  if (!onAccept())
-    return false;
-
-  initName();
-  return true;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-
-  // Get index of current selection focus
-  int aCurrFocus = -1;
-  QMap<int, QLineEdit*>::iterator anIter;
-  for (anIter = mySelName.begin(); anIter != mySelName.end(); ++anIter) {
-    if (myEditCurrentArgument == anIter.data()) {
-      aCurrFocus = anIter.key();
-      break;
-    }
-  }
-
-  GEOM::GEOM_Object_var anObj;
-  Standard_Boolean aResult = Standard_False;
-  if (IObjectCount() == 1) {
-    anObj = GEOMBase::ConvertIOinGEOMObject(firstIObject(), aResult);
-    if (aResult) {
-      if (anObj->_is_nil()) {
-        aResult = Standard_False;
-      } else {
-        mySelName[aCurrFocus]->setText(GEOMBase::GetName(anObj));
-      }
-    } else {
-      anObj = GEOM::GEOM_Object::_nil();
-    }
-  }
-
-  if (aCurrFocus == Vertex1 || aCurrFocus == Edge12 || aCurrFocus == Edge14) {
-    myShape1 = anObj;
-  } else if (aCurrFocus == Vertex2 || aCurrFocus == Edge22 || aCurrFocus == Edge24) {
-    myShape2 = anObj;
-  } else if (aCurrFocus == Vertex3 || aCurrFocus == Edge34) {
-    myShape3 = anObj;
-  } else if (aCurrFocus == Vertex4 || aCurrFocus == Edge44) {
-    myShape4 = anObj;
-  } else {
-    return;
-  }
-
-  displayPreview();
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::SetEditCurrentArgument()
-{
-  QPushButton* aSender = (QPushButton*)sender();
-
-  QMap<int, QPushButton*>::iterator anIter;
-  for (anIter = mySelBtn.begin(); anIter != mySelBtn.end(); ++anIter) {
-    if (anIter.data() == aSender) {
-      mySelName[anIter.key()]->setFocus();
-      myEditCurrentArgument = mySelName[anIter.key()];
-    }
-  }
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  activateSelection();
-  displayPreview();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::enterEvent (QEvent* e)
-{
-  if (!GroupConstructors->isEnabled())
-    this->ActivateThisDialog();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-//void BlocksGUI_QuadFaceDlg::DeactivateActiveDialog()
-//{
-//  // disconnect selection
-//  GEOMBase_Skeleton::DeactivateActiveDialog();
-//}
-
-//=================================================================================
-// function : createSelWg()
-// purpose  :
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::createSelWg (const QString& theLbl,
-                                         QPixmap&       thePix,
-                                         QWidget*       theParent,
-                                         const int      theId)
-{
-  new QLabel(theLbl, theParent);
-  mySelBtn[theId] = new QPushButton(theParent);
-  mySelBtn[theId]->setPixmap(thePix);
-  mySelName[theId] = new QLineEdit(theParent);
-  mySelName[theId]->setReadOnly(true);
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection in accordance with myEditCurrentArgument
-//=================================================================================
-void BlocksGUI_QuadFaceDlg::activateSelection()
-{
-  if (myEditCurrentArgument == mySelName[Vertex1] ||
-      myEditCurrentArgument == mySelName[Vertex2] ||
-      myEditCurrentArgument == mySelName[Vertex3] ||
-      myEditCurrentArgument == mySelName[Vertex4]) {
-
-    globalSelection(GEOM_POINT);
-
-  } else {
-    globalSelection(GEOM_EDGE);
-  }
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BlocksGUI_QuadFaceDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations(getStudyId());
-}
-
-//=================================================================================
-// function : isValid
-// purpose  : Verify validity of input data
-//=================================================================================
-bool BlocksGUI_QuadFaceDlg::isValid (QString&)
-{
-  switch (getConstructorId()) {
-    case 0:
-      return (!myShape1->_is_nil() && !myShape2->_is_nil() &&
-              !myShape3->_is_nil() && !myShape4->_is_nil());
-    case 1:
-      return (!myShape1->_is_nil() && !myShape2->_is_nil());
-    case 2:
-      return (!myShape1->_is_nil() && !myShape2->_is_nil() &&
-              !myShape3->_is_nil() && !myShape4->_is_nil());
-    default:
-      return false;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BlocksGUI_QuadFaceDlg::execute (ObjectList& objects)
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch (getConstructorId()) {
-    case 0:
-      anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->MakeQuad4Vertices
-        (myShape1, myShape2, myShape3, myShape4);
-      res = true;
-      break;
-    case 1:
-      anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->MakeQuad2Edges
-        (myShape1, myShape2);
-      res = true;
-      break;
-    case 2:
-      anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->MakeQuad
-        (myShape1, myShape2, myShape3, myShape4);
-      res = true;
-      break;
-    default:
-      break;
-  }
-
-  if (!anObj->_is_nil())
-    objects.push_back(anObj._retn());
-
-  return res;
-}
diff --git a/src/BlocksGUI/BlocksGUI_QuadFaceDlg.h b/src/BlocksGUI/BlocksGUI_QuadFaceDlg.h
deleted file mode 100644 (file)
index 0df8ae0..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_QuadFaceDlg.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_QUAD_FACE_H
-#define DIALOGBOX_QUAD_FACE_H
-
-#include "GEOMBase_Skeleton.h"
-
-//=================================================================================
-// class    : BlocksGUI_QuadFaceDlg
-// purpose  :
-//=================================================================================
-class BlocksGUI_QuadFaceDlg : public GEOMBase_Skeleton
-{
-  Q_OBJECT
-
-  enum { Vertex1, Vertex2, Vertex3, Vertex4,
-        Edge12, Edge22,
-        Edge14, Edge24, Edge34, Edge44 };
-
-public:
-  BlocksGUI_QuadFaceDlg (QWidget* parent,
-                        bool modal = FALSE);
-  ~BlocksGUI_QuadFaceDlg();
-
-protected:
-  // redefined from GEOMBase_Helper
-  virtual GEOM::GEOM_IOperations_ptr createOperation();
-  virtual                            bool isValid (QString& msg);
-  virtual                            bool execute (ObjectList& objects);
-
-private:
-  void Init();
-  void enterEvent (QEvent* e);
-
-  void createSelWg (const QString&, QPixmap&, QWidget*, const int);
-  void activateSelection();
-
-private:
-  int                     myConstructorId;
-
-  GEOM::GEOM_Object_var   myShape1;
-  GEOM::GEOM_Object_var   myShape2;
-  GEOM::GEOM_Object_var   myShape3;
-  GEOM::GEOM_Object_var   myShape4;
-
-  QFrame*                 myGrp1;
-  QFrame*                 myGrp2;
-  QFrame*                 myGrp3;
-
-  QMap<int, QPushButton*> mySelBtn;
-  QMap<int, QLineEdit*>   mySelName;
-
-private slots:
-  void ClickOnOk();
-  bool ClickOnApply();
-  void ActivateThisDialog();
-//  void DeactivateActiveDialog();
-  void ConstructorsClicked( int constructorId );
-
-  void SelectionIntoArgument();
-  void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_QUAD_FACE_H
diff --git a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx
deleted file mode 100644 (file)
index 7dca35c..0000000
+++ /dev/null
@@ -1,520 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_TrsfDlg.cxx
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "BlocksGUI_TrsfDlg.h"
-
-#include "DlgRef_SpinBox.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "OCCViewer_ViewModel.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BlocksGUI_TrsfDlg()
-// purpose  : Constructs a BlocksGUI_TrsfDlg which is a child of 'parent'.
-//=================================================================================
-BlocksGUI_TrsfDlg::BlocksGUI_TrsfDlg (QWidget* parent,
-                                      bool modal)
-     : GEOMBase_Skeleton(parent, "TrsfDlg", modal,
-                         WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BLOCK_MULTITRSF_SIMPLE")));
-  QPixmap image2 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BLOCK_MULTITRSF_DOUBLE")));
-  QPixmap imageS (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_BLOCK_MULTITRSF_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_BLOCK_MULTITRSF"));
-
-  RadioButton1->setPixmap(image1);
-  RadioButton2->setPixmap(image2);
-  RadioButton3->close(TRUE);
-
-  // Create first group
-  myGrp1 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_BLOCK_MULTITRSF_SIMPLE"), this);
-
-  QGroupBox* aSelGrp1 = new QGroupBox(3, Qt::Horizontal, myGrp1);
-  aSelGrp1->setFrameStyle(QFrame::NoFrame);
-  aSelGrp1->setInsideMargin(0);
-
-  createSelWg(tr("GEOM_MAIN_OBJECT"), imageS, aSelGrp1, MainObj1);
-  createSelWg(tr("FACE_1"), imageS, aSelGrp1, Face1);
-  createSelWg(tr("FACE_2"), imageS, aSelGrp1, Face2);
-
-  QGroupBox* aSpinGrp1 = new QGroupBox(1, Qt::Vertical, myGrp1);
-  aSpinGrp1->setFrameStyle(QFrame::NoFrame);
-  aSpinGrp1->setInsideMargin(0);
-
-  new QLabel(tr("GEOM_NB_TIMES"), aSpinGrp1);
-  mySpinBox[SpinBox1] = new DlgRef_SpinBox(aSpinGrp1);
-
-  // Create second group
-  myGrp2 = new QGroupBox(1, Qt::Horizontal, tr("GEOM_BLOCK_MULTITRSF_DOUBLE"), this);
-
-  // U trsf
-  QGroupBox* aSelGrp2U = new QGroupBox(3, Qt::Horizontal, myGrp2);
-  aSelGrp2U->setFrameStyle(QFrame::NoFrame);
-  aSelGrp2U->setInsideMargin(0);
-
-  createSelWg(tr("GEOM_MAIN_OBJECT"), imageS, aSelGrp2U, MainObj2);
-  createSelWg(tr("FACE_1U"), imageS, aSelGrp2U, Face1U);
-  createSelWg(tr("FACE_2U"), imageS, aSelGrp2U, Face2U);
-
-  QGroupBox* aSpinGrp2U = new QGroupBox(1, Qt::Vertical, myGrp2);
-  aSpinGrp2U->setFrameStyle(QFrame::NoFrame);
-  aSpinGrp2U->setInsideMargin(0);
-
-  new QLabel(tr("GEOM_NB_TIMES_U"), aSpinGrp2U);
-  mySpinBox[SpinBox2U] = new DlgRef_SpinBox(aSpinGrp2U);
-
-  // V trsf
-  QGroupBox* aSelGrp2V = new QGroupBox(3, Qt::Horizontal, myGrp2);
-  aSelGrp2V->setFrameStyle(QFrame::NoFrame);
-  aSelGrp2V->setInsideMargin(0);
-
-  createSelWg(tr("FACE_1V"), imageS, aSelGrp2V, Face1V);
-  createSelWg(tr("FACE_2V"), imageS, aSelGrp2V, Face2V);
-
-  QGroupBox* aSpinGrp2V = new QGroupBox(1, Qt::Vertical, myGrp2);
-  aSpinGrp2V->setFrameStyle(QFrame::NoFrame);
-  aSpinGrp2V->setInsideMargin(0);
-
-  new QLabel(tr("GEOM_NB_TIMES_V"), aSpinGrp2V);
-  mySpinBox[SpinBox2V] = new DlgRef_SpinBox(aSpinGrp2V);
-
-  (new QLabel(myGrp2))->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
-
-  // Add groups to layout
-  Layout1->addWidget( myGrp1, 2, 0 );
-  Layout1->addWidget( myGrp2, 2, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-//=================================================================================
-// function : ~BlocksGUI_TrsfDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BlocksGUI_TrsfDlg::~BlocksGUI_TrsfDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::Init()
-{
-  // Set range of spinboxes
-  double SpecificStep = 1.0;
-  QMap<int, DlgRef_SpinBox*>::iterator anIter;
-  for (anIter = mySpinBox.begin(); anIter != mySpinBox.end(); ++anIter) {
-    anIter.data()->RangeStepAndValidator(1.0, 999.999, SpecificStep, 3);
-  }
-
-  // signals and slots connections
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  QMap<int, QPushButton*>::iterator anIterBtn;
-  for (anIterBtn = mySelBtn.begin(); anIterBtn != mySelBtn.end(); ++anIterBtn)
-    connect(anIterBtn.data(), SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  QMap<int, DlgRef_SpinBox*>::iterator anIterSpin;
-  for (anIterSpin = mySpinBox.begin(); anIterSpin != mySpinBox.end(); ++anIterSpin)
-    connect(anIterSpin.data(), SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  // init controls and fields
-  initName(tr("GEOM_BLOCK_MULTITRSF"));
-
-  myConstructorId = -1;
-  ConstructorsClicked(0);
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void BlocksGUI_TrsfDlg::ConstructorsClicked (int constructorId)
-{
-  if (myConstructorId == constructorId)
-    return;
-
-  myConstructorId = constructorId;
-
-  switch (constructorId) {
-  case 0:
-    myGrp2->hide();
-    myGrp1->show();
-    mySpinBox[SpinBox1]->SetValue(2.0);
-    myEditCurrentArgument = mySelName[MainObj1];
-    myFaces[Face1] = -1;
-    myFaces[Face2] = -1;
-    break;
-  case 1:
-    myGrp1->hide();
-    myGrp2->show();
-    mySpinBox[SpinBox2U]->SetValue(2.0);
-    mySpinBox[SpinBox2V]->SetValue(2.0);
-    myEditCurrentArgument = mySelName[MainObj2];
-    myFaces[Face1U] = -1;
-    myFaces[Face2U] = -1;
-    myFaces[Face1V] = -1;
-    myFaces[Face2V] = -1;
-    break;
-  default:
-    break;
-  }
-
-  // clear line edits
-  QMap<int, QLineEdit*>::iterator anIterLE;
-  for (anIterLE = mySelName.begin(); anIterLE != mySelName.end(); ++anIterLE)
-    anIterLE.data()->setText("");
-
-  // init fields
-  myShape = GEOM::GEOM_Object::_nil();
-
-  activateSelection();
-//  enableWidgets();
-//  displayPreview();
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::ClickOnOk()
-{
-  if (ClickOnApply())
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BlocksGUI_TrsfDlg::ClickOnApply()
-{
-  if (!onAccept())
-    return false;
-
-  initName();
-  return true;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void BlocksGUI_TrsfDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-
-  // Get index of current selection focus
-  int aCurrFocus = -1;
-  QMap<int, QLineEdit*>::iterator anIter;
-  for (anIter = mySelName.begin(); anIter != mySelName.end(); ++anIter) {
-    if (myEditCurrentArgument == anIter.data()) {
-      aCurrFocus = anIter.key();
-      break;
-    }
-  }
-
-  // If selection of main object is activated
-  if (aCurrFocus == MainObj1 || aCurrFocus == MainObj2) {
-    if (IObjectCount() == 1) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject(firstIObject(), aResult);
-
-      if (aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
-        myShape = anObj;
-        mySelName[aCurrFocus]->setText(GEOMBase::GetName(anObj));
-        enableWidgets();
-        return;
-      }
-    }
-
-    myShape = GEOM::GEOM_Object::_nil();
-    enableWidgets();
-  }
-  // If face selection is activated
-  else if (aCurrFocus == Face1  || aCurrFocus == Face2  ||
-           aCurrFocus == Face1U || aCurrFocus == Face2U ||
-           aCurrFocus == Face1V || aCurrFocus == Face2V) {
-    if (IObjectCount() == 1) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject(firstIObject(), aResult);
-
-      if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
-        TColStd_IndexedMapOfInteger anIndexes;
-       ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), anIndexes );
-
-        if (anIndexes.Extent() == 1) {
-          int anIndex = anIndexes(1);
-          QString aFaceName = QString(GEOMBase::GetName(anObj)) + ":%1";
-          myEditCurrentArgument->setText(aFaceName.arg(anIndex));
-          myFaces[aCurrFocus] = anIndex;
-          displayPreview();
-          return;
-        }
-      }
-    }
-
-    myFaces[aCurrFocus] = -1;
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::SetEditCurrentArgument()
-{
-  QPushButton* aSender = (QPushButton*)sender();
-
-  QMap<int, QPushButton*>::iterator anIter;
-  for (anIter = mySelBtn.begin(); anIter != mySelBtn.end(); ++anIter) {
-    if (anIter.data() == aSender) {
-      mySelName[anIter.key()]->setFocus();
-      myEditCurrentArgument = mySelName[anIter.key()];
-      break;
-    }
-  }
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  activateSelection();
-  displayPreview();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::enterEvent (QEvent* e)
-{
-  if (!GroupConstructors->isEnabled())
-    this->ActivateThisDialog();
-}
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-//void BlocksGUI_TrsfDlg::DeactivateActiveDialog()
-//{
-//  // disconnect selection
-//  GEOMBase_Skeleton::DeactivateActiveDialog();
-//}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::ValueChangedInSpinBox (double newValue)
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : createSelWg()
-// purpose  :
-//=================================================================================
-void BlocksGUI_TrsfDlg::createSelWg (const QString& theLbl,
-                                     QPixmap&       thePix,
-                                     QWidget*       theParent,
-                                     const int      theId)
-{
-  new QLabel(theLbl, theParent);
-  mySelBtn[theId] = new QPushButton(theParent);
-  mySelBtn[theId]->setPixmap(thePix);
-  mySelName[theId] = new QLineEdit(theParent);
-  mySelName[theId]->setReadOnly(true);
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection in accordance with myEditCurrentArgument
-//=================================================================================
-void BlocksGUI_TrsfDlg::activateSelection()
-{
-  if (!myShape->_is_nil() &&
-      (myEditCurrentArgument == mySelName[ Face1  ] ||
-       myEditCurrentArgument == mySelName[ Face2  ] ||
-       myEditCurrentArgument == mySelName[ Face1U ] ||
-       myEditCurrentArgument == mySelName[ Face2U ] ||
-       myEditCurrentArgument == mySelName[ Face1V ] ||
-       myEditCurrentArgument == mySelName[ Face2V ])) {
-
-    // Local selection is available only in the OCC Viewer
-    if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-       == OCCViewer_Viewer::Type()) {
-      localSelection(myShape, TopAbs_FACE);
-    } else {
-      return;
-    }
-  } else {
-    globalSelection( GEOM_ALLSHAPES );
-  }
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : enableWidgets
-// purpose  : Enable widgets of faces in accordance with value of main object
-//=================================================================================
-void BlocksGUI_TrsfDlg::enableWidgets()
-{
-  int anId = getConstructorId();
-
-  bool toEnable = !myShape->_is_nil();
-
-  if (anId == 0) {
-    mySelName[Face1]->setEnabled(toEnable);
-    mySelName[Face2]->setEnabled(toEnable);
-    mySelBtn[Face1]->setEnabled(toEnable);
-    mySelBtn[Face2]->setEnabled(toEnable);
-
-    if (!toEnable) {
-      mySelName[Face1]->setText("");
-      mySelName[Face2]->setText("");
-      myFaces[Face1] = -1;
-      myFaces[Face2] = -1;
-    }
-  } else if (anId == 1) {
-    mySelName[Face1U]->setEnabled(toEnable);
-    mySelName[Face2U]->setEnabled(toEnable);
-    mySelName[Face1V]->setEnabled(toEnable);
-    mySelName[Face2V]->setEnabled(toEnable);
-    mySelBtn[Face1U]->setEnabled(toEnable);
-    mySelBtn[Face2U]->setEnabled(toEnable);
-    mySelBtn[Face1V]->setEnabled(toEnable);
-    mySelBtn[Face2V]->setEnabled(toEnable);
-
-    if (!toEnable) {
-      mySelName[Face1U]->setText("");
-      mySelName[Face2U]->setText("");
-      mySelName[Face1V]->setText("");
-      mySelName[Face2V]->setText("");
-      myFaces[Face1U] = -1;
-      myFaces[Face2U] = -1;
-      myFaces[Face1V] = -1;
-      myFaces[Face2V] = -1;
-    }
-  }
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BlocksGUI_TrsfDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations(getStudyId());
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  : Verify validity of input data
-//=================================================================================
-bool BlocksGUI_TrsfDlg::isValid (QString&)
-{
-  switch (getConstructorId()) {
-    case 0:
-      return !myShape->_is_nil() && myFaces[Face1] > 0;
-    case 1:
-      return !myShape->_is_nil() && myFaces[Face1U] > 0 && myFaces[Face1V] > 0;
-    default:
-      return false;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BlocksGUI_TrsfDlg::execute (ObjectList& objects)
-{
-  bool res = false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  switch (getConstructorId()) {
-    case 0:
-      anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->MakeMultiTransformation1D
-        (myShape,
-         myFaces[Face1],
-         myFaces[Face2],
-         (int)mySpinBox[SpinBox1]->GetValue());
-      res = true;
-      break;
-    case 1:
-      anObj = GEOM::GEOM_IBlocksOperations::_narrow(getOperation())->MakeMultiTransformation2D
-        (myShape,
-         myFaces[Face1U],
-         myFaces[Face2U],
-         (int)mySpinBox[SpinBox2U]->GetValue(),
-         myFaces[Face1V],
-         myFaces[Face2V],
-         (int)mySpinBox[SpinBox2V]->GetValue());
-      res = true;
-      break;
-  }
-
-  if (!anObj->_is_nil())
-    objects.push_back(anObj._retn());
-
-  return res;
-}
diff --git a/src/BlocksGUI/BlocksGUI_TrsfDlg.h b/src/BlocksGUI/BlocksGUI_TrsfDlg.h
deleted file mode 100644 (file)
index a5bdc30..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : BlocksGUI_TrsfDlg.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BLOCK_MULTITRSF_H
-#define DIALOGBOX_BLOCK_MULTITRSF_H
-
-#include "GEOMBase_Skeleton.h"
-
-class DlgRef_SpinBox;
-
-//=================================================================================
-// class    : BlocksGUI_TrsfDlg
-// purpose  :
-//=================================================================================
-class BlocksGUI_TrsfDlg : public GEOMBase_Skeleton
-{
-  Q_OBJECT
-
-  enum { MainObj1, Face1, Face2, MainObj2, Face1U, Face2U, Face1V, Face2V };
-  enum { SpinBox1, SpinBox2U, SpinBox2V };
-
-public:
-  BlocksGUI_TrsfDlg (QWidget* parent,
-                    bool modal = FALSE);
-  ~BlocksGUI_TrsfDlg();
-
-protected:
-  // redefined from GEOMBase_Helper
-  virtual GEOM::GEOM_IOperations_ptr createOperation();
-  virtual bool                       isValid (QString& msg);
-  virtual bool                       execute (ObjectList& objects);
-
-private:
-  void Init();
-  void enterEvent (QEvent* e);
-
-  void createSelWg (const QString&, QPixmap&, QWidget*, const int);
-  void activateSelection();
-  void enableWidgets();
-
-private:
-  int                        myConstructorId;
-
-  GEOM::GEOM_Object_var      myShape;
-  QMap<int, int>             myFaces;
-
-  QFrame*                    myGrp1;
-  QFrame*                    myGrp2;
-
-  QMap<int, QPushButton*>    mySelBtn;
-  QMap<int, QLineEdit*>      mySelName;
-  QMap<int, DlgRef_SpinBox*> mySpinBox;
-
-private slots:
-  void ClickOnOk();
-  bool ClickOnApply();
-  void ActivateThisDialog();
-//  void DeactivateActiveDialog();
-  void ConstructorsClicked (int constructorId);
-
-  void SelectionIntoArgument();
-  void SetEditCurrentArgument();
-
-  void ValueChangedInSpinBox (double newValue);
-};
-
-#endif // DIALOGBOX_BLOCK_MULTITRSF_H
diff --git a/src/BlocksGUI/Makefile.in b/src/BlocksGUI/Makefile.in
deleted file mode 100644 (file)
index 99cbd1e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#  GEOM BUILDGUI : 
-#
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Julia DOROVSKIKH (OCC)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libBlocksGUI.la 
-
-LIB_SRC = \
-       BlocksGUI.cxx \
-       BlocksGUI_QuadFaceDlg.cxx \
-       BlocksGUI_BlockDlg.cxx \
-       BlocksGUI_ExplodeDlg.cxx \
-       BlocksGUI_PropagateDlg.cxx \
-       BlocksGUI_TrsfDlg.cxx
-
-LIB_MOC = \
-       BlocksGUI_QuadFaceDlg.h \
-       BlocksGUI_BlockDlg.h \
-       BlocksGUI_ExplodeDlg.h \
-       BlocksGUI_PropagateDlg.h \
-       BlocksGUI_TrsfDlg.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/BooleanGUI/BooleanGUI.cxx b/src/BooleanGUI/BooleanGUI.cxx
deleted file mode 100644 (file)
index 5f0865f..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BooleanGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-
-#include "BooleanGUI.h"
-
-#include "SUIT_Desktop.h"
-#include "BooleanGUI_Dialog.h"
-
-#include "GeometryGUI.h"
-
-using namespace std;
-
-BooleanGUI* BooleanGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetBooleanGUI()
-// purpose  : Get the only BooleanGUI object [ static ]
-//=======================================================================
-BooleanGUI* BooleanGUI::GetBooleanGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init BooleanGUI only once
-    myGUIObject = new BooleanGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : BooleanGUI()
-// purpose  : Constructor
-//=======================================================================
-BooleanGUI::BooleanGUI( GeometryGUI* parent ) : GEOMGUI( parent )
-{
-}
-
-
-//=======================================================================
-// function : ~BooleanGUI()
-// purpose  : Destructor
-//=======================================================================
-BooleanGUI::~BooleanGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool BooleanGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-
-  int anOperation = 0; 
-  if      ( theCommandID == 5011 )
-    anOperation = FUSE;
-  else if ( theCommandID == 5012 )
-    anOperation = COMMON;
-  else if ( theCommandID == 5013 )
-    anOperation = CUT;
-  else if ( theCommandID == 5014 )
-    anOperation = SECTION;
-  else
-    return false;
-
-  QDialog* aDlg = new BooleanGUI_Dialog( anOperation, parent, "");
-  aDlg->show();
-   
-  return true;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return BooleanGUI::GetBooleanGUI( parent );
-  }
-}
diff --git a/src/BooleanGUI/BooleanGUI.h b/src/BooleanGUI/BooleanGUI.h
deleted file mode 100644 (file)
index a0fdf6c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BooleanGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef BOOLEANGUI_H
-#define BOOLEANGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : BooleanGUI
-// purpose  :
-//=================================================================================
-class BooleanGUI : public GEOMGUI
-{
-protected:
-  BooleanGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public:
-  enum BooleanOperation { COMMON = 1, CUT = 2, FUSE = 3, SECTION = 4 };
-
-  ~BooleanGUI();
-
-  // Get the only BooleanGUI object
-  static BooleanGUI* GetBooleanGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static BooleanGUI* myGUIObject;        // the only BooleanGUI object
-};
-
-#endif
diff --git a/src/BooleanGUI/BooleanGUI_Dialog.cxx b/src/BooleanGUI/BooleanGUI_Dialog.cxx
deleted file mode 100644 (file)
index a50f088..0000000
+++ /dev/null
@@ -1,289 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BooleanGUI_Dialog.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BooleanGUI_Dialog.h"
-#include "BooleanGUI.h"
-#include "DlgRef_2Sel_QTD.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : BooleanGUI_Dialog()
-// purpose  : Constructs a BooleanGUI_Dialog which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BooleanGUI_Dialog::BooleanGUI_Dialog( const int theOperation, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, fl),
-   myOperation( theOperation )
-{
-  QPixmap image0;
-  QString aTitle, aCaption;
-  switch ( myOperation )
-  {
-       case BooleanGUI::COMMON:
-         image0 = QPixmap( SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_COMMON")));
-                       aTitle = tr("GEOM_COMMON");
-                       aCaption = tr("GEOM_COMMON_TITLE");
-                       break;
-               case BooleanGUI::CUT:
-         image0 = QPixmap( SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CUT")));
-                       aTitle = tr("GEOM_CUT");
-                       aCaption = tr("GEOM_CUT_TITLE");
-                       break;
-               case BooleanGUI::FUSE:
-         image0 = QPixmap( SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_FUSE")));
-                       aTitle = tr("GEOM_FUSE");
-                       aCaption = tr("GEOM_FUSE_TITLE");
-                       break;
-               case BooleanGUI::SECTION:
-         image0 = QPixmap( SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SECTION")));
-                       aTitle = tr("GEOM_SECTION");
-                       aCaption = tr("GEOM_SECTION_TITLE");
-                       break;
-       }
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption( aCaption );
-
-  /***************************************************************/
-  GroupConstructors->setTitle( aTitle );
-  RadioButton1->setPixmap( image0 );
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  myGroup = new DlgRef_2Sel_QTD(this, "GroupCommon");
-  myGroup->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  if ( myOperation != BooleanGUI::CUT )
-  {
-       myGroup->TextLabel1->setText(tr("GEOM_OBJECT_I").arg("1"));
-       myGroup->TextLabel2->setText(tr("GEOM_OBJECT_I").arg("2"));
-  }
-  else
-  {
-       myGroup->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-       myGroup->TextLabel2->setText(tr("GEOM_TOOL_OBJECT"));
-  }
-  
-  myGroup->PushButton1->setPixmap(image1);
-  myGroup->PushButton2->setPixmap(image1);
-  myGroup->LineEdit1->setReadOnly( true );
-  myGroup->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget(myGroup, 2, 0);
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BooleanGUI_Dialog()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BooleanGUI_Dialog::~BooleanGUI_Dialog()
-{
-}
-
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BooleanGUI_Dialog::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = myGroup->LineEdit1;
-
-   /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(myGroup->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(myGroup->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(myGroup->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(myGroup->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( GroupConstructors->title() );
-
-  globalSelection( GEOM_ALLSHAPES );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BooleanGUI_Dialog::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BooleanGUI_Dialog::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;  
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void BooleanGUI_Dialog::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText( "" );
-
-  if ( IObjectCount() != 1 )
-  {
-    if      ( myEditCurrentArgument == myGroup->LineEdit1 )   myObject1 = GEOM::GEOM_Object::_nil();
-    else if ( myEditCurrentArgument == myGroup->LineEdit2 )   myObject2 = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean aRes = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-  if ( !CORBA::is_nil( aSelectedObject ) && aRes && GEOMBase::IsShape( aSelectedObject ) )
-  {
-    myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-    if      ( myEditCurrentArgument == myGroup->LineEdit1 )   myObject1 = aSelectedObject;
-    else if ( myEditCurrentArgument == myGroup->LineEdit2 )   myObject2 = aSelectedObject;
-  }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BooleanGUI_Dialog::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if      ( send == myGroup->PushButton1 ) myEditCurrentArgument = myGroup->LineEdit1;
-  else if ( send == myGroup->PushButton2 ) myEditCurrentArgument = myGroup->LineEdit2;
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BooleanGUI_Dialog::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == myGroup->LineEdit1 || send == myGroup->LineEdit2 )
-  {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BooleanGUI_Dialog::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void BooleanGUI_Dialog::enterEvent(QEvent * e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BooleanGUI_Dialog::createOperation()
-{
-  return getGeomEngine()->GetIBooleanOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BooleanGUI_Dialog::isValid( QString& msg )
-{
-  return !CORBA::is_nil( myObject1 ) && !CORBA::is_nil( myObject2 );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BooleanGUI_Dialog::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-  anObj = GEOM::GEOM_IBooleanOperations::_narrow( getOperation() )->MakeBoolean( myObject1, myObject2, myOperation );
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
diff --git a/src/BooleanGUI/BooleanGUI_Dialog.h b/src/BooleanGUI/BooleanGUI_Dialog.h
deleted file mode 100644 (file)
index 70f6c4b..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BooleanGUI_Dialog.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef BooleanGUI_Dialog_H
-#define BooleanGUI_Dialog_H
-
-#include "GEOMBase_Skeleton.h"
-
-class DlgRef_2Sel_QTD;
-
-//=================================================================================
-// class    : BooleanGUI_Dialog
-// purpose  :
-//=================================================================================
-class BooleanGUI_Dialog : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    BooleanGUI_Dialog( const int theOperation, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BooleanGUI_Dialog();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private:
-    int myOperation;
-         
-    void Init();
-    void enterEvent(QEvent * e);
-
-    GEOM::GEOM_Object_var myObject1;
-    GEOM::GEOM_Object_var myObject2;
-
-    DlgRef_2Sel_QTD* myGroup;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void SetEditCurrentArgument();
-    void SelectionIntoArgument();
-    void LineEditReturnPressed();
-    void ActivateThisDialog();
-
-};
-
-#endif // BooleanGUI_Dialog_H
diff --git a/src/BooleanGUI/Makefile.in b/src/BooleanGUI/Makefile.in
deleted file mode 100644 (file)
index f90b5d4..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#  GEOM BOOLEANGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libBooleanGUI.la 
-
-LIB_SRC =      BooleanGUI.cxx \
-               BooleanGUI_Dialog.cxx
-
-LIB_MOC = \
-               BooleanGUI_Dialog.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/BuildGUI/BuildGUI.cxx b/src/BuildGUI/BuildGUI.cxx
deleted file mode 100644 (file)
index bb0c98a..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BooleanGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "BuildGUI.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-
-#include "BuildGUI_EdgeDlg.h"       // Method EDGE
-#include "BuildGUI_WireDlg.h"       // Method WIRE
-#include "BuildGUI_FaceDlg.h"       // Method FACE
-#include "BuildGUI_ShellDlg.h"      // Method SHELL
-#include "BuildGUI_SolidDlg.h"      // Method SOLID
-#include "BuildGUI_CompoundDlg.h"   // Method COMPOUND
-
-#include "GeometryGUI.h"
-
-BuildGUI* BuildGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetBuildGUI()
-// purpose  : Get the only BuildGUI object [ static ]
-//=======================================================================
-BuildGUI* BuildGUI::GetBuildGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) 
-    myGUIObject = new BuildGUI( parent );
-
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : BuildGUI()
-// purpose  : Constructor
-//=======================================================================
-BuildGUI::BuildGUI( GeometryGUI* parent )
-: GEOMGUI( parent )
-{
-}
-
-
-//=======================================================================
-// function : ~BuildGUI()
-// purpose  : Destructor
-//=======================================================================
-BuildGUI::~BuildGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool BuildGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  QDialog* aDlg = NULL;
-
-  switch ( theCommandID )
-  {
-    case 4081: aDlg = new BuildGUI_EdgeDlg    ( parent, "" ); break;
-    case 4082: aDlg = new BuildGUI_WireDlg    ( parent, "" ); break;
-    case 4083: aDlg = new BuildGUI_FaceDlg    ( parent, "" ); break;
-    case 4084: aDlg = new BuildGUI_ShellDlg   ( parent, "" ); break;
-    case 4085: aDlg = new BuildGUI_SolidDlg   ( parent, "" ); break;
-    case 4086: aDlg = new BuildGUI_CompoundDlg( parent, "" ); break;
-    
-    default: 
-      SUIT_Session::session()->activeApplication()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) ); 
-      break;
-  }
-  
-  if ( aDlg != NULL )
-    aDlg->show();
-  
-  return true;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return BuildGUI::GetBuildGUI( parent );
-  }
-}
diff --git a/src/BuildGUI/BuildGUI.h b/src/BuildGUI/BuildGUI.h
deleted file mode 100644 (file)
index 25b11cf..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef BUILDGUI_H
-#define BUILDGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : BuildGUI
-// purpose  :
-//=================================================================================
-class BuildGUI : public GEOMGUI
-{
-protected:
-  BuildGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~BuildGUI();
-
-  // Get the only BuildGUI object
-  static BuildGUI* GetBuildGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
-
-private:
-  static BuildGUI* myGUIObject;        // the only BuildGUI object
-};
-
-#endif
diff --git a/src/BuildGUI/BuildGUI_CompoundDlg.cxx b/src/BuildGUI/BuildGUI_CompoundDlg.cxx
deleted file mode 100644 (file)
index df88141..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_CompoundDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BuildGUI_CompoundDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BuildGUI_CompoundDlg()
-// purpose  : Constructs a BuildGUI_CompoundDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_CompoundDlg::BuildGUI_CompoundDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_COMPOUND")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_COMPOUND_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_COMPOUND"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupShapes = new DlgRef_1Sel_QTD(this, "GroupShapes");
-  GroupShapes->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupShapes->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupShapes->PushButton1->setPixmap(image1);
-  GroupShapes->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupShapes, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_CompoundDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_CompoundDlg::~BuildGUI_CompoundDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_CompoundDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupShapes->LineEdit1;
-  GroupShapes->LineEdit1->setReadOnly( true );
-  
-  myOkShapes = false;
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupShapes->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  globalSelection( GEOM_ALLSHAPES );
-
-  initName( tr( "GEOM_COMPOUND" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_CompoundDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_CompoundDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_CompoundDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText( "" );
-  QString aString = ""; /* name of selection */
-
-  myOkShapes = false;
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString, true );
-  if ( nbSel == 0 ) 
-    return;
-  if ( nbSel != 1 )
-    aString = QString( "%1_objects").arg( nbSel );
-  
-  GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myShapes, true );
-  myEditCurrentArgument->setText( aString );
-  myOkShapes = true;
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_CompoundDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if (send != GroupShapes->PushButton1)
-    return;
-  
-  myEditCurrentArgument = GroupShapes->LineEdit1;
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_CompoundDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_CompoundDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog(); 
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_CompoundDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_CompoundDlg::isValid( QString& )
-{
-  return myOkShapes;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_CompoundDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_IShapesOperations::_narrow( getOperation() )->MakeCompound( myShapes );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
diff --git a/src/BuildGUI/BuildGUI_CompoundDlg.h b/src/BuildGUI/BuildGUI_CompoundDlg.h
deleted file mode 100644 (file)
index eef0b2f..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_CompoundDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_COMPOUND_H
-#define DIALOGBOX_COMPOUND_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_CompoundDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_CompoundDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_CompoundDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_CompoundDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GEOM::ListOfGO myShapes;
-    bool           myOkShapes;
-
-    DlgRef_1Sel_QTD* GroupShapes;
-    
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_COMPOUND_H
diff --git a/src/BuildGUI/BuildGUI_EdgeDlg.cxx b/src/BuildGUI/BuildGUI_EdgeDlg.cxx
deleted file mode 100644 (file)
index ae81504..0000000
+++ /dev/null
@@ -1,283 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_EdgeDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BuildGUI_EdgeDlg.h"
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <Precision.hxx>
-
-#include "utilities.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BuildGUI_EdgeDlg()
-// purpose  : Constructs a BuildGUI_EdgeDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_EdgeDlg::BuildGUI_EdgeDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_EDGE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_EDGE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_EDGE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_POINTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_EdgeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_EdgeDlg::~BuildGUI_EdgeDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  myOkPoint1 = myOkPoint2 = false;
-
-  globalSelection( GEOM_POINT );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_EDGE") );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_EdgeDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_EdgeDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1)
-      myOkPoint1 = false;
-    else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-      myOkPoint2 = false;
-    return;
-  }
-  
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-  
-  if(!testResult)
-    return;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1) {
-    myPoint1 = aSelectedObject;
-    myOkPoint1 = true;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2) {
-    myPoint2 = aSelectedObject;
-    myOkPoint2 = true;
-  }
-  
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 || send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::SetEditCurrentArgument()
-{
-  
-  QPushButton* send = (QPushButton*)sender();
-  globalSelection();
-
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_POINT );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_POINT );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  globalSelection( GEOM_POINT );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_EdgeDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_EdgeDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_EdgeDlg::isValid( QString& )
-{
-  return myOkPoint1 && myOkPoint2;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_EdgeDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_IShapesOperations::_narrow( getOperation() )->MakeEdge( myPoint1, myPoint2 );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
diff --git a/src/BuildGUI/BuildGUI_EdgeDlg.h b/src/BuildGUI/BuildGUI_EdgeDlg.h
deleted file mode 100644 (file)
index 2d3af1a..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_EdgeDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_EDGE_H
-#define DIALOGBOX_EDGE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_EdgeDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_EdgeDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_EdgeDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_EdgeDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    
-    GEOM::GEOM_Object_var myPoint1, myPoint2;   /* Points containing the edge */ 
-    bool myOkPoint1;   /* true when myPoint is defined */    
-    bool myOkPoint2;
-    
-    DlgRef_2Sel_QTD* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_EDGE_H
diff --git a/src/BuildGUI/BuildGUI_FaceDlg.cxx b/src/BuildGUI/BuildGUI_FaceDlg.cxx
deleted file mode 100644 (file)
index 3b7a2c0..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_FaceDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BuildGUI_FaceDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-//Qt includes
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : BuildGUI_FaceDlg()
-// purpose  : Constructs a BuildGUI_FaceDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_FaceDlg::BuildGUI_FaceDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_FACE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_FACE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_FACE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupWire = new DlgRef_1Sel1Check_QTD(this, "GroupWire");
-  GroupWire->GroupBox1->setTitle(tr("GEOM_FACE_FFW"));
-  GroupWire->TextLabel1->setText(tr("GEOM_WIRES"));
-  GroupWire->CheckButton1->setText(tr("GEOM_FACE_OPT"));
-  GroupWire->PushButton1->setPixmap(image1);
-
-  Layout1->addWidget(GroupWire, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_FaceDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_FaceDlg::~BuildGUI_FaceDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_FaceDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupWire->LineEdit1;
-  GroupWire->LineEdit1->setReadOnly( true );
-
-  GroupWire->CheckButton1->setChecked(TRUE);
-
-  globalSelection( GEOM_WIRE );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupWire->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupWire->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_FACE"));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_FaceDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_FaceDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_FaceDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-  
-  int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-  
-  if(aNbSel < 1)
-    {
-      myWires.length(0);
-      return;
-    }
-  
-  GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myWires);
-  if (!myWires.length())
-    return;
-  if(aNbSel != 1)
-    aName = tr("%1_wires").arg(aNbSel);
-  
-  myEditCurrentArgument->setText( aName );
-  
-  myEditCurrentArgument->setText( aName );
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_FaceDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if (send != GroupWire->PushButton1)
-    return;
-  
-  globalSelection( GEOM_WIRE );
-  myEditCurrentArgument = GroupWire->LineEdit1;
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_FaceDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  globalSelection( GEOM_WIRE );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_FaceDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog(); 
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_FaceDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_FaceDlg::isValid( QString& )
-{
-  return (myWires.length() != 0);
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_FaceDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  bool isPlanarWanted = GroupWire->CheckButton1->isChecked();
-  anObj = GEOM::GEOM_IShapesOperations::_narrow(
-    getOperation() )->MakeFaceWires( myWires, isPlanarWanted );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
diff --git a/src/BuildGUI/BuildGUI_FaceDlg.h b/src/BuildGUI/BuildGUI_FaceDlg.h
deleted file mode 100644 (file)
index f59189f..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_FaceDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_FACE_H
-#define DIALOGBOX_FACE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Check_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_FaceDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_FaceDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_FaceDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_FaceDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-    
-    GEOM::ListOfGO myWires;
-    
-    DlgRef_1Sel1Check_QTD* GroupWire;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_FACE_H
diff --git a/src/BuildGUI/BuildGUI_ShellDlg.cxx b/src/BuildGUI/BuildGUI_ShellDlg.cxx
deleted file mode 100644 (file)
index 5972e29..0000000
+++ /dev/null
@@ -1,246 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_ShellDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "BuildGUI_ShellDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "TColStd_MapOfInteger.hxx"
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BuildGUI_ShellDlg()
-// purpose  : Constructs a BuildGUI_ShellDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_ShellDlg::BuildGUI_ShellDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BUILD_SHELL")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SHELL_TITLE"));
-    
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SHELL"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupShell = new DlgRef_1Sel_QTD(this, "GroupShell");
-  GroupShell->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupShell->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupShell->PushButton1->setPixmap(image1);
-  GroupShell->LineEdit1->setReadOnly( true );
-  
-  Layout1->addWidget(GroupShell, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_ShellDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_ShellDlg::~BuildGUI_ShellDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_ShellDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupShell->LineEdit1;
-  GroupShell->LineEdit1->setReadOnly( true );
-  
-  myOkFacesAndShells = false;
-  
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_SHELL);
-  aMap.Add(GEOM_FACE);
-  globalSelection( aMap );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupShell->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_SHELL"));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_ShellDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_ShellDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_ShellDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText( "" );
-  QString aString;
-
-  myOkFacesAndShells = false;
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString, true );
-  if ( nbSel == 0 )
-    return;
-  if ( nbSel != 1 )
-    aString = QString( "%1_objects ").arg( nbSel );
-
-  GEOMBase::ConvertListOfIOInListOfGO( selectedIO(),  myFacesAndShells, true );
-  if ( !myFacesAndShells.length() )
-    return;
-
-  myEditCurrentArgument->setText( aString );
-  myOkFacesAndShells = true;
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_ShellDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if (send != GroupShell->PushButton1)
-    return;
-
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_SHELL);
-  aMap.Add(GEOM_FACE);
-  globalSelection( aMap );
-  myEditCurrentArgument = GroupShell->LineEdit1;
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_ShellDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_SHELL);
-  aMap.Add(GEOM_FACE);
-  globalSelection( aMap );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_ShellDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_ShellDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_ShellDlg::isValid( QString& )
-{
-  return myOkFacesAndShells;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_ShellDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_IShapesOperations::_narrow(
-    getOperation() )->MakeShell( myFacesAndShells );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
diff --git a/src/BuildGUI/BuildGUI_ShellDlg.h b/src/BuildGUI/BuildGUI_ShellDlg.h
deleted file mode 100644 (file)
index 345fa75..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_ShellDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DIALOGBOX_SHELL_H
-#define DIALOGBOX_SHELL_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_ShellDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_ShellDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_ShellDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_ShellDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent * e);
-
-    GEOM::ListOfGO myFacesAndShells;
-    bool myOkFacesAndShells;          /* to check when arguments is defined */
-
-    DlgRef_1Sel_QTD* GroupShell;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void SetEditCurrentArgument();
-    void SelectionIntoArgument();
-    void ActivateThisDialog();
-
-};
-
-#endif // DIALOGBOX_SHELL_H
diff --git a/src/BuildGUI/BuildGUI_SolidDlg.cxx b/src/BuildGUI/BuildGUI_SolidDlg.cxx
deleted file mode 100644 (file)
index f871dbf..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_SolidDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "BuildGUI_SolidDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-//Qt includes
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BuildGUI_SolidDlg()
-// purpose  : Constructs a BuildGUI_SolidDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_SolidDlg::BuildGUI_SolidDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BUILD_SOLID")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SOLID_TITLE"));
-    
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SOLID"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupSolid = new DlgRef_1Sel1Check_QTD(this, "GroupSolid");
-  GroupSolid->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupSolid->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupSolid->CheckButton1->setText(tr("GEOM_CREATE_SINGLE_SOLID"));
-  GroupSolid->PushButton1->setPixmap(image1);
-  GroupSolid->LineEdit1->setReadOnly( true );
-  
-  Layout1->addWidget(GroupSolid, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_SolidDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_SolidDlg::~BuildGUI_SolidDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_SolidDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupSolid->LineEdit1;
-  GroupSolid->LineEdit1->setReadOnly( true );
-  GroupSolid->CheckButton1->setChecked( true );
-
-  myOkShells = false;
-
-  globalSelection( GEOM_SHELL );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupSolid->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupSolid->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(EnableNameField(bool)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_SOLID"));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_SolidDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_SolidDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_SolidDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aString = "";
-  
-  myOkShells = false;
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aString);
-  if (nbSel == 0) 
-    return;
-  if(nbSel != 1)
-    aString = tr("%1_objects").arg(nbSel);
-  
-  GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myShells);
-  if (!myShells.length()) 
-    return;
-  
-  myEditCurrentArgument->setText(aString);
-  myOkShells = true;
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_SolidDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if(send != GroupSolid->PushButton1)
-    return;
-  
-  globalSelection( GEOM_SHELL );
-  myEditCurrentArgument = GroupSolid->LineEdit1;
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_SolidDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  globalSelection( GEOM_SHELL );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_SolidDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function :  EnableNameField()
-// purpose  :
-//=================================================================================
-void  BuildGUI_SolidDlg::EnableNameField(bool toEnable)
-{
-  this->GroupBoxName->setEnabled(toEnable); 
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_SolidDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_SolidDlg::isValid( QString& )
-{
-  return myOkShells;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_SolidDlg::execute( ObjectList& objects )
-{
-  bool toCreateSingleSolid = GroupSolid->CheckButton1->isChecked();
-  
-  if ( toCreateSingleSolid )
-  {
-    GEOM::GEOM_Object_var anObj = GEOM::GEOM_IShapesOperations::_narrow(
-      getOperation() )->MakeSolidShells( myShells );
-
-    if ( !anObj->_is_nil() )
-      objects.push_back( anObj._retn() );
-  }
-  else
-  {
-    for ( int i = 0, n = myShells.length(); i< n; i++ )
-    {
-      GEOM::GEOM_Object_var anObj = GEOM::GEOM_IShapesOperations::_narrow(
-        getOperation() )->MakeSolidShell( myShells[ i ] );
-
-     if ( !anObj->_is_nil() )
-       objects.push_back( anObj._retn() );
-    }
-  }
-
-  return true;
-}
-
diff --git a/src/BuildGUI/BuildGUI_SolidDlg.h b/src/BuildGUI/BuildGUI_SolidDlg.h
deleted file mode 100644 (file)
index c85fef5..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_SolidDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DIALOGBOX_SOLID_H
-#define DIALOGBOX_SOLID_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Check_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_SolidDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_SolidDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_SolidDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_SolidDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent * e);
-
-    GEOM::ListOfGO myShells;
-    bool myOkShells;          /* to check when arguments is defined and
-                                 all shells are closed */
-
-    DlgRef_1Sel1Check_QTD* GroupSolid;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void SetEditCurrentArgument();
-    void SelectionIntoArgument();
-    void ActivateThisDialog();
-    void EnableNameField(bool toEnable);
-
-};
-
-#endif // DIALOGBOX_SOLID_H
diff --git a/src/BuildGUI/BuildGUI_WireDlg.cxx b/src/BuildGUI/BuildGUI_WireDlg.cxx
deleted file mode 100644 (file)
index 425cb14..0000000
+++ /dev/null
@@ -1,245 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_WireDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "BuildGUI_WireDlg.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "TColStd_MapOfInteger.hxx"
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : BuildGUI_WireDlg()
-// purpose  : Constructs a BuildGUI_WireDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-BuildGUI_WireDlg::BuildGUI_WireDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BUILD_WIRE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_WIRE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_WIRE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_WIRE_CONNECT"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~BuildGUI_WireDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-BuildGUI_WireDlg::~BuildGUI_WireDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void BuildGUI_WireDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  
-  myOkEdgesAndWires = false;
-  
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_WIRE);
-  aMap.Add(GEOM_EDGE);
-  globalSelection( aMap );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  initName(tr("GEOM_WIRE"));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void BuildGUI_WireDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool BuildGUI_WireDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void BuildGUI_WireDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aString = ""; /* name of selection */
-
-  myOkEdgesAndWires = false;
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aString);
-
-  if(nbSel == 0)
-    return;
-  if(nbSel != 1)
-    aString = tr("%1_objects").arg(nbSel);
-
-  GEOMBase::ConvertListOfIOInListOfGO(selectedIO(),  myEdgesAndWires);
-  if (!myEdgesAndWires.length())
-    return;
-
-  myEditCurrentArgument->setText(aString);
-  myOkEdgesAndWires = true;
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void BuildGUI_WireDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  if (send != GroupPoints->PushButton1)
-    return;
-
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_WIRE);
-  aMap.Add(GEOM_EDGE);
-  globalSelection( aMap );
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void BuildGUI_WireDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  TColStd_MapOfInteger aMap;
-  aMap.Add(GEOM_WIRE);
-  aMap.Add(GEOM_EDGE);
-  globalSelection( aMap );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void BuildGUI_WireDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr BuildGUI_WireDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool BuildGUI_WireDlg::isValid( QString& )
-{
-  return myOkEdgesAndWires;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool BuildGUI_WireDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_IShapesOperations::_narrow(
-    getOperation() )->MakeWire( myEdgesAndWires );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
diff --git a/src/BuildGUI/BuildGUI_WireDlg.h b/src/BuildGUI/BuildGUI_WireDlg.h
deleted file mode 100644 (file)
index 2f53e25..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : BuildGUI_WireDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_WIRE_H
-#define DIALOGBOX_WIRE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-
-//=================================================================================
-// class    : BuildGUI_WireDlg
-// purpose  :
-//=================================================================================
-class BuildGUI_WireDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    BuildGUI_WireDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~BuildGUI_WireDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GEOM::ListOfGO myEdgesAndWires;
-    bool myOkEdgesAndWires;   /* to check when arguments is defined */
-
-    DlgRef_1Sel_QTD* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_WIRE_H
diff --git a/src/BuildGUI/Makefile.in b/src/BuildGUI/Makefile.in
deleted file mode 100644 (file)
index 36d4f80..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#  GEOM BUILDGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libBuildGUI.la 
-
-LIB_SRC =      BuildGUI.cxx \
-               BuildGUI_EdgeDlg.cxx \
-               BuildGUI_WireDlg.cxx \
-               BuildGUI_FaceDlg.cxx \
-               BuildGUI_ShellDlg.cxx \
-               BuildGUI_SolidDlg.cxx \
-               BuildGUI_CompoundDlg.cxx
-
-LIB_MOC = \
-               BuildGUI_EdgeDlg.h \
-               BuildGUI_WireDlg.h \
-               BuildGUI_FaceDlg.h \
-               BuildGUI_ShellDlg.h \
-               BuildGUI_SolidDlg.h \
-               BuildGUI_CompoundDlg.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/DisplayGUI/DisplayGUI.h b/src/DisplayGUI/DisplayGUI.h
deleted file mode 100644 (file)
index 64bfd1e..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DisplayGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef DISPLAYGUI_H
-#define DISPLAYGUI_H
-
-#include "GEOMGUI.h"
-#include "GEOMBase.h"
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DISPLAYGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define DISPLAYGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : GEOMBase_Display
-// purpose  :
-//=================================================================================
-//class QAD_ViewFrame;
-class SUIT_ViewWindow;
-class DisplayGUI : public GEOMGUI
-{
-protected:
-  DisplayGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~DisplayGUI();
-
-  // Get the only DisplayGUI object
-  static DisplayGUI* GetDisplayGUI( GeometryGUI* parent );
-
-  // Dispatch menu command
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-  // Display all GEOM objects
-  void DisplayAll();
-  // Erase all GEOM objects
-  void EraseAll();
-  // Display selected GEOM objects
-  void Display();
-  // Display selected GEOM objects and erase other
-  void DisplayOnly();
-  // Erase selected GEOM objects
-  void Erase();
-
-  // DISPLAY MODE methods : 0 - wireframe, 1 - shading
-  // Set display mode for the viewer (current viewer if <viewWindow> - 0 )
-  void SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow = 0 );
-  // Get display mode of the viewer (current viewer if <viewWindow> - 0 )
-  int  GetDisplayMode( SUIT_ViewWindow* viewWindow = 0 );
-  // Invert display mode ( shadin <-> wireframe ) for the viewer 
-  // (current viewer if <viewWindow> = 0 )
-  void InvertDisplayMode( SUIT_ViewWindow* viewWindow = 0 );
-
-  // Set display mode for selected objects in the viewer given
-  // (current viewer if <viewWindow> = 0 )
-  void ChangeDisplayMode( const int mode, SUIT_ViewWindow* viewWindo = 0 );
-
-private:
-  static DisplayGUI* myGUIObject;        // the only DisplayGUI object
-};
-
-#endif
diff --git a/src/DisplayGUI/Makefile.in b/src/DisplayGUI/Makefile.in
deleted file mode 100644 (file)
index 59d2251..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#  GEOM DISPLAYGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libDisplayGUI.la
-
-# header files 
-EXPORT_HEADERS= DisplayGUI.h
-
-LIB_SRC =      DisplayGUI.cxx
-
-LIB_MOC =
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOM
-
-@CONCLUDE@
diff --git a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx b/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx
deleted file mode 100644 (file)
index 271cd6d..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1List1Spin1Btn_QTD.ui'
-**
-** Created: Wed Mar 17 11:29:24 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1List1Spin1Btn_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qheader.h>
-#include <qlabel.h>
-#include <qlistview.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1List1Spin1Btn_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1List1Spin1Btn_QTD::DlgRef_1List1Spin1Btn_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1List1Spin1Btn_QTD" );
-    resize( 204, 148 ); 
-    setCaption( trUtf8( "DlgRef_3Sel4Spin2Check_QTD" ) );
-    DlgRef_1List1Spin1Btn_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_1List1Spin1Btn_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-    QSpacerItem* spacer = new QSpacerItem( 0, 23, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    GroupBox1Layout->addItem( spacer, 3, 1 );
-
-    ListView1 = new QListView( GroupBox1, "ListView1" );
-
-    GroupBox1Layout->addMultiCellWidget( ListView1, 0, 3, 0, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    GroupBox1Layout->addWidget( TextLabel1, 0, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-
-    GroupBox1Layout->addWidget( SpinBox1, 1, 1 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setText( trUtf8( "" ) );
-
-    GroupBox1Layout->addWidget( PushButton1, 2, 1 );
-
-    DlgRef_1List1Spin1Btn_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1List1Spin1Btn_QTD::~DlgRef_1List1Spin1Btn_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h b/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h
deleted file mode 100644 (file)
index 1409779..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1List1Spin1Btn_QTD.ui'
-**
-** Created: Wed Mar 17 11:29:24 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1LIST1SPIN1BTN_QTD_H
-#define DLGREF_1LIST1SPIN1BTN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QListView;
-class QListViewItem;
-class QPushButton;
-class QSpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1List1Spin1Btn_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1List1Spin1Btn_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1List1Spin1Btn_QTD();
-
-    QGroupBox* GroupBox1;
-    QListView* ListView1;
-    QLabel* TextLabel1;
-    QSpinBox* SpinBox1;
-    QPushButton* PushButton1;
-
-
-protected:
-    QGridLayout* DlgRef_1List1Spin1Btn_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-};
-
-#endif // DLGREF_1LIST1SPIN1BTN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx
deleted file mode 100644 (file)
index b629360..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel1Check1List_QTD.ui'
-**
-** Created: lun oct 27 16:18:55 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel1Check1List_QTD.h"
-
-#include <qvariant.h>
-#include <qcombobox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Check1List_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel1Check1List_QTD::DlgRef_1Sel1Check1List_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel1Check1List_QTD" );
-    resize( 129, 104 ); 
-    setCaption( trUtf8( "DlgRef_1Sel1Check1List_QTD" ) );
-    DlgRef_1Sel1Check1List_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Check1List_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 166, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    CheckButton1 = new QRadioButton( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckButton1, 2, 2, 0, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addMultiCellWidget( TextLabel2, 1, 1, 0, 1 );
-
-    ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" );
-    ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( ComboBox1, 1, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel1Check1List_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Check1List_QTD::~DlgRef_1Sel1Check1List_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h b/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h
deleted file mode 100644 (file)
index ac7fad0..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel1Check1List_QTD.ui'
-**
-** Created: lun oct 27 16:18:55 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL1CHECK1LIST_QTD_H
-#define DLGREF_1SEL1CHECK1LIST_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QComboBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QRadioButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Check1List_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Check1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel1Check1List_QTD();
-
-    QGroupBox* GroupBox1;
-    QRadioButton* CheckButton1;
-    QLabel* TextLabel2;
-    QComboBox* ComboBox1;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel1Check1List_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_1SEL1CHECK1LIST_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel1Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Check_QTD.cxx
deleted file mode 100644 (file)
index 7010f41..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel1Check_QTD.ui'
-**
-** Created: Thu May 20 11:55:05 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel1Check_QTD::DlgRef_1Sel1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel1Check_QTD" );
-    resize( 382, 219 ); 
-    setCaption( trUtf8( "DlgRef_1Sel1Check_QTD" ) );
-    DlgRef_1Sel1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout3->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout3->addWidget( PushButton1, 0, 1 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout3->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer, 2, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout3->addWidget( LineEdit1, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout3, 0, 0 );
-
-    DlgRef_1Sel1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, CheckButton1 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Check_QTD::~DlgRef_1Sel1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel1Check_QTD.h b/src/DlgRef/DlgRef_1Sel1Check_QTD.h
deleted file mode 100644 (file)
index 0c5ad2b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel1Check_QTD.ui'
-**
-** Created: Thu May 20 11:55:05 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL1CHECK_QTD_H
-#define DLGREF_1SEL1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QCheckBox* CheckButton1;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout3;
-};
-
-#endif // DLGREF_1SEL1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel1Spin.cxx b/src/DlgRef/DlgRef_1Sel1Spin.cxx
deleted file mode 100644 (file)
index 86be0f2..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel1Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel1Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel1Spin::DlgRef_1Sel1Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_1Sel1Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Spin::~DlgRef_1Sel1Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel1Spin.h b/src/DlgRef/DlgRef_1Sel1Spin.h
deleted file mode 100644 (file)
index dbf0016..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel1Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL1SPIN_H
-#define DLGREF_1SEL1SPIN_H
-
-#include "DlgRef_1Sel1Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel1Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // DLGREF_1SEL1SPIN_H
diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx b/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx
deleted file mode 100644 (file)
index 89196c2..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel1Spin1Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel1Spin1Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel1Spin1Check::DlgRef_1Sel1Spin1Check(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_1Sel1Spin1Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Spin1Check::~DlgRef_1Sel1Spin1Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check.h b/src/DlgRef/DlgRef_1Sel1Spin1Check.h
deleted file mode 100644 (file)
index c08788e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel1Spin1Check.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL1SPIN1CHECK_H
-#define DLGREF_1SEL1SPIN1CHECK_H
-
-#include "DlgRef_1Sel1Spin1Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin1Check : public DlgRef_1Sel1Spin1Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_1Sel1Spin1Check();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // DLGREF_1SEL1SPIN1CHECK_H
diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx
deleted file mode 100644 (file)
index 86f49fb..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui'
-**
-** Created: Mon May 24 15:59:03 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel1Spin1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Spin1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel1Spin1Check_QTD::DlgRef_1Sel1Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel1Spin1Check_QTD" );
-    resize( 163, 109 ); 
-    setCaption( trUtf8( "DlgRef_1Sel1Spin1Check_QTD" ) );
-    DlgRef_1Sel1Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Spin1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout8 = new QGridLayout( 0, 1, 1, 0, 6, "Layout8"); 
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    Layout8->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout8->addWidget( TextLabel1, 0, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout8->addWidget( LineEdit1, 0, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout8->addWidget( PushButton1, 0, 1 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout8->addMultiCellWidget( CheckButton1, 2, 2, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout8->addItem( spacer, 3, 2 );
-
-    GroupBox1Layout->addLayout( Layout8, 0, 0 );
-
-    DlgRef_1Sel1Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Spin1Check_QTD::~DlgRef_1Sel1Spin1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h b/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h
deleted file mode 100644 (file)
index a14bb56..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui'
-**
-** Created: Mon May 24 15:59:03 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL1SPIN1CHECK_QTD_H
-#define DLGREF_1SEL1SPIN1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_1Sel1Spin1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel1Spin1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton1;
-    QCheckBox* CheckButton1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel1Spin1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout8;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL1SPIN1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx
deleted file mode 100644 (file)
index 34846e0..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel1Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:08 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel1Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel1Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel1Spin_QTD::DlgRef_1Sel1Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel1Spin_QTD" );
-    resize( 129, 87 ); 
-    setCaption( trUtf8( "DlgRef_1Sel1Spin_QTD" ) );
-    DlgRef_1Sel1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel1Spin_QTD::~DlgRef_1Sel1Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel1Spin_QTD.h b/src/DlgRef/DlgRef_1Sel1Spin_QTD.h
deleted file mode 100644 (file)
index b70d054..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel1Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:08 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL1SPIN_QTD_H
-#define DLGREF_1SEL1SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel1Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* PushButton1;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel1Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL1SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel2Spin.cxx b/src/DlgRef/DlgRef_1Sel2Spin.cxx
deleted file mode 100644 (file)
index f8471b3..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel2Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel2Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel2Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel2Spin::DlgRef_1Sel2Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_1Sel2Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY");
-  Layout2->addWidget(SpinBox_DY, 1, 1);
-
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel2Spin::~DlgRef_1Sel2Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel2Spin.h b/src/DlgRef/DlgRef_1Sel2Spin.h
deleted file mode 100644 (file)
index 33a11f4..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel2Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL2SPIN_H
-#define DLGREF_1SEL2SPIN_H
-
-#include "DlgRef_1Sel2Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class DlgRef_1Sel2Spin : public DlgRef_1Sel2Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_1Sel2Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-
-};
-
-#endif // DLGREF_1SEL2SPIN_H
diff --git a/src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx
deleted file mode 100644 (file)
index 9e0e825..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel2Spin_QTD.ui'
-**
-** Created: jeu oct 2 11:08:05 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel2Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel2Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel2Spin_QTD::DlgRef_1Sel2Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel2Spin_QTD" );
-    resize( 129, 115 ); 
-    setCaption( trUtf8( "DlgRef_1Sel2Spin_QTD" ) );
-    DlgRef_1Sel2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel2Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 1, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 30, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel2Spin_QTD::~DlgRef_1Sel2Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel2Spin_QTD.h b/src/DlgRef/DlgRef_1Sel2Spin_QTD.h
deleted file mode 100644 (file)
index 82cae87..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel2Spin_QTD.ui'
-**
-** Created: jeu oct 2 11:08:05 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL2SPIN_QTD_H
-#define DLGREF_1SEL2SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_1Sel2Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel2Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox2;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton1;
-    QLabel* TextLabel1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel2Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL2SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel3Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel3Check_QTD.cxx
deleted file mode 100644 (file)
index 7f35197..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel3Check_QTD.ui'
-**
-** Created: Thu May 20 10:15:08 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel3Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel3Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel3Check_QTD::DlgRef_1Sel3Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel3Check_QTD" );
-    resize( 163, 116 ); 
-    setCaption( trUtf8( "DlgRef_1Sel3Check_QTD" ) );
-    DlgRef_1Sel3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel3Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout6 = new QGridLayout( 0, 1, 1, 0, 6, "Layout6"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout6->addItem( spacer, 4, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout6->addWidget( LineEdit1, 0, 2 );
-
-    CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
-    CheckButton2->setText( trUtf8( "" ) );
-
-    Layout6->addMultiCellWidget( CheckButton2, 2, 2, 0, 2 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout6->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 );
-
-    CheckButton3 = new QCheckBox( GroupBox1, "CheckButton3" );
-    CheckButton3->setText( trUtf8( "" ) );
-
-    Layout6->addMultiCellWidget( CheckButton3, 3, 3, 0, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout6->addWidget( PushButton1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout6->addWidget( TextLabel1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout6, 0, 0 );
-
-    DlgRef_1Sel3Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, CheckButton1 );
-    setTabOrder( CheckButton1, CheckButton2 );
-    setTabOrder( CheckButton2, CheckButton3 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel3Check_QTD::~DlgRef_1Sel3Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel3Check_QTD.h b/src/DlgRef/DlgRef_1Sel3Check_QTD.h
deleted file mode 100644 (file)
index a63e25e..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel3Check_QTD.ui'
-**
-** Created: Thu May 20 10:15:07 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL3CHECK_QTD_H
-#define DLGREF_1SEL3CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class DlgRef_1Sel3Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel3Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit1;
-    QCheckBox* CheckButton2;
-    QCheckBox* CheckButton1;
-    QCheckBox* CheckButton3;
-    QPushButton* PushButton1;
-    QLabel* TextLabel1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel3Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout6;
-};
-
-#endif // DLGREF_1SEL3CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel3Spin.cxx b/src/DlgRef/DlgRef_1Sel3Spin.cxx
deleted file mode 100644 (file)
index 8cf3104..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel3Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel3Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel3Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel3Spin::DlgRef_1Sel3Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_1Sel3Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY");
-  Layout2->addWidget(SpinBox_DY, 1, 1);
-
-  SpinBox_DZ = new DlgRef_SpinBox( GroupBox1, "SpinBox_DZ");
-  Layout2->addWidget(SpinBox_DZ, 2, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel3Spin::~DlgRef_1Sel3Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel3Spin.h b/src/DlgRef/DlgRef_1Sel3Spin.h
deleted file mode 100644 (file)
index 5100905..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel3Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL3SPIN_H
-#define DLGREF_1SEL3SPIN_H
-
-#include "DlgRef_1Sel3Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel3Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_1Sel3Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-};
-
-#endif // DLGREF_1SEL3SPIN_H
diff --git a/src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx
deleted file mode 100644 (file)
index a4c3cb2..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel3Spin_QTD.ui'
-**
-** Created: ven oct 24 15:55:11 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel3Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel3Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel3Spin_QTD::DlgRef_1Sel3Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel3Spin_QTD" );
-    resize( 129, 143 ); 
-    setCaption( trUtf8( "DlgRef_1Sel3Spin_QTD" ) );
-    DlgRef_1Sel3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel3Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 150, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 1, 0 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox3, 2, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 2, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel3Spin_QTD::~DlgRef_1Sel3Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel3Spin_QTD.h b/src/DlgRef/DlgRef_1Sel3Spin_QTD.h
deleted file mode 100644 (file)
index 8283cd9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel3Spin_QTD.ui'
-**
-** Created: ven oct 24 15:55:10 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL3SPIN_QTD_H
-#define DLGREF_1SEL3SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel3Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox3;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel4;
-    QLabel* TextLabel2;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel3Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL3SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel4Spin.cxx b/src/DlgRef/DlgRef_1Sel4Spin.cxx
deleted file mode 100644 (file)
index 107e5a4..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel4Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel4Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel4Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel4Spin::DlgRef_1Sel4Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_1Sel4Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox4->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout3->addWidget(SpinBox_DX, 0, 2);
-
-  SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY");
-  Layout3->addWidget(SpinBox_DY, 0, 4);
-
-  SpinBox_DZ = new DlgRef_SpinBox( GroupBox1, "SpinBox_DZ");
-  Layout3->addWidget(SpinBox_DZ, 0, 6);
-
-  SpinBox_S = new DlgRef_SpinBox( GroupBox1, "SpinBox_S");
-  Layout4->addWidget(SpinBox_S, 0, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel4Spin::~DlgRef_1Sel4Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel4Spin.h b/src/DlgRef/DlgRef_1Sel4Spin.h
deleted file mode 100644 (file)
index db4d256..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel4Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL4SPIN_H
-#define DLGREF_1SEL4SPIN_H
-
-#include "DlgRef_1Sel4Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class DlgRef_1Sel4Spin : public DlgRef_1Sel4Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel4Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel4Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-    DlgRef_SpinBox* SpinBox_S;
-
-};
-
-#endif // DLGREF_1SEL4SPIN_H
diff --git a/src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx
deleted file mode 100644 (file)
index 319249c..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel4Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel4Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel4Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel4Spin_QTD::DlgRef_1Sel4Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel4Spin_QTD" );
-    resize( 284, 119 ); 
-    setCaption( trUtf8( "DlgRef_1Sel4Spin_QTD" ) );
-    DlgRef_1Sel4Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel4Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout3->addWidget( TextLabel5, 0, 5 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout3->addWidget( TextLabel3, 0, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout3->addWidget( TextLabel4, 0, 3 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox3, 0, 6 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox1, 0, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout3->addWidget( TextLabel2, 0, 0 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox2, 0, 4 );
-
-    Layout1->addLayout( Layout3, 1, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 0 );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout4->addWidget( TextLabel6, 0, 0 );
-
-    SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
-
-    Layout4->addWidget( SpinBox4, 0, 1 );
-
-    Layout1->addLayout( Layout4, 2, 0 );
-
-    Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-    Layout2->addWidget( TextLabel1 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-    Layout2->addWidget( PushButton1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-    Layout2->addWidget( LineEdit1 );
-
-    Layout1->addLayout( Layout2, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel4Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel4Spin_QTD::~DlgRef_1Sel4Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel4Spin_QTD.h b/src/DlgRef/DlgRef_1Sel4Spin_QTD.h
deleted file mode 100644 (file)
index db64ea6..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel4Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL4SPIN_QTD_H
-#define DLGREF_1SEL4SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_1Sel4Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel4Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel4Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel5;
-    QLabel* TextLabel3;
-    QLabel* TextLabel4;
-    QSpinBox* SpinBox3;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel6;
-    QSpinBox* SpinBox4;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel4Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout3;
-    QGridLayout* Layout4;
-    QHBoxLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL4SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel5Spin.cxx b/src/DlgRef/DlgRef_1Sel5Spin.cxx
deleted file mode 100644 (file)
index bc15040..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel5Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Sel5Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Sel5Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Sel5Spin::DlgRef_1Sel5Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_1Sel5Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox4->close(TRUE);
-  SpinBox5->close(TRUE);
-
-  SpinBox_1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_1");
-  Layout2->addWidget(SpinBox_1, 0, 1);
-
-  SpinBox_2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_2");
-  Layout2->addWidget(SpinBox_2, 0, 3);
-
-  SpinBox_3 = new DlgRef_SpinBox(GroupBox1, "SpinBox_3");
-  Layout2->addWidget(SpinBox_3, 2, 1);
-
-  SpinBox_4 = new DlgRef_SpinBox(GroupBox1, "SpinBox_4");
-  Layout2->addWidget(SpinBox_4, 1, 1);
-
-  SpinBox_5 = new DlgRef_SpinBox(GroupBox1, "SpinBox_5");
-  Layout2->addWidget(SpinBox_5, 1, 3);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel5Spin::~DlgRef_1Sel5Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Sel5Spin.h b/src/DlgRef/DlgRef_1Sel5Spin.h
deleted file mode 100644 (file)
index 8cd0a46..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Sel5Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SEL5SPIN_H
-#define DLGREF_1SEL5SPIN_H
-
-#include "DlgRef_1Sel5Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel5Spin : public DlgRef_1Sel5Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel5Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel5Spin();
-
-    DlgRef_SpinBox* SpinBox_1;
-    DlgRef_SpinBox* SpinBox_2;
-    DlgRef_SpinBox* SpinBox_3;
-    DlgRef_SpinBox* SpinBox_4;
-    DlgRef_SpinBox* SpinBox_5;
-
-};
-
-#endif // DLGREF_1SEL5SPIN_H
diff --git a/src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx
deleted file mode 100644 (file)
index b932420..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel5Spin_QTD.ui'
-**
-** Created: mar nov 18 11:19:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel5Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel5Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel5Spin_QTD::DlgRef_1Sel5Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel5Spin_QTD" );
-    resize( 162, 143 ); 
-    setCaption( trUtf8( "DlgRef_1Sel5Spin_QTD" ) );
-    DlgRef_1Sel5Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel5Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 0, 3 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox3, 2, 1 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 1, 0 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 2 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 2, 0 );
-
-    SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
-    SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox4, 1, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout2->addWidget( TextLabel6, 1, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    SpinBox5 = new QSpinBox( GroupBox1, "SpinBox5" );
-    SpinBox5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox5->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox5, 1, 3 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 120, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel5Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel5Spin_QTD::~DlgRef_1Sel5Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel5Spin_QTD.h b/src/DlgRef/DlgRef_1Sel5Spin_QTD.h
deleted file mode 100644 (file)
index 5ec3e33..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel5Spin_QTD.ui'
-**
-** Created: mar nov 18 11:19:13 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL5SPIN_QTD_H
-#define DLGREF_1SEL5SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_1Sel5Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel5Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel5Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QSpinBox* SpinBox2;
-    QSpinBox* SpinBox3;
-    QLabel* TextLabel5;
-    QLabel* TextLabel3;
-    QLabel* TextLabel4;
-    QSpinBox* SpinBox4;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel6;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox5;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel5Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_1SEL5SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_1Sel_Ext.h b/src/DlgRef/DlgRef_1Sel_Ext.h
deleted file mode 100644 (file)
index c973f00..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel_QTD.ui'
-**
-** Created: lun sep 22 17:38:05 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DlgRef_1Sel_Ext_H
-#define DlgRef_1Sel_Ext_H
-
-#include "DlgRef_1Sel_QTD.h"
-
-class QGridLayout;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel_Ext : public DlgRef_1Sel_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel_Ext( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 )
-       : DlgRef_1Sel_QTD( parent, name, fl ) {};
-    ~DlgRef_1Sel_Ext() {};
-
-    QGridLayout* getGroupBoxLayout() { return GroupBox1Layout; }
-};
-
-#endif // DlgRef_1Sel_Ext_H
diff --git a/src/DlgRef/DlgRef_1Sel_QTD.cxx b/src/DlgRef/DlgRef_1Sel_QTD.cxx
deleted file mode 100644 (file)
index 90a1362..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Sel_QTD.ui'
-**
-** Created: lun sep 22 17:38:06 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Sel_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Sel_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Sel_QTD::DlgRef_1Sel_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Sel_QTD" );
-    resize( 129, 57 ); 
-    setCaption( trUtf8( "DlgRef_1Sel_QTD" ) );
-    DlgRef_1Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 1, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Sel_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Sel_QTD::~DlgRef_1Sel_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Sel_QTD.h b/src/DlgRef/DlgRef_1Sel_QTD.h
deleted file mode 100644 (file)
index 58b6ba1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Sel_QTD.ui'
-**
-** Created: lun sep 22 17:38:05 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SEL_QTD_H
-#define DLGREF_1SEL_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Sel_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel1;
-
-
-protected:
-    QGridLayout* DlgRef_1Sel_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_1SEL_QTD_H
diff --git a/src/DlgRef/DlgRef_1Spin.cxx b/src/DlgRef/DlgRef_1Spin.cxx
deleted file mode 100644 (file)
index 20778cd..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_1Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_1Spin::DlgRef_1Spin(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_1Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Spin::~DlgRef_1Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_1Spin.h b/src/DlgRef/DlgRef_1Spin.h
deleted file mode 100644 (file)
index ccf8898..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_1Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_1SPIN_H
-#define DLGREF_1SPIN_H
-
-#include "DlgRef_1Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Spin : public DlgRef_1Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_1Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // DLGREF_1SPIN_H
diff --git a/src/DlgRef/DlgRef_1Spin_QTD.cxx b/src/DlgRef/DlgRef_1Spin_QTD.cxx
deleted file mode 100644 (file)
index aa54d9a..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_1Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:22:29 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_1Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_1Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_1Spin_QTD::DlgRef_1Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_1Spin_QTD" );
-    resize( 124, 55 ); 
-    setCaption( trUtf8( "DlgRef_1Spin_QTD" ) );
-    DlgRef_1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_1Spin_QTD::~DlgRef_1Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_1Spin_QTD.h b/src/DlgRef/DlgRef_1Spin_QTD.h
deleted file mode 100644 (file)
index 38dfc07..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_1Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:22:29 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_1SPIN_QTD_H
-#define DLGREF_1SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_1Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel1;
-
-
-protected:
-    QGridLayout* DlgRef_1Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_1SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel1Spin.cxx b/src/DlgRef/DlgRef_2Sel1Spin.cxx
deleted file mode 100644 (file)
index b42b334..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel1Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel1Spin::DlgRef_2Sel1Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_2Sel1Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-
-  // PAL 6532
-  PushButton1->setAutoDefault( false );
-  PushButton2->setAutoDefault( false );
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel1Spin::~DlgRef_2Sel1Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel1Spin.h b/src/DlgRef/DlgRef_2Sel1Spin.h
deleted file mode 100644 (file)
index 8141a20..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL1SPIN_H
-#define DLGREF_2SEL1SPIN_H
-
-#include "DlgRef_2Sel1Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel1Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // DLGREF_2SEL1SPIN_H
diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx b/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx
deleted file mode 100644 (file)
index 7178975..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin2Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel1Spin2Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin2Check which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel1Spin2Check::DlgRef_2Sel1Spin2Check(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_2Sel1Spin2Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 2, 2);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel1Spin2Check::~DlgRef_2Sel1Spin2Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check.h b/src/DlgRef/DlgRef_2Sel1Spin2Check.h
deleted file mode 100644 (file)
index 7bd7e50..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin2Check.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL1SPIN2CHECK_H
-#define DLGREF_2SEL1SPIN2CHECK_H
-
-#include "DlgRef_2Sel1Spin2Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin2Check : public DlgRef_2Sel1Spin2Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel1Spin2Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Sel1Spin2Check();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // DLGREF_2SEL1SPIN2CHECK_H
diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx
deleted file mode 100644 (file)
index 7b54bed..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui'
-**
-** Created: Fri Aug 13 15:32:26 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel1Spin2Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin2Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel1Spin2Check_QTD::DlgRef_2Sel1Spin2Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel1Spin2Check_QTD" );
-    resize( 256, 139 ); 
-    setCaption( trUtf8( "DlgRef_2Sel1Spin2Check_QTD" ) );
-    DlgRef_2Sel1Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1Spin2Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 316, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 4, 2 );
-
-    CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
-    CheckButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( CheckButton2, 2, 3 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addMultiCellWidget( LineEdit2, 1, 1, 2, 3 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addMultiCellWidget( LineEdit1, 0, 0, 2, 3 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 2, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel1Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, SpinBox1 );
-    setTabOrder( SpinBox1, CheckButton2 );
-    setTabOrder( CheckButton2, CheckButton1 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel1Spin2Check_QTD::~DlgRef_2Sel1Spin2Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h b/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h
deleted file mode 100644 (file)
index d090065..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui'
-**
-** Created: Fri Aug 13 15:32:26 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL1SPIN2CHECK_QTD_H
-#define DLGREF_2SEL1SPIN2CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_2Sel1Spin2Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel1Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel1Spin2Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel2;
-    QPushButton* PushButton1;
-    QLabel* TextLabel3;
-    QLabel* TextLabel1;
-    QCheckBox* CheckButton2;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton2;
-    QLineEdit* LineEdit1;
-    QCheckBox* CheckButton1;
-    QSpinBox* SpinBox1;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel1Spin2Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_2SEL1SPIN2CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx
deleted file mode 100644 (file)
index cc32e36..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel1Spin_QTD.ui'
-**
-** Created: Tue Jun 1 16:15:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel1Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel1Spin_QTD::DlgRef_2Sel1Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel1Spin_QTD" );
-    resize( 163, 122 ); 
-    setCaption( trUtf8( "DlgRef_2Sel1Spin_QTD" ) );
-    DlgRef_2Sel1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setFrameShape( QLabel::NoFrame );
-    TextLabel2->setFrameShadow( QLabel::Plain );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 0 );
-
-    Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, SpinBox1 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel1Spin_QTD::~DlgRef_2Sel1Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel1Spin_QTD.h b/src/DlgRef/DlgRef_2Sel1Spin_QTD.h
deleted file mode 100644 (file)
index bb07753..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel1Spin_QTD.ui'
-**
-** Created: Tue Jun 1 16:14:59 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL1SPIN_QTD_H
-#define DLGREF_2SEL1SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel1Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton2;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton1;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel3;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel1Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_2SEL1SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel2Spin.cxx b/src/DlgRef/DlgRef_2Sel2Spin.cxx
deleted file mode 100644 (file)
index 6602068..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel2Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel2Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel2Spin::DlgRef_2Sel2Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_2Sel2Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout2->addWidget(SpinBox_DY, 1, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel2Spin::~DlgRef_2Sel2Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel2Spin.h b/src/DlgRef/DlgRef_2Sel2Spin.h
deleted file mode 100644 (file)
index 7a0b410..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel2Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL2SPIN_H
-#define DLGREF_2SEL2SPIN_H
-
-#include "DlgRef_2Sel2Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-//#if defined WNT 
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Sel2Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-
-};
-
-#endif // DLGREF_2SEL2SPIN_H
diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx b/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx
deleted file mode 100644 (file)
index f8ac135..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin1Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel2Spin1Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel2Spin1Check::DlgRef_2Sel2Spin1Check(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_2Sel2Spin1Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-  Layout2->addWidget(SpinBox_DY, 1, 1);
-
-  // PAL 6532
-  PushButton1->setAutoDefault( false );
-  PushButton2->setAutoDefault( false );
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel2Spin1Check::~DlgRef_2Sel2Spin1Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check.h b/src/DlgRef/DlgRef_2Sel2Spin1Check.h
deleted file mode 100644 (file)
index 5320758..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel1Spin1Check.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL2SPIN1CHECK_H
-#define DLGREF_2SEL2SPIN1CHECK_H
-
-#include "DlgRef_2Sel2Spin1Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin1Check : public DlgRef_2Sel2Spin1Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel2Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Sel2Spin1Check();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-
-};
-
-#endif // DLGREF_2SEL2SPIN1CHECK_H
diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx
deleted file mode 100644 (file)
index 5a1b88e..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui'
-**
-** Created: Tue Jun 1 16:29:28 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel2Spin1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel2Spin1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel2Spin1Check_QTD::DlgRef_2Sel2Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel2Spin1Check_QTD" );
-    resize( 163, 170 ); 
-    setCaption( trUtf8( "DlgRef_2Sel2Spin1Check_QTD" ) );
-    DlgRef_2Sel2Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel2Spin1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 0 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 1, 0 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 4, 2 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel2Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, SpinBox1 );
-    setTabOrder( SpinBox1, SpinBox2 );
-    setTabOrder( SpinBox2, CheckButton1 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel2Spin1Check_QTD::~DlgRef_2Sel2Spin1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h b/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h
deleted file mode 100644 (file)
index dda68e4..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui'
-**
-** Created: Tue Jun 1 16:29:28 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL2SPIN1CHECK_QTD_H
-#define DLGREF_2SEL2SPIN1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_2Sel2Spin1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel2Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel2Spin1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel3;
-    QLabel* TextLabel4;
-    QSpinBox* SpinBox2;
-    QLineEdit* LineEdit1;
-    QCheckBox* CheckButton1;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton2;
-    QPushButton* PushButton1;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel2Spin1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_2SEL2SPIN1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx
deleted file mode 100644 (file)
index 045cf65..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel2Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:10:29 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel2Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel2Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel2Spin_QTD::DlgRef_2Sel2Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel2Spin_QTD" );
-    resize( 129, 145 ); 
-    setCaption( trUtf8( "DlgRef_2Sel2Spin_QTD" ) );
-    DlgRef_2Sel2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel2Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 1, 0 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel2Spin_QTD::~DlgRef_2Sel2Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel2Spin_QTD.h b/src/DlgRef/DlgRef_2Sel2Spin_QTD.h
deleted file mode 100644 (file)
index 4012cec..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel2Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:10:29 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL2SPIN_QTD_H
-#define DLGREF_2SEL2SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel2Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel4;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox1;
-    QPushButton* PushButton2;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit2;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel2Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_2SEL2SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel3Spin.cxx b/src/DlgRef/DlgRef_2Sel3Spin.cxx
deleted file mode 100644 (file)
index a0a9999..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel3Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel3Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel3Spin::DlgRef_2Sel3Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_2Sel3Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout2->addWidget(SpinBox_DX, 0, 1);
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout2->addWidget(SpinBox_DY, 1, 1);
-  SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout2->addWidget(SpinBox_DZ, 2, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel3Spin::~DlgRef_2Sel3Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel3Spin.h b/src/DlgRef/DlgRef_2Sel3Spin.h
deleted file mode 100644 (file)
index 0624d58..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel3Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL3SPIN_H
-#define DLGREF_2SEL3SPIN_H
-
-#include "DlgRef_2Sel3Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel3Spin : public DlgRef_2Sel3Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel3Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Sel3Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-};
-
-#endif // DLGREF_2SEL3SPIN_H
diff --git a/src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx
deleted file mode 100644 (file)
index be815e3..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel3Spin_QTD.ui'
-**
-** Created: jeu sep 25 16:18:43 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel3Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel3Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel3Spin_QTD::DlgRef_2Sel3Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel3Spin_QTD" );
-    resize( 129, 173 ); 
-    setCaption( trUtf8( "DlgRef_2Sel3Spin_QTD" ) );
-    DlgRef_2Sel3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel3Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 0 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 1, 0 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel5, 2, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox3, 2, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel3Spin_QTD::~DlgRef_2Sel3Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel3Spin_QTD.h b/src/DlgRef/DlgRef_2Sel3Spin_QTD.h
deleted file mode 100644 (file)
index 000ebb0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel3Spin_QTD.ui'
-**
-** Created: jeu sep 25 16:18:43 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL3SPIN_QTD_H
-#define DLGREF_2SEL3SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel3Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel3Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel4;
-    QLabel* TextLabel5;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox3;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton2;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel3Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_2SEL3SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx b/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx
deleted file mode 100644 (file)
index 2a039dd..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel4Spin1Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Sel4Spin1Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Sel4Spin1Check::DlgRef_2Sel4Spin1Check(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_2Sel4Spin1Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox4->close(TRUE);
-  SpinBox_DX1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX1");
-  SpinBox_DY1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY1");
-  SpinBox_DX2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX2");
-  SpinBox_DY2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY2");
-  Layout2->addWidget(SpinBox_DX1, 0, 1);
-  Layout2->addWidget(SpinBox_DY1, 1, 1);
-  Layout3->addWidget(SpinBox_DX2, 0, 1);
-  Layout3->addWidget(SpinBox_DY2, 1, 1);
-
-  // PAL 6532
-  PushButton1->setAutoDefault( false );
-  PushButton2->setAutoDefault( false );
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel4Spin1Check::~DlgRef_2Sel4Spin1Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check.h b/src/DlgRef/DlgRef_2Sel4Spin1Check.h
deleted file mode 100644 (file)
index 3dc1af1..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Sel4Spin1Check.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SEL4SPIN1CHECK_H
-#define DLGREF_2SEL4SPIN1CHECK_H
-
-#include "DlgRef_2Sel4Spin1Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel4Spin1Check : public DlgRef_2Sel4Spin1Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel4Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Sel4Spin1Check();
-
-    DlgRef_SpinBox* SpinBox_DX1;
-    DlgRef_SpinBox* SpinBox_DY1;
-    DlgRef_SpinBox* SpinBox_DX2;
-    DlgRef_SpinBox* SpinBox_DY2;
-
-};
-
-#endif // DLGREF_2SEL4SPIN1CHECK_H
diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx
deleted file mode 100644 (file)
index a59e6c6..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui'
-**
-** Created: Tue Jun 1 12:38:04 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel4Spin1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel4Spin1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel4Spin1Check_QTD::DlgRef_2Sel4Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel4Spin1Check_QTD" );
-    resize( 262, 230 ); 
-    setCaption( trUtf8( "DlgRef_2Sel4Spin1Check_QTD" ) );
-    DlgRef_2Sel4Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel4Spin1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout5->addWidget( PushButton1, 0, 1 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout5->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 1, 0 );
-
-    Layout5->addMultiCellLayout( Layout2, 2, 2, 0, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout5->addWidget( LineEdit2, 1, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout5->addWidget( TextLabel1, 0, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout5->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout5->addItem( spacer, 5, 3 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout5->addWidget( PushButton2, 1, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout5->addWidget( TextLabel2, 1, 0 );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
-    SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox4, 1, 1 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout3->addWidget( TextLabel5, 0, 0 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox3, 0, 1 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout3->addWidget( TextLabel6, 1, 0 );
-
-    Layout5->addMultiCellLayout( Layout3, 4, 4, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout5, 0, 0 );
-
-    DlgRef_2Sel4Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, SpinBox1 );
-    setTabOrder( SpinBox1, SpinBox2 );
-    setTabOrder( SpinBox2, CheckButton1 );
-    setTabOrder( CheckButton1, SpinBox3 );
-    setTabOrder( SpinBox3, SpinBox4 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel4Spin1Check_QTD::~DlgRef_2Sel4Spin1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h b/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h
deleted file mode 100644 (file)
index 57e27f7..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui'
-**
-** Created: Tue Jun 1 12:38:04 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL4SPIN1CHECK_QTD_H
-#define DLGREF_2SEL4SPIN1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_2Sel4Spin1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel4Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel4Spin1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* PushButton1;
-    QCheckBox* CheckButton1;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel4;
-    QLineEdit* LineEdit2;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton2;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox4;
-    QLabel* TextLabel5;
-    QSpinBox* SpinBox3;
-    QLabel* TextLabel6;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel4Spin1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout5;
-    QGridLayout* Layout2;
-    QGridLayout* Layout3;
-};
-
-#endif // DLGREF_2SEL4SPIN1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_2Sel_QTD.cxx b/src/DlgRef/DlgRef_2Sel_QTD.cxx
deleted file mode 100644 (file)
index 8dc9f08..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Sel_QTD.ui'
-**
-** Created: mar sep 23 16:05:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Sel_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Sel_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Sel_QTD::DlgRef_2Sel_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Sel_QTD" );
-    resize( 129, 87 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "DlgRef_2Sel_QTD" ) );
-    DlgRef_2Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Sel_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Sel_QTD::~DlgRef_2Sel_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Sel_QTD.h b/src/DlgRef/DlgRef_2Sel_QTD.h
deleted file mode 100644 (file)
index 94ede95..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Sel_QTD.ui'
-**
-** Created: mar sep 23 16:05:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SEL_QTD_H
-#define DLGREF_2SEL_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Sel_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton2;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* DlgRef_2Sel_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_2SEL_QTD_H
diff --git a/src/DlgRef/DlgRef_2Spin.cxx b/src/DlgRef/DlgRef_2Spin.cxx
deleted file mode 100644 (file)
index f66c33b..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_2Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_2Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_2Spin::DlgRef_2Spin(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_2Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Spin::~DlgRef_2Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_2Spin.h b/src/DlgRef/DlgRef_2Spin.h
deleted file mode 100644 (file)
index a10517a..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_2Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_2SPIN_H
-#define DLGREF_2SPIN_H
-
-#include "DlgRef_2Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Spin : public DlgRef_2Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_2Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-
-};
-
-#endif // DLGREF_2SPIN_H
diff --git a/src/DlgRef/DlgRef_2Spin_QTD.cxx b/src/DlgRef/DlgRef_2Spin_QTD.cxx
deleted file mode 100644 (file)
index bb6948f..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_2Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:10:30 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_2Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_2Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_2Spin_QTD::DlgRef_2Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_2Spin_QTD" );
-    resize( 124, 83 ); 
-    setCaption( trUtf8( "DlgRef_2Spin_QTD" ) );
-    DlgRef_2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_2Spin_QTD::~DlgRef_2Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_2Spin_QTD.h b/src/DlgRef/DlgRef_2Spin_QTD.h
deleted file mode 100644 (file)
index aa7fb3d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_2Spin_QTD.ui'
-**
-** Created: jeu sep 25 12:10:30 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_2SPIN_QTD_H
-#define DLGREF_2SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_2Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QSpinBox* SpinBox2;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-
-
-protected:
-    QGridLayout* DlgRef_2Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_2SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_3Check_QTD.cxx b/src/DlgRef/DlgRef_3Check_QTD.cxx
deleted file mode 100644 (file)
index 1e24399..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Check_QTD.ui'
-**
-** Created: Tue Aug 24 11:27:47 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Check_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Check_QTD::DlgRef_3Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Check_QTD" );
-    resize( 135, 108 ); 
-    setCaption( trUtf8( "DlgRef_3Check_QTD" ) );
-    DlgRef_3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Check_QTDLayout"); 
-
-    GroupBox1 = new QButtonGroup( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    RadioButton3 = new QRadioButton( GroupBox1, "RadioButton3" );
-    RadioButton3->setText( trUtf8( "RadioButton3" ) );
-
-    Layout1->addWidget( RadioButton3, 2, 0 );
-
-    RadioButton1 = new QRadioButton( GroupBox1, "RadioButton1" );
-    RadioButton1->setText( trUtf8( "RadioButton1" ) );
-
-    Layout1->addWidget( RadioButton1, 0, 0 );
-
-    RadioButton2 = new QRadioButton( GroupBox1, "RadioButton2" );
-    RadioButton2->setText( trUtf8( "RadioButton2" ) );
-
-    Layout1->addWidget( RadioButton2, 1, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 91, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( RadioButton1, RadioButton2 );
-    setTabOrder( RadioButton2, RadioButton3 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Check_QTD::~DlgRef_3Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Check_QTD.h b/src/DlgRef/DlgRef_3Check_QTD.h
deleted file mode 100644 (file)
index d83b409..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Check_QTD.ui'
-**
-** Created: Tue Aug 24 11:27:47 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3CHECK_QTD_H
-#define DLGREF_3CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QRadioButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Check_QTD();
-
-    QButtonGroup* GroupBox1;
-    QRadioButton* RadioButton3;
-    QRadioButton* RadioButton1;
-    QRadioButton* RadioButton2;
-
-
-protected:
-    QGridLayout* DlgRef_3Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_3CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_3Sel1Spin.cxx b/src/DlgRef/DlgRef_3Sel1Spin.cxx
deleted file mode 100644 (file)
index 76de735..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-// File:       DlgRef_3Sel1Spin.cxx
-// Created:    Thu May 13 12:19:31 2004
-// Author:     Alexander SLADKOV
-//             <asv@yandex.nnov.opencascade.com>
-
-
-#include "DlgRef_3Sel1Spin.h"
-
-//=================================================================================
-// class    : DlgRef_3Sel1Spin
-// purpose  : 
-//=================================================================================
-DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, const char* name, WFlags fl )
-  :DlgRef_3Sel_QTD( parent, name, fl )
-{
-  Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-  TextLabel4 = new QLabel( (QWidget*)GroupBox1, "TextLabel4" );
-  TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-  Layout2->addWidget( TextLabel4, 0, 0 );
-
-  SpinBox_DX = new DlgRef_SpinBox( (QWidget*)GroupBox1, "SpinBox_DX" );
-  Layout2->addWidget( SpinBox_DX, 0, 1 );
-
-  Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 );    
-  QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-  Layout1->addItem( spacer, 4, 2 );
-}
-
-DlgRef_3Sel1Spin::~DlgRef_3Sel1Spin()
-{
-}
diff --git a/src/DlgRef/DlgRef_3Sel1Spin.h b/src/DlgRef/DlgRef_3Sel1Spin.h
deleted file mode 100644 (file)
index 3d806d1..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Sel1Spin.h
-//  Author : Alexander SLADKOV
-//  Module : GEOM
-//  $Header$
-
-#ifndef DlgRef_3SEL_1SPIN_H
-#define DlgRef_3SEL_1SPIN_H
-
-#include "DlgRef_3Sel_QTD.h"
-#include "DlgRef_SpinBox.h"
-#include <qlayout.h>
-#include <qlabel.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : DlgRef_3Sel1Spin
-// purpose  : extension of a DlgRef_3Sel_QTD class, 1 additional spin box is added
-//=================================================================================
-class DLGREF_WNT_EXPORT DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD
-{
-  Q_OBJECT
-
-  public:
-    DlgRef_3Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Sel1Spin();
-
-    QLabel* TextLabel4;
-    DlgRef_SpinBox* SpinBox_DX;
-
-  protected:
-    QGridLayout* Layout2;
-};
-
-#endif // DlgRef_3SEL_1SPIN_H
diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx b/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx
deleted file mode 100644 (file)
index e8b60c9..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Sel3Spin1Check.cxx
-//  Author : Michael Zorin
-//  Module : GEOM
-//  $Header: 
-
-#include <DlgRef_3Sel3Spin1Check.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qlineedit.h>
-#include <qcheckbox.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-
-
-/* 
- *  Constructs a DlgRef_3Sel3Spin1Check which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_3Sel3Spin1Check::DlgRef_3Sel3Spin1Check(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_3Sel3Spin1Check_QTD(parent, name, fl)
-{
-  SpinBox_1->close(TRUE);
-  SpinBox_2->close(TRUE);
-  SpinBox_3->close(TRUE);
-  SpinBox1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  SpinBox2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  SpinBox3 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout1->addWidget(SpinBox1, 3, 2);
-  Layout1->addWidget(SpinBox2, 4, 2);
-  Layout1->addWidget(SpinBox3, 5, 2);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Sel3Spin1Check::~DlgRef_3Sel3Spin1Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-void DlgRef_3Sel3Spin1Check:: ShowRows(int fromRow, int toRow, bool toShow)
-{
-  typedef void (QWidget::* ShowFun)(); 
-  ShowFun pShowFun;    
-
-  if (toShow)
-       pShowFun = &QWidget::show;
-  else
-        pShowFun = &QWidget::hide;
-
-  if (fromRow >= 0 && toRow>=0 && toRow >= fromRow)
-    {
-      if ( fromRow == 0)
-       {
-         (TextLabel1->*pShowFun)();
-         (PushButton1->*pShowFun)();
-         (LineEdit1->*pShowFun)();
-       }
-      if ( fromRow <= 1 && 1 <= toRow)
-       {
-         (TextLabel2->*pShowFun)();
-         (PushButton2->*pShowFun)();
-         (LineEdit2->*pShowFun)(); 
-       }
-      if ( fromRow <= 2 && 2 <= toRow)
-       {
-         (TextLabel3->*pShowFun)();
-         (PushButton3->*pShowFun)();
-         (LineEdit3->*pShowFun)(); 
-       }
-      if ( fromRow <= 3 && 3 <= toRow)
-       {
-         (TextLabel4->*pShowFun)();
-         (SpinBox1->*pShowFun)();
-       }
-      if ( fromRow <= 4 && 4 <= toRow)
-       {
-         (TextLabel5->*pShowFun)();
-         (SpinBox2->*pShowFun)();
-       }
-      if ( fromRow <= 5 && 5 <= toRow)
-       {
-         (TextLabel6->*pShowFun)();
-         (SpinBox3->*pShowFun)();
-       }
-      if ( fromRow <= 6 && 6 <= toRow)
-       (CheckBox1->*pShowFun)();
-    }
-}
diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check.h b/src/DlgRef/DlgRef_3Sel3Spin1Check.h
deleted file mode 100644 (file)
index e476865..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Sel3Spin1Check.h
-//  Author : Michael ZORIN
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_3SEL3SPIN1CHECK_H
-#define DLGREF_3SEL3SPIN1CHECK_H
-
-#include "DlgRef_3Sel3Spin1Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel3Spin1Check : public DlgRef_3Sel3Spin1Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Sel3Spin1Check( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Sel3Spin1Check();
-
-    DlgRef_SpinBox* SpinBox1;
-    DlgRef_SpinBox* SpinBox2;  
-    DlgRef_SpinBox* SpinBox3;
-
-    void ShowRows(int fromRow, int toRow, bool toShow = true);
-
-};
-
-#endif // DLGREF_3SEL3SPIN1CHECK_H
diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx
deleted file mode 100644 (file)
index 1110add..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui'
-**
-** Created: Mon Apr 19 16:36:48 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Sel3Spin1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Sel3Spin1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Sel3Spin1Check_QTD::DlgRef_3Sel3Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Sel3Spin1Check_QTD" );
-    resize( 380, 229 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "DlgRef_3Sel3Spin1Check_QTD" ) );
-    DlgRef_3Sel3Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel3Spin1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    SpinBox_2 = new QSpinBox( GroupBox1, "SpinBox_2" );
-    SpinBox_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox_2, 4, 2 );
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout1->addWidget( LineEdit3, 2, 2 );
-
-    SpinBox_3 = new QSpinBox( GroupBox1, "SpinBox_3" );
-    SpinBox_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox_3, 5, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" );
-    CheckBox1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckBox1, 6, 6, 0, 1 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout1->addWidget( TextLabel4, 3, 0 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton3, 2, 1 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout1->addWidget( TextLabel6, 5, 0 );
-
-    SpinBox_1 = new QSpinBox( GroupBox1, "SpinBox_1" );
-    SpinBox_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox_1, 3, 2 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout1->addWidget( TextLabel5, 4, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 250, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 7, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Sel3Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, PushButton3 );
-    setTabOrder( PushButton3, LineEdit3 );
-    setTabOrder( LineEdit3, SpinBox_1 );
-    setTabOrder( SpinBox_1, SpinBox_2 );
-    setTabOrder( SpinBox_2, SpinBox_3 );
-    setTabOrder( SpinBox_3, CheckBox1 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Sel3Spin1Check_QTD::~DlgRef_3Sel3Spin1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h b/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h
deleted file mode 100644 (file)
index 024549b..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui'
-**
-** Created: Mon Apr 19 16:36:48 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3SEL3SPIN1CHECK_QTD_H
-#define DLGREF_3SEL3SPIN1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_3Sel3Spin1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Sel3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Sel3Spin1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QSpinBox* SpinBox_2;
-    QLineEdit* LineEdit3;
-    QSpinBox* SpinBox_3;
-    QLabel* TextLabel1;
-    QLabel* TextLabel3;
-    QCheckBox* CheckBox1;
-    QPushButton* PushButton1;
-    QLabel* TextLabel4;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton3;
-    QLabel* TextLabel6;
-    QSpinBox* SpinBox_1;
-    QLabel* TextLabel5;
-    QLabel* TextLabel2;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton2;
-
-
-protected:
-    QGridLayout* DlgRef_3Sel3Spin1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_3SEL3SPIN1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx b/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx
deleted file mode 100644 (file)
index b290b91..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Sel4Spin2Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_3Sel4Spin2Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-
-/* 
- *  Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_3Sel4Spin2Check::DlgRef_3Sel4Spin2Check(QWidget* parent, const char* name, WFlags fl)
-  :DlgRef_3Sel4Spin2Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox4->close(TRUE);
-  SpinBox_DX1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX1");
-  SpinBox_DY1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY1");
-  SpinBox_DX2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX2");
-  SpinBox_DY2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY2");
-  Layout2->addWidget(SpinBox_DX1, 0, 1);
-  Layout2->addWidget(SpinBox_DY1, 1, 1);
-  Layout3->addWidget(SpinBox_DX2, 0, 1);
-  Layout3->addWidget(SpinBox_DY2, 1, 1);
-
-  // PAL6532
-  PushButton1->setAutoDefault( false );
-  PushButton2->setAutoDefault( false );
-  PushButton3->setAutoDefault( false );
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Sel4Spin2Check::~DlgRef_3Sel4Spin2Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check.h b/src/DlgRef/DlgRef_3Sel4Spin2Check.h
deleted file mode 100644 (file)
index 6270813..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Sel4Spin2Check.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_3SEL4SPIN2CHECK_H
-#define DLGREF_3SEL4SPIN2CHECK_H
-
-#include "DlgRef_3Sel4Spin2Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel4Spin2Check : public DlgRef_3Sel4Spin2Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Sel4Spin2Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_3Sel4Spin2Check();
-
-    DlgRef_SpinBox* SpinBox_DX1;
-    DlgRef_SpinBox* SpinBox_DY1;
-    DlgRef_SpinBox* SpinBox_DX2;
-    DlgRef_SpinBox* SpinBox_DY2;
-
-};
-
-#endif // DLGREF_3SEL4SPIN2CHECK_H
diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx b/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx
deleted file mode 100644 (file)
index b79ae4b..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui'
-**
-** Created: Tue Jun 1 16:29:29 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Sel4Spin2Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Sel4Spin2Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Sel4Spin2Check_QTD::DlgRef_3Sel4Spin2Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Sel4Spin2Check_QTD" );
-    resize( 269, 281 ); 
-    setCaption( trUtf8( "DlgRef_3Sel4Spin2Check_QTD" ) );
-    DlgRef_3Sel4Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel4Spin2Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
-    CheckButton2->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckButton2, 6, 6, 0, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout1->addWidget( LineEdit3, 2, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
-    SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox4, 1, 1 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout3->addWidget( SpinBox3, 0, 1 );
-
-    TextLabel7 = new QLabel( GroupBox1, "TextLabel7" );
-    TextLabel7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel7->sizePolicy().hasHeightForWidth() ) );
-    TextLabel7->setText( trUtf8( "TL7" ) );
-
-    Layout3->addWidget( TextLabel7, 1, 0 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout3->addWidget( TextLabel6, 0, 0 );
-
-    Layout1->addMultiCellLayout( Layout3, 5, 5, 0, 2 );
-
-    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckButton1, 4, 4, 0, 2 );
-
-    PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton3, 2, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 7, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 1, 0 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout2->addWidget( SpinBox2, 1, 1 );
-
-    Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Sel4Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    // tab order
-    setTabOrder( PushButton1, LineEdit1 );
-    setTabOrder( LineEdit1, PushButton2 );
-    setTabOrder( PushButton2, LineEdit2 );
-    setTabOrder( LineEdit2, PushButton3 );
-    setTabOrder( PushButton3, LineEdit3 );
-    setTabOrder( LineEdit3, SpinBox1 );
-    setTabOrder( SpinBox1, SpinBox2 );
-    setTabOrder( SpinBox2, CheckButton1 );
-    setTabOrder( CheckButton1, SpinBox3 );
-    setTabOrder( SpinBox3, SpinBox4 );
-    setTabOrder( SpinBox4, CheckButton2 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Sel4Spin2Check_QTD::~DlgRef_3Sel4Spin2Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h b/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h
deleted file mode 100644 (file)
index ef704cb..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui'
-**
-** Created: Tue Jun 1 16:29:29 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3SEL4SPIN2CHECK_QTD_H
-#define DLGREF_3SEL4SPIN2CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
-
-class DlgRef_3Sel4Spin2Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Sel4Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Sel4Spin2Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QCheckBox* CheckButton2;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel3;
-    QPushButton* PushButton2;
-    QLineEdit* LineEdit3;
-    QPushButton* PushButton1;
-    QSpinBox* SpinBox4;
-    QSpinBox* SpinBox3;
-    QLabel* TextLabel7;
-    QLabel* TextLabel6;
-    QCheckBox* CheckButton1;
-    QPushButton* PushButton3;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit2;
-    QLabel* TextLabel5;
-    QLabel* TextLabel4;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel2;
-
-
-protected:
-    QGridLayout* DlgRef_3Sel4Spin2Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_3SEL4SPIN2CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_3Sel_QTD.cxx b/src/DlgRef/DlgRef_3Sel_QTD.cxx
deleted file mode 100644 (file)
index 832f649..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Sel_QTD.ui'
-**
-** Created: lun sep 29 11:05:21 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Sel_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Sel_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Sel_QTD::DlgRef_3Sel_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Sel_QTD" );
-    resize( 129, 117 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "DlgRef_3Sel_QTD" ) );
-    DlgRef_3Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout1->addWidget( LineEdit3, 2, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 159, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton3, 2, 1 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Sel_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Sel_QTD::~DlgRef_3Sel_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Sel_QTD.h b/src/DlgRef/DlgRef_3Sel_QTD.h
deleted file mode 100644 (file)
index da7a9d7..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Sel_QTD.ui'
-**
-** Created: lun sep 29 11:05:21 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3SEL_QTD_H
-#define DLGREF_3SEL_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Sel_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit3;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit2;
-    QLabel* TextLabel1;
-    QLabel* TextLabel3;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel2;
-    QPushButton* PushButton3;
-    QPushButton* PushButton2;
-
-
-protected:
-    QGridLayout* DlgRef_3Sel_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_3SEL_QTD_H
diff --git a/src/DlgRef/DlgRef_3Spin.cxx b/src/DlgRef/DlgRef_3Spin.cxx
deleted file mode 100644 (file)
index 07237c2..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_3Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_3Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_3Spin::DlgRef_3Spin(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_3Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-  SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout1->addWidget(SpinBox_DZ, 2, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Spin::~DlgRef_3Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_3Spin.h b/src/DlgRef/DlgRef_3Spin.h
deleted file mode 100644 (file)
index 60c28ce..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_3SPIN_H
-#define DLGREF_3SPIN_H
-
-#include "DlgRef_3Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin : public DlgRef_3Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-};
-
-#endif // DLGREF_3SPIN_H
diff --git a/src/DlgRef/DlgRef_3Spin1Check.cxx b/src/DlgRef/DlgRef_3Spin1Check.cxx
deleted file mode 100644 (file)
index 7e622ab..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Spin1Check.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "DlgRef_3Spin1Check.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a DlgRef_3Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-DlgRef_3Spin1Check::DlgRef_3Spin1Check(QWidget* parent,  const char* name, WFlags fl)
-  :DlgRef_3Spin1Check_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-  SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout1->addWidget(SpinBox_DZ, 2, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Spin1Check::~DlgRef_3Spin1Check()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/DlgRef/DlgRef_3Spin1Check.h b/src/DlgRef/DlgRef_3Spin1Check.h
deleted file mode 100644 (file)
index 54beec5..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_3Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DLGREF_3SPIN1CHECK_H
-#define DLGREF_3SPIN1CHECK_H
-
-#include "DlgRef_3Spin1Check_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~DlgRef_3Spin1Check();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-};
-
-#endif // DLGREF_3SPIN1CHECK_H
diff --git a/src/DlgRef/DlgRef_3Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_3Spin1Check_QTD.cxx
deleted file mode 100644 (file)
index 2509bd6..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Spin1Check_QTD.ui'
-**
-** Created: dim sep 28 18:11:19 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Spin1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Spin1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Spin1Check_QTD::DlgRef_3Spin1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Spin1Check_QTD" );
-    resize( 124, 130 ); 
-    setCaption( trUtf8( "DlgRef_3Spin1Check_QTD" ) );
-    DlgRef_3Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Spin1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    CheckBox1 = new QRadioButton( GroupBox1, "CheckBox1" );
-    CheckBox1->setText( trUtf8( "" ) );
-
-    Layout1->addMultiCellWidget( CheckBox1, 3, 3, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 4, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox3, 2, 1 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Spin1Check_QTD::~DlgRef_3Spin1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Spin1Check_QTD.h b/src/DlgRef/DlgRef_3Spin1Check_QTD.h
deleted file mode 100644 (file)
index 2df1277..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Spin1Check_QTD.ui'
-**
-** Created: dim sep 28 18:11:19 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3SPIN1CHECK_QTD_H
-#define DLGREF_3SPIN1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QRadioButton;
-class QSpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Spin1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Spin1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QRadioButton* CheckBox1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox3;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-
-
-protected:
-    QGridLayout* DlgRef_3Spin1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_3SPIN1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_3Spin_QTD.cxx b/src/DlgRef/DlgRef_3Spin_QTD.cxx
deleted file mode 100644 (file)
index 2066934..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_3Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:10 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_3Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_3Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_3Spin_QTD::DlgRef_3Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_3Spin_QTD" );
-    resize( 124, 111 ); 
-    setCaption( trUtf8( "DlgRef_3Spin_QTD" ) );
-    DlgRef_3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox3, 2, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_3Spin_QTD::~DlgRef_3Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_3Spin_QTD.h b/src/DlgRef/DlgRef_3Spin_QTD.h
deleted file mode 100644 (file)
index 0ffe263..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_3Spin_QTD.ui'
-**
-** Created: mar sep 23 16:05:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_3SPIN_QTD_H
-#define DLGREF_3SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QSpinBox;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_3Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox3;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-
-
-protected:
-    QGridLayout* DlgRef_3Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_3SPIN_QTD_H
diff --git a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx b/src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx
deleted file mode 100644 (file)
index cd76643..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_4Sel1List1Check_QTD.ui'
-**
-** Created: lun oct 27 17:21:04 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_4Sel1List1Check_QTD.h"
-
-#include <qvariant.h>
-#include <qcombobox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qcheckbox.h>
-#include <qpushbutton.h>
-
-/* 
- *  Constructs a DlgRef_4Sel1List1Check_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_4Sel1List1Check_QTD::DlgRef_4Sel1List1Check_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_4Sel1List1Check_QTD" );
-    resize( 129, 210 ); 
-    setCaption( trUtf8( "DlgRef_4Sel1List1Check_QTD" ) );
-    DlgRef_4Sel1List1Check_QTDLayout =
-      new QGridLayout( this, 1, 1, 0, 6, "DlgRef_4Sel1List1Check_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-    
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-   
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-    
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addMultiCellWidget( TextLabel3, 2, 2, 0, 1 );
-    
-    ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" );
-    ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( ComboBox1, 2, 2 );
-   
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-    
-    DlgRef_4Sel1List1Check_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    
-    GroupBox2 = new QGroupBox( this, "GroupBox2" );
-    GroupBox2->setTitle( trUtf8( "" ) );
-    GroupBox2->setColumnLayout(0, Qt::Vertical );
-    GroupBox2->layout()->setSpacing( 6 );
-    GroupBox2->layout()->setMargin( 11 );
-    GroupBox2Layout = new QGridLayout( GroupBox2->layout() );
-    GroupBox2Layout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-    
-    TextLabel4 = new QLabel( GroupBox2, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-    
-    Layout2->addWidget( TextLabel4, 0, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 5, 2 );
-
-    PushButton3 = new QPushButton( GroupBox2, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout2->addWidget( PushButton3, 0, 1 );
-
-    LineEdit3 = new QLineEdit( GroupBox2, "LineEdit3" );
-
-    Layout2->addWidget( LineEdit3, 0, 2 );
-
-
-    TextLabel5 = new QLabel( GroupBox2, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 1, 0 );
-
-    PushButton4 = new QPushButton( GroupBox2, "PushButton4" );
-    PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) );
-    PushButton4->setText( trUtf8( "" ) );
-
-    Layout2->addWidget( PushButton4, 1, 1 );
-
-    LineEdit4 = new QLineEdit( GroupBox2, "LineEdit4" );
-
-    Layout2->addWidget( LineEdit4, 1, 2 );
-
-    CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" );
-    CheckBox1->setText( trUtf8( "" ) );
-    Layout1->addMultiCellWidget( CheckBox1, 5, 5, 0, 1 );
-
-    PushButton5 = new QPushButton( GroupBox1, "PushButton5" );
-    PushButton5->setText( trUtf8( "" ) );
-    Layout1->addWidget( PushButton5, 5, 2 );
-
-    GroupBox2Layout->addLayout( Layout2, 0, 0 );
-    
-    DlgRef_4Sel1List1Check_QTDLayout->addWidget( GroupBox2, 1, 0 );
-
-    // tab order
-    setTabOrder(PushButton1 , LineEdit1);
-    setTabOrder(LineEdit1 ,   PushButton2);
-    setTabOrder(PushButton2 , LineEdit2);
-    setTabOrder(LineEdit2,    ComboBox1);
-    setTabOrder(ComboBox1,    CheckBox1);
-    setTabOrder(CheckBox1,    PushButton5);
-    setTabOrder(PushButton5,  PushButton3);
-    setTabOrder(PushButton3 , LineEdit3);
-    setTabOrder(LineEdit3,    PushButton4 );
-    setTabOrder(PushButton4 , LineEdit4);
-                   
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_4Sel1List1Check_QTD::~DlgRef_4Sel1List1Check_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h b/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h
deleted file mode 100644 (file)
index 4f298bc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_4Sel1List1Check_QTD.ui'
-**
-** Created: lun oct 27 17:21:03 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_4SEL1LIST1CHECK_QTD_H
-#define DLGREF_4SEL1LIST1CHECK_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QComboBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QCheckBox;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_4Sel1List1Check_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_4Sel1List1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_4Sel1List1Check_QTD();
-
-    QGroupBox* GroupBox1;
-    QGroupBox* GroupBox2;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel3;
-    QLabel* TextLabel4;
-    QLabel* TextLabel5;
-    QPushButton* PushButton1;
-    QPushButton* PushButton2;
-    QPushButton* PushButton3;
-    QPushButton* PushButton4;
-    QLineEdit* LineEdit1;
-    QLineEdit* LineEdit2;
-    QLineEdit* LineEdit3;
-    QLineEdit* LineEdit4;
-    QComboBox* ComboBox1;
-    QCheckBox* CheckBox1;
-    QPushButton* PushButton5;
-
-protected:
-    QGridLayout* DlgRef_4Sel1List1Check_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* GroupBox2Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_4SEL1LIST1CHECK_QTD_H
diff --git a/src/DlgRef/DlgRef_4Sel1List_QTD.cxx b/src/DlgRef/DlgRef_4Sel1List_QTD.cxx
deleted file mode 100644 (file)
index 04b28ef..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_4Sel1List_QTD.ui'
-**
-** Created: lun oct 27 17:21:04 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_4Sel1List_QTD.h"
-
-#include <qvariant.h>
-#include <qcombobox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_4Sel1List_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_4Sel1List_QTD::DlgRef_4Sel1List_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_4Sel1List_QTD" );
-    resize( 129, 175 ); 
-    setCaption( trUtf8( "DlgRef_4Sel1List_QTD" ) );
-    DlgRef_4Sel1List_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_4Sel1List_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-    
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-   
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-    
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addMultiCellWidget( TextLabel3, 2, 2, 0, 1 );
-    
-    ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" );
-    ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( ComboBox1, 2, 2 );
-   
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-    
-    DlgRef_4Sel1List_QTDLayout->addWidget( GroupBox1, 0, 0 );
-
-    
-    GroupBox2 = new QGroupBox( this, "GroupBox2" );
-    GroupBox2->setTitle( trUtf8( "" ) );
-    GroupBox2->setColumnLayout(0, Qt::Vertical );
-    GroupBox2->layout()->setSpacing( 6 );
-    GroupBox2->layout()->setMargin( 11 );
-    GroupBox2Layout = new QGridLayout( GroupBox2->layout() );
-    GroupBox2Layout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-    
-    TextLabel4 = new QLabel( GroupBox2, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-    
-    Layout2->addWidget( TextLabel4, 0, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 5, 2 );
-
-    PushButton3 = new QPushButton( GroupBox2, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout2->addWidget( PushButton3, 0, 1 );
-
-    LineEdit3 = new QLineEdit( GroupBox2, "LineEdit3" );
-
-    Layout2->addWidget( LineEdit3, 0, 2 );
-
-
-    TextLabel5 = new QLabel( GroupBox2, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 1, 0 );
-
-    PushButton4 = new QPushButton( GroupBox2, "PushButton4" );
-    PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) );
-    PushButton4->setText( trUtf8( "" ) );
-
-    Layout2->addWidget( PushButton4, 1, 1 );
-
-    LineEdit4 = new QLineEdit( GroupBox2, "LineEdit4" );
-
-    Layout2->addWidget( LineEdit4, 1, 2 );
-
-    GroupBox2Layout->addLayout( Layout2, 0, 0 );
-    
-    DlgRef_4Sel1List_QTDLayout->addWidget( GroupBox2, 1, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_4Sel1List_QTD::~DlgRef_4Sel1List_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_4Sel1List_QTD.h b/src/DlgRef/DlgRef_4Sel1List_QTD.h
deleted file mode 100644 (file)
index d8390e2..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_4Sel1List_QTD.ui'
-**
-** Created: lun oct 27 17:21:03 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_4SEL1LIST_QTD_H
-#define DLGREF_4SEL1LIST_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QComboBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class DlgRef_4Sel1List_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_4Sel1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_4Sel1List_QTD();
-
-    QGroupBox* GroupBox1;
-    QGroupBox* GroupBox2;
-    QLineEdit* LineEdit2;
-    QPushButton* PushButton4;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit4;
-    QPushButton* PushButton3;
-    QPushButton* PushButton2;
-    QLabel* TextLabel1;
-    QLabel* TextLabel4;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel5;
-    QLineEdit* LineEdit3;
-    QLabel* TextLabel2;
-    QComboBox* ComboBox1;
-    QLabel* TextLabel3;
-
-
-protected:
-    QGridLayout* DlgRef_4Sel1List_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* GroupBox2Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // DLGREF_4SEL1LIST_QTD_H
diff --git a/src/DlgRef/DlgRef_6Sel_QTD.cxx b/src/DlgRef/DlgRef_6Sel_QTD.cxx
deleted file mode 100644 (file)
index 238416e..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_6Sel_QTD.ui'
-**
-** Created: Tue Aug 24 18:18:57 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_6Sel_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_6Sel_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-DlgRef_6Sel_QTD::DlgRef_6Sel_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "DlgRef_6Sel_QTD" );
-    resize( 235, 196 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "DlgRef_6Sel_QTD" ) );
-    DlgRef_6Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_6Sel_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout1->addWidget( TextLabel4, 3, 0 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout1->addWidget( TextLabel5, 4, 0 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout1->addWidget( TextLabel6, 5, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    PushButton3 = new QPushButton( GroupBox1, "PushButton3" );
-    PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) );
-    PushButton3->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton3, 2, 1 );
-
-    PushButton4 = new QPushButton( GroupBox1, "PushButton4" );
-    PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) );
-    PushButton4->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton4, 3, 1 );
-
-    PushButton5 = new QPushButton( GroupBox1, "PushButton5" );
-    PushButton5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton5->sizePolicy().hasHeightForWidth() ) );
-    PushButton5->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton5, 4, 1 );
-
-    PushButton6 = new QPushButton( GroupBox1, "PushButton6" );
-    PushButton6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton6->sizePolicy().hasHeightForWidth() ) );
-    PushButton6->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton6, 5, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout1->addWidget( LineEdit3, 2, 2 );
-
-    LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" );
-
-    Layout1->addWidget( LineEdit4, 3, 2 );
-
-    LineEdit5 = new QLineEdit( GroupBox1, "LineEdit5" );
-
-    Layout1->addWidget( LineEdit5, 4, 2 );
-
-    LineEdit6 = new QLineEdit( GroupBox1, "LineEdit6" );
-
-    Layout1->addWidget( LineEdit6, 5, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    DlgRef_6Sel_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_6Sel_QTD::~DlgRef_6Sel_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_6Sel_QTD.h b/src/DlgRef/DlgRef_6Sel_QTD.h
deleted file mode 100644 (file)
index a80bc43..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_6Sel_QTD.ui'
-**
-** Created: Tue Aug 24 18:18:28 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_6SEL_QTD_H
-#define DLGREF_6SEL_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_6Sel_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_6Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~DlgRef_6Sel_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel3;
-    QLabel* TextLabel4;
-    QLabel* TextLabel5;
-    QLabel* TextLabel6;
-    QPushButton* PushButton1;
-    QPushButton* PushButton2;
-    QPushButton* PushButton3;
-    QPushButton* PushButton4;
-    QPushButton* PushButton5;
-    QPushButton* PushButton6;
-    QLineEdit* LineEdit1;
-    QLineEdit* LineEdit2;
-    QLineEdit* LineEdit3;
-    QLineEdit* LineEdit4;
-    QLineEdit* LineEdit5;
-    QLineEdit* LineEdit6;
-
-
-protected:
-    QGridLayout* DlgRef_6Sel_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // DLGREF_6SEL_QTD_H
diff --git a/src/DlgRef/DlgRef_Skeleton_QTD.cxx b/src/DlgRef/DlgRef_Skeleton_QTD.cxx
deleted file mode 100644 (file)
index b612a9a..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
-**
-** Created: Wed Aug 11 18:42:51 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "DlgRef_Skeleton_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a DlgRef_Skeleton_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- *
- *  The dialog will by default be modeless, unless you set 'modal' to
- *  TRUE to construct a modal dialog.
- */
-DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent,  const char* name, bool modal, WFlags fl )
-    : QDialog( parent, name, modal, fl )
-{
-    if ( !name )
-       setName( "DlgRef_Skeleton_QTD" );
-    resize( 307, 378 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "DlgRef_Skeleton_QTD" ) );
-    setSizeGripEnabled( TRUE );
-    DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout"); 
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    GroupMedium = new QGroupBox( this, "GroupMedium" );
-    GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
-    GroupMedium->setTitle( trUtf8( "" ) );
-
-    Layout1->addWidget( GroupMedium, 2, 0 );
-
-    GroupButtons = new QGroupBox( this, "GroupButtons" );
-    GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
-    GroupButtons->setTitle( trUtf8( "" ) );
-    GroupButtons->setColumnLayout(0, Qt::Vertical );
-    GroupButtons->layout()->setSpacing( 6 );
-    GroupButtons->layout()->setMargin( 11 );
-    GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
-    GroupButtonsLayout->setAlignment( Qt::AlignTop );
-
-    Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
-
-    buttonOk = new QPushButton( GroupButtons, "buttonOk" );
-    buttonOk->setText( trUtf8( "&Ok" ) );
-    Layout3->addWidget( buttonOk );
-
-    buttonApply = new QPushButton( GroupButtons, "buttonApply" );
-    buttonApply->setText( trUtf8( "&Apply" ) );
-    Layout3->addWidget( buttonApply );
-    QSpacerItem* spacer = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
-    Layout3->addItem( spacer );
-
-    buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
-    buttonCancel->setText( trUtf8( "&Cancel" ) );
-    Layout3->addWidget( buttonCancel );
-    GroupButtonsLayout->addLayout( Layout3 );
-
-    Layout1->addWidget( GroupButtons, 3, 0 );
-
-    GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
-    GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
-    GroupConstructors->setTitle( trUtf8( "" ) );
-    GroupConstructors->setColumnLayout(0, Qt::Vertical );
-    GroupConstructors->layout()->setSpacing( 6 );
-    GroupConstructors->layout()->setMargin( 11 );
-    GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() );
-    GroupConstructorsLayout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
-
-    RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
-    RadioButton1->setText( trUtf8( "" ) );
-    Layout2->addWidget( RadioButton1 );
-
-    RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
-    RadioButton2->setText( trUtf8( "" ) );
-    Layout2->addWidget( RadioButton2 );
-
-    RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" );
-    RadioButton3->setText( trUtf8( "" ) );
-    Layout2->addWidget( RadioButton3 );
-
-    RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
-    RadioButton4->setText( trUtf8( "" ) );
-    Layout2->addWidget( RadioButton4 );
-    GroupConstructorsLayout->addLayout( Layout2 );
-
-    Layout1->addWidget( GroupConstructors, 0, 0 );
-
-    GroupBoxName = new QGroupBox( this, "GroupBoxName" );
-    GroupBoxName->setTitle( trUtf8( "Result name" ) );
-    GroupBoxName->setColumnLayout(0, Qt::Vertical );
-    GroupBoxName->layout()->setSpacing( 6 );
-    GroupBoxName->layout()->setMargin( 11 );
-    GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
-    GroupBoxNameLayout->setAlignment( Qt::AlignTop );
-
-    Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); 
-
-    ResultName = new QLineEdit( GroupBoxName, "ResultName" );
-
-    Layout66->addWidget( ResultName, 0, 1 );
-
-    NameLabel = new QLabel( GroupBoxName, "NameLabel" );
-    NameLabel->setText( trUtf8( "Name" ) );
-
-    Layout66->addWidget( NameLabel, 0, 0 );
-
-    GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
-
-    Layout1->addWidget( GroupBoxName, 1, 0 );
-
-    DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/DlgRef/DlgRef_Skeleton_QTD.h b/src/DlgRef/DlgRef_Skeleton_QTD.h
deleted file mode 100644 (file)
index d1a2e3c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
-**
-** Created: Wed Aug 11 18:42:51 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef DLGREF_SKELETON_QTD_H
-#define DLGREF_SKELETON_QTD_H
-
-#include <qvariant.h>
-#include <qdialog.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QRadioButton;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_Skeleton_QTD : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-    DlgRef_Skeleton_QTD( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
-    ~DlgRef_Skeleton_QTD();
-
-    QGroupBox* GroupMedium;
-    QGroupBox* GroupButtons;
-    QPushButton* buttonOk;
-    QPushButton* buttonApply;
-    QPushButton* buttonCancel;
-    QButtonGroup* GroupConstructors;
-    QRadioButton* RadioButton1;
-    QRadioButton* RadioButton2;
-    QRadioButton* RadioButton3;
-    QRadioButton* RadioButton4;
-    QGroupBox* GroupBoxName;
-    QLineEdit* ResultName;
-    QLabel* NameLabel;
-
-
-protected:
-    QGridLayout* DlgRef_Skeleton_QTDLayout;
-    QGridLayout* Layout1;
-    QHBoxLayout* GroupButtonsLayout;
-    QHBoxLayout* Layout3;
-    QHBoxLayout* GroupConstructorsLayout;
-    QHBoxLayout* Layout2;
-    QGridLayout* GroupBoxNameLayout;
-    QGridLayout* Layout66;
-};
-
-#endif // DLGREF_SKELETON_QTD_H
diff --git a/src/DlgRef/DlgRef_SpinBox.cxx b/src/DlgRef/DlgRef_SpinBox.cxx
deleted file mode 100644 (file)
index fde1b23..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_SpinBox.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "DlgRef_SpinBox.h"
-
-#include <qvalidator.h>
-
-//=================================================================================
-// class    : DlgRef_SpinBox()
-// purpose  : constructor of specific widget accepting floats in double precision.
-//=================================================================================
-DlgRef_SpinBox::DlgRef_SpinBox(QWidget* parent, const char* name)
-  : QtxDblSpinBox(parent, name)
-{
-}
-
-
-//=================================================================================
-// function : ~DlgRef_SpinBox()
-// purpose  : destructor
-//=================================================================================
-DlgRef_SpinBox::~DlgRef_SpinBox()
-{
-}
-
-
-//=================================================================================
-// function : SetStep()  [SLOT]
-// purpose  :
-//=================================================================================
-void DlgRef_SpinBox::SetStep(double newStep)
-{
-  setLineStep(newStep);
-}
-
-
-//=================================================================================
-// function : SetValue()
-// purpose  :
-//=================================================================================
-void DlgRef_SpinBox::SetValue(double v)
-{
-  setValue(v);
-}
-
-
-//=================================================================================
-// function : GetValue()
-// purpose  : returns a double
-//=================================================================================
-double DlgRef_SpinBox::GetValue()
-{
-  return value();
-}
-
-
-//=================================================================================
-// function : GetString()
-// purpose  : returns a QString
-//=================================================================================
-QString DlgRef_SpinBox::GetString()
-{
-  return cleanText();
-}
-
-
-//=================================================================================
-// function : RangeStepAndValidator()
-// purpose  :
-//=================================================================================
-void DlgRef_SpinBox::RangeStepAndValidator(double min, double max,double step,
-                                          unsigned short decimals)
-{
-  setRange(min, max);
-  setLineStep(step);
-  ((QDoubleValidator*)validator())->setRange(min, max, decimals);
-}
diff --git a/src/DlgRef/DlgRef_SpinBox.h b/src/DlgRef/DlgRef_SpinBox.h
deleted file mode 100644 (file)
index e2c3f96..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : DlgRef_SpinBox.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef  GEOMSPINBOX_H
-#define  GEOMSPINBOX_H
-
-#include "QtxDblSpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : DlgRef_SpinBox
-// purpose  : Derivated from QSpinBox class and modified to accept floats
-//=================================================================================
-class DLGREF_WNT_EXPORT DlgRef_SpinBox : public QtxDblSpinBox
-{
-  Q_OBJECT
-
-public :
-  DlgRef_SpinBox(QWidget* parent, const char* name = 0);
-  ~DlgRef_SpinBox();
-  
-  void RangeStepAndValidator(double min = -1000000.0, double max = +1000000.0, 
-                            double step = 100.0, unsigned short decimals = 3);
-  void SetValue(double v);
-  double GetValue();
-  QString GetString();
-  
-public slots:
-  void SetStep(double newStep);
-
-};
-
-#endif //  GEOMSPINBOX_H
diff --git a/src/DlgRef/Makefile.in b/src/DlgRef/Makefile.in
deleted file mode 100644 (file)
index 9cafbd1..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-#  GEOM DLGREF : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libDlgRef.la
-
-LIB_SRC =      DlgRef_Skeleton_QTD.cxx \
-               DlgRef_1Sel_QTD.cxx \
-               DlgRef_2Sel_QTD.cxx \
-               DlgRef_3Sel_QTD.cxx \
-               DlgRef_1Sel1Check_QTD.cxx \
-               DlgRef_1Sel3Check_QTD.cxx \
-               DlgRef_1Sel1Check1List_QTD.cxx \
-               DlgRef_1Sel1Spin_QTD.cxx \
-               DlgRef_1Sel2Spin_QTD.cxx \
-               DlgRef_1Sel3Spin_QTD.cxx \
-               DlgRef_1Sel4Spin_QTD.cxx \
-               DlgRef_1Sel5Spin_QTD.cxx \
-               DlgRef_2Sel1Spin_QTD.cxx \
-               DlgRef_2Sel2Spin_QTD.cxx \
-               DlgRef_2Sel3Spin_QTD.cxx \
-               DlgRef_1Sel1Spin1Check_QTD.cxx \
-               DlgRef_2Sel1Spin2Check_QTD.cxx \
-               DlgRef_2Sel2Spin1Check_QTD.cxx \
-               DlgRef_2Sel4Spin1Check_QTD.cxx \
-               DlgRef_3Sel4Spin2Check_QTD.cxx \
-               DlgRef_4Sel1List_QTD.cxx \
-               DlgRef_1List1Spin1Btn_QTD.cxx \
-               DlgRef_4Sel1List1Check_QTD.cxx \
-               DlgRef_1Spin_QTD.cxx \
-               DlgRef_2Spin_QTD.cxx \
-               DlgRef_3Spin_QTD.cxx \
-               DlgRef_3Spin1Check_QTD.cxx \
-               DlgRef_3Sel3Spin1Check_QTD.cxx \
-               DlgRef_SpinBox.cxx \
-               DlgRef_1Sel1Spin.cxx \
-               DlgRef_1Sel2Spin.cxx \
-               DlgRef_1Sel3Spin.cxx \
-               DlgRef_1Sel4Spin.cxx \
-               DlgRef_1Sel5Spin.cxx \
-               DlgRef_2Sel1Spin.cxx \
-               DlgRef_2Sel2Spin.cxx \
-               DlgRef_2Sel3Spin.cxx \
-               DlgRef_1Sel1Spin1Check.cxx \
-               DlgRef_2Sel1Spin2Check.cxx \
-               DlgRef_2Sel2Spin1Check.cxx \
-               DlgRef_2Sel4Spin1Check.cxx \
-               DlgRef_3Sel4Spin2Check.cxx \
-               DlgRef_3Sel3Spin1Check.cxx \
-               DlgRef_1Spin.cxx \
-               DlgRef_2Spin.cxx \
-               DlgRef_3Spin.cxx \
-               DlgRef_3Spin1Check.cxx \
-               DlgRef_3Sel1Spin.cxx \
-               DlgRef_3Check_QTD.cxx \
-               DlgRef_6Sel_QTD.cxx
-
-LIB_MOC = \
-               DlgRef_Skeleton_QTD.h \
-               DlgRef_1Sel_QTD.h \
-               DlgRef_2Sel_QTD.h \
-               DlgRef_3Sel_QTD.h \
-               DlgRef_1Sel1Check_QTD.h \
-               DlgRef_1Sel3Check_QTD.h \
-               DlgRef_1Sel1Check1List_QTD.h \
-               DlgRef_1Sel1Spin_QTD.h \
-               DlgRef_1Sel2Spin_QTD.h \
-               DlgRef_1Sel3Spin_QTD.h \
-               DlgRef_1Sel4Spin_QTD.h \
-               DlgRef_1Sel5Spin_QTD.h \
-               DlgRef_2Sel1Spin_QTD.h \
-               DlgRef_2Sel2Spin_QTD.h \
-               DlgRef_2Sel3Spin_QTD.h \
-               DlgRef_1Sel1Spin1Check_QTD.h \
-               DlgRef_2Sel1Spin2Check_QTD.h \
-               DlgRef_2Sel2Spin1Check_QTD.h \
-               DlgRef_2Sel4Spin1Check_QTD.h \
-               DlgRef_3Sel4Spin2Check_QTD.h \
-               DlgRef_4Sel1List_QTD.h \
-               DlgRef_1List1Spin1Btn_QTD.h \
-               DlgRef_4Sel1List1Check_QTD.h \
-               DlgRef_1Spin_QTD.h \
-               DlgRef_2Spin_QTD.h \
-               DlgRef_3Spin_QTD.h \
-               DlgRef_3Spin1Check_QTD.h \
-               DlgRef_3Sel3Spin1Check_QTD.h \
-               DlgRef_SpinBox.h \
-               DlgRef_1Sel1Spin.h \
-               DlgRef_1Sel2Spin.h \
-               DlgRef_1Sel3Spin.h \
-               DlgRef_1Sel4Spin.h \
-               DlgRef_1Sel5Spin.h \
-               DlgRef_2Sel1Spin.h \
-               DlgRef_2Sel2Spin.h \
-               DlgRef_2Sel3Spin.h \
-               DlgRef_1Sel1Spin1Check.h \
-               DlgRef_2Sel1Spin2Check.h \
-               DlgRef_2Sel2Spin1Check.h \
-               DlgRef_2Sel4Spin1Check.h \
-               DlgRef_3Sel4Spin2Check.h \
-               DlgRef_3Sel3Spin1Check.h \
-               DlgRef_1Spin.h \
-               DlgRef_2Spin.h \
-               DlgRef_3Spin.h \
-               DlgRef_3Spin1Check.h \
-               DlgRef_3Sel1Spin.h \
-               DlgRef_1Sel_Ext.h \
-               DlgRef_3Check_QTD.h \
-               DlgRef_6Sel_QTD.h
-
-# header files 
-EXPORT_HEADERS= $(LIB_MOC)
-
-LIB_CLIENT_IDL = 
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-CPPFLAGS += $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS  += $(QT_MT_LIBS) -L${GUI_ROOT_DIR}/lib/salome -lqtx
-
-@CONCLUDE@
diff --git a/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui
deleted file mode 100644 (file)
index 6366a74..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1List1Spin1Btn_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1List1Spin1Btn_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>204</width>
-            <height>148</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Sel4Spin2Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <spacer row="3" column="1">
-                    <property name="name">
-                        <cstring>Spacer1</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Vertical</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>0</width>
-                            <height>23</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="QListView" row="0" column="0" rowspan="4" colspan="1">
-                    <property name="name">
-                        <cstring>ListView1</cstring>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="1">
-                    <property name="name">
-                        <cstring>TextLabel1</cstring>
-                    </property>
-                    <property name="text">
-                        <string>TL1</string>
-                    </property>
-                </widget>
-                <widget class="QSpinBox" row="1" column="1">
-                    <property name="name">
-                        <cstring>SpinBox1</cstring>
-                    </property>
-                </widget>
-                <widget class="QPushButton" row="2" column="1">
-                    <property name="name">
-                        <cstring>PushButton1</cstring>
-                    </property>
-                    <property name="text">
-                        <string></string>
-                    </property>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui
deleted file mode 100644 (file)
index 677fe88..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel1Check1List_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel1Check1List_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>104</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel1Check1List_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>166</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QRadioButton" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QComboBox" row="1" column="2">
-                            <property name="name">
-                                <cstring>ComboBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui
deleted file mode 100644 (file)
index f860813..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>382</width>
-            <height>219</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout3</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>CheckButton1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui
deleted file mode 100644 (file)
index c90e9c6..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel1Spin1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel1Spin1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>163</width>
-            <height>109</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel1Spin1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout8</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>SpinBox1</tabstop>
-    <tabstop>CheckButton1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui
deleted file mode 100644 (file)
index e3551d1..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel1Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel1Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>87</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel1Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer7</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui
deleted file mode 100644 (file)
index 641264b..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel2Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel2Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>115</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel2Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer7</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>30</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui
deleted file mode 100644 (file)
index c2e482a..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel3Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel3Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>163</width>
-            <height>116</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel3Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout6</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <spacer row="4" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton2</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton3</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>CheckButton1</tabstop>
-    <tabstop>CheckButton2</tabstop>
-    <tabstop>CheckButton3</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui
deleted file mode 100644 (file)
index de8d35e..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel3Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel3Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>143</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel3Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer6</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>150</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui
deleted file mode 100644 (file)
index 49a0cd1..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel4Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel4Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>284</width>
-            <height>119</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel4Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="1" column="0">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="5">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="3">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="6">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="4">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <spacer row="3" column="0">
-                            <property name="name">
-                                <cstring>Spacer6</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLayoutWidget" row="2" column="0">
-                            <property name="name">
-                                <cstring>Layout4</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel6</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL6</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox4</cstring>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>PushButton1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit">
-                                    <property name="name">
-                                        <cstring>LineEdit1</cstring>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui
deleted file mode 100644 (file)
index c1bca88..0000000
+++ /dev/null
@@ -1,281 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel5Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel5Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>162</width>
-            <height>143</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel5Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="0" column="3">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="2">
-                                    <property name="name">
-                                        <cstring>TextLabel6</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL6</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="3">
-                                    <property name="name">
-                                        <cstring>SpinBox5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer6</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>120</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui
deleted file mode 100644 (file)
index 3816fd1..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Sel_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Sel_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>57</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Sel_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="1" column="2">
-                            <property name="name">
-                                <cstring>Spacer8</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui
deleted file mode 100644 (file)
index ddeca87..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_1Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_1Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>55</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_1Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <spacer row="3" column="1">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QSpinBox" row="0" column="1">
-                            <property name="name">
-                                <cstring>SpinBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui
deleted file mode 100644 (file)
index a2e4e0a..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel1Spin2Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel1Spin2Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>256</width>
-            <height>139</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel1Spin2Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <spacer row="4" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>316</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QCheckBox" row="2" column="3">
-                            <property name="name">
-                                <cstring>CheckButton2</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="4">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="2" column="2">
-                            <property name="name">
-                                <cstring>SpinBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>SpinBox1</tabstop>
-    <tabstop>CheckButton2</tabstop>
-    <tabstop>CheckButton1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui
deleted file mode 100644 (file)
index df95281..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel1Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel1Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>163</width>
-            <height>122</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel1Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="frameShape">
-                                <enum>NoFrame</enum>
-                            </property>
-                            <property name="frameShadow">
-                                <enum>Plain</enum>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>SpinBox1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui
deleted file mode 100644 (file)
index 1a97c87..0000000
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel2Spin1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel2Spin1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>163</width>
-            <height>170</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel2Spin1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="4" column="2">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>SpinBox1</tabstop>
-    <tabstop>SpinBox2</tabstop>
-    <tabstop>CheckButton1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui
deleted file mode 100644 (file)
index b935dc8..0000000
+++ /dev/null
@@ -1,231 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel2Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel2Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>145</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel2Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>20</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui
deleted file mode 100644 (file)
index e51bd75..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel3Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel3Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>173</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel3Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>20</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui
deleted file mode 100644 (file)
index f148e2c..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel4Spin1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel4Spin1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>262</width>
-            <height>230</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel4Spin1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout5</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="4">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="5" column="3">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel6</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL6</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>SpinBox1</tabstop>
-    <tabstop>SpinBox2</tabstop>
-    <tabstop>CheckButton1</tabstop>
-    <tabstop>SpinBox3</tabstop>
-    <tabstop>SpinBox4</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui
deleted file mode 100644 (file)
index 46e7f5b..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Sel_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Sel_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>87</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Sel_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer3</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui
deleted file mode 100644 (file)
index 3fe8a9f..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_2Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_2Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>83</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_2Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QSpinBox" row="1" column="1">
-                            <property name="name">
-                                <cstring>SpinBox2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="1">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QSpinBox" row="0" column="1">
-                            <property name="name">
-                                <cstring>SpinBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui
deleted file mode 100644 (file)
index 9573bb2..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>135</width>
-            <height>108</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QButtonGroup" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QRadioButton" row="2" column="0">
-                            <property name="name">
-                                <cstring>RadioButton3</cstring>
-                            </property>
-                            <property name="text">
-                                <string>RadioButton3</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="0" column="0">
-                            <property name="name">
-                                <cstring>RadioButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string>RadioButton1</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="1" column="0">
-                            <property name="name">
-                                <cstring>RadioButton2</cstring>
-                            </property>
-                            <property name="text">
-                                <string>RadioButton2</string>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="0">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>91</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>RadioButton1</tabstop>
-    <tabstop>RadioButton2</tabstop>
-    <tabstop>RadioButton3</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui
deleted file mode 100644 (file)
index c48cc30..0000000
+++ /dev/null
@@ -1,317 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Sel3Spin1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Sel3Spin1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>380</width>
-            <height>229</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>5</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Sel3Spin1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>5</hsizetype>
-                    <vsizetype>5</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QSpinBox" row="4" column="2">
-                            <property name="name">
-                                <cstring>SpinBox_2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="5" column="2">
-                            <property name="name">
-                                <cstring>SpinBox_3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QCheckBox" row="6" column="0" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>CheckBox1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="3" column="0">
-                            <property name="name">
-                                <cstring>TextLabel4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL4</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="2" column="1">
-                            <property name="name">
-                                <cstring>PushButton3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="5" column="0">
-                            <property name="name">
-                                <cstring>TextLabel6</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL6</string>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="3" column="2">
-                            <property name="name">
-                                <cstring>SpinBox_1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="4" column="0">
-                            <property name="name">
-                                <cstring>TextLabel5</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL5</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="7" column="2">
-                            <property name="name">
-                                <cstring>Spacer3</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>250</height>
-                                </size>
-                            </property>
-                        </spacer>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>PushButton3</tabstop>
-    <tabstop>LineEdit3</tabstop>
-    <tabstop>SpinBox_1</tabstop>
-    <tabstop>SpinBox_2</tabstop>
-    <tabstop>SpinBox_3</tabstop>
-    <tabstop>CheckBox1</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui
deleted file mode 100644 (file)
index 441a99a..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Sel4Spin2Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Sel4Spin2Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>269</width>
-            <height>281</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Sel4Spin2Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QCheckBox" row="6" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton2</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel7</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL7</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel6</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL6</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>CheckButton1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="2" column="1">
-                            <property name="name">
-                                <cstring>PushButton3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <spacer row="7" column="2">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>PushButton1</tabstop>
-    <tabstop>LineEdit1</tabstop>
-    <tabstop>PushButton2</tabstop>
-    <tabstop>LineEdit2</tabstop>
-    <tabstop>PushButton3</tabstop>
-    <tabstop>LineEdit3</tabstop>
-    <tabstop>SpinBox1</tabstop>
-    <tabstop>SpinBox2</tabstop>
-    <tabstop>CheckButton1</tabstop>
-    <tabstop>SpinBox3</tabstop>
-    <tabstop>SpinBox4</tabstop>
-    <tabstop>CheckButton2</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui
deleted file mode 100644 (file)
index 0fe9988..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Sel_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Sel_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>117</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Sel_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLineEdit" row="2" column="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer3</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>159</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="2" column="1">
-                            <property name="name">
-                                <cstring>PushButton3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui
deleted file mode 100644 (file)
index fd3317f..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Spin1Check_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Spin1Check_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>130</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Spin1Check_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QRadioButton" row="3" column="0" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>CheckBox1</cstring>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <spacer row="4" column="1">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>20</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QSpinBox" row="1" column="1">
-                            <property name="name">
-                                <cstring>SpinBox2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="2" column="1">
-                            <property name="name">
-                                <cstring>SpinBox3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="0" column="1">
-                            <property name="name">
-                                <cstring>SpinBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui
deleted file mode 100644 (file)
index 96f6b4d..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_3Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_3Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>111</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_3Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QSpinBox" row="1" column="1">
-                            <property name="name">
-                                <cstring>SpinBox2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="1">
-                            <property name="name">
-                                <cstring>Spacer1</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>16</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="0" column="1">
-                            <property name="name">
-                                <cstring>SpinBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QSpinBox" row="2" column="1">
-                            <property name="name">
-                                <cstring>SpinBox3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui b/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui
deleted file mode 100644 (file)
index 831768d..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_4Sel1List_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_4Sel1List_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>175</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>DlgRef_4Sel1List_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="4" column="1">
-                            <property name="name">
-                                <cstring>PushButton4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="4" column="2">
-                            <property name="name">
-                                <cstring>LineEdit4</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="3" column="1">
-                            <property name="name">
-                                <cstring>PushButton3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="3" column="0">
-                            <property name="name">
-                                <cstring>TextLabel4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL4</string>
-                            </property>
-                        </widget>
-                        <spacer row="5" column="2">
-                            <property name="name">
-                                <cstring>Spacer5</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>80</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="4" column="0">
-                            <property name="name">
-                                <cstring>TextLabel5</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL5</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="3" column="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QComboBox" row="2" column="2">
-                            <property name="name">
-                                <cstring>ComboBox1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui
deleted file mode 100644 (file)
index c5ff406..0000000
+++ /dev/null
@@ -1,296 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_6Sel_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>DlgRef_6Sel_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>235</width>
-            <height>196</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>DlgRef_6Sel_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="3" column="0">
-                            <property name="name">
-                                <cstring>TextLabel4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL4</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="4" column="0">
-                            <property name="name">
-                                <cstring>TextLabel5</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL5</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="5" column="0">
-                            <property name="name">
-                                <cstring>TextLabel6</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL6</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="2" column="1">
-                            <property name="name">
-                                <cstring>PushButton3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="3" column="1">
-                            <property name="name">
-                                <cstring>PushButton4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="4" column="1">
-                            <property name="name">
-                                <cstring>PushButton5</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="5" column="1">
-                            <property name="name">
-                                <cstring>PushButton6</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="3" column="2">
-                            <property name="name">
-                                <cstring>LineEdit4</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="4" column="2">
-                            <property name="name">
-                                <cstring>LineEdit5</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="5" column="2">
-                            <property name="name">
-                                <cstring>LineEdit6</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui b/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui
deleted file mode 100644 (file)
index 1098d6c..0000000
+++ /dev/null
@@ -1,281 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>DlgRef_Skeleton_QTD</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>DlgRef_Skeleton_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>307</width>
-            <height>378</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>DlgRef_Skeleton_QTD</string>
-    </property>
-    <property name="sizeGripEnabled">
-        <bool>true</bool>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QLayoutWidget" row="0" column="0">
-            <property name="name">
-                <cstring>Layout1</cstring>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QGroupBox" row="2" column="0">
-                    <property name="name">
-                        <cstring>GroupMedium</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>7</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                </widget>
-                <widget class="QGroupBox" row="3" column="0">
-                    <property name="name">
-                        <cstring>GroupButtons</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                    <hbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonOk</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>&amp;Ok</string>
-                                    </property>
-                                </widget>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>&amp;Apply</string>
-                                    </property>
-                                </widget>
-                                <spacer>
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Horizontal</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>91</width>
-                                            <height>0</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonCancel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>&amp;Cancel</string>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </hbox>
-                </widget>
-                <widget class="QButtonGroup" row="0" column="0">
-                    <property name="name">
-                        <cstring>GroupConstructors</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>5</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                    <hbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton1</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton2</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton3</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton4</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </hbox>
-                </widget>
-                <widget class="QGroupBox" row="1" column="0">
-                    <property name="name">
-                        <cstring>GroupBoxName</cstring>
-                    </property>
-                    <property name="title">
-                        <string>Result name</string>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout66</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLineEdit" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>ResultName</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>NameLabel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Name</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/DlgRef/UIFiles/ui_to_cxx b/src/DlgRef/UIFiles/ui_to_cxx
deleted file mode 100755 (executable)
index b042efa..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-#uic -o DlgRef_Skeleton_QTD.h DlgRef_Skeleton_QTD.ui
-#uic -o DlgRef_Skeleton_QTD.cxx -impl DlgRef_Skeleton_QTD.h DlgRef_Skeleton_QTD.ui
-
-#uic -o DlgRef_1Sel_QTD.h DlgRef_1Sel_QTD.ui
-#uic -o DlgRef_1Sel_QTD.cxx -impl DlgRef_1Sel_QTD.h DlgRef_1Sel_QTD.ui
-
-#uic -o DlgRef_1Sel1Spin_QTD.h DlgRef_1Sel1Spin_QTD.ui
-#uic -o DlgRef_1Sel1Spin_QTD.cxx -impl DlgRef_1Sel1Spin_QTD.h DlgRef_1Sel1Spin_QTD.ui
-
-#uic -o DlgRef_1Sel1Spin1Check_QTD.h DlgRef_1Sel1Spin1Check_QTD.ui
-#uic -o DlgRef_1Sel1Spin1Check_QTD.cxx -impl DlgRef_1Sel1Spin1Check_QTD.h DlgRef_1Sel1Spin1Check_QTD.ui
-
-#uic -o DlgRef_1Sel2Spin_QTD.h DlgRef_1Sel2Spin_QTD.ui
-#uic -o DlgRef_1Sel2Spin_QTD.cxx -impl DlgRef_1Sel2Spin_QTD.h DlgRef_1Sel2Spin_QTD.ui
-
-#uic -o DlgRef_1Sel3Spin_QTD.h DlgRef_1Sel3Spin_QTD.ui
-#uic -o DlgRef_1Sel3Spin_QTD.cxx -impl DlgRef_1Sel3Spin_QTD.h DlgRef_1Sel3Spin_QTD.ui
-
-#uic -o DlgRef_1Sel4Spin_QTD.h DlgRef_1Sel4Spin_QTD.ui
-#uic -o DlgRef_1Sel4Spin_QTD.cxx -impl DlgRef_1Sel4Spin_QTD.h DlgRef_1Sel4Spin_QTD.ui
-
-#uic -o DlgRef_1Sel5Spin_QTD.h DlgRef_1Sel5Spin_QTD.ui
-#uic -o DlgRef_1Sel5Spin_QTD.cxx -impl DlgRef_1Sel5Spin_QTD.h DlgRef_1Sel5Spin_QTD.ui
-
-#uic -o DlgRef_1Sel1Check_QTD.h DlgRef_1Sel1Check_QTD.ui
-#uic -o DlgRef_1Sel1Check_QTD.cxx -impl DlgRef_1Sel1Check_QTD.h DlgRef_1Sel1Check_QTD.ui
-
-#uic -o DlgRef_1Sel3Check_QTD.h DlgRef_1Sel3Check_QTD.ui
-#uic -o DlgRef_1Sel3Check_QTD.cxx -impl DlgRef_1Sel3Check_QTD.h DlgRef_1Sel3Check_QTD.ui
-
-#uic -o DlgRef_1Sel1Check1List_QTD.h DlgRef_1Sel1Check1List_QTD.ui
-#uic -o DlgRef_1Sel1Check1List_QTD.cxx -impl DlgRef_1Sel1Check1List_QTD.h DlgRef_1Sel1Check1List_QTD.ui
-
-#uic -o DlgRef_2Sel_QTD.h DlgRef_2Sel_QTD.ui
-#uic -o DlgRef_2Sel_QTD.cxx -impl DlgRef_2Sel_QTD.h DlgRef_2Sel_QTD.ui
-
-#uic -o DlgRef_2Sel1Spin_QTD.h DlgRef_2Sel1Spin_QTD.ui
-#uic -o DlgRef_2Sel1Spin_QTD.cxx -impl DlgRef_2Sel1Spin_QTD.h DlgRef_2Sel1Spin_QTD.ui
-
-#uic -o DlgRef_2Sel1Spin2Check_QTD.h DlgRef_2Sel1Spin2Check_QTD.ui
-#uic -o DlgRef_2Sel1Spin2Check_QTD.cxx -impl DlgRef_2Sel1Spin2Check_QTD.h DlgRef_2Sel1Spin2Check_QTD.ui
-
-#uic -o DlgRef_2Sel2Spin_QTD.h DlgRef_2Sel2Spin_QTD.ui
-#uic -o DlgRef_2Sel2Spin_QTD.cxx -impl DlgRef_2Sel2Spin_QTD.h DlgRef_2Sel2Spin_QTD.ui
-
-#uic -o DlgRef_2Sel2Spin1Check_QTD.h DlgRef_2Sel2Spin1Check_QTD.ui
-#uic -o DlgRef_2Sel2Spin1Check_QTD.cxx -impl DlgRef_2Sel2Spin1Check_QTD.h DlgRef_2Sel2Spin1Check_QTD.ui
-
-#uic -o DlgRef_2Sel3Spin_QTD.h DlgRef_2Sel3Spin_QTD.ui
-#uic -o DlgRef_2Sel3Spin_QTD.cxx -impl DlgRef_2Sel3Spin_QTD.h DlgRef_2Sel3Spin_QTD.ui
-
-#uic -o DlgRef_2Sel4Spin1Check_QTD.h DlgRef_2Sel4Spin1Check_QTD.ui
-#uic -o DlgRef_2Sel4Spin1Check_QTD.cxx -impl DlgRef_2Sel4Spin1Check_QTD.h DlgRef_2Sel4Spin1Check_QTD.ui
-
-#uic -o DlgRef_4Sel1List_QTD.h DlgRef_4Sel1List_QTD.ui
-#uic -o DlgRef_4Sel1List_QTD.cxx -impl DlgRef_4Sel1List_QTD.h DlgRef_4Sel1List_QTD.ui
-
-#uic -o DlgRef_3Sel_QTD.h DlgRef_3Sel_QTD.ui
-#uic -o DlgRef_3Sel_QTD.cxx -impl DlgRef_3Sel_QTD.h DlgRef_3Sel_QTD.ui
-
-#uic -o DlgRef_3Sel4Spin2Check_QTD.h DlgRef_3Sel4Spin2Check_QTD.ui
-#uic -o DlgRef_3Sel4Spin2Check_QTD.cxx -impl DlgRef_3Sel4Spin2Check_QTD.h DlgRef_3Sel4Spin2Check_QTD.ui
-
-#uic -o DlgRef_1Spin_QTD.h DlgRef_1Spin_QTD.ui
-#uic -o DlgRef_1Spin_QTD.cxx -impl DlgRef_1Spin_QTD.h DlgRef_1Spin_QTD.ui
-
-#uic -o DlgRef_2Spin_QTD.h DlgRef_2Spin_QTD.ui
-#uic -o DlgRef_2Spin_QTD.cxx -impl DlgRef_2Spin_QTD.h DlgRef_2Spin_QTD.ui
-
-#uic -o DlgRef_3Spin_QTD.h DlgRef_3Spin_QTD.ui
-#uic -o DlgRef_3Spin_QTD.cxx -impl DlgRef_3Spin_QTD.h DlgRef_3Spin_QTD.ui
-
-#uic -o DlgRef_3Spin1Check_QTD.h DlgRef_3Spin1Check_QTD.ui
-#uic -o DlgRef_3Spin1Check_QTD.cxx -impl DlgRef_3Spin1Check_QTD.h DlgRef_3Spin1Check_QTD.ui
-
-#uic -o DlgRef_3Sel3Spin1Check_QTD.h DlgRef_3Sel3Spin1Check_QTD.ui
-#uic -o DlgRef_3Sel3Spin1Check_QTD.cxx -impl DlgRef_3Sel3Spin1Check_QTD.h DlgRef_3Sel3Spin1Check_QTD.ui
-
-#uic -o DlgRef_6Sel_QTD.h DlgRef_6Sel_QTD.ui
-#uic -o DlgRef_6Sel_QTD.cxx -impl DlgRef_6Sel_QTD.h DlgRef_6Sel_QTD.ui
-
-uic -o DlgRef_3Check_QTD.h DlgRef_3Check_QTD.ui
-uic -o DlgRef_3Check_QTD.cxx -impl DlgRef_3Check_QTD.h DlgRef_3Check_QTD.ui
diff --git a/src/EntityGUI/EntityGUI.cxx b/src/EntityGUI/EntityGUI.cxx
deleted file mode 100644 (file)
index c1af4be..0000000
+++ /dev/null
@@ -1,678 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "EntityGUI.h"
-#include "GeometryGUI.h"
-#include "GEOM_AssemblyBuilder.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SUIT_ViewWindow.h"
-#include "OCCViewer_ViewModel.h"
-#include "OCCViewer_ViewManager.h"
-#include "VTKViewer_ViewModel.h"
-#include "SalomeApp_Study.h"
-#include "SalomeApp_Tools.h"
-//#include "SALOMEGUI_ImportOperation.h"
-
-#include <TopoDS_Compound.hxx>
-#include <BRep_Builder.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include "EntityGUI_SketcherDlg.h" // Sketcher
-#include "EntityGUI_SubShapeDlg.h" // Method SUBSHAPE
-
-#include "utilities.h"
-
-using namespace boost;
-using namespace std;
-
-EntityGUI* EntityGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetEntityGUI()
-// purpose  : Get the only EntityGUI object [ static ]
-//=======================================================================
-EntityGUI* EntityGUI::GetEntityGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init EntityGUI only once
-    myGUIObject = new EntityGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : EntityGUI()
-// purpose  : Constructor
-//=======================================================================
-EntityGUI::EntityGUI( GeometryGUI* parent ) :  GEOMGUI( parent )
-{
-  myGeomBase = new GEOMBase();
-  myGeom = GEOM::GEOM_Gen::_duplicate( GeometryGUI::GetGeomGen() );
-
-  mySimulationShape1 = new AIS_Shape(TopoDS_Shape());
-  mySimulationShape2 = new AIS_Shape(TopoDS_Shape());
-}
-
-
-//=======================================================================
-// function : ~EntityGUI()
-// purpose  : Destructor
-//=======================================================================
-EntityGUI::~EntityGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool EntityGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  QDialog* aDlg = NULL;
-
-  switch (theCommandID)
-  {
-    case 404: // SKETCHER
-      getGeometryGUI()->ActiveWorkingPlane();
-      aDlg = new EntityGUI_SketcherDlg(getGeometryGUI(), parent, "");
-      break;
-    case 407: // EXPLODE : use ic
-      aDlg = new EntityGUI_SubShapeDlg(parent, "");
-      break;
-    default:
-      SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-      break;
-  }
-  if ( aDlg )
-    aDlg->show();
-   
-  return true;
-}
-
-
-//=======================================================================
-// function : OnSketchEnd()
-// purpose  : 
-//=======================================================================
-void EntityGUI::OnSketchEnd(const char *Cmd)
-{
-  /*  QAD_Application::getDesktop()->putInfo("Create sketch functionality is NOT implemented in new GEOM kernel 
-                                          (no such Corba interface method).  Waiting for SRN to create it...");
-
-  try {
-    GEOM::GEOM_Shape_var result = myGeom->MakeSketcher(Cmd);
-    if(result->_is_nil()) {
-      QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_NULLSHAPE"));
-      return;
-    }
-    result->NameType(tr("GEOM_WIRE"));
-    if(myGeomBase->Display(result))
-      QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_DONE"));
-  }
-  catch(const SALOME::SALOME_Exception& S_ex) {
-    SalomeApp_Tools::QtCatchCorbaException(S_ex);
-  }
-  */
-  return;
-}
-
-
-//=====================================================================================
-// function : DisplaySimulationShape() 
-// purpose  : Displays 'this->mySimulationShape' a pure graphical shape from a TopoDS_Shape
-//=====================================================================================
-void EntityGUI::DisplaySimulationShape(const TopoDS_Shape& S1, const TopoDS_Shape& S2) 
-{
-  //NRI DEBUG : 14/02/2002
-  if( SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-      != OCCViewer_Viewer::Type() )
-    return;
-
-  OCCViewer_Viewer* v3d = 
-    ((OCCViewer_ViewManager*)(SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()))->getOCCViewer();
-  Handle(AIS_InteractiveContext) ic = v3d->getAISContext();
-  try {
-    if(!S1.IsNull()) {
-      /* erase any previous */
-      ic->Erase(mySimulationShape1, Standard_True, Standard_False);
-      ic->ClearPrs(mySimulationShape1);
-      
-      mySimulationShape1 = new AIS_Shape(TopoDS_Shape());
-      mySimulationShape1->Set(S1);
-      mySimulationShape1->SetColor(Quantity_NOC_RED);
-    
-      ic->Deactivate(mySimulationShape1);
-      ic->Display(mySimulationShape1, Standard_False);
-      mySimulationShape1->UnsetColor();
-    }
-    if(!S2.IsNull()) {
-      ic->Erase(mySimulationShape2, Standard_True, Standard_False);
-      ic->ClearPrs(mySimulationShape2);
-
-      mySimulationShape2 = new AIS_Shape(TopoDS_Shape());
-      mySimulationShape2->Set(S2);
-      mySimulationShape2->SetColor(Quantity_NOC_VIOLET);
-
-      ic->Deactivate(mySimulationShape2);
-      ic->Display(mySimulationShape2, Standard_False);
-      mySimulationShape2->UnsetColor();
-    }
-    ic->UpdateCurrentViewer();
-  }
-  catch(Standard_Failure) {
-    MESSAGE("Exception catched in EntityGUI::DisplaySimulationShape ");
-  } 
-  return;
-}
-
-
-//==================================================================================
-// function : EraseSimulationShape()
-// purpose  : Clears the display of 'mySimulationShape' a pure graphical shape
-//==================================================================================
-void EntityGUI::EraseSimulationShape()
-{
-  // get all view windows at the desktop
-  QPtrList<SUIT_ViewWindow> aWndLst = SUIT_Session::session()->activeApplication()->desktop()->windows();
-  //get all view windows, which belong to the active study
-  QPtrList<SUIT_ViewWindow> aWndLstAS;
-  SUIT_ViewWindow* vw;
-  for ( vw = aWndLst.first(); vw; vw = aWndLst.next() )
-    if ( vw->getViewManager()->study() == SUIT_Session::session()->activeApplication()->activeStudy() )
-      aWndLstAS.append( vw );
-  
-  for ( vw = aWndLstAS.first(); vw; vw = aWndLstAS.next() ) {
-    if ( vw->getViewManager()->getType() == OCCViewer_Viewer::Type() ) {
-      OCCViewer_Viewer* v3d = ((OCCViewer_ViewManager*)(vw->getViewManager()))->getOCCViewer();
-      Handle(AIS_InteractiveContext) ic = v3d->getAISContext();
-      ic->Erase(mySimulationShape1, Standard_True, Standard_False);
-      ic->ClearPrs(mySimulationShape1);
-      ic->Erase(mySimulationShape2, Standard_True, Standard_False);
-      ic->ClearPrs(mySimulationShape2);
-      ic->UpdateCurrentViewer();
-    } 
-  }
-}
-
-//=====================================================================================
-// function : SObjectExist()
-// purpose  :
-//=====================================================================================
-bool EntityGUI::SObjectExist(const _PTR(SObject)& theFatherObject, const char* IOR)
-{
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return false;
-  _PTR(Study) aStudy = appStudy->studyDS();
-  _PTR(ChildIterator) it ( aStudy->NewChildIterator(theFatherObject) );
-  _PTR(SObject) RefSO;
-  _PTR(GenericAttribute) anAttr;
-  for(; it->More();it->Next()) {
-    _PTR(SObject) SO ( it->Value() );
-    if(SO->FindAttribute(anAttr, "AttributeIOR")) {
-      _PTR(AttributeIOR) anIOR ( anAttr  );
-      if(strcmp( anIOR->Value().c_str(), IOR ) == 0)
-       return true;
-    }
-    if(SO->ReferencedObject(RefSO)) {
-      if(RefSO->FindAttribute(anAttr, "AttributeIOR")) {
-        _PTR(AttributeIOR) anIOR ( anAttr );
-       if(strcmp(anIOR->Value().c_str(), IOR) == 0)
-         return true;
-      }
-    }
-  }
-  return false;
-}
-
-
-//=====================================================================================
-// function : OnSubShapeGetAll()
-// purpose  : Explode a shape in all sub shapes with a SubShapeType
-//=====================================================================================
-bool EntityGUI::OnSubShapeGetAll(const TopoDS_Shape& ShapeTopo, const char* ShapeTopoIOR, const int SubShapeType)
-{
-  SUIT_Session::session()->activeApplication()->putInfo("OnSubShapeGetAll method from EntityGUI should be reimplemented ...");
-  /*
-  SALOMEDS::Study_var aStudy = QAD_Application::getDesktop()->getActiveStudy()->getStudyDocument();
-  SALOMEDS::SObject_var theObj = aStudy->FindObjectIOR(ShapeTopoIOR);
-  if(theObj->_is_nil()) {
-    QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_SHAPE_IN_STUDY"));
-    return false;
-  }
-
-  SALOMEDS::StudyBuilder_var aStudyBuilder = aStudy->NewBuilder();
-  SALOMEDS::SObject_var fatherSF = aStudy->FindObjectID(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->entry());
-  SALOMEDS::GenericAttribute_var anAttr;
-  SALOMEDS::AttributeName_var aName;
-  SALOMEDS::AttributeIOR_var anIOR;
-  SALOMEDS::AttributePixMap_var aPixmap;
-
-  // We create a sub object for each sub shape as attribute of the main object
-  // Each sub object contains list (length=1) containing its index in the main shape
-  GEOM::GEOM_Shape_var aShape = myGeom->GetIORFromString(ShapeTopoIOR);
-  GEOM::GEOM_Gen::ListOfGeomShapes_var listGeomShapes = new GEOM::GEOM_Gen::ListOfGeomShapes;
-  GEOM::GEOM_Shape_var aResult;
-  
-  try {
-    listGeomShapes = myGeom->SubShapeAll(aShape, SubShapeType);
-    if(listGeomShapes->length() < 1) {
-      QAD_Application::getDesktop()->putInfo (tr("GEOM_PRP_ABORT"));
-      return false;
-    }
-  }
-  catch(const SALOME::SALOME_Exception& S_ex) {
-    SalomeApp_Tools::QtCatchCorbaException(S_ex);
-  }
-  
-  // open transaction
-  QAD_Operation* op = new SALOMEGUI_ImportOperation(QAD_Application::getDesktop()->getActiveStudy());
-  op->start();
-  
-  TopoDS_Shape mainTopo = myGeomGUI->GetShapeReader().GetShape(myGeom, aShape);
-  TopoDS_Shape mainShape;
-  bool main = false;
-  while(!main) {
-    if(aShape->IsMainShape()) {
-      mainShape = myGeomGUI->GetShapeReader().GetShape(myGeom, aShape);
-      main = true;
-    } 
-    else
-      aShape = myGeom->GetIORFromString(aShape->MainName());
-  }
-  
-  // Loop on each sub shape created 
-  // int i = 1 ; index for the nameType
-  for(int j=0; j<listGeomShapes->length(); j++) {
-    // Get each sub shape extracted CORBA and OCC
-    aResult = listGeomShapes[j] ;    
-    TopoDS_Shape S = myGeomGUI->GetShapeReader().GetShape(myGeom, aResult);
-    
-    if (S.IsNull()) {
-      QAD_Application::getDesktop()->putInfo (tr("GEOM_PRP_ABORT"));
-      return false;
-    }
-    
-    // Set the nameType of sub shape
-    char* nameG = (char *)malloc(20);
-    Standard_CString Type;
-    if(myGeomBase->GetShapeTypeString(S, Type)) {
-      aResult->NameType(Type);
-      sprintf(nameG, "%s_%d", Type, myGeomBase->GetIndex(S, mainShape, SubShapeType));
-    } 
-    else {
-      aResult->NameType(tr("GEOM_SHAPE"));
-      sprintf(nameG, "%s_%d", tr("GEOM_SHAPE").latin1(), myGeomGUI->myNbGeom++);
-    }
-    SALOMEDS::SObject_var SO = aStudy->FindObjectIOR(aResult->Name());
-
-    bool allreadyexist = false;
-          
-    if(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getTypeView() == VIEW_OCC) {
-      OCCViewer_Viewer3d* v3d = ((OCCViewer_ViewFrame*)QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getRightFrame()->getViewFrame())->getViewer();
-      Handle (AIS_InteractiveContext) ic = v3d->getAISContext();
-      
-      Handle(GEOM_AISShape) result = new GEOM_AISShape(S, nameG);      
-      Handle(GEOM_InteractiveObject) IO = new GEOM_InteractiveObject(aResult->Name(), myGeomGUI->GetFatherior(), "GEOM");
-      
-      MESSAGE ("SO->_is_nil() " << SO->_is_nil())
-
-      if(SO->_is_nil()) {
-       SALOMEDS::SObject_var newObj = aStudyBuilder->NewObject(theObj);
-        anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeName");
-        aName = SALOMEDS::AttributeName::_narrow(anAttr);
-        aName->SetValue(nameG);
-        anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeIOR");
-        anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-        anIOR->SetValue(aResult->Name());
-
-       anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributePixMap");
-       aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
-       MESSAGE(" Type " << S.ShapeType())
-       if (S.ShapeType() == TopAbs_COMPOUND)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_COMPOUND");
-       else if(S.ShapeType() == TopAbs_COMPSOLID)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_COMPSOLID");
-       else if(S.ShapeType() == TopAbs_SOLID)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_SOLID");
-       else if(S.ShapeType() == TopAbs_SHELL)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_SHELL");
-       else if(S.ShapeType() == TopAbs_FACE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_FACE");
-       else if(S.ShapeType() == TopAbs_WIRE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_WIRE");
-       else if(S.ShapeType() == TopAbs_EDGE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_EDGE");
-       else if(S.ShapeType() == TopAbs_VERTEX)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_VERTEX");
-
-       MESSAGE(" aPixmap->GetPixMap " << aPixmap->GetPixMap())
-
-       SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(fatherSF);
-       aStudyBuilder->Addreference(newObj1, newObj);
-       IO->setEntry(newObj->GetID());
-
-       aResult->StudyShapeId(newObj->GetID());
-      }
-      else {
-       allreadyexist = true;
-       if(!this->SObjectExist(theObj, aResult->Name())) {
-         SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(theObj);
-         aStudyBuilder->Addreference(newObj1, SO);
-         IO->setEntry(SO->GetID());
-         aResult->StudyShapeId(SO->GetID());
-       }
-      }
-      
-      result->setIO(IO);
-      result->setName(nameG);
-      if(!allreadyexist)
-       ic->Display(result);
-      
-    }
-    else if(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getTypeView() == VIEW_VTK) {
-      VTKViewer_RenderWindowInteractor* myRenderInter= ((VTKViewer_ViewFrame*)QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getRightFrame()->getViewFrame())->getRWInteractor();
-      
-      int themode = myRenderInter->GetDisplayMode();
-      vtkRenderer *theRenderer = ((VTKViewer_ViewFrame*)QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getRightFrame()->getViewFrame())->getRenderer();
-      vtkRenderWindow *renWin = theRenderer->GetRenderWindow();
-      
-      Handle(GEOM_InteractiveObject) IO = new GEOM_InteractiveObject(aResult->Name(), myGeomGUI->GetFatherior(), "GEOM");
-      
-      if(SO->_is_nil()) {
-       SALOMEDS::SObject_var newObj = aStudyBuilder->NewObject(theObj);
-        anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeIOR");
-        anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-        anIOR->SetValue(aResult->Name());
-        anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeName");
-        aName = SALOMEDS::AttributeName::_narrow(anAttr);
-        aName->SetValue(nameG);
-       
-       anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributePixMap");
-       aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
-       if(S.ShapeType() == TopAbs_COMPOUND)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_COMPOUND");
-       else if(S.ShapeType() == TopAbs_COMPSOLID)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_COMPSOLID");
-       else if(S.ShapeType() == TopAbs_SOLID)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_SOLID");
-       else if(S.ShapeType() == TopAbs_SHELL)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_SHELL");
-       else if(S.ShapeType() == TopAbs_FACE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_FACE");
-       else if(S.ShapeType() == TopAbs_WIRE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_WIRE");
-       else if(S.ShapeType() == TopAbs_EDGE)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_EDGE");
-       else if(S.ShapeType() == TopAbs_VERTEX)
-         aPixmap->SetPixMap("ICON_OBJBROWSER_VERTEX");
-
-       SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(fatherSF);
-       aStudyBuilder->Addreference(newObj1, newObj);
-       IO->setEntry(newObj->GetID());
-      }
-      else {
-       allreadyexist = true;
-       if(!this->SObjectExist(theObj, aResult->Name())) {
-         SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(theObj);
-         aStudyBuilder->Addreference(newObj1, SO);
-         IO->setEntry(SO->GetID());
-       }
-      }
-      
-      if(!allreadyexist) {
-       vtkActorCollection* theActors = GEOM_AssemblyBuilder::BuildActors(S,0,themode,Standard_True);
-       theActors->InitTraversal();
-       vtkActor* anActor = (vtkActor*)theActors->GetNextActor();
-       while(!(anActor==NULL)) {
-         GEOM_Actor* GActor = GEOM_Actor::SafeDownCast(anActor);
-         GActor->setIO(IO);
-         GActor->setName(nameG);
-         theRenderer->AddActor(GActor);
-         renWin->Render();
-         anActor = (vtkActor*)theActors->GetNextActor();
-       }
-      }
-    }
-  }
-
-  // commit transaction
-  op->finish();
-
-  QAD_Application::getDesktop()->getActiveStudy()->updateObjBrowser();
-  QAD_Application::getDesktop()->putInfo (tr("GEOM_PRP_READY"));
-  */
-  return true;
-}
-
-
-//=====================================================================================
-// function : OnSubShapeGetSelected()
-// purpose  :
-//=====================================================================================
-bool EntityGUI::OnSubShapeGetSelected(const TopoDS_Shape& ShapeTopo, const char* ShapeTopoIOR, const int SubShapeType, Standard_Integer& aLocalContextId, bool& myUseLocalContext)
-{
-  SUIT_Session::session()->activeApplication()->putInfo("OnSubShapeGetSelected method from EntityGUI should be reimplemented ...");
- //  //* Test the type of viewer */
-//   if(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getTypeView() > VIEW_OCC)
-//     return false;
-
-//   SALOMEDS::Study_var aStudy = QAD_Application::getDesktop()->getActiveStudy()->getStudyDocument();
-//   SALOMEDS::SObject_var theObj = aStudy->FindObjectIOR(ShapeTopoIOR);
-//   if(theObj->_is_nil()) {
-//     QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_SHAPE_IN_STUDY"));
-//     return false;
-//   }
-
-//   OCCViewer_Viewer3d* v3d = ((OCCViewer_ViewFrame*)QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getRightFrame()->getViewFrame())->getViewer();
-//   Handle(AIS_InteractiveContext) ic = v3d->getAISContext();
-  
-//   if( myUseLocalContext == false ) {
-//     /* local context is from DialogBox */
-//     MESSAGE("Error : No local context opened for sub shapes method" << endl ) ;
-//     return false ;
-//   }
-
-//   GEOM::GEOM_Shape_var aShape  = myGeom->GetIORFromString( ShapeTopoIOR );
-//   TopoDS_Shape mainTopo = myGeomGUI->GetShapeReader().GetShape(myGeom, aShape);
-
-//   TopoDS_Shape mainShape;
-//   bool main = false;
-//   while(!main) {
-//     if(aShape->IsMainShape()) {
-//       mainShape = myGeomGUI->GetShapeReader().GetShape(myGeom, aShape);
-//       main = true;
-//     }
-//     else
-//       aShape = myGeom->GetIORFromString(aShape->MainName());
-//   }
-
-//   GEOM::GEOM_Shape::ListOfSubShapeID_var ListOfID = new GEOM::GEOM_Shape::ListOfSubShapeID;
-//   ic->InitSelected();
-//   int nbSelected = ic->NbSelected();
-//   ListOfID->length(nbSelected);
-  
-//   TopoDS_Compound compound;
-//   ic->InitSelected(); /* to init again */ 
-//   BRep_Builder B;
-//   B.MakeCompound(compound);
-
-//   int i = 0;
-//   /* We create a unique compound containing all the sub shapes selected by user as attribute of the main shape */
-//   /* the compound is homogenous by selection */
-//   while(ic->MoreSelected()) {
-//     int index = myGeomBase->GetIndex(ic->SelectedShape(), mainShape, SubShapeType);
-//     ListOfID[i] = index;
-//     B.Add(compound, ic->SelectedShape());
-//     i++;
-//     ic->NextSelected();
-//   }
-//   /* Test if user has selected sub shapes */
-//   if(ListOfID->length() < 1)
-//     return false;
-
-//   GEOM::GEOM_Shape_var aResult;
-//   try {
-//     aResult = myGeom->SubShape(aShape, SubShapeType, ListOfID);
-//   }
-//   catch (const SALOME::SALOME_Exception& S_ex) {
-//     SalomeApp_Tools::QtCatchCorbaException(S_ex);
-//   }
-
-//   /* local context from DialogBox */
-//   ic->CloseLocalContext(aLocalContextId);
-//   myUseLocalContext = false ;
-
-//   char* nameG = (char *)malloc(20);
-//   Standard_CString Type;
-
-//   Handle(GEOM_AISShape) result; 
-//   Handle(GEOM_InteractiveObject) IO;
-
-//   if(nbSelected == 1) {
-//     TopExp_Explorer Exp (compound, TopAbs_ShapeEnum(SubShapeType));
-//     if(Exp.More()) {
-//       if(myGeomBase->GetShapeTypeString(Exp.Current(),Type)) {
-//     aResult->NameType(Type);
-//     sprintf (nameG, "%s_%d", Type, myGeomBase->GetIndex( Exp.Current(), mainTopo, SubShapeType));
-//       } 
-//       else {
-//     aResult->NameType(tr("GEOM_SHAPE"));
-//     sprintf (nameG, "%s_%d", tr("GEOM_SHAPE").latin1(), myGeomGUI->myNbGeom++);
-//       }
-//       result = new GEOM_AISShape(Exp.Current(), nameG);
-//       IO = new GEOM_InteractiveObject(aResult->Name(), myGeomGUI->GetFatherior(), "GEOM");
-//     }
-//   }
-//   else {
-//     if ( myGeomBase->GetShapeTypeString(compound,Type)) {
-//       aResult->NameType(Type);
-//       sprintf (nameG, "%s_%d", Type, myGeomGUI->myNbGeom++);
-//     } else {
-//       aResult->NameType(tr("GEOM_SHAPE"));
-//       sprintf (nameG, "%s_%d", tr("GEOM_SHAPE").latin1(), myGeomGUI->myNbGeom++);
-//     }
-//     result = new GEOM_AISShape(compound, nameG);
-//     IO = new GEOM_InteractiveObject(aResult->Name(), myGeomGUI->GetFatherior(), "GEOM");
-//   }
-  
-//   SALOMEDS::SObject_var SO = aStudy->FindObjectIOR(aResult->Name());
-  
-//   /* open transaction */
-//   QAD_Operation* op = new SALOMEGUI_ImportOperation(QAD_Application::getDesktop()->getActiveStudy());
-//   op->start();
-  
-//   SALOMEDS::StudyBuilder_var aStudyBuilder = aStudy->NewBuilder();
-//   SALOMEDS::SObject_var fatherSF = aStudy->FindObjectID(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->entry());
-//   SALOMEDS::GenericAttribute_var anAttr;
-//   SALOMEDS::AttributeName_var aName;
-//   SALOMEDS::AttributeIOR_var anIOR;
-//   SALOMEDS::AttributePixMap_var aPixmap;
-//   bool allreadyexist = false;
-
-//   if(SO->_is_nil()) {
-//     SALOMEDS::SObject_var newObj = aStudyBuilder->NewObject(theObj);
-//     anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeIOR");
-//     anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-//     anIOR->SetValue(aResult->Name());
-//     anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributeName");
-//     aName = SALOMEDS::AttributeName::_narrow(anAttr);
-//     aName->SetValue(result->getName());
-    
-//     anAttr = aStudyBuilder->FindOrCreateAttribute(newObj, "AttributePixMap");
-//     aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
-//     if(result->Shape().ShapeType() == TopAbs_COMPOUND)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_COMPOUND");
-//     else if(result->Shape().ShapeType() == TopAbs_COMPSOLID)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_COMPSOLID");
-//     else if(result->Shape().ShapeType() == TopAbs_SOLID)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_SOLID");
-//     else if(result->Shape().ShapeType() == TopAbs_SHELL)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_SHELL");
-//     else if(result->Shape().ShapeType() == TopAbs_FACE)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_FACE");
-//     else if(result->Shape().ShapeType() == TopAbs_WIRE)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_WIRE");
-//     else if(result->Shape().ShapeType() == TopAbs_EDGE)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_EDGE");
-//     else if(result->Shape().ShapeType() == TopAbs_VERTEX)
-//       aPixmap->SetPixMap("ICON_OBJBROWSER_VERTEX");
-
-//     SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(fatherSF);
-//     aStudyBuilder->Addreference(newObj1, newObj);
-    
-//     IO->setEntry(newObj->GetID());
-//     aResult->StudyShapeId(newObj->GetID());
-//   } 
-//   else {
-//     allreadyexist = true;
-//     if(!this->SObjectExist(theObj, aResult->Name())) {
-//       SALOMEDS::SObject_var newObj1 = aStudyBuilder->NewObject(theObj);
-//       aStudyBuilder->Addreference(newObj1, SO);
-    
-//       IO->setEntry(SO->GetID());
-//       aResult->StudyShapeId(SO->GetID());
-//     }
-//   }
-  
-//   /* commit transaction */
-//   op->finish();
-  
-//   result->setIO(IO);
-//   result->setName(nameG);
-
-//   if(!allreadyexist)
-//     ic->Display(result);
-
-//   DisplayGUI* myDisplayGUI = new DisplayGUI();
-//   myDisplayGUI->OnDisplayAll(true);
-
-//   QAD_Application::getDesktop()->getActiveStudy()->updateObjBrowser();
-//   QAD_Application::getDesktop()->putInfo (tr("GEOM_PRP_READY"));
-  return true;
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return EntityGUI::GetEntityGUI( parent );
-  }
-}
diff --git a/src/EntityGUI/EntityGUI.h b/src/EntityGUI/EntityGUI.h
deleted file mode 100644 (file)
index fe2f7d8..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef ENTITYGUI_H
-#define ENTITYGUI_H
-
-#include "GEOMGUI.h"
-#include "GEOMBase.h"
-
-#include "SALOMEDSClient.hxx"
-
-//=================================================================================
-// class    : EntityGUI
-// purpose  :
-//=================================================================================
-class EntityGUI : public GEOMGUI
-{
-protected:
-  EntityGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~EntityGUI();
-
-  // Get the only EntityGUI object
-  static EntityGUI* GetEntityGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-  void OnSketchEnd(const char *Cmd);
-
-  void DisplaySimulationShape(const TopoDS_Shape& S1, const TopoDS_Shape& S2); 
-  void EraseSimulationShape();
-
-  void MakeInterpolAndDisplay(GEOM::string_array& listShapesIOR);
-  void MakeBezierAndDisplay(GEOM::string_array& listShapesIOR);
-
-    /* Methods for sub shapes explode */
-  bool SObjectExist(const _PTR(SObject)& theFatherObject, const char* IOR);
-  bool OnSubShapeGetAll(const TopoDS_Shape& ShapeTopo, const char* ShapeTopoIOR, const int SubShapeType);  
-  bool OnSubShapeGetSelected(const TopoDS_Shape& ShapeTopo, const char* ShapeTopoIOR, const int SubShapeType,
-                            Standard_Integer& aLocalContextId, bool& myUseLocalContext);
-
-  /* AIS shape used only during topo/geom simulations */
-  Handle(AIS_Shape) mySimulationShape1;
-  Handle(AIS_Shape) mySimulationShape2;
-
-  GEOMBase* myGeomBase;
-  GEOM::GEOM_Gen_var myGeom;   /* Current Geom Component */
-
-private:
-  static EntityGUI* myGUIObject;    // the only EntityGUI object
-};
-
-#endif
diff --git a/src/EntityGUI/EntityGUI_1Sel_QTD.cxx b/src/EntityGUI/EntityGUI_1Sel_QTD.cxx
deleted file mode 100644 (file)
index 824a6ec..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_1Sel_QTD.ui'
-**
-** Created: Thu Aug 12 19:03:19 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_1Sel_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_1Sel_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_1Sel_QTD::EntityGUI_1Sel_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_1Sel_QTD" );
-    resize( 329, 112 ); 
-    setCaption( trUtf8( "EntityGUI_1Sel_QTD" ) );
-    EntityGUI_1Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_1Sel_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "Values" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 163, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer, 2, 0 );
-
-    buttonApply = new QPushButton( GroupBox1, "buttonApply" );
-    buttonApply->setText( trUtf8( "Create" ) );
-
-    Layout3->addWidget( buttonApply, 0, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    buttonRedo = new QPushButton( GroupBox1, "buttonRedo" );
-    buttonRedo->setText( trUtf8( "Redo" ) );
-
-    Layout2->addWidget( buttonRedo, 0, 1 );
-
-    buttonUndo = new QPushButton( GroupBox1, "buttonUndo" );
-    buttonUndo->setText( trUtf8( "Undo" ) );
-
-    Layout2->addWidget( buttonUndo, 0, 0 );
-
-    Layout3->addLayout( Layout2, 1, 0 );
-
-    Layout4->addLayout( Layout3, 0, 1 );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-    QSpacerItem* spacer_2 = new QSpacerItem( 0, 180, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer_2, 1, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-    LineEdit1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, LineEdit1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    Layout4->addLayout( Layout1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout4, 0, 0 );
-
-    EntityGUI_1Sel_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_1Sel_QTD::~EntityGUI_1Sel_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_1Sel_QTD.h b/src/EntityGUI/EntityGUI_1Sel_QTD.h
deleted file mode 100644 (file)
index 36e1376..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_1Sel_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_1SEL_QTD_H
-#define ENTITYGUI_1SEL_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class EntityGUI_1Sel_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_1Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_1Sel_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* buttonApply;
-    QPushButton* buttonRedo;
-    QPushButton* buttonUndo;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* EntityGUI_1Sel_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_1SEL_QTD_H
diff --git a/src/EntityGUI/EntityGUI_1Spin.cxx b/src/EntityGUI/EntityGUI_1Spin.cxx
deleted file mode 100644 (file)
index 131a455..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_1Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "EntityGUI_1Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a EntityGUI_1Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-EntityGUI_1Spin::EntityGUI_1Spin(QWidget* parent, const char* name, WFlags fl)
-  :EntityGUI_1Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_1Spin::~EntityGUI_1Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/EntityGUI/EntityGUI_1Spin.h b/src/EntityGUI/EntityGUI_1Spin.h
deleted file mode 100644 (file)
index fb5814c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_1Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef ENTITYGUI_1SPIN_H
-#define ENTITYGUI_1SPIN_H
-
-#include "EntityGUI_1Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class EntityGUI_1Spin : public EntityGUI_1Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_1Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~EntityGUI_1Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-
-};
-
-#endif // ENTITYGUI_1SPIN_H
diff --git a/src/EntityGUI/EntityGUI_1Spin_QTD.cxx b/src/EntityGUI/EntityGUI_1Spin_QTD.cxx
deleted file mode 100644 (file)
index b96c0e1..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_1Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:05:59 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_1Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_1Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_1Spin_QTD::EntityGUI_1Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_1Spin_QTD" );
-    resize( 255, 112 ); 
-    setCaption( trUtf8( "EntityGUI_1Spin_QTD" ) );
-    EntityGUI_1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_1Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "Values" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 82, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 1 );
-
-    Layout4->addLayout( Layout1, 0, 0 );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    buttonRedo = new QPushButton( GroupBox1, "buttonRedo" );
-    buttonRedo->setText( trUtf8( "Redo" ) );
-
-    Layout2->addWidget( buttonRedo, 0, 1 );
-
-    buttonUndo = new QPushButton( GroupBox1, "buttonUndo" );
-    buttonUndo->setText( trUtf8( "Undo" ) );
-
-    Layout2->addWidget( buttonUndo, 0, 0 );
-
-    Layout3->addLayout( Layout2, 1, 0 );
-
-    buttonApply = new QPushButton( GroupBox1, "buttonApply" );
-    buttonApply->setText( trUtf8( "Create" ) );
-
-    Layout3->addWidget( buttonApply, 0, 0 );
-    QSpacerItem* spacer_2 = new QSpacerItem( 0, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer_2, 2, 0 );
-
-    Layout4->addLayout( Layout3, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout4, 0, 0 );
-
-    EntityGUI_1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_1Spin_QTD::~EntityGUI_1Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_1Spin_QTD.h b/src/EntityGUI/EntityGUI_1Spin_QTD.h
deleted file mode 100644 (file)
index 9e54987..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_1Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:05:59 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_1SPIN_QTD_H
-#define ENTITYGUI_1SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QPushButton;
-class QSpinBox;
-
-class EntityGUI_1Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_1Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QSpinBox* SpinBox1;
-    QPushButton* buttonRedo;
-    QPushButton* buttonUndo;
-    QPushButton* buttonApply;
-
-
-protected:
-    QGridLayout* EntityGUI_1Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* Layout1;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-};
-
-#endif // ENTITYGUI_1SPIN_QTD_H
diff --git a/src/EntityGUI/EntityGUI_2Spin.cxx b/src/EntityGUI/EntityGUI_2Spin.cxx
deleted file mode 100644 (file)
index b71d731..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_2Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "EntityGUI_2Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a EntityGUI_2Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-EntityGUI_2Spin::EntityGUI_2Spin(QWidget* parent, const char* name, WFlags fl)
-  :EntityGUI_2Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_2Spin::~EntityGUI_2Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/EntityGUI/EntityGUI_2Spin.h b/src/EntityGUI/EntityGUI_2Spin.h
deleted file mode 100644 (file)
index 4d0dd21..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_2Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef ENTITYGUI_2SPIN_H
-#define ENTITYGUI_2SPIN_H
-
-#include "EntityGUI_2Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class EntityGUI_2Spin : public EntityGUI_2Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
-    ~EntityGUI_2Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-
-};
-
-#endif // ENTITYGUI_2SPIN_H
diff --git a/src/EntityGUI/EntityGUI_2Spin_QTD.cxx b/src/EntityGUI/EntityGUI_2Spin_QTD.cxx
deleted file mode 100644 (file)
index a742db3..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_2Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_2Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_2Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_2Spin_QTD::EntityGUI_2Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_2Spin_QTD" );
-    resize( 255, 112 ); 
-    setCaption( trUtf8( "EntityGUI_2Spin_QTD" ) );
-    EntityGUI_2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_2Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "Values" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 82, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 1 );
-
-    Layout4->addLayout( Layout1, 0, 0 );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-    QSpacerItem* spacer_2 = new QSpacerItem( 0, 51, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer_2, 2, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    buttonUndo = new QPushButton( GroupBox1, "buttonUndo" );
-    buttonUndo->setText( trUtf8( "Undo" ) );
-
-    Layout2->addWidget( buttonUndo, 0, 0 );
-
-    buttonRedo = new QPushButton( GroupBox1, "buttonRedo" );
-    buttonRedo->setText( trUtf8( "Redo" ) );
-
-    Layout2->addWidget( buttonRedo, 0, 1 );
-
-    Layout3->addLayout( Layout2, 1, 0 );
-
-    buttonApply = new QPushButton( GroupBox1, "buttonApply" );
-    buttonApply->setText( trUtf8( "Create" ) );
-
-    Layout3->addWidget( buttonApply, 0, 0 );
-
-    Layout4->addLayout( Layout3, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout4, 0, 0 );
-
-    EntityGUI_2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_2Spin_QTD::~EntityGUI_2Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_2Spin_QTD.h b/src/EntityGUI/EntityGUI_2Spin_QTD.h
deleted file mode 100644 (file)
index 8c23b23..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_2Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_2SPIN_QTD_H
-#define ENTITYGUI_2SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QPushButton;
-class QSpinBox;
-
-class EntityGUI_2Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_2Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox2;
-    QPushButton* buttonUndo;
-    QPushButton* buttonRedo;
-    QPushButton* buttonApply;
-
-
-protected:
-    QGridLayout* EntityGUI_2Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* Layout1;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-};
-
-#endif // ENTITYGUI_2SPIN_QTD_H
diff --git a/src/EntityGUI/EntityGUI_3Spin.cxx b/src/EntityGUI/EntityGUI_3Spin.cxx
deleted file mode 100644 (file)
index fe73aeb..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_3Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "EntityGUI_3Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a EntityGUI_3Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-EntityGUI_3Spin::EntityGUI_3Spin(QWidget* parent,  const char* name, WFlags fl)
-  :EntityGUI_3Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-  SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout1->addWidget(SpinBox_DZ, 2, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_3Spin::~EntityGUI_3Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/EntityGUI/EntityGUI_3Spin.h b/src/EntityGUI/EntityGUI_3Spin.h
deleted file mode 100644 (file)
index 58b732d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_3Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef ENTITYGUI_3SPIN_H
-#define ENTITYGUI_3SPIN_H
-
-#include "EntityGUI_3Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class EntityGUI_3Spin : public EntityGUI_3Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_3Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_3Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-
-};
-
-#endif // ENTITYGUI_3SPIN_H
diff --git a/src/EntityGUI/EntityGUI_3Spin_QTD.cxx b/src/EntityGUI/EntityGUI_3Spin_QTD.cxx
deleted file mode 100644 (file)
index 9a2dd47..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_3Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_3Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_3Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_3Spin_QTD::EntityGUI_3Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_3Spin_QTD" );
-    resize( 255, 125 ); 
-    setCaption( trUtf8( "EntityGUI_3Spin_QTD" ) );
-    EntityGUI_3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_3Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "Values" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    buttonApply = new QPushButton( GroupBox1, "buttonApply" );
-    buttonApply->setText( trUtf8( "Create" ) );
-
-    Layout3->addWidget( buttonApply, 0, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 121, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer, 2, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    buttonUndo = new QPushButton( GroupBox1, "buttonUndo" );
-    buttonUndo->setText( trUtf8( "Undo" ) );
-
-    Layout2->addWidget( buttonUndo, 0, 0 );
-
-    buttonRedo = new QPushButton( GroupBox1, "buttonRedo" );
-    buttonRedo->setText( trUtf8( "Redo" ) );
-
-    Layout2->addWidget( buttonRedo, 0, 1 );
-
-    Layout3->addLayout( Layout2, 1, 0 );
-
-    Layout4->addLayout( Layout3, 0, 1 );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-    QSpacerItem* spacer_2 = new QSpacerItem( 0, 82, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer_2, 3, 1 );
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox3, 2, 1 );
-
-    Layout4->addLayout( Layout1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout4, 0, 0 );
-
-    EntityGUI_3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_3Spin_QTD::~EntityGUI_3Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_3Spin_QTD.h b/src/EntityGUI/EntityGUI_3Spin_QTD.h
deleted file mode 100644 (file)
index 314ca57..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_3Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_3SPIN_QTD_H
-#define ENTITYGUI_3SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QPushButton;
-class QSpinBox;
-
-class EntityGUI_3Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_3Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* buttonApply;
-    QPushButton* buttonUndo;
-    QPushButton* buttonRedo;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QSpinBox* SpinBox1;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox3;
-
-
-protected:
-    QGridLayout* EntityGUI_3Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_3SPIN_QTD_H
diff --git a/src/EntityGUI/EntityGUI_4Spin.cxx b/src/EntityGUI/EntityGUI_4Spin.cxx
deleted file mode 100644 (file)
index 29aa398..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_4Spin.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "EntityGUI_4Spin.h"
-
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
-
-/* 
- *  Constructs a EntityGUI_4Spin which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f' 
- */
-EntityGUI_4Spin::EntityGUI_4Spin(QWidget* parent,  const char* name, WFlags fl)
-  :EntityGUI_4Spin_QTD(parent, name, fl)
-{
-  SpinBox1->close(TRUE);
-  SpinBox2->close(TRUE);
-  SpinBox3->close(TRUE);
-  SpinBox4->close(TRUE);
-
-  SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
-  Layout1->addWidget(SpinBox_DX, 0, 1);
-
-  SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
-  Layout1->addWidget(SpinBox_DY, 1, 1);
-
-  SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
-  Layout1->addWidget(SpinBox_DZ, 2, 1);
-
-  SpinBox_DS = new DlgRef_SpinBox(GroupBox1, "SpinBox_DS");
-  Layout1->addWidget(SpinBox_DS, 3, 1);
-}
-
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_4Spin::~EntityGUI_4Spin()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
diff --git a/src/EntityGUI/EntityGUI_4Spin.h b/src/EntityGUI/EntityGUI_4Spin.h
deleted file mode 100644 (file)
index 9a97fff..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_4Spin.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef ENTITYGUI_4SPIN_H
-#define ENTITYGUI_4SPIN_H
-
-#include "EntityGUI_4Spin_QTD.h"
-#include "DlgRef_SpinBox.h"
-
-class EntityGUI_4Spin : public EntityGUI_4Spin_QTD
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_4Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_4Spin();
-
-    DlgRef_SpinBox* SpinBox_DX;
-    DlgRef_SpinBox* SpinBox_DY;
-    DlgRef_SpinBox* SpinBox_DZ;
-    DlgRef_SpinBox* SpinBox_DS;
-
-};
-
-#endif // ENTITYGUI_4SPIN_H
diff --git a/src/EntityGUI/EntityGUI_4Spin_QTD.cxx b/src/EntityGUI/EntityGUI_4Spin_QTD.cxx
deleted file mode 100644 (file)
index d449bef..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_4Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_4Spin_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_4Spin_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_4Spin_QTD::EntityGUI_4Spin_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_4Spin_QTD" );
-    resize( 255, 154 ); 
-    setCaption( trUtf8( "EntityGUI_4Spin_QTD" ) );
-    EntityGUI_4Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_4Spin_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setTitle( trUtf8( "Values" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    buttonRedo = new QPushButton( GroupBox1, "buttonRedo" );
-    buttonRedo->setText( trUtf8( "Redo" ) );
-
-    Layout2->addWidget( buttonRedo, 0, 1 );
-
-    buttonUndo = new QPushButton( GroupBox1, "buttonUndo" );
-    buttonUndo->setText( trUtf8( "Undo" ) );
-
-    Layout2->addWidget( buttonUndo, 0, 0 );
-
-    Layout3->addLayout( Layout2, 1, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 45, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout3->addItem( spacer, 2, 0 );
-
-    buttonApply = new QPushButton( GroupBox1, "buttonApply" );
-    buttonApply->setText( trUtf8( "Create" ) );
-
-    Layout3->addWidget( buttonApply, 0, 0 );
-
-    Layout4->addLayout( Layout3, 0, 1 );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" );
-    SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox3, 2, 1 );
-
-    SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" );
-    SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox2, 1, 1 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-    QSpacerItem* spacer_2 = new QSpacerItem( 0, 70, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer_2, 4, 1 );
-
-    SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" );
-    SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox4, 3, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" );
-    SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( SpinBox1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout1->addWidget( TextLabel4, 3, 0 );
-
-    Layout4->addLayout( Layout1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout4, 0, 0 );
-
-    EntityGUI_4Spin_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_4Spin_QTD::~EntityGUI_4Spin_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_4Spin_QTD.h b/src/EntityGUI/EntityGUI_4Spin_QTD.h
deleted file mode 100644 (file)
index 13d983f..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_4Spin_QTD.ui'
-**
-** Created: Fri Jul 30 16:06:00 2004
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_4SPIN_QTD_H
-#define ENTITYGUI_4SPIN_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QPushButton;
-class QSpinBox;
-
-class EntityGUI_4Spin_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_4Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_4Spin_QTD();
-
-    QGroupBox* GroupBox1;
-    QPushButton* buttonRedo;
-    QPushButton* buttonUndo;
-    QPushButton* buttonApply;
-    QSpinBox* SpinBox3;
-    QSpinBox* SpinBox2;
-    QLabel* TextLabel2;
-    QSpinBox* SpinBox4;
-    QLabel* TextLabel3;
-    QSpinBox* SpinBox1;
-    QLabel* TextLabel1;
-    QLabel* TextLabel4;
-
-
-protected:
-    QGridLayout* EntityGUI_4Spin_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* Layout3;
-    QGridLayout* Layout2;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_4SPIN_QTD_H
diff --git a/src/EntityGUI/EntityGUI_Dir1_QTD.cxx b/src/EntityGUI/EntityGUI_Dir1_QTD.cxx
deleted file mode 100644 (file)
index 40b070b..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_Dir1_QTD.ui'
-**
-** Created: ven déc 12 11:17:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_Dir1_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_Dir1_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_Dir1_QTD::EntityGUI_Dir1_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_Dir1_QTD" );
-    resize( 131, 123 ); 
-    setCaption( trUtf8( "EntityGUI_Dir1_QTD" ) );
-    EntityGUI_Dir1_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_Dir1_QTDLayout"); 
-
-    GroupDir1 = new QButtonGroup( this, "GroupDir1" );
-    GroupDir1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupDir1->sizePolicy().hasHeightForWidth() ) );
-    GroupDir1->setTitle( trUtf8( "Direction" ) );
-    GroupDir1->setColumnLayout(0, Qt::Vertical );
-    GroupDir1->layout()->setSpacing( 6 );
-    GroupDir1->layout()->setMargin( 11 );
-    GroupDir1Layout = new QGridLayout( GroupDir1->layout() );
-    GroupDir1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    RB_Dir12 = new QRadioButton( GroupDir1, "RB_Dir12" );
-    RB_Dir12->setText( trUtf8( "Perpendicular" ) );
-
-    Layout1->addWidget( RB_Dir12, 1, 0 );
-
-    RB_Dir13 = new QRadioButton( GroupDir1, "RB_Dir13" );
-    RB_Dir13->setText( trUtf8( "Tangent" ) );
-
-    Layout1->addWidget( RB_Dir13, 2, 0 );
-
-    RB_Dir11 = new QRadioButton( GroupDir1, "RB_Dir11" );
-    RB_Dir11->setText( trUtf8( "Angle" ) );
-
-    Layout1->addWidget( RB_Dir11, 0, 0 );
-
-    RB_Dir14 = new QRadioButton( GroupDir1, "RB_Dir14" );
-    RB_Dir14->setText( trUtf8( "VX-VY" ) );
-
-    Layout1->addWidget( RB_Dir14, 3, 0 );
-
-    GroupDir1Layout->addLayout( Layout1, 0, 0 );
-
-    EntityGUI_Dir1_QTDLayout->addWidget( GroupDir1, 0, 0 );
-
-    // tab order
-    setTabOrder( RB_Dir11, RB_Dir12 );
-    setTabOrder( RB_Dir12, RB_Dir13 );
-    setTabOrder( RB_Dir13, RB_Dir14 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_Dir1_QTD::~EntityGUI_Dir1_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_Dir1_QTD.h b/src/EntityGUI/EntityGUI_Dir1_QTD.h
deleted file mode 100644 (file)
index 31a85e8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_Dir1_QTD.ui'
-**
-** Created: ven déc 12 11:17:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_DIR1_QTD_H
-#define ENTITYGUI_DIR1_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QRadioButton;
-
-class EntityGUI_Dir1_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_Dir1_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_Dir1_QTD();
-
-    QButtonGroup* GroupDir1;
-    QRadioButton* RB_Dir12;
-    QRadioButton* RB_Dir13;
-    QRadioButton* RB_Dir11;
-    QRadioButton* RB_Dir14;
-
-
-protected:
-    QGridLayout* EntityGUI_Dir1_QTDLayout;
-    QGridLayout* GroupDir1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_DIR1_QTD_H
diff --git a/src/EntityGUI/EntityGUI_Dir2_QTD.cxx b/src/EntityGUI/EntityGUI_Dir2_QTD.cxx
deleted file mode 100644 (file)
index 6fee081..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_Dir2_QTD.ui'
-**
-** Created: ven déc 12 11:17:10 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_Dir2_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_Dir2_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_Dir2_QTD::EntityGUI_Dir2_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_Dir2_QTD" );
-    resize( 124, 106 ); 
-    setCaption( trUtf8( "EntityGUI_Dir2_QTD" ) );
-    EntityGUI_Dir2_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_Dir2_QTDLayout"); 
-
-    GroupDir2 = new QButtonGroup( this, "GroupDir2" );
-    GroupDir2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupDir2->sizePolicy().hasHeightForWidth() ) );
-    GroupDir2->setTitle( trUtf8( "Direction" ) );
-    GroupDir2->setColumnLayout(0, Qt::Vertical );
-    GroupDir2->layout()->setSpacing( 6 );
-    GroupDir2->layout()->setMargin( 11 );
-    GroupDir2Layout = new QGridLayout( GroupDir2->layout() );
-    GroupDir2Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    RB_Dir22 = new QRadioButton( GroupDir2, "RB_Dir22" );
-    RB_Dir22->setText( trUtf8( "X" ) );
-
-    Layout1->addWidget( RB_Dir22, 1, 0 );
-
-    RB_Dir23 = new QRadioButton( GroupDir2, "RB_Dir23" );
-    RB_Dir23->setText( trUtf8( "Y" ) );
-
-    Layout1->addWidget( RB_Dir23, 2, 0 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 0 );
-
-    RB_Dir21 = new QRadioButton( GroupDir2, "RB_Dir21" );
-    RB_Dir21->setText( trUtf8( "Length" ) );
-
-    Layout1->addWidget( RB_Dir21, 0, 0 );
-
-    GroupDir2Layout->addLayout( Layout1, 0, 0 );
-
-    EntityGUI_Dir2_QTDLayout->addWidget( GroupDir2, 0, 0 );
-
-    // tab order
-    setTabOrder( RB_Dir21, RB_Dir22 );
-    setTabOrder( RB_Dir22, RB_Dir23 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_Dir2_QTD::~EntityGUI_Dir2_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_Dir2_QTD.h b/src/EntityGUI/EntityGUI_Dir2_QTD.h
deleted file mode 100644 (file)
index 04ae738..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_Dir2_QTD.ui'
-**
-** Created: ven déc 12 11:17:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_DIR2_QTD_H
-#define ENTITYGUI_DIR2_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QRadioButton;
-
-class EntityGUI_Dir2_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_Dir2_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_Dir2_QTD();
-
-    QButtonGroup* GroupDir2;
-    QRadioButton* RB_Dir22;
-    QRadioButton* RB_Dir23;
-    QRadioButton* RB_Dir21;
-
-
-protected:
-    QGridLayout* EntityGUI_Dir2_QTDLayout;
-    QGridLayout* GroupDir2Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_DIR2_QTD_H
diff --git a/src/EntityGUI/EntityGUI_Point_QTD.cxx b/src/EntityGUI/EntityGUI_Point_QTD.cxx
deleted file mode 100644 (file)
index 901a14f..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_Point_QTD.ui'
-**
-** Created: ven déc 12 11:17:08 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_Point_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_Point_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-EntityGUI_Point_QTD::EntityGUI_Point_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_Point_QTD" );
-    resize( 124, 106 ); 
-    setCaption( trUtf8( "EntityGUI_Point_QTD" ) );
-    EntityGUI_Point_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "EntityGUI_Point_QTDLayout"); 
-
-    GroupPoint = new QButtonGroup( this, "GroupPoint" );
-    GroupPoint->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupPoint->sizePolicy().hasHeightForWidth() ) );
-    GroupPoint->setTitle( trUtf8( "Point" ) );
-    GroupPoint->setColumnLayout(0, Qt::Vertical );
-    GroupPoint->layout()->setSpacing( 6 );
-    GroupPoint->layout()->setMargin( 11 );
-    GroupPointLayout = new QGridLayout( GroupPoint->layout() );
-    GroupPointLayout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    RB_Point2 = new QRadioButton( GroupPoint, "RB_Point2" );
-    RB_Point2->setText( trUtf8( "Relative" ) );
-
-    Layout1->addWidget( RB_Point2, 1, 0 );
-
-    RB_Point1 = new QRadioButton( GroupPoint, "RB_Point1" );
-    RB_Point1->setText( trUtf8( "Absolute" ) );
-
-    Layout1->addWidget( RB_Point1, 0, 0 );
-
-    RB_Point3 = new QRadioButton( GroupPoint, "RB_Point3" );
-    RB_Point3->setText( trUtf8( "Selection" ) );
-
-    Layout1->addWidget( RB_Point3, 2, 0 );
-
-    GroupPointLayout->addLayout( Layout1, 0, 0 );
-
-    EntityGUI_Point_QTDLayout->addWidget( GroupPoint, 0, 0 );
-
-    // tab order
-    setTabOrder( RB_Point1, RB_Point2 );
-    setTabOrder( RB_Point2, RB_Point3 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_Point_QTD::~EntityGUI_Point_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_Point_QTD.h b/src/EntityGUI/EntityGUI_Point_QTD.h
deleted file mode 100644 (file)
index 8b58ee2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_Point_QTD.ui'
-**
-** Created: ven déc 12 11:17:08 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_POINT_QTD_H
-#define ENTITYGUI_POINT_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QRadioButton;
-
-class EntityGUI_Point_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_Point_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~EntityGUI_Point_QTD();
-
-    QButtonGroup* GroupPoint;
-    QRadioButton* RB_Point2;
-    QRadioButton* RB_Point1;
-    QRadioButton* RB_Point3;
-
-
-protected:
-    QGridLayout* EntityGUI_Point_QTDLayout;
-    QGridLayout* GroupPointLayout;
-    QGridLayout* Layout1;
-};
-
-#endif // ENTITYGUI_POINT_QTD_H
diff --git a/src/EntityGUI/EntityGUI_Skeleton_QTD.cxx b/src/EntityGUI/EntityGUI_Skeleton_QTD.cxx
deleted file mode 100644 (file)
index 8298731..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'EntityGUI_Skeleton_QTD.ui'
-**
-** Created: ven déc 12 11:17:08 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "EntityGUI_Skeleton_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a EntityGUI_Skeleton_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- *
- *  The dialog will by default be modeless, unless you set 'modal' to
- *  TRUE to construct a modal dialog.
- */
-EntityGUI_Skeleton_QTD::EntityGUI_Skeleton_QTD( QWidget* parent,  const char* name, bool modal, WFlags fl )
-    : QDialog( parent, name, modal, fl )
-{
-    if ( !name )
-       setName( "EntityGUI_Skeleton_QTD" );
-    resize( 317, 276 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "EntityGUI_Skeleton_QTD" ) );
-    EntityGUI_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "EntityGUI_Skeleton_QTDLayout"); 
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    GroupVal = new QGroupBox( this, "GroupVal" );
-    GroupVal->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupVal->sizePolicy().hasHeightForWidth() ) );
-    GroupVal->setTitle( trUtf8( "" ) );
-
-    Layout1->addWidget( GroupVal, 2, 0 );
-
-    GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
-    GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
-    GroupConstructors->setTitle( trUtf8( "Element Type" ) );
-    GroupConstructors->setColumnLayout(0, Qt::Vertical );
-    GroupConstructors->layout()->setSpacing( 6 );
-    GroupConstructors->layout()->setMargin( 11 );
-    GroupConstructorsLayout = new QGridLayout( GroupConstructors->layout() );
-    GroupConstructorsLayout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
-
-    RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
-    RadioButton1->setText( trUtf8( "Segment" ) );
-    Layout2->addWidget( RadioButton1 );
-
-    RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" );
-    RadioButton2->setText( trUtf8( "Arc" ) );
-    Layout2->addWidget( RadioButton2 );
-
-    GroupConstructorsLayout->addLayout( Layout2, 0, 0 );
-
-    Layout1->addWidget( GroupConstructors, 0, 0 );
-
-    GroupDest = new QGroupBox( this, "GroupDest" );
-    GroupDest->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupDest->sizePolicy().hasHeightForWidth() ) );
-    GroupDest->setTitle( trUtf8( "Destination" ) );
-    GroupDest->setColumnLayout(0, Qt::Vertical );
-    GroupDest->layout()->setSpacing( 6 );
-    GroupDest->layout()->setMargin( 11 );
-    GroupDestLayout = new QGridLayout( GroupDest->layout() );
-    GroupDestLayout->setAlignment( Qt::AlignTop );
-
-    Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
-
-    GroupDest1 = new QButtonGroup( GroupDest, "GroupDest1" );
-    GroupDest1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupDest1->sizePolicy().hasHeightForWidth() ) );
-    GroupDest1->setTitle( trUtf8( "Type" ) );
-    GroupDest1->setColumnLayout(0, Qt::Vertical );
-    GroupDest1->layout()->setSpacing( 6 );
-    GroupDest1->layout()->setMargin( 11 );
-    GroupDest1Layout = new QGridLayout( GroupDest1->layout() );
-    GroupDest1Layout->setAlignment( Qt::AlignTop );
-
-    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
-
-    RB_Dest2 = new QRadioButton( GroupDest1, "RB_Dest2" );
-    RB_Dest2->setText( trUtf8( "Direction" ) );
-
-    Layout4->addWidget( RB_Dest2, 0, 1 );
-
-    RB_Dest1 = new QRadioButton( GroupDest1, "RB_Dest1" );
-    RB_Dest1->setText( trUtf8( "Point" ) );
-
-    Layout4->addWidget( RB_Dest1, 0, 0 );
-
-    GroupDest1Layout->addLayout( Layout4, 0, 0 );
-
-    Layout5->addMultiCellWidget( GroupDest1, 0, 0, 0, 1 );
-
-    GroupDest2 = new QButtonGroup( GroupDest, "GroupDest2" );
-    GroupDest2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupDest2->sizePolicy().hasHeightForWidth() ) );
-    GroupDest2->setTitle( trUtf8( "" ) );
-    GroupDest2->setColumnLayout(0, Qt::Vertical );
-    GroupDest2->layout()->setSpacing( 6 );
-    GroupDest2->layout()->setMargin( 11 );
-    GroupDest2Layout = new QGridLayout( GroupDest2->layout() );
-    GroupDest2Layout->setAlignment( Qt::AlignTop );
-
-    Layout5->addWidget( GroupDest2, 1, 0 );
-
-    GroupDest3 = new QButtonGroup( GroupDest, "GroupDest3" );
-    GroupDest3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupDest3->sizePolicy().hasHeightForWidth() ) );
-    GroupDest3->setTitle( trUtf8( "" ) );
-    GroupDest3->setColumnLayout(0, Qt::Vertical );
-    GroupDest3->layout()->setSpacing( 6 );
-    GroupDest3->layout()->setMargin( 11 );
-    GroupDest3Layout = new QGridLayout( GroupDest3->layout() );
-    GroupDest3Layout->setAlignment( Qt::AlignTop );
-
-    Layout5->addWidget( GroupDest3, 1, 1 );
-
-    GroupDestLayout->addLayout( Layout5, 0, 0 );
-
-    Layout1->addWidget( GroupDest, 1, 0 );
-
-    GroupButtons = new QGroupBox( this, "GroupButtons" );
-    GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
-    GroupButtons->setTitle( trUtf8( "" ) );
-    GroupButtons->setColumnLayout(0, Qt::Vertical );
-    GroupButtons->layout()->setSpacing( 6 );
-    GroupButtons->layout()->setMargin( 11 );
-    GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
-    GroupButtonsLayout->setAlignment( Qt::AlignTop );
-
-    Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
-
-    buttonEnd = new QPushButton( GroupButtons, "buttonEnd" );
-    buttonEnd->setText( trUtf8( "End Sketch" ) );
-    Layout3->addWidget( buttonEnd );
-
-    buttonClose = new QPushButton( GroupButtons, "buttonClose" );
-    buttonClose->setText( trUtf8( "Close Sketch" ) );
-    Layout3->addWidget( buttonClose );
-    QSpacerItem* spacer = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
-    Layout3->addItem( spacer );
-
-    buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
-    buttonCancel->setText( trUtf8( "&Cancel" ) );
-    Layout3->addWidget( buttonCancel );
-    GroupButtonsLayout->addLayout( Layout3 );
-
-    Layout1->addWidget( GroupButtons, 3, 0 );
-
-    EntityGUI_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
-
-    // tab order
-    setTabOrder( RadioButton1, RadioButton2 );
-    setTabOrder( RadioButton2, RB_Dest1 );
-    setTabOrder( RB_Dest1, RB_Dest2 );
-    setTabOrder( RB_Dest2, buttonEnd );
-    setTabOrder( buttonEnd, buttonClose );
-    setTabOrder( buttonClose, buttonCancel );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-EntityGUI_Skeleton_QTD::~EntityGUI_Skeleton_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/EntityGUI/EntityGUI_Skeleton_QTD.h b/src/EntityGUI/EntityGUI_Skeleton_QTD.h
deleted file mode 100644 (file)
index 534f52c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'EntityGUI_Skeleton_QTD.ui'
-**
-** Created: ven déc 12 11:17:07 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef ENTITYGUI_SKELETON_QTD_H
-#define ENTITYGUI_SKELETON_QTD_H
-
-#include <qvariant.h>
-#include <qdialog.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QGroupBox;
-class QPushButton;
-class QRadioButton;
-
-class EntityGUI_Skeleton_QTD : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_Skeleton_QTD( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
-    ~EntityGUI_Skeleton_QTD();
-
-    QGroupBox* GroupVal;
-    QButtonGroup* GroupConstructors;
-    QRadioButton* RadioButton1;
-    QRadioButton* RadioButton2;
-    QGroupBox* GroupDest;
-    QButtonGroup* GroupDest1;
-    QRadioButton* RB_Dest2;
-    QRadioButton* RB_Dest1;
-    QButtonGroup* GroupDest2;
-    QButtonGroup* GroupDest3;
-    QGroupBox* GroupButtons;
-    QPushButton* buttonEnd;
-    QPushButton* buttonClose;
-    QPushButton* buttonCancel;
-
-
-protected:
-    QGridLayout* EntityGUI_Skeleton_QTDLayout;
-    QGridLayout* Layout1;
-    QGridLayout* GroupConstructorsLayout;
-    QHBoxLayout* Layout2;
-    QGridLayout* GroupDestLayout;
-    QGridLayout* Layout5;
-    QGridLayout* GroupDest1Layout;
-    QGridLayout* Layout4;
-    QGridLayout* GroupDest2Layout;
-    QGridLayout* GroupDest3Layout;
-    QHBoxLayout* GroupButtonsLayout;
-    QHBoxLayout* Layout3;
-};
-
-#endif // ENTITYGUI_SKELETON_QTD_H
diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx
deleted file mode 100644 (file)
index 8224cc5..0000000
+++ /dev/null
@@ -1,1406 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_SketcherDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include "EntityGUI_SketcherDlg.h"
-#include "Sketcher_Profile.hxx"
-#include "GEOM_Displayer.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SUIT_MessageBox.h"
-#include "SUIT_ResourceMgr.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qpushbutton.h>
-#include <qlabel.h>
-
-#include <BRep_Tool.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : EntityGUI_SketcherDlg()
-// purpose  : Constructs a EntityGUI_SketcherDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-EntityGUI_SketcherDlg::EntityGUI_SketcherDlg(GeometryGUI* GUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :EntityGUI_Skeleton_QTD(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose), myIsAllAdded( false ),
-   GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) ),
-   myGeometryGUI( GUI )
-{
-  myGeometryGUI->SetActiveDialogBox(this);
-
-  if ( !name ) setName("EntityGUI_SketcherDlg");
-
-  buttonCancel->setText(tr("GEOM_BUT_CANCEL"));
-  buttonEnd->setText(tr("GEOM_BUT_END_SKETCH"));
-  buttonClose->setText(tr("GEOM_BUT_CLOSE_SKETCH"));
-
-  GroupVal->close(TRUE);        
-  GroupDest2->close(TRUE);
-  GroupDest3->close(TRUE);
-
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_UNDO")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_REDO")));
-
-  setCaption(tr("GEOM_SKETCHER_TITLE"));
-
-  GroupConstructors->setTitle(tr("GEOM_SKETCHER_EL"));
-  RadioButton1->setText(tr("GEOM_SKETCHER_SEGMENT"));
-  RadioButton2->setText(tr("GEOM_SKETCHER_ARC"));
-  GroupDest->setTitle(tr("GEOM_SKETCHER_DEST"));
-  GroupDest1->setTitle(tr("GEOM_SKETCHER_TYPE"));
-  RB_Dest1->setText(tr("GEOM_SKETCHER_POINT"));
-  RB_Dest2->setText(tr("GEOM_SKETCHER_DIR"));
-
-  /***************************************************************/
-  GroupPt = new EntityGUI_Point_QTD(GroupDest, "GroupPt");
-  GroupPt->GroupPoint->setTitle(tr("GEOM_SKETCHER_POINT"));
-  GroupPt->RB_Point1->setText(tr("GEOM_SKETCHER_ABS"));
-  GroupPt->RB_Point2->setText(tr("GEOM_SKETCHER_REL"));
-  GroupPt->RB_Point3->setText(tr("GEOM_SKETCHER_SEL"));
-
-  GroupD1 = new EntityGUI_Dir1_QTD(GroupDest, "GroupD1");
-  GroupD1->GroupDir1->setTitle(tr("GEOM_SKETCHER_DIR"));
-  GroupD1->RB_Dir11->setText(tr("GEOM_SKETCHER_ANGLE"));
-  GroupD1->RB_Dir12->setText(tr("GEOM_SKETCHER_PER"));
-  GroupD1->RB_Dir13->setText(tr("GEOM_SKETCHER_TAN"));
-  GroupD1->RB_Dir14->setText(tr("GEOM_SKETCHER_VXVY"));
-
-  GroupD2 = new EntityGUI_Dir2_QTD(GroupDest, "GroupD2");
-  GroupD2->GroupDir2->setTitle(tr("GEOM_SKETCHER_DIR"));
-  GroupD2->RB_Dir21->setText(tr("GEOM_SKETCHER_LENGTH"));
-  GroupD2->RB_Dir22->setText(tr("GEOM_SKETCHER_X"));
-  GroupD2->RB_Dir23->setText(tr("GEOM_SKETCHER_Y"));
-
-  Group1Sel = new EntityGUI_1Sel_QTD(this, "Group1Sel");
-  Group1Sel->TextLabel1->setText(tr("GEOM_SKETCHER_POINT2"));
-  Group1Sel->GroupBox1->setTitle(tr("GEOM_SKETCHER_VALUES"));
-  Group1Sel->buttonApply->setText(tr("GEOM_SKETCHER_APPLY"));
-  Group1Sel->PushButton1->setPixmap(image0);
-  Group1Sel->buttonUndo->setPixmap(image1);
-  Group1Sel->buttonRedo->setPixmap(image2);
-  Group1Sel->LineEdit1->setReadOnly( true );
-
-  Group1Spin = new EntityGUI_1Spin(this, "Group1Spin");
-  Group1Spin->GroupBox1->setTitle(tr("GEOM_SKETCHER_VALUES"));
-  Group1Spin->buttonApply->setText(tr("GEOM_SKETCHER_APPLY"));
-  Group1Spin->buttonUndo->setPixmap(image1);
-  Group1Spin->buttonRedo->setPixmap(image2);
-
-  Group2Spin = new EntityGUI_2Spin(this, "Group2Spin");
-  Group2Spin->GroupBox1->setTitle(tr("GEOM_SKETCHER_VALUES"));
-  Group2Spin->buttonApply->setText(tr("GEOM_SKETCHER_APPLY"));
-  Group2Spin->buttonUndo->setPixmap(image1);
-  Group2Spin->buttonRedo->setPixmap(image2);
-
-  Group3Spin = new EntityGUI_3Spin(this, "Group3Spin");
-  Group3Spin->GroupBox1->setTitle(tr("GEOM_SKETCHER_VALUES"));
-  Group3Spin->buttonApply->setText(tr("GEOM_SKETCHER_APPLY"));
-  Group3Spin->buttonUndo->setPixmap(image1);
-  Group3Spin->buttonRedo->setPixmap(image2);
-
-  Group4Spin = new EntityGUI_4Spin(this, "Group4Spin");
-  Group4Spin->GroupBox1->setTitle(tr("GEOM_SKETCHER_VALUES"));
-  Group4Spin->buttonApply->setText(tr("GEOM_SKETCHER_APPLY"));
-  Group4Spin->buttonUndo->setPixmap(image1);
-  Group4Spin->buttonRedo->setPixmap(image2);
-
-  Layout5->addMultiCellWidget(GroupPt, 1, 1, 0, 1);
-  Layout5->addWidget(GroupD1, 1, 0);
-  Layout5->addWidget(GroupD2, 1, 1);
-
-  Layout1->addWidget(Group1Sel, 2, 0);
-  Layout1->addWidget(Group1Spin, 2, 0);
-  Layout1->addWidget(Group2Spin, 2, 0);
-  Layout1->addWidget(Group3Spin, 2, 0);
-  Layout1->addWidget(Group4Spin, 2, 0);
-  /***************************************************************/
-
-  /* signals and slots connections */
-  connect(buttonEnd, SIGNAL(clicked()), this, SLOT(ClickOnEnd()));
-  connect(buttonClose, SIGNAL(clicked()), this, SLOT(ClickOnEnd()));
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-
-  connect(Group1Sel->buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(Group1Sel->buttonUndo, SIGNAL(clicked()), this, SLOT(ClickOnUndo()));
-  connect(Group1Sel->buttonRedo, SIGNAL(clicked()), this, SLOT(ClickOnRedo()));
-  connect(Group1Spin->buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(Group1Spin->buttonUndo, SIGNAL(clicked()), this, SLOT(ClickOnUndo()));
-  connect(Group1Spin->buttonRedo, SIGNAL(clicked()), this, SLOT(ClickOnRedo()));
-  connect(Group2Spin->buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(Group2Spin->buttonUndo, SIGNAL(clicked()), this, SLOT(ClickOnUndo()));
-  connect(Group2Spin->buttonRedo, SIGNAL(clicked()), this, SLOT(ClickOnRedo()));
-  connect(Group3Spin->buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(Group3Spin->buttonUndo, SIGNAL(clicked()), this, SLOT(ClickOnUndo()));
-  connect(Group3Spin->buttonRedo, SIGNAL(clicked()), this, SLOT(ClickOnRedo()));
-  connect(Group4Spin->buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(Group4Spin->buttonUndo, SIGNAL(clicked()), this, SLOT(ClickOnUndo()));
-  connect(Group4Spin->buttonRedo, SIGNAL(clicked()), this, SLOT(ClickOnRedo()));
-
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(TypeClicked(int)));
-  connect(GroupDest1, SIGNAL(clicked(int)), this, SLOT(DestClicked(int)));
-  connect(GroupPt->GroupPoint, SIGNAL(clicked(int)), this, SLOT(PointClicked(int)));
-  connect(GroupD1->GroupDir1, SIGNAL(clicked(int)), this, SLOT(Dir1Clicked(int)));
-  connect(GroupD2->GroupDir2, SIGNAL(clicked(int)), this, SLOT(Dir2Clicked(int)));
-
-  connect(Group1Sel->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group1Sel->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group1Spin->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group2Spin->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group2Spin->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group3Spin->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group3Spin->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group3Spin->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group4Spin->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group4Spin->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group4Spin->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group4Spin->SpinBox_DS, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group1Spin->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group2Spin->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group2Spin->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group3Spin->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group3Spin->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group3Spin->SpinBox_DZ, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group4Spin->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group4Spin->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group4Spin->SpinBox_DZ, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), Group4Spin->SpinBox_DS, SLOT(SetStep(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeometryGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~EntityGUI_SketcherDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-EntityGUI_SketcherDlg::~EntityGUI_SketcherDlg()
-{
-       myGeometryGUI->SetActiveDialogBox( 0 );
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = Group1Sel->LineEdit1;
-  myCommand.append( "Sketcher" );
-  myUndoCommand.append( "Sketcher" );
-
-  mySketchState = FIRST_POINT;
-  globalSelection( GEOM_POINT );
-
-  myLastX1 = 0.0;
-  myLastY1 = 0.0;
-  myLastX2 = 0.0;
-  myLastY2 = 0.0;
-
-  /* Get setting of step value from file configuration */
-  double step = SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "SettingsGeomStep", 100.0 );
-
-  /* min, max, step and decimals for spin boxes */
-  Group1Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group2Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group3Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group3Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group3Spin->SpinBox_DZ->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group4Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 0.1, 3);
-  Group4Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 0.1, 3);
-  Group4Spin->SpinBox_DZ->RangeStepAndValidator(-999999.999, 999999.999, step, 3);
-  Group4Spin->SpinBox_DS->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-
-  /* displays Dialog */
-  GroupConstructors->setEnabled(false);
-  GroupDest1->setEnabled(false);
-  setEnabledUndo(false);
-  setEnabledRedo(false);
-
-  RadioButton1->setChecked(true);
-
-  resize( 0, 0 );
-  TypeClicked(0);
-
-  GEOMBase_Helper::displayPreview();
-}
-
-
-//=================================================================================
-// function : InitClick()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::InitClick()
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-
-  Group1Sel->hide();
-  Group1Spin->hide();
-  Group2Spin->hide();
-  Group3Spin->hide();
-  Group4Spin->hide();
-
-  resize(0, 0);
-}
-
-
-//=================================================================================
-// function : TypeClicked()
-// purpose  : Radio button management
-//=================================================================================
-void EntityGUI_SketcherDlg::TypeClicked(int constructorId)
-{
-  myConstructorId = constructorId;
-  if ( myConstructorId == 0 )     // SEGMENT
-  {
-    GroupD2->setEnabled(true);
-    RB_Dest1->setEnabled(true);
-    RB_Dest1->setChecked(true);
-    DestClicked(1);
-  }
-  else if (  myConstructorId == 1 ) // ARC
-  {
-    GroupD2->setEnabled(false);
-    RB_Dest1->setEnabled(false);
-    RB_Dest2->setChecked(true);
-    DestClicked(0);
-  }
-}
-
-
-//=================================================================================
-// function : DestClicked()
-// purpose  : Radio button management
-//=================================================================================
-void EntityGUI_SketcherDlg::DestClicked( int constructorId )
-{
-  GroupPt->hide();
-  GroupD1->hide();
-  GroupD2->hide();
-
-  if ( constructorId == 1 )
-  {  // Point
-    GroupPt->RB_Point1->setChecked(true);
-    GroupPt->show();
-    PointClicked(1);  // XY
-  }
-  else if (  constructorId == 0 )
-  {  // Direction
-    GroupD1->RB_Dir11->setChecked(true);
-    GroupD1->show();
-    GroupD2->show();
-    Dir1Clicked(2);  // Angle
-  }
-}
-
-
-//=================================================================================
-// function : PointClicked()
-// purpose  : Radio button management
-//=================================================================================
-void EntityGUI_SketcherDlg::PointClicked(int constructorId)
-{
-  InitClick();
-
-  if ( myConstructorId == 0 )
-  {  // SEGMENT
-    if ( constructorId == 1 )
-    {  // XY
-      mySketchType = PT_ABS;
-      Group2Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group2Spin->TextLabel1->setText(tr("GEOM_SKETCHER_X2"));
-      Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_Y2"));
-      myX = 0.0;
-      Group2Spin->SpinBox_DX->SetValue(myX);
-      myY = 0.0;
-      Group2Spin->SpinBox_DY->SetValue(myY);
-      Group2Spin->show();
-      Group2Spin->buttonApply->setFocus();
-
-      GEOMBase_Helper::displayPreview();
-    }
-    else if ( constructorId == 0 )
-    {  // DXDY
-      mySketchType = PT_RELATIVE;
-      Group2Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group2Spin->TextLabel1->setText(tr("GEOM_SKETCHER_DX2"));
-      Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_DY2"));
-      myDX = 0.0;
-      Group2Spin->SpinBox_DX->SetValue(myDX);
-      myDY = 0.0;
-      Group2Spin->SpinBox_DY->SetValue(myDY);
-      Group2Spin->show();
-      Group2Spin->buttonApply->setFocus();
-
-      GEOMBase_Helper::displayPreview();
-    }
-    else if ( constructorId == 2 )
-    {  // Selection
-      mySketchType = PT_SEL;
-      myEditCurrentArgument = Group1Sel->LineEdit1;
-      connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-             SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-      Group1Sel->show();
-      Group1Sel->buttonApply->setFocus();
-      SelectionIntoArgument();
-    }
-  }
-}
-
-
-//=================================================================================
-// function : Dir1Clicked()
-// purpose  : Radio button management
-//=================================================================================
-void EntityGUI_SketcherDlg::Dir1Clicked(int constructorId)
-{
-  myConstructorDirId = constructorId;
-  GroupD2->RB_Dir21->setChecked(true);
-  Dir2Clicked(2);
-}
-
-
-//=================================================================================
-// function : Dir2Clicked()
-// purpose  : Radio button management
-//=================================================================================
-void EntityGUI_SketcherDlg::Dir2Clicked(int constructorId)
-{
-  InitClick();
-  myAngle = 0.0;
-
-  if ( myConstructorId == 0 )
-  {  // SEGMENT
-    myX = 0.0;
-    myY = 0.0;
-    myLength = 100.0;
-    if ( myConstructorDirId == 2 )
-    {  // Angle
-      Group2Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-      Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group2Spin->TextLabel1->setText(tr("GEOM_SKETCHER_ANGLE2"));
-      Group2Spin->SpinBox_DX->SetValue(myAngle);
-      Group2Spin->buttonApply->setFocus();
-      Group2Spin->show();
-
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_ANGLE_LENGTH;
-                               Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_LENGTH2"));
-                               Group2Spin->SpinBox_DY->SetValue(myLength);
-      }
-      else if ( constructorId == 0 )
-      {  // X
-                               mySketchType = DIR_ANGLE_X;
-                               Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_X3"));
-                               Group2Spin->SpinBox_DY->SetValue(myX);
-      }
-      else if ( constructorId == 1 )
-      {  // Y
-                               mySketchType = DIR_ANGLE_Y;
-                               Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_Y3"));
-                               Group2Spin->SpinBox_DY->SetValue(myY);
-      }
-    }                   
-    else if ( myConstructorDirId == 0 )
-    {  // Perpendicular
-      Group1Spin->show();
-      Group1Spin->buttonApply->setFocus();
-
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_PER_LENGTH;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_LENGTH2"));
-                               Group1Spin->SpinBox_DX->SetValue(myLength);
-      }
-      else if ( constructorId == 0 )
-      {  // X
-                               mySketchType = DIR_PER_X;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_X3"));
-                               Group1Spin->SpinBox_DX->SetValue(myX);
-      }
-      else if ( constructorId == 1 )
-      {  // Y
-                               mySketchType = DIR_PER_Y;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_Y3"));
-                               Group1Spin->SpinBox_DX->SetValue(myY);
-      }
-    }
-    else if ( myConstructorDirId == 1 )
-    {  // Tangent
-      Group1Spin->show();
-      Group1Spin->buttonApply->setFocus();
-
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_TAN_LENGTH;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_LENGTH2"));
-                               Group1Spin->SpinBox_DX->SetValue(myLength);
-      }
-      else if ( constructorId == 0 )
-      {  // X
-                               mySketchType = DIR_TAN_X;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_X3"));
-                               Group1Spin->SpinBox_DX->SetValue(myX);
-      }
-      else if ( constructorId == 1 )
-      {  // Y
-                               mySketchType = DIR_TAN_Y;
-                               Group1Spin->TextLabel1->setText(tr("GEOM_SKETCHER_Y3"));
-                               Group1Spin->SpinBox_DX->SetValue(myY);
-      }
-    }
-    else if ( myConstructorDirId == 3 )
-    {  // DXDY
-      Group3Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 0.1, 3);
-      Group3Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 0.1, 3);
-      Group3Spin->SpinBox_DZ->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-      Group3Spin->TextLabel1->setText(tr("GEOM_SKETCHER_VX2"));
-      Group3Spin->TextLabel2->setText(tr("GEOM_SKETCHER_VY2"));
-      myDX = 0.0;
-      Group3Spin->SpinBox_DX->SetValue(myDX);
-      myDY = 0.0;
-      Group3Spin->SpinBox_DY->SetValue(myDY);
-      Group3Spin->show();
-      Group3Spin->buttonApply->setFocus();
-
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_DXDY_LENGTH;
-                               Group3Spin->TextLabel3->setText(tr("GEOM_SKETCHER_LENGTH2"));
-                               Group3Spin->SpinBox_DZ->SetValue(myLength);
-      }
-      else if ( constructorId == 0 )
-      {  // X
-                               mySketchType = DIR_DXDY_X;
-                               Group3Spin->TextLabel3->setText(tr("GEOM_SKETCHER_X3"));
-                               Group3Spin->SpinBox_DZ->SetValue(myX);
-      }
-      else if ( constructorId == 1 )
-      {  // Y
-                               mySketchType = DIR_DXDY_Y;
-                               Group3Spin->TextLabel3->setText(tr("GEOM_SKETCHER_Y3"));
-                               Group3Spin->SpinBox_DZ->SetValue(myY);
-      }
-    }
-  }
-  else if ( myConstructorId == 1 )
-  {  // ARC
-    if ( myConstructorDirId == 2 )
-    {  // Angle
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_ANGLE_LENGTH;
-                               Group3Spin->SpinBox_DX->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-                               Group3Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-                               Group3Spin->SpinBox_DZ->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-                               Group3Spin->TextLabel1->setText(tr("GEOM_SKETCHER_ANGLE2"));
-                               Group3Spin->TextLabel2->setText(tr("GEOM_SKETCHER_RADIUS2"));
-                               Group3Spin->TextLabel3->setText(tr("GEOM_SKETCHER_ANGLE2"));
-                               Group3Spin->SpinBox_DX->SetValue(myAngle);
-                               myRadius = 100.0;
-                               Group3Spin->SpinBox_DY->SetValue(myRadius);
-                               myLength = 30.0;
-                               Group3Spin->SpinBox_DZ->SetValue(myLength);
-                               Group3Spin->show();
-                               Group3Spin->buttonApply->setFocus();
-      }
-    }
-    else if ( myConstructorDirId == 0 )
-    {  // Perpendicular
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_PER_LENGTH;
-                               Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-                               Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-                               Group2Spin->TextLabel1->setText(tr("GEOM_SKETCHER_RADIUS2"));
-                               Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_ANGLE2"));
-                               myRadius = 100.0;
-                               Group2Spin->SpinBox_DX->SetValue(myRadius);
-                               myLength = 30.0;
-                               Group2Spin->SpinBox_DY->SetValue(myLength);
-                               Group2Spin->show();
-                               Group2Spin->buttonApply->setFocus();
-      }
-    }
-    else if ( myConstructorDirId == 1 )
-    {  // Tangent
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_TAN_LENGTH;
-                               Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 100., 3);
-                               Group2Spin->SpinBox_DY->RangeStepAndValidator(-999999.999, 999999.999, 5., 3);
-                               Group2Spin->TextLabel1->setText(tr("GEOM_SKETCHER_RADIUS2"));
-                               Group2Spin->TextLabel2->setText(tr("GEOM_SKETCHER_ANGLE2"));
-                               myRadius = 100.0;
-                               Group2Spin->SpinBox_DX->SetValue(myRadius);
-                               myLength = 30.0;
-                               Group2Spin->SpinBox_DY->SetValue(myLength);
-                               Group2Spin->show();
-                               Group2Spin->buttonApply->setFocus();
-      }
-    }
-    else if ( myConstructorDirId == 3 )
-    {  // DXDY
-      if ( constructorId == 2 )
-      {  // Length
-                               mySketchType = DIR_DXDY_LENGTH;
-                               Group4Spin->TextLabel1->setText(tr("GEOM_SKETCHER_VX2"));
-                               Group4Spin->TextLabel2->setText(tr("GEOM_SKETCHER_VY2"));
-                               Group4Spin->TextLabel3->setText(tr("GEOM_SKETCHER_RADIUS2"));
-                               Group4Spin->TextLabel4->setText(tr("GEOM_SKETCHER_ANGLE2"));
-                               myDX = 0.0;
-                               Group4Spin->SpinBox_DX->SetValue(myDX);
-                               myDY = 0.0;
-                               Group4Spin->SpinBox_DY->SetValue(myDY);
-                               myRadius = 100.0;
-                               Group4Spin->SpinBox_DZ->SetValue(myRadius);
-                               myLength = 30.0;
-                               Group4Spin->SpinBox_DS->SetValue(myLength);
-                               Group4Spin->show();
-                               Group4Spin->buttonApply->setFocus();
-      }
-    }
-  }
-
-  GEOMBase_Helper::displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::ClickOnCancel()
-{
-  close();
-}
-
-
-//=================================================================================
-// function : ClickOnEnd()
-// purpose  : connected to buttonEnd AND buttonClose
-//=================================================================================
-void EntityGUI_SketcherDlg::ClickOnEnd()
-{
-  if ( sender() == buttonClose )
-  {
-    // Verify validity of commands
-    if ( myCommand.count() <= 2 )
-    {
-      SUIT_MessageBox::error1( SUIT_Session::session()->activeApplication()->desktop(),
-                              tr( "GEOM_ERROR_STATUS" ), tr( "CANNOT_CLOSE" ), tr( "BUT_OK" ) );
-      return;
-    }
-    
-    QString Command = myCommand.join( "" ) + GetNewCommand();
-    Sketcher_Profile aProfile (Command.ascii());
-
-    Command = myCommand.join( "" );
-    aProfile = Sketcher_Profile(Command.ascii());
-    TopoDS_Shape myShape;
-    if ( aProfile.IsDone() )
-      myShape = aProfile.GetShape();
-      
-    if(myShape.ShapeType() != TopAbs_VERTEX)
-      myCommand.append( ":WW" );
-  }
-  else 
-    myIsAllAdded = true;
-
-  if( myCommand.size() > 2 )
-    if( !onAccept() )
-      return;
-
-  close();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool EntityGUI_SketcherDlg::ClickOnApply()
-{
-  myCommand.append( GetNewCommand() );
-  mySketchState = NEXT_POINT;
-
-  myUndoCommand.clear();
-  myUndoCommand.append( "Sketcher" );
-
-  GroupConstructors->setEnabled(true);
-  GroupDest1->setEnabled(true);
-  setEnabledUndo(true);
-  setEnabledRedo(false);
-
-  GEOMBase_Helper::displayPreview();
-
-  return true;
-}
-
-//=================================================================================
-// function : ClickOnUndo()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::ClickOnUndo()
-{
-  myUndoCommand.append( myCommand.last() );
-  myCommand.pop_back();
-
-  if(myCommand.count() == 1) {
-    mySketchState = FIRST_POINT;
-    
-    RadioButton1->setChecked(true);
-    TypeClicked(0);
-
-    GroupConstructors->setEnabled(false);
-    GroupDest1->setEnabled(false);
-    setEnabledUndo(false);
-  }
-
-  setEnabledRedo(true);
-
-  GEOMBase_Helper::displayPreview();
-}
-
-//=================================================================================
-// function : ClickOnRedo()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::ClickOnRedo()
-{
-  myCommand.append( myUndoCommand.last() );
-  myUndoCommand.pop_back();
-
-  mySketchState = NEXT_POINT;
-
-  GroupConstructors->setEnabled(true);
-  GroupDest1->setEnabled(true);
-  setEnabledUndo(true);
-
-  if(myUndoCommand.count() == 1)
-    setEnabledRedo(false);
-
-  GEOMBase_Helper::displayPreview();
-}
-
-//=================================================================================
-// function : setEnabledUndo()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::setEnabledUndo(bool value)
-{
-  Group1Sel->buttonUndo->setEnabled(value);
-  Group1Spin->buttonUndo->setEnabled(value);
-  Group2Spin->buttonUndo->setEnabled(value);
-  Group3Spin->buttonUndo->setEnabled(value);
-  Group4Spin->buttonUndo->setEnabled(value);
-}
-
-//=================================================================================
-// function : setEnabledRedo()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::setEnabledRedo(bool value)
-{
-  Group1Sel->buttonRedo->setEnabled(value);
-  Group1Spin->buttonRedo->setEnabled(value);
-  Group2Spin->buttonRedo->setEnabled(value);
-  Group3Spin->buttonRedo->setEnabled(value);
-  Group4Spin->buttonRedo->setEnabled(value);
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed
-//=================================================================================
-void EntityGUI_SketcherDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  myX = myLastX1;
-  myY = myLastY1;
-
-  int nbSel = IObjectCount();
-  if ( nbSel == 1 && myEditCurrentArgument == Group1Sel->LineEdit1 )
-  {
-    Standard_Boolean aRes = Standard_False;
-    GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), aRes );
-    if ( !CORBA::is_nil( aSelectedObject ) && aRes ) {
-      TopoDS_Shape aShape;
-      if ( GEOMBase::GetShape( aSelectedObject, aShape, TopAbs_VERTEX ) ) {
-       gp_Trsf aTrans;
-       gp_Ax3 aWPlane = myGeometryGUI->GetWorkingPlane();
-
-       aTrans.SetTransformation(aWPlane);
-       BRepBuilderAPI_Transform aTransformation(aShape, aTrans, Standard_False);
-       aShape = aTransformation.Shape();
-
-       gp_Pnt aPnt;
-        if ( GEOMBase::VertexToPoint( aShape, aPnt ) ) {
-         myX = aPnt.X();
-         myY = aPnt.Y();
-         Group1Sel->LineEdit1->setText( GEOMBase::GetName( aSelectedObject ) );
-       }
-      }
-    }
-  }
-
-  GEOMBase_Helper::displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::SetEditCurrentArgument()
-{
-  if ( sender() == Group1Sel->PushButton1 )
-  {
-    myEditCurrentArgument = Group1Sel->LineEdit1;
-    myEditCurrentArgument->setFocus();
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::LineEditReturnPressed()
-{
-  if ( sender() == Group1Sel->LineEdit1 )
-  {
-    myEditCurrentArgument = Group1Sel->LineEdit1;
-
-       /* User name of object input management                          */
-       /* If successfull the selection is changed and signal emitted... */
-       /* so SelectionIntoArgument() is automatically called.           */
-       const QString objectUserName = myEditCurrentArgument->text();
-       QWidget* thisWidget = (QWidget*)this;
-       if(GEOMBase::SelectionByNameInDialogs(thisWidget, objectUserName, selectedIO()))
-       myEditCurrentArgument->setText(objectUserName);
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::DeactivateActiveDialog()
-{
-  //myGeometryGUI->SetState( -1 );
-
-  setEnabled( false );
-  globalSelection();
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  myGeometryGUI->SetActiveDialogBox(0);
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::ActivateThisDialog()
-{
-  myGeometryGUI->EmitSignalDeactivateDialog();
-  setEnabled(true);
-  myGeometryGUI->SetActiveDialogBox((QDialog*)this);
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  //myGeometryGUI->SetState( 0 );
-  globalSelection( GEOM_POINT );
-
-  myEditCurrentArgument = Group1Sel->LineEdit1;
-  myEditCurrentArgument->setFocus();
-
-  GEOMBase_Helper::displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent [REDEFINED]
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeometryGUI->SetState( -1 );
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  QDialog::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void EntityGUI_SketcherDlg::ValueChangedInSpinBox(double newValue)
-{
-  QObject* send = (QObject*)sender();
-  Standard_Real vx, vy, vz, vs;
-  vx = vy = vz = vs = 0.0;
-
-  if ( send == Group1Spin->SpinBox_DX)
-  {
-    vx = newValue;
-  }
-  else if ( send == Group2Spin->SpinBox_DX )
-  {
-    vx = newValue;
-    vy = Group2Spin->SpinBox_DY->GetValue();
-  }
-  else if ( send == Group2Spin->SpinBox_DY)
-  {
-    vx = Group2Spin->SpinBox_DX->GetValue();
-    vy = newValue;
-  }
-  else if ( send == Group3Spin->SpinBox_DX)
-  {
-    vx = newValue;
-    vy = Group3Spin->SpinBox_DY->GetValue();
-    vz = Group3Spin->SpinBox_DZ->GetValue();
-  }
-  else if ( send == Group3Spin->SpinBox_DY)
-  {
-    vx = Group3Spin->SpinBox_DX->GetValue();
-    vy = newValue;
-    vz = Group3Spin->SpinBox_DZ->GetValue();
-  }
-  else if ( send == Group3Spin->SpinBox_DZ)
-  {
-    vx = Group3Spin->SpinBox_DX->GetValue();
-    vy = Group3Spin->SpinBox_DY->GetValue();
-    vz = newValue;
-  }
-  else if ( send == Group4Spin->SpinBox_DX)
-  {
-    vx = newValue;
-    vy = Group4Spin->SpinBox_DY->GetValue();
-    vz = Group4Spin->SpinBox_DZ->GetValue();
-    vs = Group4Spin->SpinBox_DS->GetValue();
-  }
-  else if ( send == Group4Spin->SpinBox_DY)
-  {
-    vx = Group4Spin->SpinBox_DX->GetValue();
-    vy = newValue;
-    vz = Group4Spin->SpinBox_DZ->GetValue();
-    vs = Group4Spin->SpinBox_DS->GetValue();
-  }
-  else if ( send == Group4Spin->SpinBox_DZ)
-  {
-    vx = Group4Spin->SpinBox_DX->GetValue();
-    vy = Group4Spin->SpinBox_DY->GetValue();
-    vz = newValue;
-    vs = Group4Spin->SpinBox_DS->GetValue();
-  }
-  else if ( send == Group4Spin->SpinBox_DS)
-  {
-    vx = Group4Spin->SpinBox_DX->GetValue();
-    vy = Group4Spin->SpinBox_DY->GetValue();
-    vz = Group4Spin->SpinBox_DZ->GetValue();
-    vs = newValue;
-  }
-
-  if ( myConstructorId == 0 )
-  {  // SEGMENT
-    if ( mySketchType == PT_ABS)
-    {
-      myX = vx;
-      myY = vy;
-    }
-    else if ( mySketchType == PT_RELATIVE)
-    {
-      myDX = vx;
-      myDY = vy;
-    }
-    else if ( mySketchType == DIR_ANGLE_LENGTH)
-    {
-      myAngle = vx;
-      myLength = vy;
-    }
-    else if ( mySketchType == DIR_ANGLE_X)
-    {
-      myAngle = vx;
-      myX = vy;
-    }
-    else if ( mySketchType == DIR_ANGLE_Y)
-    {
-      myAngle = vx;
-      myY = vy;
-    }
-    else if ( mySketchType == DIR_PER_LENGTH)
-    {
-      myLength = vx;
-    }
-    else if ( mySketchType == DIR_PER_X)
-    {
-      myX = vx;
-    }
-    else if ( mySketchType == DIR_PER_Y)
-    {
-      myY = vx;
-    }
-    else if ( mySketchType == DIR_TAN_LENGTH)
-    {
-      myLength = vx;
-    }
-    else if ( mySketchType == DIR_TAN_X)
-    {
-      myX = vx;
-    }
-    else if ( mySketchType == DIR_TAN_Y)
-    {
-      myY = vx;
-    }
-    else if ( mySketchType == DIR_DXDY_LENGTH)
-    {
-      myDX = vx;
-      myDY = vy;
-      myLength = vz;
-    }
-    else if ( mySketchType == DIR_DXDY_X)
-    {
-      myDX = vx;
-      myDY = vy;
-      myX = vz;
-    }
-    else if ( mySketchType == DIR_DXDY_Y)
-    {
-      myDX = vx;
-      myDY = vy;
-      myY = vz;
-    }
-  }
-  else if ( myConstructorId == 1 )
-  {  // ARC
-    if ( mySketchType == DIR_ANGLE_LENGTH)
-    {
-      myAngle = vx;
-      myRadius = vy;
-      myLength = vz;
-    }
-    else if ( mySketchType == DIR_PER_LENGTH)
-    {
-      myRadius = vx;
-      myLength = vy;
-    }
-    else if ( mySketchType == DIR_TAN_LENGTH)
-    {
-      myRadius = vx;
-      myLength = vy;
-    }
-    else if ( mySketchType == DIR_DXDY_LENGTH)
-    {
-      myDX = vx;
-      myDY = vy;
-      myRadius = vz;
-      myLength = vs;
-    }
-  }
-
-  GEOMBase_Helper::displayPreview();
-}
-
-
-//=================================================================================
-// function : GetNewCommand()
-// purpose  : Build the new command with context
-//=================================================================================
-QString EntityGUI_SketcherDlg::GetNewCommand()
-{
-  QString myNewCommand = ":";
-  if ( mySketchState == FIRST_POINT ) {
-    if ( mySketchType == PT_ABS || mySketchType == PT_SEL)
-      myNewCommand = myNewCommand + "F " + QString::number(myX) + " " + QString::number(myY);
-    if ( mySketchType == PT_RELATIVE)
-      myNewCommand = myNewCommand + "F " + QString::number(myDX) + " " + QString::number(myDY);
-    return myNewCommand;
-  }
-
-  if ( myConstructorId == 0  )
-  {  // SEGMENT
-    if ( mySketchType == PT_ABS || mySketchType == PT_SEL)
-      myNewCommand = myNewCommand + "TT " + QString::number(myX) + " " + QString::number(myY);
-    if ( mySketchType == PT_RELATIVE)
-      myNewCommand = myNewCommand + "T " + QString::number(myDX) + " " + QString::number(myDY);
-    if ( mySketchType == DIR_ANGLE_LENGTH)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(myAngle);
-      myNewCommand = myNewCommand + ":" + "L " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_ANGLE_X)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(myAngle);
-      myNewCommand = myNewCommand + ":" + "IX " + QString::number(myX);
-    }
-    if ( mySketchType == DIR_ANGLE_Y)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(myAngle);
-      myNewCommand = myNewCommand + ":" + "IY " + QString::number(myY);
-    }
-    if ( mySketchType == DIR_PER_LENGTH)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(90.0);
-      myNewCommand = myNewCommand + ":" + "L " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_PER_X)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(90.0);
-      myNewCommand = myNewCommand + ":" + "IX " + QString::number(myX);
-    }
-    if ( mySketchType == DIR_PER_Y)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(90.0);
-      myNewCommand = myNewCommand + ":" + "IY " + QString::number(myY);
-    }
-    if ( mySketchType == DIR_TAN_LENGTH)
-      myNewCommand = myNewCommand + "L " + QString::number(myLength);
-    if ( mySketchType == DIR_TAN_X)
-      myNewCommand = myNewCommand + "IX " + QString::number(myX);
-    if ( mySketchType == DIR_TAN_Y)
-      myNewCommand = myNewCommand + "IY " + QString::number(myY);
-    if ( mySketchType == DIR_DXDY_LENGTH)
-    {
-      myNewCommand = myNewCommand + "D " + QString::number(myDX) + " " + QString::number(myDY);
-      myNewCommand = myNewCommand + ":" + "L " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_DXDY_X)
-    {
-      myNewCommand = myNewCommand + "D " + QString::number(myDX) + " " + QString::number(myDY);
-      myNewCommand = myNewCommand + ":" + "IX " + QString::number(myX);
-    }
-    if ( mySketchType == DIR_DXDY_Y)
-    {
-      myNewCommand = myNewCommand + "D " + QString::number(myDX) + " " + QString::number(myDY);
-      myNewCommand = myNewCommand + ":" + "IY " + QString::number(myY);
-    }
-  }
-  else if ( myConstructorId == 1 )
-  {  // ARC
-    if ( mySketchType == DIR_ANGLE_LENGTH)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(myAngle);
-      myNewCommand = myNewCommand + ":" + "C " + QString::number(myRadius) + " " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_PER_LENGTH)
-    {
-      myNewCommand = myNewCommand + "R " + QString::number(90.0);
-      myNewCommand = myNewCommand + ":" + "C " + QString::number(myRadius) + " " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_TAN_LENGTH)
-    {
-      myNewCommand = myNewCommand + "C " + QString::number(myRadius) + " " + QString::number(myLength);
-    }
-    if ( mySketchType == DIR_DXDY_LENGTH)
-    {
-      myNewCommand = myNewCommand + "D " + QString::number(myDX) + " " + QString::number(myDY);
-      myNewCommand = myNewCommand + ":" + "C " + QString::number(myRadius) + " " + QString::number(myLength);
-    }
-  }
-  return myNewCommand;
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr EntityGUI_SketcherDlg::createOperation()
-{
-  return getGeomEngine()->GetICurvesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool EntityGUI_SketcherDlg::isValid( QString& msg )
-{
-  return true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool EntityGUI_SketcherDlg::execute( ObjectList& objects )
-{
-  if(mySketchState == FIRST_POINT) {
-    myLastX2 = myX;
-    myLastY2 = myY;
-  }
-  else {
-    //Test if the current point is the same as the last one
-    TopoDS_Shape myShape1, myShape2;
-
-    //Last Shape
-    QString Command1 = myCommand.join( "" );
-    Sketcher_Profile aProfile1 (Command1.ascii());
-    if(aProfile1.IsDone())
-      myShape1 = aProfile1.GetShape();
-
-    //Current Shape
-    QString Command2 = Command1 + GetNewCommand();
-    Sketcher_Profile aProfile2 (Command2.ascii());
-    if(aProfile2.IsDone())
-      myShape2 = aProfile2.GetShape();
-
-    if(myShape2.IsNull()) {
-      //the current point is the same as the last one
-      myLastX2 = myLastX1;
-      myLastY2 = myLastY1;
-    }
-    else {
-      TopoDS_Vertex V1, V2;
-      gp_Pnt pt;
-      if(myShape1.ShapeType() == TopAbs_VERTEX) {
-       //the last shape is the first point
-       pt = BRep_Tool::Pnt(TopoDS::Vertex(myShape1));
-       myLastX1 = pt.X();
-       myLastY1 = pt.Y();
-      }
-      else {
-       TopExp::Vertices(TopoDS::Wire(myShape1), V1, V2);
-       pt = BRep_Tool::Pnt(V2);
-       myLastX1 = pt.X();
-       myLastY1 = pt.Y();
-      }
-      TopExp::Vertices(TopoDS::Wire(myShape2), V1, V2);
-      pt = BRep_Tool::Pnt(V2);
-      myLastX2 = pt.X();
-      myLastY2 = pt.Y();
-    }
-  }
-
-  QString cmd;
-  if( ( mySketchState != FIRST_POINT && myLastX1 == myLastX2 && myLastY1 == myLastY2 ) || myIsAllAdded ) {
-    cmd = myCommand.join( "" );
-
-    if ( Group1Sel->isVisible() ) {
-      Group1Sel->buttonApply->setEnabled(false);
-      Group1Sel->buttonApply->setFocus();
-    }
-    if ( Group1Spin->isVisible() ) {
-      Group1Spin->buttonApply->setEnabled(false);
-      Group1Spin->buttonApply->setFocus();
-    }
-    if ( Group2Spin->isVisible() ) {
-      Group2Spin->buttonApply->setEnabled(false);
-      Group2Spin->buttonApply->setFocus();
-    }
-    if ( Group3Spin->isVisible() ) {
-      Group3Spin->buttonApply->setEnabled(false);
-      Group3Spin->buttonApply->setFocus();
-    }
-    if ( Group4Spin->isVisible() ) {
-      Group4Spin->buttonApply->setEnabled(false);
-      Group4Spin->buttonApply->setFocus();
-    }
-  }
-  else {
-    cmd = myCommand.join( "" ) + GetNewCommand();
-
-    if ( Group1Sel->isVisible() ) {
-      Group1Sel->buttonApply->setEnabled(true);
-      Group1Sel->buttonApply->setFocus();
-    }
-    if ( Group1Spin->isVisible() ) {
-      Group1Spin->buttonApply->setEnabled(true);
-      Group1Spin->buttonApply->setFocus();
-    }
-    if ( Group2Spin->isVisible() ) {
-      Group2Spin->buttonApply->setEnabled(true);
-      Group2Spin->buttonApply->setFocus();
-    }
-    if ( Group3Spin->isVisible() ) {
-      Group3Spin->buttonApply->setEnabled(true);
-      Group3Spin->buttonApply->setFocus();
-    }
-    if ( Group4Spin->isVisible() ) {
-      Group4Spin->buttonApply->setEnabled(true);
-      Group4Spin->buttonApply->setFocus();
-    }
-  }
-    
-  gp_Ax3 myWPlane = myGeometryGUI->GetWorkingPlane();
-  GEOM::ListOfDouble_var WPlane = new GEOM::ListOfDouble;
-  WPlane->length(9);
-  WPlane[0] = myWPlane.Location().X();
-  WPlane[1] = myWPlane.Location().Y();
-  WPlane[2] = myWPlane.Location().Z();
-
-  WPlane[3] = myWPlane.Direction().X();
-  WPlane[4] = myWPlane.Direction().Y();
-  WPlane[5] = myWPlane.Direction().Z();
-
-  WPlane[6] = myWPlane.XDirection().X();
-  WPlane[7] = myWPlane.XDirection().Y();
-  WPlane[8] = myWPlane.XDirection().Z();
-
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_ICurvesOperations::_narrow( getOperation() )->MakeSketcher( cmd.latin1(), WPlane );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-//================================================================
-// Function : displayPreview
-// Purpose  : Method for displaying preview of resulting shape
-//            Redefined from GEOMBase_Helper.
-//================================================================
-void EntityGUI_SketcherDlg::displayPreview( GEOM::GEOM_Object_ptr object,
-                                            const bool            append,
-                                            const bool            activate,
-                                            const bool            update,
-                                            const double          lineWidth )
-{
-  // Set color for preview shape
-  getDisplayer()->SetColor( Quantity_NOC_RED );
-
-  // set width of displayed shape
-  getDisplayer()->SetWidth( lineWidth );
-
-  // Disable activation of selection
-  getDisplayer()->SetToActivate( activate );
-
-  // Make a reference to GEOM_Object
-  getDisplayer()->SetName( myGeometryGUI->getApp()->orb()->object_to_string( object ) );
-
-  // Create wire from applayed object
-  TopoDS_Shape anApplyedWire, aLastSegment;
-  if ( !createShapes( object, anApplyedWire, aLastSegment ) )
-    return;
-
-  // Build prs
-  SALOME_Prs* aPrs = getDisplayer()->BuildPrs( anApplyedWire );
-  if ( aPrs != 0 && !aPrs->IsNull() )
-    GEOMBase_Helper::displayPreview( aPrs, append, update );
-
-  getDisplayer()->SetColor( Quantity_NOC_VIOLET );
-  aPrs = getDisplayer()->BuildPrs( aLastSegment );
-  if ( aPrs != 0 && !aPrs->IsNull() )
-    GEOMBase_Helper::displayPreview( aPrs, append, update );
-
-  getDisplayer()->UnsetName();
-
-  // Enable activation of displayed objects
-  getDisplayer()->SetToActivate( true );
-}
-
-//================================================================
-// Function : createShapes
-// Purpose  : Create applyed wire, and last segment from entry object
-//================================================================
-bool EntityGUI_SketcherDlg::createShapes( GEOM::GEOM_Object_ptr theObject,
-                                          TopoDS_Shape&         theApplyedWire,
-                                          TopoDS_Shape&         theLastSegment )
-{
-  TopoDS_Shape aShape;
-  if ( !GEOMBase::GetShape( theObject, aShape ) ||
-       aShape.ShapeType() != TopAbs_WIRE && aShape.ShapeType() != TopAbs_VERTEX )
-    return false;
-
-  if ( Group1Sel->isVisible()  && !Group1Sel->buttonApply->isEnabled()  ||
-       Group1Spin->isVisible() && !Group1Spin->buttonApply->isEnabled() ||
-       Group2Spin->isVisible() && !Group2Spin->buttonApply->isEnabled() ||
-       Group3Spin->isVisible() && !Group3Spin->buttonApply->isEnabled() ||
-       Group4Spin->isVisible() && !Group4Spin->buttonApply->isEnabled() )
-  {
-     theApplyedWire = aShape;
-     return true;
-  }
-
-  BRepBuilderAPI_MakeWire aBuilder;
-  TopExp_Explorer anExp( aShape, TopAbs_EDGE );
-  while( 1 )
-  {
-    TopoDS_Shape anEdge = anExp.Current();
-    anExp.Next();
-    if ( anExp.More() ) // i.e. non-last edge
-      aBuilder.Add( TopoDS::Edge( anEdge ) );
-    else
-    {
-      theLastSegment = anEdge;
-      break;
-    }
-  }
-
-  if ( aBuilder.IsDone() )
-    theApplyedWire = aBuilder.Shape();
-
-  return true;
-}
-
-
-
-
-
-
-
-
diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.h b/src/EntityGUI/EntityGUI_SketcherDlg.h
deleted file mode 100644 (file)
index 2546a5f..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_SketcherDlg.h
-//  Author : Damine COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef ENTITYGUI_SKETCHERDLG_H
-#define ENTITYGUI_SKETCHERDLG_H
-
-#include "GEOMBase_Helper.h"
-
-#include "EntityGUI_Skeleton_QTD.h"
-#include "EntityGUI_Point_QTD.h"
-#include "EntityGUI_Dir1_QTD.h"
-#include "EntityGUI_Dir2_QTD.h"
-
-#include "EntityGUI_1Sel_QTD.h"
-#include "EntityGUI_1Spin.h"
-#include "EntityGUI_2Spin.h"
-#include "EntityGUI_3Spin.h"
-#include "EntityGUI_4Spin.h"
-
-#include "EntityGUI.h"
-#include "GeometryGUI.h"
-
-#include <gp_Dir.hxx>
-
-#include <qwidget.h>
-#include <qgroupbox.h>
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : EntityGUI_Dlg
-// purpose  :
-//=================================================================================
-class EntityGUI_SketcherDlg : public EntityGUI_Skeleton_QTD, public GEOMBase_Helper
-{ 
-    Q_OBJECT
-
-public:
-    EntityGUI_SketcherDlg(GeometryGUI* GUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~EntityGUI_SketcherDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void InitClick();
-    void setEnabledUndo(bool value);
-    void setEnabledRedo(bool value);
-
-    QString GetNewCommand();
-
-    int myConstructorId;
-    int myConstructorDirId;
-    int mySketchType;
-    int mySketchState;
-
-    bool myIsAllAdded;
-    
-    QLineEdit* myEditCurrentArgument;   /* Current LineEdit */
-    
-    QStringList myCommand;
-    QStringList myUndoCommand;
-
-    Standard_Real myX, myY, myDX, myDY;
-    Standard_Real myLength, myAngle, myRadius;
-    Standard_Real myLastX1, myLastY1;
-    Standard_Real myLastX2, myLastY2;
-
-    EntityGUI_Point_QTD* GroupPt;
-    EntityGUI_Dir1_QTD* GroupD1;
-    EntityGUI_Dir2_QTD* GroupD2;
-
-    EntityGUI_1Sel_QTD* Group1Sel;
-    EntityGUI_1Spin* Group1Spin;
-    EntityGUI_2Spin* Group2Spin;
-    EntityGUI_3Spin* Group3Spin;
-    EntityGUI_4Spin* Group4Spin;
-
-    GeometryGUI*  myGeometryGUI;
-
-    enum SketchState {FIRST_POINT, NEXT_POINT};
-
-    enum SketchType {PT_ABS, PT_RELATIVE, PT_SEL,
-                    DIR_ANGLE_LENGTH, DIR_ANGLE_X, DIR_ANGLE_Y,
-                    DIR_PER_LENGTH, DIR_PER_X, DIR_PER_Y,
-                    DIR_TAN_LENGTH, DIR_TAN_X, DIR_TAN_Y,
-                    DIR_DXDY_LENGTH, DIR_DXDY_X, DIR_DXDY_Y};
-
-  virtual void displayPreview  ( GEOM::GEOM_Object_ptr obj,
-                                 const bool            append = false,
-                                 const bool            activate = false,
-                                 const bool            update = true,
-                                 const double          lineWidth = -1 );
-
-  bool createShapes( GEOM::GEOM_Object_ptr theObject,
-                     TopoDS_Shape&         theApplyedWire,
-                     TopoDS_Shape&         theLastSegment );
-private slots:
-    void ClickOnEnd();
-    void ClickOnCancel();
-    bool ClickOnApply();
-    void ClickOnUndo();
-    void ClickOnRedo();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void DeactivateActiveDialog();
-    void ActivateThisDialog();
-    void TypeClicked(int constructorId);
-    void DestClicked(int constructorId);
-    void PointClicked(int constructorId);
-    void Dir1Clicked(int constructorId);
-    void Dir2Clicked(int constructorId);
-    void ValueChangedInSpinBox(double newValue);
-
-};
-
-#endif // ENTITYGUI_SKETCHERDLG_H
diff --git a/src/EntityGUI/EntityGUI_SubShapeDlg.cxx b/src/EntityGUI/EntityGUI_SubShapeDlg.cxx
deleted file mode 100644 (file)
index 0e55e14..0000000
+++ /dev/null
@@ -1,596 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_SubShapeDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "EntityGUI_SubShapeDlg.h"
-#include "GEOM_Displayer.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "OCCViewer_ViewModel.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-
-#include <qmessagebox.h>
-#include <qlabel.h>
-#include <qcombobox.h>
-
-//=================================================================================
-// class    : EntityGUI_SubShapeDlg
-// purpose  : Constructs a EntityGUI_SubShapeDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-EntityGUI_SubShapeDlg::EntityGUI_SubShapeDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, fl)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SUBSHAPE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SUBSHAPE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SUB_SHAPE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel1Check1List_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_SUBSHAPE_TYPE"));
-  GroupPoints->CheckButton1->setText(tr("GEOM_SUBSHAPE_SELECT"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 1, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~EntityGUI_SubShapeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-EntityGUI_SubShapeDlg::~EntityGUI_SubShapeDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myObject = GEOM::GEOM_Object::_nil();
-
-  myWithShape = true;
-
-  /* type for sub shape selection */
-  GroupPoints->ComboBox1->insertItem("Compound");
-  GroupPoints->ComboBox1->insertItem("Compsolid");
-  GroupPoints->ComboBox1->insertItem("Solid");
-  GroupPoints->ComboBox1->insertItem("Shell");
-  GroupPoints->ComboBox1->insertItem("Face");
-  GroupPoints->ComboBox1->insertItem("Wire");
-  GroupPoints->ComboBox1->insertItem("Edge");
-  GroupPoints->ComboBox1->insertItem("Vertex");
-  GroupPoints->ComboBox1->insertItem("Shape");
-
-  if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-      != OCCViewer_Viewer::Type())
-    GroupPoints->CheckButton1->setEnabled(false);
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->ComboBox1, SIGNAL(activated(int)), this, SLOT(ComboTextChanged()));
-  connect(GroupPoints->CheckButton1, SIGNAL(stateChanged(int)), this, SLOT(SubShapeToggled()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  updateButtonState();
-
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool EntityGUI_SubShapeDlg::ClickOnApply()
-{
-  SUIT_Session::session()->activeApplication()->putInfo(tr(""));
-    
-  /* Explode all sub shapes */
-  if( isAllSubShapes() ) {
-    /* More than 30 subshapes : ask confirmation */
-    unsigned int nb = NumberOfSubShapes(myShape, shapeType());
-    if(nb > 30) {
-      const QString caption = tr("GEOM_CONFIRM");
-      const QString text = tr("GEOM_CONFIRM_INFO").arg(nb);
-      const QString button0 = tr("GEOM_BUT_EXPLODE");
-      const QString button1 = tr("GEOM_BUT_CANCEL");
-
-      if(QMessageBox::warning(this, caption, text, button0, button1) != 0)
-        return false;  /* aborted */
-    }
-  }
-
-  return onAccept();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//          : used only by SelectButtonC1A1 (LineEditC1A1)
-//=================================================================================
-void EntityGUI_SubShapeDlg::SelectionIntoArgument()
-{
-  if ( !isAllSubShapes() )
-    return;
-
-  ResetStateOfDialog();
-
-  QString aString = ""; /* name of selection */
-
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString, true );
-  if( nbSel != 1 )
-    return;
-
-  TopoDS_Shape S;
-  Handle(SALOME_InteractiveObject) IO = firstIObject();
-  if ( !IO->hasEntry() )
-  {
-    SUIT_Session::session()->activeApplication()->putInfo( tr( "GEOM_PRP_SHAPE_IN_STUDY" ) );
-    updateButtonState();
-    return;
-  }
-
-  if ( !myGeomBase->GetTopoFromSelection( selectedIO(), S ) ||
-       S.IsNull() ||
-       S.ShapeType() == TopAbs_VERTEX )
-  {
-    updateButtonState();
-    return;
-  }
-
-
-  Standard_Boolean testResult;
-  myObject = GEOMBase::ConvertIOinGEOMObject( IO, testResult );
-  if ( !testResult || myObject->_is_nil() )
-  {
-    updateButtonState();
-    return;
-  }
-
-  myShape = S;
-  GroupPoints->LineEdit1->setText( aString );
-
-
-  int SelectedShapeType = GroupPoints->ComboBox1->currentItem();
-  int count = GroupPoints->ComboBox1->count();
-
-  if ( myWithShape )
-    count = count - 1;
-
-  int i = 0;
-  // Solving PAL5590
-  if ( myShape.ShapeType() == TopAbs_COMPOUND ) {
-    unsigned int nb = NumberOfSubShapes(myShape, TopAbs_COMPOUND);
-    if (nb > 0)
-      i++;
-  }
-  while ( i <= myShape.ShapeType())
-  {
-    GroupPoints->ComboBox1->removeItem( 0 );
-    i++;
-  }
-
-  if ( myShape.ShapeType() == TopAbs_COMPOUND )
-  {
-    if ( myWithShape == false )
-    {
-      GroupPoints->ComboBox1->insertItem( "Shape" );
-      myWithShape = true;
-    }
-  }
-  else
-  {
-    if ( myWithShape == true )
-    {
-      GroupPoints->ComboBox1->removeItem( GroupPoints->ComboBox1->count() - 1 );
-      myWithShape = false;
-    }
-  }
-
-  int count1 = GroupPoints->ComboBox1->count();
-  if ( myWithShape )
-    count1 = count1 - 1;
-
-  if ( SelectedShapeType > myShape.ShapeType() )
-  {
-    if ( SelectedShapeType == 8 )
-    {
-      if ( myShape.ShapeType() != TopAbs_COMPOUND )
-      {
-        GroupPoints->ComboBox1->setCurrentItem( 0 );
-        ComboTextChanged();
-      }
-    }
-    else
-      GroupPoints->ComboBox1->setCurrentItem(count1 - count + SelectedShapeType);
-  }
-  else
-  {
-    GroupPoints->ComboBox1->setCurrentItem( 0 );
-    ComboTextChanged();
-  }
-
-  updateButtonState();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::SetEditCurrentArgument()
-{
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  
-  GroupPoints->CheckButton1->setChecked( FALSE );
-  SubShapeToggled();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::LineEditReturnPressed()
-{  
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1)
-    SetEditCurrentArgument();
-  else
-    return;
-
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::DeactivateActiveDialog()
-{
-  if(GroupConstructors->isEnabled()) {
-    GEOMBase_Skeleton::DeactivateActiveDialog();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  SubShapeToggled();
-  updateButtonState();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::enterEvent(QEvent* e)
-{
-  if(GroupConstructors->isEnabled())
-    return;
-  ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ResetStateOfDialog()
-// purpose  : Completely reset the state of method including local context
-//=================================================================================
-void EntityGUI_SubShapeDlg::ResetStateOfDialog()
-{
-  myObject = GEOM::GEOM_Object::_nil();
-  myShape.Nullify();
-  myEditCurrentArgument->setText("");
-
-  int SelectedShapeType = GroupPoints->ComboBox1->currentItem();
-  int count = GroupPoints->ComboBox1->count();
-  if ( myWithShape )
-    count = count - 1;
-
-  /* type for sub shape selection */
-  GroupPoints->ComboBox1->clear();
-  GroupPoints->ComboBox1->insertItem("Compound");
-  GroupPoints->ComboBox1->insertItem("Compsolid");
-  GroupPoints->ComboBox1->insertItem("Solid");
-  GroupPoints->ComboBox1->insertItem("Shell");
-  GroupPoints->ComboBox1->insertItem("Face");
-  GroupPoints->ComboBox1->insertItem("Wire");
-  GroupPoints->ComboBox1->insertItem("Edge");
-  GroupPoints->ComboBox1->insertItem("Vertex");
-  GroupPoints->ComboBox1->insertItem("Shape");
-  
-  myWithShape = true;
-  
-  GroupPoints->ComboBox1->setCurrentItem( 8 - count + SelectedShapeType );
-  ComboTextChanged();
-
-  updateButtonState();
-}
-
-
-//=================================================================================
-// function : SubShapeToggled()
-// purpose  : Allow user selection of all or only selected sub shapes
-//          : Called when 'CheckButton1' state change
-//=================================================================================
-void EntityGUI_SubShapeDlg::SubShapeToggled()
-{
-  if ( isAllSubShapes() )
-    globalSelection( GEOM_ALLSHAPES );
-  else
-    localSelection( myObject, shapeType() );
-}
-
-
-//=================================================================================
-// function : ComboTextChanged()
-// purpose  : 
-//=================================================================================
-void EntityGUI_SubShapeDlg::ComboTextChanged()
-{
-  /* Select sub shapes mode not checked */
-  updateButtonState();
-  SubShapeToggled();    
-}
-
-
-//=================================================================================
-// function : NumberOfSubShapes()
-// purpose  :
-//=================================================================================
-unsigned int EntityGUI_SubShapeDlg::NumberOfSubShapes (const TopoDS_Shape& S,
-                                                       const int shapeType) const
-{
-  if (S.IsNull())
-    return 0;
-
-  unsigned int index = 0;
-  TopTools_MapOfShape M;
-
-  if (S.ShapeType() == TopAbs_COMPOUND &&
-      (TopAbs_ShapeEnum(shapeType) == TopAbs_SHAPE ||
-       TopAbs_ShapeEnum(shapeType) == TopAbs_COMPSOLID ||
-       TopAbs_ShapeEnum(shapeType) == TopAbs_COMPOUND)) {
-    TopoDS_Iterator It (S, Standard_True, Standard_True);
-    for (; It.More(); It.Next()) {
-      if (M.Add(It.Value())) {
-        if (TopAbs_ShapeEnum(shapeType) == TopAbs_SHAPE ||
-            TopAbs_ShapeEnum(shapeType) == It.Value().ShapeType()) {
-          index++;
-        }
-      }
-    }
-  } else {
-    TopExp_Explorer Exp (S, TopAbs_ShapeEnum(shapeType));
-    for (; Exp.More(); Exp.Next()) {
-      if (M.Add(Exp.Current())) {
-        index++;
-      }
-    }
-  }
-
-  M.Clear();
-  return index;
-}
-
-//=================================================================================
-// function : updateButtonState
-// purpose  :
-//=================================================================================
-void EntityGUI_SubShapeDlg::updateButtonState()
-{
-  if ( SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() != OCCViewer_Viewer::Type() ||
-       myObject->_is_nil() || shapeType() == TopAbs_SHAPE || shapeType() == TopAbs_COMPOUND ) {
-    GroupPoints->CheckButton1->setChecked( FALSE );
-    GroupPoints->CheckButton1->setEnabled( FALSE );
-  }
-  else
-    GroupPoints->CheckButton1->setEnabled( TRUE );
-}
-
-//=================================================================================
-// function : isAllSubShapes
-// purpose  :
-//=================================================================================
-bool EntityGUI_SubShapeDlg::isAllSubShapes() const
-{
-  return !GroupPoints->CheckButton1->isChecked() || !GroupPoints->CheckButton1->isEnabled();
-}
-
-//=================================================================================
-// function : shapeType
-// purpose  :
-//=================================================================================
-int EntityGUI_SubShapeDlg::shapeType() const
-{
-  int type = GroupPoints->ComboBox1->currentItem();
-
-  if (myObject->_is_nil())
-    return type;
-
-  // Solving PAL5590
-  type += myShape.ShapeType() + 1;
-  if (myShape.ShapeType() == TopAbs_COMPOUND &&
-      NumberOfSubShapes(myShape, TopAbs_COMPOUND) > 0) {
-    type--;
-  }
-
-  return type;
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr EntityGUI_SubShapeDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool EntityGUI_SubShapeDlg::isValid( QString& msg )
-{
-  bool isOk = false;
-  if ( !myObject->_is_nil() ) {
-    if ( isAllSubShapes() )
-      isOk = true;
-    else if ( IObjectCount() == 1 ) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-       GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-      
-      if ( aResult && !anObj->_is_nil() ) {
-       TColStd_IndexedMapOfInteger aMapIndex;
-       ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
-       isOk = aMapIndex.Extent() > 0;
-       if ( !isOk )
-         msg += tr( "NO_SUBSHAPES_SELECTED" );
-      }
-    }
-  }
-  return isOk;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool EntityGUI_SubShapeDlg::execute( ObjectList& objects )
-{
-  GEOM::ListOfGO_var aList = GEOM::GEOM_IShapesOperations::_narrow(
-    getOperation() )->MakeExplode( myObject, shapeType(), false );
-    
-  if ( !aList->length() )
-    return false;
-  
-  // Throw away sub-shapes not selected by user if not in preview mode 
-  // and manual selection is active
-  if ( !isAllSubShapes() )
-  {
-    if ( IObjectCount() == 1 ) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-       GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() ) {
-       TColStd_IndexedMapOfInteger aMapIndex;
-       ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
-
-       GEOM::GEOM_ILocalOperations_var aLocOp = 
-         getGeomEngine()->GetILocalOperations( getStudyId() );
-
-       for ( int i = 0, n = aList->length(); i < n; i++ )
-         if ( aMapIndex.Contains( aLocOp->GetSubShapeIndex( myObject, aList[i] ) ) )
-           objects.push_back( GEOM::GEOM_Object::_duplicate( aList[i] ) );
-      }
-    }
-  }
-  else
-    for ( int i = 0, n = aList->length(); i < n; i++ )
-      objects.push_back( GEOM::GEOM_Object::_duplicate( aList[i] ) );
-  
-  return objects.size();
-}
-
-//================================================================
-// Function : getFather
-// Purpose  : Get father object for object to be added in study
-//            ( called with addInStudy method )
-//================================================================
-GEOM::GEOM_Object_ptr EntityGUI_SubShapeDlg::getFather( GEOM::GEOM_Object_ptr )
-{
-  return myObject;
-}
-
-const char* EntityGUI_SubShapeDlg::getNewObjectName() const
-{
-  return "";
-}
diff --git a/src/EntityGUI/EntityGUI_SubShapeDlg.h b/src/EntityGUI/EntityGUI_SubShapeDlg.h
deleted file mode 100644 (file)
index 59fa1e0..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : EntityGUI_SubShapeDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_SUBSHAPE_H
-#define DIALOGBOX_SUBSHAPE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Check1List_QTD.h"
-
-
-//=================================================================================
-// class    : EntityGUI_SubShapeDlg
-// purpose  :
-//=================================================================================
-class EntityGUI_SubShapeDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        EntityGUI_SubShapeDlg( QWidget* parent = 0,
-                                                               const char* name = 0,
-                                                               bool modal = FALSE,
-                                                               WFlags fl = 0 );
-                                        ~EntityGUI_SubShapeDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr  createOperation();
-    virtual bool                        isValid( QString& );
-    virtual bool                        execute( ObjectList& objects );
-    virtual GEOM::GEOM_Object_ptr       getFather( GEOM::GEOM_Object_ptr theObj );
-    virtual const char* getNewObjectName() const;
-
-private slots:
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                DeactivateActiveDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-    void                                SetEditCurrentArgument();
-    void                                SubShapeToggled();
-    void                                ComboTextChanged();
-
-private :
-    void                                Init();
-    void                                enterEvent( QEvent* e );
-
-    void                                ResetStateOfDialog();
-    unsigned int                        NumberOfSubShapes (const TopoDS_Shape& S,
-                                                          const int shapeType) const;
-
-    void                                updateButtonState();
-    bool                                isAllSubShapes() const;
-    int                                 shapeType() const;
-
-private:    
-
-    TopoDS_Shape                        myShape;
-    GEOM::GEOM_Object_var               myObject;
-
-    bool                                myWithShape;  
-    
-    DlgRef_1Sel1Check1List_QTD*         GroupPoints;
-    ObjectList                          myResult;
-};
-
-#endif // DIALOGBOX_SUBSHAPE_H
diff --git a/src/EntityGUI/Makefile.in b/src/EntityGUI/Makefile.in
deleted file mode 100644 (file)
index 720b6f7..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#  GEOM ENTITYGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libEntityGUI.la
-
-# header files 
-EXPORT_HEADERS= 
-
-LIB_SRC =      EntityGUI.cxx \
-               EntityGUI_Skeleton_QTD.cxx \
-               EntityGUI_Point_QTD.cxx \
-               EntityGUI_Dir1_QTD.cxx \
-               EntityGUI_Dir2_QTD.cxx \
-               EntityGUI_1Sel_QTD.cxx \
-               EntityGUI_1Spin_QTD.cxx \
-               EntityGUI_2Spin_QTD.cxx \
-               EntityGUI_3Spin_QTD.cxx \
-               EntityGUI_4Spin_QTD.cxx \
-               EntityGUI_1Spin.cxx \
-               EntityGUI_2Spin.cxx \
-               EntityGUI_3Spin.cxx \
-               EntityGUI_4Spin.cxx \
-               EntityGUI_SketcherDlg.cxx \
-               EntityGUI_SubShapeDlg.cxx
-
-LIB_MOC = \
-               EntityGUI_Skeleton_QTD.h \
-               EntityGUI_Point_QTD.h \
-               EntityGUI_Dir1_QTD.h \
-               EntityGUI_Dir2_QTD.h \
-               EntityGUI_1Sel_QTD.h \
-               EntityGUI_1Spin_QTD.h \
-               EntityGUI_2Spin_QTD.h \
-               EntityGUI_3Spin_QTD.h \
-               EntityGUI_4Spin_QTD.h \
-               EntityGUI_1Spin.h \
-               EntityGUI_2Spin.h \
-               EntityGUI_3Spin.h \
-               EntityGUI_4Spin.h \
-               EntityGUI_SketcherDlg.h \
-               EntityGUI_SubShapeDlg.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMSketcher -lGEOMBase -lGEOM
-
-@CONCLUDE@
diff --git a/src/EntityGUI/UIFiles/EntityGUI_1Sel_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_1Sel_QTD.ui
deleted file mode 100644 (file)
index c88df1a..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_1Sel_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_1Sel_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>329</width>
-            <height>112</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_1Sel_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string>Values</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="1">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <spacer row="2" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer5</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>163</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Create</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLayoutWidget" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>Layout2</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>0</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QPushButton" row="0" column="1">
-                                            <property name="name">
-                                                <cstring>buttonRedo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Redo</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>buttonUndo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Undo</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout1</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <spacer row="1" column="2">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>180</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>PushButton1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>3</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
-
diff --git a/src/EntityGUI/UIFiles/EntityGUI_1Spin_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_1Spin_QTD.ui
deleted file mode 100644 (file)
index e1d0a71..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_1Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_1Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>255</width>
-            <height>112</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_1Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string>Values</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout1</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <spacer row="3" column="1">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>82</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="1">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLayoutWidget" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>Layout2</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>0</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QPushButton" row="0" column="1">
-                                            <property name="name">
-                                                <cstring>buttonRedo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Redo</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>buttonUndo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Undo</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                                <widget class="QPushButton" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Create</string>
-                                    </property>
-                                </widget>
-                                <spacer row="2" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer5</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>40</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_2Spin_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_2Spin_QTD.ui
deleted file mode 100644 (file)
index 938383c..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_2Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_2Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>255</width>
-            <height>112</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_2Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string>Values</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout1</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <spacer row="3" column="1">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>82</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="1">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <spacer row="2" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer5</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>51</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QLayoutWidget" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>Layout2</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>0</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QPushButton" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>buttonUndo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Undo</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="0" column="1">
-                                            <property name="name">
-                                                <cstring>buttonRedo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Redo</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                                <widget class="QPushButton" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Create</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_3Spin_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_3Spin_QTD.ui
deleted file mode 100644 (file)
index c094d57..0000000
+++ /dev/null
@@ -1,259 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_3Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_3Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>255</width>
-            <height>125</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_3Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string>Values</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="1">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QPushButton" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Create</string>
-                                    </property>
-                                </widget>
-                                <spacer row="2" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer5</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>121</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QLayoutWidget" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>Layout2</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>0</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QPushButton" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>buttonUndo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Undo</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="0" column="1">
-                                            <property name="name">
-                                                <cstring>buttonRedo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Redo</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout1</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <spacer row="3" column="1">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>82</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QSpinBox" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_4Spin_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_4Spin_QTD.ui
deleted file mode 100644 (file)
index 956ce0d..0000000
+++ /dev/null
@@ -1,288 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_4Spin_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_4Spin_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>255</width>
-            <height>154</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_4Spin_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="title">
-                <string>Values</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout4</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="1">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLayoutWidget" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>Layout2</cstring>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>0</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QPushButton" row="0" column="1">
-                                            <property name="name">
-                                                <cstring>buttonRedo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Redo</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>buttonUndo</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Undo</string>
-                                            </property>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                                <spacer row="2" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer5</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>45</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>buttonApply</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Create</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout1</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QSpinBox" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <spacer row="4" column="1">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Vertical</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>0</width>
-                                            <height>70</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QSpinBox" row="3" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                                <widget class="QSpinBox" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>SpinBox1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL1</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="3" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_Dir1_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_Dir1_QTD.ui
deleted file mode 100644 (file)
index 59f6446..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_Dir1_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_Dir1_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>131</width>
-            <height>123</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_Dir1_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QButtonGroup" row="0" column="0">
-            <property name="name">
-                <cstring>GroupDir1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>0</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string>Direction</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QRadioButton" row="1" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir12</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Perpendicular</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="2" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir13</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Tangent</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="0" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir11</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Angle</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="3" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir14</cstring>
-                            </property>
-                            <property name="text">
-                                <string>VX-VY</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>RB_Dir11</tabstop>
-    <tabstop>RB_Dir12</tabstop>
-    <tabstop>RB_Dir13</tabstop>
-    <tabstop>RB_Dir14</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_Dir2_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_Dir2_QTD.ui
deleted file mode 100644 (file)
index 617d3c3..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_Dir2_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_Dir2_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>106</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_Dir2_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QButtonGroup" row="0" column="0">
-            <property name="name">
-                <cstring>GroupDir2</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string>Direction</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QRadioButton" row="1" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir22</cstring>
-                            </property>
-                            <property name="text">
-                                <string>X</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="2" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir23</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Y</string>
-                            </property>
-                        </widget>
-                        <spacer row="3" column="0">
-                            <property name="name">
-                                <cstring>Spacer4</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>20</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QRadioButton" row="0" column="0">
-                            <property name="name">
-                                <cstring>RB_Dir21</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Length</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>RB_Dir21</tabstop>
-    <tabstop>RB_Dir22</tabstop>
-    <tabstop>RB_Dir23</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_Point_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_Point_QTD.ui
deleted file mode 100644 (file)
index 8e0bd22..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_Point_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>EntityGUI_Point_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>124</width>
-            <height>106</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_Point_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QButtonGroup" row="0" column="0">
-            <property name="name">
-                <cstring>GroupPoint</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>0</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string>Point</string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QRadioButton" row="1" column="0">
-                            <property name="name">
-                                <cstring>RB_Point2</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Relative</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="0" column="0">
-                            <property name="name">
-                                <cstring>RB_Point1</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Absolute</string>
-                            </property>
-                        </widget>
-                        <widget class="QRadioButton" row="2" column="0">
-                            <property name="name">
-                                <cstring>RB_Point3</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Selection</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>RB_Point1</tabstop>
-    <tabstop>RB_Point2</tabstop>
-    <tabstop>RB_Point3</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/EntityGUI_Skeleton_QTD.ui b/src/EntityGUI/UIFiles/EntityGUI_Skeleton_QTD.ui
deleted file mode 100644 (file)
index 1a27ca1..0000000
+++ /dev/null
@@ -1,379 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>EntityGUI_Skeleton_QTD</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>EntityGUI_Skeleton_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>317</width>
-            <height>276</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>EntityGUI_Skeleton_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QLayoutWidget" row="0" column="0">
-            <property name="name">
-                <cstring>Layout1</cstring>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QGroupBox" row="2" column="0">
-                    <property name="name">
-                        <cstring>GroupVal</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>7</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                </widget>
-                <widget class="QButtonGroup" row="0" column="0">
-                    <property name="name">
-                        <cstring>GroupConstructors</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>5</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string>Element Type</string>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton1</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Segment</string>
-                                    </property>
-                                </widget>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton2</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Arc</string>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </grid>
-                </widget>
-                <widget class="QGroupBox" row="1" column="0">
-                    <property name="name">
-                        <cstring>GroupDest</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string>Destination</string>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout5</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QButtonGroup" row="0" column="0" rowspan="1" colspan="2">
-                                    <property name="name">
-                                        <cstring>GroupDest1</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="title">
-                                        <string>Type</string>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>11</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                        <widget class="QLayoutWidget" row="0" column="0">
-                                            <property name="name">
-                                                <cstring>Layout4</cstring>
-                                            </property>
-                                            <grid>
-                                                <property name="name">
-                                                    <cstring>unnamed</cstring>
-                                                </property>
-                                                <property name="margin">
-                                                    <number>0</number>
-                                                </property>
-                                                <property name="spacing">
-                                                    <number>6</number>
-                                                </property>
-                                                <widget class="QRadioButton" row="0" column="1">
-                                                    <property name="name">
-                                                        <cstring>RB_Dest2</cstring>
-                                                    </property>
-                                                    <property name="text">
-                                                        <string>Direction</string>
-                                                    </property>
-                                                </widget>
-                                                <widget class="QRadioButton" row="0" column="0">
-                                                    <property name="name">
-                                                        <cstring>RB_Dest1</cstring>
-                                                    </property>
-                                                    <property name="text">
-                                                        <string>Point</string>
-                                                    </property>
-                                                </widget>
-                                            </grid>
-                                        </widget>
-                                    </grid>
-                                </widget>
-                                <widget class="QButtonGroup" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>GroupDest2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>7</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="title">
-                                        <string></string>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>11</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                    </grid>
-                                </widget>
-                                <widget class="QButtonGroup" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>GroupDest3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>7</hsizetype>
-                                            <vsizetype>7</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="title">
-                                        <string></string>
-                                    </property>
-                                    <grid>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <property name="margin">
-                                            <number>11</number>
-                                        </property>
-                                        <property name="spacing">
-                                            <number>6</number>
-                                        </property>
-                                    </grid>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-                <widget class="QGroupBox" row="3" column="0">
-                    <property name="name">
-                        <cstring>GroupButtons</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                    <hbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonEnd</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>End Sketch</string>
-                                    </property>
-                                </widget>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonClose</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Close Sketch</string>
-                                    </property>
-                                </widget>
-                                <spacer>
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Horizontal</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>91</width>
-                                            <height>0</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton">
-                                    <property name="name">
-                                        <cstring>buttonCancel</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>&amp;Cancel</string>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </hbox>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<tabstops>
-    <tabstop>RadioButton1</tabstop>
-    <tabstop>RadioButton2</tabstop>
-    <tabstop>RB_Dest1</tabstop>
-    <tabstop>RB_Dest2</tabstop>
-    <tabstop>buttonEnd</tabstop>
-    <tabstop>buttonClose</tabstop>
-    <tabstop>buttonCancel</tabstop>
-</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/EntityGUI/UIFiles/ui_to_cxx b/src/EntityGUI/UIFiles/ui_to_cxx
deleted file mode 100755 (executable)
index e370f44..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-uic -o EntityGUI_Skeleton_QTD.h EntityGUI_Skeleton_QTD.ui
-uic -o EntityGUI_Skeleton_QTD.cxx -impl EntityGUI_Skeleton_QTD.h EntityGUI_Skeleton_QTD.ui
-
-uic -o EntityGUI_Point_QTD.h EntityGUI_Point_QTD.ui
-uic -o EntityGUI_Point_QTD.cxx -impl EntityGUI_Point_QTD.h EntityGUI_Point_QTD.ui
-
-uic -o EntityGUI_Dir1_QTD.h EntityGUI_Dir1_QTD.ui
-uic -o EntityGUI_Dir1_QTD.cxx -impl EntityGUI_Dir1_QTD.h EntityGUI_Dir1_QTD.ui
-
-uic -o EntityGUI_Dir2_QTD.h EntityGUI_Dir2_QTD.ui
-uic -o EntityGUI_Dir2_QTD.cxx -impl EntityGUI_Dir2_QTD.h EntityGUI_Dir2_QTD.ui
-
-uic -o EntityGUI_1Spin_QTD.h EntityGUI_1Spin_QTD.ui
-uic -o EntityGUI_1Spin_QTD.cxx -impl EntityGUI_1Spin_QTD.h EntityGUI_1Spin_QTD.ui
-
-uic -o EntityGUI_2Spin_QTD.h EntityGUI_2Spin_QTD.ui
-uic -o EntityGUI_2Spin_QTD.cxx -impl EntityGUI_2Spin_QTD.h EntityGUI_2Spin_QTD.ui
-
-uic -o EntityGUI_3Spin_QTD.h EntityGUI_3Spin_QTD.ui
-uic -o EntityGUI_3Spin_QTD.cxx -impl EntityGUI_3Spin_QTD.h EntityGUI_3Spin_QTD.ui
-
-uic -o EntityGUI_4Spin_QTD.h EntityGUI_4Spin_QTD.ui
-uic -o EntityGUI_4Spin_QTD.cxx -impl EntityGUI_4Spin_QTD.h EntityGUI_4Spin_QTD.ui
-
-uic -o EntityGUI_1Sel_QTD.h EntityGUI_1Sel_QTD.ui
-uic -o EntityGUI_1Sel_QTD.cxx -impl EntityGUI_1Sel_QTD.h EntityGUI_1Sel_QTD.ui
diff --git a/src/GEOM/GEOM_Application.cxx b/src/GEOM/GEOM_Application.cxx
deleted file mode 100644 (file)
index 1424696..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#include <Standard_Stream.hxx>
-#include <GEOM_Application.ixx>
-
-//=======================================================================
-//function : GEOM_Application
-//purpose  : 
-//=======================================================================
-
-GEOM_Application::GEOM_Application() 
-{
-}
-
-
-//=======================================================================
-//function : Formats
-//purpose  : 
-//=======================================================================
-
-void GEOM_Application::Formats(TColStd_SequenceOfExtendedString& Formats) 
-{  
-  Formats.Append(TCollection_ExtendedString ("SALOME_GEOM"));
-}
-
-
-//=======================================================================
-//function : ResourcesName
-//purpose  : 
-//=======================================================================
-
-Standard_CString GEOM_Application::ResourcesName() 
-{
-  return Standard_CString ("GEOMDS_Resources");
-}
-
-
-
-
-
diff --git a/src/GEOM/GEOM_Application.hxx b/src/GEOM/GEOM_Application.hxx
deleted file mode 100644 (file)
index cf866a8..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//  File   : GEOM_Application.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_Application_HeaderFile
-#define _GEOM_Application_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOM_Application_HeaderFile
-#include <Handle_GEOM_Application.hxx>
-#endif
-
-#ifndef _TDocStd_Application_HeaderFile
-#include <TDocStd_Application.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOM_Application : public TDocStd_Application {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_Application();
-Standard_EXPORT virtual  void Formats(TColStd_SequenceOfExtendedString& Formats) ;
-Standard_EXPORT Standard_CString ResourcesName() ;
-Standard_EXPORT ~GEOM_Application();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_Application_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOM/GEOM_Application.ixx b/src/GEOM/GEOM_Application.ixx
deleted file mode 100644 (file)
index 77f5bf9..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//  File   : GEOM_Application.ixx
-//  Module : GEOM
-
-#include "GEOM_Application.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_Application::~GEOM_Application() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_Application_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TDocStd_Application);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TDocStd_Application);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(CDF_Application);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(CDF_Application);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(CDM_Application);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(CDM_Application);
-  static Handle_Standard_Type aType4 = STANDARD_TYPE(Standard_Transient);
-  if ( aType4.IsNull()) aType4 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_Application",
-                                                        sizeof(GEOM_Application),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-// DownCast method
-// allow safe downcasting
-
-
-const Handle(GEOM_Application) Handle(GEOM_Application)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOM_Application) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_Application))) {
-       _anOtherObject = Handle(GEOM_Application)((Handle(GEOM_Application)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
-const Handle(Standard_Type)& GEOM_Application::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_Application) ; 
-}
-Standard_Boolean GEOM_Application::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_Application) == AType || TDocStd_Application::IsKind(AType)); 
-}
-Handle_GEOM_Application::~Handle_GEOM_Application() {}
diff --git a/src/GEOM/GEOM_Application.jxx b/src/GEOM/GEOM_Application.jxx
deleted file mode 100644 (file)
index 948f691..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-//  File   : GEOM_Application.jxx
-//  Module : GEOM
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _GEOM_Application_HeaderFile
-#include "GEOM_Application.hxx"
-#endif
diff --git a/src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx b/src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx
deleted file mode 100644 (file)
index dc78bfb..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-
-#ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
-#define _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
-
-#ifndef _TCollection_BasicMapIterator_HeaderFile
-#include <TCollection_BasicMapIterator.hxx>
-#endif
-#ifndef _Handle_Standard_Transient_HeaderFile
-#include <Handle_Standard_Transient.hxx>
-#endif
-#ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#endif
-class Standard_NoSuchObject;
-class TCollection_AsciiString;
-class Standard_Transient;
-class GEOM_DataMapOfAsciiStringTransient;
-class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient  : public TCollection_BasicMapIterator {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient();
-Standard_EXPORT GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient(const GEOM_DataMapOfAsciiStringTransient& aMap);
-Standard_EXPORT   void Initialize(const GEOM_DataMapOfAsciiStringTransient& aMap) ;
-Standard_EXPORT  const TCollection_AsciiString& Key() const;
-Standard_EXPORT  const Handle_Standard_Transient& Value() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx b/src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx
deleted file mode 100644 (file)
index 5ef372f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-
-#include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TCollection_AsciiString_HeaderFile
-#include <TCollection_AsciiString.hxx>
-#endif
-#ifndef _Standard_Transient_HeaderFile
-#include <Standard_Transient.hxx>
-#endif
-#ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapOfAsciiStringTransient.hxx>
-#endif
-#ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#endif
-
-#define TheKey TCollection_AsciiString
-#define TheKey_hxx <TCollection_AsciiString.hxx>
-#define TheItem Handle_Standard_Transient
-#define TheItem_hxx <Standard_Transient.hxx>
-#define Hasher TCollection_AsciiString
-#define Hasher_hxx <TCollection_AsciiString.hxx>
-#define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
-#define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
-#define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
-#include <TCollection_DataMapIterator.gxx>
-
diff --git a/src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx b/src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
deleted file mode 100644 (file)
index fb09512..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-
-#ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#define _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#endif
-
-#ifndef _TCollection_AsciiString_HeaderFile
-#include <TCollection_AsciiString.hxx>
-#endif
-#ifndef _Handle_Standard_Transient_HeaderFile
-#include <Handle_Standard_Transient.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class Standard_Transient;
-class TCollection_AsciiString;
-class GEOM_DataMapOfAsciiStringTransient;
-class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient;
-
-
-class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOM_DataMapNodeOfDataMapOfAsciiStringTransient(const TCollection_AsciiString& K,const Handle(Standard_Transient)& I,const TCollection_MapNodePtr& n);
-  TCollection_AsciiString& Key() const;
-  Handle_Standard_Transient& Value() const;
-Standard_EXPORT ~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TCollection_AsciiString myKey;
-Handle_Standard_Transient myValue;
-
-
-};
-
-#define TheKey TCollection_AsciiString
-#define TheKey_hxx <TCollection_AsciiString.hxx>
-#define TheItem Handle_Standard_Transient
-#define TheItem_hxx <Standard_Transient.hxx>
-#define Hasher TCollection_AsciiString
-#define Hasher_hxx <TCollection_AsciiString.hxx>
-#define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
-#define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
-#define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
-
-#include <TCollection_DataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_DataMapNode
-#undef TCollection_DataMapNode_hxx
-#undef TCollection_DataMapIterator
-#undef TCollection_DataMapIterator_hxx
-#undef Handle_TCollection_DataMapNode
-#undef TCollection_DataMapNode_Type_
-#undef TCollection_DataMap
-#undef TCollection_DataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx b/src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx
deleted file mode 100644 (file)
index 1836c2e..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-
-#include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_Transient_HeaderFile
-#include <Standard_Transient.hxx>
-#endif
-#ifndef _TCollection_AsciiString_HeaderFile
-#include <TCollection_AsciiString.hxx>
-#endif
-#ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapOfAsciiStringTransient.hxx>
-#endif
-#ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#endif
-GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_DataMapNodeOfDataMapOfAsciiStringTransient",
-                                                        sizeof(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient))) {
-       _anOtherObject = Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)((Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) ; 
-}
-Standard_Boolean GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient::~Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient() {}
-#define TheKey TCollection_AsciiString
-#define TheKey_hxx <TCollection_AsciiString.hxx>
-#define TheItem Handle_Standard_Transient
-#define TheItem_hxx <Standard_Transient.hxx>
-#define Hasher TCollection_AsciiString
-#define Hasher_hxx <TCollection_AsciiString.hxx>
-#define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
-#define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
-#define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
-#include <TCollection_DataMapNode.gxx>
-
diff --git a/src/GEOM/GEOM_DataMapOfAsciiStringTransient.hxx b/src/GEOM/GEOM_DataMapOfAsciiStringTransient.hxx
deleted file mode 100644 (file)
index 2225272..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-
-#ifndef _GEOM_DataMapOfAsciiStringTransient_HeaderFile
-#define _GEOM_DataMapOfAsciiStringTransient_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_Standard_Transient_HeaderFile
-#include <Handle_Standard_Transient.hxx>
-#endif
-#ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_NoSuchObject;
-class TCollection_AsciiString;
-class Standard_Transient;
-class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
-class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOM_DataMapOfAsciiStringTransient  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_DataMapOfAsciiStringTransient(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOM_DataMapOfAsciiStringTransient& Assign(const GEOM_DataMapOfAsciiStringTransient& Other) ;
-  GEOM_DataMapOfAsciiStringTransient& operator =(const GEOM_DataMapOfAsciiStringTransient& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOM_DataMapOfAsciiStringTransient()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Boolean Bind(const TCollection_AsciiString& K,const Handle(Standard_Transient)& I) ;
-Standard_EXPORT   Standard_Boolean IsBound(const TCollection_AsciiString& K) const;
-Standard_EXPORT   Standard_Boolean UnBind(const TCollection_AsciiString& K) ;
-Standard_EXPORT  const Handle_Standard_Transient& Find(const TCollection_AsciiString& K) const;
- const Handle_Standard_Transient& operator()(const TCollection_AsciiString& K) const
-{
-  return Find(K);
-}
-
-Standard_EXPORT   Handle_Standard_Transient& ChangeFind(const TCollection_AsciiString& K) ;
-  Handle_Standard_Transient& operator()(const TCollection_AsciiString& K) 
-{
-  return ChangeFind(K);
-}
-
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOM_DataMapOfAsciiStringTransient(const GEOM_DataMapOfAsciiStringTransient& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOM/GEOM_DataMapOfAsciiStringTransient_0.cxx b/src/GEOM/GEOM_DataMapOfAsciiStringTransient_0.cxx
deleted file mode 100644 (file)
index fbb6991..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#include <GEOM_DataMapOfAsciiStringTransient.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TCollection_AsciiString_HeaderFile
-#include <TCollection_AsciiString.hxx>
-#endif
-#ifndef _Standard_Transient_HeaderFile
-#include <Standard_Transient.hxx>
-#endif
-#ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#endif
-#ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
-#include <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#endif
-
-#define TheKey TCollection_AsciiString
-#define TheKey_hxx <TCollection_AsciiString.hxx>
-#define TheItem Handle_Standard_Transient
-#define TheItem_hxx <Standard_Transient.hxx>
-#define Hasher TCollection_AsciiString
-#define Hasher_hxx <TCollection_AsciiString.hxx>
-#define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
-#define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
-#define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
-#define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
-#define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
-#include <TCollection_DataMap.gxx>
-
diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx
deleted file mode 100644 (file)
index 5c3fbee..0000000
+++ /dev/null
@@ -1,632 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include "GEOM_Engine.hxx"
-
-#include "GEOM_Solver.hxx"
-#include "GEOM_Function.hxx"
-#include "GEOM_ISubShape.hxx"
-#include "GEOM_SubShapeDriver.hxx"
-#include "GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx"
-#include "GEOM_PythonDump.hxx"
-
-#include "utilities.h"
-
-#include <TDF_Tool.hxx>
-#include <TDF_Data.hxx>
-#include <TDF_LabelSequence.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDataStd_ChildNodeIterator.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_DriverTable.hxx>
-
-#include <TopExp.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <TColStd_SequenceOfAsciiString.hxx>
-#include <TColStd_MapOfTransient.hxx>
-#include <TColStd_HSequenceOfInteger.hxx>
-
-#include <Interface_DataMapIteratorOfDataMapOfIntegerTransient.hxx>
-#include <Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString.hxx>
-
-#include <map>
-#include <string>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-static GEOM_Engine* TheEngine = NULL;
-
-static TCollection_AsciiString BuildIDFromObject(Handle(GEOM_Object)& theObject)
-{
-  TCollection_AsciiString anID(theObject->GetDocID()), anEntry;
-  TDF_Tool::Entry(theObject->GetEntry(), anEntry);
-  anID+=(TCollection_AsciiString("_")+anEntry);
-  return anID;
-}
-
-static TCollection_AsciiString BuildID(Standard_Integer theDocID, char* theEntry)
-{
-  TCollection_AsciiString anID(theDocID);
-  anID+=(TCollection_AsciiString("_")+theEntry);
-  return anID;
-}
-
-static Standard_Integer ExtractDocID(TCollection_AsciiString& theID)
-{
-  TCollection_AsciiString aDocID = theID.Token("_");
-  if(aDocID.Length() < 1) return -1;
-  return aDocID.IntegerValue();
-}
-
-void ProcessFunction(Handle(GEOM_Function)& theFunction, 
-                    TCollection_AsciiString& theScript,
-                    TColStd_MapOfTransient& theProcessed);
-
-Handle(TColStd_HSequenceOfInteger) FindEntries(TCollection_AsciiString& theString);
-
-//=============================================================================
-/*!
- *  GetEngine
- */
-//=============================================================================
-GEOM_Engine* GEOM_Engine::GetEngine() { return TheEngine; }
-
-
-//=============================================================================
-/*!
- *  SetEngine
- */
-//=============================================================================
-void GEOM_Engine::SetEngine(GEOM_Engine* theEngine) { TheEngine = theEngine; }
-
-//=============================================================================
-/*!
- *  Constructor
- */
-//=============================================================================
-GEOM_Engine::GEOM_Engine()
-{
-  TFunction_DriverTable::Get()->AddDriver(GEOM_Object::GetSubShapeID(), new GEOM_SubShapeDriver());
-
-  _OCAFApp = new GEOM_Application();
-  _UndoLimit = 10;
-}
-
-//=============================================================================
-/*!
- *  GetDocument
- */
-//=============================================================================
-Handle(TDocStd_Document) GEOM_Engine::GetDocument(int theDocID)
-{
-  Handle(TDocStd_Document) aDoc;
-  if(!_mapIDDocument.IsBound(theDocID)) {
-    _OCAFApp->NewDocument("SALOME_GEOM", aDoc);
-    aDoc->SetUndoLimit(_UndoLimit);
-    _mapIDDocument.Bind(theDocID, aDoc);
-    TDataStd_Integer::Set(aDoc->Main(), theDocID);
-  }
-
-  return Handle(TDocStd_Document)::DownCast(_mapIDDocument(theDocID));
-}
-
-//=============================================================================
-/*!
- *  GetDocID
- */
-//=============================================================================
-int GEOM_Engine::GetDocID(Handle(TDocStd_Document) theDocument)
-{
-  if(theDocument.IsNull()) return -1;
-  for(Interface_DataMapIteratorOfDataMapOfIntegerTransient anItr(_mapIDDocument); anItr.More(); anItr.Next())
-    if(anItr.Value() == theDocument) return anItr.Key();
-
-  return -1;
-
-}
-
-//=============================================================================
-/*!
- *  GetObject
- */
-//=============================================================================
-Handle(GEOM_Object) GEOM_Engine::GetObject(int theDocID, char* theEntry)
-{
-  TCollection_AsciiString anID = BuildID(theDocID, theEntry);
-  if(_objects.IsBound(anID)) return Handle(GEOM_Object)::DownCast(_objects(anID));
-
-  TDF_Label aLabel;
-  Handle(TDocStd_Document) aDoc = GetDocument(theDocID);
-  TDF_Tool::Label(aDoc->Main().Data(), theEntry, aLabel, Standard_True);
-  Handle(GEOM_Object) anObject = new GEOM_Object(aLabel);
-
-  _objects.Bind(anID, anObject);
-
-  return anObject;
-}
-
-//=============================================================================
-/*!
- *  AddObject
- */
-//=============================================================================
-Handle(GEOM_Object) GEOM_Engine::AddObject(int theDocID, int theType)
-{
-    Handle(TDocStd_Document) aDoc = GetDocument(theDocID);
-    Handle(TDataStd_TreeNode) aRoot = TDataStd_TreeNode::Set(aDoc->Main());
-
-    TDF_Label aChild = TDF_TagSource::NewChild(aDoc->Main());
-    Handle(GEOM_Object) anObject = new GEOM_Object(aChild, theType);
-
-    //Put an object in the map of created objects
-    TCollection_AsciiString anID = BuildIDFromObject(anObject);
-    if(_objects.IsBound(anID)) _objects.UnBind(anID);
-    _objects.Bind(anID, anObject);
-
-    return anObject;
-}
-
-//=============================================================================
-/*!
- *  AddSubShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape, 
-                                            Handle(TColStd_HArray1OfInteger) theIndices,
-                                            bool isStandaloneOperation)
-{
-  if(theMainShape.IsNull() || theIndices.IsNull()) return NULL;
-
-  Handle(TDocStd_Document) aDoc = GetDocument(theMainShape->GetDocID());
-  Handle(TDataStd_TreeNode) aRoot = TDataStd_TreeNode::Set(aDoc->Main());
-
-  TDF_Label aChild = TDF_TagSource::NewChild(aDoc->Main());
-
-  Handle(GEOM_Function) aMainShape = theMainShape->GetLastFunction();
-  Handle(GEOM_Object) anObject = new GEOM_Object(aChild, 28); //28 is SUBSHAPE type
-  Handle(GEOM_Function) aFunction = anObject->AddFunction(GEOM_Object::GetSubShapeID(), 1);
-
-  GEOM_ISubShape aSSI(aFunction);
-  aSSI.SetMainShape(aMainShape);
-  aSSI.SetIndices(theIndices);
-
-  try {
-    GEOM_Solver aSolver (GEOM_Engine::GetEngine());
-    if (!aSolver.ComputeFunction(aFunction)) {
-      MESSAGE("GEOM_Engine::AddSubShape Error: Can't build a sub shape");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    MESSAGE("GEOM_Engine::AddSubShape Error: " << aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Put an object in the map of created objects
-  TCollection_AsciiString anID = BuildIDFromObject(anObject);
-  if(_objects.IsBound(anID)) _objects.UnBind(anID);
-  _objects.Bind(anID, anObject);
-
-  GEOM::TPythonDump pd (aFunction);
-  if (isStandaloneOperation) {
-    pd << anObject << " = geompy.GetSubShape(" << theMainShape << ", [";
-    Standard_Integer i = theIndices->Lower(), up = theIndices->Upper();
-    for (; i <= up - 1; i++) {
-      pd << theIndices->Value(i) << ", ";
-    }
-    pd << theIndices->Value(up) << "])";
-  }
-  else
-    pd << "None";
-
-  return anObject;
-}
-
-//=============================================================================
-/*!
- *  RemoveObject
- */
-//=============================================================================
-bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
-{
-  if(!theObject) return false;
-
-  //Remove an object from the map of available objects
-  TCollection_AsciiString anID = BuildIDFromObject(theObject);
-  if(_objects.IsBound(anID)) _objects.UnBind(anID);
-
-  int nb = theObject->GetNbFunctions();
-  Handle(TDataStd_TreeNode) aNode;
-  for(int i = 1; i<=nb; i++) {
-    Handle(GEOM_Function) aFunction = theObject->GetFunction(i);
-    if(aFunction->GetEntry().FindAttribute(GEOM_Function::GetFunctionTreeID(), aNode)) 
-      aNode->Remove();
-  }
-
-  TDF_Label aLabel = theObject->GetEntry();
-  aLabel.ForgetAllAttributes(Standard_True);
-
-  theObject.Nullify();
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  Undo
- */
-//=============================================================================
-void GEOM_Engine::Undo(int theDocID)
-{
-  GetDocument(theDocID)->Undo();
-}
-
-//=============================================================================
-/*!
- *  Redo
- */
-//=============================================================================
-void GEOM_Engine::Redo(int theDocID)
-{
-  GetDocument(theDocID)->Redo();
-}
-
-//=============================================================================
-/*!
- *  Save
- */
-//=============================================================================
-bool GEOM_Engine::Save(int theDocID, char* theFileName)
-{
-  if(!_mapIDDocument.IsBound(theDocID)) return false;
-  Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(_mapIDDocument(theDocID));
-
-  _OCAFApp->SaveAs(aDoc, theFileName);
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  Load
- */
-//=============================================================================
-bool GEOM_Engine::Load(int theDocID, char* theFileName)
-{
-  Handle(TDocStd_Document) aDoc;
-  if(_OCAFApp->Open(theFileName, aDoc) != CDF_RS_OK) {
-    return false;
-  }
-
-  aDoc->SetUndoLimit(_UndoLimit);
-
-  if(_mapIDDocument.IsBound(theDocID)) _mapIDDocument.UnBind(theDocID);
-  _mapIDDocument.Bind(theDocID, aDoc);
-
-  TDataStd_Integer::Set(aDoc->Main(), theDocID);
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  Close
- */
-//=============================================================================
-void GEOM_Engine::Close(int theDocID)
-{
-  if(_mapIDDocument.IsBound(theDocID)) {
-    Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(_mapIDDocument(theDocID));
-
-    //Remove all GEOM Objects associated to the given document
-    TColStd_SequenceOfAsciiString aSeq;
-    GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient It(_objects);
-    for(; It.More(); It.Next()) {
-      TCollection_AsciiString anObjID(It.Key());
-      Standard_Integer anID = ExtractDocID(anObjID);
-      if(theDocID == anID) aSeq.Append(It.Key());
-    }
-    for(Standard_Integer i=1; i<=aSeq.Length(); i++) _objects.UnBind(aSeq.Value(i));
-
-   _mapIDDocument.UnBind(theDocID);
-    _OCAFApp->Close(aDoc);
-    aDoc.Nullify();
-  }
-}
-
-//=============================================================================
-/*!
- *  DumpPython
- */
-//=============================================================================
-TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID, 
-                                               Resource_DataMapOfAsciiStringAsciiString& theObjectNames,
-                                               bool isPublished, 
-                                               bool& aValidScript)
-{
-  TCollection_AsciiString aScript;
-  Handle(TDocStd_Document) aDoc = GetDocument(theDocID);
-  
-  if(aDoc.IsNull()) return TCollection_AsciiString("def RebuildData(theStudy): pass\n");
-  aScript = "import geompy\n";
-  aScript += "import math\n\n";
-  aScript += "def RebuildData(theStudy):";
-  aScript += "\n\tgeompy.init_geom(theStudy)";
-  
-  Standard_Integer posToInertGlobalVars = aScript.Length() + 1;
-
-  Handle(TDataStd_TreeNode) aNode, aRoot;
-  Handle(GEOM_Function) aFunction;
-  TColStd_MapOfTransient aMap;
-
-  if(aDoc->Main().FindAttribute(GEOM_Function::GetFunctionTreeID(), aRoot)) {
-    TDataStd_ChildNodeIterator Itr(aRoot);
-    for(; Itr.More(); Itr.Next()) {
-      aNode = Itr.Value();
-      aFunction = GEOM_Function::GetFunction(aNode->Label());
-      if(aFunction.IsNull()) {
-       cout << "Null function !!!!" << endl;
-       continue;
-      }
-      ProcessFunction(aFunction, aScript, aMap);
-    }
-  }
-
-  Resource_DataMapOfAsciiStringAsciiString aEntry2StEntry, aStEntry2Entry;
-  Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString anEntryToNameIt;
-  // build maps entry <-> studyEntry
-  for (anEntryToNameIt.Initialize( theObjectNames );
-       anEntryToNameIt.More();
-       anEntryToNameIt.Next())
-  {
-    const TCollection_AsciiString& aEntry = anEntryToNameIt.Key();
-    // look for an object by entry
-    TDF_Label L;
-    TDF_Tool::Label( aDoc->GetData(), aEntry, L );
-    if ( L.IsNull() ) continue;
-    Handle(GEOM_Object) obj = GEOM_Object::GetObject( L );
-    // fill maps
-    if ( !obj.IsNull() ) {
-      TCollection_AsciiString aStudyEntry (obj->GetAuxData());
-      aEntry2StEntry.Bind( aEntry,  aStudyEntry);
-      aStEntry2Entry.Bind( aStudyEntry, aEntry );
-    }
-  }
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = FindEntries(aScript);
-  Standard_Integer aLen = aSeq->Length(), objectCounter = 0, aStart = 1, aScriptLength = aScript.Length();
-  Resource_DataMapOfAsciiStringAsciiString aNameToEntry, anEntryToBadName;
-
-  //Replace entries by the names
-  TCollection_AsciiString anUpdatedScript, anEntry, aName, aBaseName("geomObj_"),
-    allowedChars ("qwertyuioplkjhgfdsazxcvbnmQWERTYUIOPLKJHGFDSAZXCVBNM0987654321_");
-  if(aLen == 0) anUpdatedScript = aScript;
-
-  for(Standard_Integer i = 1; i <= aLen; i+=2) {
-    anUpdatedScript += aScript.SubString(aStart, aSeq->Value(i)-1);
-    anEntry = aScript.SubString(aSeq->Value(i), aSeq->Value(i+1));
-    if(theObjectNames.IsBound(anEntry)) {
-      aName = theObjectNames.Find(anEntry);
-      // check validity of aName
-      bool isValidName = true;
-      if ( aName.IsIntegerValue() ) { // aName must not start with a digit
-        aName.Insert( 1, 'a' );
-        isValidName = false;
-      }
-      int p, p2=1; // replace not allowed chars
-      while ((p = aName.FirstLocationNotInSet(allowedChars, p2, aName.Length()))) {
-        aName.SetValue(p, '_');
-        p2=p;
-        isValidName = false;
-      }
-      if ( aNameToEntry.IsBound( aName ) && anEntry != aNameToEntry( aName ))
-      {  // diff objects have same name - make a new name by appending a digit
-        TCollection_AsciiString aName2;
-        Standard_Integer i = 0;
-        do {
-          aName2 = aName + "_" + ++i;
-        } while ( aNameToEntry.IsBound( aName2 ) && anEntry != aNameToEntry( aName2 ));
-        aName = aName2;
-        isValidName = false;
-      }
-      if ( !isValidName ) {
-        if ( isPublished )
-          anEntryToBadName.Bind( anEntry, theObjectNames.Find(anEntry) );
-        theObjectNames( anEntry ) = aName;
-      }
-    }
-    else {
-      do {
-        aName = aBaseName + TCollection_AsciiString(++objectCounter);
-      } while(aNameToEntry.IsBound(aName));
-      theObjectNames.Bind(anEntry, aName);
-    }
-    aNameToEntry.Bind(aName, anEntry); // to detect same name of diff objects
-
-    anUpdatedScript += aName;
-    aStart = aSeq->Value(i+1) + 1;
-  }
-
-  //Add final part of the script
-  if(aSeq->Value(aLen) < aScriptLength)  anUpdatedScript += aScript.SubString(aSeq->Value(aLen)+1, aScriptLength);
-  // Make script to publish in study
-  if ( isPublished )
-  {
-    map< int, string > anEntryToCommandMap; // sort publishing commands by object entry
-    for (anEntryToNameIt.Initialize( theObjectNames );
-         anEntryToNameIt.More();
-         anEntryToNameIt.Next())
-    {
-      const TCollection_AsciiString& aEntry = anEntryToNameIt.Key();
-      const TCollection_AsciiString& aName = anEntryToNameIt.Value();
-      if ( !aEntry2StEntry.IsBound( aEntry ))
-        continue; // was not published
-      TCollection_AsciiString aCommand("\n\tgeompy."), aFatherEntry;
-
-      // find a father entry
-      const TCollection_AsciiString& aStudyEntry = aEntry2StEntry( aEntry );
-      TCollection_AsciiString aFatherStudyEntry =
-        aStudyEntry.SubString( 1, aStudyEntry.SearchFromEnd(":") - 1 );
-      if ( aStEntry2Entry.IsBound( aFatherStudyEntry ))
-        aFatherEntry = aStEntry2Entry( aFatherStudyEntry );
-
-      // make a command
-      if ( !aFatherEntry.IsEmpty() && theObjectNames.IsBound( aFatherEntry )) {
-        aCommand += "addToStudyInFather( ";
-        aCommand += theObjectNames( aFatherEntry ) + ", ";
-      }
-      else
-        aCommand += "addToStudy( ";
-      if ( anEntryToBadName.IsBound( aEntry ))
-        aCommand += aName + ", \"" + anEntryToBadName( aEntry ) + "\" )";
-      else 
-        aCommand += aName + ", \"" + aName + "\" )";
-
-      // bind a command to the last digit of the entry
-      int tag =
-        aEntry.SubString( aEntry.SearchFromEnd(":")+1, aEntry.Length() ).IntegerValue();
-      anEntryToCommandMap.insert( make_pair( tag, aCommand.ToCString() ));
-    }
-
-    // add publishing commands to the script
-    map< int, string >::iterator anEntryToCommand = anEntryToCommandMap.begin();
-    for ( ; anEntryToCommand != anEntryToCommandMap.end(); ++anEntryToCommand ) {
-      anUpdatedScript += (char*)anEntryToCommand->second.c_str();
-    }
-  }
-
-  anUpdatedScript += "\n\tpass\n";
-  aValidScript = true;
-
-  // fill _studyEntry2NameMap and build globalVars
-  TCollection_AsciiString globalVars;
-  _studyEntry2NameMap.Clear();
-  Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString aStEntryToEntryIt;
-  for (aStEntryToEntryIt.Initialize( aStEntry2Entry );
-       aStEntryToEntryIt.More();
-       aStEntryToEntryIt.Next() )
-  {
-    const TCollection_AsciiString & name = theObjectNames( aStEntryToEntryIt.Value() );
-    _studyEntry2NameMap.Bind (aStEntryToEntryIt.Key(), name );
-    if ( !globalVars.IsEmpty() )
-      globalVars += ", ";
-    globalVars += name;
-  }
-  if ( !globalVars.IsEmpty() ) {
-    globalVars.Insert( 1, "\n\tglobal " );
-    anUpdatedScript.Insert( posToInertGlobalVars, globalVars );
-  }
-  
-  return anUpdatedScript;
-}
-
-//=======================================================================
-//function : GetDumpName
-//purpose  : 
-//=======================================================================
-
-const char* GEOM_Engine::GetDumpName (const char* theStudyEntry) const
-{
-  if ( _studyEntry2NameMap.IsBound( (char*)theStudyEntry ))
-    return _studyEntry2NameMap( (char*)theStudyEntry ).ToCString();
-
-  return NULL;
-}
-
-//=======================================================================
-//function : GetAllDumpNames
-//purpose  : 
-//=======================================================================
-
-Handle(TColStd_HSequenceOfAsciiString) GEOM_Engine::GetAllDumpNames() const
-{
-  Handle(TColStd_HSequenceOfAsciiString) aRetSeq = new TColStd_HSequenceOfAsciiString;
-
-  Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString it (_studyEntry2NameMap);
-  for (; it.More(); it.Next()) {
-    aRetSeq->Append(it.Value());
-  }
-
-  return aRetSeq;
-}
-
-
-//===========================================================================
-//                     Internal functions
-//===========================================================================
-void ProcessFunction(Handle(GEOM_Function)& theFunction, 
-                    TCollection_AsciiString& theScript,
-                    TColStd_MapOfTransient& theProcessed)
-{
-  if(theFunction.IsNull() || theProcessed.Contains(theFunction)) return;
-
-/*
-  TDF_LabelSequence aSeq;
-  theFunction->GetDependency(aSeq);
-  Standard_Integer aLen = aSeq.Length();
-  for(Standard_Integer i = 1; i<= aLen; i++) {
-    Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(aSeq.Value(i));
-    if(aFunction.IsNull()) continue;
-    ProcessFunction(aFunction, theScript, theProcessed);
-  }
-*/
-
-  TCollection_AsciiString aDescr = theFunction->GetDescription();
-  if(aDescr.Length() == 0) {
-    //cout << "Warning: the function has no description" << endl;
-    return;
-  }
-  //Check if its internal function which doesn't requires dumping
-  if(aDescr == "None") return;
-
-  theScript += "\n\t";
-  theScript += aDescr;
-  theProcessed.Add(theFunction);
-  return;
-}
-
-//=============================================================================
-/*!
- *  FindEntries: Returns a sequence of start/end positions of entries in the string
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) FindEntries(TCollection_AsciiString& theString)
-{
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-  Standard_Integer aLen = theString.Length();
-  Standard_Boolean isFound = Standard_False;
-
-  char* arr = theString.ToCString();
-  Standard_Integer i = 0, j;
-
-  while(i < aLen) {
-    int c = (int)arr[i];
-    j = i+1;
-    if(c >= 48 && c <= 57) { //Is digit?
-      isFound = Standard_False;
-      while((j < aLen) && ((c >= 48 && c <= 57) || c == 58) ) { //Check if it is an entry
-       c = (int)arr[j++];  
-       if(c == 58) isFound = Standard_True;
-      }
-      
-      if(isFound && arr[j-2] != 58) { // last char should be a diggit
-       aSeq->Append(i+1); // +1 because AsciiString starts from 1
-       aSeq->Append(j-1);
-      }
-    }
-     
-    i = j;
-  }
-
-  return aSeq;
-}
diff --git a/src/GEOM/GEOM_Engine.hxx b/src/GEOM/GEOM_Engine.hxx
deleted file mode 100644 (file)
index bb1a5db..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-
-#ifndef _GEOM_Engine_HXX_
-#define _GEOM_Engine_HXX_
-
-#include "GEOM_Application.hxx"
-#include "GEOM_Object.hxx"
-#include "GEOM_DataMapOfAsciiStringTransient.hxx"
-
-#include <Interface_DataMapOfIntegerTransient.hxx> 
-#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
-#include <TDocStd_Document.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_HSequenceOfAsciiString.hxx>
-
-class GEOM_Engine
-{
- public:
-  Standard_EXPORT GEOM_Engine();
-  Standard_EXPORT ~GEOM_Engine() { _mapIDDocument.Clear(); _objects.Clear(); }
-
-  //Retuns the engine    
-  Standard_EXPORT static GEOM_Engine* GetEngine();   
-
-  //Returns the OCAF document by its ID, if document doesn't exists it will be created
-  Standard_EXPORT Handle(TDocStd_Document) GetDocument(int theDocID);
-
-  //Returns the ID of the given OCAF document
-  Standard_EXPORT int GetDocID(Handle(TDocStd_Document) theDocument);
-  
-  //Returns the OCAF appliaction
-  Standard_EXPORT Handle(TDocStd_Application) GetApplication() { return _OCAFApp; }
-
-  //Returns a pointer to GEOM_Object defined by a document and the entry
-  Standard_EXPORT Handle(GEOM_Object) GetObject(int theDocID, char* theEntry);
-  
-  //Adds a new object of the type theType in the OCAF document
-  Standard_EXPORT Handle(GEOM_Object) AddObject(int theDocID, int theType);
-
-  //Removes the object from the OCAF document
-  Standard_EXPORT bool RemoveObject(Handle(GEOM_Object) theObject);  
-
-  //Saves the OCAF document with ID = theDocID with file with name theFileName
-  Standard_EXPORT bool Save(int theDocID, char* theFileName);
-  
-  //Loads the OCAF document into the application and assigns to it an ID = theDocID
-  Standard_EXPORT bool Load(int theDocID, char* theFileName);
-
-  //Closes the document with ID =  theDocID
-  Standard_EXPORT void Close(int theDocID);
-
-  //Sets the number of Undos (default value = 10)
-  Standard_EXPORT void SetUndoLimit(int theLimit) { _UndoLimit = theLimit; }
-
-  //Applies an Undo to document with ID = theDocID
-  Standard_EXPORT void Undo(int theDocID);
-
-  //Applies an Redo to document with ID = theDocID
-  Standard_EXPORT void Redo(int theDocID);
-
-  //Adds a new sub shape object of the MainShape object
-  Standard_EXPORT Handle(GEOM_Object) AddSubShape(Handle(GEOM_Object) theMainShape, 
-                                 Handle(TColStd_HArray1OfInteger) theIndices,
-                                 bool isStandaloneOperation = false);
-
-  Standard_EXPORT TCollection_AsciiString DumpPython(int theDocID, 
-                                    Resource_DataMapOfAsciiStringAsciiString& theObjectNames,
-                                    bool isPublished, 
-                                    bool& aValidScript);
-
-  Standard_EXPORT const char* GetDumpName (const char* theStudyEntry) const;
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfAsciiString) GetAllDumpNames() const;
-
- protected:
-  Standard_EXPORT static void SetEngine(GEOM_Engine* theEngine);       
-
- private:
-
-  Handle(GEOM_Application)  _OCAFApp;
-  Interface_DataMapOfIntegerTransient _mapIDDocument;
-  int _UndoLimit;
-  GEOM_DataMapOfAsciiStringTransient _objects;
-
-  Resource_DataMapOfAsciiStringAsciiString _studyEntry2NameMap;
-};
-
-#endif
diff --git a/src/GEOM/GEOM_Function.cxx b/src/GEOM/GEOM_Function.cxx
deleted file mode 100644 (file)
index 7845585..0000000
+++ /dev/null
@@ -1,681 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_Object.hxx>
-#include <GEOM_Solver.hxx>
-
-#include "utilities.h"
-
-#include <TDF.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Data.hxx>
-#include <TDF_ChildIterator.hxx>
-#include <TDF_Reference.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDataStd_IntegerArray.hxx>
-#include <TDataStd_Real.hxx>
-#include <TDataStd_RealArray.hxx>
-#include <TDataStd_Comment.hxx>
-#include <TDataStd_TreeNode.hxx>
-#include <TDataStd_UAttribute.hxx>
-#include <TDataStd_ChildNodeIterator.hxx>
-#include <TDataStd_ExtStringArray.hxx>
-#include <TDocStd_Owner.hxx>
-#include <TDocStd_Document.hxx>
-#include <TFunction_Function.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <TNaming_Builder.hxx>
-
-#include <TColStd_ListOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_ExtendedString.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-#define ARGUMENT_LABEL 1
-#define RESULT_LABEL 2
-#define DESCRIPTION_LABEL 3
-#define HISTORY_LABEL 4
-
-#define ARGUMENTS _label.FindChild((ARGUMENT_LABEL))
-#define ARGUMENT(thePosition) _label.FindChild((ARGUMENT_LABEL)).FindChild((thePosition))
-#define SUB_ARGUMENT(thePos1, thePos2) _label.FindChild((ARGUMENT_LABEL)).FindChild((thePos1)).FindChild((thePos2))
-
-//=======================================================================
-//function : GetFunctionTreeID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOM_Function::GetFunctionTreeID()
-{
-  static Standard_GUID aFunctionTreeID("FF1BBB00-5D14-4df2-980B-3A668264EA16");
-  return aFunctionTreeID;
-}
-
-
-//=======================================================================
-//function : GetDependencyID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOM_Function::GetDependencyID()
-{
-  static Standard_GUID aDependencyID("E2620650-2354-41bd-8C2C-210CFCD00948");
-  return aDependencyID;
-}
-
-//=============================================================================
-/*!
- *  GetFunction:
- */
-//=============================================================================
-Handle(GEOM_Function) GEOM_Function::GetFunction(const TDF_Label& theEntry)
-{
-  if(!theEntry.IsAttribute(TFunction_Function::GetID())) return NULL;
-
-  return new GEOM_Function(theEntry);
-}
-
-//=============================================================================
-/*!
- *  Constructor:
- */
-//=============================================================================
-GEOM_Function::GEOM_Function(const TDF_Label& theEntry, const Standard_GUID& theGUID, int theType)
-: _label(theEntry)
-{
-  TFunction_Function::Set(theEntry, theGUID);
-  TDataStd_Integer::Set(theEntry, theType);
-
-  //Add function to a function tree
-  Handle(TDocStd_Document) aDoc = TDocStd_Owner::GetDocument(theEntry.Data());
-  Handle(TDataStd_TreeNode) aRoot, aNode;
-  if(!aDoc->Main().FindAttribute(GetFunctionTreeID(), aRoot))
-    aRoot = TDataStd_TreeNode::Set(aDoc->Main(), GetFunctionTreeID());
-
-  aNode = TDataStd_TreeNode::Set(theEntry, GetFunctionTreeID());
-  aRoot->Append(aNode);
-}
-
-//=============================================================================
-/*!
- *  GetOwner
- */
-//=============================================================================
-TDF_Label GEOM_Function::GetOwnerEntry()
-{
-  TDF_Label aFather = _label.Father();
-  while(!aFather.IsRoot()) {
-    if(aFather.IsAttribute(GEOM_Object::GetObjectID())) return aFather;
-    aFather = aFather.Father();
-  }
-
-  return TDF_Label();
-}
-
-//=============================================================================
-/*!
- *  GetType
- */
-//=============================================================================
-int GEOM_Function::GetType()
-{
-  _isDone = false;
-  Handle(TDataStd_Integer) aType;
-  if(!_label.FindAttribute(TDataStd_Integer::GetID(), aType)) return 0;
-  _isDone = true;
-  return aType->Get();
-}
-
-//=============================================================================
-/*!
- *  GetValue
- */
-//=============================================================================
-TopoDS_Shape GEOM_Function::GetValue()
-{
-  _isDone = false;
-
-  TopoDS_Shape aShape;
-  TDF_Label aLabel = GetOwnerEntry();
-  if(aLabel.IsRoot()) return aShape;
-  Handle(GEOM_Object) anObject = GEOM_Object::GetObject(aLabel);
-  if(anObject.IsNull()) return aShape;
-  if(!anObject->IsMainShape()) {
-    try {
-      GEOM_Solver aSolver(GEOM_Engine::GetEngine());
-      if (!aSolver.ComputeFunction(this)) {
-       MESSAGE("GEOM_Object::GetValue Error : Can't build a sub shape");
-       return aShape;
-      }
-    }
-    catch (Standard_Failure) {
-      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-      MESSAGE("GEOM_Function::GetValue Error: " << aFail->GetMessageString());
-      return aShape;
-    }
-  }
-
-  TDF_Label aResultLabel = _label.FindChild(RESULT_LABEL);
-  Handle(TNaming_NamedShape) aNS;
-  if(!aResultLabel.FindAttribute(TNaming_NamedShape::GetID(), aNS)) return aShape;
-
-  aShape = aNS->Get();
-
-  _isDone = true;
-  return aShape;
-}
-
-//=============================================================================
-/*!
- *  GetValue
- */
-//=============================================================================
-void GEOM_Function::SetValue(TopoDS_Shape& theShape)
-{
-  _isDone = false;
-  TDF_Label aResultLabel = _label.FindChild(RESULT_LABEL);
-  TNaming_Builder aBuilder(aResultLabel);
-
-  aBuilder.Generated(theShape);
-
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  GetDriverGUID
- */
-//=============================================================================
-Standard_GUID GEOM_Function::GetDriverGUID()
-{
-  Handle(TFunction_Function) aFunction;
-  if(!_label.FindAttribute(TFunction_Function::GetID(), aFunction)) {
-    return TDF::LowestID();
-  }
-
-  return aFunction->GetDriverGUID();
-}
-
-//=============================================================================
-/*!
- *  GetDescription
- */
-//=============================================================================
-TCollection_AsciiString GEOM_Function::GetDescription()
-{
-  Handle(TDataStd_Comment) aComment;
-  TDF_Label aChild = _label.FindChild(DESCRIPTION_LABEL);
-  if(!aChild.FindAttribute(TDataStd_Comment::GetID(), aComment)) return TCollection_AsciiString();
-  TCollection_AsciiString aDescr(aComment->Get());
-  return aDescr;
-}
-
-//=============================================================================
-/*!
- *  SetDescription
- */
-//=============================================================================
-void GEOM_Function::SetDescription(const TCollection_AsciiString& theDescription)
-{
-  TDF_Label aChild = _label.FindChild(DESCRIPTION_LABEL);
-  Handle(TDataStd_Comment) aComment =
-    TDataStd_Comment::Set(aChild, TCollection_ExtendedString(theDescription));
-}
-
-//=============================================================================
-/*!
- *  SetReal
- */
-//=============================================================================
-void GEOM_Function::SetReal(int thePosition, double theValue)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  TDataStd_Real::Set(anArgLabel, theValue);
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  SetRealArray
- */
-//=============================================================================
-void GEOM_Function::SetRealArray (int thePosition,
-                                  const Handle(TColStd_HArray1OfReal)& theArray)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  Handle(TDataStd_RealArray) anAttr =
-    TDataStd_RealArray::Set(anArgLabel, theArray->Lower(), theArray->Upper());
-  anAttr->ChangeArray(theArray);
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  GetReal
- */
-//=============================================================================
-double GEOM_Function::GetReal(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return 0.0;
-  Handle(TDataStd_Real) aReal;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  if(!anArgLabel.FindAttribute(TDataStd_Real::GetID(), aReal)) return 0.0;
-
-  _isDone = true;
-  return aReal->Get();
-}
-
-//=============================================================================
-/*!
- *  GetRealArray
- */
-//=============================================================================
-Handle(TColStd_HArray1OfReal) GEOM_Function::GetRealArray(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return NULL;
-  Handle(TDataStd_RealArray) aRealArray;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  if(!anArgLabel.FindAttribute(TDataStd_RealArray::GetID(), aRealArray)) return NULL;
-
-  _isDone = true;
-  return aRealArray->Array();
-}
-
-//=============================================================================
-/*!
- *  SetInteger
- */
-//=============================================================================
-void GEOM_Function::SetInteger(int thePosition, int theValue)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  TDataStd_Integer::Set(anArgLabel, theValue);
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  SetIntegerArray
- */
-//=============================================================================
-void GEOM_Function::SetIntegerArray (int thePosition,
-                                     const Handle(TColStd_HArray1OfInteger)& theArray)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  Handle(TDataStd_IntegerArray) anAttr =
-    TDataStd_IntegerArray::Set(anArgLabel, theArray->Lower(), theArray->Upper());
-  anAttr->ChangeArray(theArray);
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  GetInteger
- */
-//=============================================================================
-int GEOM_Function::GetInteger(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return 0;
-  Handle(TDataStd_Integer) anInteger;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  if(!anArgLabel.FindAttribute(TDataStd_Integer::GetID(), anInteger)) return 0;
-
-  _isDone = true;
-  return anInteger->Get();
-}
-
-//=============================================================================
-/*!
- *  GetIntegerArray
- */
-//=============================================================================
-Handle(TColStd_HArray1OfInteger) GEOM_Function::GetIntegerArray(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return 0;
-  Handle(TDataStd_IntegerArray) anIntegerArray;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  if(!anArgLabel.FindAttribute(TDataStd_IntegerArray::GetID(), anIntegerArray)) return 0;
-
-  _isDone = true;
-  return anIntegerArray->Array();
-}
-
-//=============================================================================
-/*!
- *  SetString
- */
-//=============================================================================
-void GEOM_Function::SetString(int thePosition, const TCollection_AsciiString& theValue)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  TDataStd_Comment::Set(anArgLabel, theValue);
-  _isDone = true;
-}
-
-//=============================================================================
-/*!
- *  GetString
- */
-//=============================================================================
-TCollection_AsciiString GEOM_Function::GetString(int thePosition)
-{
-  _isDone = false;
-  TCollection_AsciiString aRes;
-  if(thePosition <= 0) return aRes;
-  Handle(TDataStd_Comment) aString;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  if(!anArgLabel.FindAttribute(TDataStd_Comment::GetID(), aString)) return aRes;
-
-  _isDone = true;
-  aRes = TCollection_AsciiString(aString->Get());
-  return aRes;
-}
-
-//=============================================================================
-/*!
- *  SetReference
- */
-//=============================================================================
-void GEOM_Function::SetReference(int thePosition, Handle(GEOM_Function) theReference)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-  if(theReference.IsNull()) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  TDF_Reference::Set(anArgLabel, theReference->GetEntry());
-  TDataStd_UAttribute::Set(anArgLabel, GetDependencyID());
-  _isDone = true;
-  return;
-}
-
-//=============================================================================
-/*!
- *  GetReference
- */
-//=============================================================================
-Handle(GEOM_Function) GEOM_Function::GetReference(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return NULL;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  Handle(TDF_Reference) aRef;
-  if(!anArgLabel.FindAttribute(TDF_Reference::GetID(), aRef)) return NULL;
-
-  _isDone = true;
-  return GetFunction(aRef->Get());
-}
-
-
-//=============================================================================
-/*!
- *  SetStringArray
- */
-//=============================================================================
-void GEOM_Function::SetStringArray(int thePosition, const Handle(TColStd_HArray1OfExtendedString)& theArray)
-{
-  _isDone = false;
-  if(thePosition <= 0 || theArray.IsNull()) return;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-
-  Handle(TDataStd_ExtStringArray) anArray = new TDataStd_ExtStringArray;
-  anArray->ChangeArray(theArray);
-  anArgLabel.AddAttribute(anArray);
-
-  _isDone = true;
-}
-
-
-//=============================================================================
-/*!
- *  GetStringArray
- */
-//=============================================================================
-Handle(TColStd_HArray1OfExtendedString) GEOM_Function::GetStringArray(int thePosition)
-{
-  _isDone = false;
-  if(thePosition <= 0) return NULL;
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  Handle(TDataStd_ExtStringArray) anArray;
-  if(!anArgLabel.FindAttribute(TDataStd_ExtStringArray::GetID(), anArray)) return NULL;
-
-  _isDone = true;
-  return anArray->Array();
-}
-
-//=======================================================================
-//function : GetReferencesTreeID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOM_Function::GetReferencesTreeID()
-{
-  static Standard_GUID aReferencesTreeID("FF1BBB10-5D14-4df2-980B-3A668264EA16");
-  return aReferencesTreeID;
-}
-
-//=============================================================================
-/*!
- *  SetReferenceList
- */
-//=============================================================================
-void GEOM_Function::SetReferenceList (int thePosition,
-                                      const Handle(TColStd_HSequenceOfTransient)& theRefList)
-{
-  _isDone = false;
-  if(thePosition <= 0) return;
-
-  // parent label for the list of references
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  anArgLabel.ForgetAllAttributes();
-
-  // set TreeNode on the parent label
-  Handle(TDataStd_TreeNode) aRoot, aNode;
-  aRoot = TDataStd_TreeNode::Set(anArgLabel, GetReferencesTreeID());
-
-  // store references on sub-labels of the parent label
-  Handle(GEOM_Function) aFunc;
-  Standard_Integer ind, len = theRefList->Length();
-  for (ind = 1; ind <= len; ind++) {
-    aFunc = Handle(GEOM_Function)::DownCast(theRefList->Value(ind));
-    if (aFunc.IsNull()) continue;
-    TDF_Label anArgLabel_i = SUB_ARGUMENT(thePosition, ind);
-    TDF_Reference::Set(anArgLabel_i, aFunc->GetEntry());
-    TDataStd_UAttribute::Set(anArgLabel_i, GetDependencyID());
-
-    // set TreeNode on the child label
-    aNode = TDataStd_TreeNode::Set(anArgLabel_i, GetReferencesTreeID());
-    aRoot->Append(aNode);
-  }
-
-  _isDone = true;
-  return;
-}
-
-//=============================================================================
-/*!
- *  GetReferenceList
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOM_Function::GetReferenceList(int thePosition)
-{
-  Handle(TColStd_HSequenceOfTransient) aResult = new TColStd_HSequenceOfTransient;
-  _isDone = false;
-  if(thePosition <= 0) return aResult;
-
-  // parent label for the list of references
-  TDF_Label anArgLabel = ARGUMENT(thePosition);
-  Handle(TDF_Reference) aRef;
-
-  // get TreeNode on the parent label
-  Handle(TDataStd_TreeNode) aRoot, aNode;
-  if(!anArgLabel.FindAttribute(GetReferencesTreeID(), aRoot))
-    return aResult;
-
-  // get references, stored on sub-labels of the parent label
-  TDF_Label aLabel_i;
-  TDataStd_ChildNodeIterator anIter (aRoot);
-  for (; anIter.More(); anIter.Next()) {
-    aNode = anIter.Value();
-    aLabel_i = aNode->Label();
-    if (!aLabel_i.FindAttribute(TDF_Reference::GetID(), aRef)) continue;
-    Handle(GEOM_Function) aFunc_i = GetFunction(aRef->Get());
-    if (aFunc_i.IsNull()) continue;
-    aResult->Append(aFunc_i);
-  }
-
-  _isDone = true;
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  SetShape
- */
-//=============================================================================
-//void GEOM_Function::SetShape(int thePosition, const TopoDS_Shape& theShape)
-//{
-//  _isDone = false;
-//  if(thePosition <= 0 || theShape.IsNull()) return;
-//
-//  TDF_Label anArgLabel = ARGUMENT(thePosition);
-//  TNaming_Builder aBuilder(anArgLabel);
-//  aBuilder.Generated(theShape);
-//
-//  _isDone = true;
-//  return;
-//}
-//
-//=============================================================================
-/*!
- *  GetShape
- */
-//=============================================================================
-//TopoDS_Shape GEOM_Function::GetShape(int thePosition)
-//{
-//  _isDone = false;
-//  TopoDS_Shape aShape;
-//  if(thePosition <= 0) return aShape;
-//
-//  TDF_Label anArgLabel = ARGUMENT(thePosition);
-//  Handle(TNaming_NamedShape) aNS;
-//  if(!anArgLabel.FindAttribute(TNaming_NamedShape::GetID(), aNS)) return aShape;
-//
-//  aShape = aNS->Get();
-//  _isDone = true;
-//  return aShape;
-//}
-
-
-//=============================================================================
-/*!
- *  GetDependency
- */
-//=============================================================================
-void GEOM_Function::GetDependency(TDF_LabelSequence& theSeq)
-{
-  TDF_ChildIterator anIterator(ARGUMENTS, Standard_True);
-  for(; anIterator.More(); anIterator.Next()) {
-    if(anIterator.Value().IsAttribute(GetDependencyID())) theSeq.Append(anIterator.Value());
-  }
-}
-
-//=============================================================================
-/*!
- *  GetHistoryEntry
- */
-//=============================================================================
-TDF_Label GEOM_Function::GetHistoryEntry (const Standard_Boolean create)
-{
-  return _label.FindChild(HISTORY_LABEL, create);
-}
-
-//=============================================================================
-/*!
- *  GetArgumentHistoryEntry
- */
-//=============================================================================
-TDF_Label GEOM_Function::GetArgumentHistoryEntry (const TDF_Label&       theArgumentRefEntry,
-                                                  const Standard_Boolean create)
-{
-  TColStd_ListOfInteger anArgumentRefTags;
-  TDF_Tool::TagList(theArgumentRefEntry, anArgumentRefTags);
-  Standard_Integer anArgumentRefLabelPos = anArgumentRefTags.Extent();
-
-  TDF_Label aHistoryLabel = GetHistoryEntry(create);
-  if (aHistoryLabel.IsNull())
-    return aHistoryLabel;
-  Standard_Integer aHistoryLabelPos = aHistoryLabel.Depth() + 1;
-
-  Standard_Integer itag;
-  TDF_Label aHistoryCurLabel = aHistoryLabel;
-  TColStd_ListIteratorOfListOfInteger aListIter (anArgumentRefTags);
-  for (itag = 1; itag <= aHistoryLabelPos; itag++) {
-    aListIter.Next();
-  }
-  for (; itag <= anArgumentRefLabelPos; itag++) {
-    aHistoryCurLabel = aHistoryCurLabel.FindChild(aListIter.Value(), create);
-    if (aHistoryCurLabel.IsNull())
-      return aHistoryCurLabel;
-    aListIter.Next();
-  }
-
-  return aHistoryCurLabel;
-}
-
-//=======================================================================
-//function :  GEOM_Function_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOM_Function_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_Function",
-                                                        sizeof(GEOM_Function),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-
-const Handle(GEOM_Function) Handle(GEOM_Function)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOM_Function) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_Function))) {
-       _anOtherObject = Handle(GEOM_Function)((Handle(GEOM_Function)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOM/GEOM_Function.hxx b/src/GEOM/GEOM_Function.hxx
deleted file mode 100644 (file)
index 9b223c9..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-
-#ifndef _GEOM_Function_HeaderFile
-#define _GEOM_Function_HeaderFile
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Handle_MMgt_TShared_HeaderFile
-#include <Handle_MMgt_TShared.hxx>
-#endif  
-#ifndef _MMgt_TShared_HeaderFile
-#include <MMgt_TShared.hxx>
-#endif  
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TDF_Label_HeaderFile
-#include <TDF_Label.hxx>
-#endif
-#ifndef _TDF_LabelSequence_HeaderFile
-#include <TDF_LabelSequence.hxx>
-#endif
-#ifndef _TColStd_HArray1OfExtendedString_HeaderFile
-#include <TColStd_HArray1OfExtendedString.hxx>
-#endif
-
-class Handle_TColStd_HArray1OfReal;
-class Handle_TColStd_HArray1OfInteger;
-class Handle_TColStd_HSequenceOfTransient;
-class Handle_TColStd_HArray1OfExtendedString;
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(MMgt_TShared);
-class GEOM_Function;
-
-#include <TCollection_AsciiString.hxx>
-
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_Function);
-
-class Handle(GEOM_Function) : public Handle(MMgt_TShared) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOM_Function)():Handle(MMgt_TShared)() {} 
-    Handle(GEOM_Function)(const Handle(GEOM_Function)& aHandle) : Handle(MMgt_TShared)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_Function)(const GEOM_Function* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) 
-     {
-     }
-
-    Handle(GEOM_Function)& operator=(const Handle(GEOM_Function)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_Function)& operator=(const GEOM_Function* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_Function* operator->() 
-     {
-      return (GEOM_Function *)ControlAccess();
-     }
-
-    GEOM_Function* operator->() const 
-     {
-      return (GEOM_Function *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_Function)() {};
-   Standard_EXPORT static const Handle(GEOM_Function) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-class GEOM_Function : public MMgt_TShared
-{
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    // Type management
-    //
-    Standard_EXPORT friend Handle_Standard_Type& GEOM_Function_Type_();
-    Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOM_Function) ; }
-    Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOM_Function) == AType || MMgt_TShared::IsKind(AType)); } 
-
-
-private:
-  GEOM_Function(const TDF_Label& theEntry) { _label = theEntry; }
-
-public:
-
-  //Returns a GUID for a function tree  
-  Standard_EXPORT static const Standard_GUID& GetFunctionTreeID();
-
-  //Returns the ID which is associated with a reference to another function  
-  Standard_EXPORT static const Standard_GUID& GetDependencyID();
-
-  //Finds and returns a function located on a label theEntry
-  Standard_EXPORT static Handle(GEOM_Function) GetFunction(const TDF_Label& theEntry);
-
-
-  Standard_EXPORT GEOM_Function(const TDF_Label& theEntry, const Standard_GUID& theGUID, int theType); 
-  Standard_EXPORT ~GEOM_Function() {;}
-
-  Standard_EXPORT TDF_Label GetOwnerEntry();
-
-  //Access to properties 
-
-  //Returns a result of the function built by the function Driver
-  Standard_EXPORT TopoDS_Shape GetValue();
-
-  //Sets the function result
-  Standard_EXPORT void SetValue(TopoDS_Shape& theShape);
-
-  //Returns a function entry in the OCAF document
-  Standard_EXPORT TDF_Label& GetEntry() { return _label; }
-
-  //Returns the type of the function
-  Standard_EXPORT int GetType();    
-
-  //Returns a function Driver GUID
-  Standard_EXPORT Standard_GUID GetDriverGUID();
-
-  //Returns aPython description of the function
-  Standard_EXPORT TCollection_AsciiString GetDescription();
-
-  //Sets aPython description of the function  
-  Standard_EXPORT void SetDescription(const TCollection_AsciiString& theDescription);  
-
-  //Access to arguments
-
-  //Sets a real argument at position thePosition
-  Standard_EXPORT void SetReal(int thePosition, double theValue);
-
-  //Returns a real argument at position thePosition
-  Standard_EXPORT double GetReal(int thePosition);
-
-  //Sets a real array argument at position thePosition
-  Standard_EXPORT void SetRealArray(int thePosition, const Handle(TColStd_HArray1OfReal)& theArray);
-
-  //Returns a real array argument at position thePosition
-  Standard_EXPORT Handle(TColStd_HArray1OfReal) GetRealArray(int thePosition);
-
-  //Sets an integer argument at position thePosition
-  Standard_EXPORT void SetInteger(int thePosition, int theValue);
-
-  //Returns an integer argument at position thePosition
-  Standard_EXPORT int GetInteger(int thePosition);  
-  
-  //Sets an integer array argument at position thePosition
-  Standard_EXPORT void SetIntegerArray(int thePosition, const Handle(TColStd_HArray1OfInteger)& theArray);
-
-  //Returns an integer array argument at position thePosition
-  Standard_EXPORT Handle(TColStd_HArray1OfInteger) GetIntegerArray(int thePosition);
-
-  //Sets a reference to other function argument at position thePosition
-  Standard_EXPORT void SetReference(int thePosition, Handle(GEOM_Function) theReference);
-
-  //Sets a string argument at position thePosition
-  Standard_EXPORT void SetString(int thePosition, const TCollection_AsciiString& theValue);
-
-  //Returns a string argument at position thePosition
-  Standard_EXPORT TCollection_AsciiString GetString(int thePosition);  
-  
-  //Returns a reference to other function argument at position thePosition
-  Standard_EXPORT Handle(GEOM_Function) GetReference(int thePosition); 
-
-  //Set an array of ExtendedString
-  Standard_EXPORT void SetStringArray(int thePosition, const Handle(TColStd_HArray1OfExtendedString)& theArray);
-    
-  //Returns the array of ExtendedString
-  Standard_EXPORT Handle(TColStd_HArray1OfExtendedString) GetStringArray(int thePosition);
-
-  //Returns a GUID for a references tree  
-  Standard_EXPORT static const Standard_GUID& GetReferencesTreeID();
-
-  //Sets a list of references to other function arguments at position thePosition
-  Standard_EXPORT void SetReferenceList (int thePosition,
-                         const Handle(TColStd_HSequenceOfTransient)& theRefList);
-
-  //Returns a list of references to other function arguments at position thePosition
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetReferenceList (int thePosition); 
-
-  //Sets a TopoDS_Shape argument at position thePosition
-  //void SetShape(int thePosition, const TopoDS_Shape& theShape);
-    
-  //Returns a TopoDS_Shape argument at position thePosition
-  //TopoDS_Shape GetShape(int thePosition);  
-  
-  //Returns true if the last method succided 
-  Standard_EXPORT bool IsDone() { return _isDone; }
-
-  //Returns a sequence of the external dependencies of this function
-  Standard_EXPORT void GetDependency(TDF_LabelSequence& theSeq);
-
-  //Returns top label of this function's history tree
-  Standard_EXPORT TDF_Label GetHistoryEntry (const Standard_Boolean create = Standard_True);
-
-  //Returns history label, corresponding to the label,
-  //on which a reference on argument is stored
-  Standard_EXPORT TDF_Label GetArgumentHistoryEntry (const TDF_Label&       theArgumentRefEntry,
-                                     const Standard_Boolean create = Standard_True);
-
-private:
-
-  
-  TDF_Label    _label;
-  bool _isDone;
-};
-
-#endif
diff --git a/src/GEOM/GEOM_Gen_i.cc b/src/GEOM/GEOM_Gen_i.cc
deleted file mode 100644 (file)
index 1175caf..0000000
+++ /dev/null
@@ -1,5333 +0,0 @@
-//  GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_GEN_i.cc file
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "GEOM_Gen_i.hh"
-
-#include "Partition_Spliter.hxx"
-#include "Archimede_VolumeSection.hxx"
-#include "Sketcher_Profile.hxx"
-
-#include "Utils_CorbaException.hxx"
-#include "utilities.h"
-
-#include <stdio.h>
-
-// Cascade headers
-
-#include <Standard_Failure.hxx>
-
-#include <gp_Circ.hxx>
-#include <gp_Pln.hxx>
-#include <gp_Elips.hxx>
-#include <Geom_Plane.hxx>
-#include <Geom_Line.hxx>
-#include <Geom_BezierCurve.hxx>
-#include <Geom_BSplineCurve.hxx>
-#include <GeomFill_Line.hxx>
-#include <GeomFill_AppSurf.hxx>
-#include <GeomFill_SectionGenerator.hxx>
-#include <Geom_BSplineSurface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <GC_MakeArcOfCircle.hxx>
-#include <GeomAPI_PointsToBSpline.hxx>
-#include <GC_Root.hxx>
-
-#include <BRepCheck_Analyzer.hxx>
-#if OCC_VERSION_MAJOR >= 5
-#include <BRepAlgo.hxx>
-#else
-#include <BRepAlgoAPI.hxx>
-#endif
-#include <BRepAlgo_FaceRestrictor.hxx>
-#include <BRepAdaptor_Surface.hxx>
-#include <BRepBuilderAPI_Copy.hxx>
-#include <BRepAlgoAPI_Common.hxx>
-#include <BRepAlgoAPI_Cut.hxx>
-#include <BRepAlgoAPI_Fuse.hxx>
-#include <BRepAlgoAPI_Section.hxx>
-#include <BRepOffsetAPI_Sewing.hxx>
-#include <BRepOffsetAPI_MakePipe.hxx>
-
-#include <BRepBuilderAPI_MakeVertex.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-#include <BRepLib.hxx>
-#include <BRepBndLib.hxx>
-#include <Bnd_Box.hxx>
-
-#include <BRepBuilderAPI_MakeShell.hxx>
-#include <BRepPrim_Builder.hxx>
-#include <BRepBuilderAPI_MakeSolid.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRepPrimAPI_MakeRevol.hxx>
-#include <BRepPrimAPI_MakePrism.hxx>
-#include <BRepPrimAPI_MakeTorus.hxx>
-#include <BRepPrimAPI_MakeBox.hxx>
-#include <BRepPrimAPI_MakeSphere.hxx>
-#include <BRepPrimAPI_MakeCylinder.hxx>
-#include <BRepPrimAPI_MakeCone.hxx>
-#include <BRepFilletAPI_MakeFillet.hxx>
-#include <BRepFilletAPI_MakeChamfer.hxx>
-#include <BRepTools.hxx>
-#include <BRepTools_Quilt.hxx>
-#include <BRep_Tool.hxx>
-
-#include <GeomAPI_ProjectPointOnCurve.hxx>
-
-#include <BRepGProp.hxx>
-#include <GProp_GProps.hxx>
-#include <Precision.hxx>
-
-//VRV: OCC 4.0 migration
-#include <STEPControl_Reader.hxx>
-#include <IGESControl_Reader.hxx>
-//VRV: OCC 4.0 migration
-
-#include <IFSelect_ReturnStatus.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-
-//VRV: OCC 4.0 migration
-#include <IGESControl_Writer.hxx>
-#include <IGESControl_Controller.hxx>
-#include <STEPControl_Writer.hxx>
-#include <Interface_Static.hxx>
-//#include <STEPControlStd_StepModelType.hxx>
-//VRV: OCC 4.0 migration
-
-#include <TopoDS_Shape.hxx>
-#include <TopAbs.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Solid.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <TColgp_Array1OfPnt.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_Array1OfShape.hxx>
-
-#include <IGESData_IGESEntity.hxx>
-
-#include <TDF_Tool.hxx>
-#include <TDF_Label.hxx>
-#include <TDataStd_Name.hxx>
-#include <TDataStd_Comment.hxx>
-#include <TDF_Reference.hxx>
-#include <TDF_Data.hxx>
-#include <TNaming_Builder.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <TNaming_Tool.hxx>
-//  #include <TDocStd_Owner.hxx>
-
-#include "SALOMEDS_Tool.hxx"
-#include "GEOMDS_Commands.hxx"
-#include "GEOMDS_Explorer.hxx"
-
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-
-#include "Utils_ExceptHandlers.hxx"
-
-Standard_EXPORT static Standard_Boolean IsValid(const TopoDS_Shape& S) {
-#if OCC_VERSION_MAJOR >= 5
-  return BRepAlgo::IsValid(S);
-#else
-  return BRepAlgoAPI::IsValid(S);
-#endif
-}
-
-//============================================================================
-// function : GEOM_Gen_i()
-// purpose  : constructor to be called for servant creation. 
-//============================================================================
-GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
-                      PortableServer::POA_ptr poa,
-                      PortableServer::ObjectId * contId, 
-                      const char *instanceName, 
-                      const char *interfaceName) :
-  Engines_Component_i(orb, poa, contId, instanceName, interfaceName)
-{
-  _thisObj = this ;
-  _id = _poa->activate_object(_thisObj);
-  // SCRUTE(this)
-  name_service = new SALOME_NamingService(_orb);
-  myOCAFApp    = new GEOMDS_Application();
-  myStudyID    = -1;
-  GetCurrentStudy(0);//for correct work of SuperVisor
-}
-
-
-
-//============================================================================
-// function : ~GEOM_Gen_i()
-// purpose  : destructor
-//============================================================================
-GEOM_Gen_i::~GEOM_Gen_i() {
-  delete name_service;
-}
-
-
-//============================================================================
-// function : IORToLocalPersistentID()
-// purpose  :
-//============================================================================
-char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
-                                        const char* IORString,
-                                        CORBA::Boolean isMultiFile,
-                                        CORBA::Boolean isASCII)
-{
-  GEOM::GEOM_Shape_var aShape = GEOM::GEOM_Shape::_narrow(_orb->string_to_object(IORString));
-  if (!CORBA::is_nil(aShape)) {
-    return aShape->ShapeId();
-  }
-  return 0;
-}
-
-
-//============================================================================
-// function : LocalPersistentIDToIOR()
-// purpose  : Create/Load CORBA object from a persistent ref (an entry)
-//          : Used when a study is loaded
-//          : The IOR (IORName) of object created is returned
-//============================================================================
-char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
-                                        const char* aLocalPersistentID,
-                                        CORBA::Boolean isMultiFile,
-                                        CORBA::Boolean isASCII) 
-{ 
-  SALOMEDS::Study_var myStudy = theSObject->GetStudy();
-  GetCurrentStudy(myStudy->StudyId());
-  Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(myStudyIDToDoc(myStudy->StudyId()));
-  CORBA::String_var aPersRefString = aLocalPersistentID;
-
-  /* For a GEOM::GEOM_Shape the pers_ref is the Entry in the OCAF document */
-  TCollection_ExtendedString MainIOR;
-  TDF_Label Lab;
-  TDF_Tool::Label(aDoc->GetData(), aPersRefString, Lab );
-
-  if (Lab.IsNull()) {
-    MESSAGE("Can not find label "<<aPersRefString<<" for study "<<myStudy->StudyId());
-    THROW_SALOME_CORBA_EXCEPTION("Incorrect GEOM data loaded",SALOME::BAD_PARAM);
-    //return ""; empty IORs raise new problem: "display" in popup crashes
-  }
-  
-  Handle(TNaming_NamedShape) NS;
-  Lab.FindAttribute( TNaming_NamedShape::GetID(), NS );
-  TopoDS_Shape S = TNaming_Tool::GetShape(NS);
-
-  /* shapetype, index=0, topo, orb, shapetype, ismain=true and name are setted and modified later ? */
-  GEOM::GEOM_Shape_var result = CreateObject(S);
-  GEOMDS_Commands GC( aDoc->Main() ) ;
-  
-  if ( GC.HasIOR(Lab) ) { /* shape already created/loaded */
-    return 0 ;
-  }
-
-  /******************* Dependent object (not a main shape) *********************/
-  if( GC.IsDependentShape(Lab) ) {
-    
-    TDF_Label mainLabel ;
-    Standard_Boolean mainShapeOk = GC.GetMainShapeLabel(Lab, mainLabel) ;
-    
-    /* Main object not yet loaded we load/create it */
-    if( !GC.HasIOR(mainLabel) ) {
-      
-      TCollection_AsciiString entry;
-      TDF_Tool::Entry(mainLabel,entry);
-      CORBA::String_var ent = CORBA::string_dup(entry.ToCString());
-      
-      /* Create the main object recursively */
-      MainIOR = LocalPersistentIDToIOR(theSObject, ent, isMultiFile, isASCII) ;
-    } else {
-      GC.ReturnNameIOR( mainLabel, MainIOR ); 
-    }
-    
-    result->MainName( TCollection_AsciiString(MainIOR).ToCString() ) ;      
-    result->IsMainShape(false) ;
-    result->ShapeId(aPersRefString);
-    
-    Handle(TDF_Reference) aRef;
-    Lab.FindAttribute( TDF_Reference::GetID(), aRef );
-    TDF_Label myL = aRef->Get() ;
-    Handle(TNaming_NamedShape) NN;
-    myL.FindAttribute( TNaming_NamedShape::GetID(), NN );
-    TopoDS_Shape mainTopo = TNaming_Tool::GetShape(NN);
-
-    GEOM::GEOM_Shape::ListOfSubShapeID_var ListOfID = new GEOM::GEOM_Shape::ListOfSubShapeID;
-    
-    if(S.ShapeType() != TopAbs_COMPOUND) {
-      /* to set the index of a unique sub shape (Explode All ONLY for the moment !) */
-      ListOfID->length(1);
-      int index = 1;
-      TopTools_MapOfShape M;
-      TopExp_Explorer Exp ;
-      for( Exp.Init(mainTopo, TopAbs_ShapeEnum( result->ShapeType() )) ; Exp.More(); Exp.Next() )  {
-       if ( M.Add(Exp.Current()) ) {
-         if(Exp.Current().IsSame(S) ) {
-           ListOfID[0] = index;
-           break;
-         }
-         index++ ;
-       }       
-      }
-      result->Index(ListOfID) ;
-      return result->Name(); 
-    }
-    else {
-      /* Here is a TopAbs_COMPOUND : we set the list/index for a compound : containing two or more sub shapes  */
-      /* Warning : the Corba shape has a shapetype Compound : in GEOMDS_Client we have to retrieve the kind of */
-      /* subshapes contained in this compound !                                                                */
-      TopTools_SequenceOfShape SS;
-      TopoDS_Iterator it ;
-      TopExp_Explorer exp ;
-      TopAbs_ShapeEnum subType ;
-      
-      /* Set all sub shapes in a sequence of shapes  */
-      for ( it.Initialize( S, true, true ) ; it.More(); it.Next() ) {
-       subType = it.Value().ShapeType() ;
-       SS.Append( it.Value() ) ;
-      }
-      
-      ListOfID->length( SS.Length() ) ;
-      int j, k ;  /* in TopTools_SequenceOfShape index start at 1 */
-      
-      for( k=1; k<=SS.Length(); k++ ) {
-       j = 1 ;
-       for( exp.Init( mainTopo, subType ); exp.More(); exp.Next() ) {  
-         if( exp.Current().IsSame( SS.Value(k) ) ) {
-           ListOfID[k-1] = j ;
-         }
-         j++ ;
-       }
-      }
-      result->Index(ListOfID) ;
-      return result->Name();
-    }
-    
-  }
-  /******************* Independent object (not a sub shape) *********************/
-  else {
-    result->IsMainShape(true) ;
-    if( !GC.AddIORNameAttribute(Lab, result->Name() ) )  {
-      MESSAGE("in LocalPersistentIDToIOR, NAME/IOR attribute already exist." << endl ) ;
-    }
-    Handle(TNaming_NamedShape) NamedShape ;  
-    bool notTested = Lab.FindAttribute(TNaming_NamedShape::GetID(), NamedShape) ;
-    result->ShapeId(aPersRefString);
-    return result->Name(); 
-  }
-}
-
-//============================================================================
-// function : CanPublishInStudy
-// purpose  : 
-//============================================================================
-bool GEOM_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
-{
-  GEOM::GEOM_Shape_var aShape = GEOM::GEOM_Shape::_narrow(theIOR);
-  return !(aShape->_is_nil());
-}
-
-
-//============================================================================
-// function : PublishInStudy
-// purpose  : 
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
-                                                SALOMEDS::SObject_ptr theSObject,
-                                                CORBA::Object_ptr theObject,
-                                                const char* theName) throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  SALOMEDS::SObject_var aResultSO;
-  if(CORBA::is_nil(theObject)) return aResultSO;
-
-  GEOM::GEOM_Shape_var aShape = GEOM::GEOM_Shape::_narrow(theObject);
-  if(aShape->_is_nil()) return aResultSO;
-
-  if(theStudy->_is_nil()) return aResultSO;
-
-  SALOMEDS::GenericAttribute_var anAttr;
-  SALOMEDS::StudyBuilder_var     aStudyBuilder = theStudy->NewBuilder(); 
-
-  SALOMEDS::SComponent_var       aFather = theStudy->FindComponent("GEOM"); 
-  if (aFather->_is_nil()) {
-    aFather = aStudyBuilder->NewComponent("GEOM");
-    anAttr = aStudyBuilder->FindOrCreateAttribute(aFather, "AttributeName");
-    SALOMEDS::AttributeName_var aName = SALOMEDS::AttributeName::_narrow(anAttr);
-    aName->SetValue("Geometry");
-    anAttr = aStudyBuilder->FindOrCreateAttribute(aFather, "AttributePixMap");
-    SALOMEDS::AttributePixMap::_narrow(anAttr)->SetPixMap("ICON_OBJBROWSER_Geometry");
-    aStudyBuilder->DefineComponentInstance(aFather, GEOM_Gen::_this());
-  }
-  if (aFather->_is_nil()) return aResultSO;
-  
-  if (CORBA::is_nil(theSObject)) {
-    aResultSO = aStudyBuilder->NewObject(aFather);
-  } else {
-    if (!theSObject->ReferencedObject(aResultSO)) 
-      THROW_SALOME_CORBA_EXCEPTION("Publish in study supervision graph error",SALOME::BAD_PARAM);
-  }
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributeIOR");
-  SALOMEDS::AttributeIOR_var anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-  anIOR->SetValue(aShape->Name());
-
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributePixMap");
-  SALOMEDS::AttributePixMap_var aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
-  TCollection_AsciiString aShapeName("Shape_");  
-
-  if ( aShape->ShapeType() == GEOM::COMPOUND ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_COMPOUND" );
-    aShapeName = "Compound_";
-  } else if ( aShape->ShapeType() == GEOM::COMPSOLID ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_COMPSOLID" );
-    aShapeName = "Compsolid_";
-  } else if ( aShape->ShapeType() == GEOM::SOLID ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_SOLID" );
-    aShapeName = "Solid_";
-  } else if ( aShape->ShapeType() == GEOM::SHELL ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_SHELL" );
-    aShapeName = "Shell_";
-  } else if ( aShape->ShapeType() == GEOM::FACE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_FACE" );
-    aShapeName = "Face_";
-  } else if ( aShape->ShapeType() == GEOM::WIRE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_WIRE" );
-    aShapeName = "Wire_";
-  } else if ( aShape->ShapeType() == GEOM::EDGE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_EDGE" );
-    aShapeName = "Edge_";
-  } else if ( aShape->ShapeType() == GEOM::VERTEX ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_VERTEX" );
-    aShapeName = "Vertex_";
-  }                                          
-  if (strlen(theName) == 0) aShapeName += TCollection_AsciiString(aResultSO->Tag());
-  else aShapeName = TCollection_AsciiString((char*)theName);
-
-  //Set a name of the added shape
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributeName");
-  SALOMEDS::AttributeName_var aNameAttrib = SALOMEDS::AttributeName::_narrow(anAttr);
-  aNameAttrib->SetValue(aShapeName.ToCString());
-
-  //Add a reference to published object
-//    aStudyBuilder->Addreference(theObject, aResultSO);
-  return aResultSO._retn();
-}
-
-//============================================================================
-// function : Save()
-// purpose  : save OCAF/Geom document
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
-                                   const char* theURL,
-                                   bool isMultiFile) {
-  SALOMEDS::TMPFile_var aStreamFile;
-  // Get a temporary directory to store a file
-  TCollection_AsciiString aTmpDir = (isMultiFile)?TCollection_AsciiString((char*)theURL):(char*)SALOMEDS_Tool::GetTmpDir().c_str();
-  // Create a list to store names of created files
-  SALOMEDS::ListOfFileNames_var aSeq = new SALOMEDS::ListOfFileNames;
-  aSeq->length(1);
-  // Prepare a file name to open
-  TCollection_AsciiString aNameWithExt("");
-  if (isMultiFile)
-    aNameWithExt = TCollection_AsciiString((char*)SALOMEDS_Tool::GetNameFromPath(theComponent->GetStudy()->URL()).c_str());
-  aNameWithExt += TCollection_AsciiString("_GEOM.sgd");
-  aSeq[0] = aNameWithExt.ToCString();
-  // Build a full file name of temporary file
-  TCollection_AsciiString aFullName = aTmpDir + aNameWithExt;
-  // Save GEOM component in this file
-  myOCAFApp->SaveAs(myCurrentOCAFDoc, aFullName);
-  // Conver a file to the byte stream
-  aStreamFile = SALOMEDS_Tool::PutFilesToStream(aTmpDir.ToCString(), aSeq.in(), isMultiFile);
-  // Remove the created file and tmp directory
-  if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.ToCString(), aSeq.in(), true);
-  // Return the created byte stream
-  return aStreamFile._retn();
-}
-
-SALOMEDS::TMPFile* GEOM_Gen_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent,
-                                        const char* theURL,
-                                        bool isMultiFile) {
-  SALOMEDS::TMPFile_var aStreamFile = Save(theComponent, theURL, isMultiFile);
-  return aStreamFile._retn();
-}
-
-
-CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
-                               const SALOMEDS::TMPFile& theStream,
-                               const char* theURL,
-                               bool isMultiFile) {
-
-  if (theStream.length() <= 9) {
-    MESSAGE("The TMPFile is too short : " << theStream.length() << " bytes ");
-    return false;
-  }
-
-  // Get a temporary directory for a file
-  TCollection_AsciiString aTmpDir = isMultiFile?TCollection_AsciiString((char*)theURL):(char*)SALOMEDS_Tool::GetTmpDir().c_str();
-  // Conver the byte stream theStream to a file and place it in tmp directory
-  SALOMEDS::ListOfFileNames_var aSeq = SALOMEDS_Tool::PutStreamToFiles(theStream,
-                                                                      aTmpDir.ToCString(),
-                                                                      isMultiFile);
-
-  // Prepare a file name to open
-  TCollection_AsciiString aNameWithExt("");
-  if (isMultiFile)
-    aNameWithExt = TCollection_AsciiString((char*)SALOMEDS_Tool::GetNameFromPath(theComponent->GetStudy()->URL()).c_str());
-  aNameWithExt += TCollection_AsciiString("_GEOM.sgd");
-  TCollection_AsciiString aFullName = aTmpDir + aNameWithExt;
-
-  // Open document
-  if (myOCAFApp->Open(aFullName, myCurrentOCAFDoc) != CDF_RS_OK) return false;
-
-  // Remove the created file and tmp directory
-  if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.ToCString(), aSeq.in(), true);
-
-  SALOMEDS::Study_var Study = theComponent->GetStudy();
-  TCollection_AsciiString name( Study->Name() );
-
-  int StudyID = Study->StudyId();
-  myStudyIDToDoc.Bind( StudyID, myCurrentOCAFDoc );  
-  myStudyID = StudyID;
-    
-  /* We clear all IOR (nameIOR) attributes of all objects before reconstruction */
-  /* This information will be setted when each object is reconstructed          */
-  GEOMDS_Commands GC( myCurrentOCAFDoc->Main() ) ;
-  GC.ClearAllIOR(myCurrentOCAFDoc->Main());
-
-  return true;
-}
-
-CORBA::Boolean GEOM_Gen_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent,
-                                    const SALOMEDS::TMPFile& theStream,
-                                    const char* theURL,
-                                    bool isMultiFile) {
-  return Load(theComponent, theStream, theURL, isMultiFile);
-}
-
-//  //============================================================================
-//  // function : Save()
-//  // purpose  : save OCAF/Geom document
-//  //============================================================================
-//  void GEOM_Gen_i::Save(const char *IORSComponent, const char *aUrlOfFile) 
-//  {
-
-//    TCollection_ExtendedString path((char*)aUrlOfFile);
-//    TCollection_ExtendedString pathWithExt = path + TCollection_ExtendedString(".sgd");
-//    myOCAFApp->SaveAs(myCurrentOCAFDoc,pathWithExt);
-//  }
-
-
-//  //============================================================================
-//  // function : Load()
-//  // purpose  : Load OCAF/Geom document
-//  //============================================================================
-//  void GEOM_Gen_i::Load(const char *IORSComponent, const char *aUrlOfFile) 
-//  {
-
-//    TCollection_ExtendedString path((char*)aUrlOfFile);
-//    TCollection_ExtendedString pathWithExt = path + TCollection_ExtendedString(".sgd");
-
-//    myOCAFApp->Open(pathWithExt,myCurrentOCAFDoc);
-
-//    SALOMEDS::SComponent_var SC = SALOMEDS::SComponent::_narrow(_orb->string_to_object(IORSComponent));
-//    SALOMEDS::Study_var Study = SC->GetStudy();
-//    TCollection_AsciiString name( Study->Name() );
-
-//    int StudyID = Study->StudyId();
-//    myStudyIDToDoc.Bind( StudyID, myCurrentOCAFDoc );  
-//    myStudyID = StudyID;
-
-//    /* We clear all IOR (nameIOR) attributes of all objects before reconstruction */
-//    /* This information will be setted when each object is reconstructed          */
-//    GEOMDS_Commands GC( myCurrentOCAFDoc->Main() ) ;
-//    GC.ClearAllIOR(myCurrentOCAFDoc->Main());
-
-//    return ;
-//  }
-
-
-//============================================================================
-// function : Close()
-// purpose  :
-//============================================================================
-void GEOM_Gen_i::Close(SALOMEDS::SComponent_ptr theComponent)
-{
-  int anID = theComponent->GetStudy()->StudyId();
-  if (anID == myStudyID) GetCurrentStudy(0); // set default value of current study ID, if current is deleted
-  if (myStudyIDToDoc.IsBound(anID)) {
-    // close document in the application
-//      Handle(TDocStd_Owner) anOwner;
-    Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(myStudyIDToDoc.Find(anID));
-//      Handle(TDocStd_Document) anEmptyDoc;
-//      if (aDoc->Main().Root().FindAttribute(TDocStd_Owner::GetID(), anOwner)) {
-//        anOwner->SetDocument(anEmptyDoc);
-//        MESSAGE("********** Nullify owner of document");
-//      }
-    myOCAFApp->Close(aDoc);
-    myStudyIDToDoc.UnBind(anID); // remove document from GEOM documents data map
-    }
-}
-
-//============================================================================
-// function : CanCopy()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::CanCopy(SALOMEDS::SObject_ptr theObject) {
-  // Try to retrieve known by Geometry component GEOM_shape by given IOR
-  SALOMEDS::GenericAttribute_var anAttr;
-  if (!theObject->FindAttribute(anAttr, "AttributeIOR")) return false;
-  GEOM::GEOM_Shape_var aShape = GetIORFromString(SALOMEDS::AttributeIOR::_narrow(anAttr)->Value());
-  // If the object is null one it can't be copied: return false
-  if (aShape->_is_nil()) return false;
-  return true;
-}
-
-//============================================================================
-// function : CopyFrom()
-// purpose  :
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Gen_i::CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID) {
-  // Declare a sequence of the byte to store the copied object
-  SALOMEDS::TMPFile_var aStreamFile = new SALOMEDS::TMPFile;
-
-  // Try to get GEOM_Shape object by given SObject
-  SALOMEDS::GenericAttribute_var anAttr;
-  if (!theObject->FindAttribute(anAttr, "AttributeIOR")) return false;
-  GEOM::GEOM_Shape_var aShape = GetIORFromString(SALOMEDS::AttributeIOR::_narrow(anAttr)->Value());
-  // If the object is null one it can't be copied: return false
-  if (aShape->_is_nil()) return aStreamFile._retn();
-  GetCurrentStudy(theObject->GetStudy()->StudyId());
-
-  // Convert a TopoDS_Shape to a stream of bytes
-  TopoDS_Shape aTopology = GetTopoShape(aShape);
-  if (aTopology.IsNull()) return aStreamFile._retn();
-  ostrstream aStreamedShape;
-  BRepTools::Write(aTopology, aStreamedShape);
-  int aSize = aStreamedShape.pcount();
-  char* aBuffer = new char[aSize];
-  memcpy(aBuffer, aStreamedShape.str(), aSize);
-  aStreamedShape.rdbuf()->freeze(0);
-
-  aStreamFile = new SALOMEDS::TMPFile(aSize, aSize, (CORBA::Octet*)aBuffer, 1);
-  
-  // Assign an ID = 1 the the type GEOM_Shape
-  theObjectID = 1;
-
-  // Return created TMPFile
-  return aStreamFile._retn();
-}
-
-//============================================================================
-// function : CanPaste()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::CanPaste(const char* theComponentName, CORBA::Long theObjectID) {
-  // The Geometry component can paste only objects copied by Geometry component
-  // and with the object type = 1
-//    MESSAGE("********** GEOM_Gen_i::CanPaste ("<<theComponentName<<","<<theObjectID<<")");
-  if (strcmp(theComponentName, ComponentDataType()) != 0 || theObjectID != 1) return false;
-  return true;
-}
-
-//============================================================================
-// function : PasteInto()
-// purpose  :
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Gen_i::PasteInto(const SALOMEDS::TMPFile& theStream,
-                                           CORBA::Long theObjectID,
-                                           SALOMEDS::SObject_ptr theObject) {
-  // Find the current Study and StudyBuilder
-  SALOMEDS::Study_var aStudy = theObject->GetStudy();
-  SALOMEDS::StudyBuilder_var aStudyBuilder = aStudy->NewBuilder();
-
-  // Retrieve a TopoDS_Shape from byte stream
-  TopoDS_Shape aTopology;
-  istrstream aStreamedBrep((char*) &theStream[0], theStream.length());
-  BRep_Builder aBuilder;
-  try {
-    BRepTools::Read(aTopology, aStreamedBrep, aBuilder);
-  } catch (Standard_Failure) {
-    MESSAGE("GEOM_Gen_i::PasteInto exception");
-    return false;
-  }
-  
-  // Create new object in Geometry component using retrieved topology
-  GEOM::GEOM_Shape_var aShape = CreateObject(aTopology);
-  GetCurrentStudy(aStudy->StudyId());
-  const char *anEntry = InsertInLabel(aTopology, aShape->Name(), myCurrentOCAFDoc) ;
-  aShape->ShapeId(anEntry) ;
-
-  // SObject of the created shape is theObject or new Child of Component if theObject == geom component
-  SALOMEDS::SObject_var aNewSO;
-  if (strcmp(theObject->GetFatherComponent()->GetID(),theObject->GetID()) == 0) {
-    aNewSO = aStudyBuilder->NewObject(theObject);
-  } else aNewSO = SALOMEDS::SObject::_duplicate(theObject);
-  // Add IORAttribute to the Study and set IOR of the created GEOM_Shape to it
-  SALOMEDS::GenericAttribute_var anAttr = aStudyBuilder->FindOrCreateAttribute(aNewSO, "AttributeIOR");
-  SALOMEDS::AttributeIOR_var anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-  anIOR->SetValue(aShape->Name());
-
-  // Return the created in the Study SObject
-  return aNewSO._retn();
-}
-
-//============================================================================
-// function : ComponentDataType()
-// purpose  :
-//============================================================================
-char* GEOM_Gen_i::ComponentDataType()
-{
-  return CORBA::string_dup("GEOM");
-}
-
-//============================================================================
-// function : register() 
-// purpose  : register 'name' in 'name_service'
-//============================================================================
-void GEOM_Gen_i::register_name(char * name)
-{
-  GEOM::GEOM_Gen_ptr g = GEOM::GEOM_Gen::_narrow(POA_GEOM::GEOM_Gen::_this());
-  name_service->Register(g, name); 
-}
-
-
-
-//================================================================================
-// function : SequenceOfShapeFromListOfGeomShape()
-// purpose  : Define a sequence of shapes from 'listShapes' and return its length.
-//          : No control is made on shapes !
-//================================================================================
-int GEOM_Gen_i::SequenceOfShapeFromListOfGeomShape( const GEOM::GEOM_Gen::ListOfGeomShapes& listShapes,
-                                                   TopTools_SequenceOfShape& SS )
-{
-  int nbShapes = listShapes.length() ;
-  if( nbShapes < 1)
-    return 0 ;
-  
-  for(int i=0; i<nbShapes; i++) {
-    GEOM::GEOM_Shape_var aGeomShape = listShapes[i] ;
-    TopoDS_Shape aShape = GetTopoShape(aGeomShape) ;
-    SS.Append(aShape) ;
-  }
-  return nbShapes ;
-}
-
-
-
-
-//=================================================================================
-// function : GetTopoShape()
-// purpose  : Returns a TopoDS_Shape from a GEOM::GEOM_Shape_ptr in 'myCurrentOCAFDoc'
-//          : A null shape is returned if not possible
-//=================================================================================
-TopoDS_Shape GEOM_Gen_i::GetTopoShape(GEOM::GEOM_Shape_ptr shape_ptr)
-{ 
-  TopoDS_Shape tds ;
-
-  TDF_Label lab ;
-  Handle(TDF_Data) D = myCurrentOCAFDoc->GetData() ;
-  TDF_Tool::Label( D, shape_ptr->ShapeId(), lab, true ) ;
-  Handle(TNaming_NamedShape) NamedShape ;  
-  bool res = lab.FindAttribute(TNaming_NamedShape::GetID(), NamedShape) ;
-
-  if( !res ) {
-    return tds ; /* a null shape is returned */
-  }
-  else {
-    return TNaming_Tool::GetShape(NamedShape) ;
-  }
-}
-
-
-
-//=================================================================================
-// function : GetStringFromIOR()
-// purpose  : returns a string that represents  a 'GEOM::GEOM_Shape_var'
-//=================================================================================
-const char* GEOM_Gen_i::GetStringFromIOR(GEOM::GEOM_Shape_var shapeIOR) {
-  const char * ret = _orb->object_to_string(shapeIOR) ;
-  return ret ;
-}
-
-
-
-//=================================================================================
-// function : GetIORFromString()
-// purpose  : returns a 'GEOM::GEOM_Shape_var' from a string representing it
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::GetIORFromString(const char* stringIOR) {
-  GEOM::GEOM_Shape_var shapeIOR;
-  if(strcmp(stringIOR,"") != 0){
-    CORBA::Object_var anObject = _orb->string_to_object(stringIOR);
-    if(!CORBA::is_nil(anObject))
-      shapeIOR =  GEOM::GEOM_Shape::_narrow(anObject.in()) ;
-  }
-  return shapeIOR._retn() ;
-}
-
-
-
-//==================================================================================
-// function : InsertInLabel()
-// purpose  : Insert S = Shape and mystr = name in a new Label of Geom/OCAF document
-//          : and returns the corresponding OCAF entry
-//==================================================================================
-const char * GEOM_Gen_i::InsertInLabel(TopoDS_Shape S, const char *mystr, Handle(TDocStd_Document) OCAFDoc)
-{
-  GEOMDS_Commands GC(OCAFDoc->Main());
-  /* add attributs S and mystr in a new label */
-  TDF_Label Lab = GC.AddShape (S, (char*)mystr);
-
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab,entry);
-  const char *ent = entry.ToCString() ;
-  return ent ;
-}
-
-
-//==================================================================================
-// function : InsertInLabelDependentShape()
-// purpose  : Insert S = Shape and its nameIor in a new Label of Geom/OCAF document
-//          : insert also a reference attribute (a label) to the main shape 'mainshap_ptr'.
-//          : and returns the corresponding OCAF entry of the new label.
-//==================================================================================
-const char * GEOM_Gen_i::InsertInLabelDependentShape( TopoDS_Shape S,
-                                                     const char *nameIor,
-                                                     GEOM::GEOM_Shape_ptr mainshape_ptr,
-                                                     Handle(TDocStd_Document) OCAFDoc )
-{
-  GEOMDS_Commands GC(OCAFDoc->Main());
-  /* add attributs S and nameIor in a new label */
-
-  /* retrieve the label of the main shape in the document */
-  TDF_Label mainRefLab;
-  TDF_Tool::Label(OCAFDoc->GetData(), mainshape_ptr->ShapeId(), mainRefLab);
-
-  /* add attributs : S, nameIor and ref to main */
-  TDF_Label Lab = GC.AddDependentShape(S, (char*)nameIor, mainRefLab);
-
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab, entry);
-  const char *ent = entry.ToCString() ;
-  return ent ;
-}
-
-
-//=================================================================================
-// function : InsertInLabelOneArgument()
-// purpose  :
-//=================================================================================
-void GEOM_Gen_i::InsertInLabelOneArgument(TopoDS_Shape main_topo,
-                                         GEOM::GEOM_Shape_ptr shape_ptr,
-                                         TopoDS_Shape result_topo,     
-                                         GEOM::GEOM_Shape_ptr result,  
-                                         Handle(TDocStd_Document) OCAFDoc)
-{
-  /* Put shape and name into geom/OCAF doc */
-  GEOMDS_Commands GC(OCAFDoc->Main());
-  /* Add attributs 'shape' and 'name_ior' in a new label */
-  TDF_Label Lab = GC.Generated( main_topo, result_topo, result->Name() );
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab, entry);
-  result->ShapeId( entry.ToCString() ) ;
-  
-  /* Create a new label */
-  TDF_Label NewLab = Lab.NewChild();
-  TCollection_ExtendedString Value("Arguments");
-  TDataStd_Name::Set(NewLab,Value);
-  
-  TDF_Label NewLab1 = NewLab.NewChild();
-  TDF_Label RefLab;
-  TDF_Tool::Label(OCAFDoc->GetData(), shape_ptr->ShapeId(), RefLab);
-  TDF_Reference::Set(NewLab1, RefLab);
-}
-
-
-//=================================================================================
-// function : InsertInLabelMoreArguments()
-// purpose  :
-//=================================================================================
-void GEOM_Gen_i::InsertInLabelMoreArguments(TopoDS_Shape main_topo,
-                                           GEOM::GEOM_Shape_ptr result,
-                                           const GEOM::GEOM_Gen::ListOfIOR& ListShapes,                                
-                                           Handle(TDocStd_Document) OCAFDoc)
-{
-  /* Put shape and name into geom/OCAF doc */
-  GEOMDS_Commands GC(OCAFDoc->Main());
-  /* Add attributs TopoDS and name_ior in a new label */
-  TDF_Label Lab = GC.AddShape(main_topo, result->Name() );
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab, entry);
-  
-  /* Create a new label */
-  TDF_Label NewLab = Lab.NewChild();
-  TCollection_ExtendedString Value("Arguments");
-  TDataStd_Name::Set(NewLab, Value);
-
-  for (unsigned int ind = 0; ind < ListShapes.length(); ind++) {
-    
-    TDF_Label NewLab1 = NewLab.NewChild();    
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[ind] );
-    
-    TDF_Label RefLab;
-    TDF_Tool::Label(OCAFDoc->GetData(), aShape->ShapeId(), RefLab);
-    TDF_Reference::Set(NewLab1, RefLab);
-  }
-  result->ShapeId(entry.ToCString());
-}
-
-
-
-//=================================================================================
-// function: NbLabels()
-// purpose : 
-//=================================================================================
-CORBA::Short GEOM_Gen_i::NbLabels()
-{
-  TDF_ChildIterator ChildIterator(myCurrentOCAFDoc->Main());
-  unsigned int i = 1;
-  
-  while (ChildIterator.More()) {
-    i++;
-    ChildIterator.Next();
-  }
-  return i;
-  //  return TDF_Tool::NbLabels( myCurrentOCAFDoc->Main() );
-}
-
-
-
-//=================================================================================
-// function: GetCurrentStudy()
-// purpose : Finds or creates the geom/OCAF document corresponding to the index
-// 'StudyID'
-//=================================================================================
-void GEOM_Gen_i::GetCurrentStudy(CORBA::Long StudyID)
-{
-  /* If StudyID is known we link myCurrentOCAFDoc to it */
-  if (myStudyIDToDoc.IsBound(StudyID)) {
-    myCurrentOCAFDoc =  Handle(TDocStd_Document)::DownCast(myStudyIDToDoc(StudyID));
-  }
-  /* Create a new OCAFDoc and link it to 'StudyID' argument */
-  else { 
-    myOCAFApp->NewDocument("SALOME_GEOM",myCurrentOCAFDoc);
-    myStudyIDToDoc.Bind(StudyID,myCurrentOCAFDoc);
-  } 
-  myStudyID = StudyID;
-}
-
-
-//================================================================================
-// function : CreateObject() 
-// purpose  : private function to create a complete CORBA object and return it
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::CreateObject(TopoDS_Shape& tds)
-{
-//   if ( tds.ShapeType() == TopAbs_COMPOUND ) {
-//     TopoDS_Iterator itr(tds);
-//     TopoDS_Shape res;
-//     int i = 0;
-//     while (itr.More()) {
-//       i++;
-//       res = itr.Value();
-//       itr.Next();
-//     }
-    
-//     if ( i == 1 )
-//       tds = res;
-//   }
-
-  GEOM::shape_type st = GEOM::shape_type(tds.ShapeType()) ; /* casting */
-  
-  /* Create the CORBA servant holding the TopoDS_Shape */
-  GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
-  GEOM::GEOM_Shape::ListOfSubShapeID_var index = new GEOM::GEOM_Shape::ListOfSubShapeID;
-  index->length(0);  
-  GEOM_Shape_i * shape_servant = new GEOM_Shape_i(tds, _orb, engine, index, st, true);
-  GEOM::GEOM_Shape_var shape = GEOM::GEOM_Shape::_narrow(shape_servant->_this()); 
-  
-  /* Create and set the name (IOR of shape converted into a string) */
-  string name_ior = _orb->object_to_string(shape) ;
-  shape->Name( name_ior.c_str() );  
-  shape->NameType( "" );
-  return shape;
-}
-
-//=======================================================================
-//function : CreateSubObject
-//purpose  : 
-//=======================================================================
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::CreateSubObject(const TopoDS_Shape& SubShape,
-                                                const GEOM::GEOM_Shape_ptr MainShape,
-                                                const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID)
-{
-  GEOM::shape_type st = GEOM::shape_type(SubShape.ShapeType()) ; /* casting */
-  
-  /* Create the CORBA servant holding the TopoDS_Shape */
-  GEOM::GEOM_Gen_ptr engine = POA_GEOM::GEOM_Gen::_this();
-  GEOM_Shape_i * shape_servant =
-    new GEOM_Shape_i(SubShape, _orb, engine, ListOfID, st, false);
-  GEOM::GEOM_Shape_var shape = GEOM::GEOM_Shape::_narrow(shape_servant->_this()); 
-  
-    /* Create and set the name (IOR of shape converted into a string) */
-  string name_ior = _orb->object_to_string(shape) ;
-  shape->Name( name_ior.c_str() );
-    /* create and set the mainname (IOR of shape converted into a string) */
-  const char *mainname_ior = _orb->object_to_string(MainShape) ;
-  shape->MainName(mainname_ior);
-    /* precaution : NameType will be set precisely in GUI */    
-  shape->NameType( "" );
-    /* add 'SubShape' its 'nameIOR' and a reference to the main shape thanks to method below  */
-  const char *entry =
-    InsertInLabelDependentShape(SubShape, shape->Name(), MainShape, myCurrentOCAFDoc) ;
-  shape->ShapeId( entry ) ;
-  return shape;
-}
-
-//=======================================================================
-// function : SuppressFacesGlue()
-// purpose  : Define a compound of shells after suppress of mapFaces in the 
-//          : shape S and return the number of shells of the compound.
-//=======================================================================
-int GEOM_Gen_i::SuppressFacesGlue( const TopoDS_Shape& S,
-                                  const TopTools_MapOfShape& mapFaces,
-                                  TopoDS_Shape& aCompoundOfShells )
-  throw (SALOME::SALOME_Exception)
-{  
-  Unexpect aCatch(SALOME_SalomeException);
-  BRepTools_Quilt Glue;
-  aCompoundOfShells.Nullify() ;
-  
-  for ( TopExp_Explorer exp( S, TopAbs_FACE); exp.More(); exp.Next() ) {
-    const TopoDS_Face& F = TopoDS::Face(exp.Current());
-    if ( !mapFaces.Contains(F) ) {
-      /* this face must not to be suppressed */
-      Glue.Add(F);
-    }
-  }
-  
-  /* Use specif method to calculate the compound of shells */
-  aCompoundOfShells = Glue.Shells();
-  
-  if( aCompoundOfShells.ShapeType() != TopAbs_COMPOUND ) {
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SuppressFacesGlue() : not a GEOM::COMPOUND", SALOME::BAD_PARAM);
-  }
-
-  /* explore Compound for verification and return the number of shells */
-  int numberOfShell = 0 ;
-  for ( TopExp_Explorer exp1( aCompoundOfShells, TopAbs_SHELL); exp1.More(); exp1.Next() )
-    numberOfShell++ ;
-
-  return numberOfShell ;
-}
-
-
-//=====================================================================================
-// function : GetIndexTopology()
-// purpose  : return the index of a sub shape in a shape (index starts at 1)
-//          : Return -1 if not found
-//=====================================================================================
-int GEOM_Gen_i::GetIndexTopology(const TopoDS_Shape& subshape, const TopoDS_Shape& mainShape) 
-{ 
-  if( mainShape.IsNull() || subshape.IsNull() ) 
-    return -1 ; 
-
-  int index = 1; 
-  if (subshape.ShapeType() == TopAbs_COMPOUND) 
-    { 
-      TopoDS_Iterator it; 
-      TopTools_ListOfShape CL; 
-      CL.Append( mainShape ); 
-      TopTools_ListIteratorOfListOfShape itC; 
-      for (itC.Initialize( CL ); itC.More(); itC.Next()) 
-       { 
-         for (it.Initialize( itC.Value() );  it.More(); it.Next()) 
-           { 
-             if ( it.Value().ShapeType() == TopAbs_COMPOUND) 
-               {
-                 if (it.Value().IsSame(subshape)) 
-                   return index; 
-                 else 
-                   index++; 
-                 CL.Append( it.Value() ); 
-               }
-           } 
-       } 
-    } 
-  else 
-    { 
-      TopExp_Explorer Exp ( mainShape,  subshape.ShapeType() ); 
-      TopTools_MapOfShape M; 
-      while ( Exp.More() ) 
-       { 
-         if ( M.Add(Exp.Current()) ) 
-           { 
-             if ( Exp.Current().IsSame(subshape) ) 
-               return index; 
-             index++; 
-           } 
-         Exp.Next(); 
-       } 
-    } 
-  return -1; 
-} 
-
-
-//================================================================================
-// function : IndexOfFacesOfSubShell()
-// purpose  : Return a list of indices corresponding to the faces of a 'subShell'
-//          : in the main shape 'S'
-//================================================================================
-GEOM::GEOM_Shape::ListOfSubShapeID* GEOM_Gen_i::IndexOfFacesOfSubShell( const TopoDS_Shape& S,
-                                                                 const TopoDS_Shape subShell )
-  throw (SALOME::SALOME_Exception)
-{
-
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape::ListOfSubShapeID_var ListOfID = new GEOM::GEOM_Shape::ListOfSubShapeID;
-  ListOfID->length(0) ;
-  if( subShell.IsNull() || subShell.ShapeType() != TopAbs_SHELL ) {
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::IndexOfFacesOfSubShell() : null shape or not a GEOM::SHELL", SALOME::BAD_PARAM);
-  }
-
-  /* put faces of subShell in a Map of faces */
-  int j = 0 ;
-  TopTools_MapOfShape mapFaces ;
-  for( TopExp_Explorer Exp1( subShell, TopAbs_FACE );  Exp1.More(); Exp1.Next() ) {
-    mapFaces.Add(Exp1.Current() ) ;
-    j++ ;
-  }
-
-  if( j<1 )
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::IndexOfFacesOfSubShell() : no faces in sub shell", SALOME::BAD_PARAM);
-  
-  /* Find index of each face of subshell in the main topology and put its index in ListOfID */
-  int size = 0 ;
-  for ( TopExp_Explorer Exp2(S, TopAbs_FACE); Exp2.More();  Exp2.Next() ) {
-    
-    const TopoDS_Face& F = TopoDS::Face( Exp2.Current() ) ;
-
-    if( mapFaces.Contains(F) )  {
-      int n = GetIndexTopology( F, S ) ;
-      if( n<=0 ) {
-       THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::IndexOfFacesOfSubShell() : no index found", SALOME::BAD_PARAM);    
-      }
-      size++;
-      ListOfID->length(size) ;
-      ListOfID[size-1] = n ;
-    }
-  }
-
-  return ListOfID._retn() ;
-}
-
-
-
-//================================================================================
-// function : ListOfIDIntoMapOfShapes()
-// purpose  : Define a MapOfShapes from a main topology 'S' a 'subShapeType'
-//          : and a list of indices 'L'.
-//          : Return true if 'aMap' is not empty
-//================================================================================
-bool GEOM_Gen_i::ListOfIDIntoMapOfShapes( const TopoDS_Shape& S,
-                                         const GEOM::GEOM_Shape::ListOfSubShapeID& L,
-                                         const int subShapeType,
-                                         TopTools_MapOfShape& aMap )
-{
-  if( L.length() < 1 || S.IsNull() ) {
-    return false ;
-  }
-  
-  aMap.Clear() ; 
-  for( int k=0; k<L.length(); k++ ) {
-    /* indices start at 1 in list L */
-    int j = 1 ;
-    TopExp_Explorer exp ;
-    TopTools_MapOfShape M; 
-    for(  exp.Init( S, TopAbs_ShapeEnum(subShapeType) ); exp.More(); exp.Next() ) {
-      if ( M.Add(exp.Current()) ) 
-       { 
-         if( L[k] == j ) {
-           aMap.Add( exp.Current() ) ;
-         }
-         j++ ;
-       }
-    }
-  }
-  return true ;
-}
-
-
-
-//================================================================================
-// function : ListOfIDIntoSequenceOfShapes()
-// purpose  : Define 'aSequenceOfShapes' from a main topology 'S' a 'subShapeType'
-//          : and a list of indices 'L'.
-//          : Return true if 'aSequenceOfShapes' is not empty
-//================================================================================
-bool GEOM_Gen_i::ListOfIDIntoSequenceOfShapes( const TopoDS_Shape& S,
-                                              const GEOM::GEOM_Shape::ListOfSubShapeID& L,
-                                              const int subShapeType,
-                                              TopTools_SequenceOfShape& aSequenceOfShapes )
-{
-  if( L.length() < 1 || S.IsNull() ) {
-    return false ;
-  }
-  
-  aSequenceOfShapes.Clear() ; 
-  for( int k=0; k<L.length(); k++ ) {
-    /* indices start at 1 in list L */
-    int j = 1 ;
-    TopExp_Explorer exp ;
-    for(  exp.Init( S, TopAbs_ShapeEnum(subShapeType) ); exp.More(); exp.Next() ) {
-      if( L[k] == j ) {
-       aSequenceOfShapes.Append( exp.Current() ) ;
-      }
-      j++ ;
-    }
-  }
-  return true ;
-}
-
-
-
-//================================================================================
-// function : SuppressFaces()
-// purpose  : Suppress faces contained in ListOfID from 'shape'.
-//          : Return a list of Geom shapes each one is a main shape GEOM::FACE or GEOM::SHELL
-//================================================================================
-GEOM::GEOM_Gen::ListOfGeomShapes* GEOM_Gen_i::SuppressFaces( GEOM::GEOM_Shape_ptr shape,
-                                                               const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID ) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Gen::ListOfGeomShapes_var listOfGeomShapes = new GEOM::GEOM_Gen::ListOfGeomShapes;
-  listOfGeomShapes->length(0) ;
-
-  TopoDS_Shape mainShape = GetTopoShape(shape);
-  if( mainShape.IsNull() )
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SuppressFaces() : null argument shape", SALOME::BAD_PARAM);
-  
-  if( ListOfID.length() < 1 )
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SuppressFaces() : empty ListOfID", SALOME::BAD_PARAM);
-  
-  /* Define 'mapFaces' a map of faces to be suppressed in mainShape */
-  TopTools_MapOfShape mapFaces ;
-  if( !ListOfIDIntoMapOfShapes(mainShape, ListOfID, TopAbs_FACE, mapFaces ) ) {
-    return listOfGeomShapes._retn();
-  }
-    
-  /* Call algorithm to calculate a compound of shells resulting of face suppression */
-  int numberOfShells = 0 ;
-  TopoDS_Shape aCompoundOfShells ;
-  numberOfShells = SuppressFacesGlue(mainShape, mapFaces, aCompoundOfShells) ;
-  if(numberOfShells < 1) {
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::Suppressfaces() : no shells", SALOME::BAD_PARAM);
-  }
-  /* Create a shell for each shell contained in 'aCompoundOfShells' and             */ 
-  /* put it in the list of GeomShapes to be returned.                               */
-  /* But if the shell is composed of only a face we create a face and not a shell   */
-  int i = 0 ;
-  for( TopExp_Explorer exp(aCompoundOfShells, TopAbs_SHELL); exp.More(); exp.Next() ) {
-
-    const TopoDS_Shell& aShell = TopoDS::Shell( exp.Current() );    
-    if( aShell.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::Suppressfaces() : null shell", SALOME::BAD_PARAM);
-    }
-    
-    GEOM::GEOM_Shape::ListOfSubShapeID_var aList = new GEOM::GEOM_Shape::ListOfSubShapeID;
-    aList = IndexOfFacesOfSubShell(mainShape, aShell) ;
-
-     if( aList->length() < 1 ) {
-      THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SuppressFaces() : aList is empty", SALOME::BAD_PARAM);
-    }
-
-    TopoDS_Shape aShellOrFace ;
-    /* Only a face into the shell : we create a single face instead of a shell : 'aList' is unchanged  */
-    if( aList->length() == 1 ) {
-      TopExp_Explorer exp ;
-      exp.Init( aShell, TopAbs_FACE ) ;
-      exp.More() ;
-      aShellOrFace = exp.Current() ;
-    }
-    else {
-      aShellOrFace = aShell ;
-    }
-    
-    /* Create CORBA object */
-    GEOM::GEOM_Shape_var result = CreateObject(aShellOrFace) ;
-    if( CORBA::is_nil(result) ) {
-      THROW_SALOME_CORBA_EXCEPTION("Suppress Faces aborted : null result", SALOME::BAD_PARAM);
-    }
-
-    InsertInLabelOneArgument(mainShape, shape, aShellOrFace, result, myCurrentOCAFDoc) ;
-    i++ ;
-    listOfGeomShapes->length(i) ;
-    listOfGeomShapes[i-1] = result ;
-  }
-
-  return listOfGeomShapes._retn() ;
-}
-
-
-
-//================================================================================
-// function : IsShapeInSequence()
-// purpose  : return true is aShape is in SS. The test method is 'IsSame()'
-//================================================================================
-bool GEOM_Gen_i::IsShapeInSequence(const TopTools_SequenceOfShape& SS, const TopoDS_Shape& aShape)
-{
-  if( aShape.IsNull() || SS.IsEmpty() ) 
-    return false ;  
-  for( int i=1; i<=SS.Length(); i++) {
-    if( SS.Value(i).IsSame(aShape) )
-      return true ;
-  }
-  return false ;
-}
-
-
-//================================================================================
-// function : FreeEdgesFromMapOfFace()
-// purpose  : Define MS a map of all edges of faces of 'MSfaces'
-//          : All multiple edges are removed !
-//================================================================================
-void GEOM_Gen_i::FreeEdgesFromMapOfFace( const TopTools_MapOfShape& MSfaces,
-                                        TopTools_MapOfShape& MS )
-{
-  MS.Clear() ;
-  TopTools_MapOfShape Multiple ;
-  TopTools_MapIteratorOfMapOfShape it ;
-  for( it.Initialize(MSfaces); it.More(); it.Next() ) {
-    TopoDS_Shape aFace = it.Key() ;
-    TopExp_Explorer exp ;
-    for( exp.Init( aFace, TopAbs_EDGE); exp.More(); exp.Next() ) {
-      if( !Multiple.Contains( exp.Current() ) && !MS.Add( exp.Current() ) ) {
-       MS.Remove( exp.Current() ) ;
-       Multiple.Add( exp.Current() ) ;
-      }
-    }
-  }
-  return ;
-}
-
-
-//================================================================================
-// function : MapRemoveSequence()
-// purpose  : In term of shapes ST = MS - SSRemove
-//          :
-//================================================================================
-void GEOM_Gen_i::MapRemoveSequence( const TopTools_MapOfShape& MS,
-                                   const TopTools_SequenceOfShape& SSRemove,
-                                   TopTools_SequenceOfShape& ST ) 
-{
-  ST.Clear() ;
-  TopTools_MapIteratorOfMapOfShape it ;
-  for( it.Initialize(MS); it.More(); it.Next() ) {
-    TopoDS_Shape aShape = it.Key() ;
-    if( !IsShapeInSequence( SSRemove, aShape ) )
-      ST.Append( aShape ) ;
-  }
-  return ;
-}
-
-
-
-//================================================================================
-// function : SuppressHoleSubRoutine()
-// purpose  : Define recursively 'MSfacesSuppress' a list of faces to suppress in a hole
-//================================================================================
-void GEOM_Gen_i::SuppressHoleSubRoutine( const TopoDS_Shape& mainShape,
-                                        const TopoDS_Face& aFace,
-                                        const TopTools_SequenceOfShape& SSedgesOfWire, 
-                                        const TopTools_IndexedDataMapOfShapeListOfShape& aMapEdgesFaces,
-                                        const TopTools_MapOfShape& MSfaces,                                     
-                                        TopTools_MapOfShape& MSfacesSuppress,
-                                        const Standard_Boolean withEndFace,
-                                        const TopoDS_Face& endFace,
-                                        TopTools_MapOfShape& MSwireEndEdges )
-  throw (SALOME::SALOME_Exception)
-{  
-  Unexpect aCatch(SALOME_SalomeException);
-  TopTools_MapOfShape MS ;
-  TopTools_SequenceOfShape SU ;
-  FreeEdgesFromMapOfFace(MSfaces, MS) ;        /* MS = free edges of MSfaces */
-  MapRemoveSequence(MS, SSedgesOfWire, SU) ;   /* SU = MS - SSedgesOfWire    */
-
-  if( SU.IsEmpty() ) {
-    return ;
-  }
-
-  /* Here SU contains new edges to find new faces to suppress                                          */
-  /* Define the list of faces of SU edges that aren't in faces of MSfacesSuppress in order to add into */
-  /* For each edge we have a map of all its faces : it's in 'aMapEdgesFaces'                           */
-  TopTools_MapOfShape MSfacesTmp ;
-  for( int v=1; v<=SU.Length(); v++ ) {
-    TopoDS_Shape E = SU.Value(v) ;
-    TopoDS_Shape F ;
-    TopTools_ListOfShape LF ;
-    int ind = aMapEdgesFaces.FindIndex(E) ;
-    
-    /* LF is the list of faces for an edge of SU : may be empty no matter */
-    LF = aMapEdgesFaces.FindFromIndex(ind) ;
-    
-    TopTools_ListIteratorOfListOfShape it ;
-    for( it.Initialize(LF); it.More(); it.Next() ) {
-      F = it.Value() ;
-      if( withEndFace == false ) {
-       if( F.IsSame(aFace) )
-         THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHoleSubRoutine() : hole traversing or ?", SALOME::BAD_PARAM);
-       if( !MSfacesSuppress.Contains(F) ) {
-         MSfacesSuppress.Add(F) ;
-         MSfacesTmp.Add(F) ; // Dont remove the 'if' !
-       }
-      }
-      else { /* withEndFace == true */
-       if( F.IsSame(aFace) && !F.IsSame(endFace) )
-         THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHoleSubRoutine() : hole traversing incoherent ?", SALOME::BAD_PARAM);
-       
-       if( F.IsSame(endFace) ) {
-         /* We have reached endFace if selection was correct so we add  */
-         /* edge in a map to find later the corresponding endWire (hole */
-         MSwireEndEdges.Add(E) ;
-       }
-       else {
-         if( !MSfacesSuppress.Contains(F) ) {
-           MSfacesSuppress.Add(F) ;
-           MSfacesTmp.Add(F) ;
-         }
-       }
-      }
-    }
-  }
-  /* Call recursively this routine */
-  SuppressHoleSubRoutine( mainShape, aFace, SSedgesOfWire, aMapEdgesFaces, MSfacesTmp, MSfacesSuppress, withEndFace, endFace, MSwireEndEdges ) ; 
-}
-
-
-
-//================================================================================
-// function : GetShapeFromIndex()
-// purpose  : Find 'tds' a sub shape of 'aShape' according to 'aList' that contains
-//          : a unique index !
-//          : Warning : index must be setted with the same exploration logic !
-//          : So 'index' is calculated with no shape doublons !
-//================================================================================
-bool GEOM_Gen_i::GetShapeFromIndex( const TopoDS_Shape& aShape,
-                                   const TopAbs_ShapeEnum aType, 
-                                   const int index,
-                                   TopoDS_Shape& tds )
-
-{
-  if (aShape.IsNull() || index < 1) 
-    return false ;
-  /* Indices start at 1 */
-  int j = 1 ;
-  bool found = false ;
-  TopExp_Explorer exp ;
-  TopTools_MapOfShape M;
-  for( exp.Init( aShape, aType ); exp.More(); exp.Next() ) {
-    if( M.Add(exp.Current()) ) { /* if not a doublon : we compare */
-      if( index == j ) {
-       tds =  exp.Current() ;
-       return true ;
-      }
-      j++ ;
-    }
-  }
-  return false ;
-}
-
-
-
-//================================================================================
-// function : SuppressHolesInFaceOrShell()  Main method.
-// purpose  : Suppress holes identified by wires in a single face or shell
-//
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::SuppressHolesInFaceOrShell( GEOM::GEOM_Shape_ptr shapeFaceShell,
-                                                      const GEOM::GEOM_Shape::ListOfSubShapeID& ListIdWires )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-
-  if( ListIdWires.length() < 1 )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace : no holes selected", SALOME::BAD_PARAM);
-  
-  const TopoDS_Shape tds = GetTopoShape(shapeFaceShell) ;
-  if( tds.IsNull() || !IsValid(tds) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace() : non valid main argument", SALOME::BAD_PARAM);
-  
-  /* Create a map of wires/holes to suppress */
-  TopTools_MapOfShape MapHoles ;
-  for ( int i = 0; i < ListIdWires.length(); i++ ) {
-    TopoDS_Shape W ;    
-    if( !GetShapeFromIndex( tds, TopAbs_WIRE, ListIdWires[i], W ) )
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace() : bad index ?", SALOME::BAD_PARAM);
-    MapHoles.Add( W ) ;
-  }
-
-  /* Test if argument is a face or shell */
-  bool isFace ;
-  if( tds.ShapeType() == TopAbs_FACE )
-    isFace = true ;
-  else if ( tds.ShapeType() == TopAbs_SHELL )
-    isFace = false ;
-  else
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace() : not a face or a shell", SALOME::BAD_PARAM); 
-
-  /* Define two maps : all faces and faces to that will be modified */
-  TopTools_MapOfShape MapFacesToModify ;
-  TopTools_MapOfShape MapFacesAll ;
-  TopExp_Explorer expF ;
-  for( expF.Init( tds, TopAbs_FACE);  expF.More(); expF.Next() ) {
-    TopoDS_Face F = TopoDS::Face( expF.Current() ) ;
-    MapFacesAll.Add(F) ;
-    TopExp_Explorer expW ;
-    for( expW.Init( F, TopAbs_WIRE);  expW.More(); expW.Next() ) {
-      TopoDS_Wire W = TopoDS::Wire( expW.Current() ) ;
-      if( MapHoles.Contains(W) ) {
-       MapFacesToModify.Add(F) ;
-      }
-    }
-  }
-
-  /* Define faces not modified */
-  TopTools_MapOfShape MapFacesNotModified ;
-  TopTools_MapIteratorOfMapOfShape it ;
-  for( it.Initialize(MapFacesAll); it.More(); it.Next() ) {
-    TopoDS_Face FF = TopoDS::Face( it.Key() ) ;
-    if( !MapFacesToModify.Contains(FF) )
-      MapFacesNotModified.Add(FF) ;
-  }
-
-  if( MapFacesToModify.IsEmpty() )
-    THROW_SALOME_CORBA_EXCEPTION("Error : empty map of faces", SALOME::BAD_PARAM); 
-  
-  if( isFace && MapFacesToModify.Extent() != 1 )
-    THROW_SALOME_CORBA_EXCEPTION("Incoherent", SALOME::BAD_PARAM);
-  
-  /* Main argument is a face */
-  if( isFace && MapFacesToModify.Extent() == 1 ) {
-    TopoDS_Face resultFace ;
-    if( !RebuildFaceRemovingHoles( TopoDS::Face(tds), MapHoles, resultFace ) )
-      THROW_SALOME_CORBA_EXCEPTION(" Problem : !RebuildFaceRemovingHoles()", SALOME::BAD_PARAM);
-    /* Creation of CORBA object : face topology */
-    result = CreateObject(resultFace);
-    InsertInLabelOneArgument(tds, shapeFaceShell, resultFace, result, myCurrentOCAFDoc) ;
-    return result ;
-  }
-
-  /* Main argument is a shell : rebuild faces modified */
-  TopTools_MapOfShape MapFacesModified ;
-  for( it.Initialize(MapFacesToModify); it.More(); it.Next() ) {
-    TopoDS_Face FF = TopoDS::Face( it.Key() ) ;
-    TopoDS_Face resF ;
-    if( !RebuildFaceRemovingHoles( FF, MapHoles, resF ) )
-      THROW_SALOME_CORBA_EXCEPTION(" Problem shell : !RebuildFaceRemovingHoles()", SALOME::BAD_PARAM);
-    MapFacesModified.Add(resF) ;
-  }
-
-  /* Rebuild the shell with faces modified and non modified */
-  TopoDS_Shell resultShell ;
-  BRepPrim_Builder B;
-  B.MakeShell(resultShell) ;
-  TopTools_MapIteratorOfMapOfShape it1 ;
-  for( it1.Initialize(MapFacesModified); it1.More(); it1.Next() )
-    B.AddShellFace( resultShell,TopoDS::Face( it1.Key() ) ) ;
-  for( it1.Initialize(MapFacesNotModified); it1.More(); it1.Next() )
-    B.AddShellFace( resultShell,TopoDS::Face( it1.Key() ) ) ;
-  
-  B.CompleteShell(resultShell) ;
-  
-  if( resultShell.IsNull() )
-    THROW_SALOME_CORBA_EXCEPTION("Null or not valid result Shell", SALOME::BAD_PARAM) ;
-  
-  /* Creation of CORBA object : shell topology */
-  result = CreateObject(resultShell);
-  InsertInLabelOneArgument(tds, shapeFaceShell, resultShell, result, myCurrentOCAFDoc) ;
-  return result ;
-}
-
-
-//================================================================================
-// function : RebuildFaceRemovingHoles()
-// purpose  : Rebuild a face removing holes that are in 'mapHoles'.
-//          : NB : 'mapHoles' may content more holes than necessary
-//================================================================================
-bool GEOM_Gen_i::RebuildFaceRemovingHoles( const TopoDS_Face& aFace,
-                                          const TopTools_MapOfShape& mapHoles,
-                                          TopoDS_Shape& resultFace )
-{
-  /* Get the outer wire of the face 'aFace' */
-  TopoDS_Wire outW = BRepTools::OuterWire( aFace ) ;
-  if( outW.IsNull() || !IsValid(outW) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace : bad outer wire of 'aFace'", SALOME::BAD_PARAM);
-  
-  /* Rebuild a face avoiding holes in the map 'mapHoles' */  
-  Handle(Geom_Surface) Surface = BRep_Tool::Surface(aFace) ;
-  TopoDS_Face F2 = BRepBuilderAPI_MakeFace( Surface, outW, true ) ;
-  
-  if( F2.Orientation() != aFace.Orientation() )
-    F2.Orientation( aFace.Orientation() ) ;
-  
-  BRepBuilderAPI_MakeFace aBuilder( F2 ) ;
-  bool foundAndKeepHoles = false ;
-  TopExp_Explorer exp ;
-  
-  for( exp.Init( aFace, TopAbs_WIRE);  exp.More(); exp.Next() ) {
-    TopoDS_Wire hole = TopoDS::Wire( exp.Current() ) ;
-    if( !mapHoles.Contains(hole) && !exp.Current().IsEqual(outW) ) {
-      aBuilder.Add( hole) ;      
-      if( !aBuilder.IsDone() )
-       THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHolesInFace : builder problem !", SALOME::BAD_PARAM);      
-      
-      resultFace = TopoDS::Face(aBuilder) ;
-      foundAndKeepHoles = true ;
-    }
-  }
-  
-  if( !foundAndKeepHoles )
-    resultFace = F2 ;
-  else
-    resultFace = TopoDS::Face(aBuilder) ;
-  
-  return true ;
-}
-
-
-
-
-//================================================================================
-// function : SuppressHole() Main method.
-// purpose  : Suppress an hole identified by a wire in a face of shape
-//          : ListIdFace contains a unique index of face in shape
-//          : ListIdWire contains a unique index of wire in face !!!
-//          : ListIdEndFace is used only when hole traverse.
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::SuppressHole( GEOM::GEOM_Shape_ptr shape,
-                                        const GEOM::GEOM_Shape::ListOfSubShapeID& ListIdFace,
-                                        const GEOM::GEOM_Shape::ListOfSubShapeID& ListIdWire,
-                                        const GEOM::GEOM_Shape::ListOfSubShapeID& ListIdEndFace )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Face aFace ;
-  TopoDS_Wire aWire ;  
-  TopoDS_Face endFace ;
-  bool withEndFace ;
-  TopoDS_Shape tmp ;
-  
-  /* Retrieve 'aShape' the initial main shape selection */
-  const TopoDS_Shape aShape = GetTopoShape(shape);
-  
-  if( !IsValid(aShape) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : non valid main shape", SALOME::BAD_PARAM);
-  
-  if( ListIdFace.length() != 1 || ListIdWire.length() != 1 )
-    THROW_SALOME_CORBA_EXCEPTION("bad list", SALOME::BAD_PARAM);  
-  
-  /* Retrieve 'aFace' selection */
-  if( !GetShapeFromIndex( aShape, TopAbs_FACE, ListIdFace[0], tmp ) ) {
-    THROW_SALOME_CORBA_EXCEPTION("face not found", SALOME::BAD_PARAM);
-  }
-  else {
-    aFace = TopoDS::Face(tmp) ;
-  }
-  if( !IsValid(aFace) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : face shape not valid", SALOME::BAD_PARAM);  
-  
-   /* Retrieve 'aWire' selection : Warning : index of wire refers to the face ! */
-  TopoDS_Shape aTmp ;
-  if( !GetShapeFromIndex( aFace, TopAbs_WIRE, ListIdWire[0], aTmp ) ) {
-    THROW_SALOME_CORBA_EXCEPTION("wire not found", SALOME::BAD_PARAM);
-  }
-  else {
-    aWire = TopoDS::Wire(aTmp) ;
-  }
-  if( !IsValid(aWire) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : bad wire" , SALOME::BAD_PARAM);
-
-  /* Get the outer wire of aFace */
-  TopoDS_Wire outerW = BRepTools::OuterWire( aFace ) ;
-  if( outerW.IsNull() || !IsValid(outerW) ) 
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : bad outer wire", SALOME::BAD_PARAM);
-  
-  /* Test bad user selection aWire */
-  if( aWire.IsSame(outerW) )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : outerW = aWire", SALOME::BAD_PARAM);
-   
-  /* Test if 'endFace' is used  as argument and seems to be a valid one          */
-  /* NB : 'endFace' is optional and used when hole to suppress traverse 'aShape' */
-  if( ListIdEndFace.length() == 0 ) {
-    withEndFace = false ;
-  }
-  else {
-    TopoDS_Shape aTemp ;
-    if( !GetShapeFromIndex( aShape, TopAbs_FACE, ListIdEndFace[0], aTemp ) || tmp.IsNull() || !IsValid(aTemp) )
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : non valid endFace", SALOME::BAD_PARAM);
-
-    /* Test if 'endFace' as at least one hole */    
-    endFace = TopoDS::Face(aTemp) ;  
-
-    TopExp_Explorer fExp ;
-    int nbWires = 0 ;
-    for( fExp.Init(endFace, TopAbs_WIRE);  fExp.More(); fExp.Next() ) {
-      TopoDS_Wire W = TopoDS::Wire( fExp.Current() ) ;
-      if( !W.IsNull() && IsValid(W) )
-       nbWires++ ;
-    }
-    if(nbWires > 1)
-      withEndFace = true ; /* at least 2 wires : outer wire plus an hole or more */
-    else
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SuppressHole() : end face selection ?", SALOME::BAD_PARAM);
-  }
-  
-  /* Find edges of aWire and test if degenerated */
-  TopTools_SequenceOfShape SSedgesOfWire ;
-  TopExp_Explorer wireExp ;  
-  for( wireExp.Init(aWire, TopAbs_EDGE);  wireExp.More(); wireExp.Next() ) {
-    TopoDS_Edge E = TopoDS::Edge( wireExp.Current() ) ;
-    if( E.IsNull() || BRep_Tool::Degenerated(E) ) {
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : found bad edge", SALOME::BAD_PARAM);
-    }
-    else {
-      SSedgesOfWire.Append( wireExp.Current() ) ;
-    }
-  }
-  if( SSedgesOfWire.Length() < 1 )
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : no edge(s) for aWire", SALOME::BAD_PARAM); 
-  
-  /* Retrieve face ancestors of all edges of 'aWire' but avoiding 'aFace' */ 
-  
-  TopTools_IndexedDataMapOfShapeListOfShape aMapEdgesFaces;
-  TopTools_MapIteratorOfMapOfShape anIt ;
-  TopTools_MapOfShape MFSuppress ;
-  TopTools_MapOfShape MFSuppressTmp ;
-  bool wireOnFace = false ;
-  TopExp::MapShapesAndAncestors(aShape, TopAbs_EDGE, TopAbs_FACE, aMapEdgesFaces) ;  
-  for( int h=1; h<=SSedgesOfWire.Length(); h++ ) {
-    
-    TopoDS_Shape anEdgeOfWire = SSedgesOfWire.Value(h) ;
-    int ind = aMapEdgesFaces.FindIndex(anEdgeOfWire) ;
-    if(ind < 1)
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : index of edge", SALOME::BAD_PARAM);
-    
-    TopTools_ListOfShape LF;
-    LF = aMapEdgesFaces.FindFromIndex(ind) ; /* Contains all faces ancestors of an edge of wire */
-    if( LF.IsEmpty() )
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : no face for an edge", SALOME::BAD_PARAM);
-    
-    /* Filter faces avoiding 'aFace' */
-    TopTools_ListIteratorOfListOfShape it ;
-    for( it.Initialize(LF); it.More(); it.Next() ) {
-      TopoDS_Face F = TopoDS::Face( it.Value() ) ;
-      if( !F.IsSame(aFace) ) { 
-       MFSuppressTmp.Add(F) ;
-       MFSuppress.Add(F) ;
-      }
-      else {
-       wireOnFace = true ;
-      }
-    }
-  }
-  
-  if( !wireOnFace ) {
-    THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : wire not on selected face", SALOME::BAD_PARAM);  
-  }
-
-  /* Call routine to define faces to suppress and and optional endWire on endFace */
-  TopTools_MapOfShape MSwireEndEdges ; /* will contain edges of final wire (hole) */
-  SuppressHoleSubRoutine( aShape, aFace, SSedgesOfWire, aMapEdgesFaces, MFSuppressTmp, MFSuppress, withEndFace, endFace, MSwireEndEdges ) ;
-
-  TopoDS_Wire endWire ;
-  if( withEndFace ) {
-    
-    if( MSwireEndEdges.Extent() < 1 )
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : MSwireEndEdges.Extent() < 1", SALOME::BAD_PARAM);
-
-    if( !FindCompareWireHoleOnFace( endFace, MSwireEndEdges, endWire ) )           
-      THROW_SALOME_CORBA_EXCEPTION("in GEOM_Gen_i::SupressHole() : no endWire found", SALOME::BAD_PARAM);    
-   }
-   
-  /* Build 'resTds' : a shape containing a compound of faces */
-  TopoDS_Shape resTds;
-  if( !withEndFace && !BuildShapeHoleNotTraversing( aShape, aFace, aWire, MFSuppress, resTds ) )
-    THROW_SALOME_CORBA_EXCEPTION("Rebuild result shape has aborted", SALOME::BAD_PARAM);
-  
-  if( withEndFace && !BuildShapeHoleTraversing( aShape, aFace, aWire, MFSuppress, endFace, endWire, resTds ) )
-    THROW_SALOME_CORBA_EXCEPTION("Rebuild result shape has aborted (end hole)", SALOME::BAD_PARAM); 
-  
-  /* Reconstruction of final shape with 'resTds' : a compound of faces after hole suppressing */
-  /* Actual limitation is : 'aShape' must not contain more than a solid or a shell !          */
-  TopoDS_Shape finalShape ;
-  TopExp_Explorer exp ;
-  unsigned int nbSolid = 0 ;
-  TopoDS_Solid aSolid ;
-  for( exp.Init(aShape, TopAbs_SOLID); exp.More(); exp.Next() ) {
-    aSolid = TopoDS::Solid( exp.Current() ) ;
-    nbSolid++ ;
-    if( nbSolid > 1 )
-      THROW_SALOME_CORBA_EXCEPTION("Limitation : main shape contents more than one solid", SALOME::BAD_PARAM);  
-  }
-   
-  unsigned int nbShell = 0 ;
-  TopoDS_Shell aShell ;
-  for( exp.Init(aShape, TopAbs_SHELL); exp.More(); exp.Next() ) {
-    aShell = TopoDS::Shell( exp.Current() ) ;
-    nbShell++ ;
-    if( nbShell > 1 )
-      THROW_SALOME_CORBA_EXCEPTION("Limitation : main shape contents more than one shell", SALOME::BAD_PARAM);
-  }
-  
-  /* No shells and no solids : can send a compound even for a single face, see GUI ! */
-  if( nbShell == 0 ) {
-    finalShape = resTds ;
-  }
-  
-  /* a shell */
-  TopoDS_Shell shellResult ;
-  if( nbShell == 1 ) {
-    if ( !BuildShellWithFaceCompound( TopoDS::Compound(resTds), shellResult ) ) 
-      THROW_SALOME_CORBA_EXCEPTION("Error after BuildShellWithFaceCompound()", SALOME::BAD_PARAM);
-    finalShape = shellResult ;
-  }
-  
-  /* a solid with a shell */
-  if( nbSolid == 1 && nbShell == 1) {
-    BRepBuilderAPI_MakeSolid B;
-    B.Add(shellResult) ;
-    if( !B.IsDone() )
-      THROW_SALOME_CORBA_EXCEPTION("Error : !B.IsDone()", SALOME::BAD_PARAM);  
-    finalShape = B.Solid() ;
-  }
-
-  result = CreateObject(finalShape);
-  InsertInLabelOneArgument(aShape, shape, finalShape, result, myCurrentOCAFDoc) ;
-  return result ;
-}
-
-
-
-//================================================================================
-// function : BuildShellWithFaceCompound()
-// purpose  : Build a shell with a compound of faces.
-//================================================================================
-bool GEOM_Gen_i::BuildShellWithFaceCompound( const TopoDS_Compound Comp,
-                                            TopoDS_Shell& resultShell )
-{
-  resultShell.Nullify() ;
-  BRepPrim_Builder B ;
-  B.MakeShell(resultShell) ;  
-  TopExp_Explorer ex ;
-  int i = 0 ;
-  for( ex.Init( Comp, TopAbs_FACE); ex.More(); ex.Next() ) {
-    TopoDS_Face F = TopoDS::Face( ex.Current() ) ;
-    if( !IsValid(F) ) {
-      return false ;
-    }
-    B.AddShellFace( resultShell, F ) ;
-  }
-  B.CompleteShell(resultShell) ;
-  if( resultShell.IsNull() ) {
-    return false ;
-  }  
-  return true ;
-}
-
-
-//================================================================================
-// function : FindCompareWireHoleOnFace()
-// purpose  : Try to find a wire on 'aFace' which edges are same than those
-//          : into 'MSwireEdges' map. 'aFoundWire' is defined and 'true' returned.
-//          : 'MSwireEdges' represents generally an hole an 'aFace'.
-//          : The outer wire of 'aFace' is avoided !
-//================================================================================
-bool GEOM_Gen_i::FindCompareWireHoleOnFace( const TopoDS_Face& F,
-                                           const TopTools_MapOfShape& MSwireEdges,
-                                           TopoDS_Wire& aFoundWire )
-{
-  aFoundWire.Nullify() ;
-  
-  if( F.IsNull() )
-    return false ;
-  
-  /* Get the outer wire of aFace */
-  TopoDS_Wire outerW = BRepTools::OuterWire(F) ;
-  if( outerW.IsNull() || !IsValid(outerW) ) {
-    return false ;
-  }
-  
-  int nbEdges = MSwireEdges.Extent() ;
-  if( nbEdges < 1 ) {
-    return false ;
-  }
-  
-  TopExp_Explorer exp1 ;
-  TopExp_Explorer exp2 ;
-  for ( exp1.Init(F, TopAbs_WIRE) ; exp1.More(); exp1.Next() ) {
-    TopoDS_Wire W = TopoDS::Wire( exp1.Current() ) ;
-    int i = 0 ;
-    if( !W.IsSame(outerW) ) {
-      for ( exp2.Init( W, TopAbs_EDGE) ; exp2.More(); exp2.Next() ) {
-       TopoDS_Edge E = TopoDS::Edge( exp2.Current() ) ;
-       if( MSwireEdges.Contains(E) ) {
-         i++ ;
-         if( i == nbEdges ) {
-           aFoundWire = W ;
-           return true ;
-         }
-       }
-      }
-    }
-  }
-  return false ;
-}
-
-
-//================================================================================
-// function : BuildShapeHoleNotTraversing()
-// purpose  : Define 'resultTds' a reconstruction of 'aShape' after modification
-//          : on 'aFace' where 'aWire is removed' and suppression of faces 'MFSuppress'
-//          : ( Used as a sub routine of SuppressHole() )
-//================================================================================
-bool GEOM_Gen_i::BuildShapeHoleNotTraversing( const TopoDS_Shape& aShape,
-                                             const TopoDS_Face& aFace,
-                                             const TopoDS_Wire& aWire,
-                                             const TopTools_MapOfShape& MFSuppress,
-                                             TopoDS_Shape& resultTds )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  BRep_Builder B;
-  TopExp_Explorer exp ;
-  TopoDS_Face newFace ;
-  
-  resultTds.Nullify() ;
-  TopoDS_Compound Comp ;
-  B.MakeCompound (Comp);
-  
-  try  {
-    
-    /* Explore all faces of 'aShape' to rebuild a compound */
-    for ( exp.Init(aShape, TopAbs_FACE) ; exp.More(); exp.Next() ) {
-      
-      TopoDS_Face F1 = TopoDS::Face( exp.Current() );
-      /* Rebuild face(s) not suppressed */
-      if( !MFSuppress.Contains(F1) ) {
-       
-       if( F1.IsEqual( aFace ) ) {
-         TopTools_MapOfShape MSwire ;
-         MSwire.Add(aWire) ;
-         if( !RebuildFaceRemovingHoles(aFace, MSwire, newFace) ) {
-           return false ;
-         }
-         B.Add( Comp, newFace ) ;
-       }
-       else {
-         /* For any other face not suppressed */
-         B.Add( Comp, F1 ) ;
-       }
-      }
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("in BuildShapeHoleNotTraversing() : Exception catched", SALOME::BAD_PARAM);
-  }  
-  resultTds = Comp ;
-  return true ;
-}
-
-
-
-//================================================================================
-// function : BuildShapeHoleTraversing()
-// purpose  : Define 'resultTds' a reconstruction of 'aShape' after modifications.
-//          : On 'aFace'    'aWire    is removed'
-//          : On 'endFace'  'endWire' is removed.
-//          : Faces of 'MFSuppress' are removed.
-//          : ( Used as a sub routine of SuppressHole() )
-//================================================================================
-bool GEOM_Gen_i::BuildShapeHoleTraversing( const TopoDS_Shape& aShape,
-                                          const TopoDS_Face& aFace,
-                                          const TopoDS_Wire& aWire,
-                                          const TopTools_MapOfShape& MFSuppress,
-                                          const TopoDS_Face& endFace,
-                                          const TopoDS_Wire& endWire,
-                                          TopoDS_Shape& resultTds )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  BRep_Builder B;
-  TopExp_Explorer exp ;
-  TopoDS_Face newFace ;
-
-  resultTds.Nullify() ;
-  TopoDS_Compound Comp ;
-  B.MakeCompound (Comp);
-  
-  /* Necessary to use general method */
-  TopTools_MapOfShape MSwire1  ;
-  MSwire1.Add(aWire) ; 
-  TopTools_MapOfShape MSwire2 ;
-  MSwire2.Add(endWire) ;
-
-  try  {    
-    
-    /* Explore all faces of 'aShape' to rebuild a compound */
-    for ( exp.Init(aShape, TopAbs_FACE) ; exp.More(); exp.Next() ) {
-      TopoDS_Face F1 = TopoDS::Face( exp.Current() );      
-      
-      /* Rebuild face(s) not suppressed */
-      if( !MFSuppress.Contains(F1) ) {
-       
-       /* Rebuild 'aFace' */
-       if( F1.IsEqual( aFace ) && !F1.IsEqual( endFace ) ) {
-         if( !RebuildFaceRemovingHoles(aFace, MSwire1, newFace) ) {
-           return false ;
-         }
-         B.Add(Comp, newFace) ;
-       }       
-       
-       /* Rebuild 'endFace' */
-       if( !F1.IsEqual( aFace ) && F1.IsEqual( endFace ) ) {
-         if( !RebuildFaceRemovingHoles(endFace, MSwire2, newFace) ) {
-           return false ;
-         }
-         B.Add(Comp, newFace) ;
-       }
-       
-       /* Hole in the same face : aFace = endFace */
-       if( F1.IsEqual( aFace ) && F1.IsEqual( endFace ) ) {
-         TopoDS_Face FF ;
-         if( !RebuildFaceRemovingHoles(aFace, MSwire1, newFace) || !RebuildFaceRemovingHoles(newFace, MSwire2, FF) ) {
-           return false ;
-         }
-         B.Add( Comp, FF ) ;
-       }
-       
-       /* For any other face not suppressed */
-       if( !F1.IsEqual(aFace) && !F1.IsEqual( endFace ) ) {      
-         B.Add( Comp, F1 ) ;
-       }
-       
-      }
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("in BuildShapeHoleTraversing() : Exception catched", SALOME::BAD_PARAM);
-  }  
-  resultTds = Comp ;
-  return true ;
-}
-
-//=======================================================================
-//function : SortShapes
-//purpose  : 
-//=======================================================================
-
-static void SortShapes(TopTools_ListOfShape& SL)
-{
-  Standard_Integer MaxShapes = SL.Extent();
-  TopTools_Array1OfShape  aShapes (1,MaxShapes);
-  TColStd_Array1OfInteger OrderInd(1,MaxShapes);
-  TColStd_Array1OfReal    MidXYZ  (1,MaxShapes); //X,Y,Z;
-  TColStd_Array1OfReal    Length  (1,MaxShapes); //X,Y,Z;
-  
-  // Computing of CentreOfMass
-  Standard_Integer Index;
-  GProp_GProps GPr;
-  gp_Pnt GPoint;
-  TopTools_ListIteratorOfListOfShape it(SL);
-  for (Index=1;  it.More();  Index++)
-  {
-    TopoDS_Shape S = it.Value();
-    SL.Remove( it ); // == it.Next()
-    aShapes(Index) = S;
-    OrderInd.SetValue (Index, Index);
-    if (S.ShapeType() == TopAbs_VERTEX)
-    {
-      GPoint = BRep_Tool::Pnt( TopoDS::Vertex( S ));
-      Length.SetValue( Index, (Standard_Real) S.Orientation());
-    }
-    else
-    {
-      BRepGProp::LinearProperties (S, GPr);
-      GPoint = GPr.CentreOfMass();
-      Length.SetValue( Index, GPr.Mass() );
-    }
-    MidXYZ.SetValue(Index,
-                   GPoint.X()*999 + GPoint.Y()*99 + GPoint.Z()*0.9);
-  }
-  // Sorting
-  Standard_Integer aTemp;
-  Standard_Boolean exchange, Sort = Standard_True;
-  while (Sort)
-  {
-    Sort = Standard_False;
-    for (Index=1; Index < MaxShapes; Index++)
-    {
-      if (MidXYZ(OrderInd(Index)) > MidXYZ(OrderInd(Index+1)))
-       exchange = Standard_True;
-      else if (MidXYZ(OrderInd(Index)) == MidXYZ(OrderInd(Index+1)) &&
-              Length(OrderInd(Index)) >  Length(OrderInd(Index+1)) )
-       exchange = Standard_True;
-      else
-       exchange = Standard_False;
-      if (exchange)
-      {
-        aTemp = OrderInd(Index);
-        OrderInd(Index) = OrderInd(Index+1);
-        OrderInd(Index+1) = aTemp;
-        Sort = Standard_True;
-      }
-    }
-  }
-  for (Index=1; Index <= MaxShapes; Index++)
-    SL.Append( aShapes( OrderInd(Index) ));
-}
-
-//================================================================================
-// function : SubShape()
-// purpose  : Method for GUI or TUI
-//================================================================================
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::SubShape(GEOM::GEOM_Shape_ptr shape,
-                                         CORBA::Short ShapeType, 
-                                         const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID)
-     throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  return SubShapesOne(shape, (TopAbs_ShapeEnum) ShapeType, ListOfID);
-}
-
-//================================================================================
-// function : SubShapeSorted()
-// purpose  : Method for GUI or TUI
-//================================================================================
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::SubShapeSorted(GEOM::GEOM_Shape_ptr shape,
-                                               CORBA::Short ShapeType, 
-                                               const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID)
-     throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  return SubShapesOne(shape, (TopAbs_ShapeEnum) ShapeType, ListOfID, Standard_True);
-}
-
-//================================================================================
-// function : SubShapesOne()
-// purpose  :
-//================================================================================
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::SubShapesOne( GEOM::GEOM_Shape_ptr shape,
-                                             const TopAbs_ShapeEnum ShapeType, 
-                                             const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID,
-                                             const Standard_Boolean Sort)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape mainShape;
-  TopoDS_Shape mainTopo = GetTopoShape(shape);
-
-  bool main = false;
-  while ( !main ) {
-    if ( shape->IsMainShape() ) {
-      mainShape = GetTopoShape(shape);
-      main = true;
-    } else
-      shape = GetIORFromString( shape->MainName() );
-  }
-  
-  if(ListOfID.length() < 1) {
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SubShape() : bad list of shapes",
-                                SALOME::BAD_PARAM);
-  }
-  
-  /* Create a sequence of all sub shapes */
-  TopTools_ListOfShape listShape;
-
-  TopTools_MapOfShape mapShape;
-  TopExp_Explorer exp ;
-  for ( exp.Init( mainShape, TopAbs_ShapeEnum(ShapeType)) ; exp.More(); exp.Next() ) {
-    if ( mapShape.Add( exp.Current() ) )
-      listShape.Append ( exp.Current() );
-  }
-
-  if (listShape.IsEmpty()) return shape;
-
-  if (Sort)
-    SortShapes(listShape);
-
-  TopTools_SequenceOfShape SS;
-  TopTools_ListIteratorOfListOfShape it (listShape);
-  for (; it.More(); it.Next())
-    SS.Append( it.Value() );
-
-  TopoDS_Shape SubShape;
-  if (ListOfID.length() == 1)
-    SubShape = SS.Value(ListOfID[0]);
-  else
-  {
-    BRep_Builder B;
-    TopoDS_Compound Comp;
-    B.MakeCompound (Comp);
-    unsigned int ind;
-    for ( ind = 0; ind < ListOfID.length(); ind++ )
-      B.Add( Comp, SS.Value(ListOfID[ind]) );
-    SubShape = Comp;
-  }
-
-  if ( !TNaming_Tool::HasLabel( myCurrentOCAFDoc->Main(), SubShape ) ) 
-    result = CreateSubObject( SubShape, shape, ListOfID);
-  else {
-    int TransDef;
-    TDF_Label Lab = TNaming_Tool::Label( myCurrentOCAFDoc->Main(), SubShape, TransDef );
-    Handle(TDataStd_Name) Att;
-    if ( Lab.FindAttribute( TDataStd_Name::GetID(), Att ) ) {
-      TCollection_AsciiString nameIOR( Att->Get() );
-      result = GEOM::GEOM_Shape::_narrow(_orb->string_to_object( nameIOR.ToCString() ));
-      if ( strcmp( result->MainName(), _orb->object_to_string(shape) ) != 0 ) {
-       result = CreateSubObject( SubShape, shape, ListOfID);
-      }
-    }
-  }
-
-  return result;
-}
-
-
-//================================================================================
-// function : SubShapeAll()
-// purpose  : Explode a shape in all sub shapes with a type (Method for TUI or GUI)
-//================================================================================
-
-GEOM::GEOM_Gen::ListOfGeomShapes* GEOM_Gen_i::SubShapeAll(GEOM::GEOM_Shape_ptr shape,
-                                                         CORBA::Short ShapeType)
-     throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  return SubShapesAll(shape, (TopAbs_ShapeEnum) ShapeType);
-}
-
-//================================================================================
-// function : SubShapeAllSorted()
-// purpose  : Explode a shape in all sub shapes with a type (Method for TUI or GUI)
-//================================================================================
-
-GEOM::GEOM_Gen::ListOfGeomShapes* GEOM_Gen_i::SubShapeAllSorted(GEOM::GEOM_Shape_ptr shape,
-                                                               CORBA::Short ShapeType)
-     throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  return SubShapesAll(shape, (TopAbs_ShapeEnum) ShapeType, Standard_True);
-}
-
-//================================================================================
-// function : SubShapeAllSorted()
-// purpose  :
-//================================================================================
-
-GEOM::GEOM_Gen::ListOfGeomShapes* GEOM_Gen_i::SubShapesAll(GEOM::GEOM_Shape_ptr shape,
-                                                          const TopAbs_ShapeEnum ShapeType,
-                                                          const Standard_Boolean Sort)
-  throw (SALOME::SALOME_Exception)
-{
-  /* List of sub shapes returned */
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Gen::ListOfGeomShapes_var listOfGeomShapes = new GEOM::GEOM_Gen::ListOfGeomShapes;
-  listOfGeomShapes->length(0) ;
-  
-  TopoDS_Shape mainTopo = GetTopoShape(shape);
-  TopoDS_Shape mainShape;
-  bool main = false;
-  while ( !main ) {
-    if ( shape->IsMainShape() ) {
-      mainShape = GetTopoShape(shape);
-      main = true;
-    } else
-      shape = GetIORFromString( shape->MainName() );
-  }
-
-  if( mainTopo.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("In GEOM_Gen_i::SubShapeAll() : null main shape",
-                                SALOME::BAD_PARAM);
-  }
-  
-  /* List/index : field set for any sub shape */
-  GEOM::GEOM_Shape::ListOfSubShapeID_var ListOfID = new GEOM::GEOM_Shape::ListOfSubShapeID;
-  ListOfID->length(1) ;
-
-    // retrieve all subshapes
-  TopTools_MapOfShape mapShape;
-  TopTools_ListOfShape listShape;
-    
-  if (mainTopo.ShapeType()==TopAbs_COMPOUND  &&  ShapeType==TopAbs_SHAPE)
-  {
-    TopoDS_Iterator It(mainTopo,Standard_True,Standard_True );  
-    for ( ; It.More(); It.Next() ) 
-      if (mapShape.Add( It.Value() ))
-       listShape.Append( It.Value() );
-  }
-  else
-  {
-    TopExp_Explorer exp ( mainTopo, ShapeType);
-    for ( ; exp.More(); exp.Next() ) 
-      if (mapShape.Add( exp.Current() ))
-       listShape.Append( exp.Current() );
-  }
-
-  if (Sort)
-    SortShapes(listShape);
-    
-  /* Create all sub shapes */
-  int index;
-  GEOM::GEOM_Shape_var result;
-    
-  TopTools_ListIteratorOfListOfShape itSub (listShape);
-  for (index = 1; itSub.More(); itSub.Next(), ++index)
-  {
-    const TopoDS_Shape& SubShape = itSub.Value();
-    // check if SubShape is already in OCAFDS and ...
-    if ( TNaming_Tool::HasLabel( myCurrentOCAFDoc->Main(), SubShape ) )
-    {
-      int TransDef;
-      TDF_Label Lab = TNaming_Tool::Label( myCurrentOCAFDoc->Main(), SubShape, TransDef );
-      Handle(TDataStd_Name) Att;
-      if ( Lab.FindAttribute( TDataStd_Name::GetID(), Att ) )
-      {
-        TCollection_AsciiString nameIOR( Att->Get() );
-        result = GEOM::GEOM_Shape::_narrow(_orb->string_to_object( nameIOR.ToCString() ));
-       // ... it is subshape of <shape>
-        if ( strcmp( result->MainName(), _orb->object_to_string(shape) ) == 0 ) 
-        {
-          listOfGeomShapes->length(index) ;
-          listOfGeomShapes[index-1] = result ;
-         continue;
-        }
-      }
-    }
-
-//      if (Sort)
-//        ListOfID[0] = index;
-//      else
-    ListOfID[0] = GetIndexTopology( SubShape, mainShape ) ;
-    result = CreateSubObject( SubShape, shape, ListOfID);
-    /* Add each sub shape in the list returned */
-    listOfGeomShapes->length(index) ;
-    listOfGeomShapes[index-1] = result ;      
-  }
-
-  return listOfGeomShapes._retn() ;
-}
-
-//=================================================================================
-// function : MakeBoolean()
-// purpose  : Boolean operation according to the type 'operation'
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeBoolean(GEOM::GEOM_Shape_ptr shape1,
-                                            GEOM::GEOM_Shape_ptr shape2,
-                                            CORBA::Long operation) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape shape ;
-  TopoDS_Shape aShape1  ;
-  TopoDS_Shape aShape2  ;
-
-  try {
-    aShape1 = GetTopoShape(shape1) ;
-    aShape2 = GetTopoShape(shape2) ;
-    
-    if( aShape1.IsNull() || aShape2.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("Boolean aborted : argument shape is null", SALOME::BAD_PARAM);
-    }
-    
-    switch (operation)
-      {
-      case 1 :   /* Common */
-       shape = BRepAlgoAPI_Common(aShape1, aShape2).Shape();
-       break ;
-      case 2 :   /* Cut */
-       shape = BRepAlgoAPI_Cut(aShape1, aShape2).Shape();
-       break ;
-      case 3 :   /* Fuse */
-       shape = BRepAlgoAPI_Fuse(aShape1, aShape2).Shape();
-       break ;
-      case 4 :   /* Section */
-       shape = BRepAlgoAPI_Section(aShape1, aShape2).Shape();
-       break ;
-      default :
-       MESSAGE("Boolean operation not known : " << operation ) ;
-       return result ;
-      }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in boolean operation", SALOME::BAD_PARAM);
-  }
-    
-  /* We test the validity of resulting shape */
-  if( !IsValid(shape) ) {
-    THROW_SALOME_CORBA_EXCEPTION("Boolean aborted : non valid shape result", SALOME::BAD_PARAM);
-  }
-       
-  result = CreateObject(shape) ;
-      
-  /* put shape and name into geom/OCAF doc */
-  GEOMDS_Commands GC(myCurrentOCAFDoc->Main());
-  /* add attributs 'shape' and' name_io'r in a new label */
-  TDF_Label Lab = GC.Generated(aShape1, shape, result->Name() );
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab, entry);
-  result->ShapeId( entry.ToCString() ) ;
-      
-  /* Create a new label */
-  TDF_Label NewLab = Lab.NewChild();
-  TCollection_ExtendedString Value("Arguments");
-  TDataStd_Name::Set(NewLab,Value);
-  
-  TDF_Label NewLab1 = NewLab.NewChild();
-  TDF_Label RefLab;
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), shape1->ShapeId(), RefLab);
-  TDF_Reference::Set(NewLab1, RefLab);
-  
-  TDF_Label NewLab2 = NewLab.NewChild();
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), shape2->ShapeId(), RefLab);
-  TDF_Reference::Set(NewLab2, RefLab);
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeFuse()
-// purpose  : Special purpose !
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeFuse(GEOM::GEOM_Shape_ptr shape1,
-                                   GEOM::GEOM_Shape_ptr shape2)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape aShape1 = GetTopoShape(shape1) ;
-  TopoDS_Shape aShape2 = GetTopoShape(shape2) ;
-  if( aShape1.IsNull() || aShape2.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Fuse aborted : shape in argument is null", SALOME::BAD_PARAM);
-  }
-  TopoDS_Shape shape;
-  try {
-    shape  = BRepAlgoAPI_Fuse(aShape1, aShape2).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in Fuse operation", SALOME::BAD_PARAM);
-  }
-
-  /* We test the validity of resulting shape */
-  if( !IsValid(shape) ) {
-    THROW_SALOME_CORBA_EXCEPTION("Fuse aborted : non valid shape result", SALOME::BAD_PARAM);
-  }
-
-  result = CreateObject(shape) ;
-
-  /* put shape and name into geom/OCAF doc */
-  GEOMDS_Commands GC(myCurrentOCAFDoc->Main());
-  /* add attributs 'shape' and' name_io'r in a new label */
-  TDF_Label Lab = GC.Generated(aShape1, shape, result->Name() );
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab, entry);
-  result->ShapeId( entry.ToCString() ) ;
-
-  /* Create a new label */
-  TDF_Label NewLab = Lab.NewChild();
-  TCollection_ExtendedString Value("Arguments");
-  TDataStd_Name::Set(NewLab,Value);
-
-  TDF_Label NewLab1 = NewLab.NewChild();
-  TDF_Label RefLab;
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), shape1->ShapeId(), RefLab);
-  TDF_Reference::Set(NewLab1, RefLab);
-
-  TDF_Label NewLab2 = NewLab.NewChild();
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), shape2->ShapeId(), RefLab);
-  TDF_Reference::Set(NewLab2, RefLab);
-  return result ;
-}
-
-
-//================================================================================
-// function : MakeAxisStruct()
-// purpose  : Create a structure GEOM::AxisStruct (see IDL file)
-//================================================================================
-GEOM::AxisStruct GEOM_Gen_i::MakeAxisStruct(CORBA::Double x,
-                                     CORBA::Double y,
-                                     CORBA::Double z,
-                                     CORBA::Double vx,
-                                     CORBA::Double vy,
-                                     CORBA::Double vz) 
-{
-  GEOM::AxisStruct A ;
-  A.x  = x ;   A.y  = y ;   A.z  = z ;
-  A.vx = vx ;  A.vy = vy ;  A.vz = vz ;
-  return A ;
-}
-
-
-//================================================================================
-// function : MakePointStruct()
-// purpose  : Create a structure GEOM::PointStruct (see IDL file)
-//================================================================================
-GEOM::PointStruct GEOM_Gen_i::MakePointStruct(CORBA::Double x,
-                                       CORBA::Double y,
-                                       CORBA::Double z)
-{
-  beginService( "GEOM_Gen_i::MakePointStruct" );
-  GEOM::PointStruct p ;
-  p.x = x ;   p.y = y ;   p.z = z ;
-  endService( "GEOM_Gen_i::MakePointStruct" );
-  return p ;
-}
-
-//================================================================================
-// function : MakeDirection()
-// purpose  : Create a structure GEOM::DirStruct (see IDL file)
-//================================================================================
-GEOM::DirStruct GEOM_Gen_i::MakeDirection(const GEOM::PointStruct& p)
-{ 
-  GEOM::DirStruct d ;
-  d.PS.x = p.x ;  d.PS.y = p.y ;  d.PS.z = p.z ;
-  return d ;
-}
-
-//=================================================================================
-// function : MakeBox()
-// purpose  : Create a box topology.
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeBox(CORBA::Double x1,
-                                        CORBA::Double y1,
-                                        CORBA::Double z1,
-                                         CORBA::Double x2,
-                                         CORBA::Double y2,
-                                        CORBA::Double z2) 
-     throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  gp_Pnt P1(x1,y1,z1);
-  gp_Pnt P2(x2,y2,z2);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  try {
-    tds = BRepPrimAPI_MakeBox(P1,P2).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeBox", SALOME::BAD_PARAM);
-  }
-
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Box aborted : null shape", SALOME::BAD_PARAM);
-  } 
-
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry) ;
-  return result;  
-}
-
-
-//================================================================================
-// function : MakeCylinder
-// purpose  : Create a cylinder topology
-//================================================================================
-GEOM::GEOM_Shape_ptr  GEOM_Gen_i::MakeCylinder(const GEOM::PointStruct& pstruct,
-                                              const GEOM::DirStruct& dstruct,
-                                              CORBA::Double radius,
-                                              CORBA::Double height) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-  gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ;
-  gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-  gp_Ax2 axis(p, d) ;
-
-  try {
-    tds = BRepPrimAPI_MakeCylinder(axis, radius, height).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeCylinder", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Cylinder aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;  
-}
-
-//================================================================================
-// function : MakeSphere()
-// purpose  : Make a sphere topology
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSphere(CORBA::Double x1,
-                                     CORBA::Double y1,
-                                     CORBA::Double z1,
-                                     CORBA::Double radius) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  try {
-    tds = BRepPrimAPI_MakeSphere(gp_Pnt(x1,y1,z1), radius).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeSphere", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Sphere aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds) ;  
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result;  
-}
-
-//================================================================================
-// function : MakeTorus()
-// purpose  : Create a torus topology
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeTorus( const GEOM::PointStruct& pstruct,
-                                     const GEOM::DirStruct& dstruct,
-                                     CORBA::Double major_radius,
-                                     CORBA::Double minor_radius )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-  gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ;
-  gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-  gp_Ax2 axis(p, d) ;
-
-  try {
-  tds = BRepPrimAPI_MakeTorus(axis, major_radius, minor_radius).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeTorus", SALOME::BAD_PARAM);
-  }
-
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make torus aborted", SALOME::BAD_PARAM);
-  }
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;
-}
-
-
-//================================================================================
-// function : MakeCone()
-// purpose  : Create a cone topology
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCone(const GEOM::PointStruct& pstruct,
-                                   const GEOM::DirStruct& dstruct,
-                                   CORBA::Double radius1,
-                                   CORBA::Double radius2,
-                                   CORBA::Double height)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-  gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ;
-  gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-  gp_Ax2 axis(p, d) ;
-  
-  try {
-    /* Cone doesn't work if same radius */
-    if( fabs(radius1-radius2) <= Precision::Confusion() ) {
-      tds = BRepPrimAPI_MakeCylinder(axis, (radius1+radius2)/2.0, height).Shape();
-    }
-    else {
-      tds = BRepPrimAPI_MakeCone(axis, radius1, radius2, height).Shape();
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeCone", SALOME::BAD_PARAM);
-  }
-
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Cone aborted", SALOME::BAD_PARAM);
-  }
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;
-}
-
-
-
-//==================================================================================
-// function : ImportIGES()
-// purpose  : Import shape from an IGES (IGS) file
-//          : LPN modified 7 mai 2002
-//==================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::ImportIGES(const char* filename)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  //VRV: OCC 4.0 migration
-  IGESControl_Reader aReader;  
-  //VRV: OCC 4.0 migration
-  try {
-    IFSelect_ReturnStatus stat = aReader.ReadFile((char*)filename);
-    if ( stat != IFSelect_RetDone ) {
-      THROW_SALOME_CORBA_EXCEPTION("Error in reading import file", SALOME::BAD_PARAM);    }
-    
-    MESSAGE("ImportIGES : all Geometry Transfer" << endl ) ;
-#if OCC_VERSION_MAJOR >= 5
-    aReader.ClearShapes();
-    aReader.TransferRoots();
-#else
-    aReader.Clear();
-    aReader.TransferRoots(false);
-#endif
-    MESSAGE("ImportIGES : count of shapes produced = " << aReader.NbShapes() << endl );    
-    TopoDS_Shape shape = aReader.OneShape();
-
-    if ( !shape.IsNull() ) {      
-      /* Final CORBA object creation */
-      result = CreateObject(shape) ;
-      const char *entry = InsertInLabel( shape, result->Name(), myCurrentOCAFDoc ) ;
-      result->ShapeId(entry);
-      return result ;
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportIGES()", SALOME::BAD_PARAM);
-  } 
-  
-  THROW_SALOME_CORBA_EXCEPTION("Import IGES aborted : internal error", SALOME::BAD_PARAM);
-}
-
-
-
-//==================================================================================
-// function : ImportSTEP()
-// purpose  : Import shape from an STEP (stp) file
-//          : 'result' is a compound of shapes if file contains more entities.
-//==================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::ImportSTEP(const char* filename)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  //VRV: OCC 4.0 migration
-  STEPControl_Reader aReader;
-  //VRV: OCC 4.0 migration
-
-  TopoDS_Compound compound;
-  BRep_Builder B;
-  B.MakeCompound( compound );
-  
-  try {
-    IFSelect_ReturnStatus status = aReader.ReadFile((char*)filename);
-    
-    if (status == IFSelect_RetDone) {
-      Standard_Boolean failsonly = Standard_False ;
-      aReader.PrintCheckLoad (failsonly, IFSelect_ItemsByEntity);
-      /* Root transfers */
-      Standard_Integer nbr = aReader.NbRootsForTransfer();
-      aReader.PrintCheckTransfer (failsonly, IFSelect_ItemsByEntity);
-      
-      for ( Standard_Integer n=1; n <= nbr; n++) {
-       
-       Standard_Boolean ok = aReader.TransferRoot(n);
-       /* Collecting resulting entities */
-       Standard_Integer nbs = aReader.NbShapes();
-       if (nbs == 0)
-         THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM) ;      
-       
-       for ( Standard_Integer i=1; i<=nbs; i++ ) {       
-         TopoDS_Shape aShape = aReader.Shape(i);
-         if ( aShape.IsNull() )
-           THROW_SALOME_CORBA_EXCEPTION("Null shape in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM) ;   
-         
-         /* For a single entity */
-         if(nbr == 1 && nbs == 1) {      
-           result = CreateObject(aShape) ;
-           const char *entry = InsertInLabel(aShape, result->Name(), myCurrentOCAFDoc) ;
-           result->ShapeId(entry);
-           return result ;
-         }
-         else {
-           B.Add( compound, aShape ) ;
-         }
-       }
-      }
-
-     TopoDS_Shape tds = compound ; 
-     result = CreateObject(tds) ;
-     if( CORBA::is_nil(result) )
-       THROW_SALOME_CORBA_EXCEPTION("Translation aborted : null result", SALOME::BAD_PARAM);
-     const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-     result->ShapeId(entry);
-     return result ;
-    }
-    
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM);
-  }  
-  return result ;
-}
-
-
-//==================================================================================
-// function : Partition()
-// purpose  :
-//==================================================================================
-
-GEOM::GEOM_Shape_ptr
-  GEOM_Gen_i::Partition(const GEOM::GEOM_Gen::ListOfIOR& ListShapes, 
-                        const GEOM::GEOM_Gen::ListOfIOR& ListTools,
-                        const GEOM::GEOM_Gen::ListOfIOR& ListKeepInside,
-                        const GEOM::GEOM_Gen::ListOfIOR& ListRemoveInside,
-                        const CORBA::Short               Limit)
-throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var aResult;  
-  TopoDS_Shape tds ;
-  //MESSAGE ("In Partition");
-  try {
-
-    unsigned int ind, nbshapes = 0;
-    nbshapes += ListShapes.length() + ListTools.length();
-    nbshapes += ListKeepInside.length() + ListRemoveInside.length();
-    
-    Partition_Spliter PS;
-    TopTools_MapOfShape ShapesMap(nbshapes), ToolsMap(nbshapes);
-    
-    // add object shapes that are in ListShapes;
-    for ( ind = 0; ind < ListShapes.length(); ind++) {
-      
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      if(Shape.IsNull() ) {
-        //MESSAGE ( "In Partition a shape is null" );
-       THROW_SALOME_CORBA_EXCEPTION("In Partition a shape is null", SALOME::BAD_PARAM);
-      }
-      if ( ShapesMap.Add( Shape ))
-        PS.AddShape(Shape);
-    }
-    
-    // add tool shapes that are in ListTools and not in ListShapes;
-    for (ind = 0; ind < ListTools.length(); ind++) {
-      
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListTools[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      if(Shape.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("In Partition a shape is null", SALOME::BAD_PARAM);
-      }
-      if ( !ShapesMap.Contains( Shape ) && ToolsMap.Add( Shape ))
-        PS.AddTool(Shape);
-    }
-    
-    // add shapes that are in ListKeepInside, as object shapes;
-    for (ind = 0; ind < ListKeepInside.length(); ind++) {
-      
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListKeepInside[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      if(Shape.IsNull() ) {
-        //MESSAGE ( "In Partition a Keep Inside shape is null" );
-       THROW_SALOME_CORBA_EXCEPTION("In Partition a shape is null", SALOME::BAD_PARAM);
-      }
-      if (!ToolsMap.Contains( Shape ) &&
-          ShapesMap.Add( Shape ))
-        PS.AddShape(Shape);
-    }
-    
-    // add shapes that are in ListRemoveInside, as object shapes;
-    for (ind = 0; ind < ListRemoveInside.length(); ind++) {
-      
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListRemoveInside[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      if(Shape.IsNull() ) {
-        //MESSAGE ( "In Partition a Remove Inside shape is null" );
-       THROW_SALOME_CORBA_EXCEPTION("In Partition a shape is null", SALOME::BAD_PARAM);
-      }
-      if (!ToolsMap.Contains( Shape ) &&
-          ShapesMap.Add( Shape ) )
-        PS.AddShape(Shape);
-    }
-    
-    //MESSAGE ( "Partition::Compute() " );
-    PS.Compute ((TopAbs_ShapeEnum) Limit);
-    //MESSAGE ( "Partition::Compute() - END" );
-
-    // suppress result outside of shapes in KInsideMap
-    for (ind = 0; ind < ListKeepInside.length(); ind++) {
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListKeepInside[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      PS.KeepShapesInside( Shape );
-    }
-    
-    // suppress result inside of shapes in RInsideMap
-    for (ind = 0; ind < ListRemoveInside.length(); ind++) {
-      
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListRemoveInside[ind] );
-      TopoDS_Shape Shape = GetTopoShape(aShape);
-      PS.RemoveShapesInside( Shape );
-    }
-    
-    tds = PS.Shape();
-    
-    if( !IsValid(tds) ) {
-      //MESSAGE ( "In Partition: non valid shape result" );
-      THROW_SALOME_CORBA_EXCEPTION("Partition aborted : non valid shape result", SALOME::BAD_PARAM);
-    }
-  }
-  catch (Standard_Failure) {
-    //MESSAGE ( "In Partition: Exception catched in GEOM_Gen_i::Partition()" );
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::Partition", SALOME::BAD_PARAM);
-  }
-  
-  aResult = CreateObject(tds) ;
-
-  /* add attributs S and mystr in a new label */
-  GEOMDS_Commands GC(myCurrentOCAFDoc->Main());
-  TDF_Label Lab = GC.AddShape(tds, aResult->Name() );
-  TCollection_AsciiString entry;
-  TDF_Tool::Entry(Lab,entry);
-  aResult->ShapeId( entry.ToCString() ) ;
-  
-  // add arguments
-  
-  /* Create a new label */
-  TDF_Label NewLab = Lab.NewChild();
-  TCollection_ExtendedString Value("Arguments");
-  TDataStd_Name::Set(NewLab,Value);
-
-  // object shapes
-  for (unsigned int ind = 0; ind < ListShapes.length(); ind++) {
-    TDF_Label NewLab1 = NewLab.NewChild();
-    
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[ind] );
-    Standard_CString anEntry = aShape->ShapeId();
-    TDF_Label RefLab;
-    TDF_Tool::Label(myCurrentOCAFDoc->GetData(), anEntry, RefLab);
-    TDF_Reference::Set(NewLab1,RefLab);
-  }
-  // tool shapes
-  for (unsigned int ind = 0; ind < ListTools.length(); ind++) {
-    TDF_Label NewLab1 = NewLab.NewChild();
-    
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListTools[ind] );
-    Standard_CString anEntry = aShape->ShapeId();
-    TDF_Label RefLab;
-    TDF_Tool::Label(myCurrentOCAFDoc->GetData(), anEntry, RefLab);
-    TDF_Reference::Set(NewLab1,RefLab);
-  }
-  // limit shapes 1
-  for (unsigned int ind = 0; ind < ListKeepInside.length(); ind++) {
-    TDF_Label NewLab1 = NewLab.NewChild();
-    
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListKeepInside[ind] );
-    Standard_CString anEntry = aShape->ShapeId();
-    TDF_Label RefLab;
-    TDF_Tool::Label(myCurrentOCAFDoc->GetData(), anEntry, RefLab);
-    TDF_Reference::Set(NewLab1,RefLab);
-  }
-  // limit shapes 2
-  for (unsigned int ind = 0; ind < ListRemoveInside.length(); ind++) {
-    TDF_Label NewLab1 = NewLab.NewChild();
-    
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListRemoveInside[ind] );
-    Standard_CString anEntry = aShape->ShapeId();
-    TDF_Label RefLab;
-    TDF_Tool::Label(myCurrentOCAFDoc->GetData(), anEntry, RefLab);
-    TDF_Reference::Set(NewLab1,RefLab);
-  }
-  
-  return aResult;    
-}
-
-
-
-//==================================================================================
-// function : MakeFilling()
-// purpose  : Create a surface from section curves filling
-//==================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeFilling(GEOM::GEOM_Shape_ptr myShape,
-                                      CORBA::Short mindeg,
-                                      CORBA::Short maxdeg,
-                                      CORBA::Double tol3d,
-                                      CORBA::Double tol2d,
-                                      CORBA::Short nbiter)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Face tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() || aShape.ShapeType() != TopAbs_COMPOUND ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeFilling aborted : null shape or not a compound", SALOME::BAD_PARAM);
-  } 
-
-  try {
-    /* we verify the contents of the shape */
-    TopExp_Explorer Ex ;
-    TopoDS_Shape Scurrent ;    
-    Standard_Real First, Last ;
-    Handle(Geom_Curve) C ;
-    GeomFill_SectionGenerator Section ;
-    
-    Standard_Integer i = 0 ;
-    for(Ex.Init(aShape, TopAbs_EDGE); Ex.More(); Ex.Next()) {
-      Scurrent = Ex.Current() ;
-      if( Scurrent.IsNull() || Scurrent.ShapeType() != TopAbs_EDGE)  {
-       THROW_SALOME_CORBA_EXCEPTION("Initial shape doesn't contain only edges !", SALOME::BAD_PARAM);
-      }
-      C = BRep_Tool::Curve(TopoDS::Edge(Scurrent), First, Last);
-      if (C.IsNull()) continue;
-      C = new Geom_TrimmedCurve(C, First, Last);
-      Section.AddCurve(C) ;
-      i++ ;
-    }
-    
-    /* a 'tolerance' is used to compare 2 knots : see GeomFill_Generator.cdl */
-    /* We set 'tolerance' = tol3d                                            */
-    // Section.Perform( tol3d ) ; NRI */
-    Section.Perform( Precision::Confusion() ) ;
-    Handle(GeomFill_Line) Line = new GeomFill_Line(i) ;
-    
-    GeomFill_AppSurf App(mindeg, maxdeg, tol3d, tol2d, nbiter) ; /* user parameters */
-    App.Perform(Line, Section) ;
-    
-    if (!App.IsDone()) {
-      THROW_SALOME_CORBA_EXCEPTION("Filling aborted : non valid shape result", SALOME::BAD_PARAM);
-    }
-    Standard_Integer UDegree, VDegree, NbUPoles, NbVPoles, NbUKnots, NbVKnots;
-    App.SurfShape(UDegree, VDegree, NbUPoles, NbVPoles, NbUKnots, NbVKnots);   
-    Handle(Geom_BSplineSurface) GBS = new Geom_BSplineSurface(App.SurfPoles(),
-                                                             App.SurfWeights(),
-                                                             App.SurfUKnots(),
-                                                             App.SurfVKnots(),
-                                                             App.SurfUMults(),
-                                                             App.SurfVMults(),
-                                                             App.UDegree(),
-                                                             App.VDegree());
-    
-    if( GBS.IsNull() )  {
-      THROW_SALOME_CORBA_EXCEPTION("Make Filling aborted", SALOME::BAD_PARAM);
-    }
-    tds  = BRepBuilderAPI_MakeFace(GBS) ;    
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeFilling", SALOME::BAD_PARAM);
-  } 
-  
-  /* We test the validity of resulting shape */
-  if( !IsValid(tds) ) {
-    THROW_SALOME_CORBA_EXCEPTION("Filling aborted : non valid shape result", SALOME::BAD_PARAM);
-  } 
-  else {
-    result = CreateObject(tds) ;
-    InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeGlueFaces()
-// purpose  :
-//=================================================================================
-
-TopoDS_Face GEOM_Gen_i::FindSameFace(const TopoDS_Shape& aShape, 
-                                    const TopoDS_Face& F,
-                                    double tol3d)
-{
-  TopoDS_Face aFace;
-  bool isSame = false;
-  for (TopExp_Explorer exf(aShape,TopAbs_FACE); exf.More(); exf.Next())
-    {
-      //MESSAGE("--- test a face");
-      int nbFound = 0;
-      aFace = TopoDS::Face(exf.Current());
-      TopTools_ListOfShape liste1;
-      TopTools_ListOfShape liste2;
-      for (TopExp_Explorer exp(aFace,TopAbs_VERTEX); exp.More(); exp.Next())
-       {
-         const TopoDS_Vertex& V = TopoDS::Vertex(exp.Current());
-         liste1.Append(V);
-       }
-      for (TopExp_Explorer exp(F,TopAbs_VERTEX); exp.More(); exp.Next())
-       {
-         const TopoDS_Vertex& V = TopoDS::Vertex(exp.Current());
-         liste2.Append(V);
-       }
-      isSame = false;
-      if (liste1.Extent() == liste2.Extent())
-       {
-         TopTools_ListIteratorOfListOfShape it1(liste1);
-         isSame = true;
-         for (; it1.More(); it1.Next())
-           {
-             bool foundSamePoint = false;
-             gp_Pnt P1 = BRep_Tool::Pnt(TopoDS::Vertex(it1.Value()));
-             TopTools_ListIteratorOfListOfShape it2(liste2);
-             for (it2; it2.More(); it2.Next())
-               {
-                 gp_Pnt P2 = BRep_Tool::Pnt(TopoDS::Vertex(it2.Value()));
-                 double d = P1.Distance(P2);
-                 if (d < tol3d)
-                   {
-                     nbFound++;
-                     //MESSAGE("    found Same Point : "<<nbFound<<" - "<<P1.X()<<" "<<P1.Y()<<" "<<P1.Z());
-                     foundSamePoint = true;
-                     break;
-                   }
-               }
-             isSame = isSame && foundSamePoint;
-             if (! isSame) break; // a vertex does not correspond : not same face
-           }
-       }
-      if (isSame)
-       {
-         //MESSAGE("    --- Found Same Face");
-         break; // a face corresponding to F is found
-       }
-    }
-  if (! isSame) aFace.Nullify(); // return null face
-  return aFace;
-}
-
-TopoDS_Edge GEOM_Gen_i::FindSameEdge(const TopoDS_Face& nf, 
-                                    TopoDS_Edge& Eold,
-                                    double tol3d)
-{
-  TopoDS_Face newFace = TopoDS::Face(nf.Oriented(TopAbs_REVERSED));
-  TopoDS_Vertex VFirst, VLast;
-  TopExp::Vertices(Eold, VFirst, VLast);
-  gp_Pnt Pf = BRep_Tool::Pnt(VFirst);
-  gp_Pnt Pl = BRep_Tool::Pnt(VLast);
-  TopoDS_Edge Enew;
-  for (TopExp_Explorer ee(newFace,TopAbs_EDGE); ee.More(); ee.Next())
-    {
-      const TopoDS_Edge& E = TopoDS::Edge(ee.Current());
-      TopoDS_Vertex VFn, VLn;
-      TopExp::Vertices(E, VFn, VLn);
-      gp_Pnt Pfn = BRep_Tool::Pnt(VFn);
-      gp_Pnt Pln = BRep_Tool::Pnt(VLn);
-      double dff = Pf.Distance(Pfn);
-      double dfl = Pf.Distance(Pln);
-      double dlf = Pl.Distance(Pfn);
-      double dll = Pl.Distance(Pln);
-      if ((dff < tol3d) && (dll <tol3d))
-       {
-         //MESSAGE("--- edge forward " <<Pf.X()<<" "<<Pf.Y()<<" "<<Pf.Z()<<" "<<Pl.X()<<" "<<Pl.Y()<<" "<<Pl.Z());
-         Enew = TopoDS::Edge(E.Oriented(TopAbs_FORWARD));
-         Eold = TopoDS::Edge(Eold.Oriented(TopAbs_FORWARD));
-         break;
-       } 
-      if ((dfl < tol3d) && (dlf <tol3d))
-       {
-         //MESSAGE("--- edge reversed " <<Pf.X()<<" "<<Pf.Y()<<" "<<Pf.Z()<<" "<<Pl.X()<<" "<<Pl.Y()<<" "<<Pl.Z());
-         Enew = TopoDS::Edge(E.Oriented(TopAbs_REVERSED));
-         Eold = TopoDS::Edge(Eold.Oriented(TopAbs_FORWARD));
-         break;
-       } 
-    }
-  return Enew;
-}
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeGlueFaces(GEOM::GEOM_Shape_ptr myShape,
-                                              double tol3d)
-  throw (SALOME::SALOME_Exception)
-{
-
-  // prendre un premier shell dans la liste des shells
-  // initialiser un compshell avec ce shell
-  // tant qu'il reste des shells dans la liste
-  //   chercher un shell qui a des faces en  commun avec le compshell
-  //   creer un BRepTools_Quilt
-  //   recenser les faces communes issues du compshell, les ajouter au quilt 
-  //   recenser les faces restantes du shell a inclure, les ajouter au quilt
-  //   recenser les edges en double, a remplacer
-  //   pour chaque paire d'edge
-  //     tester l'orientation relative des aretes
-  //     bind dans le quilt de Eold.Forward et Enew.Forward (ou reverse)
-  //   recuperer le nouveau shell
-  // l'incorporer dans le compshell
-  // appliquer BRepTools_SameParameter au compshell
-  // (rendre parametres 2D des edges identiques aux parametres 3D)
-
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  TopoDS_Compound C;
-  BRep_Builder bu;
-  bu.MakeCompound(C); // empty compound;
-  TopTools_ListOfShape shellList;
-  for (TopExp_Explorer exp(aShape,TopAbs_SHELL); exp.More(); exp.Next())
-    {
-      const TopoDS_Shell& S = TopoDS::Shell(exp.Current());
-      shellList.Append(S);
-    }
-  TopTools_ListIteratorOfListOfShape its(shellList);
-  if ( ! its.More())
-    {
-      THROW_SALOME_CORBA_EXCEPTION("glue aborted : no shell in shape", SALOME::BAD_PARAM);
-    }
-  TopoDS_Shell S = TopoDS::Shell(its.Value());
-  bu.Add(C, S); // add first shell to compound
-  shellList.Remove(its);
-  its.Initialize(shellList);
-  bool shellAdded = true;
-  while ((shellList.Extent() > 0) && shellAdded)
-    {
-      //MESSAGE("more shells : "<< shellList.Extent());
-      shellAdded = false;
-      its.Initialize(shellList);
-      for(; its.More(); its.Next())
-       {
-         //MESSAGE("one more shell to try");
-         TopTools_ListOfShape newFaces; // common faces from new compound
-         TopTools_ListOfShape oldFaces; // common faces from shell to add
-         TopTools_ListOfShape addFaces; // not common faces from shell to add
-         TopTools_ListOfShape newEdges; // common edges from new compound
-         TopTools_ListOfShape oldEdges; // common edges from face to add
-         TopoDS_Compound CFN;
-         TopoDS_Compound CFO;
-         bu.MakeCompound(CFN);       // empty compound for new faces
-         bu.MakeCompound(CFO);       // empty compound for old faces
-         S = TopoDS::Shell(its.Value());
-         for (TopExp_Explorer exp(S,TopAbs_FACE); exp.More(); exp.Next())
-           {
-             //MESSAGE("--- try to find corresponding face in new compound");
-             TopoDS_Face F = TopoDS::Face(exp.Current());
-             TopoDS_Face newFace = FindSameFace(C,F,tol3d);
-             if (! newFace.IsNull())
-               {
-                 //MESSAGE("--- face found");
-                 newFaces.Append(newFace); 
-                 bu.Add(CFN, newFace); // common faces from new compound
-                 oldFaces.Append(F);
-                 for (TopExp_Explorer ee(F,TopAbs_EDGE);ee.More();ee.Next())
-                   {
-                     //MESSAGE("--- find edge pair");
-                     TopoDS_Edge Eold = TopoDS::Edge(ee.Current());
-                     const TopoDS_Edge& Enew = FindSameEdge(newFace, Eold, tol3d);
-                     oldEdges.Append(Eold);
-                     newEdges.Append(Enew);
-                   }
-               }
-             else
-               {
-                 //MESSAGE("---");
-                 addFaces.Append(F);
-                 bu.Add(CFO, F); // not common faces from shell to add
-               }
-           }
-         if ( !newFaces.IsEmpty())
-           {
-             //MESSAGE("--- some faces found ---");
-             shellAdded = true;
-             BRepTools_Quilt glue;
-             glue.Add(CFN);
-             TopTools_ListIteratorOfListOfShape ito(oldEdges);
-             TopTools_ListIteratorOfListOfShape itn(newEdges);
-             for (; ito.More(); ito.Next())
-               {                 
-                 //MESSAGE("--- bind");
-                 glue.Bind(TopoDS::Edge(ito.Value()), TopoDS::Edge(itn.Value()));
-                 itn.Next();
-               }
-             glue.Add(CFO);
-             TopoDS_Compound newc = TopoDS::Compound(glue.Shells());
-             for (TopExp_Explorer exs(newc,TopAbs_SHELL); exs.More(); exs.Next())
-               {
-                 TopoDS_Shell NS = TopoDS::Shell(exs.Current());
-                 bu.Add(C, NS);
-               }
-             shellList.Remove(its);
-             //MESSAGE("--- remove shell from list");
-             break;
-           }
-       }
-    }
-  //MESSAGE("---" << shellList.Extent() << " " << shellAdded);
-
-  TopExp_Explorer  exp(C,TopAbs_SHELL);
-  Standard_Integer ish=0;
-  TopoDS_Compound  Res;
-  TopoDS_Solid     Sol;
-  BRep_Builder     B;
-  B.MakeCompound(Res);
-  TopoDS_Shape theShape;
-
-  for (; exp.More(); exp.Next())
-    {
-      TopoDS_Shape Sh = exp.Current();
-      B.MakeSolid(Sol);
-      B.Add(Sol,Sh);
-      BRepClass3d_SolidClassifier SC(Sol);
-      SC.PerformInfinitePoint(1.E-6); // cf. BRepFill_Confusion() - BRepFill_Evolved.cxx
-      if (SC.State() == TopAbs_IN)
-       {
-         B.MakeSolid(Sol);
-         B.Add(Sol,Sh.Reversed());
-       }
-      B.Add(Res,Sol);
-      ish++;
-    }
-  if (ish == 1) { theShape = Sol;}
-  else          { theShape = Res;}
-
-  BRepLib::SameParameter(theShape, 1.E-5, Standard_True);
-  tds = theShape;
-  result = CreateObject(tds);    
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  //MESSAGE("---");
-  return result;
-}
-
-//=================================================================================
-// function : MakeSewing()
-// purpose  :
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSewing( const GEOM::GEOM_Gen::ListOfIOR& ListShapes,
-                                      CORBA::Double precision )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  BRepOffsetAPI_Sewing aMethod ;
-
-  try {
-    /* default OCC is 1.0e-06 */
-    aMethod.Init(precision, Standard_False);  
-    for ( unsigned int i = 0; i < ListShapes.length(); i++) {
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[i] ); 
-      TopoDS_Shape Shape = GetTopoShape(aShape) ;
-      if( Shape.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("MakeSewing aborted : null shape during operation", SALOME::BAD_PARAM);
-      } 
-      aMethod.Add(Shape) ;  
-    }  
-    
-    aMethod.Perform() ;
-    tds = aMethod.SewedShape() ;
-    if( !IsValid(tds) ) {
-      THROW_SALOME_CORBA_EXCEPTION("Make Sewing aborted : non valid shape", SALOME::BAD_PARAM);
-    }
-    if( tds.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("Make Sewing aborted : null shape", SALOME::BAD_PARAM);
-    }
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeSewing", SALOME::BAD_PARAM);
-  }
-  
-  result = CreateObject(tds);
-  InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
-  return result;
-}
-
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSewingShape( GEOM::GEOM_Shape_ptr aShape,
-                                           CORBA::Double precision )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds, S ;
-  BRepOffsetAPI_Sewing aMethod ;
-
-  try {
-    S = GetTopoShape(aShape) ;
-    if(S.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("In Sewing a Shape is null", SALOME::BAD_PARAM);
-    }
-
-    /* default OCC is 1.0e-06 */
-    aMethod.Init(precision, Standard_False);  
-    for ( TopExp_Explorer exp( S, TopAbs_FACE); exp.More(); exp.Next() ) {
-      const TopoDS_Face& F = TopoDS::Face(exp.Current());
-      aMethod.Add(F) ;  
-    }  
-    
-    aMethod.Perform() ;
-    tds = aMethod.SewedShape() ;
-    if( !IsValid(tds) ) {
-      THROW_SALOME_CORBA_EXCEPTION("Make Sewing aborted : non valid shape", SALOME::BAD_PARAM);
-    }
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeSewing", SALOME::BAD_PARAM);
-  }
-  
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry) ;
-  return result;
-}
-
-//==================================================================================
-// function : OrientationChange()
-// purpose  : Change the orientation of a new shape
-//          : TopAbs_FORWARD < -- > TopAbs_REVERSED
-//
-//          : WARNING : for the moment we make a new shape !
-//==================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::OrientationChange(GEOM::GEOM_Shape_ptr aShape)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;  
-  BRep_Builder aBuilder;  
-
-  TopoDS_Shape shape = GetTopoShape(aShape) ;
-  if( shape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Shape is null", SALOME::BAD_PARAM);
-  }
-
-  BRepBuilderAPI_Copy Copy(shape);
-  if( Copy.IsDone() ) {
-    TopoDS_Shape tds = Copy.Shape();
-    if( tds.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("Orientation aborted : null shape", SALOME::BAD_PARAM);
-    } 
-  
-    if( tds.Orientation() == TopAbs_FORWARD)
-      tds.Orientation(TopAbs_REVERSED) ;
-    else
-      tds.Orientation(TopAbs_FORWARD) ;
-    
-    result = CreateObject(tds); 
-    InsertInLabelOneArgument(shape, aShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//==================================================================================
-// function : GetReferencedObjects()
-// purpose  :
-//==================================================================================
-GEOM::GEOM_Gen::ListOfIOR* GEOM_Gen_i::GetReferencedObjects(GEOM::GEOM_Shape_ptr shape)
-{
-  GEOM::GEOM_Gen::ListOfIOR_var aList = new GEOM::GEOM_Gen::ListOfIOR;
-  aList->length(0);
-
-  if (shape->_is_nil()) return aList._retn();
-
-  Standard_CString entry = shape->ShapeId();
-  TDF_Label Lab;
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), entry, Lab);
-
-  Handle(TDataStd_Name) Att;
-  Lab.FindAttribute(TDataStd_Name::GetID(),Att);
-
-  TDF_ChildIterator ChildIterator(Lab);
-  if (ChildIterator.More()) {
-    TDF_Label L = ChildIterator.Value();
-    Handle(TDataStd_Name) Att;
-    L.FindAttribute(TDataStd_Name::GetID(),Att);
-    if (Att->Get().IsEqual(TCollection_ExtendedString("Arguments")) ) {
-
-      TDF_ChildIterator ChildIterator1(L);
-      unsigned int i = 0;
-
-      while (ChildIterator1.More()) {
-       TDF_Label L = ChildIterator1.Value();
-
-       Handle(TDF_Reference) Ref;
-       if (L.FindAttribute(TDF_Reference::GetID(),Ref)) {
-         i++;
-       }
-       ChildIterator1.Next();
-      }
-      aList->length(i);
-      i = 0;
-      TDF_ChildIterator ChildIterator2(L);
-      while (ChildIterator2.More()) {    
-       TDF_Label L = ChildIterator2.Value();
-       Handle(TDF_Reference) Ref;
-       if (L.FindAttribute(TDF_Reference::GetID(),Ref)) {
-         TDF_Label L = Ref->Get();
-         
-         Handle(TDataStd_Name) Att;
-         L.FindAttribute(TDataStd_Name::GetID(),Att);
-         TCollection_AsciiString nameIOR (Att->Get()) ;
-         aList[i] = CORBA::string_dup( nameIOR.ToCString() );
-         i++;
-       }
-   
-       ChildIterator2.Next();
-      }
-    }
-  }
-  return aList._retn();
-}
-
-//==================================================================================
-// function : GetObjects()
-// purpose  :
-//==================================================================================
-GEOM::GEOM_Gen::ListOfIOR* GEOM_Gen_i::GetObjects(GEOM::GEOM_Shape_ptr shape)
-{
-  GEOM::GEOM_Gen::ListOfIOR_var aList = new GEOM::GEOM_Gen::ListOfIOR;
-  aList->length(0);
-  
-  Standard_CString entry = shape->ShapeId();
-  TDF_Label Lab;
-  TDF_Tool::Label(myCurrentOCAFDoc->GetData(), entry, Lab);
-  
-  Handle(TDataStd_Name) Att;
-  Lab.FindAttribute(TDataStd_Name::GetID(),Att);
-
-  TDF_ChildIterator ChildIterator(Lab);
-  unsigned int i = 0;
-  while (ChildIterator.More()) {
-    TDF_Label L = ChildIterator.Value();
-    Handle(TDataStd_Name) Att;
-    L.FindAttribute(TDataStd_Name::GetID(),Att);
-
-    if (!Att->Get().IsEqual(TCollection_ExtendedString("Arguments")) ) {
-      i++;
-    }
-    ChildIterator.Next();
-  }
-
-  aList->length(i);
-  i = 0;
-  TDF_ChildIterator ChildIterator1(Lab);
-  while (ChildIterator1.More()) {
-    TDF_Label L = ChildIterator1.Value();
-    Handle(TDataStd_Name) Att;
-    L.FindAttribute(TDataStd_Name::GetID(),Att);
-
-    if (!Att->Get().IsEqual(TCollection_ExtendedString("Arguments")) ) {
-      TCollection_AsciiString nameIOR (Att->Get());
-      aList[i] = CORBA::string_dup( nameIOR.ToCString() );
-      i++;
-    }
-    ChildIterator1.Next();
-  }
-  return aList._retn();
-}
-
-
-//==================================================================================
-// function : Import
-// purpose  : Import shape from a BREP file
-//==================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::ImportBREP(const char* filename)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  TopoDS_Shape tds ;
-  GEOM::GEOM_Shape_var result ;
-  
-  try {
-    BRep_Builder aBuilder;
-    char* aCopyfilename = strdup(filename);
-    BRepTools::Read(tds, aCopyfilename, aBuilder) ;
-    free(aCopyfilename);
-    if (tds.IsNull()) {
-      THROW_SALOME_CORBA_EXCEPTION("Import BRep aborted", SALOME::BAD_PARAM);
-    } 
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportBREP", SALOME::BAD_PARAM);
-  }
-
-  result = CreateObject(tds) ;
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result; 
-}
-
-
-//================================================================================
-// function : MakePlane()
-// purpose  : Make a plane topology (non infinite)
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePlane(const GEOM::PointStruct& pstruct,
-                                    const GEOM::DirStruct& dstruct,
-                                    CORBA::Double trimsize) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-
-  try {
-    gp_Pnt aPoint(pstruct.x, pstruct.y, pstruct.z) ;
-    gp_Dir aDirection(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-    /*  we make a trimmed plane */
-    gp_Pln gplane(aPoint, aDirection) ;    
-    tds = BRepBuilderAPI_MakeFace(gplane, -trimsize, +trimsize, -trimsize, +trimsize) ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakePlane", SALOME::BAD_PARAM);
-  }
-
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Plane aborted : null shape", SALOME::BAD_PARAM);
-   } 
-  
-  result = CreateObject(tds) ;
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;
-}
-
-//=================================================================================
-// function : MakeVertex()
-// purpose  : Create a Vertex topology.
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeVertex(CORBA::Double x,
-                                     CORBA::Double y,
-                                     CORBA::Double z) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ; 
-  gp_Pnt P(x,y,z);
-  TopoDS_Shape tds = BRepBuilderAPI_MakeVertex(P).Shape();
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Vertex/Point aborted", SALOME::BAD_PARAM);
-  }
-  tds.Infinite(true);
-  result = CreateObject(tds) ;
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeFace()
-// purpose  : 
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeFace( GEOM::GEOM_Shape_ptr wire,
-                                    CORBA::Boolean wantplanarface ) 
-  throw (SALOME::SALOME_Exception) 
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape aShape;
-  TopoDS_Shape tds;
-
-  try {
-    aShape = GetTopoShape(wire) ;
-    if( aShape.IsNull() || aShape.ShapeType() != TopAbs_WIRE ) {
-      THROW_SALOME_CORBA_EXCEPTION("MakeFace aborted : null or inappropriate shape", SALOME::BAD_PARAM);
-    }
-    TopoDS_Wire W = TopoDS::Wire(aShape) ;
-    tds = BRepBuilderAPI_MakeFace(W, wantplanarface).Shape() ;
-    if( !tds.IsNull() ) {
-      result = CreateObject(tds) ;
-      InsertInLabelOneArgument(aShape, wire, tds, result, myCurrentOCAFDoc) ;
-    }
-    else {
-      THROW_SALOME_CORBA_EXCEPTION("Null result in GEOM_Gen_i::MakeFace", SALOME::BAD_PARAM);
-    }
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeFace", SALOME::BAD_PARAM);
-  }  
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeFaces()
-// purpose  : 
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeFaces(const GEOM::GEOM_Gen::ListOfIOR& ListShapes,
-                                         CORBA::Boolean wantplanarface) 
-  throw (SALOME::SALOME_Exception) 
-{
-  GEOM::GEOM_Shape_var result;
-
-  try {
-    GEOM::GEOM_Shape_var aShape = GetIORFromString(ListShapes[0]);    
-    TopoDS_Shape Shape = GetTopoShape(aShape);
-    if(Shape.IsNull() || Shape.ShapeType() != TopAbs_WIRE) {
-      THROW_SALOME_CORBA_EXCEPTION("Shell aborted : null shape during operation", SALOME::BAD_PARAM);
-    }
-    TopoDS_Wire W = TopoDS::Wire(Shape);
-    TopoDS_Shape FFace = BRepBuilderAPI_MakeFace(W, wantplanarface).Shape();
-    if(!FFace.IsNull()) {
-      if(ListShapes.length() == 1) {
-       result = CreateObject(FFace);
-       InsertInLabelMoreArguments(FFace, result, ListShapes, myCurrentOCAFDoc);
-      }
-      else if(ListShapes.length() >= 2) {
-       TopoDS_Compound C;
-       BRep_Builder aBuilder;
-       aBuilder.MakeCompound(C);
-       BRepAlgo_FaceRestrictor FR;
-
-       TopAbs_Orientation OriF = FFace.Orientation();
-       TopoDS_Shape aLocalS = FFace.Oriented(TopAbs_FORWARD);
-       FR.Init(TopoDS::Face(aLocalS), Standard_False, Standard_True);
-
-       for(unsigned int i = 0; i < ListShapes.length(); i++) {
-         GEOM::GEOM_Shape_var aShape = GetIORFromString(ListShapes[i]);    
-         TopoDS_Shape Shape = GetTopoShape(aShape);
-         if(Shape.IsNull()) {
-           THROW_SALOME_CORBA_EXCEPTION("Shell aborted : null shape during operation", SALOME::BAD_PARAM);
-         }
-         FR.Add(TopoDS::Wire(Shape));
-       }
-
-       FR.Perform();
-    
-       if(FR.IsDone()) {
-         int k = 0;
-         TopoDS_Shape aFace;
-         for(; FR.More(); FR.Next()) {
-           aFace = FR.Current().Oriented(OriF);
-           aBuilder.Add(C, aFace);
-           k++;
-         }
-         if(k == 1) {
-           result = CreateObject(aFace);
-           InsertInLabelMoreArguments(aFace, result, ListShapes, myCurrentOCAFDoc);
-         }
-         else {
-           result = CreateObject(C);
-           InsertInLabelMoreArguments(C, result, ListShapes, myCurrentOCAFDoc);
-         }
-       }
-      }
-    }
-    else {
-      THROW_SALOME_CORBA_EXCEPTION("Null result in GEOM_Gen_i::MakeFace", SALOME::BAD_PARAM);
-    }
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeFace", SALOME::BAD_PARAM);
-  }
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeShell()
-// purpose  : Make a compound from a list containing one or more shapes
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeShell( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  BRepTools_Quilt Glue;
-  TopoDS_Shape C;
-
-  for ( unsigned int i = 0; i < ListShapes.length(); i++) {
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[i] );    
-    TopoDS_Shape Shape = GetTopoShape(aShape) ;
-    if( Shape.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("Shell aborted : null shape during operation", SALOME::BAD_PARAM);
-    }
-    Glue.Add(Shape) ;
-  }
-
-  TopExp_Explorer exp(Glue.Shells(), TopAbs_SHELL);
-  Standard_Integer ish = 0; 
-  for (; exp.More(); exp.Next()) {
-    C = exp.Current(); 
-    ish++;
-  }
-
-  if (ish != 1)
-    C = Glue.Shells();
-  
-  if ( C.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Null result : Shell operation aborted", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(C) ;
-    InsertInLabelMoreArguments(C, result, ListShapes, myCurrentOCAFDoc) ;
-  }
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeSolid()
-// purpose  : Make a compound from a list containing one or more shapes
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSolid( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  Standard_Integer ish = 0;
-  TopoDS_Compound  Res;
-  TopoDS_Solid     Sol;
-  BRep_Builder     B;
-  TopoDS_Shape     Shape;
-
-  B.MakeCompound(Res);
-
-  for ( unsigned int i = 0; i < ListShapes.length(); i++) {
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[i] );    
-    TopoDS_Shape Sh = GetTopoShape(aShape) ;
-    if( Sh.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("Solid aborted : null shape during operation", SALOME::BAD_PARAM);
-    }
-    B.MakeSolid(Sol);
-    B.Add(Sol,Sh);
-    BRepClass3d_SolidClassifier SC(Sol);
-    SC.PerformInfinitePoint(Precision::Confusion());
-    if (SC.State() == TopAbs_IN) {
-      B.MakeSolid(Sol);
-      B.Add(Sol,Sh.Reversed());
-    }
-    B.Add(Res,Sol);
-    ish++;
-  }
-  if (ish == 1) { Shape = Sol;}
-  else          { Shape = Res;} 
-  
-  if ( Shape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Null result : Solid operation aborted", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(Shape) ;
-    InsertInLabelMoreArguments(Shape, result, ListShapes, myCurrentOCAFDoc) ;
-  }
-  return result;
-}
-
-
-//================================================================================
-// function : MakeLine
-// purpose  : Make a Line topology
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeLine(const GEOM::PointStruct& pstruct,
-                                   const GEOM::DirStruct& dstruct)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result  ;
-  gp_Pnt P1(pstruct.x, pstruct.y, pstruct.z);
-  gp_Pnt P2(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;  
-  TopoDS_Shape tds ;
-  
-  try {
-    tds = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeLine", SALOME::BAD_PARAM);
-  }
-
-  if ( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Line aborted : null shape", SALOME::BAD_PARAM);
-  }
-  else {
-    tds.Infinite(true);
-    result = CreateObject(tds) ;
-    const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-    result->ShapeId(entry);
-  }
-  return result ;  
-}
-
-
-//================================================================================
-// function : MakeVector()
-// purpose  : Make a vector
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeVector(const GEOM::PointStruct& pstruct1,
-                                     const GEOM::PointStruct& pstruct2)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result  ;
-  TopoDS_Shape tds ;
-  
-  try {
-    gp_Pnt P1(pstruct1.x, pstruct1.y, pstruct1.z);
-    gp_Pnt P2(pstruct2.x, pstruct2.y, pstruct2.z) ;
-    tds = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeVector", SALOME::BAD_PARAM);
-  }
-
-  if ( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Vector aborted : null shape", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;
-    const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-    result->ShapeId(entry);
-  }
-  return result ;  
-}
-
-
-//================================================================================
-// function : MakeCircle()
-// purpose  : 
-//================================================================================
-GEOM::GEOM_Shape_ptr  GEOM_Gen_i::MakeCircle(const GEOM::PointStruct& pstruct,
-                                      const GEOM::DirStruct& dstruct,
-                                      CORBA::Double radius)
-  throw (SALOME::SALOME_Exception) 
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-
-  try {
-    gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ;
-    gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-    gp_Ax2 axis(p, d) ;
-    gp_Circ circ( axis, radius);    
-    BRepBuilderAPI_MakeEdge MakeEdge( circ );
-    tds = MakeEdge.Edge();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeCircle", SALOME::BAD_PARAM);
-  }
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Circle aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;  
-}
-
-//================================================================================
-// function : MakeEllipse()
-// purpose  : 
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeEllipse( const GEOM::PointStruct& pstruct,
-                                             const GEOM::DirStruct& dstruct,
-                                             CORBA::Double radius_major,
-                                             CORBA::Double radius_minor )
-  throw (SALOME::SALOME_Exception) 
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-  
-  try {
-    gp_Pnt p(pstruct.x, pstruct.y, pstruct.z) ;
-    gp_Dir d(dstruct.PS.x, dstruct.PS.y, dstruct.PS.z) ;
-
-    const gp_Ax2 axis(p, d) ;
-    gp_Elips anEllipse( axis, radius_major, radius_minor ) ;
-    BRepBuilderAPI_MakeEdge MakeEdge( anEllipse );
-    tds = MakeEdge.Edge();
-
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeEllipse", SALOME::BAD_PARAM);
-  }
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Ellipse aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;  
-}
-
-//================================================================================
-// function : MakeArc()
-// purpose  : make an arc of circle from pInit to pEnd and passing on pCircle
-//================================================================================
-GEOM::GEOM_Shape_ptr  GEOM_Gen_i::MakeArc(const GEOM::PointStruct& pInit,
-                                   const GEOM::PointStruct& pCircle,
-                                   const GEOM::PointStruct& pEnd)
-  throw (SALOME::SALOME_Exception) 
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  try {
-    gp_Pnt pI(pInit.x, pInit.y, pInit.z) ;
-    gp_Pnt pC(pCircle.x, pCircle.y, pCircle.z) ;
-    gp_Pnt pE(pEnd.x, pEnd.y, pEnd.z) ;
-    
-    GC_MakeArcOfCircle arc( pI, pC, pE ) ;
-    if( !arc.IsDone() ) {
-      THROW_SALOME_CORBA_EXCEPTION("Arc not done", SALOME::BAD_PARAM);
-    }
-    BRepBuilderAPI_MakeEdge MakeEdge( arc );
-    TopoDS_Shape tds = MakeEdge.Edge();
-    if (tds.IsNull()) {
-      THROW_SALOME_CORBA_EXCEPTION("Null result : arc not done", SALOME::BAD_PARAM);
-    } 
-    else {
-      result = CreateObject(tds);
-      const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-      result->ShapeId(entry);
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeArc", SALOME::BAD_PARAM);
-  }
-  return result ;
-}
-
-//=================================================================================
-// function : MakeSketcher()
-// purpose  : Make a wire from a list containing many points
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeSketcher( const char *Cmd )
-  throw (SALOME::SALOME_Exception)
-{
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  try {
-    Sketcher_Profile aProfile (Cmd);
-    if(aProfile.IsDone())
-      tds = aProfile.GetShape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeSketcher", SALOME::BAD_PARAM);
-  }
-
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeSketcher aborted : null shape", SALOME::BAD_PARAM);
-  } 
-  else {
-    result = CreateObject(tds);
-    const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-    result->ShapeId(entry) ;
-  }
-  return result;
-}
-
-
-
-//=================================================================================
-// function : MakeBezier()
-// purpose  : Make a wire from a list containing many points
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeBezier( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds, Shape;
-  TColgp_Array1OfPnt CurvePoints(1, ListShapes.length());
-  
-  try {
-    for(unsigned int i = 0; i < ListShapes.length(); i++) {
-      GEOM::GEOM_Shape_var aShape = GetIORFromString(ListShapes[i]);    
-      Shape = GetTopoShape(aShape);
-      if(Shape.IsNull()) {
-       THROW_SALOME_CORBA_EXCEPTION("MakeBezier aborted : null shape during operation", SALOME::BAD_PARAM);
-      }
-      if(Shape.ShapeType() == TopAbs_VERTEX) {
-       const gp_Pnt& P = BRep_Tool::Pnt(TopoDS::Vertex(Shape));
-       CurvePoints.SetValue(i + 1, P);
-      }
-    }
-    Handle(Geom_BezierCurve) GBC = new Geom_BezierCurve(CurvePoints);
-    tds = BRepBuilderAPI_MakeEdge(GBC);
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeBezier", SALOME::BAD_PARAM);
-  }
-  
-  if( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Bezier operation aborted : null result", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds);
-    InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc);   
-  }
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeInterpol()
-// purpose  : Make a wire from a list containing many points
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeInterpol( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds, Shape;
-  TColgp_Array1OfPnt CurvePoints(1, ListShapes.length());
-  
-  try {
-    for(unsigned int i = 0; i < ListShapes.length(); i++) {
-      GEOM::GEOM_Shape_var aShape = GetIORFromString(ListShapes[i]);    
-      Shape = GetTopoShape(aShape);
-      if(Shape.IsNull()) {
-       THROW_SALOME_CORBA_EXCEPTION("MakeBSpline aborted : null shape during operation", SALOME::BAD_PARAM);
-      }
-      if(Shape.ShapeType() == TopAbs_VERTEX) {
-       const gp_Pnt& P = BRep_Tool::Pnt(TopoDS::Vertex(Shape));
-       CurvePoints.SetValue(i + 1, P);
-      }
-    }
-    GeomAPI_PointsToBSpline GBC(CurvePoints);
-    tds = BRepBuilderAPI_MakeEdge(GBC);
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeBSpline", SALOME::BAD_PARAM);
-  }
-  
-  if( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make BSpline operation aborted : null result", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;
-    InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;   
-  }
-  return result;
-}
-
-//=================================================================================
-// function : MakeTranslation()
-// purpose  : Translate a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeTranslation( GEOM::GEOM_Shape_ptr myShape,
-                                           CORBA::Double x,
-                                           CORBA::Double y,
-                                           CORBA::Double z)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Translation aborted : null shape", SALOME::BAD_PARAM);
-  }
-  gp_Vec theVector(x,y,z) ;
-  gp_Trsf theTransformation ;
-  theTransformation.SetTranslation(theVector) ;
-  BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-  TopoDS_Shape tds = myBRepTransformation.Shape() ;
-
-  result = CreateObject(tds) ;
-  if( CORBA::is_nil(result) ) {
-    THROW_SALOME_CORBA_EXCEPTION("Translation aborted : null result", SALOME::BAD_PARAM);
-  }
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeMultiTranslation1D()
-// purpose  : Multi-Translate a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMultiTranslation1D( GEOM::GEOM_Shape_ptr myShape,
-                                                  const GEOM::DirStruct& dir,
-                                                  CORBA::Double step,
-                                                  CORBA::Short nbtimes )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() )
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiTranslation1D aborted : null shape", SALOME::BAD_PARAM);
-  
-  try {
-    int i ;
-    double DX, DY, DZ ;
-    gp_Trsf theTransformation ;
-    gp_Vec myVec ;
-    gp_Vec Vec( dir.PS.x, dir.PS.y, dir.PS.z ) ;
-    Vec.Normalize();
-    TopoDS_Compound compound;
-    BRep_Builder B;
-    B.MakeCompound( compound );
-    
-    for ( i = 0; i < nbtimes; i++ ) {
-      DX = i * step * Vec.X() ;
-      DY = i * step * Vec.Y() ;
-      DZ = i * step * Vec.Z() ;
-      myVec.SetCoord( DX, DY, DZ ) ;
-      theTransformation.SetTranslation(myVec) ;
-      BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-      B.Add( compound, myBRepTransformation.Shape() );
-    }
-    tds = compound ;
-    result = CreateObject(tds) ;
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeMultiTranslation1D", SALOME::BAD_PARAM);
-  }
-    
-  if( CORBA::is_nil(result) ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiTranslation1D aborted : null result", SALOME::BAD_PARAM);
-  }
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeMultiTranslation2D()
-// purpose  : Multi-Translate a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMultiTranslation2D( GEOM::GEOM_Shape_ptr myShape,
-                                                  const GEOM::DirStruct& dir1,
-                                                  CORBA::Double step1,
-                                                  CORBA::Short nbtimes1,
-                                                  const GEOM::DirStruct& dir2,
-                                                  CORBA::Double step2,
-                                                  CORBA::Short nbtimes2 )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiTranslation2D aborted : null shape", SALOME::BAD_PARAM);
-  }
-  
-  try {
-    int i, j ;
-    double DX, DY, DZ ;
-    gp_Trsf theTransformation ;
-    gp_Vec myVec ;
-    gp_Vec Vec1( dir1.PS.x, dir1.PS.y, dir1.PS.z ) ;
-    Vec1.Normalize();
-    gp_Vec Vec2( dir2.PS.x, dir2.PS.y, dir2.PS.z ) ;
-    Vec2.Normalize();
-    TopoDS_Compound compound;
-    BRep_Builder B;
-    B.MakeCompound( compound );
-    
-    for ( i = 0; i < nbtimes1; i++ ) {
-      for ( j = 0; j < nbtimes2; j++ ) {
-       DX = i * step1 * Vec1.X() + j * step2 * Vec2.X() ;
-       DY = i * step1 * Vec1.Y() + j * step2 * Vec2.Y() ;
-       DZ = i * step1 * Vec1.Z() + j * step2 * Vec2.Z() ;
-       myVec.SetCoord( DX, DY, DZ ) ;
-       theTransformation.SetTranslation(myVec) ;
-       BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-       B.Add( compound, myBRepTransformation.Shape() );
-      }
-    }
-    tds = compound ;
-    result = CreateObject(tds) ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeMultiTranslation2D", SALOME::BAD_PARAM);
-  }
-   
-  if( CORBA::is_nil(result) ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiTranslation2D aborted : null result", SALOME::BAD_PARAM);
-  }
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeMultiRotation1D()
-// purpose  : Multi-Rotate a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMultiRotation1D( GEOM::GEOM_Shape_ptr myShape,
-                                               const GEOM::DirStruct& dir,
-                                               const GEOM::PointStruct& loc,
-                                               CORBA::Short nbtimes)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiRotation1D aborted : null shape", SALOME::BAD_PARAM);
-  }
-  try {
-
-    int i ;
-    gp_Pnt P(loc.x, loc.y, loc.z) ;
-    gp_Dir D(dir.PS.x, dir.PS.y, dir.PS.z) ;
-    gp_Ax1 AX1(P, D) ;
-    
-    double angle = 360.0/nbtimes ;
-    gp_Trsf theTransformation ;
-    TopoDS_Compound compound;
-    BRep_Builder B;
-    B.MakeCompound( compound );
-    
-    for ( i = 0; i < nbtimes; i++ ) {
-      theTransformation.SetRotation(AX1, i*angle*PI180) ;
-      BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-      B.Add( compound, myBRepTransformation.Shape() );
-    }
-    tds = compound ;
-    result = CreateObject(tds) ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeMultiRotation1D", SALOME::BAD_PARAM);
-  }
-  
-  if( CORBA::is_nil(result) ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiRotation1D aborted : null result", SALOME::BAD_PARAM);
-  }
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeMultiRotation2D()
-// purpose  : Multi-Rotate a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMultiRotation2D( GEOM::GEOM_Shape_ptr myShape,
-                                               const GEOM::DirStruct& dir,
-                                               const GEOM::PointStruct& loc,
-                                               CORBA::Double ang,
-                                               CORBA::Short nbtimes1,
-                                               CORBA::Double step,
-                                               CORBA::Short nbtimes2 )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiRotation2D aborted : null shape", SALOME::BAD_PARAM);
-  }
-
-  try {
-   
-    int i, j ;
-    double DX, DY, DZ ;
-    gp_Pnt P(loc.x, loc.y, loc.z) ;
-    gp_Dir D(dir.PS.x, dir.PS.y, dir.PS.z) ;
-    gp_Ax1 AX1(P, D) ;
-    gp_Trsf theTransformation1 ;
-    gp_Trsf theTransformation2 ;
-    gp_Pnt P1 ;
-    GProp_GProps System ;
-    
-    if ( aShape.ShapeType() == TopAbs_VERTEX) {
-      P1 = BRep_Tool::Pnt(TopoDS::Vertex( aShape ));
-    } 
-    else if ( aShape.ShapeType() == TopAbs_EDGE || aShape.ShapeType() == TopAbs_WIRE ) {
-      BRepGProp::LinearProperties(aShape, System);
-      P1 = System.CentreOfMass() ;
-    }
-    else if ( aShape.ShapeType() == TopAbs_FACE || aShape.ShapeType() == TopAbs_SHELL ) {
-      BRepGProp::SurfaceProperties(aShape, System);
-      P1 = System.CentreOfMass() ;
-    }
-    else {
-      BRepGProp::VolumeProperties(aShape, System);
-      P1 = System.CentreOfMass() ;
-    }
-    
-    Handle(Geom_Line) Line = new Geom_Line(AX1);
-    gp_Pnt P2 = GeomAPI_ProjectPointOnCurve( P1, Line ) ;
-    
-    if ( P1.IsEqual(P2, Precision::Confusion() ) )
-      THROW_SALOME_CORBA_EXCEPTION("Points are confused", SALOME::BAD_PARAM);
-    
-    gp_Vec Vec(P1.X()-P2.X(), P1.Y()-P2.Y(), P1.Z()-P2.Z()) ;
-    Vec.Normalize();
-    
-    gp_Vec myVec ;
-    TopoDS_Compound compound;
-    BRep_Builder B;
-    B.MakeCompound( compound );
-    
-    for ( i = 0; i < nbtimes2; i++ ) {
-      for ( j = 0; j < nbtimes1; j++ ) {
-       DX = i * step * Vec.X() ;
-       DY = i * step * Vec.Y() ;
-       DZ = i * step * Vec.Z() ;
-       myVec.SetCoord( DX, DY, DZ ) ;
-       theTransformation1.SetTranslation(myVec) ;
-       theTransformation2.SetRotation(AX1, j*ang*PI180) ;
-       BRepBuilderAPI_Transform myBRepTransformation1(aShape, theTransformation1, Standard_False) ;
-       BRepBuilderAPI_Transform myBRepTransformation2(myBRepTransformation1.Shape(), theTransformation2, Standard_False) ;
-       B.Add( compound, myBRepTransformation2.Shape() );
-      }
-    }
-    tds = compound ;
-    result = CreateObject(tds) ;  
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeMultiRotation2D", SALOME::BAD_PARAM);
-  }
-  
-  if( CORBA::is_nil(result) ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeMultiRotation2D aborted : null result", SALOME::BAD_PARAM);
-  }
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeCopy()
-// purpose  : Copy a 3D shape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCopy( GEOM::GEOM_Shape_ptr Shape)
-  throw (SALOME::SALOME_Exception) 
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(Shape) ;
-  if(aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Copy aborted : null shape during operation", SALOME::BAD_PARAM);
-  }  
-  BRepBuilderAPI_Copy Copy(aShape);
-  if( Copy.IsDone() ) {   
-    tds = Copy.Shape();
-    result = CreateObject(tds);    
-    InsertInLabelOneArgument(aShape, Shape, tds, result, myCurrentOCAFDoc) ;
-  }
-
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeMirrorByPlane()
-// purpose  : build a shape by symmetry of 'myShape' with 'shapePlane' in argument
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeMirrorByPlane(GEOM::GEOM_Shape_ptr myShape,
-                                            GEOM::GEOM_Shape_ptr shapePlane) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ; 
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape      = GetTopoShape(myShape) ;
-  TopoDS_Shape aShapePlane = GetTopoShape(shapePlane) ;
-  if( aShape.IsNull()  || aShapePlane.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Mirror aborted : null shape argument", SALOME::BAD_PARAM);
-  }  
-  
-  try {
-    Handle(Geom_Surface) surf = BRep_Tool::Surface(TopoDS::Face(aShapePlane)) ;        
-    Handle(Geom_Plane) myPlane = Handle(Geom_Plane)::DownCast(surf) ;
-    const gp_Ax3 pos = myPlane->Position() ;
-    const gp_Pnt loc = pos.Location() ;  /* location of the plane */
-    const gp_Dir dir = pos.Direction() ; /* Main direction of the plane (Z axis) */  
-    
-    /* plane used for mirroring */
-    gp_Ax2 pln(loc, dir) ;
-    gp_Trsf theTransformation ;
-    theTransformation.SetMirror(pln) ;
-    BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-
-    tds = myBRepTransformation.Shape() ;
-    if(tds.IsNull() ) {
-      THROW_SALOME_CORBA_EXCEPTION("Mirror aborted", SALOME::BAD_PARAM);
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeMirrorByPlane", SALOME::BAD_PARAM);    
-  }
-  
-  result = CreateObject(tds) ;
-
-  /* Insert arguments in ocaf */
-  GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
-  ListShapes->length(2);
-  ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(myShape)) ;
-  ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(shapePlane)) ;
-  InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
-  return result ;
-}
-
-
-
-//=================================================================================
-// function : MakeRotation()
-// purpose  : Rotation of a 3D shape around an axis
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeRotation( GEOM::GEOM_Shape_ptr myShape,
-                                        const GEOM::AxisStruct& axis,
-                                        CORBA::Double angle)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Rotation aborted : null shape during operation", SALOME::BAD_PARAM);
-  }
-  
-  try {
-    gp_Pnt P(axis.x, axis.y, axis.z) ;
-    gp_Dir D(axis.vx, axis.vy, axis.vz) ;
-    gp_Ax1 AX(P, D) ;
-    
-    gp_Trsf theTransformation ;
-    theTransformation.SetRotation(AX, angle) ;
-    BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-    tds = myBRepTransformation.Shape() ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeRotation", SALOME::BAD_PARAM);
-  }
-  
-  if ( !tds.IsNull() ) {
-    result = CreateObject(tds) ;
-    InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeScaleTransform()
-// purpose  : Make a shape multipling another by a scale factor
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeScaleTransform(GEOM::GEOM_Shape_ptr myShape,
-                                             const GEOM::PointStruct& theCenterOfScale,
-                                             CORBA::Double factor)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Scale aborted : null shape during operation", SALOME::BAD_PARAM);
-  }
-  
-  try {
-    gp_Pnt Pcenter(theCenterOfScale.x, theCenterOfScale.y, theCenterOfScale.z) ;
-    gp_Trsf theTransformation ;  
-    theTransformation.SetScale(Pcenter, factor) ;
-    BRepBuilderAPI_Transform myBRepTransformation(aShape, theTransformation, Standard_False) ;
-    tds = myBRepTransformation.Shape() ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeScaleTransform", SALOME::BAD_PARAM);
-  }
-  
-  if ( !tds.IsNull() ) {
-    result = CreateObject(tds) ; 
-    InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeCompound()
-// purpose  : Make a compound from a list containing one or more shapes
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCompound( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Compound C;
-  BRep_Builder aBuilder;
-  aBuilder.MakeCompound(C) ;
-
-  for ( unsigned int i = 0; i < ListShapes.length(); i++) {
-    GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[i] );    
-    TopoDS_Shape Shape = GetTopoShape(aShape) ;
-    if( Shape.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("Compound aborted : null shape during operation", SALOME::BAD_PARAM);
-    }
-    aBuilder.Add(C, Shape) ;
-  }
-  
-  if ( C.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Null result : Compound operation aborted", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(C) ;
-    InsertInLabelMoreArguments(C, result, ListShapes, myCurrentOCAFDoc) ;
-  }
-  return result;
-}
-
-
-//================================================================================
-// function : MakeEdge()
-// purpose  : Make a linear edge with 2 points
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeEdge(const GEOM::PointStruct& pstruct1,
-                                   const GEOM::PointStruct& pstruct2)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result  ;
-  TopoDS_Shape tds ;
-  
-  try {
-    gp_Pnt P1(pstruct1.x, pstruct1.y, pstruct1.z);
-    gp_Pnt P2(pstruct2.x, pstruct2.y, pstruct2.z) ;  
-    tds = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-    if ( tds.IsNull() )
-      THROW_SALOME_CORBA_EXCEPTION("MakeEdge aborted : null result", SALOME::BAD_PARAM);
-  }
-  catch (Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in MakeEdge", SALOME::BAD_PARAM);
-  }
-  
-  result = CreateObject(tds) ;
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry);
-  return result ;  
-}
-
-
-
-//=================================================================================
-// function : MakeWire()
-// purpose  : Make a wire from a list containing one or more edges or wires that can
-// be connected
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeWire( const GEOM::GEOM_Gen::ListOfIOR& ListShapes )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  BRepBuilderAPI_MakeWire MW ;
-  TopoDS_Shape tds, Shape ; 
-  
-  try {
-    for ( unsigned int i = 0; i < ListShapes.length(); i++) {
-      GEOM::GEOM_Shape_var aShape = GetIORFromString( ListShapes[i] );    
-      Shape = GetTopoShape(aShape) ;
-      if( Shape.IsNull() ) {
-       THROW_SALOME_CORBA_EXCEPTION("MakeWire aborted : null shape during operation", SALOME::BAD_PARAM);
-      }
-      if( Shape.ShapeType() == TopAbs_EDGE )
-       MW.Add( TopoDS::Edge(Shape) ) ;
-      if (Shape.ShapeType() == TopAbs_WIRE ) 
-       MW.Add( TopoDS::Wire(Shape) ) ;
-    }    
-    tds = MW  ;
-
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeWire", SALOME::BAD_PARAM);
-  }
-  
-  if( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Wire operation aborted : null result", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;
-    InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;   
-  }
-  return result;
-}
-
-
-//=================================================================================
-// function : MakeRevolution()
-// purpose  : 
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeRevolution(GEOM::GEOM_Shape_ptr myShape,
-                                         const GEOM::AxisStruct& axis,
-                                         double angle)
-  throw (SALOME::SALOME_Exception)
-{ 
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Revolution aborted : null shape", SALOME::BAD_PARAM);
-  }
-  try {
-    gp_Pnt P(axis.x, axis.y, axis.z) ;
-    gp_Dir D(axis.vx, axis.vy, axis.vz);
-    gp_Ax1 AX(P,D);
-    tds = BRepPrimAPI_MakeRevol(aShape, AX, angle);
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeRevolution", SALOME::BAD_PARAM);
-  }
-  
-  if( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Revolution aborted", SALOME::BAD_PARAM);
-  }
-  result = CreateObject(tds) ;
-  InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  return result ;     
-}
-
-
-//=================================================================================
-// function : MakePipe()
-// purpose  : Create a shape by sweeping a baseShape along a pathShape
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePipe( GEOM::GEOM_Shape_ptr pathShape,
-                                    GEOM::GEOM_Shape_ptr baseShape )
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Wire aWire ;
-  TopoDS_Shape pathTds = GetTopoShape(pathShape) ;
-  TopoDS_Shape baseTds = GetTopoShape(baseShape) ;
-
-  if( baseTds.IsNull() || pathTds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakePipe aborted : null shape argument", SALOME::BAD_PARAM);
-  }
-
-  if( pathTds.ShapeType() == TopAbs_WIRE ) {
-    aWire = TopoDS::Wire(pathTds) ;
-  }
-  else {
-    if ( pathTds.ShapeType() == TopAbs_EDGE ) {
-      TopoDS_Edge aEdge = TopoDS::Edge(pathTds) ;
-      aWire = BRepBuilderAPI_MakeWire(aEdge);
-    }
-    else {
-      THROW_SALOME_CORBA_EXCEPTION("MakePipe aborted : bad shape type", SALOME::BAD_PARAM);
-    }
-  }
-
-  try {
-    tds = BRepOffsetAPI_MakePipe(aWire, baseTds) ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakePipe", SALOME::BAD_PARAM);
-  }
-  
-  if (  !IsValid(tds) ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakePipe aborted : non valid shape result", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;
-
-    /* Insert arguments in ocaf */
-    GEOM::GEOM_Gen::ListOfIOR_var ListShapes = new GEOM::GEOM_Gen::ListOfIOR;
-    ListShapes->length(2);
-    ListShapes[0] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(pathShape)) ;
-    ListShapes[1] = GetStringFromIOR(GEOM::GEOM_Shape::_duplicate(baseShape)) ;    
-    InsertInLabelMoreArguments(tds, result, ListShapes, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakePrism()
-// purpose  : uses myShape as base and the vector P1 to P2
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePrism( GEOM::GEOM_Shape_ptr myShape,
-                                          const GEOM::PointStruct& P1,
-                                          const GEOM::PointStruct& P2 )
-  throw (SALOME::SALOME_Exception)
-{              
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(myShape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Prism aborted : null shape operation", SALOME::BAD_PARAM);
-  }
-  
-  try {
-    gp_Vec Vector (P2.x - P1.x, P2.y - P1.y, P2.z - P1.z) ;
-    tds = BRepPrimAPI_MakePrism(aShape, Vector, Standard_False).Shape() ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakePipe", SALOME::BAD_PARAM);
-  }
-  
-  if ( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Prism aborted", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;     
-    InsertInLabelOneArgument(aShape, myShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ;
-}
-
-
-//=================================================================================
-// function : MakeCDG()
-// purpose  : Create a CDG topology.
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeCDG(GEOM::GEOM_Shape_ptr aShape) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape shape = GetTopoShape(aShape) ;
-  GProp_GProps System;
-  gp_Pnt myCenterMass ;
-
-  if( shape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakeCDG aborted : null shape argument", SALOME::BAD_PARAM);
-  }
-  
-  try {
-    if ( shape.ShapeType() == TopAbs_VERTEX) {
-      myCenterMass = BRep_Tool::Pnt(TopoDS::Vertex( shape ));
-    } 
-    else if ( shape.ShapeType() == TopAbs_EDGE || shape.ShapeType() == TopAbs_WIRE ) {
-      BRepGProp::LinearProperties(shape, System);
-      myCenterMass = System.CentreOfMass() ;
-    }
-    else if ( shape.ShapeType() == TopAbs_FACE || shape.ShapeType() == TopAbs_SHELL ) {
-      BRepGProp::SurfaceProperties(shape, System);
-      myCenterMass = System.CentreOfMass() ;
-    }
-    else {
-      BRepGProp::VolumeProperties(shape, System);
-      myCenterMass = System.CentreOfMass() ;
-    }
-
-    tds = BRepBuilderAPI_MakeVertex(myCenterMass).Shape() ;
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeCDG", SALOME::BAD_PARAM);
-  }
-  
-  if ( tds.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Make CDG aborted : null shape result", SALOME::BAD_PARAM);
-  }
-  else {
-    result = CreateObject(tds) ;     
-    InsertInLabelOneArgument(shape, aShape, tds, result, myCurrentOCAFDoc) ;
-  }
-  return result ; 
-}
-
-
-//=================================================================================
-// function : Archimede()
-// purpose  :
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::Archimede(GEOM::GEOM_Shape_ptr aShape,
-                                    CORBA::Double aWeight,
-                                    CORBA::Double aWaterDensity,
-                                    CORBA::Double aMeshingDeflection)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-
-  double cste = -1;
-  if (aWaterDensity != 0.)
-    cste = aWeight/aWaterDensity;
-  else
-    THROW_SALOME_CORBA_EXCEPTION("Water density is null", SALOME::BAD_PARAM);
-
-  TopoDS_Shape shape = GetTopoShape(aShape) ;
-  if( shape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Shape is null", SALOME::BAD_PARAM);
-  }
-
-  gp_Dir direct(0.0,0.0,1.0);
-  gp_Pnt PosPlan(0.0,0.0,0.0);
-  Geom_Plane PP (PosPlan,direct);
-  Handle(Geom_Geometry) G = PP.Copy();
-  Handle(Geom_Plane) P = Handle(Geom_Plane)::DownCast(G);
-
-  gp_Dir Zdirection(0.0,0.0,1.0);
-  VolumeSection VOL( shape, aMeshingDeflection);
-  VOL.SetPlane(P);
-  Handle (Geom_RectangularTrimmedSurface) SurfaceTrimmee;
-  
-  if(Zdirection.IsEqual(direct,Precision::Angular()) == Standard_False) { 
-    VOL.MakeRotation(direct);
-  }
-  
-  VOL.CenterOfGravity();
-  SurfaceTrimmee = VOL.TrimSurf();
-  Standard_Real Cote = VOL.Archimede( cste, aMeshingDeflection );
-  
-  if ( Cote == -1 ) {
-    double Zmin,Zmax;
-    VOL.getZ(Zmin,Zmax);
-    double volume = VOL.CalculateVolume( Zmax ) * aWaterDensity;
-
-    char msg[100]="";  
-    sprintf(msg, "shape sinks to the bottom : Weigth max = %.1f", volume);
-
-    THROW_SALOME_CORBA_EXCEPTION(msg, SALOME::BAD_PARAM);
-  }
-  
-  SurfaceTrimmee=VOL.AjustePlan(SurfaceTrimmee,Cote,PosPlan);
-  if(Zdirection.IsEqual(direct,Precision::Angular()) == Standard_False) { 
-    SurfaceTrimmee=VOL.InvMakeRotation(direct,SurfaceTrimmee);
-  }
-  
-  Standard_Real u1,u2,v1,v2;
-  SurfaceTrimmee->Bounds(u1,u2,v1,v2);
-  TopoDS_Face tirant = BRepBuilderAPI_MakeFace(SurfaceTrimmee, u1, u2, v1, v2);
-  
-  if (tirant.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Result is null", SALOME::BAD_PARAM);
-  }
-
-  result = CreateObject(tirant);
-  InsertInLabelOneArgument(shape, aShape, tirant, result, myCurrentOCAFDoc) ;
-
-  return result;  
-}
-
-
-//================================================================================
-// function : MakeFillet()
-// purpose  : Create a cylinder topology
-//================================================================================
-GEOM::GEOM_Shape_ptr  GEOM_Gen_i::MakeFillet( GEOM::GEOM_Shape_ptr shape,
-                                             CORBA::Double radius,
-                                             CORBA::Short ShapeType,
-                                             const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID ) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-
-  const TopoDS_Shape aShape = GetTopoShape(shape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Shape is null", SALOME::BAD_PARAM);
-  }
-
-  BRepFilletAPI_MakeFillet fill(aShape);
-
-  try {
-    /* case all */
-    if(ListOfID.length() == 0) {
-      TopExp_Explorer Exp ( aShape, TopAbs_EDGE );
-      for (Exp; Exp.More(); Exp.Next()) {
-       TopoDS_Edge E =TopoDS::Edge(Exp.Current());
-       fill.Add(E);
-      }
-      for (int i = 1;i<=fill.NbContours();i++) {
-#if OCC_VERSION_MAJOR >= 5
-       fill.SetRadius(radius,i,i);
-#else
-       fill.SetRadius(radius,i);
-#endif
-      }
-      tds = fill.Shape();
-      
-    } else {
-
-      /* case selection */               
-      for ( unsigned int ind = 0; ind < ListOfID.length(); ind++ ) {
-       TopoDS_Shape ss ;
-       if( GetShapeFromIndex( aShape, (TopAbs_ShapeEnum)ShapeType, ListOfID[ind], ss ) ) {
-         TopoDS_Edge E = TopoDS::Edge(ss) ;
-         fill.Add( E );
-       }
-      }
-      for (int i = 1;i<=fill.NbContours();i++) {
-#if OCC_VERSION_MAJOR >= 5
-       fill.SetRadius(radius,i,i);
-#else
-       fill.SetRadius(radius,i);
-#endif
-      }
-      tds = fill.Shape();
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeFillet", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Fillet aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds);
-  InsertInLabelOneArgument(aShape, shape, tds, result, myCurrentOCAFDoc) ;
-
-  return result ;  
-}
-
-
-//================================================================================
-// function : MakeChamfer
-// purpose  : Create a Chamfer topology
-//================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeChamfer( GEOM::GEOM_Shape_ptr shape,
-                                             CORBA::Double d1,
-                                             CORBA::Double d2,
-                                             CORBA::Short ShapeType,
-                                             const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID ) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result;
-  TopoDS_Shape tds ;
-
-  const TopoDS_Shape aShape = GetTopoShape(shape) ;
-  if( aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Shape is null", SALOME::BAD_PARAM);
-  }
-  
-  BRepFilletAPI_MakeChamfer MC(aShape);
-
-  try {
-    /* case all */
-    TopTools_IndexedDataMapOfShapeListOfShape M;
-    TopExp::MapShapesAndAncestors(aShape,TopAbs_EDGE,TopAbs_FACE,M);
-    if(ListOfID.length() == 0) {
-      for (int i = 1;i<=M.Extent();i++) {
-       TopoDS_Edge E = TopoDS::Edge(M.FindKey(i));
-       TopoDS_Face F = TopoDS::Face(M.FindFromIndex(i).First());
-       if (!BRepTools::IsReallyClosed(E, F) && !BRep_Tool::Degenerated(E))
-         MC.Add(d1,d2,E,F);
-      }
-      tds = MC.Shape();
-
-    } else {
-
-      /* case selection */  
-      for ( unsigned int ind = 0; ind < ListOfID.length(); ind++ ) {
-       TopoDS_Shape ss ;
-       if( GetShapeFromIndex( aShape, (TopAbs_ShapeEnum)ShapeType, ListOfID[ind], ss ) ) {
-         TopoDS_Edge E = TopoDS::Edge( ss ) ;
-         TopoDS_Face F = TopoDS::Face(M.FindFromKey(E).First());
-         if (!BRepTools::IsReallyClosed(E, F) && !BRep_Tool::Degenerated(E))
-           MC.Add(d1,d2,E,F);
-       }
-      }
-      tds = MC.Shape();
-    }
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeChamfer", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Chamfer aborted", SALOME::BAD_PARAM);
-  } 
-  result = CreateObject(tds);
-  InsertInLabelOneArgument(aShape, shape, tds, result, myCurrentOCAFDoc) ;
-
-  return result ;
-}
-
-//=================================================================================
-// function : CheckShape()
-// purpose  :
-//=================================================================================
-CORBA::Boolean GEOM_Gen_i::CheckShape(GEOM::GEOM_Shape_ptr shape) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  TopoDS_Shape S = GetTopoShape(shape) ;
-  if( S.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("Shape is null", SALOME::BAD_PARAM);
-  }
-
-  BRepCheck_Analyzer ana(S,false);
-  if (ana.IsValid()) 
-    return 1;
-
-  return 0;
-}
-
-//=================================================================================
-// function : MakePlacedBox()
-// purpose  :
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePlacedBox(CORBA::Double x1,  CORBA::Double y1,  CORBA::Double z1,
-                                        CORBA::Double delta1, CORBA::Double delta2, CORBA::Double delta3)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-
-  CORBA::Double x2, y2, z2 ;
-
-  try {
-    x2 = x1 + delta1 ;
-    y2 = y1 + delta2 ;
-    z2 = z1 + delta3 ;
-    
-    gp_Pnt P1(x1,y1,z1);
-    gp_Pnt P2(x2,y2,z2);
-    
-    tds = BRepPrimAPI_MakeBox(P1,P2).Shape();
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakeBox", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make Box aborted : null shape", SALOME::BAD_PARAM);
-  } 
-  
-  result = CreateObject(tds);
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry) ;
-
-  return result;  
-}
-
-//=================================================================================
-// function : MakePanel()
-// purpose  :
-//=================================================================================
-GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakePanel(GEOM::GEOM_Shape_ptr shape,
-                                    CORBA::Short directiontype,
-                                    CORBA::Double delta)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  GEOM::GEOM_Shape_var result ;
-  TopoDS_Shape tds ;
-  TopoDS_Shape aShape = GetTopoShape(shape) ;
-  Bnd_Box B ;
-  Standard_Real axmin,aymin,azmin,axmax,aymax,azmax ;
-  GEOM::PointStruct pstruct1, pstruct2, pstruct3, pstruct4 ;
-
-  if(aShape.IsNull() ) {
-    THROW_SALOME_CORBA_EXCEPTION("MakePanel aborted : null shape during operation", SALOME::BAD_PARAM);
-  }  
-
-  try {
-    BRepBndLib::Add(aShape,B);
-    B.Enlarge(10.);
-    B.Get(axmin,aymin,azmin,axmax,aymax,azmax);
-    
-    switch (directiontype)
-      {
-      case 1 :   /* X */
-       pstruct1 = MakePointStruct( delta, aymin, azmin ) ;
-       pstruct2 = MakePointStruct( delta, aymin, azmax ) ;
-       pstruct3 = MakePointStruct( delta, aymax, azmax ) ;
-       pstruct4 = MakePointStruct( delta, aymax, azmin ) ;
-       break ;
-      case 2 :   /* Y */
-       pstruct1 = MakePointStruct( axmin, delta, azmin ) ;
-       pstruct2 = MakePointStruct( axmin, delta, azmax ) ;
-       pstruct3 = MakePointStruct( axmax, delta, azmax ) ;
-       pstruct4 = MakePointStruct( axmax, delta, azmin ) ;
-       break ;
-      case 3 :   /* Z */
-       pstruct1 = MakePointStruct( axmin, aymin, delta ) ;
-       pstruct2 = MakePointStruct( axmin, aymax, delta ) ;
-       pstruct3 = MakePointStruct( axmax, aymax, delta ) ;
-       pstruct4 = MakePointStruct( axmax, aymin, delta ) ;
-       break ;
-      default :
-       return result ;
-      }
-    
-    GEOM::GEOM_Shape_ptr Edge1 = MakeEdge(pstruct1, pstruct2);
-    GEOM::GEOM_Shape_ptr Edge2 = MakeEdge(pstruct2, pstruct3);
-    GEOM::GEOM_Shape_ptr Edge3 = MakeEdge(pstruct3, pstruct4);
-    GEOM::GEOM_Shape_ptr Edge4 = MakeEdge(pstruct4, pstruct1);
-    
-    GEOM::GEOM_Gen::ListOfIOR_var aList = new GEOM::GEOM_Gen::ListOfIOR;
-    aList->length(4);
-    aList[0]=CORBA::string_dup(Edge1->Name());
-    aList[1]=CORBA::string_dup(Edge2->Name());
-    aList[2]=CORBA::string_dup(Edge3->Name());
-    aList[3]=CORBA::string_dup(Edge4->Name());
-    
-    GEOM::GEOM_Shape_ptr aWire = MakeWire( aList );
-    GEOM::GEOM_Shape_ptr aFace = MakeFace( aWire, true ) ;
-    tds = GetTopoShape(aFace);
-    
-  }
-  catch(Standard_Failure) {
-    THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::MakePanel", SALOME::BAD_PARAM);
-  }
-  
-  if (tds.IsNull()) {
-    THROW_SALOME_CORBA_EXCEPTION("Make PanelsPartition aborted : null shape", SALOME::BAD_PARAM);
-  } 
-  
-  result = CreateObject(tds); 
-  const char *entry = InsertInLabel(tds, result->Name(), myCurrentOCAFDoc) ;
-  result->ShapeId(entry) ;
-  
-  return result;
-}
-
-
-void GEOM_Gen_i::ExportIGES(const char* filename,GEOM::GEOM_Shape_ptr theShape) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  if (theShape->_is_nil()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export IGES aborted", SALOME::BAD_PARAM);
-    } 
-  TopoDS_Shape tds = GetTopoShape(theShape);
-  if (tds.IsNull()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export IGES aborted", SALOME::BAD_PARAM);
-    } 
-  try 
-    {
-      //VRV: OCC 4.0 migration
-      IGESControl_Controller::Init();
-      IGESControl_Writer ICW (Interface_Static::CVal("XSTEP.iges.unit"),
-                                  Interface_Static::IVal("XSTEP.iges.writebrep.mode"));
-      //VRV: OCC 4.0 migration
-       
-      ICW.AddShape (tds);
-      ICW.ComputeModel();
-      char * aname = strdup(filename);
-      Standard_Boolean result = ICW.Write( aname );
-      free(aname);
-    }
-  catch(Standard_Failure) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ExportIGES", SALOME::BAD_PARAM);
-    }
-}
-
-void GEOM_Gen_i::ExportBREP(const char* filename,GEOM::GEOM_Shape_ptr theShape)
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  if (theShape->_is_nil()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export BRep aborted", SALOME::BAD_PARAM);
-    } 
-  TopoDS_Shape tds = GetTopoShape(theShape);
-  if (tds.IsNull()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export BRep aborted", SALOME::BAD_PARAM);
-    } 
-  try 
-    {
-      char * aname = strdup(filename);
-      Standard_Boolean result = BRepTools::Write(tds,aname);
-      free(aname);
-    }
-  catch(Standard_Failure) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ExportBREP", SALOME::BAD_PARAM);
-    }
-}
-
-void GEOM_Gen_i::ExportSTEP(const char* filename,GEOM::GEOM_Shape_ptr theShape) 
-  throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  if (theShape->_is_nil()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export STEP aborted", SALOME::BAD_PARAM);
-    } 
-  TopoDS_Shape tds = GetTopoShape(theShape);
-  if (tds.IsNull()) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Export STEP aborted", SALOME::BAD_PARAM);
-    } 
-  try 
-    {
-      IFSelect_ReturnStatus status ;
-      //VRV: OCC 4.0 migration
-      STEPControl_Writer aWriter;
-      status = aWriter.Transfer( tds, STEPControl_ManifoldSolidBrep ) ;
-      //VRV: OCC 4.0 migration
-      if ( status == IFSelect_RetDone ) 
-       {
-         char * aname = strdup(filename);
-         status = aWriter.Write( aname ) ;
-         free(aname);
-       }
-    }
-  catch(Standard_Failure) 
-    {
-      THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ExportBREP", SALOME::BAD_PARAM);
-    }
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-  PortableServer::ObjectId * GEOMEngine_factory(CORBA::ORB_ptr orb,
-                                               PortableServer::POA_ptr poa, 
-                                               PortableServer::ObjectId * contId,
-                                               const char *instanceName, 
-                                               const char * interfaceName)
-  {
-   GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb, poa, contId, instanceName, interfaceName);
-   myGEOM_Gen_i->register_name("/myGEOM_Gen"); // NRI : 11/07/2002 : Add for Supervision example 
-   return myGEOM_Gen_i->getId() ;
-  }
-}
-
diff --git a/src/GEOM/GEOM_IOperations.cxx b/src/GEOM/GEOM_IOperations.cxx
deleted file mode 100644 (file)
index 397e358..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOM_IOperations.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TDataStd_TreeNode.hxx>
-#include <TDataStd_ChildNodeIterator.hxx>
-#include <TDF_TagSource.hxx>
-
-//=============================================================================
-/*!
- *  default constructor:
- */
-//=============================================================================
-
-GEOM_IOperations::GEOM_IOperations(GEOM_Engine* theEngine, int theDocID)
-: _engine(theEngine), _docID(theDocID)
-{
-  _solver = new GEOM_Solver(theEngine);
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOM_IOperations::~GEOM_IOperations()
-{
-  delete _solver;
-  MESSAGE("GEOM_IOperations::~GEOM_IOperations");
-}
-
-
-//=============================================================================
-/*!
- *  StartOperation
- */  
-//=============================================================================   
-void GEOM_IOperations::StartOperation()
-{
-  Handle(TDocStd_Document) aDoc = _engine->GetDocument(_docID);
-  if(aDoc->GetUndoLimit() > 0) 
-    aDoc->NewCommand();
-}
-
- //=============================================================================
- /*!
-  *  FinishOperation
-  */
-//=============================================================================      
-void GEOM_IOperations::FinishOperation()
-{
-  Handle(TDocStd_Document) aDoc = _engine->GetDocument(_docID);
-  if(aDoc->GetUndoLimit() > 0) 
-    aDoc->CommitCommand();
-}
-
-//=============================================================================
-/*!
- *  AbortOperation
- */
-//=============================================================================   
-void GEOM_IOperations::AbortOperation()
-{
-  Handle(TDocStd_Document) aDoc = _engine->GetDocument(_docID);
-  aDoc->AbortCommand();
-}
-   
-   
-//=============================================================================
-/*!
- *  IsDone
- */
-//=============================================================================
-bool GEOM_IOperations::IsDone()
-{
-  return (_errorCode == OK);
-}  
-
-
diff --git a/src/GEOM/GEOM_IOperations.hxx b/src/GEOM/GEOM_IOperations.hxx
deleted file mode 100644 (file)
index 809cd6a..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-
-#ifndef _GEOM_IOperations_HXX_
-#define _GEOM_IOperations_HXX_
-
-#include "GEOM_Engine.hxx"
-#include <TDocStd_Document.hxx>
-#include <TCollection_AsciiString.hxx>
-#include "GEOM_Object.hxx"
-#include "GEOM_Solver.hxx"
-
-#define OK "PAL_NO_ERROR"
-#define KO "PAL_NOT_DONE_ERROR"
-#define ALREADY_PRESENT "PAL_ELEMENT_ALREADY_PRESENT"
-#define NOT_EXISTS "PAL_ELEMENT_DOES_NOT_EXISTS"
-#define INVALID_TYPE "INVALID_TYPE_OF_ELEMENT"
-
-class GEOM_IOperations
-{
- public:
-  Standard_EXPORT GEOM_IOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOM_IOperations();
-
-  //Starts a new operation (opens a tansaction)
-  Standard_EXPORT void StartOperation();
-  //Finishes the previously started operation (closes the transaction)
-  Standard_EXPORT void FinishOperation();
-
-  //Aborts the operation 
-  Standard_EXPORT void AbortOperation();
-  //Returns true if the last operation succided
-  Standard_EXPORT bool IsDone();
-
-  //Sets Not done error code
-  Standard_EXPORT void SetNotDone() { _errorCode = KO; }
-
-  //Sets an error code of the operation
-  Standard_EXPORT void SetErrorCode(const TCollection_AsciiString& theErrorCode) {
-    _errorCode = theErrorCode;    
-  } 
-  //Returns an error code of the last operatioin
-  Standard_EXPORT char* GetErrorCode() {
-    return _errorCode.ToCString();    
-  }
-  
-  //Returns a pointer to  GEOM_Engine which this operation interface is associated
-  Standard_EXPORT GEOM_Engine* GetEngine() { return _engine; }
-
-  //Return a pointer to Solver associated with this operation interface
-  Standard_EXPORT GEOM_Solver* GetSolver() { return _solver; }
-
-  //Returns an ID of the OCAF document where this operation stores the data
-  Standard_EXPORT int GetDocID() { return _docID; }
-
- private:
-  
-  TCollection_AsciiString _errorCode;
-  GEOM_Engine*   _engine;
-  GEOM_Solver*   _solver;
-  int                     _docID;
-
-};
-
-#endif
diff --git a/src/GEOM/GEOM_ISubShape.hxx b/src/GEOM/GEOM_ISubShape.hxx
deleted file mode 100644 (file)
index 7ddf891..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// NOTE: This is an intreface to a function for the Shapes
-// (Wire, Face, Shell, Solid and Compound) creation.
-
-
-#include "GEOM_Function.hxx"
-
-#include "TColStd_HSequenceOfTransient.hxx"
-#include "TColStd_HArray1OfInteger.hxx"
-
-#define SHAPE_ARG_MAIN_SHAPE     1 
-#define SHAPE_ARG_INDICES             2 
-#define SHAPE_ARG_SORTED             3
-
-class GEOM_ISubShape
-{
- public:
-
-  GEOM_ISubShape(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetMainShape(Handle(GEOM_Function) theRefBase)
-  { _func->SetReference(SHAPE_ARG_MAIN_SHAPE, theRefBase); }
-
-  Handle(GEOM_Function) GetMainShape() { return _func->GetReference(SHAPE_ARG_MAIN_SHAPE); }
-
-  void SetIndices(const Handle(TColStd_HArray1OfInteger)& theIndices)
-  { _func->SetIntegerArray(SHAPE_ARG_INDICES, theIndices); }
-
-  Handle(TColStd_HArray1OfInteger) GetIndices()
-  { return _func->GetIntegerArray(SHAPE_ARG_INDICES); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOM/GEOM_Object.cxx b/src/GEOM/GEOM_Object.cxx
deleted file mode 100644 (file)
index 46a0298..0000000
+++ /dev/null
@@ -1,406 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOM_Object.hxx>
-#include <GEOM_Engine.hxx>
-#include <GEOM_Solver.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Data.hxx>
-#include <TDF_Reference.hxx>
-#include <TDF_LabelSequence.hxx>
-#include <TDocStd_Owner.hxx>
-#include <TDocStd_Document.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDataStd_ChildNodeIterator.hxx>
-#include <TDataStd_UAttribute.hxx>
-#include <TDataStd_Name.hxx>
-#include <TDataStd_Comment.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopExp.hxx>
-
-#define TYPE 2
-#define FUNCTION_LABEL(theNb) (_label.FindChild(1).FindChild((theNb)))
-#define FREE_LABEL 3
-
-//=======================================================================
-//function : GetObjectID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOM_Object::GetObjectID()
-{
-  static Standard_GUID anObjectID("FF1BBB01-5D14-4df2-980B-3A668264EA16");
-  return anObjectID;
-}    
-
-//=======================================================================
-//function : GetSubShapeID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOM_Object::GetSubShapeID()
-{
-  static Standard_GUID anObjectID("FF1BBB68-5D14-4df2-980B-3A668264EA16");
-  return anObjectID;
-}
-              
-//=============================================================================
-/*!
- *  GetObject
- */
-//=============================================================================
-Handle(GEOM_Object) GEOM_Object::GetObject(TDF_Label& theLabel)
-{
-  if (!theLabel.IsAttribute(GetObjectID())) return NULL;
-
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(theLabel, anEntry);
-
-  Handle(TDocStd_Document) aDoc = TDocStd_Owner::GetDocument(theLabel.Data());
-  if(aDoc.IsNull()) return NULL;
-
-  Handle(TDataStd_Integer) anID;
-  if(!aDoc->Main().FindAttribute(TDataStd_Integer::GetID(), anID)) return NULL;
-  
-
-  GEOM_Engine* anEngine=  GEOM_Engine::GetEngine();
-  if(anEngine == NULL) return NULL;
-  return anEngine->GetObject(anID->Get(), anEntry.ToCString());
-}
-
-//=============================================================================
-/*!
- *  GetReferencedObject
- */
-//=============================================================================
-Handle(GEOM_Object) GEOM_Object::GetReferencedObject(TDF_Label& theLabel)
-{
-  Handle(TDF_Reference) aRef;
-  if (!theLabel.FindAttribute(TDF_Reference::GetID(), aRef)) return NULL;
-
-  // Get TreeNode of a referenced function
-  Handle(TDataStd_TreeNode) aT, aFather;
-  if (!TDataStd_TreeNode::Find(aRef->Get(), aT)) return NULL;
-
-  // Get TreeNode of Object of the referenced function
-  aFather = aT->Father();
-  if (aFather.IsNull()) return NULL;
-
-  // Get label of the referenced object
-  TDF_Label aLabel = aFather->Label();
-
-  
-  return GEOM_Object::GetObject(aLabel);
-}
-
-//=============================================================================
-/*!
- *  Constructor: private
- */
-//=============================================================================
-GEOM_Object::GEOM_Object(TDF_Label& theEntry)
-: _label(theEntry), _ior("") 
-{
-  if(!theEntry.FindAttribute(TDataStd_TreeNode::GetDefaultTreeID(), _root)) 
-    _root = TDataStd_TreeNode::Set(theEntry);
-}
-
-//=============================================================================
-/*!
- *  Constructor: public
- */
-//=============================================================================
-GEOM_Object::GEOM_Object(TDF_Label& theEntry, int theType)
-: _label(theEntry), _ior("") 
-{
-  theEntry.ForgetAllAttributes(Standard_True);
-
-  if(!theEntry.FindAttribute(TDataStd_TreeNode::GetDefaultTreeID(), _root)) 
-    _root = TDataStd_TreeNode::Set(theEntry);
-
-  TDataStd_Integer::Set(theEntry.FindChild(TYPE), theType);
-
-  TDataStd_UAttribute::Set(theEntry, GetObjectID());
-}
-
-//=============================================================================
-/*!
- *  GetType
- */
-//=============================================================================
-int GEOM_Object::GetType()
-{
-  Handle(TDataStd_Integer) aType;
-  if(!_label.FindChild(TYPE).FindAttribute(TDataStd_Integer::GetID(), aType)) return -1;
-  
-  return aType->Get();
-}
-
-//=============================================================================
-/*!
- *  SetType
- */
-//=============================================================================
-void GEOM_Object::SetType(int theType)
-{
-  TDataStd_Integer::Set(_label.FindChild(TYPE), theType);
-  return;
-}
-
-
-//=============================================================================
-/*!
- *  GetDocID
- */
-//=============================================================================
-int GEOM_Object::GetDocID()
-{
-  Handle(TDocStd_Document) aDoc = TDocStd_Owner::GetDocument(_label.Data());
-  if(aDoc.IsNull()) return -1;
-
-  Handle(TDataStd_Integer) anID;
-  if(!aDoc->Main().FindAttribute(TDataStd_Integer::GetID(), anID)) return -1;
-  
-  return anID->Get();
-}
-
-
-//=============================================================================
-/*!
- *  GetValue
- */
-//=============================================================================
-TopoDS_Shape GEOM_Object::GetValue()
-{
-  TopoDS_Shape aShape;
-
-  Handle(GEOM_Function) aFunction = GetLastFunction();
-
-  if (!aFunction.IsNull())
-    aShape = aFunction->GetValue();
-  
-  return aShape;
-}
-
-//=============================================================================
-/*!
- *  SetName
- */
-//=============================================================================
-void GEOM_Object::SetName(const char* theName)
-{
-  TDataStd_Name::Set(_label, (char*)theName);
-}
-
-//=============================================================================
-/*!
- *  GetName
- */
-//=============================================================================
-char* GEOM_Object::GetName()
-{
-  Handle(TDataStd_Name) aNameAttr;
-  if(!_label.FindAttribute(TDataStd_Name::GetID(), aNameAttr)) return NULL;
-  
-  TCollection_AsciiString aName(aNameAttr->Get());
-  return aName.ToCString();
-}
-
-//=============================================================================
-/*!
- *  SetAuxData
- */
-//=============================================================================
-void GEOM_Object::SetAuxData(const char* theData)
-{
-  TDataStd_Comment::Set(_label, (char*)theData);
-}
-
-//=============================================================================
-/*!
- *  GetAuxData
- */
-//=============================================================================
-TCollection_AsciiString GEOM_Object::GetAuxData()
-{
-  TCollection_AsciiString aData;
-
-  Handle(TDataStd_Comment) aCommentAttr;
-  if (_label.FindAttribute(TDataStd_Comment::GetID(), aCommentAttr))
-    aData = aCommentAttr->Get();
-
-  return aData;
-}
-
-
-//=============================================================================
-/*!
- *  IsSubShape
- */
-//============================================================================= 
-bool GEOM_Object::IsMainShape()
-{
-  Handle(GEOM_Function) aFunction = GetFunction(1);
-  if(aFunction == NULL || aFunction->GetDriverGUID() != GetSubShapeID()) return true;
-  return false;
-}
-
-
-//=============================================================================
-/*!
- *  AddFunction
- */
-//=============================================================================
-Handle(GEOM_Function) GEOM_Object::AddFunction(const Standard_GUID& theGUID, int theFunctionType)
-{
-  Standard_Integer nb = GetNbFunctions();
-  if(nb == 1 && theGUID == GetSubShapeID()) return NULL; //It's impossible to add a function to sub shape
-  nb++;
-  TDF_Label aChild = FUNCTION_LABEL(nb);
-
-  Handle(TDataStd_TreeNode) aNode = TDataStd_TreeNode::Set(aChild);
-  _root->Append(aNode);
-
-  Handle(GEOM_Function) aFunction = new GEOM_Function(aChild, theGUID, theFunctionType);
-
-  return aFunction;
-
-}
-
-//=============================================================================
-/*!
- *  GetNbFunctions
- */
-//=============================================================================
-int GEOM_Object::GetNbFunctions()
-{
-  Standard_Integer nb = 0;
-  for(TDataStd_ChildNodeIterator CI(_root); CI.More(); CI.Next()) nb++;
-  return nb;
-}
-
-//=============================================================================
-/*!
- *  GetFunction
- */
-//=============================================================================
-Handle(GEOM_Function) GEOM_Object::GetFunction(int theFunctionNumber)
-{
-  TDF_Label aChild = FUNCTION_LABEL(theFunctionNumber);
-  return GEOM_Function::GetFunction(aChild);
-}
-
-//=============================================================================
-/*!
- *  GetlastFunction
- */
-//=============================================================================
-Handle(GEOM_Function) GEOM_Object::GetLastFunction()
-{
-  Standard_Integer nb = GetNbFunctions();
-  if(nb) return GetFunction(nb);
-  return NULL;
-}
-
-
-//=============================================================================
-/*!
- *  GetAllDependency
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOM_Object::GetAllDependency()
-{
-  Handle(TColStd_HSequenceOfTransient) anArray;
-  TDF_LabelSequence aSeq;
-  Standard_Integer nb = GetNbFunctions();
-  if(nb == 0) return anArray;
-  for(Standard_Integer i=1; i<=nb; i++) {
-    Handle(GEOM_Function) aFunction = GetFunction(i);
-    if(aFunction.IsNull()) continue;
-    aFunction->GetDependency(aSeq);
-  }
-
-  Standard_Integer aLength = aSeq.Length();
-  if(aLength > 0) {    
-    anArray = new TColStd_HSequenceOfTransient;
-    for(Standard_Integer j =1; j<=aLength; j++)
-      anArray->Append(GetReferencedObject(aSeq(j)));
-  }
-  
-  return anArray;
-}
-
-//=============================================================================
-/*!
- *  GetLastDependency
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOM_Object::GetLastDependency()
-{
-  Handle(TColStd_HSequenceOfTransient) anArray;
-  Handle(GEOM_Function) aFunction = GetLastFunction();
-  if (aFunction.IsNull()) return anArray;
-
-  TDF_LabelSequence aSeq;
-  aFunction->GetDependency(aSeq);
-  Standard_Integer aLength = aSeq.Length();
-  if (aLength > 0) {
-    anArray = new TColStd_HSequenceOfTransient;
-    for (Standard_Integer i = 1; i <= aLength; i++)
-      anArray->Append(GetReferencedObject(aSeq(i)));
-  }
-
-  return anArray;
-}
-
-//=============================================================================
-/*!
- *  GetFreeLabel
- */
-//=============================================================================
-TDF_Label GEOM_Object::GetFreeLabel()
-{
-  return _label.FindChild(FREE_LABEL);
-}
-
-//=======================================================================
-//function :  GEOM_Object_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOM_Object_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_Object",
-                                                        sizeof(GEOM_Object),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-
-const Handle(GEOM_Object) Handle(GEOM_Object)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOM_Object) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_Object))) {
-       _anOtherObject = Handle(GEOM_Object)((Handle(GEOM_Object)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOM/GEOM_Object.hxx b/src/GEOM/GEOM_Object.hxx
deleted file mode 100644 (file)
index 00d5354..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-#ifndef _GEOM_Object_HeaderFile
-#define _GEOM_Object_HeaderFile
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_MMgt_TShared_HeaderFile
-#include <Handle_MMgt_TShared.hxx>
-#endif  
-#ifndef _MMgt_TShared_HeaderFile
-#include <MMgt_TShared.hxx>
-#endif  
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TDF_Label_HeaderFile
-#include <TDF_Label.hxx>
-#endif
-#ifndef _TColStd_HSequenceOfTransient_HeaderFile
-#include <TColStd_HSequenceOfTransient.hxx>
-#endif
-#ifndef _TCollection_AsciiString_HeaderFile
-#include <TCollection_AsciiString.hxx>
-#endif
-
-class Handle_TColStd_HSequenceOfTransient;
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(MMgt_TShared);
-class GEOM_Object;
-
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_Object);
-
-class Handle(GEOM_Object) : public Handle(MMgt_TShared) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOM_Object)():Handle(MMgt_TShared)() {} 
-    Handle(GEOM_Object)(const Handle(GEOM_Object)& aHandle) : Handle(MMgt_TShared)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_Object)(const GEOM_Object* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) 
-     {
-     }
-
-    Handle(GEOM_Object)& operator=(const Handle(GEOM_Object)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_Object)& operator=(const GEOM_Object* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_Object* operator->() 
-     {
-      return (GEOM_Object *)ControlAccess();
-     }
-
-    GEOM_Object* operator->() const 
-     {
-      return (GEOM_Object *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_Object)() {};
-   Standard_EXPORT static const Handle(GEOM_Object) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-
-
-#include <Standard_GUID.hxx>
-#include <TDataStd_TreeNode.hxx>
-#include "GEOM_Function.hxx"
-#include "GEOM_Engine.hxx"
-
-
-class GEOM_Object : public MMgt_TShared
-{
- friend class GEOM_Engine;     
-
- public:
-  inline void* operator new(size_t,void* anAddress) 
-    {
-      return anAddress;
-    }
-  inline void* operator new(size_t size) 
-    { 
-      return Standard::Allocate(size); 
-    }
-  inline void  operator delete(void *anAddress) 
-    { 
-      if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-    }
-  
-  // Type management
-  //
-  Standard_EXPORT friend Handle_Standard_Type& GEOM_Object_Type_();
-  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOM_Object) ; }
-  Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOM_Object) == AType || MMgt_TShared::IsKind(AType)); } 
-
- private:
-   GEOM_Object(TDF_Label& theLabel);  
-
- public:
-  Standard_EXPORT GEOM_Object(TDF_Label& theEntry, int theType);
-  Standard_EXPORT ~GEOM_Object() {;}
-
-  //Finds a GEOM_Object on the label theLabel
-  Standard_EXPORT static Handle(GEOM_Object) GetObject(TDF_Label& theLabel);
-
-  //Finds a GEOM_Object by a reference, stored on the label theLabel
-  Standard_EXPORT static Handle(GEOM_Object) GetReferencedObject(TDF_Label& theLabel);
-
-  //Returns a GEOM_Object common GUID
-  Standard_EXPORT static const Standard_GUID& GetObjectID();
-
-  //Returns a GUID associated with a sub shape object
-  Standard_EXPORT static const Standard_GUID& GetSubShapeID();
-
-  //###########################################################
-  //Access to properties 
-  //###########################################################
-
-  //Returns a TreeNode that presents a root of a function tree for this GEOM_Object
-  Standard_EXPORT Handle(TDataStd_TreeNode) GetRootNode() { return _root; } 
-  
-  //Returns a label of this GEOM_Object
-  Standard_EXPORT TDF_Label GetEntry() { return _label; }
-  
-  //Returns a type of this GEOM_Object (GEOM_POINT, GEOM_VECTOR...)
-  Standard_EXPORT int GetType();      
-
-  //Sets the type of this GEOM_Object
-  Standard_EXPORT void SetType(int theType);
-  
-  //Returns an ID of the OCAF document where this GEOM_Object is stored
-  Standard_EXPORT int GetDocID(); 
-
-  //Returns a value (as TopoDS_Shape) of this GEOM_Object 
-  Standard_EXPORT TopoDS_Shape GetValue();
-
-  //Sets a name of this GEOM_Object
-  Standard_EXPORT void SetName(const char* theName);
-
-  //Returns a name of this GEOM_Object
-  Standard_EXPORT char* GetName();
-
-  //Sets an auxiliary data
-  Standard_EXPORT void SetAuxData(const char* theData);
-
-  //Returns an auxiliary data
-  Standard_EXPORT TCollection_AsciiString GetAuxData();
-
-  //###########################################################  
-  // Sub shape methods
-  //###########################################################
-  
-  //Returns false if the object is a sub shape of another object
-  Standard_EXPORT bool IsMainShape();
-
- //###########################################################  
- // CORBA related methods
- //###########################################################
- //Sets an IOR of CORBA GEOM_Object_i which refers to this object
- Standard_EXPORT void SetIOR(TCollection_AsciiString& theIOR) { _ior = theIOR; }
-
- //Returns an IOR of CORBA GEOM_Object_i which refers to this object
- Standard_EXPORT TCollection_AsciiString GetIOR() { return _ior; }
-
-  //###########################################################
-  //Functions methods
-  //###########################################################
-
-  //Adds a function with a driver GUID = theGUID and a type theFunctionType to the function tree of this GEOM_Object
-  Standard_EXPORT Handle(GEOM_Function) AddFunction(const Standard_GUID& theGUID, int theFunctionType);
-  
-  //Returns a number of functions of this GEOM_Object
-  Standard_EXPORT int GetNbFunctions(); 
-  
-  //Returns a function with given number theFunctionNumber
-  Standard_EXPORT Handle(GEOM_Function) GetFunction(int theFunctionNumber);
-  
-  //Return the last function of this GEOM_Object
-  Standard_EXPORT Handle(GEOM_Function) GetLastFunction();
-
-  //Returns all dependencies of the object
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetAllDependency();
-
-  //Returns the dependencies of the last function
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetLastDependency();
-
- //###########################################################  
- // Internal methods
- //###########################################################
-
- //Returns a label which could be used to store some additional data
- Standard_EXPORT TDF_Label GetFreeLabel();
-
- private:
-
-  Handle(TDataStd_TreeNode) _root;
-  TDF_Label    _label;
-  TCollection_AsciiString _ior;
-};
-
-#endif
diff --git a/src/GEOM/GEOM_PythonDump.cxx b/src/GEOM/GEOM_PythonDump.cxx
deleted file mode 100644 (file)
index ee18fca..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-
-#include "GEOM_PythonDump.hxx"
-
-#include <TDF_Tool.hxx>
-
-namespace GEOM
-{
-  size_t TPythonDump::myCounter = 0;
-
-  TPythonDump::TPythonDump (Handle(GEOM_Function)& theFunction)
-  {
-    myFunction = theFunction;
-    myCounter++;
-  }
-
-  TPythonDump::~TPythonDump()
-  {
-    if (--myCounter == 0) {
-      myFunction->SetDescription((char *)myStream.str().c_str());
-    }
-  }
-
-//  TPythonDump::operator TCollection_AsciiString () const
-//  {
-//    if (myCounter == 1) {
-//      return TCollection_AsciiString ((char *)myStream.str().c_str());
-//    }
-//    return TCollection_AsciiString ();
-//  }
-
-  TPythonDump& TPythonDump::operator<< (long int theArg)
-  {
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (int theArg)
-  {
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (double theArg)
-  {
-    myStream.precision(16);
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (float theArg)
-  {
-    myStream.precision(8);
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (const void* theArg)
-  {
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (const char* theArg)
-  {
-    myStream<<theArg;
-    return *this;
-  }
-
-  TPythonDump& TPythonDump::operator<< (const Handle(GEOM_Object)& theObject)
-  {
-    TCollection_AsciiString anEntry;
-    TDF_Tool::Entry(theObject->GetEntry(), anEntry);
-    myStream << anEntry.ToCString();
-    return *this;
-  }
-}
diff --git a/src/GEOM/GEOM_PythonDump.hxx b/src/GEOM/GEOM_PythonDump.hxx
deleted file mode 100644 (file)
index 2bac138..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-
-#ifndef _GEOM_PYTHONDUMP_HXX_
-#define _GEOM_PYTHONDUMP_HXX_
-
-#include <SALOMEconfig.h>
-
-#include "GEOM_Object.hxx"
-#include "GEOM_Function.hxx"
-
-#include <TCollection_AsciiString.hxx>
-
-namespace GEOM
-{
-  class TPythonDump
-  {
-    std::ostringstream myStream;
-    static size_t myCounter;
-
-    Handle(GEOM_Function) myFunction;
-
-  public:
-    Standard_EXPORT TPythonDump (Handle(GEOM_Function)& theFunction);
-    Standard_EXPORT virtual ~TPythonDump();
-
-//    operator TCollection_AsciiString () const;
-
-    Standard_EXPORT TPythonDump& operator<< (long int theArg);
-    Standard_EXPORT TPythonDump& operator<< (int theArg);
-    Standard_EXPORT TPythonDump& operator<< (double theArg);
-    Standard_EXPORT TPythonDump& operator<< (float theArg);
-    Standard_EXPORT TPythonDump& operator<< (const void* theArg);
-    Standard_EXPORT TPythonDump& operator<< (const char* theArg);
-    Standard_EXPORT TPythonDump& operator<< (const Handle(GEOM_Object)& theObject);
-  };
-}
-
-#endif
diff --git a/src/GEOM/GEOM_Solver.cxx b/src/GEOM/GEOM_Solver.cxx
deleted file mode 100644 (file)
index bdecce3..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-#include "GEOM_Solver.hxx"
-#include <TDF_Label.hxx>
-#include <TFunction_Function.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TFunction_DriverTable.hxx>
-#include "GEOM_Function.hxx"
-#include <Standard_GUID.hxx>
-
-//=============================================================================
-/*!
- *  Update
- */
-//=============================================================================
-bool GEOM_Solver::Update(int theDocID, TDF_LabelSequence& theSeq)
-{
-  return false;
-} 
-
-//=============================================================================
-/*!
- *  UpdateObject
- */
-//=============================================================================
-bool GEOM_Solver::UpdateObject(Handle(GEOM_Object) theObject, TDF_LabelSequence& theSeq)
-{
-  return false;
-}
-
-//=============================================================================
-/*!
- *  ComputeFunction
- */
-//=============================================================================  
-bool GEOM_Solver::ComputeFunction(Handle(GEOM_Function) theFunction)
-{
-  if(theFunction == NULL) return false;
-  Standard_GUID aGUID = theFunction->GetDriverGUID();
-      
-  Handle(TFunction_Driver) aDriver;
-  if(!TFunction_DriverTable::Get()->FindDriver(aGUID, aDriver)) return false;
-         
-  aDriver->Init(theFunction->GetEntry());
-           
-  TFunction_Logbook aLog;
-  if(aDriver->Execute(aLog) == 0) return false;
-               
-  return true;     
-}
diff --git a/src/GEOM/GEOM_Solver.hxx b/src/GEOM/GEOM_Solver.hxx
deleted file mode 100644 (file)
index b84d469..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-
-#ifndef _GEOM_Solver_HXX_
-#define _GEOM_Solver_HXX_
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include "GEOM_Function.hxx"
-
-#include <TDF_LabelSequence.hxx>
-
-class GEOM_Solver
-{
- public:
-  Standard_EXPORT GEOM_Solver(GEOM_Engine* theEngine) :_engine(theEngine) {}
-  Standard_EXPORT ~GEOM_Solver() {}
-
-  //Update the values of all GEOM_Object in the document theDocID, theSeq will contain a list of touched labels
-  //Note: not Implemented
-  Standard_EXPORT bool Update(int theDocID, TDF_LabelSequence& theSeq); 
-  //Updates a value of theObject, theSeq will contain a list of touched labels
-  //Note: not implemented
-  Standard_EXPORT bool UpdateObject(Handle(GEOM_Object) theObject, TDF_LabelSequence& theSeq);
-
-  //Recomputes a function
-  Standard_EXPORT bool ComputeFunction(Handle(GEOM_Function) theFunction);
-
- private:
-
-  GEOM_Engine* _engine;    
-
-};
-
-#endif
diff --git a/src/GEOM/GEOM_SubShapeDriver.cxx b/src/GEOM/GEOM_SubShapeDriver.cxx
deleted file mode 100644 (file)
index 24d80aa..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOM_SubShapeDriver.hxx>
-#include <GEOM_ISubShape.hxx>
-#include <GEOM_Function.hxx>
-#include <GEOM_Object.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepGProp.hxx>
-
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopTools_Array1OfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <GProp_GProps.hxx>
-#include <gp_Pnt.hxx>
-#include <TColStd_Array1OfReal.hxx>
-
-#include <Precision.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_TypeMismatch.hxx>
-
-
-//=======================================================================
-//function : GEOM_SubShapeDriver
-//purpose  :
-//=======================================================================
-GEOM_SubShapeDriver::GEOM_SubShapeDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOM_SubShapeDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOM_ISubShape aCI (aFunction);
-
-  TDF_Label aLabel = aCI.GetMainShape()->GetOwnerEntry();
-  if (aLabel.IsRoot()) return 0;
-  Handle(GEOM_Object) anObj = GEOM_Object::GetObject(aLabel);
-  if (anObj.IsNull()) return 0;
-  TopoDS_Shape aMainShape = anObj->GetValue();
-  if (aMainShape.IsNull()) return 0;
-
-  Handle(TColStd_HArray1OfInteger) anIndices = aCI.GetIndices();
-  if (anIndices.IsNull() || anIndices->Length() <= 0) return 0;
-
-  BRep_Builder B;
-  TopoDS_Compound aCompound;
-  TopoDS_Shape aShape;
-
-  if (anIndices->Length() == 1 && anIndices->Value(1) == -1) { //The empty subshape
-    B.MakeCompound(aCompound);
-    aShape = aCompound;
-
-  } else {
-
-    TopTools_IndexedMapOfShape aMapOfShapes;
-    TopExp::MapShapes(aMainShape, aMapOfShapes);
-
-    if (anIndices->Length() > 1) {
-
-      B.MakeCompound(aCompound);
-
-      for (int i = anIndices->Lower(); i<= anIndices->Upper(); i++) {
-       if (aMapOfShapes.Extent() < anIndices->Value(i))
-         Standard_NullObject::Raise("GEOM_SubShapeDriver::Execute: Index is out of range");
-       TopoDS_Shape aSubShape = aMapOfShapes.FindKey(anIndices->Value(i));
-       if (aSubShape.IsNull()) continue;
-       B.Add(aCompound,aSubShape);
-      }
-
-      aShape = aCompound;
-
-    } else {
-
-      if (aMapOfShapes.Extent() < anIndices->Value(1))
-        Standard_NullObject::Raise("GEOM_SubShapeDriver::Execute: Index is out of range");
-      aShape = aMapOfShapes.FindKey(anIndices->Value(1));
-    }
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOM_SubShapeDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOM_SubShapeDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_SubShapeDriver",
-                                                        sizeof(GEOM_SubShapeDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOM_SubShapeDriver) Handle(GEOM_SubShapeDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOM_SubShapeDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_SubShapeDriver))) {
-       _anOtherObject = Handle(GEOM_SubShapeDriver)((Handle(GEOM_SubShapeDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOM/GEOM_SubShapeDriver.hxx b/src/GEOM/GEOM_SubShapeDriver.hxx
deleted file mode 100644 (file)
index a1f9b33..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ShapeDriver.ixx
-//  Module : GEOM
-
-#ifndef _GEOM_SubShapeDriver_HeaderFile
-#define _GEOM_SubShapeDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOM_SubShapeDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_SubShapeDriver);
-
-class Handle(GEOM_SubShapeDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOM_SubShapeDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOM_SubShapeDriver)(const Handle(GEOM_SubShapeDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_SubShapeDriver)(const GEOM_SubShapeDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOM_SubShapeDriver)& operator=(const Handle(GEOM_SubShapeDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_SubShapeDriver)& operator=(const GEOM_SubShapeDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_SubShapeDriver* operator->() 
-     {
-      return (GEOM_SubShapeDriver *)ControlAccess();
-     }
-
-    GEOM_SubShapeDriver* operator->() const 
-     {
-      return (GEOM_SubShapeDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_SubShapeDriver)() {};
-   Standard_EXPORT static const Handle(GEOM_SubShapeDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOM_SubShapeDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_SubShapeDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOM_SubShapeDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOM_SubShapeDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOM_SubShapeDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOM_SubShapeDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOM/Handle_GEOM_Application.hxx b/src/GEOM/Handle_GEOM_Application.hxx
deleted file mode 100644 (file)
index f1dfa9e..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-//  File   : Handle_GEOM_Application.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_Application_HeaderFile
-#define _Handle_GEOM_Application_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TDocStd_Application_HeaderFile
-#include <Handle_TDocStd_Application.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TDocStd_Application);
-class GEOM_Application;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SimpleOCAF_Application);
-
-class Handle(GEOM_Application) : public Handle(TDocStd_Application) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_Application)():Handle(TDocStd_Application)() {} 
-    Handle(GEOM_Application)(const Handle(GEOM_Application)& aHandle) : Handle(TDocStd_Application)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_Application)(const GEOM_Application* anItem) : Handle(TDocStd_Application)((TDocStd_Application *)anItem) 
-     {
-     }
-
-    Handle(GEOM_Application)& operator=(const Handle(GEOM_Application)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_Application)& operator=(const GEOM_Application* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_Application* operator->() 
-     {
-      return (GEOM_Application *)ControlAccess();
-     }
-
-    GEOM_Application* operator->() const 
-     {
-      return (GEOM_Application *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_Application)();
-   Standard_EXPORT static const Handle(GEOM_Application) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOM/Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx b/src/GEOM/Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
deleted file mode 100644 (file)
index f93d447..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-#define _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient);
-
-class Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)(const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)(const GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& operator=(const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)& operator=(const GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* operator->() 
-     {
-      return (GEOM_DataMapNodeOfDataMapOfAsciiStringTransient *)ControlAccess();
-     }
-
-    GEOM_DataMapNodeOfDataMapOfAsciiStringTransient* operator->() const 
-     {
-      return (GEOM_DataMapNodeOfDataMapOfAsciiStringTransient *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient)();
-   Standard_EXPORT static const Handle(GEOM_DataMapNodeOfDataMapOfAsciiStringTransient) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOM/Makefile.in b/src/GEOM/Makefile.in
deleted file mode 100644 (file)
index ab77d8d..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOMbasic.la 
-LIB_SRC = GEOM_Application.cxx \
-         GEOM_Engine.cxx \
-         GEOM_Function.cxx \
-         GEOM_Object.cxx \
-         GEOM_IOperations.cxx \
-         GEOM_Solver.cxx \
-         GEOM_SubShapeDriver.cxx \
-         GEOM_PythonDump.cxx \
-         GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx \
-         GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx \
-         GEOM_DataMapOfAsciiStringTransient_0.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# Executables targets
-BIN =
-BIN_SRC =
-BIN_CLIENT_IDL = 
-BIN_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS= GEOM_Application.hxx \
-               Handle_GEOM_Application.hxx \
-               GEOM_Engine.hxx \
-               GEOM_Function.hxx \
-               GEOM_Object.hxx \
-               GEOM_IOperations.hxx \
-               GEOM_ISubShape.hxx \
-               GEOM_Solver.hxx \
-               GEOM_PythonDump.hxx \
-               GEOM_DataMapOfAsciiStringTransient.hxx \
-               Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS) 
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += -L${KERNEL_ROOT_DIR}/lib/salome $(CAS_LDPATH) $(CAS_OCAF)
-
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
-
diff --git a/src/GEOM/geom.cxx b/src/GEOM/geom.cxx
deleted file mode 100644 (file)
index 2c83852..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//  GEOM GEOM : implementaion of GEOM_Gen.idl
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : geom.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include <Standard_Stream.hxx>
-
-#include <CORBA.h>
-#include <GEOM_Gen_i.hh>
-#include <SALOME_NamingService.hxx>
-
-//==================================================================================
-// function : main()                      MAIN 
-// purpose  :
-//==================================================================================
-int main(int argc, char** argv)
-{
-  try {
-    // Create and initialise the ORB.
-    //    CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB4");
-    CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB3");
-    
-    // Obtain a reference to the root POA.
-    CORBA::Object_var obj = orb->resolve_initial_references("RootPOA");
-    PortableServer::POA_var poa = PortableServer::POA::_narrow(obj);
-
-    // We allocate the objects on the heap.  Since these are reference
-    // counted objects, they will be deleted by the POA when they are no
-    // longer needed.    
-#ifdef WNT
-    GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i((CORBA::ORB_ptr)orb, poa, 0, 0, 0 );
-#else
-    GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb);
-#endif
-
-    // Activate the objects.  This tells the POA that the objects are
-    // ready to accept requests.
-    PortableServer::ObjectId_var myGEOM_Gen_iid = poa->activate_object(myGEOM_Gen_i);
-    myGEOM_Gen_i->register_name("/myGEOM_Gen");
-    // Obtain a POAManager, and tell the POA to start accepting
-    // requests on its objects.
-    PortableServer::POAManager_var pman = poa->the_POAManager();
-    pman->activate();
-
-    orb->run();
-    orb->destroy();
-  }
-  catch(CORBA::SystemException&) {
-    cerr << "Caught CORBA::SystemException." << endl;
-  }
-  catch(CORBA::Exception&) {
-    cerr << "Caught CORBA::Exception." << endl;
-  }
-  catch(omniORB::fatalException& fe) {
-    cerr << "Caught omniORB::fatalException:" << endl;
-    cerr << "  file: " << fe.file() << endl;
-    cerr << "  line: " << fe.line() << endl;
-    cerr << "  msg: " << fe.errmsg() << endl;
-  }
-  catch(...) {
-    cerr << "Caught unknown exception." << endl;
-  }
-  return 0;
-}
diff --git a/src/GEOMAlgo/BlockFix.cdl b/src/GEOMAlgo/BlockFix.cdl
deleted file mode 100644 (file)
index f8bfaa2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- File:       BlockFix.cdl
--- Created:    Tue Dec  7 11:59:05 2004
--- Author:     Pavel Durandin
---             <det@doomox>
----Copyright:  Open CASCADE SA 2004
-
-
-
-
-package BlockFix
-
-uses
-
-    TColStd,
-    gp,
-    Geom,
-    Geom2d,
-    GeomAbs,
-    TopLoc,
-    TopoDS,
-    BRepTools,
-    TopTools,
-    ShapeBuild
-
-is
-
-    class SphereSpaceModifier;
-    
-    class UnionFaces;
-    
-    class UnionEdges;
-    
-    class BlockFixAPI;
-       ---Purpose: API class to perform the fixing of the
-       --          block
-    
-    class PeriodicSurfaceModifier;
-
-    class CheckTool;
-    
-    RotateSphereSpace (S: Shape from TopoDS; Tol: Real)
-    returns Shape from TopoDS;
-
-    FixRanges (S: Shape from TopoDS; Tol: Real)
-    returns Shape from TopoDS;
-       ---Purpose: checking and fixing cases where parametric
-       --          boundaries of face based on periodic surface are not
-       --          contained in the range of this surface.
-
-end BlockFix;
diff --git a/src/GEOMAlgo/BlockFix.cxx b/src/GEOMAlgo/BlockFix.cxx
deleted file mode 100644 (file)
index aadc176..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// File:       BlockFix.cxx
-// Created:    Tue Dec  7 11:59:05 2004
-// Author:     Pavel DURANDIN
-// Copyright:  Open CASCADE SA 2004
-
-
-#include <BlockFix.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <ShapeCustom.hxx>
-#include <BRepTools.hxx>
-#include <ShapeBuild_ReShape.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS.hxx>
-#include <TopLoc_Location.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_CylindricalSurface.hxx>
-#include <Geom_ConicalSurface.hxx>
-#include <ShapeFix_Wire.hxx>
-#include <TopoDS_Wire.hxx>
-#include <BRepTools_Modifier.hxx>
-#include <Geom_SphericalSurface.hxx>
-#include <Geom_ToroidalSurface.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS_Edge.hxx>
-#include <Geom2d_Curve.hxx>
-#include <BRep_Builder.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <ShapeFix.hxx>
-#include <ShapeFix_Face.hxx>
-#include <ShapeAnalysis.hxx>
-
-#include <TColgp_SequenceOfPnt2d.hxx>
-#include <ShapeAnalysis_Curve.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <ShapeBuild_Edge.hxx>
-
-#include <BlockFix_SphereSpaceModifier.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <BlockFix_PeriodicSurfaceModifier.hxx>
-
-#include <TopoDS_Solid.hxx>
-
-
-//=======================================================================
-//function : FixResult
-//purpose  : auxilary
-//=======================================================================
-static void FixResult(const TopoDS_Shape& result,
-                      Handle(ShapeBuild_ReShape)& Context,
-                      const Standard_Real Tol)
-{
-  for (TopExp_Explorer ex_f(result,TopAbs_FACE); ex_f.More(); ex_f.Next()) {
-    TopoDS_Shape aShape = Context->Apply(ex_f.Current().Oriented(TopAbs_FORWARD));
-    // face coud not be dropped or splitted on this step
-    TopoDS_Face aFace = TopoDS::Face(aShape);
-    TopLoc_Location L;
-    Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
-    
-    if( Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
-        Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface)) ) {
-    
-      Standard_Integer nbWires = 0;
-      for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) {
-        nbWires++;
-        Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire(TopoDS::Wire(ex_w.Current()), 
-                                                      aFace, 
-                                                      Precision::Confusion());
-        sfw->FixReorder();
-        if(sfw->StatusReorder ( ShapeExtend_FAIL ))
-          continue;
-        
-        sfw->SetPrecision(2.*Tol);
-        sfw->FixShifted();
-        
-        Standard_Boolean isDone = sfw->LastFixStatus ( ShapeExtend_DONE );
-        isDone |= sfw->FixDegenerated();
-        
-        // remove degenerated edges from not degenerated points
-        ShapeAnalysis_Edge sae;
-        Handle(ShapeExtend_WireData) sewd = sfw->WireData();
-        Standard_Integer i;
-        for( i = 1; i<=sewd->NbEdges();i++) {
-          TopoDS_Edge E = sewd->Edge(i);
-          if(BRep_Tool::Degenerated(E)&&!sae.HasPCurve(E,aFace)) {
-            sewd->Remove(i);
-            isDone = Standard_True;
-            i--;
-          }
-        }
-        
-        //isDone |= sfw->FixLacking(); // commented by skl 22.03.2005 (PAL8395)
-        
-        // remove neighbour seam edges 
-        if(isDone) {
-          for( i = 1; i<sewd->NbEdges();i++) {
-            if(sewd->IsSeam(i) && sewd->IsSeam(i+1)) {
-              isDone = Standard_True;
-              sewd->Remove(i);
-              sewd->Remove(i);
-              i--;
-            }
-          }
-          if(sewd->IsSeam(1) && sewd->IsSeam(sewd->NbEdges())) {
-            sewd->Remove(1);
-            sewd->Remove(sewd->NbEdges());
-          }
-        }
-        
-               
-        if(isDone) {
-          TopoDS_Wire ResWire = sfw->Wire();
-          Context->Replace(ex_w.Current(), ResWire);
-        };
-      }
-      // Implement fix orientation in case of several wires
-      if(nbWires > 1) {
-        TopoDS_Face aFixedFace = TopoDS::Face(Context->Apply(aFace));
-        Handle(ShapeFix_Face) sff = new ShapeFix_Face(aFixedFace);
-        if(sff->FixOrientation())
-          Context->Replace(aFixedFace,sff->Face());
-      }
-      
-    }
-  }
-}
-
-
-
-
-
-//=======================================================================
-//function : ConvertToAnalytical
-//purpose  : 
-//=======================================================================
-
-TopoDS_Shape BlockFix::RotateSphereSpace (const TopoDS_Shape& S,
-                                          const Standard_Real Tol) 
-{
-
-  // Create a modification description
-  Handle(BlockFix_SphereSpaceModifier) SR = new BlockFix_SphereSpaceModifier;
-  SR->SetTolerance(Tol);
-
-  TopTools_DataMapOfShapeShape context;
-  BRepTools_Modifier MD;
-  TopoDS_Shape result = ShapeCustom::ApplyModifier ( S, SR, context,MD );
-  
-  Handle(ShapeBuild_ReShape) RS = new ShapeBuild_ReShape;
-  FixResult(result,RS,Tol);
-  result = RS->Apply(result);
-  
-  ShapeFix_Edge sfe;
-  for(TopExp_Explorer exp(result,TopAbs_EDGE); exp.More(); exp.Next()) {
-    TopoDS_Edge E = TopoDS::Edge(exp.Current());
-    sfe.FixVertexTolerance (E);
-  }
-  
-  ShapeFix::SameParameter(result,Standard_False);
-  return result;
-}
-
-
-//=======================================================================
-//function : FixRanges
-//purpose  : 
-//=======================================================================
-
-TopoDS_Shape BlockFix::FixRanges (const TopoDS_Shape& S,
-                                  const Standard_Real Tol) 
-{
-  // Create a modification description
-  Handle(BlockFix_PeriodicSurfaceModifier) SR = new BlockFix_PeriodicSurfaceModifier;
-  SR->SetTolerance(Tol);
-
-  TopTools_DataMapOfShapeShape context;
-  BRepTools_Modifier MD;
-  TopoDS_Shape result = ShapeCustom::ApplyModifier ( S, SR, context,MD );
-  
-  Handle(ShapeBuild_ReShape) RS = new ShapeBuild_ReShape;
-  FixResult(result,RS,Tol);
-  result = RS->Apply(result);
-  
-  ShapeFix_Edge sfe;
-  for(TopExp_Explorer exp(result,TopAbs_EDGE); exp.More(); exp.Next()) {
-    TopoDS_Edge E = TopoDS::Edge(exp.Current());
-    sfe.FixVertexTolerance (E);
-  }
-  
-  ShapeFix::SameParameter(result,Standard_False);
-
-  return result;
-}
diff --git a/src/GEOMAlgo/BlockFix.hxx b/src/GEOMAlgo/BlockFix.hxx
deleted file mode 100644 (file)
index c85590e..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_HeaderFile
-#define _BlockFix_HeaderFile
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class TopoDS_Shape;
-class BlockFix_SphereSpaceModifier;
-class BlockFix_UnionFaces;
-class BlockFix_UnionEdges;
-class BlockFix_BlockFixAPI;
-class BlockFix_PeriodicSurfaceModifier;
-class BlockFix_CheckTool;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class BlockFix  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  TopoDS_Shape RotateSphereSpace(const TopoDS_Shape& S,const Standard_Real Tol) ;
-Standard_EXPORT static  TopoDS_Shape FixRanges(const TopoDS_Shape& S,const Standard_Real Tol) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-friend class BlockFix_SphereSpaceModifier;
-friend class BlockFix_UnionFaces;
-friend class BlockFix_UnionEdges;
-friend class BlockFix_BlockFixAPI;
-friend class BlockFix_PeriodicSurfaceModifier;
-friend class BlockFix_CheckTool;
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix.ixx b/src/GEOMAlgo/BlockFix.ixx
deleted file mode 100644 (file)
index ad18c4b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix.jxx>
-
-
-
diff --git a/src/GEOMAlgo/BlockFix.jxx b/src/GEOMAlgo/BlockFix.jxx
deleted file mode 100644 (file)
index 649432a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BlockFix_HeaderFile
-#include <BlockFix.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.cdl b/src/GEOMAlgo/BlockFix_BlockFixAPI.cdl
deleted file mode 100644 (file)
index b5cfa0e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- File:       BlockFix_BlockFixAPI.cdl
--- Created:    Tue Dec  7 17:56:09 2004
--- Author:     Pavel Durandin
---             <det@doomox>
----Copyright:  Open CASCADE SA 2004
-
-class BlockFixAPI from BlockFix inherits TShared from MMgt
-
-       ---Purpose: 
-
-uses
-
-    Shape from TopoDS,
-    ReShape from ShapeBuild 
-
-is
-    Create returns BlockFixAPI from BlockFix;
-       ---Purpose: Empty constructor
-       
-    SetShape(me: mutable; Shape: Shape from TopoDS);
-       ---Purpose: Sets the shape to be operated on
-       ---C++: inline
-
-    Perform(me: mutable);
-       ---Purpose: 
-       
-    Shape(me) returns Shape from TopoDS;
-       ---Purpose: Returns resulting shape.
-       ---C++: inline
-    
-    Context(me:mutable) returns ReShape from ShapeBuild;
-       ---Purpose: Returns modifiable context for storing the 
-       --          mofifications
-       ---C++: inline
-       ---C++: return &
-    
-    Tolerance (me:mutable) returns Real;
-       ---Purpose: Returns modifiable tolerance of recognition
-       ---C++: inline
-       ---C++: return &
-
-fields
-    
-    myContext     : ReShape from ShapeBuild;
-    myShape       : Shape from TopoDS;
-    myTolerance   : Real from Standard;
-  
-end BlockFixAPI from BlockFix;
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.cxx b/src/GEOMAlgo/BlockFix_BlockFixAPI.cxx
deleted file mode 100644 (file)
index 444ddd6..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-// File:       BlockFix_BlockFixAPI.cxx
-// Created:    Tue Dec  7 11:59:05 2004
-// Author:     Pavel DURANDIN
-// Copyright:  Open CASCADE SA 2004
-
-
-#include <BlockFix_BlockFixAPI.ixx>
-#include <BlockFix.hxx>
-#include <BlockFix_UnionFaces.hxx>
-#include <BlockFix_UnionEdges.hxx>
-#include <Precision.hxx>
-
-//=======================================================================
-//function : ShapeConvert_CanonicAPI
-//purpose  : 
-//=======================================================================
-
-BlockFix_BlockFixAPI::BlockFix_BlockFixAPI()
-{
-  myTolerance = Precision::Confusion();
-}
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-void BlockFix_BlockFixAPI::Perform() 
-{
-
-  // processing spheres with degenerativities
-  TopoDS_Shape aShape = Shape();
-  myShape = BlockFix::RotateSphereSpace(aShape,myTolerance);
-  
-  // faces unification
-  BlockFix_UnionFaces aFaceUnifier;
-  aFaceUnifier.GetTolerance() = myTolerance;
-  TopoDS_Shape aResult;
-  aResult = aFaceUnifier.Perform(myShape);
-  
-  
-  BlockFix_UnionEdges anEdgeUnifier;
-  myShape = anEdgeUnifier.Perform(aResult,myTolerance);
-  
-  TopoDS_Shape aRes = BlockFix::FixRanges(myShape,myTolerance);
-  myShape = aRes;
-  
-}
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.hxx b/src/GEOMAlgo/BlockFix_BlockFixAPI.hxx
deleted file mode 100644 (file)
index 9eb2198..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_BlockFixAPI_HeaderFile
-#define _BlockFix_BlockFixAPI_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_BlockFix_BlockFixAPI_HeaderFile
-#include <Handle_BlockFix_BlockFixAPI.hxx>
-#endif
-
-#ifndef _Handle_ShapeBuild_ReShape_HeaderFile
-#include <Handle_ShapeBuild_ReShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _MMgt_TShared_HeaderFile
-#include <MMgt_TShared.hxx>
-#endif
-class ShapeBuild_ReShape;
-class TopoDS_Shape;
-
-
-class BlockFix_BlockFixAPI : public MMgt_TShared {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_BlockFixAPI();
-  void SetShape(const TopoDS_Shape& Shape) ;
-Standard_EXPORT   void Perform() ;
-  TopoDS_Shape Shape() const;
-  Handle_ShapeBuild_ReShape& Context() ;
-  Standard_Real& Tolerance() ;
-Standard_EXPORT ~BlockFix_BlockFixAPI();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& BlockFix_BlockFixAPI_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Handle_ShapeBuild_ReShape myContext;
-TopoDS_Shape myShape;
-Standard_Real myTolerance;
-
-
-};
-
-
-#include <BlockFix_BlockFixAPI.lxx>
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.ixx b/src/GEOMAlgo/BlockFix_BlockFixAPI.ixx
deleted file mode 100644 (file)
index 4fc77f4..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_BlockFixAPI.jxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-BlockFix_BlockFixAPI::~BlockFix_BlockFixAPI() {}
-
-
-Standard_EXPORT Handle_Standard_Type& BlockFix_BlockFixAPI_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("BlockFix_BlockFixAPI",
-                                                        sizeof(BlockFix_BlockFixAPI),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(BlockFix_BlockFixAPI) Handle(BlockFix_BlockFixAPI)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(BlockFix_BlockFixAPI) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(BlockFix_BlockFixAPI))) {
-       _anOtherObject = Handle(BlockFix_BlockFixAPI)((Handle(BlockFix_BlockFixAPI)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& BlockFix_BlockFixAPI::DynamicType() const 
-{ 
-  return STANDARD_TYPE(BlockFix_BlockFixAPI) ; 
-}
-Standard_Boolean BlockFix_BlockFixAPI::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(BlockFix_BlockFixAPI) == AType || MMgt_TShared::IsKind(AType)); 
-}
-Handle_BlockFix_BlockFixAPI::~Handle_BlockFix_BlockFixAPI() {}
-
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.jxx b/src/GEOMAlgo/BlockFix_BlockFixAPI.jxx
deleted file mode 100644 (file)
index a02004d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _ShapeBuild_ReShape_HeaderFile
-#include <ShapeBuild_ReShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BlockFix_BlockFixAPI_HeaderFile
-#include <BlockFix_BlockFixAPI.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_BlockFixAPI.lxx b/src/GEOMAlgo/BlockFix_BlockFixAPI.lxx
deleted file mode 100644 (file)
index f3de13a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#include <BlockFix_BlockFixAPI.hxx>
-
-//=======================================================================
-//function : Shape
-//purpose  : 
-//=======================================================================
-
-inline void BlockFix_BlockFixAPI::SetShape(const TopoDS_Shape& Shape)
-{
-  myShape = Shape;
-}
-
-//=======================================================================
-//function : Shape
-//purpose  : 
-//=======================================================================
-
-inline TopoDS_Shape BlockFix_BlockFixAPI::Shape() const
-{
-  return myShape;
-}
-  
-//=======================================================================
-//function : Context
-//purpose  : 
-//=======================================================================
-
-inline Handle(ShapeBuild_ReShape)& BlockFix_BlockFixAPI::Context()
-{
-  return myContext;
-}
-  
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-
-inline Standard_Real& BlockFix_BlockFixAPI::Tolerance()
-{
-  return myTolerance;
-}
-  
diff --git a/src/GEOMAlgo/BlockFix_CheckTool.cdl b/src/GEOMAlgo/BlockFix_CheckTool.cdl
deleted file mode 100644 (file)
index d05d517..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- File:       BlockFix_CheckTool.cdl
--- Created:    Fri Dec 17 10:36:58 2004
--- Author:     Sergey KUUL
---             <skl@strelox.nnov.matra-dtv.fr>
----Copyright:  Open CASCADE SA 2004
-
-class CheckTool from BlockFix
-
-       ---Purpose:
-       
-uses
-
-    Shape from TopoDS,
-    SequenceOfShape from TopTools
-
-is
-
-    Create returns CheckTool from BlockFix;
-       ---Purpose: Empty constructor
-    
-    SetShape(me: in out; aShape: Shape from TopoDS);
-
-    Perform(me: in out);
-       ---Purpose: 
-       
-    NbPossibleBlocks(me) returns Integer;
-    
-    PossibleBlock(me; num: Integer) returns Shape from TopoDS;
-
-    DumpCheckResult(me; S : in out OStream);
-       ---Purpose: Dumps results of checking 
-
-
-fields
-
-    myShape      : Shape from TopoDS;
-    myHasCheck   : Boolean;
-    myNbSolids   : Integer;
-    myNbBlocks   : Integer;
-    myPossibleBlocks : SequenceOfShape from TopTools;
-    myNbDegen    : Integer;
-    myNbUF       : Integer;
-    myNbUE       : Integer;
-    myNbUFUE     : Integer;
-    myBadRanges  : Integer;
-    
-end CheckTool;
diff --git a/src/GEOMAlgo/BlockFix_CheckTool.cxx b/src/GEOMAlgo/BlockFix_CheckTool.cxx
deleted file mode 100644 (file)
index 2c386c9..0000000
+++ /dev/null
@@ -1,241 +0,0 @@
-// File:      BlockFix_CheckTool.cxx
-// Created:   17.12.04 11:15:25
-// Author:    Sergey KUUL
-// Copyright: Open CASCADE SA 2004
-
-#include <BlockFix_CheckTool.ixx>
-
-#include <BRep_Tool.hxx>
-#include <BlockFix_UnionEdges.hxx>
-#include <BlockFix_UnionFaces.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-
-//=======================================================================
-//function : BlockFix_CheckTool()
-//purpose  : Constructor
-//=======================================================================
-
-BlockFix_CheckTool::BlockFix_CheckTool( )
-{
-  myHasCheck = Standard_False;
-  myPossibleBlocks.Clear();
-}
-
-
-//=======================================================================
-//function : SetShape
-//purpose  : 
-//=======================================================================
-
-void BlockFix_CheckTool::SetShape(const TopoDS_Shape& aShape)
-{
-  myHasCheck = Standard_False;
-  myShape = aShape;
-  myPossibleBlocks.Clear();
-}
-
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-void BlockFix_CheckTool::Perform() 
-{
-  myNbSolids=0;
-  myNbBlocks=0;
-  myNbDegen=0;
-  myNbUF=0;
-  myNbUE=0;
-  myNbUFUE=0;
-  TopExp_Explorer exps;
-  for(exps.Init(myShape, TopAbs_SOLID); exps.More(); exps.Next()) {
-    TopoDS_Solid aSolid = TopoDS::Solid(exps.Current());
-    myNbSolids++;
-    Standard_Boolean IsBlock=Standard_True;
-    Standard_Boolean MayBeUF=Standard_False;
-    Standard_Boolean MayBeUE=Standard_False;
-    Standard_Integer nf=0;
-    TopExp_Explorer expf;
-    for(expf.Init(aSolid, TopAbs_FACE); expf.More(); expf.Next()) nf++;
-
-    if(nf<6) {
-      IsBlock=Standard_False;
-    }
-    else if(nf>6) {
-      IsBlock=Standard_False;
-      // check faces unification
-      TopTools_SequenceOfShape faces;
-      for( expf.Init(aSolid, TopAbs_FACE); expf.More(); expf.Next()) {
-        TopoDS_Face aFace = TopoDS::Face(expf.Current());
-        faces.Append(aFace);
-      }
-      Standard_Boolean HasFacesForUnification = Standard_False;
-      for(Standard_Integer i=1; i<faces.Length() && !HasFacesForUnification; i++) {
-        TopoDS_Face F1 = TopoDS::Face(faces.Value(i));
-        TopTools_MapOfShape Edges;
-        for(TopExp_Explorer expe(F1,TopAbs_EDGE); expe.More(); expe.Next())
-          Edges.Add(expe.Current().Oriented(TopAbs_FORWARD));
-        TopLoc_Location L1;
-        Handle(Geom_Surface) S1 = BRep_Tool::Surface(F1,L1);
-        for(Standard_Integer j=i+1; j<=faces.Length() && !HasFacesForUnification; j++) {
-          TopoDS_Face F2 = TopoDS::Face(faces.Value(j));
-          TopLoc_Location L2;
-          Handle(Geom_Surface) S2 = BRep_Tool::Surface(F2,L2);
-          if( S1==S2 && L1==L2 ) {
-            // faces have equal based surface
-            // now check common edge
-            for(TopExp_Explorer expe2(F2,TopAbs_EDGE); expe2.More(); expe2.Next()) {
-              if(Edges.Contains(expe2.Current().Oriented(TopAbs_FORWARD))) {
-                HasFacesForUnification = Standard_True;
-                break;
-              }
-            }
-          }
-        }
-      }
-      if(HasFacesForUnification) {
-        MayBeUF=Standard_True;
-      }
-    }
-
-    Standard_Integer nbe=0;
-    TopTools_MapOfShape DegenEdges;
-    TopExp_Explorer expe;
-    for(expe.Init(aSolid, TopAbs_EDGE); expe.More(); expe.Next()) {
-      TopoDS_Edge E = TopoDS::Edge(expe.Current());
-      if(BRep_Tool::Degenerated(E)) {
-        if(!DegenEdges.Contains(E)) {
-          DegenEdges.Add(E);
-        }
-      }
-      else {
-        nbe++;
-      }
-    }
-    if( nbe==24 && DegenEdges.Extent()>0 ) {
-      IsBlock=Standard_False;
-      myNbDegen++;
-      myPossibleBlocks.Append(aSolid);
-      continue;
-    }
-    if(nbe<24)
-      IsBlock=Standard_False;
-    if(nbe>24) {
-      IsBlock=Standard_False;
-      // check edges unification
-      // creating map of edge faces
-      TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces;
-      TopExp::MapShapesAndAncestors(aSolid, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces);
-      for(expf.Init(aSolid, TopAbs_FACE); expf.More(); expf.Next()) {
-        TopoDS_Face aFace = TopoDS::Face(expf.Current());
-        TopTools_IndexedDataMapOfShapeListOfShape aMapFacesEdges;
-        for(expe.Init(aFace,TopAbs_EDGE); expe.More(); expe.Next()) {
-          TopoDS_Edge edge = TopoDS::Edge(expe.Current());
-          if(!aMapEdgeFaces.Contains(edge)) continue;
-          const TopTools_ListOfShape& aList = aMapEdgeFaces.FindFromKey(edge);
-          TopTools_ListIteratorOfListOfShape anIter(aList);
-          for( ; anIter.More(); anIter.Next()) {
-            TopoDS_Face face = TopoDS::Face(anIter.Value());
-            if(face.IsSame(aFace)) continue;
-            if(aMapFacesEdges.Contains(face)) {
-              aMapFacesEdges.ChangeFromKey(face).Append(edge);
-            }
-            else {
-              TopTools_ListOfShape ListEdges;
-              ListEdges.Append(edge);
-              aMapFacesEdges.Add(face,ListEdges);
-            }
-          }
-        }
-        Standard_Integer i=1;
-        for(; i<=aMapFacesEdges.Extent(); i++) {
-          const TopTools_ListOfShape& ListEdges = aMapFacesEdges.FindFromIndex(i);
-          if(ListEdges.Extent()>1) break;
-        }
-        if(i<=aMapFacesEdges.Extent()) {
-          MayBeUE=Standard_True;
-          break;
-        }
-      }
-    }
-
-    if(IsBlock) 
-      myNbBlocks++;
-    else {
-      if(MayBeUF) {
-        myPossibleBlocks.Append(aSolid);
-        if(MayBeUE)
-          myNbUFUE++;
-        else
-          myNbUF++;
-      }
-      else if(MayBeUE) {
-        myNbUE++;
-        myPossibleBlocks.Append(aSolid);
-      }
-    }
-
-  }
-
-  myHasCheck = Standard_True;
-}
-
-
-//=======================================================================
-//function : NbPossibleBlocks
-//purpose  : 
-//=======================================================================
-
-Standard_Integer BlockFix_CheckTool::NbPossibleBlocks() const
-{
-  return myPossibleBlocks.Length();
-}
-
-
-//=======================================================================
-//function : PossibleBlock
-//purpose  : 
-//=======================================================================
-
-TopoDS_Shape BlockFix_CheckTool::PossibleBlock(const Standard_Integer num) const
-{
-  TopoDS_Shape res;
-  if( num>0 && num<=myPossibleBlocks.Length() ) 
-    res = myPossibleBlocks.Value(num);
-  return res;
-}
-
-
-//=======================================================================
-//function : DumpCheckResult
-//purpose  : 
-//=======================================================================
-
-void BlockFix_CheckTool::DumpCheckResult(Standard_OStream& S) const
-{
-  if(!myHasCheck)
-    S<<"Check not performed!"<<endl;
-  else {
-    S<<"dump results of check:"<<endl;
-    S<<"  total number of solids = "<<myNbSolids<<endl;
-    S<<"  including: number of good blocks = "<<myNbBlocks<<endl;
-    S<<"             number of possible blocks = "<<NbPossibleBlocks()<<endl;
-    S<<"             including: need remove degenerative = "<<myNbDegen<<endl;
-    S<<"                        need unionfaces = "<<myNbUF<<endl;
-    S<<"                        need unionedges = "<<myNbUE<<endl;
-    S<<"                        need both unionfaces and unionedges = "<<myNbUFUE<<endl;
-    Standard_Integer nbtmp = myNbSolids - myNbBlocks - NbPossibleBlocks();
-    S<<"             number of impossible blocks = "<<nbtmp<<endl;
-  }
-}
diff --git a/src/GEOMAlgo/BlockFix_CheckTool.hxx b/src/GEOMAlgo/BlockFix_CheckTool.hxx
deleted file mode 100644 (file)
index bfb538b..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_CheckTool_HeaderFile
-#define _BlockFix_CheckTool_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopTools_SequenceOfShape_HeaderFile
-#include <TopTools_SequenceOfShape.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
-#include <Standard_OStream.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class BlockFix_CheckTool  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_CheckTool();
-Standard_EXPORT   void SetShape(const TopoDS_Shape& aShape) ;
-Standard_EXPORT   void Perform() ;
-Standard_EXPORT   Standard_Integer NbPossibleBlocks() const;
-Standard_EXPORT   TopoDS_Shape PossibleBlock(const Standard_Integer num) const;
-Standard_EXPORT   void DumpCheckResult(Standard_OStream& S) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Shape myShape;
-Standard_Boolean myHasCheck;
-Standard_Integer myNbSolids;
-Standard_Integer myNbBlocks;
-TopTools_SequenceOfShape myPossibleBlocks;
-Standard_Integer myNbDegen;
-Standard_Integer myNbUF;
-Standard_Integer myNbUE;
-Standard_Integer myNbUFUE;
-Standard_Integer myBadRanges;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_CheckTool.ixx b/src/GEOMAlgo/BlockFix_CheckTool.ixx
deleted file mode 100644 (file)
index 1b3f08c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_CheckTool.jxx>
-
-
-
diff --git a/src/GEOMAlgo/BlockFix_CheckTool.jxx b/src/GEOMAlgo/BlockFix_CheckTool.jxx
deleted file mode 100644 (file)
index ed31168..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BlockFix_CheckTool_HeaderFile
-#include <BlockFix_CheckTool.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cdl b/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cdl
deleted file mode 100644 (file)
index 63598cf..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
--- File:       BlockFix_PeriodicSurfaceModifier.cdl
--- Created:    Wed Dec 15 10:03:50 2004
--- Author:     Sergey KUUL
---             <skl@strelox.nnov.matra-dtv.fr>
----Copyright:  Open CASCADE SA 2004
-
-class PeriodicSurfaceModifier from BlockFix inherits Modification from BRepTools 
-
-       ---Purpose: 
-
-uses
-    Vertex   from TopoDS, 
-    Edge     from TopoDS,
-    Face     from TopoDS,
-    Location from TopLoc,
-    Shape    from GeomAbs,
-    Pnt      from gp,
-    Curve    from Geom,
-    Curve    from Geom2d,
-    Surface  from Geom,
-    IndexedMapOfTransient from TColStd,
-    DataMapOfShapeInteger from TopTools
-
-is
-    
-    Create returns mutable PeriodicSurfaceModifier from BlockFix;
-    
-    SetTolerance(me: mutable; Toler: Real);
-       ---Purpose: Sets the tolerance for recognition of geometry
-
-    NewSurface(me: mutable; F  :     Face     from TopoDS;
-                            S  : out Surface  from Geom;
-                           L  : out Location from TopLoc;
-                           Tol: out Real     from Standard;
-                            RevWires : out Boolean from Standard;
-                            RevFace  : out Boolean from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if the face <F> has  been
-       --          modified. In this case, <S> is the new geometric
-       --          support of the face, <L> the new location,  <Tol>
-       --          the new tolerance.  Otherwise, returns
-       --          Standard_False, and <S>, <L>, <Tol> are  not
-       --          significant.
-       
-    NewCurve(me: mutable; E  :     Edge     from TopoDS;
-                          C  : out Curve    from Geom;
-                         L  : out Location from TopLoc;
-                         Tol: out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True  if  the edge  <E> has  been
-       --          modified.  In this case,  <C> is the new geometric
-       --          support of the  edge, <L> the  new location, <Tol>
-       --          the         new    tolerance.   Otherwise, returns
-       --          Standard_False,    and  <C>,  <L>,   <Tol> are not
-       --          significant.
-
-    NewPoint(me: mutable; V  :     Vertex   from TopoDS;
-                          P  : out Pnt      from gp;
-                         Tol: out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns  Standard_True if the  vertex <V> has been
-       --          modified.  In this  case, <P> is the new geometric
-       --          support of the vertex,   <Tol> the new  tolerance.
-       --          Otherwise, returns Standard_False, and <P>,  <Tol>
-       --          are not significant.
-
-    NewCurve2d(me: mutable; E    :     Edge     from TopoDS;
-                            F    :     Face     from TopoDS;
-                            NewE :     Edge     from TopoDS;
-                            NewF :     Face     from TopoDS;
-                            C    : out Curve    from Geom2d;
-                           Tol  : out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if  the edge  <E> has a  new
-       --          curve on surface on the face <F>.In this case, <C>
-       --          is the new geometric support of  the edge, <L> the
-       --          new location, <Tol> the new tolerance.
-       --          
-       --          Otherwise, returns  Standard_False, and <C>,  <L>,
-       --          <Tol> are not significant.
-       --          
-       --          <NewE> is the new  edge created from  <E>.  <NewF>
-       --          is the new face created from <F>. They may be usefull.
-
-    NewParameter(me: mutable; V  :     Vertex from TopoDS;
-                              E  :     Edge   from TopoDS;
-                              P  : out Real   from Standard;
-                             Tol: out Real   from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if the Vertex  <V> has a new
-       --          parameter on the  edge <E>. In  this case,  <P> is
-       --          the parameter,    <Tol>  the     new    tolerance.
-       --          Otherwise, returns Standard_False, and <P>,  <Tol>
-       --          are not significant.
-
-    Continuity(me: mutable; E          : Edge from TopoDS;
-                           F1,F2      : Face from TopoDS;
-                           NewE       : Edge from TopoDS;
-                           NewF1,NewF2: Face from TopoDS)
-    returns Shape from GeomAbs;
-       ---Purpose: Returns the  continuity of  <NewE> between <NewF1>
-       --          and <NewF2>.
-       --          
-       --          <NewE> is the new  edge created from <E>.  <NewF1>
-       --          (resp. <NewF2>) is the new  face created from <F1>
-       --          (resp. <F2>).
-    
-
-fields 
-    
-    myTolerance    : Real;
-    myMapOfFaces   : DataMapOfShapeInteger from TopTools;
-    myMapOfSurfaces: IndexedMapOfTransient from TColStd;
-
-end PeriodicSurfaceModifier;
diff --git a/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cxx b/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cxx
deleted file mode 100644 (file)
index 9ca792f..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-// File:      BlockFix_PeriodicSurfaceModifier.cxx
-// Created:   15.12.04 10:08:50
-// Author:    Sergey KUUL
-// Copyright: Open CASCADE SA 2004
-
-#include <BlockFix_PeriodicSurfaceModifier.ixx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <BRepTools.hxx>
-#include <Geom_CylindricalSurface.hxx>
-#include <Geom_SphericalSurface.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <TopExp.hxx>
-
-
-//=======================================================================
-//function : BlockFix_PeriodicSurfaceModifier()
-//purpose  : Constructor
-//=======================================================================
-
-BlockFix_PeriodicSurfaceModifier::BlockFix_PeriodicSurfaceModifier (  )
-{
-  myMapOfFaces.Clear();
-  myMapOfSurfaces.Clear();
-}
-
-
-//=======================================================================
-//function : SetTolerance
-//purpose  : 
-//=======================================================================
-
-void BlockFix_PeriodicSurfaceModifier::SetTolerance(const Standard_Real Tol)
-{
-  myTolerance = Tol;
-}
-
-
-//=======================================================================
-//function : ModifySurface
-//purpose  : auxilary
-//=======================================================================
-
-static Standard_Boolean ModifySurface(const TopoDS_Face& aFace,
-                                      const Handle(Geom_Surface)& aSurface,
-                                      Handle(Geom_Surface)& aNewSurface)
-{
-  Handle(Geom_Surface) S = aSurface;
-
-  if(S->IsKind(STANDARD_TYPE(Geom_CylindricalSurface))) {
-    Handle(Geom_CylindricalSurface) aCyl = 
-      Handle(Geom_CylindricalSurface)::DownCast(S);
-    Standard_Real Umin, Umax, Vmin, Vmax;
-    BRepTools::UVBounds(aFace, Umin, Umax, Vmin, Vmax);
-    if( Umin<-Precision::PConfusion() || Umax>2*PI+Precision::PConfusion() ) {
-      gp_Ax3 ax3 = aCyl->Position();
-      gp_Ax1 NDir = ax3.Axis();
-      gp_Ax3 newax3 = ax3.Rotated(NDir,Umin-Precision::PConfusion());
-      Handle(Geom_CylindricalSurface) aNewCyl =
-        new Geom_CylindricalSurface(newax3,aCyl->Radius());
-      aNewSurface = aNewCyl;
-      return Standard_True;
-    }
-  }
-  
-  if(S->IsKind(STANDARD_TYPE(Geom_SphericalSurface))) {
-    Handle(Geom_SphericalSurface) aSphere = Handle(Geom_SphericalSurface)::DownCast(S);
-    Standard_Real Umin, Umax, Vmin, Vmax;
-    BRepTools::UVBounds(aFace, Umin, Umax, Vmin, Vmax);
-    if( Umin<-Precision::PConfusion() || Umax>2*PI+Precision::PConfusion() ) {
-      gp_Ax3 ax3 = aSphere->Position();
-      gp_Ax1 NDir = ax3.Axis();
-      gp_Ax3 newax3 = ax3.Rotated(NDir,Umin-Precision::PConfusion());
-      Handle(Geom_SphericalSurface) aNewSphere = new Geom_SphericalSurface(newax3,aSphere->Radius());
-      aNewSurface = aNewSphere;
-      return Standard_True;
-    }
-  }
-
-  return Standard_False;
-}
-                                      
-
-//=======================================================================
-//function : NewSurface
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::NewSurface(const TopoDS_Face& F,
-                                                              Handle(Geom_Surface)& S,
-                                                              TopLoc_Location& L,Standard_Real& Tol,
-                                                              Standard_Boolean& RevWires,
-                                                              Standard_Boolean& RevFace) 
-{
-  TopLoc_Location LS;
-  Handle(Geom_Surface) SIni = BRep_Tool::Surface(F, LS);
-  
-  if(ModifySurface(F, SIni, S)) {
-  
-    RevWires = Standard_False;
-    RevFace = Standard_False;
-    
-    L = LS;
-    Tol = BRep_Tool::Tolerance(F);
-     
-    Standard_Integer anIndex = myMapOfSurfaces.Add(S);
-    myMapOfFaces.Bind(F,anIndex);
-    return Standard_True;
-  }
-
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : NewCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::NewCurve(const TopoDS_Edge& /*E*/,
-                                                            Handle(Geom_Curve)& /*C*/,
-                                                            TopLoc_Location& /*L*/,
-                                                            Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : NewPoint
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::NewPoint(const TopoDS_Vertex& /*V*/,
-                                                            gp_Pnt& /*P*/,
-                                                            Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : NewCurve2d
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::NewCurve2d(const TopoDS_Edge& E,
-                                                              const TopoDS_Face& F,
-                                                              const TopoDS_Edge& /*NewE*/,
-                                                              const TopoDS_Face& /*NewF*/,
-                                                              Handle(Geom2d_Curve)& C,
-                                                              Standard_Real& Tol) 
-{
-  //check if undelying surface of the face was modified
-  if(myMapOfFaces.IsBound(F)) {
-    Standard_Integer anIndex = myMapOfFaces.Find(F);
-    
-    Handle(Geom_Surface) aNewSurf = Handle(Geom_Surface)::DownCast(myMapOfSurfaces.FindKey(anIndex));
-    
-    Standard_Real f,l;
-    TopLoc_Location LC, LS;
-    Handle(Geom_Curve) C3d = BRep_Tool::Curve ( E, LC, f, l );
-    Handle(Geom_Surface) S = BRep_Tool::Surface(F, LS);
-  
-    //taking into accound the orientation of the seam
-    C = BRep_Tool::CurveOnSurface(E,F,f,l);
-    Tol = BRep_Tool::Tolerance(E);
-     
-    BRep_Builder B;
-    TopoDS_Edge TempE;
-    B.MakeEdge(TempE);
-    B.Add(TempE, TopExp::FirstVertex(E));
-    B.Add(TempE, TopExp::LastVertex(E));
-
-    if(!C3d.IsNull()) 
-      B.UpdateEdge(TempE, Handle(Geom_Curve)::DownCast(C3d->Transformed(LC.Transformation())), Precision::Confusion());
-    B.Range(TempE, f, l);
-    
-    Handle(ShapeFix_Edge) sfe = new ShapeFix_Edge;
-    Handle(Geom_Surface) STemp = Handle(Geom_Surface)::DownCast(aNewSurf->Transformed(LS.Transformation()));
-    TopLoc_Location LTemp;
-    LTemp.Identity();
-    
-    Standard_Boolean isClosed = BRep_Tool::IsClosed (E, F);
-    Standard_Real aWorkTol = 2*myTolerance+Tol;
-    sfe->FixAddPCurve(TempE, STemp, LTemp, isClosed, Max(Precision::Confusion(), aWorkTol));
-    sfe->FixSameParameter(TempE);
-      
-    //keep the orientation of original edge
-    TempE.Orientation(E.Orientation());
-    C = BRep_Tool::CurveOnSurface(TempE, STemp, LTemp, f, l);
-    
-    //surface was modified
-    return Standard_True;
-  }
-
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : NewParameter
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::NewParameter(const TopoDS_Vertex& /*V*/,
-                                                                const TopoDS_Edge& /*E*/,
-                                                                Standard_Real& /*P*/,
-                                                                Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : Continuity
-//purpose  : 
-//=======================================================================
-
-GeomAbs_Shape BlockFix_PeriodicSurfaceModifier::Continuity(const TopoDS_Edge& E,
-                                                           const TopoDS_Face& F1,
-                                                           const TopoDS_Face& F2,
-                                                           const TopoDS_Edge& /*NewE*/,
-                                                           const TopoDS_Face& /*NewF1*/,
-                                                           const TopoDS_Face& /*NewF2*/) 
-{
-  return BRep_Tool::Continuity(E,F1,F2);
-}
-
diff --git a/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.hxx b/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.hxx
deleted file mode 100644 (file)
index b55096c..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_PeriodicSurfaceModifier_HeaderFile
-#define _BlockFix_PeriodicSurfaceModifier_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_BlockFix_PeriodicSurfaceModifier_HeaderFile
-#include <Handle_BlockFix_PeriodicSurfaceModifier.hxx>
-#endif
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeInteger_HeaderFile
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TColStd_IndexedMapOfTransient_HeaderFile
-#include <TColStd_IndexedMapOfTransient.hxx>
-#endif
-#ifndef _BRepTools_Modification_HeaderFile
-#include <BRepTools_Modification.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-#ifndef _Handle_Geom_Curve_HeaderFile
-#include <Handle_Geom_Curve.hxx>
-#endif
-#ifndef _Handle_Geom2d_Curve_HeaderFile
-#include <Handle_Geom2d_Curve.hxx>
-#endif
-#ifndef _GeomAbs_Shape_HeaderFile
-#include <GeomAbs_Shape.hxx>
-#endif
-class TopoDS_Face;
-class Geom_Surface;
-class TopLoc_Location;
-class TopoDS_Edge;
-class Geom_Curve;
-class TopoDS_Vertex;
-class gp_Pnt;
-class Geom2d_Curve;
-
-
-class BlockFix_PeriodicSurfaceModifier : public BRepTools_Modification {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_PeriodicSurfaceModifier();
-Standard_EXPORT   void SetTolerance(const Standard_Real Toler) ;
-Standard_EXPORT   Standard_Boolean NewSurface(const TopoDS_Face& F,Handle(Geom_Surface)& S,TopLoc_Location& L,Standard_Real& Tol,Standard_Boolean& RevWires,Standard_Boolean& RevFace) ;
-Standard_EXPORT   Standard_Boolean NewCurve(const TopoDS_Edge& E,Handle(Geom_Curve)& C,TopLoc_Location& L,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewPoint(const TopoDS_Vertex& V,gp_Pnt& P,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewCurve2d(const TopoDS_Edge& E,const TopoDS_Face& F,const TopoDS_Edge& NewE,const TopoDS_Face& NewF,Handle(Geom2d_Curve)& C,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewParameter(const TopoDS_Vertex& V,const TopoDS_Edge& E,Standard_Real& P,Standard_Real& Tol) ;
-Standard_EXPORT   GeomAbs_Shape Continuity(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const TopoDS_Edge& NewE,const TopoDS_Face& NewF1,const TopoDS_Face& NewF2) ;
-Standard_EXPORT ~BlockFix_PeriodicSurfaceModifier();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& BlockFix_PeriodicSurfaceModifier_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Real myTolerance;
-TopTools_DataMapOfShapeInteger myMapOfFaces;
-TColStd_IndexedMapOfTransient myMapOfSurfaces;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.ixx b/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.ixx
deleted file mode 100644 (file)
index 7bdcfb4..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_PeriodicSurfaceModifier.jxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-BlockFix_PeriodicSurfaceModifier::~BlockFix_PeriodicSurfaceModifier() {}
-
-
-Standard_EXPORT Handle_Standard_Type& BlockFix_PeriodicSurfaceModifier_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(BRepTools_Modification);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(BRepTools_Modification);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("BlockFix_PeriodicSurfaceModifier",
-                                                        sizeof(BlockFix_PeriodicSurfaceModifier),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(BlockFix_PeriodicSurfaceModifier) Handle(BlockFix_PeriodicSurfaceModifier)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(BlockFix_PeriodicSurfaceModifier) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(BlockFix_PeriodicSurfaceModifier))) {
-       _anOtherObject = Handle(BlockFix_PeriodicSurfaceModifier)((Handle(BlockFix_PeriodicSurfaceModifier)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& BlockFix_PeriodicSurfaceModifier::DynamicType() const 
-{ 
-  return STANDARD_TYPE(BlockFix_PeriodicSurfaceModifier) ; 
-}
-Standard_Boolean BlockFix_PeriodicSurfaceModifier::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(BlockFix_PeriodicSurfaceModifier) == AType || BRepTools_Modification::IsKind(AType)); 
-}
-Handle_BlockFix_PeriodicSurfaceModifier::~Handle_BlockFix_PeriodicSurfaceModifier() {}
-
diff --git a/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.jxx b/src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.jxx
deleted file mode 100644 (file)
index 0a556d5..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _TopLoc_Location_HeaderFile
-#include <TopLoc_Location.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _Geom_Curve_HeaderFile
-#include <Geom_Curve.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _Geom2d_Curve_HeaderFile
-#include <Geom2d_Curve.hxx>
-#endif
-#ifndef _BlockFix_PeriodicSurfaceModifier_HeaderFile
-#include <BlockFix_PeriodicSurfaceModifier.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_SphereSpaceModifier.cdl b/src/GEOMAlgo/BlockFix_SphereSpaceModifier.cdl
deleted file mode 100644 (file)
index eae4b8a..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
--- File:       BlockFix_SphereSpaceModifier.cdl
--- Created:    Tue Dec  7 12:01:49 2004
--- Author:     Pavel Durandin
---             <det@doomox>
----Copyright:  Open CASCADE SA 2004
-
-
-class SphereSpaceModifier from BlockFix inherits Modification from BRepTools 
-
-       ---Purpose: Rotation of the parametric space of the sphere in order
-        --          to avoid the seam and degenerared edge within it
-
-uses
-    Vertex   from TopoDS, 
-    Edge     from TopoDS,
-    Face     from TopoDS,
-    Location from TopLoc,
-    Shape    from GeomAbs,
-    Pnt      from gp,
-    Curve    from Geom,
-    Curve    from Geom2d,
-    Surface  from Geom,
-    IndexedMapOfTransient from TColStd,
-    DataMapOfShapeInteger from TopTools
-
-is
-    
-    Create returns mutable SphereSpaceModifier from BlockFix;
-    
-    SetTolerance(me: mutable; Toler: Real);
-       ---Purpose: Sets the tolerance for recognition of geometry
-
-    NewSurface(me: mutable; F  :     Face     from TopoDS;
-                            S  : out Surface  from Geom;
-                           L  : out Location from TopLoc;
-                           Tol: out Real     from Standard;
-                            RevWires : out Boolean from Standard;
-                            RevFace  : out Boolean from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if the face <F> has  been
-       --          modified. In this case, <S> is the new geometric
-       --          support of the face, <L> the new location,  <Tol>
-       --          the new tolerance.  Otherwise, returns
-       --          Standard_False, and <S>, <L>, <Tol> are  not
-       --          significant.
-       
-    NewCurve(me: mutable; E  :     Edge     from TopoDS;
-                          C  : out Curve    from Geom;
-                         L  : out Location from TopLoc;
-                         Tol: out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True  if  the edge  <E> has  been
-       --          modified.  In this case,  <C> is the new geometric
-       --          support of the  edge, <L> the  new location, <Tol>
-       --          the         new    tolerance.   Otherwise, returns
-       --          Standard_False,    and  <C>,  <L>,   <Tol> are not
-       --          significant.
-
-    NewPoint(me: mutable; V  :     Vertex   from TopoDS;
-                          P  : out Pnt      from gp;
-                         Tol: out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns  Standard_True if the  vertex <V> has been
-       --          modified.  In this  case, <P> is the new geometric
-       --          support of the vertex,   <Tol> the new  tolerance.
-       --          Otherwise, returns Standard_False, and <P>,  <Tol>
-       --          are not significant.
-
-    NewCurve2d(me: mutable; E    :     Edge     from TopoDS;
-                            F    :     Face     from TopoDS;
-                            NewE :     Edge     from TopoDS;
-                            NewF :     Face     from TopoDS;
-                            C    : out Curve    from Geom2d;
-                           Tol  : out Real     from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if  the edge  <E> has a  new
-       --          curve on surface on the face <F>.In this case, <C>
-       --          is the new geometric support of  the edge, <L> the
-       --          new location, <Tol> the new tolerance.
-       --          
-       --          Otherwise, returns  Standard_False, and <C>,  <L>,
-       --          <Tol> are not significant.
-       --          
-       --          <NewE> is the new  edge created from  <E>.  <NewF>
-       --          is the new face created from <F>. They may be usefull.
-
-    NewParameter(me: mutable; V  :     Vertex from TopoDS;
-                              E  :     Edge   from TopoDS;
-                              P  : out Real   from Standard;
-                             Tol: out Real   from Standard)
-    returns Boolean from Standard;
-       ---Purpose: Returns Standard_True if the Vertex  <V> has a new
-       --          parameter on the  edge <E>. In  this case,  <P> is
-       --          the parameter,    <Tol>  the     new    tolerance.
-       --          Otherwise, returns Standard_False, and <P>,  <Tol>
-       --          are not significant.
-
-    Continuity(me: mutable; E          : Edge from TopoDS;
-                           F1,F2      : Face from TopoDS;
-                           NewE       : Edge from TopoDS;
-                           NewF1,NewF2: Face from TopoDS)
-    returns Shape from GeomAbs;
-       ---Purpose: Returns the  continuity of  <NewE> between <NewF1>
-       --          and <NewF2>.
-       --          
-       --          <NewE> is the new  edge created from <E>.  <NewF1>
-       --          (resp. <NewF2>) is the new  face created from <F1>
-       --          (resp. <F2>).
-    
-    ForRotation(me: mutable; F: Face from TopoDS) returns Boolean;
-    
-fields 
-    
-    myTolerance   : Real;
-    myMapOfFaces  : DataMapOfShapeInteger from TopTools;
-    myMapOfSpheres: IndexedMapOfTransient from TColStd;
-    --myMapOfGeom: MapOfShapeTransient from TColStd;
-
-end SphereSpaceModifier;
-
diff --git a/src/GEOMAlgo/BlockFix_SphereSpaceModifier.cxx b/src/GEOMAlgo/BlockFix_SphereSpaceModifier.cxx
deleted file mode 100644 (file)
index fb9e3f2..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-// File:       BlockFix.cxx
-// Created:    Tue Dec  7 11:59:05 2004
-// Author:     Pavel DURANDIN
-// Copyright:  Open CASCADE SA 2004
-
-#include <BlockFix_SphereSpaceModifier.ixx>
-
-#include <TopLoc_Location.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_SphericalSurface.hxx>
-#include <Geom_RectangularTrimmedSurface.hxx>
-#include <ShapeAnalysis.hxx>
-#include <gp_Sphere.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopExp.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom2d_Curve.hxx>
-
-
-//=======================================================================
-//function : BlockFix_SphereSpaceModifier
-//purpose  : 
-//=======================================================================
-
-BlockFix_SphereSpaceModifier::BlockFix_SphereSpaceModifier()
-{
-  myMapOfFaces.Clear();
-  myMapOfSpheres.Clear();
-}
-
-//=======================================================================
-//function : SetTolerance
-//purpose  : 
-//=======================================================================
-
-void BlockFix_SphereSpaceModifier::SetTolerance(const Standard_Real Tol)
-{
-  myTolerance = Tol;
-}
-
-
-//=======================================================================
-//function : NewSurface
-//purpose  : 
-//=======================================================================
-
-
-static Standard_Boolean ModifySurface(const TopoDS_Face& aFace,
-                                      const Handle(Geom_Surface)& aSurface,
-                                      Handle(Geom_Surface)& aNewSurface)
-{
-  Handle(Geom_Surface) S = aSurface;
-  if(S->IsKind(STANDARD_TYPE(Geom_RectangularTrimmedSurface))) {
-    Handle(Geom_RectangularTrimmedSurface) RTS = 
-      Handle(Geom_RectangularTrimmedSurface)::DownCast(S);
-    S = RTS->BasisSurface();
-  }
-  
-  if(S->IsKind(STANDARD_TYPE(Geom_SphericalSurface))) {
-    Standard_Real Umin, Umax, Vmin, Vmax;
-    ShapeAnalysis::GetFaceUVBounds(aFace,Umin, Umax, Vmin, Vmax);
-    Standard_Real PI2 = PI/2.;
-    if(Vmax > PI2 - Precision::PConfusion() || Vmin < -PI2+::Precision::PConfusion()) {
-      Handle(Geom_SphericalSurface) aSphere = Handle(Geom_SphericalSurface)::DownCast(S);
-      gp_Sphere sp = aSphere->Sphere();
-      gp_Ax3 ax3 = sp.Position();
-      if(Abs(Vmax-Vmin) < PI2) {
-        gp_Ax3 axnew3(ax3.Axis().Location(), ax3.Direction()^ax3.XDirection(),ax3.XDirection());
-        sp.SetPosition(axnew3);
-        Handle(Geom_SphericalSurface) aNewSphere = new Geom_SphericalSurface(sp);
-        aNewSurface = aNewSphere;
-        return Standard_True;
-      }
-      else {
-        gp_Pnt PC = ax3.Location();
-        Standard_Real Vpar;
-        if(fabs(PI2-Vmax)>fabs(-PI2-Vmin))
-          Vpar = (PI2+Vmax)/2.;
-        else
-          Vpar = (-PI2+Vmin)/2.;
-        Standard_Real Upar = (Umin+Umax)/2.;;
-        gp_Pnt PN,PX;
-        S->D0(Upar,Vpar,PN);
-        S->D0(Upar+PI2,0.,PX);
-        gp_Dir newNorm(gp_Vec(PC,PN));
-        gp_Dir newDirX(gp_Vec(PC,PX));
-        gp_Ax3 axnew3(ax3.Axis().Location(), newNorm, newDirX);
-        sp.SetPosition(axnew3);
-        Handle(Geom_SphericalSurface) aNewSphere = new Geom_SphericalSurface(sp);
-        aNewSurface = aNewSphere;
-        return Standard_True;
-      }
-    }
-  }
-  return Standard_False;
-}
-                                      
-
-Standard_Boolean BlockFix_SphereSpaceModifier::NewSurface(const TopoDS_Face& F,
-                                                        Handle(Geom_Surface)& S,
-                                                        TopLoc_Location& L,Standard_Real& Tol,
-                                                        Standard_Boolean& RevWires,
-                                                        Standard_Boolean& RevFace) 
-{
-  TopLoc_Location LS;
-  Handle(Geom_Surface) SIni = BRep_Tool::Surface(F, LS);
-  
-  //check if pole of the sphere in the parametric space
-  if(ModifySurface(F, SIni, S)) {
-  
-    RevWires = Standard_False;
-    RevFace = Standard_False;
-    
-    L = LS;
-    Tol = BRep_Tool::Tolerance(F);
-     
-    Standard_Integer anIndex = myMapOfSpheres.Add(S);
-    myMapOfFaces.Bind(F,anIndex);
-    return Standard_True;
-  }
-  
-  return Standard_False;
-}
-
-//=======================================================================
-//function : NewCurve
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_SphereSpaceModifier::NewCurve(const TopoDS_Edge& /*E*/,Handle(Geom_Curve)& /*C*/,
-                                                        TopLoc_Location& /*L*/,Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : NewPoint
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_SphereSpaceModifier::NewPoint(const TopoDS_Vertex& /*V*/,
-                                                      gp_Pnt& /*P*/,
-                                                      Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-//=======================================================================
-//function : NewCurve2d
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_SphereSpaceModifier::NewCurve2d(const TopoDS_Edge& E,const TopoDS_Face& F,
-                                                        const TopoDS_Edge& /*NewE*/,const TopoDS_Face& /*NewF*/,
-                                                        Handle(Geom2d_Curve)& C,Standard_Real& Tol) 
-{
-  //check if undelying surface of the face was modified
-  if(myMapOfFaces.IsBound(F)) {
-    Standard_Integer anIndex = myMapOfFaces.Find(F);
-    
-    Handle(Geom_Surface) aNewSphere = Handle(Geom_Surface)::DownCast(myMapOfSpheres.FindKey(anIndex));
-    
-    Standard_Real f,l;
-    TopLoc_Location LC, LS;
-    Handle(Geom_Curve) C3d = BRep_Tool::Curve ( E, LC, f, l );
-    Handle(Geom_Surface) S = BRep_Tool::Surface(F, LS);
-  
-    //taking into accound the orientation of the seam
-    C = BRep_Tool::CurveOnSurface(E,F,f,l);
-    Tol = BRep_Tool::Tolerance(E);
-     
-    BRep_Builder B;
-    TopoDS_Edge TempE;
-    B.MakeEdge(TempE);
-    B.Add(TempE, TopExp::FirstVertex(E));
-    B.Add(TempE, TopExp::LastVertex(E));
-
-    if(!C3d.IsNull()) 
-      B.UpdateEdge(TempE, Handle(Geom_Curve)::DownCast(C3d->Transformed(LC.Transformation())), Precision::Confusion());
-    B.Range(TempE, f, l);
-    
-    Handle(ShapeFix_Edge) sfe = new ShapeFix_Edge;
-    Handle(Geom_Surface) STemp = Handle(Geom_Surface)::DownCast(aNewSphere->Transformed(LS.Transformation()));
-    TopLoc_Location LTemp;
-    LTemp.Identity();
-    
-    Standard_Boolean isClosed = BRep_Tool::IsClosed (E, F);
-    Standard_Real aWorkTol = 2*myTolerance+Tol;
-    sfe->FixAddPCurve(TempE, STemp, LTemp, isClosed, Max(Precision::Confusion(), aWorkTol));
-    sfe->FixSameParameter(TempE);
-      
-    //keep the orientation of original edge
-    TempE.Orientation(E.Orientation());
-    C = BRep_Tool::CurveOnSurface(TempE, STemp, LTemp, f, l);
-    
-    // shifting seam of sphere
-    if(isClosed  && !C.IsNull()) {
-      Standard_Real f2,l2;
-      Handle(Geom2d_Curve) c22 = 
-        BRep_Tool::CurveOnSurface(TopoDS::Edge(TempE.Reversed()),STemp, LTemp,f2,l2);
-      Standard_Real dPreci = Precision::PConfusion()*Precision::PConfusion();
-      if((C->Value(f).SquareDistance(c22->Value(f2)) < dPreci)
-         ||(C->Value(l).SquareDistance(c22->Value(l2)) < dPreci)) {
-        gp_Vec2d shift(S->UPeriod(),0.);
-        C->Translate(shift);
-      }
-    }
-    //sphere was modified
-    return Standard_True;
-  }
-
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : NewParameter
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_SphereSpaceModifier::NewParameter(const TopoDS_Vertex& /*V*/,const TopoDS_Edge& /*E*/,
-                                                            Standard_Real& /*P*/,Standard_Real& /*Tol*/) 
-{
-  return Standard_False;
-}
-
-
-//=======================================================================
-//function : Continuity
-//purpose  : 
-//=======================================================================
-
-GeomAbs_Shape BlockFix_SphereSpaceModifier::Continuity(const TopoDS_Edge& E,const TopoDS_Face& F1,
-                                                     const TopoDS_Face& F2,const TopoDS_Edge& /*NewE*/,
-                                                     const TopoDS_Face& /*NewF1*/,const TopoDS_Face& /*NewF2*/) 
-{
-  return BRep_Tool::Continuity(E,F1,F2);
-}
diff --git a/src/GEOMAlgo/BlockFix_SphereSpaceModifier.hxx b/src/GEOMAlgo/BlockFix_SphereSpaceModifier.hxx
deleted file mode 100644 (file)
index 463277a..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_SphereSpaceModifier_HeaderFile
-#define _BlockFix_SphereSpaceModifier_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_BlockFix_SphereSpaceModifier_HeaderFile
-#include <Handle_BlockFix_SphereSpaceModifier.hxx>
-#endif
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeInteger_HeaderFile
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TColStd_IndexedMapOfTransient_HeaderFile
-#include <TColStd_IndexedMapOfTransient.hxx>
-#endif
-#ifndef _BRepTools_Modification_HeaderFile
-#include <BRepTools_Modification.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-#ifndef _Handle_Geom_Curve_HeaderFile
-#include <Handle_Geom_Curve.hxx>
-#endif
-#ifndef _Handle_Geom2d_Curve_HeaderFile
-#include <Handle_Geom2d_Curve.hxx>
-#endif
-#ifndef _GeomAbs_Shape_HeaderFile
-#include <GeomAbs_Shape.hxx>
-#endif
-class TopoDS_Face;
-class Geom_Surface;
-class TopLoc_Location;
-class TopoDS_Edge;
-class Geom_Curve;
-class TopoDS_Vertex;
-class gp_Pnt;
-class Geom2d_Curve;
-
-
-class BlockFix_SphereSpaceModifier : public BRepTools_Modification {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_SphereSpaceModifier();
-Standard_EXPORT   void SetTolerance(const Standard_Real Toler) ;
-Standard_EXPORT   Standard_Boolean NewSurface(const TopoDS_Face& F,Handle(Geom_Surface)& S,TopLoc_Location& L,Standard_Real& Tol,Standard_Boolean& RevWires,Standard_Boolean& RevFace) ;
-Standard_EXPORT   Standard_Boolean NewCurve(const TopoDS_Edge& E,Handle(Geom_Curve)& C,TopLoc_Location& L,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewPoint(const TopoDS_Vertex& V,gp_Pnt& P,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewCurve2d(const TopoDS_Edge& E,const TopoDS_Face& F,const TopoDS_Edge& NewE,const TopoDS_Face& NewF,Handle(Geom2d_Curve)& C,Standard_Real& Tol) ;
-Standard_EXPORT   Standard_Boolean NewParameter(const TopoDS_Vertex& V,const TopoDS_Edge& E,Standard_Real& P,Standard_Real& Tol) ;
-Standard_EXPORT   GeomAbs_Shape Continuity(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const TopoDS_Edge& NewE,const TopoDS_Face& NewF1,const TopoDS_Face& NewF2) ;
-Standard_EXPORT   Standard_Boolean ForRotation(const TopoDS_Face& F) ;
-Standard_EXPORT ~BlockFix_SphereSpaceModifier();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& BlockFix_SphereSpaceModifier_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Real myTolerance;
-TopTools_DataMapOfShapeInteger myMapOfFaces;
-TColStd_IndexedMapOfTransient myMapOfSpheres;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_SphereSpaceModifier.ixx b/src/GEOMAlgo/BlockFix_SphereSpaceModifier.ixx
deleted file mode 100644 (file)
index 55b0271..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_SphereSpaceModifier.jxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-BlockFix_SphereSpaceModifier::~BlockFix_SphereSpaceModifier() {}
-
-
-Standard_EXPORT Handle_Standard_Type& BlockFix_SphereSpaceModifier_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(BRepTools_Modification);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(BRepTools_Modification);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("BlockFix_SphereSpaceModifier",
-                                                        sizeof(BlockFix_SphereSpaceModifier),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(BlockFix_SphereSpaceModifier) Handle(BlockFix_SphereSpaceModifier)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(BlockFix_SphereSpaceModifier) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(BlockFix_SphereSpaceModifier))) {
-       _anOtherObject = Handle(BlockFix_SphereSpaceModifier)((Handle(BlockFix_SphereSpaceModifier)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& BlockFix_SphereSpaceModifier::DynamicType() const 
-{ 
-  return STANDARD_TYPE(BlockFix_SphereSpaceModifier) ; 
-}
-Standard_Boolean BlockFix_SphereSpaceModifier::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(BlockFix_SphereSpaceModifier) == AType || BRepTools_Modification::IsKind(AType)); 
-}
-Handle_BlockFix_SphereSpaceModifier::~Handle_BlockFix_SphereSpaceModifier() {}
-
diff --git a/src/GEOMAlgo/BlockFix_SphereSpaceModifier.jxx b/src/GEOMAlgo/BlockFix_SphereSpaceModifier.jxx
deleted file mode 100644 (file)
index a2a6afe..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _TopLoc_Location_HeaderFile
-#include <TopLoc_Location.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _Geom_Curve_HeaderFile
-#include <Geom_Curve.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _Geom2d_Curve_HeaderFile
-#include <Geom2d_Curve.hxx>
-#endif
-#ifndef _BlockFix_SphereSpaceModifier_HeaderFile
-#include <BlockFix_SphereSpaceModifier.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_UnionEdges.cdl b/src/GEOMAlgo/BlockFix_UnionEdges.cdl
deleted file mode 100644 (file)
index 8a6a4b9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- File:       BlockFix_UnionEdges.cdl
--- Created:    Tue Dec  7 15:24:51 2004
--- Author:     Sergey KUUL
---             <skl@novgorox.nnov.matra-dtv.fr>
-
-class UnionEdges from BlockFix
-
-       ---Purpose: 
-       
-uses
-    
-    Shape           from TopoDS,
-    ReShape         from ShapeBuild
-
-is
-
-    Create returns UnionEdges from BlockFix;
-    
-    Perform(me: in out; Shape: Shape from TopoDS;
-                        Tol  : Real)
-    returns Shape from TopoDS;    
-    
-fields
-
-    myTolerance : Real;
-    myContext   : ReShape from ShapeBuild;
-    
-end UnionEdges;
diff --git a/src/GEOMAlgo/BlockFix_UnionEdges.cxx b/src/GEOMAlgo/BlockFix_UnionEdges.cxx
deleted file mode 100644 (file)
index c3b7baf..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-// File:      BlockFix_UnionEdges.cxx
-// Created:   07.12.04 15:27:30
-// Author:    Sergey KUUL
-
-
-#include <BlockFix_UnionEdges.ixx>
-
-#include <Approx_Curve3d.hxx>
-#include <BRepAdaptor_HCompCurve.hxx>
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <GC_MakeCircle.hxx>
-#include <Geom_BSplineCurve.hxx>
-#include <Geom_Circle.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_Line.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <ShapeFix_Face.hxx>
-#include <ShapeFix_Shell.hxx>
-#include <TColgp_SequenceOfPnt.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Iterator.hxx>
-
-
-//=======================================================================
-//function : BlockFix_UnionEdges()
-//purpose  : Constructor
-//=======================================================================
-
-BlockFix_UnionEdges::BlockFix_UnionEdges (  )
-{
-}
-
-
-//=======================================================================
-//function : MergeEdges
-//purpose  : auxilary
-//=======================================================================
-static Standard_Boolean MergeEdges(const TopTools_SequenceOfShape& SeqEdges,
-                                   const TopoDS_Face& aFace,
-                                   const Standard_Real Tol,
-                                   TopoDS_Edge& anEdge)
-{
-  // make chain for union
-  BRep_Builder B;
-  ShapeAnalysis_Edge sae;
-  TopoDS_Edge FirstE = TopoDS::Edge(SeqEdges.Value(1));
-  TopoDS_Edge LastE = FirstE;
-  TopoDS_Vertex VF = sae.FirstVertex(FirstE);
-  TopoDS_Vertex VL = sae.LastVertex(LastE);
-  TopTools_SequenceOfShape aChain;
-  aChain.Append(FirstE);
-  TColStd_MapOfInteger IndUsedEdges;
-  IndUsedEdges.Add(1);
-  Standard_Integer j;
-  for(j=2; j<=SeqEdges.Length(); j++) {
-    for(Standard_Integer k=2; k<=SeqEdges.Length(); k++) {
-      if(IndUsedEdges.Contains(k)) continue;
-      TopoDS_Edge edge = TopoDS::Edge(SeqEdges.Value(k));
-      TopoDS_Vertex VF2 = sae.FirstVertex(edge);
-      TopoDS_Vertex VL2 = sae.LastVertex(edge);
-      if(sae.FirstVertex(edge).IsSame(VL)) {
-        aChain.Append(edge);
-        LastE = edge;
-        VL = sae.LastVertex(LastE);
-        IndUsedEdges.Add(k);
-      }
-      else if(sae.LastVertex(edge).IsSame(VF)) {
-        aChain.Prepend(edge);
-        FirstE = edge;
-        VF = sae.FirstVertex(FirstE);
-        IndUsedEdges.Add(k);
-      }
-    }
-  }
-  if(aChain.Length()<SeqEdges.Length()) {
-    cout<<"can not create correct chain..."<<endl;
-    return Standard_False;
-  }
-  // union edges in chain
-  // first step: union lines and circles
-  TopLoc_Location Loc;
-  Standard_Real fp1,lp1,fp2,lp2;
-  for(j=1; j<aChain.Length(); j++) {
-    TopoDS_Edge edge1 = TopoDS::Edge(aChain.Value(j));
-    Handle(Geom_Curve) c3d1 = BRep_Tool::Curve(edge1,Loc,fp1,lp1);
-    if(c3d1.IsNull()) break;
-    while(c3d1->IsKind(STANDARD_TYPE(Geom_TrimmedCurve))) {
-      Handle(Geom_TrimmedCurve) tc =
-        Handle(Geom_TrimmedCurve)::DownCast(c3d1);
-      c3d1 = tc->BasisCurve();
-    }
-    TopoDS_Edge edge2 = TopoDS::Edge(aChain.Value(j+1));
-    Handle(Geom_Curve) c3d2 = BRep_Tool::Curve(edge2,Loc,fp2,lp2);
-    if(c3d2.IsNull()) break;
-    while(c3d2->IsKind(STANDARD_TYPE(Geom_TrimmedCurve))) {
-      Handle(Geom_TrimmedCurve) tc =
-        Handle(Geom_TrimmedCurve)::DownCast(c3d2);
-      c3d2 = tc->BasisCurve();
-    }
-    if( c3d1->IsKind(STANDARD_TYPE(Geom_Line)) && c3d2->IsKind(STANDARD_TYPE(Geom_Line)) ) {
-      // union lines
-      Handle(Geom_Line) L1 = Handle(Geom_Line)::DownCast(c3d1);
-      Handle(Geom_Line) L2 = Handle(Geom_Line)::DownCast(c3d2);
-      gp_Dir Dir1 = L1->Position().Direction();
-      gp_Dir Dir2 = L2->Position().Direction();
-      if(!Dir1.IsEqual(Dir2,Precision::Angular())) continue;
-      // can union lines => create new edge
-      TopoDS_Vertex V1 = sae.FirstVertex(edge1);
-      gp_Pnt PV1 = BRep_Tool::Pnt(V1);
-      TopoDS_Vertex V2 = sae.LastVertex(edge2);
-      gp_Pnt PV2 = BRep_Tool::Pnt(V2);
-      gp_Vec Vec(PV1,PV2);
-      Handle(Geom_Line) L = new Geom_Line(gp_Ax1(PV1,Vec));
-      Standard_Real dist = PV1.Distance(PV2);
-      Handle(Geom_TrimmedCurve) tc = new Geom_TrimmedCurve(L,0.0,dist);
-      TopoDS_Edge E;
-      B.MakeEdge (E,tc,Precision::Confusion());
-      B.Add (E,V1);  B.Add (E,V2);
-      B.UpdateVertex(V1, 0., E, 0.);
-      B.UpdateVertex(V2, dist, E, 0.);
-      ShapeFix_Edge sfe;
-      sfe.FixAddPCurve(E,aFace,Standard_False);
-      sfe.FixSameParameter(E);
-      aChain.Remove(j);
-      aChain.SetValue(j,E);
-      j--;
-    }
-    if( c3d1->IsKind(STANDARD_TYPE(Geom_Circle)) && c3d2->IsKind(STANDARD_TYPE(Geom_Circle)) ) {
-      // union circles
-      Handle(Geom_Circle) C1 = Handle(Geom_Circle)::DownCast(c3d1);
-      Handle(Geom_Circle) C2 = Handle(Geom_Circle)::DownCast(c3d2);
-      gp_Pnt P01 = C1->Location();
-      gp_Pnt P02 = C2->Location();
-      if(P01.Distance(P02)>Precision::Confusion()) continue;
-      // can union circles => create new edge
-      TopoDS_Vertex V1 = sae.FirstVertex(edge1);
-      gp_Pnt PV1 = BRep_Tool::Pnt(V1);
-      TopoDS_Vertex V2 = sae.LastVertex(edge2);
-      gp_Pnt PV2 = BRep_Tool::Pnt(V2);
-      TopoDS_Vertex VM = sae.LastVertex(edge1);
-      gp_Pnt PVM = BRep_Tool::Pnt(VM);
-      GC_MakeCircle MC(PV1,PVM,PV2);
-      Handle(Geom_Circle) C = MC.Value();
-      gp_Pnt P0 = C->Location();
-      gp_Dir D1(gp_Vec(P0,PV1));
-      gp_Dir D2(gp_Vec(P0,PV2));
-      Standard_Real fpar = C->XAxis().Direction().Angle(D1);
-      Standard_Real lpar = C->XAxis().Direction().Angle(D2);
-      Handle(Geom_TrimmedCurve) tc = new Geom_TrimmedCurve(C,fpar,lpar);
-      TopoDS_Edge E;
-      B.MakeEdge (E,tc,Precision::Confusion());
-      B.Add (E,V1);  B.Add (E,V2);
-      B.UpdateVertex(V1, fpar, E, 0.);
-      B.UpdateVertex(V2, lpar, E, 0.);
-      ShapeFix_Edge sfe;
-      sfe.FixAddPCurve(E,aFace,Standard_False);
-      sfe.FixSameParameter(E);
-      aChain.Remove(j);
-      aChain.SetValue(j,E);
-      j--;
-    }
-  }
-  if(j<aChain.Length()) {
-    cout<<"null curve3d in edge..."<<endl;
-    return Standard_False;
-  }
-  if(aChain.Length()>1) {
-    // second step: union edges with various curves
-    cout<<"can not make analitical union => make approximation"<<endl;
-    TopoDS_Wire W;
-    B.MakeWire(W);
-    for(j=1; j<=aChain.Length(); j++) {
-      TopoDS_Edge edge = TopoDS::Edge(aChain.Value(j));
-      B.Add(W,edge);
-    }
-    Handle(BRepAdaptor_HCompCurve) Adapt = new BRepAdaptor_HCompCurve(W);
-    Approx_Curve3d Conv(Adapt,Tol,GeomAbs_C1,9,1000);
-    Handle(Geom_BSplineCurve) bc = Conv.Curve();
-    TopoDS_Edge E;
-    B.MakeEdge (E,bc,Precision::Confusion());
-    B.Add (E,VF);
-    B.Add (E,VL);
-    aChain.SetValue(1,E);
-  }
-
-  anEdge = TopoDS::Edge(aChain.Value(1));
-  return Standard_True;
-}
-
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-TopoDS_Shape BlockFix_UnionEdges::Perform(const TopoDS_Shape& Shape,
-                                          const Standard_Real Tol)
-{
-  myContext = new ShapeBuild_ReShape;
-  myTolerance = Tol;
-  TopoDS_Shape aResult = myContext->Apply(Shape);
-  
-  // processing each solid
-  TopExp_Explorer exps;
-  for(exps.Init(Shape, TopAbs_SOLID); exps.More(); exps.Next()) {
-    TopoDS_Solid aSolid = TopoDS::Solid(exps.Current());
-
-    TopTools_IndexedMapOfShape ChangedFaces;
-    
-    // creating map of edge faces
-    TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces;
-    TopExp::MapShapesAndAncestors(aSolid, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces);
-  
-    Handle(ShapeBuild_ReShape) aContext = new ShapeBuild_ReShape;
-    TopoDS_Shape aRes = aSolid;
-    aRes = aContext->Apply(aSolid);
-
-    // processing each face
-    TopExp_Explorer exp;
-    for(exp.Init(aRes, TopAbs_FACE); exp.More(); exp.Next()) {
-      TopoDS_Face aFace =
-        TopoDS::Face(aContext->Apply(exp.Current().Oriented(TopAbs_FORWARD)));
-      TopTools_IndexedDataMapOfShapeListOfShape aMapFacesEdges;
-
-      for(TopExp_Explorer expe(aFace,TopAbs_EDGE); expe.More(); expe.Next()) {
-        TopoDS_Edge edge = TopoDS::Edge(expe.Current());
-        if(!aMapEdgeFaces.Contains(edge)) continue;
-        const TopTools_ListOfShape& aList = aMapEdgeFaces.FindFromKey(edge);
-        TopTools_ListIteratorOfListOfShape anIter(aList);
-        for( ; anIter.More(); anIter.Next()) {
-          TopoDS_Face face = TopoDS::Face(anIter.Value());
-          TopoDS_Face face1 = TopoDS::Face(aContext->Apply(anIter.Value()));
-          if(face1.IsSame(aFace)) continue;
-          if(aMapFacesEdges.Contains(face)) {
-            aMapFacesEdges.ChangeFromKey(face).Append(edge);
-          }
-          else {
-            TopTools_ListOfShape ListEdges;
-            ListEdges.Append(edge);
-            aMapFacesEdges.Add(face,ListEdges);
-          }
-        }
-      }
-      
-      for(Standard_Integer i=1; i<=aMapFacesEdges.Extent(); i++) {
-        const TopTools_ListOfShape& ListEdges = aMapFacesEdges.FindFromIndex(i);
-        TopTools_SequenceOfShape SeqEdges;
-        TopTools_ListIteratorOfListOfShape anIter(ListEdges);
-        for( ; anIter.More(); anIter.Next()) {
-          SeqEdges.Append(anIter.Value());
-        }
-        if(SeqEdges.Length()==1) continue;
-        TopoDS_Edge E;
-        if( MergeEdges(SeqEdges,aFace,Tol,E) ) {
-          // now we have only one edge - aChain.Value(1)
-          // we have to replace old ListEdges with this new edge
-          aContext->Replace(SeqEdges(1),E);
-          for(Standard_Integer j=2; j<=SeqEdges.Length(); j++) {
-            aContext->Remove(SeqEdges(j));
-          }
-          TopoDS_Face tmpF = TopoDS::Face(exp.Current());
-          if( !ChangedFaces.Contains(tmpF) )
-            ChangedFaces.Add(tmpF);
-          tmpF = TopoDS::Face(aMapFacesEdges.FindKey(i));
-          if( !ChangedFaces.Contains(tmpF) )
-            ChangedFaces.Add(tmpF);
-        }
-      }
-      
-    } // end processing each face
-    
-    // fix changed faces and replace them in the local context
-    for(Standard_Integer i=1; i<=ChangedFaces.Extent(); i++) {
-      TopoDS_Face aFace = TopoDS::Face(aContext->Apply(ChangedFaces.FindKey(i)));
-      Handle(ShapeFix_Face) sff = new ShapeFix_Face(aFace);
-      sff->SetContext(myContext);
-      sff->SetPrecision(myTolerance);
-      sff->SetMinTolerance(myTolerance);
-      sff->SetMaxTolerance(Max(1.,myTolerance*1000.));
-      sff->Perform();
-      aContext->Replace(aFace,sff->Face());
-    }
-
-    if(ChangedFaces.Extent()>0) {
-      // fix changed shell and replace it in the local context
-      TopoDS_Shape aRes1 = aContext->Apply(aRes);
-      TopExp_Explorer expsh;
-      for(expsh.Init(aRes1, TopAbs_SHELL); expsh.More(); expsh.Next()) {
-        TopoDS_Shell aShell = TopoDS::Shell(expsh.Current());
-        Handle(ShapeFix_Shell) sfsh = new ShapeFix_Shell;
-        sfsh->FixFaceOrientation(aShell);
-        aContext->Replace(aShell,sfsh->Shell());
-      }
-      TopoDS_Shape aRes2 = aContext->Apply(aRes1);
-      // put new solid into global context
-      myContext->Replace(aSolid,aRes2);
-    }
-
-  } // end processing each solid
-
-  aResult = myContext->Apply(Shape);
-  return aResult;
-}
diff --git a/src/GEOMAlgo/BlockFix_UnionEdges.hxx b/src/GEOMAlgo/BlockFix_UnionEdges.hxx
deleted file mode 100644 (file)
index 3b8aa21..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_UnionEdges_HeaderFile
-#define _BlockFix_UnionEdges_HeaderFile
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Handle_ShapeBuild_ReShape_HeaderFile
-#include <Handle_ShapeBuild_ReShape.hxx>
-#endif
-class ShapeBuild_ReShape;
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class BlockFix_UnionEdges  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_UnionEdges();
-Standard_EXPORT   TopoDS_Shape Perform(const TopoDS_Shape& Shape,const Standard_Real Tol) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Real myTolerance;
-Handle_ShapeBuild_ReShape myContext;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_UnionEdges.ixx b/src/GEOMAlgo/BlockFix_UnionEdges.ixx
deleted file mode 100644 (file)
index addb6a3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_UnionEdges.jxx>
-
-
-
diff --git a/src/GEOMAlgo/BlockFix_UnionEdges.jxx b/src/GEOMAlgo/BlockFix_UnionEdges.jxx
deleted file mode 100644 (file)
index a8b4095..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _ShapeBuild_ReShape_HeaderFile
-#include <ShapeBuild_ReShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BlockFix_UnionEdges_HeaderFile
-#include <BlockFix_UnionEdges.hxx>
-#endif
diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.cdl b/src/GEOMAlgo/BlockFix_UnionFaces.cdl
deleted file mode 100644 (file)
index 7fe6cae..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
--- File:       BlockFix_UnionFaces.cdl
--- Created:    Tue Dec  7 17:15:42 2004
--- Author:     Pavel Durandin
---             <det@doomox>
----Copyright:  Open CASCADE SA 2004
-
-
-class UnionFaces from BlockFix
-
-uses
-
-    Face from TopoDS,
-    Shape from TopoDS
-
-is
-
-    Create returns UnionFaces from BlockFix;
-       ---Purpose: Empty constructor
-    
-    GetTolerance(me: in out) returns Real;
-       ---Purpose: Returns modifiable tolerance
-       ---C++: return& 
-        
-    Perform (me: in out; Shape: Shape from TopoDS) returns Shape from TopoDS;
-       ---Purpose: Performs the unification of the fsces
-       --          whith the same geometry
-       
-    IsSameDomain(me; aFace      : Face from TopoDS;
-                    aChekedFace: Face from TopoDS)
-    returns Boolean is virtual;
-       ---Purpose: Returns true is surfaces have same geometrically domain
-       --          with given tolerance
-       
-    MovePCurves(me; aTarget: in out Face from TopoDS;
-                   aSource:        Face from TopoDS)
-    is virtual;
-       ---Purpose: Creates pcurves on aTarget face for each edge from 
-       --          aSource one.
-
-fields
-
-    myTolerance: Real;
-    
-end;
-    
-
diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.cxx b/src/GEOMAlgo/BlockFix_UnionFaces.cxx
deleted file mode 100644 (file)
index 1bb4464..0000000
+++ /dev/null
@@ -1,512 +0,0 @@
-// File:       BlockFix_UnionFaces.cxx
-// Created:    Tue Dec  7 17:15:42 2004
-// Author:     Pavel DURANDIN
-//             Open CASCADE SA 2004
-
-#include <BlockFix_UnionFaces.ixx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopExp.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <ShapeBuild_ReShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Face.hxx>  
-#include <TopoDS_Solid.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <Geom_Surface.hxx>
-#include <BRep_Tool.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <BRep_Builder.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <ShapeFix_Face.hxx>
-#include <BRep_Tool.hxx>
-#include <ShapeExtend_WireData.hxx>
-#include <ShapeAnalysis_WireOrder.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <Geom2d_Line.hxx>
-#include <gp_XY.hxx>
-#include <gp_Pnt2d.hxx>
-#include <ShapeBuild_Edge.hxx>
-#include <Geom_Curve.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <ShapeFix_Wire.hxx>
-#include <ShapeFix_Edge.hxx>
-
-#include <Geom_RectangularTrimmedSurface.hxx>
-#include <BRepTools.hxx>
-
-#include <TColGeom_HArray2OfSurface.hxx>
-#include <ShapeExtend_CompositeSurface.hxx>
-#include <ShapeFix_ComposeShell.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <ShapeFix_SequenceOfWireSegment.hxx>
-#include <ShapeFix_WireSegment.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <Geom_CylindricalSurface.hxx>
-#include <Geom_SphericalSurface.hxx>
-
-  
-//=======================================================================
-//function : BlockFix_UnionFaces
-//purpose  : 
-//=======================================================================
-
-BlockFix_UnionFaces::BlockFix_UnionFaces()
-     : myTolerance(Precision::Confusion())
-{
-}
-
-
-//=======================================================================
-//function : GetTolearnce
-//purpose  : 
-//=======================================================================
-
-Standard_Real& BlockFix_UnionFaces::GetTolerance()
-{
-  return myTolerance;
-}
-
-
-//=======================================================================
-//function : AddOrdinaryEdges
-//purpose  : auxilary
-//=======================================================================
-// adds edges from the shape to the sequence
-// seams and equal edges are dropped
-// Returns true if one of original edges dropped
-static Standard_Boolean AddOrdinaryEdges(TopTools_SequenceOfShape& edges,
-                                         const TopoDS_Shape aShape,
-                                         Standard_Integer& anIndex)
-{
-  //map of edges
-  TopTools_MapOfShape aNewEdges;
-  //add edges without seams
-  for(TopExp_Explorer exp(aShape,TopAbs_EDGE); exp.More(); exp.Next()) {
-    TopoDS_Shape edge = exp.Current();
-    if(aNewEdges.Contains(edge))
-      aNewEdges.Remove(edge);
-    else
-      aNewEdges.Add(edge);
-  }
-
-  Standard_Boolean isDropped = Standard_False;
-  //merge edges and drop seams
-  for(Standard_Integer i = 1; i <= edges.Length(); i++) {
-    TopoDS_Shape current = edges(i);
-    if(aNewEdges.Contains(current)) {
-               
-      aNewEdges.Remove(current);
-      edges.Remove(i);
-      i--;
-      
-      if(!isDropped) {
-        isDropped = Standard_True;
-        anIndex = i;
-      }
-    }
-  }
-          
-  //add edges to the sequemce
-  for(TopTools_MapIteratorOfMapOfShape anIter(aNewEdges); anIter.More(); anIter.Next())
-    edges.Append(anIter.Key());
-  
-  return isDropped;
-}
-
-
-//=======================================================================
-//function : ClearRts
-//purpose  : auxilary
-//=======================================================================
-static Handle(Geom_Surface) ClearRts(const Handle(Geom_Surface)& aSurface)
-{
-  if(aSurface->IsKind(STANDARD_TYPE(Geom_RectangularTrimmedSurface))) {
-    Handle(Geom_RectangularTrimmedSurface) rts = 
-      Handle(Geom_RectangularTrimmedSurface)::DownCast(aSurface);
-    return rts->BasisSurface();
-  }
-  return aSurface;
-}
-
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
-{
-  Handle(ShapeBuild_ReShape) myContext = new ShapeBuild_ReShape;
-  TopoDS_Shape aResShape = myContext->Apply(Shape);
-
-  // processing each solid
-  TopExp_Explorer exps;
-  for(exps.Init(Shape, TopAbs_SOLID); exps.More(); exps.Next()) {
-    TopoDS_Solid aSolid = TopoDS::Solid(exps.Current());
-
-    // creating map of edge faces
-    TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces;
-    TopExp::MapShapesAndAncestors(aSolid, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces);
-
-    // map of processed shapes
-    TopTools_MapOfShape aProcessed;
-  
-    Handle(ShapeBuild_ReShape) aContext = new ShapeBuild_ReShape;
-
-    Standard_Integer NbModif=0;
-    Standard_Boolean hasFailed = Standard_False;
-    Standard_Real tol = Min(Max(Precision::Confusion(), myTolerance/10.),0.1);
-    // processing each face
-    TopExp_Explorer exp;
-    //for( exp.Init(Shape, TopAbs_FACE); exp.More(); exp.Next()) {
-    for( exp.Init(aSolid, TopAbs_FACE); exp.More(); exp.Next()) {
-      TopoDS_Face aFace = TopoDS::Face(exp.Current().Oriented(TopAbs_FORWARD));
-      
-      if(aProcessed.Contains(aFace))
-        continue;
-    
-      Standard_Integer dummy;
-      TopTools_SequenceOfShape edges;
-      AddOrdinaryEdges(edges,aFace,dummy);
-    
-      TopTools_SequenceOfShape faces;
-      faces.Append(aFace);
-    
-      //surface and location to construct result
-      TopLoc_Location aBaseLocation;
-      Handle(Geom_Surface) aBaseSurface = BRep_Tool::Surface(aFace,aBaseLocation);
-      aBaseSurface = ClearRts(aBaseSurface);
-
-      // find adjacent faces to union
-      Standard_Integer i;
-      for( i = 1; i <= edges.Length(); i++) {
-        TopoDS_Edge edge = TopoDS::Edge(edges(i));
-        if(BRep_Tool::Degenerated(edge))
-          continue;
-      
-        const TopTools_ListOfShape& aList = aMapEdgeFaces.FindFromKey(edge);
-        TopTools_ListIteratorOfListOfShape anIter(aList);
-        for( ; anIter.More(); anIter.Next()) {
-          TopoDS_Face anCheckedFace = TopoDS::Face(anIter.Value().Oriented(TopAbs_FORWARD));
-          if(anCheckedFace.IsSame(aFace))
-            continue;
-        
-          if(aProcessed.Contains(anCheckedFace))
-            continue;
-        
-          if(IsSameDomain(aFace,anCheckedFace)) {
-          
-            if(aList.Extent() != 2) {
-              // non mainfold case is not processed
-              continue;
-            }
-          
-            // replacing pcurves
-            TopoDS_Face aMockUpFace;
-            BRep_Builder B;
-            B.MakeFace(aMockUpFace,aBaseSurface,aBaseLocation,0.);
-            MovePCurves(aMockUpFace,anCheckedFace);
-            
-            if(AddOrdinaryEdges(edges,aMockUpFace,dummy)) {
-              // sequence edges is modified
-              i = dummy;
-            }
-            
-            faces.Append(anCheckedFace);
-            aProcessed.Add(anCheckedFace);
-            break;
-          }
-        }
-      }
-    
-      // all faces collected in the sequence. Perform union of faces
-      if(faces.Length() > 1) {
-        NbModif++;
-        TopoDS_Face aResult;
-        BRep_Builder B;
-        B.MakeFace(aResult,aBaseSurface,aBaseLocation,0);
-        Standard_Integer nbWires = 0;
-      
-        // connecting wires
-        while(edges.Length()>0) {
-        
-          Standard_Boolean isEdge3d = Standard_False;
-          nbWires++;
-          TopTools_MapOfShape aVertices;
-          TopoDS_Wire aWire;
-          B.MakeWire(aWire);
-        
-          TopoDS_Edge anEdge = TopoDS::Edge(edges(1));
-          edges.Remove(1);
-        
-          isEdge3d |= !BRep_Tool::Degenerated(anEdge);
-          B.Add(aWire,anEdge);
-          TopoDS_Vertex V1,V2;
-          TopExp::Vertices(anEdge,V1,V2);
-          aVertices.Add(V1);
-          aVertices.Add(V2);
-        
-          Standard_Boolean isNewFound = Standard_False;
-          do {
-            isNewFound = Standard_False;
-            for(Standard_Integer j = 1; j <= edges.Length(); j++) {
-              anEdge = TopoDS::Edge(edges(j));
-              TopExp::Vertices(anEdge,V1,V2);
-              if(aVertices.Contains(V1) || aVertices.Contains(V2)) {
-                isEdge3d |= !BRep_Tool::Degenerated(anEdge);
-                aVertices.Add(V1);
-                aVertices.Add(V2);
-                B.Add(aWire,anEdge);
-                edges.Remove(j);
-                j--;
-                isNewFound = Standard_True;
-              }
-            }
-          } while (isNewFound);
-        
-          // sorting eny type of edges
-          aWire = TopoDS::Wire(aContext->Apply(aWire));
-                
-          TopoDS_Face tmpF = TopoDS::Face(aContext->Apply(faces(1).Oriented(TopAbs_FORWARD)));
-          Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire(aWire,tmpF,Precision::Confusion());
-          sfw->FixReorder();
-          Standard_Boolean isDegRemoved = Standard_False;
-          if(!sfw->StatusReorder ( ShapeExtend_FAIL )) {
-            // clear degenerated edges if at least one with 3d curve exist
-            if(isEdge3d) {
-              Handle(ShapeExtend_WireData) sewd = sfw->WireData();
-              for(Standard_Integer j = 1; j<=sewd->NbEdges();j++) {
-                TopoDS_Edge E = sewd->Edge(j);
-                if(BRep_Tool::Degenerated(E)) {
-                  sewd->Remove(j);
-                  isDegRemoved = Standard_True;
-                  j--;
-                }
-              }
-            }
-            sfw->FixShifted();
-            if(isDegRemoved)
-              sfw->FixDegenerated();
-          }
-          TopoDS_Wire aWireFixed = sfw->Wire();
-          aContext->Replace(aWire,aWireFixed);
-          // add resulting wire
-          if(isEdge3d) {
-            B.Add(aResult,aWireFixed);
-          }
-          else  {
-            // sorting edges
-            Handle(ShapeExtend_WireData) sbwd = sfw->WireData();
-            Standard_Integer nbEdges = sbwd->NbEdges();
-            // sort degenerated edges and create one edge instead of several ones
-            ShapeAnalysis_WireOrder sawo(Standard_False, 0);
-            ShapeAnalysis_Edge sae;
-            Standard_Integer aLastEdge = nbEdges;
-            for(Standard_Integer j = 1; j <= nbEdges; j++) {
-              Standard_Real f,l;
-              //smh protection on NULL pcurve
-              Handle(Geom2d_Curve) c2d;
-              if(!sae.PCurve(sbwd->Edge(j),tmpF,c2d,f,l)) {
-                aLastEdge--;
-                continue;
-              }
-              sawo.Add(c2d->Value(f).XY(),c2d->Value(l).XY());
-            }
-            sawo.Perform();
-            
-            // constructind one degenerative edge
-            gp_XY aStart, anEnd, tmp;
-            Standard_Integer nbFirst = sawo.Ordered(1);
-            TopoDS_Edge anOrigE = TopoDS::Edge(sbwd->Edge(nbFirst).Oriented(TopAbs_FORWARD));
-            ShapeBuild_Edge sbe;
-            TopoDS_Vertex aDummyV;
-            TopoDS_Edge E = sbe.CopyReplaceVertices(anOrigE,aDummyV,aDummyV);
-            sawo.XY(nbFirst,aStart,tmp);
-            sawo.XY(sawo.Ordered(aLastEdge),tmp,anEnd);
-          
-            gp_XY aVec = anEnd-aStart;
-            Handle(Geom2d_Line) aLine = new Geom2d_Line(aStart,gp_Dir2d(anEnd-aStart));
-
-            B.UpdateEdge(E,aLine,tmpF,0.);
-            B.Range(E,tmpF,0.,aVec.Modulus());
-            Handle(Geom_Curve) C3d;
-            B.UpdateEdge(E,C3d,0.);
-            B.Degenerated(E,Standard_True);
-            TopoDS_Wire aW;
-            B.MakeWire(aW);
-            B.Add(aW,E);
-            B.Add(aResult,aW);
-          }
-        
-        }
-      
-        // perform substitution of face
-        aContext->Replace(aContext->Apply(aFace),aResult);
-      
-      
-        ShapeFix_Face sff (aResult);
-        //Intializing by tolerances
-        sff.SetPrecision(myTolerance);
-        sff.SetMinTolerance(tol);
-        sff.SetMaxTolerance(Max(1.,myTolerance*1000.));
-        //Setting modes
-        sff.FixOrientationMode() = 0;
-        //sff.FixWireMode() = 0;
-        sff.SetContext(aContext);
-        // Applying the fixes
-        sff.Perform();
-        if(sff.Status(ShapeExtend_FAIL)) 
-        hasFailed = Standard_True;
-      
-        // breaking down to several faces
-        TopoDS_Shape theResult = aContext->Apply(aResult);
-        for(TopExp_Explorer aFaceExp(theResult,TopAbs_FACE);aFaceExp.More();aFaceExp.Next()) {
-          TopoDS_Face aCurrent = TopoDS::Face(aFaceExp.Current().Oriented(TopAbs_FORWARD));
-          Handle(TColGeom_HArray2OfSurface) grid = new TColGeom_HArray2OfSurface ( 1, 1, 1, 1 );
-          grid->SetValue ( 1, 1, aBaseSurface );
-          Handle(ShapeExtend_CompositeSurface) G = new ShapeExtend_CompositeSurface ( grid );
-          ShapeFix_ComposeShell CompShell;
-          CompShell.Init ( G, aBaseLocation, aCurrent, ::Precision::Confusion() );//myPrecision 
-          CompShell.SetContext( aContext );
-          
-          TopTools_SequenceOfShape parts;
-          ShapeFix_SequenceOfWireSegment wires;
-          for(TopExp_Explorer W_Exp(aCurrent,TopAbs_WIRE);W_Exp.More();W_Exp.Next()) {
-            Handle(ShapeExtend_WireData) sbwd = 
-              new ShapeExtend_WireData ( TopoDS::Wire(W_Exp.Current() ));
-            ShapeFix_WireSegment seg ( sbwd, TopAbs_REVERSED );
-            wires.Append(seg);
-          }
-                
-          CompShell.DispatchWires ( parts,wires );
-          for (Standard_Integer j=1; j <= parts.Length(); j++ ) {
-            ShapeFix_Face aFixOrient(TopoDS::Face(parts(j)));
-            aFixOrient.SetContext(aContext);
-            aFixOrient.FixOrientation();
-          }
-        
-          TopoDS_Shape CompRes;
-          if ( faces.Length() !=1 ) {
-            TopoDS_Shell S;
-            B.MakeShell ( S );
-            for ( i=1; i <= parts.Length(); i++ ) 
-              B.Add ( S, parts(i) );
-            CompRes = S;
-          }
-          else CompRes = parts(1);
-          
-          aContext->Replace(aCurrent,CompRes);
-        }
-      
-        // remove the remaining faces
-        for(i = 2; i <= faces.Length(); i++)
-          aContext->Remove(faces(i));
-      }
-    }
-  
-    //TopoDS_Shape aResult = Shape;
-    if(NbModif>0) {
-      TopoDS_Shape aResult = aSolid;
-      if(!hasFailed) {
-        aResult = aContext->Apply(aSolid);
-    
-        ShapeFix_Edge sfe;
-        for(exp.Init(aResult,TopAbs_EDGE); exp.More(); exp.Next()) {
-          TopoDS_Edge E = TopoDS::Edge(exp.Current());
-          sfe.FixVertexTolerance (E);
-          // ptv add fix same parameter
-          sfe.FixSameParameter(E, myTolerance);
-        }
-        
-        myContext->Replace(aSolid,aResult);
-      }
-    }
-//    else {
-      for( exp.Init(aSolid, TopAbs_FACE); exp.More(); exp.Next()) {
-        TopoDS_Face aFace = TopoDS::Face(exp.Current().Oriented(TopAbs_FORWARD));
-        Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire;
-        sfw->SetContext(myContext);
-        sfw->SetPrecision(myTolerance);
-        sfw->SetMinTolerance(myTolerance);
-        sfw->SetMaxTolerance(Max(1.,myTolerance*1000.));
-        sfw->SetFace(aFace);
-        for ( TopoDS_Iterator iter(aFace,Standard_False); iter.More(); iter.Next()) { 
-          TopoDS_Wire wire = TopoDS::Wire ( iter.Value() );
-          sfw->Load(wire);
-          sfw->FixReorder();
-          sfw->FixShifted();
-        }
-      }
-//    }
-
-  } // end processing each solid
-
-  aResShape = myContext->Apply(Shape);
-  return aResShape;
-}
-
-
-//=======================================================================
-//function : IsSameDomain
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean BlockFix_UnionFaces::IsSameDomain(const TopoDS_Face& aFace,
-                                                   const TopoDS_Face& aCheckedFace) const
-{
-  //checking the same handless
-  TopLoc_Location L1, L2;
-  Handle(Geom_Surface) S1, S2;
-  
-  S1 = BRep_Tool::Surface(aFace,L1);
-  S2 = BRep_Tool::Surface(aCheckedFace,L2);
-  
-  return (S1 == S2 && L1 == L2);
-}
-
-
-//=======================================================================
-//function : MovePCurves
-//purpose  : 
-//=======================================================================
-
-void BlockFix_UnionFaces::MovePCurves(TopoDS_Face& aTarget,
-                                      const TopoDS_Face& aSource) const
-{
-  BRep_Builder B;
-  for(TopExp_Explorer wexp(aSource,TopAbs_WIRE);wexp.More();wexp.Next()) {
-    Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire(TopoDS::Wire(wexp.Current()), 
-                                                  aTarget, Precision::Confusion());
-    sfw->FixReorder();
-    Standard_Boolean isReoredFailed = sfw->StatusReorder ( ShapeExtend_FAIL );
-    sfw->FixEdgeCurves();
-    if(isReoredFailed)
-      continue;
-    
-    sfw->FixShifted();
-    sfw->FixDegenerated();
-    
-    // remove degenerated edges from not degenerated points
-    ShapeAnalysis_Edge sae;
-    Handle(ShapeExtend_WireData) sewd = sfw->WireData();
-    for(Standard_Integer i = 1; i<=sewd->NbEdges();i++) {
-      TopoDS_Edge E = sewd->Edge(i);
-      if(BRep_Tool::Degenerated(E)&&!sae.HasPCurve(E,aTarget)) {
-        sewd->Remove(i);
-        i--;
-      }
-    }
-    
-    TopoDS_Wire ResWire = sfw->Wire();
-    B.Add(aTarget,ResWire);
-  }
-}
-     
diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.hxx b/src/GEOMAlgo/BlockFix_UnionFaces.hxx
deleted file mode 100644 (file)
index a676937..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _BlockFix_UnionFaces_HeaderFile
-#define _BlockFix_UnionFaces_HeaderFile
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class TopoDS_Shape;
-class TopoDS_Face;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class BlockFix_UnionFaces  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT BlockFix_UnionFaces();
-Standard_EXPORT   Standard_Real& GetTolerance() ;
-Standard_EXPORT   TopoDS_Shape Perform(const TopoDS_Shape& Shape) ;
-Standard_EXPORT virtual  Standard_Boolean IsSameDomain(const TopoDS_Face& aFace,const TopoDS_Face& aChekedFace) const;
-Standard_EXPORT virtual  void MovePCurves(TopoDS_Face& aTarget,const TopoDS_Face& aSource) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Real myTolerance;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.ixx b/src/GEOMAlgo/BlockFix_UnionFaces.ixx
deleted file mode 100644 (file)
index bae71ca..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <BlockFix_UnionFaces.jxx>
-
-
-
diff --git a/src/GEOMAlgo/BlockFix_UnionFaces.jxx b/src/GEOMAlgo/BlockFix_UnionFaces.jxx
deleted file mode 100644 (file)
index 8ccb134..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _BlockFix_UnionFaces_HeaderFile
-#include <BlockFix_UnionFaces.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo.cdl b/src/GEOMAlgo/GEOMAlgo.cdl
deleted file mode 100755 (executable)
index ec463fb..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
--- File:       GEOMAlgo.cdl
--- Created:    Sat Dec 04 12:36:22 2004
--- Author:     Peter KURNEV
---             <peter@PREFEX>
----Copyright:   Matra Datavision 2004
-
-
-package GEOMAlgo 
-
-       ---Purpose: 
-
-uses  
-    TCollection, 
-    TColStd, 
-    Geom,     
-    Bnd, 
-    gp,          
-    GeomAdaptor,
-    TopAbs,
-    TopoDS, 
-    TopTools, 
-    IntTools, 
-    BOPTools, 
-    BOP     
-    
-is   
-    --  enumerations 
-    --
-    enumeration State is 
-       ST_UNKNOWN, 
-       ST_IN,
-       ST_OUT,
-       ST_ON, 
-       ST_ONIN, 
-       ST_ONOUT, 
-       ST_INOUT    
-    end State;
-    -- 
-    --  classes 
-    -- 
-    deferred class Algo;
-    deferred class ShapeAlgo; 
-    -- 
-    --  gluer               
-    class Gluer; 
-    class GlueAnalyser; 
-    class CoupleOfShapes; 
-    class PassKey;  
-    class PassKeyMapHasher; 
-    class PassKeyShape;  
-    class SurfaceTools; 
-    class Tools;  
-    
-    --      
-    --  finder on 
-    deferred class ShapeSolid;
-    class WireSolid; 
-    class ShellSolid; 
-    class VertexSolid; 
-    class SolidSolid; 
-    class FinderShapeOn; 
-    -- 
-    class FinderShapeOn1;
-    class StateCollector;
-    --
-    --  instantiations
-    class IndexedDataMapOfPassKeyShapeListOfShape   
-       instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
-                                                     ListOfShape from TopTools, 
-                                                      PassKeyMapHasher from GEOMAlgo); 
-     
-    class IndexedDataMapOfShapeBox  
-       instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
-                                                        Box from Bnd,
-                                                        ShapeMapHasher from TopTools);
-    class IndexedDataMapOfIntegerShape  
-       instantiates IndexedDataMap from TCollection    (Integer from Standard,
-                                                        Shape from TopoDS,
-                                                        MapIntegerHasher from TColStd); 
-                                                         
-    class ListOfCoupleOfShapes  
-       instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
-
-
-    class IndexedDataMapOfShapeState  
-       instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
-                                                        State from TopAbs,  
-                                                        ShapeMapHasher from TopTools);
---
-    class ListOfPnt  
-       instantiates List from TCollection  (Pnt from gp);
-
---    class IndexedDataMapOfPassKeyInteger   
---     instantiates IndexedDataMap from TCollection (PassKeyRoot from GEOMAlgo, 
---                                                   Integer from Standard, 
---                                                      PassKeyMapHasher from GEOMAlgo); 
-                                                      
-
-    class DataMapOfPassKeyInteger   
-       instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
-                                              Integer from Standard, 
-                                               PassKeyMapHasher from GEOMAlgo);
-
-
-end GEOMAlgo;
diff --git a/src/GEOMAlgo/GEOMAlgo_Algo.cdl b/src/GEOMAlgo/GEOMAlgo_Algo.cdl
deleted file mode 100755 (executable)
index c39e7fb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- File:       GEOMAlgo_Algo.cdl
--- Created:    Sat Dec 04 12:37:56 2004
--- Author:     Peter KURNEV
---             <peter@PREFEX>
----Copyright:   Matra Datavision 2004
-
-
-deferred  class Algo from GEOMAlgo 
-
-       ---Purpose: 
-
---uses
---raises
-
-is
-    Initialize 
-       returns Algo from GEOMAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Algo();" 
-
-    Perform(me:out) 
-       is deferred;      
-
-    CheckData(me:out) 
-       is virtual protected;  
-       
-    CheckResult(me:out) 
-       is virtual protected;
-     
-    ErrorStatus (me) 
-       returns Integer from Standard; 
-  
-    WarningStatus (me) 
-       returns Integer from Standard;
-fields
-    myErrorStatus   : Integer from Standard  is protected;      
-    myWarningStatus : Integer from Standard  is protected;      
-end Algo;
diff --git a/src/GEOMAlgo/GEOMAlgo_Algo.cxx b/src/GEOMAlgo/GEOMAlgo_Algo.cxx
deleted file mode 100755 (executable)
index 8350180..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-// File:       GEOMAlgo_Algo.cxx
-// Created:    Sat Dec 04 12:39:47 2004
-// Author:     Peter KURNEV
-//             <peter@PREFEX>
-
-
-#include <GEOMAlgo_Algo.ixx>
-
-//=======================================================================
-// function: 
-// purpose: 
-//=======================================================================
-  GEOMAlgo_Algo::GEOMAlgo_Algo()
-:
-  myErrorStatus(1),
-  myWarningStatus(0)
-{}
-//=======================================================================
-// function: ~
-// purpose: 
-//=======================================================================
-  GEOMAlgo_Algo::~GEOMAlgo_Algo()
-{
-}
-//=======================================================================
-// function: CheckData
-// purpose: 
-//=======================================================================
-  void GEOMAlgo_Algo::CheckData()
-{
-  myErrorStatus=0;
-}
-//=======================================================================
-// function: CheckResult
-// purpose: 
-//=======================================================================
-  void GEOMAlgo_Algo::CheckResult()
-{
-  myErrorStatus=0;
-}
-//=======================================================================
-// function: ErrorStatus
-// purpose: 
-//=======================================================================
-  Standard_Integer GEOMAlgo_Algo::ErrorStatus()const
-{
-  return myErrorStatus;
-}
-//=======================================================================
-// function: WarningStatus
-// purpose: 
-//=======================================================================
-  Standard_Integer GEOMAlgo_Algo::WarningStatus()const
-{
-  return myWarningStatus;
-}
-//  myErrorStatus
-//
-// 1 - object is just initialized
diff --git a/src/GEOMAlgo/GEOMAlgo_Algo.hxx b/src/GEOMAlgo/GEOMAlgo_Algo.hxx
deleted file mode 100644 (file)
index aeb9743..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_Algo_HeaderFile
-#define _GEOMAlgo_Algo_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_Algo  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT virtual  void Perform()  = 0;
-Standard_EXPORT   Standard_Integer ErrorStatus() const;
-Standard_EXPORT   Standard_Integer WarningStatus() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT GEOMAlgo_Algo();
-Standard_EXPORT virtual ~GEOMAlgo_Algo();
-Standard_EXPORT virtual  void CheckData() ;
-Standard_EXPORT virtual  void CheckResult() ;
-
-
- // Fields PROTECTED
- //
-Standard_Integer myErrorStatus;
-Standard_Integer myWarningStatus;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_Algo.ixx b/src/GEOMAlgo/GEOMAlgo_Algo.ixx
deleted file mode 100644 (file)
index ae1ccb9..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_Algo.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_Algo.jxx b/src/GEOMAlgo/GEOMAlgo_Algo.jxx
deleted file mode 100644 (file)
index 3e8407f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _GEOMAlgo_Algo_HeaderFile
-#include <GEOMAlgo_Algo.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cdl b/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cdl
deleted file mode 100644 (file)
index bc06cd9..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- File:       GEOMAlgo_CoupleOfShapes.cdl
--- Created:    Wed Dec 15 13:00:10 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class CoupleOfShapes from GEOMAlgo 
-
-       ---Purpose: 
-
-uses
-    Shape from TopoDS
-
---raises
-
-is 
-    Create 
-       returns CoupleOfShapes from GEOMAlgo; 
-
-    SetShapes(me:out; 
-           aS1: Shape from TopoDS; 
-           aS2: Shape from TopoDS);
-     
-    SetShape1(me:out; 
-           aS1: Shape from TopoDS); 
-        
-    SetShape2(me:out; 
-           aS2: Shape from TopoDS);     
-
-    Shapes(me; 
-           aS1:out Shape from TopoDS; 
-           aS2:out Shape from TopoDS); 
-
-    Shape1(me) 
-       returns Shape from TopoDS; 
-    ---C++:return const &  
-     
-    Shape2(me) 
-       returns Shape from TopoDS; 
-    ---C++:return const & 
-
-fields  
-
-    myShape1: Shape from TopoDS is protected;   
-    myShape2: Shape from TopoDS is protected;   
-
-end CoupleOfShapes;
diff --git a/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cxx b/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cxx
deleted file mode 100644 (file)
index 0425291..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-// File:       GEOMAlgo_CoupleOfShapes.cxx
-// Created:    Wed Dec 15 13:03:52 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_CoupleOfShapes.ixx>
-//=======================================================================
-//function : GEOMAlgo_CoupleOfShapes
-//purpose  : 
-//=======================================================================
-GEOMAlgo_CoupleOfShapes::GEOMAlgo_CoupleOfShapes()
-{}
-//=======================================================================
-//function : SetShapes
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_CoupleOfShapes::SetShapes(const TopoDS_Shape& aS1,
-                                       const TopoDS_Shape& aS2)
-{
-  myShape1=aS1;
-  myShape2=aS2;
-}
-//=======================================================================
-//function : Shapes
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_CoupleOfShapes::Shapes(TopoDS_Shape& aS1,
-                                    TopoDS_Shape& aS2)const
-{
-  aS1=myShape1;
-  aS2=myShape2;
-}
-//=======================================================================
-//function : SetShape1
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_CoupleOfShapes::SetShape1(const TopoDS_Shape& aS1)
-{
-  myShape1=aS1;
-}
-//=======================================================================
-//function : SetShape2
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_CoupleOfShapes::SetShape2(const TopoDS_Shape& aS2)
-{
-  myShape2=aS2;
-}
-//=======================================================================
-//function : Shape1
-//purpose  : 
-//=======================================================================
-const TopoDS_Shape& GEOMAlgo_CoupleOfShapes::Shape1()const
-{
-  return myShape1;
-}
-//=======================================================================
-//function : Shape2
-//purpose  : 
-//=======================================================================
-const TopoDS_Shape& GEOMAlgo_CoupleOfShapes::Shape2()const
-{
-  return myShape2;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.hxx b/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.hxx
deleted file mode 100644 (file)
index 26889be..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#define _GEOMAlgo_CoupleOfShapes_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_CoupleOfShapes  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_CoupleOfShapes();
-Standard_EXPORT   void SetShapes(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
-Standard_EXPORT   void SetShape1(const TopoDS_Shape& aS1) ;
-Standard_EXPORT   void SetShape2(const TopoDS_Shape& aS2) ;
-Standard_EXPORT   void Shapes(TopoDS_Shape& aS1,TopoDS_Shape& aS2) const;
-Standard_EXPORT  const TopoDS_Shape& Shape1() const;
-Standard_EXPORT  const TopoDS_Shape& Shape2() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myShape1;
-TopoDS_Shape myShape2;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.ixx b/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.ixx
deleted file mode 100644 (file)
index 1e5d2f7..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_CoupleOfShapes.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.jxx b/src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.jxx
deleted file mode 100644 (file)
index 07fd4c4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx
deleted file mode 100644 (file)
index 292bb3a..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_HeaderFile
-#define _GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_HeaderFile
-
-#ifndef _TCollection_BasicMapIterator_HeaderFile
-#include <TCollection_BasicMapIterator.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#endif
-class Standard_NoSuchObject;
-class GEOMAlgo_PassKey;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_DataMapOfPassKeyInteger;
-class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger  : public TCollection_BasicMapIterator {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger();
-Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger(const GEOMAlgo_DataMapOfPassKeyInteger& aMap);
-Standard_EXPORT   void Initialize(const GEOMAlgo_DataMapOfPassKeyInteger& aMap) ;
-Standard_EXPORT  const GEOMAlgo_PassKey& Key() const;
-Standard_EXPORT  const Standard_Integer& Value() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_0.cxx
deleted file mode 100644 (file)
index 53a99ba..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#endif
-
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem Standard_Integer
-#define TheItem_hxx <Standard_Integer.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger
-#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
-#define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyInteger
-#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#include <TCollection_DataMapIterator.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx
deleted file mode 100644 (file)
index 7226f82..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class GEOMAlgo_PassKey;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_DataMapOfPassKeyInteger;
-class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger;
-
-
-class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger(const GEOMAlgo_PassKey& K,const Standard_Integer& I,const TCollection_MapNodePtr& n);
-  GEOMAlgo_PassKey& Key() const;
-  Standard_Integer& Value() const;
-Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-GEOMAlgo_PassKey myKey;
-Standard_Integer myValue;
-
-
-};
-
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem Standard_Integer
-#define TheItem_hxx <Standard_Integer.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger
-#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
-#define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyInteger
-#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-
-#include <TCollection_DataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_DataMapNode
-#undef TCollection_DataMapNode_hxx
-#undef TCollection_DataMapIterator
-#undef TCollection_DataMapIterator_hxx
-#undef Handle_TCollection_DataMapNode
-#undef TCollection_DataMapNode_Type_
-#undef TCollection_DataMap
-#undef TCollection_DataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_0.cxx
deleted file mode 100644 (file)
index 6035a47..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#endif
-GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger::~GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger",
-                                                        sizeof(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger))) {
-       _anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) ; 
-}
-Standard_Boolean GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger::~Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger() {}
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem Standard_Integer
-#define TheItem_hxx <Standard_Integer.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger
-#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
-#define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyInteger
-#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#include <TCollection_DataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger.hxx
deleted file mode 100644 (file)
index 746ac54..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
-#define _GEOMAlgo_DataMapOfPassKeyInteger_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_NoSuchObject;
-class GEOMAlgo_PassKey;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger;
-class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_DataMapOfPassKeyInteger  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_DataMapOfPassKeyInteger(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_DataMapOfPassKeyInteger& Assign(const GEOMAlgo_DataMapOfPassKeyInteger& Other) ;
-  GEOMAlgo_DataMapOfPassKeyInteger& operator =(const GEOMAlgo_DataMapOfPassKeyInteger& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_DataMapOfPassKeyInteger()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Boolean Bind(const GEOMAlgo_PassKey& K,const Standard_Integer& I) ;
-Standard_EXPORT   Standard_Boolean IsBound(const GEOMAlgo_PassKey& K) const;
-Standard_EXPORT   Standard_Boolean UnBind(const GEOMAlgo_PassKey& K) ;
-Standard_EXPORT  const Standard_Integer& Find(const GEOMAlgo_PassKey& K) const;
- const Standard_Integer& operator()(const GEOMAlgo_PassKey& K) const
-{
-  return Find(K);
-}
-
-Standard_EXPORT   Standard_Integer& ChangeFind(const GEOMAlgo_PassKey& K) ;
-  Standard_Integer& operator()(const GEOMAlgo_PassKey& K) 
-{
-  return ChangeFind(K);
-}
-
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_DataMapOfPassKeyInteger(const GEOMAlgo_DataMapOfPassKeyInteger& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfPassKeyInteger_0.cxx
deleted file mode 100644 (file)
index 0163b4e..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#endif
-#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_HeaderFile
-#include <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#endif
-
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem Standard_Integer
-#define TheItem_hxx <Standard_Integer.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
-#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger
-#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
-#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
-#define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyInteger
-#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#include <TCollection_DataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cdl b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cdl
deleted file mode 100644 (file)
index 4f8cfaa..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
--- File:       GEOMAlgo_FinderShapeOn.cdl
--- Created:    Tue Jan 11 14:35:52 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class FinderShapeOn from GEOMAlgo 
-    inherits ShapeAlgo from GEOMAlgo 
-    
-       ---Purpose: 
-
-uses
-    Surface from Geom, 
-    ShapeEnum from TopAbs, 
-    ListOfShape from TopTools, 
-    DataMapOfShapeShape from TopTools, 
-    Shape from TopoDS, 
-    State from GEOMAlgo, 
-    IndexedDataMapOfShapeState from GEOMAlgo 
-    
---raises
-
-is 
-    Create   
-       returns FinderShapeOn from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();" 
-     
-    Perform(me:out) 
-       is redefined;  
-        
-    SetSurface(me:out; 
-           aS:Surface from Geom); 
-        
-    SetShapeType(me:out; 
-           aST:ShapeEnum from TopAbs); 
-        
-    SetState(me:out; 
-           aSF:State from GEOMAlgo);      
-     
-    Surface(me) 
-       returns Surface from Geom; 
-    ---C++: return const & 
-     
-    ShapeType(me) 
-       returns ShapeEnum from TopAbs; 
-        
-    State(me)
-       returns State from GEOMAlgo;  
-     
-    Shapes(me)
-       returns ListOfShape from TopTools; 
-    ---C++: return const &  
-     
-    -- 
-    --  protected  methods
-    -- 
-    CheckData(me:out) 
-       is redefined protected; 
-
-    MakeArgument1(me:out) 
-       is protected;  
-
-    MakeArgument2(me:out) 
-       is protected;
-     
-    Find(me:out) 
-       is protected; 
-
-    Find(me:out; 
-           aS:Shape from TopoDS) 
-       is protected; 
-
-    FindVertices(me:out) 
-       is protected; 
-        
-    CopySource(myclass; 
-       aS  :Shape from TopoDS; 
-       aImages   : out DataMapOfShapeShape from TopTools;       
-       aOriginals: out DataMapOfShapeShape from TopTools;       
-       aSC : out Shape from TopoDS); 
-       
-                                       
-
-fields 
-    mySurface    : Surface from Geom is protected;  
-    myShapeType  : ShapeEnum from TopAbs is protected;  
-    myState      : State from GEOMAlgo is protected; 
-    myArg1       : Shape from TopoDS is protected;  
-    myArg2       : Shape from TopoDS is protected;  
-    myLS         : ListOfShape from TopTools is protected;
-    myImages     : DataMapOfShapeShape from TopTools is protected; 
-    myMSS        : IndexedDataMapOfShapeState from GEOMAlgo is protected; 
-    myIsAnalytic : Boolean from Standard is protected; 
-     
-end FinderShapeOn;
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cxx
deleted file mode 100644 (file)
index ce9b55f..0000000
+++ /dev/null
@@ -1,528 +0,0 @@
-// File:       GEOMAlgo_FinderShapeOn.cxx
-// Created:    Tue Jan 11 14:44:31 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_FinderShapeOn.ixx>
-
-#include <gp_Pnt.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopAbs_Orientation.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <BRepLib_MakeFace.hxx>
-#include <BRepLib_FaceError.hxx>
-
-#include <BOPTools_DSFiller.hxx>
-
-#include <GEOMAlgo_WireSolid.hxx>
-#include <GEOMAlgo_ShellSolid.hxx>
-#include <GEOMAlgo_VertexSolid.hxx>
-#include <GEOMAlgo_ShapeSolid.hxx>
-#include <GEOMAlgo_SolidSolid.hxx>
-#include <GEOMAlgo_SurfaceTools.hxx>
-#include <GEOMAlgo_Tools.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_FinderShapeOn
-//purpose  : 
-//=======================================================================
-GEOMAlgo_FinderShapeOn::GEOMAlgo_FinderShapeOn()
-:
-  GEOMAlgo_ShapeAlgo()
-{
-  myTolerance=0.0001;
-  myShapeType=TopAbs_VERTEX;
-  myState=GEOMAlgo_ST_UNKNOWN;
-  myIsAnalytic=Standard_True;
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_FinderShapeOn::~GEOMAlgo_FinderShapeOn()
-{
-}
-//=======================================================================
-//function : SetSurface
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::SetSurface(const Handle(Geom_Surface)& aS)
-{
-  mySurface=aS;
-}
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-const Handle(Geom_Surface)& GEOMAlgo_FinderShapeOn::Surface() const
-{
-  return mySurface;
-}
-//=======================================================================
-//function : SetShapeType
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::SetShapeType(const TopAbs_ShapeEnum aType)
-{
-  myShapeType=aType;
-}
-//=======================================================================
-//function : ShapeType
-//purpose  : 
-//=======================================================================
-TopAbs_ShapeEnum GEOMAlgo_FinderShapeOn::ShapeType()const
-{
-  return myShapeType;
-}
-//=======================================================================
-//function : SetState
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::SetState(const GEOMAlgo_State aState)
-{
-  myState=aState;
-}
-//=======================================================================
-//function : State
-//purpose  : 
-//=======================================================================
-GEOMAlgo_State GEOMAlgo_FinderShapeOn::State() const
-{
-  return myState;
-}
-//=======================================================================
-// function: Shapes
-// purpose: 
-//=======================================================================
-const TopTools_ListOfShape& GEOMAlgo_FinderShapeOn::Shapes() const
-{
-  Standard_Boolean bIsConformState;
-  Standard_Integer i, aNb;
-  TopAbs_State aSt;
-  TopTools_ListOfShape* pL;
-  //
-  pL=(TopTools_ListOfShape*) &myLS;
-  pL->Clear();
-  //
-  aNb=myMSS.Extent();
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aS=myMSS.FindKey(i);
-    aSt=myMSS.FindFromIndex(i);
-    //
-    bIsConformState=GEOMAlgo_SurfaceTools::IsConformState(aSt, myState);
-    if (bIsConformState) {
-      pL->Append(aS);
-    }
-  }
-  return myLS;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::Perform()
-{
-  myErrorStatus=0;
-  myWarningStatus=0;
-  myLS.Clear();
-  myMSS.Clear();
-  //
-  if (!myResult.IsNull()){
-    myResult.Nullify();
-  }
-  //
-  CheckData();
-  if(myErrorStatus) {
-    return;
-  }
-  //
-  myIsAnalytic=GEOMAlgo_SurfaceTools::IsAnalytic(mySurface);
-  //
-  MakeArgument1();
-  if(myErrorStatus) {
-    return;
-  }
-  //
-  if (myIsAnalytic && myShapeType==TopAbs_VERTEX) {
-    FindVertices();
-    return;
-  }
-  //
-  MakeArgument2();
-  if(myErrorStatus) {
-    return;
-  }
-  //
-  Find();
-  if(myErrorStatus || myWarningStatus) {
-    return;
-  }
-  //
-}
-//=======================================================================
-//function : FindVertices
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::FindVertices()
-{ 
-  Standard_Integer i, aNb, iErr;
-  TopAbs_State aSt;
-  TopAbs_Orientation aOr;
-  gp_Pnt aP;
-  TopTools_IndexedMapOfShape aM;
-  //
-  TopExp::MapShapes(myArg1, TopAbs_FACE, aM);
-  const TopoDS_Face& aF=TopoDS::Face(aM(1));
-  aOr=aF.Orientation();
-  //
-  aM.Clear();
-  TopExp::MapShapes(myShape, myShapeType, aM);
-  aNb=aM.Extent();
-  if (!aNb) {
-    myWarningStatus=10; // No found subshapes of type myShapeType
-    return;
-  }
-  //
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aS=aM(i);
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aS);
-    aP=BRep_Tool::Pnt(aV);
-    iErr=GEOMAlgo_SurfaceTools::GetState(aP, mySurface, myTolerance, aSt);
-    if (aOr==TopAbs_REVERSED) {
-      aSt=GEOMAlgo_SurfaceTools::ReverseState(aSt);
-    }
-    myMSS.Add(aS, aSt);
-  }
-}
-//=======================================================================
-//function : Find
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::Find()
-{
-  Standard_Integer i, aNb;
-  Standard_Boolean bICS;
-  TopTools_IndexedMapOfShape aM;
-  //
-  TopExp::MapShapes(myArg2, myShapeType, aM);
-  //
-  aNb=aM.Extent();
-  if (!aNb) {
-    myWarningStatus=10; // No found subshapes of type myShapeType
-    return;
-  }
-  //
-  bICS=GEOMAlgo_Tools::IsCompositeShape(myArg2);
-  if (!bICS || myIsAnalytic) {
-    TopoDS_Compound aCmp;
-    BRep_Builder aBB;
-    //
-    aBB.MakeCompound(aCmp);
-    for (i=1; i<=aNb; ++i) {
-      const TopoDS_Shape& aSi=aM(i);
-      aBB.Add(aCmp, aSi);
-    }
-    //
-    aM.Clear();
-    aM.Add(aCmp);
-    aNb=1;
-  }
-  //
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aS=aM(i);
-    Find(aS);
-    if (myErrorStatus) {
-      return;
-    }
-  }
-}
-//=======================================================================
-//function : Find
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::Find(const TopoDS_Shape& aS)
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsDone;
-  Standard_Integer i, iErr;
-  TopAbs_State aSts[]={TopAbs_IN, TopAbs_OUT, TopAbs_ON};
-  TopTools_ListIteratorOfListOfShape aIt;
-  BOPTools_DSFiller aDF;
-  //
-  // 1. Prepare DSFiller
-  aDF.SetShapes (myArg1, aS);
-  bIsDone=aDF.IsDone();
-  if (!bIsDone) {
-    myErrorStatus=30; // wrong args are used for DSFiller
-    return;
-  }
-  aDF.Perform();
-  bIsDone=aDF.IsDone();
-  if (!bIsDone) {
-    myErrorStatus=31; // DSFiller failed
-    return;
-  }
-  // 
-  // 2. Find shapes
-  GEOMAlgo_ShapeSolid* pSS;
-  GEOMAlgo_VertexSolid aVXS;
-  GEOMAlgo_WireSolid aWRS;
-  GEOMAlgo_ShellSolid aSHS;
-  GEOMAlgo_SolidSolid aSLS;
-  //
-  pSS=NULL;
-  //
-  switch (myShapeType) {
-    case TopAbs_VERTEX:
-      pSS=&aVXS;
-      break;
-    case TopAbs_EDGE:
-      pSS=&aWRS;
-      break;
-    case TopAbs_FACE:
-      pSS=&aSHS;
-      break;
-    case TopAbs_SOLID:
-      aSLS.SetShape2(myArg2);
-      pSS=&aSLS;
-      break;
-    default:
-      myErrorStatus=12; // unallowed subshape type
-      return;
-  }
-  //
-  pSS->SetFiller(aDF);
-  pSS->Perform();
-  iErr=pSS->ErrorStatus();
-  if (iErr) {
-    myErrorStatus=32; // builder ShapeSolid failed
-    return;
-  }
-  //
-  for (i=0; i<3; ++i) {
-    const TopTools_ListOfShape& aLS=pSS->Shapes(aSts[i]);
-    aIt.Initialize(aLS);
-    for (; aIt.More(); aIt.Next()) {
-      const TopoDS_Shape& aSImage=aIt.Value(); 
-      if (myImages.IsBound(aSImage)) { 
-       const TopoDS_Shape& aSx=myImages.Find(aSImage); 
-       myMSS.Add(aSx, aSts[i]);
-      }
-      else {
-       myErrorStatus=33;// can not find original shape
-       return; 
-      }
-    }
-  }
-}
-//=======================================================================
-//function : MakeArgument1
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::MakeArgument1()
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer i, aNb;
-  TopAbs_ShapeEnum aType;
-  BRepLib_FaceError aFErr;
-  BRepLib_MakeFace aMF;
-  TopTools_IndexedMapOfShape aM;
-  BRep_Builder aBB;
-  TopoDS_Face aFace;
-  TopoDS_Shell aSh;
-  TopoDS_Solid aSd;
-  //
-  // Argument 1
-  if (!myIsAnalytic) {
-    aMF.Init(mySurface, Standard_True);
-    aFErr=aMF.Error();
-    if (aFErr!=BRepLib_FaceDone) {
-      myErrorStatus=20; // can not build the face
-      return;
-    }
-    //
-    const TopoDS_Shape& aF=aMF.Shape();
-    aFace=TopoDS::Face(aF);
-    //
-    // update tolerances
-    aM.Add(aF);
-    TopExp::MapShapes(aF, TopAbs_VERTEX, aM);
-    TopExp::MapShapes(aF, TopAbs_EDGE, aM);
-    aNb=aM.Extent();
-    for (i=1; i<=aNb; ++i) {
-      const TopoDS_Shape& aS=aM(i);
-      aType=aS.ShapeType();
-      switch (aType) {
-      case TopAbs_VERTEX: {
-        const TopoDS_Vertex& aVx=TopoDS::Vertex(aS);
-       aBB.UpdateVertex(aVx, myTolerance);
-      }
-       break;
-      case TopAbs_EDGE: {
-        const TopoDS_Edge& aEx=TopoDS::Edge(aS);
-       aBB.UpdateEdge(aEx, myTolerance);
-      }
-       break;
-      case TopAbs_FACE: {
-        const TopoDS_Face& aFx=TopoDS::Face(aS);
-       aBB.UpdateFace(aFx, myTolerance);
-      }
-       break;
-      default:
-       break;
-      }
-    }
-  } //  
-  else {
-    aBB.MakeFace(aFace, mySurface, myTolerance);
-  }
-  //
-  // make solid
-  aBB.MakeShell(aSh);
-  aBB.Add(aSh, aFace);
-  aBB.MakeSolid(aSd);
-  aBB.Add(aSd, aSh);
-  myArg1=aSd;
-}
-//=======================================================================
-//function : MakeArgument2
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::MakeArgument2()
-{
-  myErrorStatus=0;
-  //
-  TopoDS_Shape aSC;
-  TopTools_DataMapOfShapeShape aOriginals;
-  //
-  myImages.Clear();
-  //
-  GEOMAlgo_FinderShapeOn::CopySource(myShape, myImages, aOriginals, aSC);
-  //
-  myArg2=aSC;
-}
-//=======================================================================
-//function : CheckData
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::CheckData()
-{
-  myErrorStatus=0;
-  //
-  if(mySurface.IsNull()) {
-    myErrorStatus=10; // mySurface=NULL
-    return;
-  }
-  //
-  if (myShape.IsNull()) {
-    myErrorStatus=11; // myShape=NULL
-    return;
-  }
-  //
-  if (!(myShapeType==TopAbs_VERTEX ||
-       myShapeType==TopAbs_EDGE ||
-       myShapeType==TopAbs_FACE ||
-       myShapeType==TopAbs_SOLID)) {
-    myErrorStatus=12; // unallowed subshape type
-    return;
-  }
-  //
-  if (myState==GEOMAlgo_ST_UNKNOWN || 
-      myState==GEOMAlgo_ST_INOUT) {
-    myErrorStatus=13; // unallowed state type
-    return;
-  }
-}
-//
-//=======================================================================
-//function : CopySource
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn::CopySource(const TopoDS_Shape& aE,
-                                       TopTools_DataMapOfShapeShape& aImages,
-                                       TopTools_DataMapOfShapeShape& aOriginals,
-                                       TopoDS_Shape& aEx)
-{
-  Standard_Boolean bFree;
-  TopAbs_ShapeEnum aType;
-  Standard_Integer aR;
-  BRep_Builder BB;
-  TopoDS_Iterator aIt;
-  //
-  aType=aE.ShapeType();
-  //
-  if (aOriginals.IsBound(aE)) {
-    aEx=aOriginals.ChangeFind(aE);
-    return;
-  }
-  else {
-    aEx=aE.EmptyCopied();
-    aOriginals.Bind(aE, aEx);
-    aImages.Bind(aEx, aE);
-  }
-  //
-  aR=(Standard_Integer)aType+1;
-  if (aR>TopAbs_VERTEX) {
-    return;
-  }
-  //
-  bFree=aEx.Free();
-  aEx.Free(Standard_True);
-  //
-  aType=(TopAbs_ShapeEnum) aR;
-  //
-  aIt.Initialize(aE);//, Standard_False);
-  for (; aIt.More();  aIt.Next()) {
-    const TopoDS_Shape& aV=aIt.Value();
-    TopoDS_Shape aVx;
-    //
-    CopySource (aV, aImages, aOriginals, aVx);  
-    //
-    aVx.Orientation(aV.Orientation());
-    BB.Add(aEx, aVx);
-  }
-  //
-  aEx.Free(bFree);
-}
-
-//
-// myErrorStatus :
-//
-// 10 -mySurface=NULL
-// 11 -myShape=NULL
-// 12 -unallowed type of subshapes 
-// 13 -unallowed state  
-// 20 -can not build the face
-// 30 -wrong args are used for DSFiller
-// 31 -DSFiller failed
-// 32 -builder ShapeSolid failed
-// 33 -can not find original shape
-//
-// myWarningStatus
-//
-// 10 -subshapes of type myShapeType can not be fond in myShape
-
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.hxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.hxx
deleted file mode 100644 (file)
index 42129bc..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_FinderShapeOn_HeaderFile
-#define _GEOMAlgo_FinderShapeOn_HeaderFile
-
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-#ifndef _GEOMAlgo_State_HeaderFile
-#include <GEOMAlgo_State.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
-#include <GEOMAlgo_ShapeAlgo.hxx>
-#endif
-class Geom_Surface;
-class TopTools_ListOfShape;
-class TopoDS_Shape;
-class TopTools_DataMapOfShapeShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_FinderShapeOn  : public GEOMAlgo_ShapeAlgo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_FinderShapeOn();
-Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn();
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT   void SetSurface(const Handle(Geom_Surface)& aS) ;
-Standard_EXPORT   void SetShapeType(const TopAbs_ShapeEnum aST) ;
-Standard_EXPORT   void SetState(const GEOMAlgo_State aSF) ;
-Standard_EXPORT  const Handle_Geom_Surface& Surface() const;
-Standard_EXPORT   TopAbs_ShapeEnum ShapeType() const;
-Standard_EXPORT   GEOMAlgo_State State() const;
-Standard_EXPORT  const TopTools_ListOfShape& Shapes() const;
-Standard_EXPORT static  void CopySource(const TopoDS_Shape& aS,TopTools_DataMapOfShapeShape& aImages,TopTools_DataMapOfShapeShape& aOriginals,TopoDS_Shape& aSC) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void CheckData() ;
-Standard_EXPORT   void MakeArgument1() ;
-Standard_EXPORT   void MakeArgument2() ;
-Standard_EXPORT   void Find() ;
-Standard_EXPORT   void Find(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void FindVertices() ;
-
-
- // Fields PROTECTED
- //
-Handle_Geom_Surface mySurface;
-TopAbs_ShapeEnum myShapeType;
-GEOMAlgo_State myState;
-TopoDS_Shape myArg1;
-TopoDS_Shape myArg2;
-TopTools_ListOfShape myLS;
-TopTools_DataMapOfShapeShape myImages;
-GEOMAlgo_IndexedDataMapOfShapeState myMSS;
-Standard_Boolean myIsAnalytic;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.ixx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.ixx
deleted file mode 100644 (file)
index 00afa2d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_FinderShapeOn.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.jxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn.jxx
deleted file mode 100644 (file)
index d9a8480..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _GEOMAlgo_FinderShapeOn_HeaderFile
-#include <GEOMAlgo_FinderShapeOn.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl
deleted file mode 100644 (file)
index 24c3459..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
--- File:       GEOMAlgo_FinderShapeOn1.cdl
--- Created:    Fri Mar  4 10:26:54 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class FinderShapeOn1 from GEOMAlgo  
-    inherits ShapeAlgo from GEOMAlgo 
-
-       ---Purpose: 
-
-uses
-    Surface from Geom, 
-    Surface from GeomAdaptor, 
-     
-    ShapeEnum from TopAbs, 
-    Face from TopoDS, 
-    Edge from TopoDS, 
-    ListOfShape from TopTools,  
-     
-    State from GEOMAlgo, 
-    ListOfPnt from GEOMAlgo, 
-    IndexedDataMapOfShapeState from GEOMAlgo 
-    
---raises
-
-is 
-    Create   
-       returns FinderShapeOn1 from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();" 
-
-    SetSurface(me:out; 
-           aS:Surface from Geom); 
-        
-    SetShapeType(me:out; 
-           aST:ShapeEnum from TopAbs); 
-        
-    SetState(me:out; 
-           aSF:State from GEOMAlgo);      
-     
-    SetNbPntsMin(me:out; 
-           aNb:Integer from Standard);   
-
-    NbPntsMin(me) 
-       returns Integer from Standard; 
-        
-    SetNbPntsMax(me:out; 
-           aNb:Integer from Standard);   
-
-    NbPntsMax(me) 
-       returns Integer from Standard; 
-        
-    Surface(me) 
-       returns Surface from Geom; 
-    ---C++: return const & 
-     
-    ShapeType(me) 
-       returns ShapeEnum from TopAbs; 
-        
-    State(me)
-       returns State from GEOMAlgo;  
-     
-    Perform(me:out) 
-       is redefined; 
-        
-    Shapes(me)
-       returns ListOfShape from TopTools; 
-    ---C++: return const &  
-    -- 
-    --  protected  methods
-    -- 
-    CheckData(me:out) 
-       is redefined protected; 
-        
-    ProcessVertices(me:out) 
-       is protected; 
-     
-    ProcessEdges(me:out) 
-       is protected; 
-  
-    ProcessFaces(me:out) 
-       is protected; 
-        
-    ProcessSolids(me:out) 
-       is protected; 
-         
-    InnerPoints(me:out; 
-           aF :Face from TopoDS;            
-           aLP:out ListOfPnt from GEOMAlgo) 
-       is protected;  
-        
-    InnerPoints(me:out; 
-           aE :Edge from TopoDS;            
-           aLP:out ListOfPnt from GEOMAlgo) 
-       is protected; 
-        
-    InnerPoints(me:out; 
-           aE :Edge from TopoDS;            
-           aNbPnts: Integer from Standard;     
-           aLP:out ListOfPnt from GEOMAlgo) 
-       is protected;  
-      
-    MSS (me)  
-       returns IndexedDataMapOfShapeState from GEOMAlgo; 
-    ---C++:return const &      
-    
-fields
-    mySurface   : Surface from Geom is protected;  
-    myShapeType : ShapeEnum from TopAbs is protected;  
-    myState     : State from GEOMAlgo is protected;  
-    myNbPntsMin : Integer from Standard is protected;   
-    myNbPntsMax : Integer from Standard is protected;   
-    -- 
-    myGAS       : Surface from GeomAdaptor is protected;
-    myLS        : ListOfShape from TopTools is protected; 
-    --     
-    myMSS       : IndexedDataMapOfShapeState from GEOMAlgo is protected;
-end FinderShapeOn1;
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx
deleted file mode 100644 (file)
index 8ceaf7c..0000000
+++ /dev/null
@@ -1,822 +0,0 @@
-// File:       GEOMAlgo_FinderShapeOn1.cxx
-// Created:    Fri Mar  4 10:31:06 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_FinderShapeOn1.ixx>
-#include <math.h>
-
-
-#include <Precision.hxx>
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-#include <gp_Trsf.hxx>
-#include <gp_Cylinder.hxx>
-#include <gp_Pnt.hxx>
-
-#include <TColgp_Array1OfPnt.hxx>
-
-#include <Poly_Array1OfTriangle.hxx>
-#include <Poly_Triangle.hxx>
-#include <Poly_PolygonOnTriangulation.hxx>
-#include <Poly_Triangulation.hxx>
-
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-#include <GeomAdaptor_Surface.hxx>
-#include <GeomAbs_SurfaceType.hxx>
-#include <GeomAdaptor_Curve.hxx>
-#include <GeomAbs_CurveType.hxx>
-
-#include <TopAbs_State.hxx>
-
-#include <TopLoc_Location.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepLib_MakeEdge.hxx>
-
-#include <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#include <GEOMAlgo_PassKey.hxx>
-#include <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
-#include <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
-#include <GEOMAlgo_SurfaceTools.hxx>
-#include <GEOMAlgo_StateCollector.hxx>
-
-
-//=======================================================================
-//function : GEOMAlgo_FinderShapeOn1
-//purpose  : 
-//=======================================================================
-GEOMAlgo_FinderShapeOn1::GEOMAlgo_FinderShapeOn1()
-:
-  GEOMAlgo_ShapeAlgo()
-{
-  myTolerance=0.0001;
-  myShapeType=TopAbs_VERTEX;
-  myState=GEOMAlgo_ST_UNKNOWN;
-  myNbPntsMin=3;
-  myNbPntsMax=0;
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_FinderShapeOn1::~GEOMAlgo_FinderShapeOn1()
-{
-}
-//=======================================================================
-//function : SetSurface
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::SetSurface(const Handle(Geom_Surface)& aS)
-{
-  mySurface=aS;
-}
-//=======================================================================
-//function : Surface
-//purpose  : 
-//=======================================================================
-const Handle(Geom_Surface)& GEOMAlgo_FinderShapeOn1::Surface() const
-{
-  return mySurface;
-}
-//=======================================================================
-//function : SetShapeType
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::SetShapeType(const TopAbs_ShapeEnum aType)
-{
-  myShapeType=aType;
-}
-//=======================================================================
-//function : ShapeType
-//purpose  : 
-//=======================================================================
-TopAbs_ShapeEnum GEOMAlgo_FinderShapeOn1::ShapeType()const
-{
-  return myShapeType;
-}
-//=======================================================================
-//function : SetState
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::SetState(const GEOMAlgo_State aState)
-{
-  myState=aState;
-}
-//=======================================================================
-//function : State
-//purpose  : 
-//=======================================================================
-GEOMAlgo_State GEOMAlgo_FinderShapeOn1::State() const
-{
-  return myState;
-}
-//=======================================================================
-//function : SetNbPntsMin
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::SetNbPntsMin(const Standard_Integer aNb)
-{
-  myNbPntsMin=aNb;
-}
-//=======================================================================
-//function : NbPntsMin
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_FinderShapeOn1::NbPntsMin()const
-{
-  return myNbPntsMin;
-}
-//=======================================================================
-//function : SetNbPntsMax
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::SetNbPntsMax(const Standard_Integer aNb)
-{
-  myNbPntsMax=aNb;
-}
-//=======================================================================
-//function : NbPntsMax
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_FinderShapeOn1::NbPntsMax()const
-{
-  return myNbPntsMax;
-}
-//=======================================================================
-// function: MSS
-// purpose: 
-//=======================================================================
-const GEOMAlgo_IndexedDataMapOfShapeState& GEOMAlgo_FinderShapeOn1::MSS() const
-{
-  return myMSS;
-}
-//=======================================================================
-// function: Shapes
-// purpose: 
-//=======================================================================
-const TopTools_ListOfShape& GEOMAlgo_FinderShapeOn1::Shapes() const
-{
-  Standard_Integer i, aNb;
-  TopTools_ListOfShape* pL;
-  //
-  pL=(TopTools_ListOfShape*) &myLS;
-  pL->Clear();
-  //
-  aNb=myMSS.Extent();
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aS=myMSS.FindKey(i);
-    if (aS.ShapeType()==myShapeType) {
-      pL->Append(aS);
-    }
-  }
-  return myLS;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::Perform()
-{
-  myErrorStatus=0;
-  myWarningStatus=0;
-  myLS.Clear();
-  myMSS.Clear();
-  //
-  CheckData();
-  if(myErrorStatus) {
-    return;
-  }
-  //
-  // 1
-  ProcessVertices();
-  if(myErrorStatus) {
-    return;
-  }
-  if (myShapeType==TopAbs_VERTEX) {
-    return;
-  }
-  //
-  // 2
-  ProcessEdges();
-  if(myErrorStatus) {
-    return;
-  }
-  if (myShapeType==TopAbs_EDGE) {
-    return;
-  }
-  //
-  // 3
-  ProcessFaces();
-  if(myErrorStatus) {
-    return;
-  }
-  if (myShapeType==TopAbs_FACE) {
-    return;
-  }
-  //
-  // 4
-  ProcessSolids(); 
-  //
-}
-//=======================================================================
-//function : ProcessVertices
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::ProcessVertices()
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsConformState;
-  Standard_Integer i, aNb;
-  gp_Pnt aP;
-  TopTools_IndexedMapOfShape aM;
-  TopAbs_State aSt;
-  //
-  TopExp::MapShapes(myShape, TopAbs_VERTEX, aM);
-  aNb=aM.Extent();
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aM(i));
-    aP=BRep_Tool::Pnt(aV);
-    //
-    GEOMAlgo_SurfaceTools::GetState(aP, myGAS, myTolerance, aSt);
-    bIsConformState=GEOMAlgo_SurfaceTools::IsConformState(aSt, myState);
-    //
-    if (myShapeType==TopAbs_VERTEX){
-      if (bIsConformState) {
-       myMSS.Add(aV, aSt);
-      }
-    }
-    else if (bIsConformState || aSt==TopAbs_ON) {
-      myMSS.Add(aV, aSt);
-    }
-  }
-}
-//=======================================================================
-//function : ProcessEdges
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::ProcessEdges()
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsConformState, bIsToBreak;
-  Standard_Integer i, aNb, iCnt;
-  TopAbs_State aSt;
-  TopTools_IndexedMapOfShape aM;
-  TopExp_Explorer aExp;
-  GEOMAlgo_ListIteratorOfListOfPnt aIt;
-  GeomAbs_SurfaceType aType1;
-  //
-  aType1=myGAS.GetType();
-  //
-  TopExp::MapShapes(myShape, TopAbs_EDGE, aM);
-  aNb=aM.Extent();
-  for (i=1; i<=aNb; ++i) {
-    GEOMAlgo_ListOfPnt aLP;
-    GEOMAlgo_StateCollector aSC;
-    //
-    const TopoDS_Edge& aE=TopoDS::Edge(aM(i));
-    //
-    aExp.Init(aE, TopAbs_VERTEX);
-    for (; aExp.More(); aExp.Next()) {
-      const TopoDS_Shape& aV=aExp.Current();
-      //
-      bIsConformState=myMSS.Contains(aV);
-      if (!bIsConformState) {
-       break;// vertex has non-conformed state
-      }
-      else {
-       aSt=myMSS.FindFromKey(aV);
-       aSC.AppendState(aSt);
-      }
-    }
-    //
-    if (!bIsConformState) {
-      continue; // vertex has non-conformed state,skip edge
-    }
-    //
-    if (BRep_Tool::Degenerated(aE)) {
-      myMSS.Add(aE, aSt); 
-      continue;
-    }
-    //
-    if (myState==GEOMAlgo_ST_ON && aType1==GeomAbs_Sphere) {
-      Standard_Real aT1, aT2;
-      Handle(Geom_Curve) aC; 
-      GeomAdaptor_Curve aGAC;
-      GeomAbs_CurveType aType2;
-      //
-      aC=BRep_Tool::Curve(aE, aT1, aT2);
-      aGAC.Load(aC);
-      //
-      aType2=aGAC.GetType();
-      if (aType2==GeomAbs_Line) {
-       continue;
-      }
-    }
-    //
-    InnerPoints(aE, aLP);
-    if (myErrorStatus) {
-      return;  
-    }
-    //
-    bIsConformState=Standard_True;
-    aIt.Initialize(aLP);
-    for (iCnt=0; aIt.More(); aIt.Next(), ++iCnt) {
-      if (myNbPntsMax) {
-       if (iCnt > myNbPntsMax) {
-         break;
-       }
-      }
-      //
-      const gp_Pnt& aP=aIt.Value();
-      GEOMAlgo_SurfaceTools::GetState(aP, myGAS, myTolerance, aSt);
-      bIsToBreak=aSC.AppendState(aSt);
-      if (bIsToBreak) {
-       break;
-      }
-    }
-    //
-    aSt=aSC.State();    
-    //
-    bIsConformState=GEOMAlgo_SurfaceTools::IsConformState(aSt, myState);
-    if (myShapeType==TopAbs_EDGE) {
-      if (bIsConformState) {
-       myMSS.Add(aE, aSt);
-      }
-    }
-    else if (bIsConformState || aSt==TopAbs_ON) {
-      myMSS.Add(aE, aSt);
-    }
-  } //  for (i=1; i<=aNb; ++i) next edge 
-}
-//=======================================================================
-//function : ProcessFaces
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::ProcessFaces()
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsConformState, bIsToBreak;
-  Standard_Integer i, aNbF, iCnt;
-  TopAbs_State aSt;
-  TopTools_IndexedMapOfShape aM;
-  TopExp_Explorer aExp;
-  GEOMAlgo_ListIteratorOfListOfPnt aIt;
-  GeomAbs_SurfaceType aType1, aType2;
-  //
-  aType1=myGAS.GetType();
-  //
-  TopExp::MapShapes(myShape, TopAbs_FACE, aM);
-  aNbF=aM.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    GEOMAlgo_StateCollector aSC;
-    GEOMAlgo_ListOfPnt aLP;
-    //
-    const TopoDS_Face& aF=TopoDS::Face(aM(i));
-    //
-    if (myState==GEOMAlgo_ST_ON) {
-      Handle(Geom_Surface) aS;
-      GeomAdaptor_Surface aGAS;
-      //
-      aS=BRep_Tool::Surface(aF);
-      aGAS.Load(aS);
-      aType2=aGAS.GetType();
-      if (aType2!=aType1) {
-       continue;
-      }
-    }
-    //
-    aExp.Init(aF, TopAbs_EDGE);
-    for (; aExp.More(); aExp.Next()) {
-      const TopoDS_Shape& aE=aExp.Current();
-      bIsConformState=myMSS.Contains(aE);
-      if (!bIsConformState) {
-       break;// edge has non-conformed state
-      }
-      else {
-       aSt=myMSS.FindFromKey(aE);
-       aSC.AppendState(aSt);
-      }
-    }
-    //
-    if (!bIsConformState) {
-      continue; // edge has non-conformed state,skip face
-    }
-    //
-    InnerPoints(aF, aLP);
-    if (myErrorStatus) {
-      return;
-    }
-    //
-    bIsConformState=Standard_True;
-    aIt.Initialize(aLP);
-    for (iCnt=0; aIt.More(); aIt.Next(), ++iCnt) {
-      if (myNbPntsMax) {
-       if (iCnt > myNbPntsMax) {
-         break;
-       }
-      }
-      //
-      const gp_Pnt& aP=aIt.Value();
-      GEOMAlgo_SurfaceTools::GetState(aP, myGAS, myTolerance, aSt);
-      bIsToBreak=aSC.AppendState(aSt);
-      if (bIsToBreak) {
-       break;
-      }
-    }
-    //
-    aSt=aSC.State();    
-    //
-    bIsConformState=GEOMAlgo_SurfaceTools::IsConformState(aSt, myState);
-    if (myShapeType==TopAbs_FACE) {
-      if (bIsConformState) {
-       myMSS.Add(aF, aSt);
-      }
-    }
-    else if (bIsConformState || aSt==TopAbs_ON) {
-      myMSS.Add(aF, aSt);
-    }
-  }//  for (i=1; i<=aNb; ++i) next face 
-}
-//=======================================================================
-//function : ProcessSolids
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::ProcessSolids()
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsConformState;
-  Standard_Integer i, aNbS, j, aNbF;
-  TopTools_IndexedMapOfShape aM, aMF;
-  TopAbs_State aSt;
-  //
-  TopExp::MapShapes(myShape, TopAbs_SOLID, aM);
-  aNbS=aM.Extent();
-  for (i=1; i<=aNbS; ++i) {
-    GEOMAlgo_StateCollector aSC;
-    //
-    const TopoDS_Shape& aSd=aM(i);
-    aMF.Clear();
-    TopExp::MapShapes(aSd, TopAbs_FACE, aMF);
-    aNbF=aMF.Extent();
-    for (j=1; j<=aNbF; ++j) {
-      const TopoDS_Shape& aF=aMF(j);
-      bIsConformState=myMSS.Contains(aF);
-      if (!bIsConformState) {
-       break;// face has non-conformed state
-      }
-      else {
-       aSt=myMSS.FindFromKey(aF);
-       aSC.AppendState(aSt);
-      }
-    }
-    //
-    if (!bIsConformState) {
-      continue; // face has non-conformed state,skip solid
-    }
-    //
-    aSt=aSC.State();    
-    //
-    bIsConformState=GEOMAlgo_SurfaceTools::IsConformState(aSt, myState);
-    if (bIsConformState) {
-      myMSS.Add(aSd, aSt);
-    }
-  }
-}
-//
-//=======================================================================
-//function : InnerPoints
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::InnerPoints(const TopoDS_Face& aF,
-                                         GEOMAlgo_ListOfPnt& aLP)
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer j, j1, j2, k, n[4], aNbLinks, aNx, aNbMax, aNb;
-  Standard_Integer iCnt, *pIds;
-  TopLoc_Location aLoc;
-  Handle(Poly_Triangulation) aTRF;
-  TColStd_MapOfInteger aMBN;
-  GEOMAlgo_DataMapOfPassKeyInteger aMPKI;
-  GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger aIt;
-  gp_Pnt aP, aP1, aP2;
-  //
-  aLP.Clear();
-  //
-  aTRF=BRep_Tool::Triangulation(aF, aLoc);
-  if (aTRF.IsNull()) {
-    myErrorStatus=20; // no triangulation found
-    return;  
-  }
-  //
-  const gp_Trsf& aTrsf=aLoc.Transformation();
-  const Poly_Array1OfTriangle& aTrs=aTRF->Triangles();
-  const TColgp_Array1OfPnt& aNodes=aTRF->Nodes();
-  //
-  // map link/nbtriangles
-  j1=aTrs.Lower();
-  j2=aTrs.Upper();
-  for (j=j1; j<=j2; ++j) {
-    const Poly_Triangle& aTr=aTrs(j);
-    aTr.Get(n[0], n[1], n[2]);
-    n[3]=n[0];
-    for (k=0; k<3; ++k) {
-      GEOMAlgo_PassKey aPK;
-      //
-      aPK.SetIds(n[k], n[k+1]);
-      if (aMPKI.IsBound(aPK)) {
-       Standard_Integer& iCntX=aMPKI.ChangeFind(aPK);
-       ++iCntX;
-      }
-      else {
-       aMPKI.Bind(aPK, 1);
-      }
-    }
-  }
-  //
-  // boundary nodes aMBN
-  aNbLinks=aMPKI.Extent();
-  aIt.Initialize(aMPKI);
-  for (; aIt.More(); aIt.Next()) {
-    iCnt=aIt.Value();
-    if (iCnt==1) {
-      const GEOMAlgo_PassKey& aPK=aIt.Key();
-      aNbMax=aPK.NbMax();
-      pIds=(Standard_Integer*)aPK.Key();
-      for (k=1; k<3; ++k) {
-       aNx=*(pIds+aNbMax-k);
-       aMBN.Add(aNx);
-      }
-    }
-  }
-  //
-  // inner nodes=all_nodes - boundary_nodes 
-  j1=aNodes.Lower();
-  j2=aNodes.Upper();
-  for (j=j1; j<=j2; ++j) {
-    if (!aMBN.Contains(j)) {
-      aP=aNodes(j).Transformed(aTrsf);
-      aLP.Append(aP);
-    }
-  }
-  //
-  aNb=aLP.Extent();
-  //
-  if (!aNb && myNbPntsMin) { 
-    // try to fill it yourself
-    Standard_Boolean bIsDone;
-    Standard_Integer aN1, aN2;
-    Handle(Geom_Surface) aS;
-    GeomAdaptor_Surface aGAS;
-    GeomAbs_SurfaceType aType;
-    //
-    aS=BRep_Tool::Surface(aF);
-    aGAS.Load(aS);
-    aType=aGAS.GetType();
-    if (aType==GeomAbs_Plane || aType==GeomAbs_Cylinder) {
-      // inner links
-      aNbLinks=aMPKI.Extent();
-      aIt.Initialize(aMPKI);
-      for (; aIt.More(); aIt.Next()) {
-       iCnt=aIt.Value();
-       if (iCnt>1) {
-         // take the first having occured inner link
-         // and discretize it
-         const GEOMAlgo_PassKey& aPK=aIt.Key();
-         aNbMax=aPK.NbMax();
-         pIds=(Standard_Integer*)aPK.Key();
-         aN1=*(pIds+aNbMax-1);
-         aN2=*(pIds+aNbMax-2);
-         aP1=aNodes(aN1).Transformed(aTrsf);
-         aP2=aNodes(aN2).Transformed(aTrsf);
-         //
-         if (aType==GeomAbs_Cylinder) {
-           Standard_Real aTolSM;
-           gp_Cylinder aCyl;
-           //
-           aTolSM=1.523e-6;//~1.-cos(0.1 deg)
-           aCyl=aGAS.Cylinder();
-           if (!GEOMAlgo_SurfaceTools::IsCoaxial(aP1, aP2, aCyl, aTolSM)) {
-             continue;
-           }
-         }
-         //
-         BRepLib_MakeEdge aBME(aP1, aP2);
-         bIsDone=aBME.IsDone();
-         if (!bIsDone) {
-           myErrorStatus=30; //can not obtain the line fron the link
-           return;
-         }
-         //
-         const TopoDS_Shape& aSx=aBME.Shape();
-         const TopoDS_Edge& aE=TopoDS::Edge(aSx);
-         //
-         InnerPoints(aE, myNbPntsMin, aLP);
-         break;
-       }// if (iCnt>1)
-      }// for (; aIt.More(); aIt.Next())
-    }// if (aType==GeomAbs_Plane || aType==GeomAbs_Cylinder) 
-  }// if (!aNb && myNbPntsMin) { 
-}
-//=======================================================================
-//function : InnerPoints
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::InnerPoints(const TopoDS_Edge& aE,
-                                         GEOMAlgo_ListOfPnt& aLP)
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer j, aNbNodes, aIndex, aNb;
-  Handle(Poly_PolygonOnTriangulation) aPTE;
-  Handle(Poly_Triangulation) aTRE;
-  TopLoc_Location aLoc;
-  gp_Pnt aP;
-  //
-  aLP.Clear();
-  BRep_Tool::PolygonOnTriangulation(aE, aPTE, aTRE, aLoc);
-  if (aTRE.IsNull() || aPTE.IsNull()) {
-    myErrorStatus=20; // no triangulation found
-    return;  
-  }
-  //
-  const gp_Trsf& aTrsf=aLoc.Transformation();
-  const TColgp_Array1OfPnt& aNodes=aTRE->Nodes();
-  //
-  aNbNodes=aPTE->NbNodes();
-  const TColStd_Array1OfInteger& aInds=aPTE->Nodes();
-  for (j=2; j<aNbNodes; ++j) {
-    aIndex=aInds(j);
-    aP=aNodes(aIndex).Transformed(aTrsf);
-    aLP.Append(aP);
-  }
-  //
-  aNb=aLP.Extent();
-  if (!aNb && myNbPntsMin) { 
-    // try to fill it yourself
-    InnerPoints(aE, myNbPntsMin, aLP);
-    aNb=aLP.Extent();
-    
-  }
-}
-//=======================================================================
-//function : InnerPoints
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::InnerPoints(const TopoDS_Edge& aE,
-                                         const Standard_Integer aNbPntsMin,
-                                         GEOMAlgo_ListOfPnt& aLP)
-{
-  // try to fill it yourself
-  Standard_Boolean bInf1, bInf2;
-  Standard_Integer j, aNbT;
-  Standard_Real dT, aT, aT1, aT2;
-  gp_Pnt aP;
-  Handle(Geom_Curve) aC3D;
-  //
-  aC3D=BRep_Tool::Curve(aE, aT1, aT2);
-  if (aC3D.IsNull()) {
-    return;
-  }
-  //
-  bInf1=Precision::IsNegativeInfinite(aT1);
-  bInf2=Precision::IsPositiveInfinite(aT2);
-  if (bInf1 || bInf2) {
-    return;
-  }
-  //
-  aNbT=myNbPntsMin+1;
-  dT=(aT2-aT1)/aNbT;
-  for (j=1; j<=aNbPntsMin; ++j) {
-    aT=aT1+j*dT;
-    aC3D->D0(aT, aP);
-    aLP.Append(aP);
-  }
-}
-
-//=======================================================================
-//function : CheckData
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_FinderShapeOn1::CheckData()
-{
-  myErrorStatus=0;
-  //
-  if(mySurface.IsNull()) {
-    myErrorStatus=10; // mySurface=NULL
-    return;
-  }
-  //
-  if (myShape.IsNull()) {
-    myErrorStatus=11; // myShape=NULL
-    return;
-  }
-  //
-  if (!(myShapeType==TopAbs_VERTEX ||
-       myShapeType==TopAbs_EDGE ||
-       myShapeType==TopAbs_FACE ||
-       myShapeType==TopAbs_SOLID)) {
-    myErrorStatus=12; // unallowed subshape type
-    return;
-  }
-  //
-  if (myState==GEOMAlgo_ST_UNKNOWN || 
-      myState==GEOMAlgo_ST_INOUT) {
-    myErrorStatus=13; // unallowed state type
-    return;
-  }
-  //
-  GeomAbs_SurfaceType aType;
-  //
-  myGAS.Load(mySurface);
-  aType=myGAS.GetType();
-  if (!(aType==GeomAbs_Plane || 
-       aType==GeomAbs_Cylinder ||
-       aType==GeomAbs_Sphere)) {
-    myErrorStatus=14; // unallowed surface type
-  }
-}
-
-//
-// myErrorStatus :
-//
-// 10 -mySurface=NULL
-// 11 -myShape=NULL
-// 12 -unallowed type of subshapes 
-// 13 -unallowed state  
-// 14 -unallowed surface type
-// 15 -unallowed surface type
-// 20- no triangulation found
-// 30- can not obtain the line from the link
-
-
-/*
-// Chronometer
-#include <OSD_Chronometer.hxx>
-#include <Standard_Static.hxx>
-
-Standard_STATIC(OSD_Chronometer, x_S_Chrono);
-static void x_StartChrono();
-static void x_StopChrono(); 
-static Standard_Boolean x_IsToShow(); 
-//
-//=======================================================================
-//function : x_StartChrono
-//purpose  : 
-//=======================================================================
-void x_StartChrono() 
-{
-  if (x_IsToShow()){
-    x_S_Chrono().Reset();
-    x_S_Chrono().Start();
-  }
-}
-//=======================================================================
-//function : x_StopChrono
-//purpose  : 
-//=======================================================================
-void x_StopChrono() 
-{ 
-  if (x_IsToShow()){
-    Standard_Real Chrono;
-    x_S_Chrono().Stop();
-    x_S_Chrono().Show(Chrono);
-    printf(" Tps: %lf\n", Chrono);
-    //cout << "Tps: " << Chrono << endl;
-  }
-}
-//=======================================================================
-//function : x_IsToShow
-//purpose  : 
-//=======================================================================
-Standard_Boolean x_IsToShow() 
-{ 
-  Standard_Boolean bFlag=Standard_False;
-  //
-  char *xr=getenv ("STDCHRONO");
-  if (xr!=NULL){
-    if (!strcmp (xr, "yes")) {
-      bFlag=!bFlag;
-    }
-  }
-  return bFlag;
-}
-*/
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.hxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.hxx
deleted file mode 100644 (file)
index 975e80b..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_FinderShapeOn1_HeaderFile
-#define _GEOMAlgo_FinderShapeOn1_HeaderFile
-
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-#ifndef _GEOMAlgo_State_HeaderFile
-#include <GEOMAlgo_State.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _GeomAdaptor_Surface_HeaderFile
-#include <GeomAdaptor_Surface.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#endif
-#ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
-#include <GEOMAlgo_ShapeAlgo.hxx>
-#endif
-class Geom_Surface;
-class TopTools_ListOfShape;
-class TopoDS_Face;
-class GEOMAlgo_ListOfPnt;
-class TopoDS_Edge;
-class GEOMAlgo_IndexedDataMapOfShapeState;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_FinderShapeOn1  : public GEOMAlgo_ShapeAlgo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_FinderShapeOn1();
-Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();
-Standard_EXPORT   void SetSurface(const Handle(Geom_Surface)& aS) ;
-Standard_EXPORT   void SetShapeType(const TopAbs_ShapeEnum aST) ;
-Standard_EXPORT   void SetState(const GEOMAlgo_State aSF) ;
-Standard_EXPORT   void SetNbPntsMin(const Standard_Integer aNb) ;
-Standard_EXPORT   Standard_Integer NbPntsMin() const;
-Standard_EXPORT   void SetNbPntsMax(const Standard_Integer aNb) ;
-Standard_EXPORT   Standard_Integer NbPntsMax() const;
-Standard_EXPORT  const Handle_Geom_Surface& Surface() const;
-Standard_EXPORT   TopAbs_ShapeEnum ShapeType() const;
-Standard_EXPORT   GEOMAlgo_State State() const;
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT  const TopTools_ListOfShape& Shapes() const;
-Standard_EXPORT  const GEOMAlgo_IndexedDataMapOfShapeState& MSS() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void CheckData() ;
-Standard_EXPORT   void ProcessVertices() ;
-Standard_EXPORT   void ProcessEdges() ;
-Standard_EXPORT   void ProcessFaces() ;
-Standard_EXPORT   void ProcessSolids() ;
-Standard_EXPORT   void InnerPoints(const TopoDS_Face& aF,GEOMAlgo_ListOfPnt& aLP) ;
-Standard_EXPORT   void InnerPoints(const TopoDS_Edge& aE,GEOMAlgo_ListOfPnt& aLP) ;
-Standard_EXPORT   void InnerPoints(const TopoDS_Edge& aE,const Standard_Integer aNbPnts,GEOMAlgo_ListOfPnt& aLP) ;
-
-
- // Fields PROTECTED
- //
-Handle_Geom_Surface mySurface;
-TopAbs_ShapeEnum myShapeType;
-GEOMAlgo_State myState;
-Standard_Integer myNbPntsMin;
-Standard_Integer myNbPntsMax;
-GeomAdaptor_Surface myGAS;
-TopTools_ListOfShape myLS;
-GEOMAlgo_IndexedDataMapOfShapeState myMSS;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.ixx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.ixx
deleted file mode 100644 (file)
index 6c89328..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_FinderShapeOn1.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.jxx b/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.jxx
deleted file mode 100644 (file)
index 2dc017a..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _GEOMAlgo_ListOfPnt_HeaderFile
-#include <GEOMAlgo_ListOfPnt.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#endif
-#ifndef _GEOMAlgo_FinderShapeOn1_HeaderFile
-#include <GEOMAlgo_FinderShapeOn1.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cdl b/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cdl
deleted file mode 100644 (file)
index ce1cef8..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- File:       GEOMAlgo_GlueAnalyser.cdl
--- Created:    Wed Dec 15 11:03:03 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class GlueAnalyser from GEOMAlgo 
-    inherits Gluer from GEOMAlgo  
-       ---Purpose: 
-
-uses 
-    ShapeEnum from TopAbs, 
-    ListOfShape from TopTools,
-    ListOfCoupleOfShapes from GEOMAlgo
-
---raises
-
-is
-    Create   
-       returns GlueAnalyser from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_GlueAnalyser();"
-
-    Perform(me:out) 
-       is redefined; 
-        
-    HasSolidsToGlue(me)   
-        returns Boolean from Standard;  
-     
-    SolidsToGlue(me) 
-       returns ListOfCoupleOfShapes from GEOMAlgo; 
-    ---C++:return const &  
-     
-    HasSolidsAlone(me)   
-        returns Boolean from Standard; 
-     
-    SolidsAlone(me) 
-       returns ListOfShape from TopTools; 
-    ---C++:return const &   
-     
-    DetectVertices(me:out) 
-       is protected;  
-     
-    DetectEdges(me:out) 
-       is protected; 
-     
-    DetectFaces(me:out) 
-       is protected;
-     
-    DetectShapes(me:out; 
-           aType:ShapeEnum from TopAbs) 
-       is protected;        
-
-    DetectSolids (me:out) 
-       is protected; 
-       
-    
-     
-fields  
-    mySolidsToGlue   : ListOfCoupleOfShapes from GEOMAlgo is protected; 
-    mySolidsAlone    : ListOfShape from TopTools is protected; 
-    
-end GlueAnalyser;
diff --git a/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cxx b/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cxx
deleted file mode 100644 (file)
index dfdc79c..0000000
+++ /dev/null
@@ -1,439 +0,0 @@
-// File:       GEOMAlgo_GlueDetector.cxx
-// Created:    Wed Dec 15 11:08:09 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_GlueAnalyser.ixx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <BRep_Builder.hxx>
-
-#include <TopExp.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-
-#include <GEOMAlgo_PassKeyShape.hxx>
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#include <GEOMAlgo_Tools.hxx>
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-
-#include <GEOMAlgo_Gluer.hxx>
-#include <Bnd_HArray1OfBox.hxx>
-#include <Bnd_BoundSortBox.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-#include <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-#include <Bnd_Box.hxx>
-#include <TColStd_ListOfInteger.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <BRepBndLib.hxx>
-
-//=======================================================================
-//function : 
-//purpose  : 
-//=======================================================================
-  GEOMAlgo_GlueAnalyser::GEOMAlgo_GlueAnalyser()
-:
-  GEOMAlgo_Gluer()
-{}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-  GEOMAlgo_GlueAnalyser::~GEOMAlgo_GlueAnalyser()
-{}
-//=======================================================================
-//function : HasSolidsToGlue
-//purpose  : 
-//=======================================================================
-  Standard_Boolean GEOMAlgo_GlueAnalyser::HasSolidsToGlue()const
-{
-  return !mySolidsToGlue.IsEmpty();
-}
-//=======================================================================
-//function : HasSolidsAlone
-//purpose  : 
-//=======================================================================
-  Standard_Boolean GEOMAlgo_GlueAnalyser::HasSolidsAlone()const
-{
-  return !mySolidsAlone.IsEmpty();
-}
-//=======================================================================
-//function : SolidsToGlue
-//purpose  : 
-//=======================================================================
-  const GEOMAlgo_ListOfCoupleOfShapes& GEOMAlgo_GlueAnalyser::SolidsToGlue()const
-{
-  return mySolidsToGlue;
-}
-//=======================================================================
-//function : SolidsAlone
-//purpose  : 
-//=======================================================================
-  const TopTools_ListOfShape& GEOMAlgo_GlueAnalyser::SolidsAlone()const
-{
-  return mySolidsAlone;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::Perform()
-{
-  myErrorStatus=0;
-  myWarningStatus=0;
-  //
-  mySolidsToGlue.Clear();
-  mySolidsAlone.Clear();
-  //
-  CheckData();
-  if (myErrorStatus) {
-    return;
-  }
-  //
-  InnerTolerance();
-  if (myErrorStatus) {
-    return;
-  }
-  //
-  DetectVertices();
-  if (myErrorStatus) {
-    return;
-  }
-  //
-  DetectEdges();
-  if (myErrorStatus) {
-    return;
-  }
-  //
-  DetectFaces();
-  if (myErrorStatus) {
-    return;
-  }
-  //
-  DetectSolids();
-  if (myErrorStatus) {
-    return;
-  }
-}
-//=======================================================================
-//function : DetectVertices
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::DetectVertices()
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer j, i, aNbV, aIndex, aNbVSD;
-  TColStd_ListIteratorOfListOfInteger aIt;
-  Handle(Bnd_HArray1OfBox) aHAB;
-  Bnd_BoundSortBox aBSB;
-  TopoDS_Shape aSTmp, aVF;
-  TopoDS_Vertex aVnew;
-  TopTools_IndexedMapOfShape aMV, aMVProcessed;
-  TopTools_ListIteratorOfListOfShape aItS;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape aItIm;
-  GEOMAlgo_IndexedDataMapOfIntegerShape aMIS;
-  GEOMAlgo_IndexedDataMapOfShapeBox aMSB;
-  //
-  TopExp::MapShapes(myShape, TopAbs_VERTEX, aMV);
-  aNbV=aMV.Extent();
-  if (!aNbV) {
-    myErrorStatus=2; // no vertices in source shape
-    return;
-  }
-  //
-  aHAB=new Bnd_HArray1OfBox(1, aNbV);
-  //
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    Bnd_Box aBox;
-    //
-    aBox.SetGap(myTol); 
-    BRepBndLib::Add(aV, aBox);
-    aHAB->SetValue(i, aBox);
-    aMIS.Add(i, aV);
-    aMSB.Add(aV, aBox); 
-  }
-  //
-  aBSB.Initialize(aHAB);
-  //
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    //
-    if (aMVProcessed.Contains(aV)) {
-      continue;
-    }
-    //
-    const Bnd_Box& aBoxV=aMSB.FindFromKey(aV);
-    const TColStd_ListOfInteger& aLI=aBSB.Compare(aBoxV);
-    aNbVSD=aLI.Extent();
-    if (!aNbVSD) {
-      myErrorStatus=3; // it must not be 
-      return;
-    }
-    //
-    // Images
-    TopTools_ListOfShape aLVSD;
-    //
-    aIt.Initialize(aLI);
-    for (j=0; aIt.More(); aIt.Next(), ++j) {
-      aIndex=aIt.Value();
-      const TopoDS_Shape& aVx=aMIS.FindFromKey(aIndex);
-      if(!j) {
-       aVF=aVx;
-      }
-      aLVSD.Append(aVx);
-      aMVProcessed.Add(aVx);
-    }
-    myImages.Bind(aVF, aLVSD);
-  }
-  // Origins
-  aItIm.Initialize(myImages);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aV=aItIm.Key();
-    const TopTools_ListOfShape& aLVSD=aItIm.Value();
-    //
-    aItS.Initialize(aLVSD);
-    for (; aItS.More(); aItS.Next()) {
-      const TopoDS_Shape& aVSD=aItS.Value();
-      if (!myOrigins.IsBound(aVSD)) {
-       myOrigins.Bind(aVSD, aV);
-      }
-    }
-  }
-}
-//=======================================================================
-//function : DetectFaces
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::DetectFaces()
-{
-  DetectShapes(TopAbs_FACE);
-}
-//=======================================================================
-//function : DetectEdges
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::DetectEdges()
-{
-  DetectShapes(TopAbs_EDGE);
-}
-//=======================================================================
-//function : DetectShapes
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::DetectShapes(const TopAbs_ShapeEnum aType)
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer i, aNbF, aNbSDF, iErr;
-  TopoDS_Shape aNewShape;
-  TopTools_IndexedMapOfShape aMF;
-  TopTools_ListIteratorOfListOfShape aItS;
-  GEOMAlgo_PassKeyShape aPKF;
-  GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape aMPKLF;
-  //
-  TopExp::MapShapes(myShape, aType, aMF);
-  //
-  aNbF=aMF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopoDS_Shape& aS=aMF(i);
-    // 
-    aPKF.Clear();
-    if (aType==TopAbs_FACE) {
-      const TopoDS_Face& aF=TopoDS::Face(aS);
-      FacePassKey(aF, aPKF);
-    }
-    else if (aType==TopAbs_EDGE) {
-      const TopoDS_Edge& aE=TopoDS::Edge(aS);
-      EdgePassKey(aE, aPKF);
-    }
-    //
-    if (myErrorStatus) {
-      return;
-    }
-    //
-    if (aMPKLF.Contains(aPKF)) {
-      TopTools_ListOfShape& aLSDF=aMPKLF.ChangeFromKey(aPKF);
-      aLSDF.Append(aS);
-    }
-    else {
-      TopTools_ListOfShape aLSDF;
-      //
-      aLSDF.Append(aS);
-      aMPKLF.Add(aPKF, aLSDF);
-    }
-  }
-  // check geometric coincidence
-  if (myCheckGeometry) {
-    iErr=GEOMAlgo_Tools::RefineSDShapes(aMPKLF, myTol, myContext); //XX
-    if (iErr) {
-      myErrorStatus=200;
-      return;
-    }
-  }
-  //
-  // Images/Origins
-  aNbF=aMPKLF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopTools_ListOfShape& aLSDF=aMPKLF(i);
-    aNbSDF=aLSDF.Extent();
-    if (!aNbSDF) {
-      myErrorStatus=4; // it must not be
-    }
-    //
-    const TopoDS_Shape& aS1=aLSDF.First();
-    aNewShape=aS1;
-    //
-    myImages.Bind(aNewShape, aLSDF);
-    // origins
-    aItS.Initialize(aLSDF);
-    for (; aItS.More(); aItS.Next()) {
-      const TopoDS_Shape& aFSD=aItS.Value();
-      if (!myOrigins.IsBound(aFSD)) {
-       myOrigins.Bind(aFSD, aNewShape);
-      }
-    }
-  }
-}
-//=======================================================================
-//function : DetectSolids
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_GlueAnalyser::DetectSolids()
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer i, aNbF, aNbS, aNbC, aNbX;
-  TopoDS_Compound aCmp;
-  BRep_Builder aBB;
-  TopTools_IndexedDataMapOfShapeListOfShape aMFS;
-  TopTools_IndexedMapOfShape aMx, aMS;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape aItIm;
-  GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape aMPKLS;
-  GEOMAlgo_PassKeyShape aPKSx;
-  GEOMAlgo_CoupleOfShapes aCS;
-  //
-  aBB.MakeCompound(aCmp);
-  //
-  TopExp::MapShapesAndAncestors(myShape, TopAbs_FACE, TopAbs_SOLID, aMFS);
-  //
-  aItIm.Initialize(myImages);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aIm=aItIm.Key();
-    if (aIm.ShapeType()!=TopAbs_FACE) {
-      continue;
-    }
-    //
-    const TopTools_ListOfShape& aLF=aItIm.Value();
-    aNbF=aLF.Extent();
-    if (aNbF!=2) {
-      continue;
-    }
-    //
-    TopoDS_Shape aSx[2], aFx[2];
-    //
-    aFx[0]=aLF.First();
-    aFx[1]=aLF.Last();
-    for (i=0; i<2; ++i) {
-      if (!aMFS.Contains(aFx[i])) {
-       continue;// it must not be so
-      }
-      //
-      const TopTools_ListOfShape& aLS=aMFS.FindFromKey(aFx[i]);
-      aNbS=aLS.Extent();
-      if (aNbS!=1) {
-       continue;
-      }
-      aSx[i]=aLS.First();
-    }
-    //
-    if (aSx[0].IsNull() || aSx[1].IsNull()) {
-      continue;
-    }
-    //
-    aPKSx.Clear();
-    aPKSx.SetIds(aSx[0], aSx[1]);
-    //
-    if (!aMPKLS.Contains(aPKSx)) {
-      TopTools_ListOfShape aLSx;
-      //
-      aLSx.Append(aSx[0]);
-      aLSx.Append(aSx[1]);
-      //
-      aMPKLS.Add(aPKSx, aLSx);
-    }
-  }
-  //
-  mySolidsToGlue.Clear();
-  mySolidsAlone.Clear();
-  
-  //
-  aNbC=aMPKLS.Extent();
-  if (!aNbC) {
-    return;
-  }
-  //
-  for (i=1; i<=aNbC; ++i) {
-    const TopTools_ListOfShape& aLSx=aMPKLS(i);
-    const TopoDS_Shape& aSx1=aLSx.First();
-    const TopoDS_Shape& aSx2=aLSx.Last();
-    aCS.SetShape1(aSx1);
-    aCS.SetShape2(aSx2);
-    mySolidsToGlue.Append(aCS);
-    //
-    if (!aMx.Contains(aSx1)) {
-      aBB.Add(aCmp, aSx1);
-      aMx.Add(aSx1);
-    }
-    if (!aMx.Contains(aSx2)) {
-      aBB.Add(aCmp, aSx2);
-      aMx.Add(aSx2);
-    }
-  }
-  myResult=aCmp;
-  //
-  // check alone solids
-  TopExp::MapShapes(myShape, TopAbs_SOLID, aMS);
-  //
-  aNbX=aMx.Extent();
-  for (i=1; i<=aNbX; ++i) {
-    const TopoDS_Shape& aSx=aMx(i);
-    if (!aMS.Contains(aSx)) {
-      mySolidsAlone.Append(aSx);
-    }
-  }
-}
-
-/*
-// A
-  // Make vertices
-  aMV.Clear();
-  aItIm.Initialize(myImages);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aV=aItIm.Key();
-    aMV.Add(aV);
-    const TopTools_ListOfShape& aLVSD=aItIm.Value();
-    MakeVertex(aLVSD, aVnew);//ZZ
-    myImages.Bind(aVnew, aLVSD);
-  }
-  //
-  aNbV=aMV.Extent();
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    myImages.UnBind(aV);
-  }
-  //
-  */
diff --git a/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.hxx b/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.hxx
deleted file mode 100644 (file)
index 4262f95..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_GlueAnalyser_HeaderFile
-#define _GEOMAlgo_GlueAnalyser_HeaderFile
-
-#ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_Gluer_HeaderFile
-#include <GEOMAlgo_Gluer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-class GEOMAlgo_ListOfCoupleOfShapes;
-class TopTools_ListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_GlueAnalyser  : public GEOMAlgo_Gluer {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_GlueAnalyser();
-Standard_EXPORT virtual ~GEOMAlgo_GlueAnalyser();
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT   Standard_Boolean HasSolidsToGlue() const;
-Standard_EXPORT  const GEOMAlgo_ListOfCoupleOfShapes& SolidsToGlue() const;
-Standard_EXPORT   Standard_Boolean HasSolidsAlone() const;
-Standard_EXPORT  const TopTools_ListOfShape& SolidsAlone() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void DetectVertices() ;
-Standard_EXPORT   void DetectEdges() ;
-Standard_EXPORT   void DetectFaces() ;
-Standard_EXPORT   void DetectShapes(const TopAbs_ShapeEnum aType) ;
-Standard_EXPORT   void DetectSolids() ;
-
-
- // Fields PROTECTED
- //
-GEOMAlgo_ListOfCoupleOfShapes mySolidsToGlue;
-TopTools_ListOfShape mySolidsAlone;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.ixx b/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.ixx
deleted file mode 100644 (file)
index da6caa2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_GlueAnalyser.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.jxx b/src/GEOMAlgo/GEOMAlgo_GlueAnalyser.jxx
deleted file mode 100644 (file)
index e44fa2d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_GlueAnalyser_HeaderFile
-#include <GEOMAlgo_GlueAnalyser.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_Gluer.cdl b/src/GEOMAlgo/GEOMAlgo_Gluer.cdl
deleted file mode 100755 (executable)
index 0044758..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
--- File:       GEOMAlgo_Gluer.cdl
--- Created:    Sat Dec 04 12:41:32 2004
--- Author:     Peter KURNEV
---             <peter@PREFEX>
----Copyright:   Matra Datavision 2004
-
-
-class Gluer from GEOMAlgo  
-    inherits ShapeAlgo from GEOMAlgo
-
-       ---Purpose: 
-
-uses 
-    ShapeEnum from TopAbs,
-    Shape from TopoDS,  
-    Edge from TopoDS, 
-    Face from TopoDS, 
-    Vertex from TopoDS, 
-    ListOfShape from TopTools,
-    DataMapOfShapeShape from TopTools,
-    DataMapOfShapeListOfShape from TopTools, 
-    Context from IntTools, 
-    PassKeyShape from GEOMAlgo
-
---raises
-
-is 
-    Create   
-       returns Gluer from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Gluer();" 
-     
-    SetCheckGeometry (me:out; 
-           aFlag:Boolean from Standard); 
-            
-    CheckGeometry (me) 
-       returns Boolean from Standard; 
-  
-    Perform(me:out) 
-       is redefined;   
-       
-    AloneShapes(me) 
-        returns Integer from Standard;     
-
-    --modified by NIZNHY-PKV Fri Jan 21 14:16:58 2005f-
-    Modified(me:out;  
-           S : Shape from TopoDS) 
-       returns ListOfShape from TopTools;
-    ---C++: return const & 
-   
-    Generated(me:out;  
-           S : Shape from TopoDS) 
-       returns ListOfShape from TopTools;
-    ---C++: return const & 
-
-    IsDeleted (me:out;  
-           S : Shape from TopoDS)
-       returns Boolean from Standard; 
-    --modified by NIZNHY-PKV Fri Jan 21 14:17:04 2005t  
-
-    CheckData(me:out) 
-       is redefined protected; 
-        
-    CheckResult        (me:out) 
-       is redefined protected; 
-        
-    MakeVertices(me:out) 
-       is protected;   
-  
-    MakeEdges(me:out) 
-       is protected; 
-     
-    MakeFaces(me:out) 
-       is protected;
-     
-    MakeShapes(me:out; 
-           aType:ShapeEnum from TopAbs) 
-       is protected;  
-     
-    MakeShells(me:out) 
-       is protected;
-      
-    MakeSolids(me:out) 
-       is protected; 
-        
-    InnerTolerance(me:out) 
-       is protected;
-    EdgePassKey(me:out; 
-           aE:Edge from TopoDS;  
-           aPK:out PassKeyShape from GEOMAlgo) 
-       is protected;     
-   
-    FacePassKey(me:out; 
-           aF:Face from TopoDS;  
-           aPK:out PassKeyShape from GEOMAlgo) 
-       is protected; 
-        
-    MakeVertex(me:out; 
-           aLV   : ListOfShape from TopTools;  
-           aNewV: out Vertex from TopoDS) 
-       is protected;   
-    MakeEdge(me:out; 
-           aEdge   : Edge from TopoDS;  
-           aNewEdge: out Edge from TopoDS) 
-       is protected;            
-    MakeFace(me:out; 
-           aFace   : Face from TopoDS;  
-           aNewEdge: out Face from TopoDS) 
-       is protected; 
-        
-    IsToReverse(me:out; 
-           aFR : Face from TopoDS;  
-           aF  : Face from TopoDS) 
-       returns Boolean from Standard        
-       is protected;  
-     
-    HasNewSubShape(me; 
-           aS  : Shape from TopoDS) 
-       returns Boolean from Standard        
-       is protected; 
--- 
-    Images(me) 
-       returns DataMapOfShapeListOfShape from TopTools;                 
-    ---C++:return const &  
-     
-    Origins(me) 
-       returns DataMapOfShapeShape from TopTools;               
-    ---C++:return const &  
-    
-fields 
-    myCheckGeometry : Boolean from Standard is protected; 
-    myTol         : Real from Standard is protected;   
-    myImages      : DataMapOfShapeListOfShape from TopTools is protected;   
-    myOrigins     : DataMapOfShapeShape from TopTools is protected; 
-    myNbAlone     : Integer from Standard is protected;      
-----    
-    myGenerated   : ListOfShape from TopTools is protected;
-----    
-
-end Gluer;
diff --git a/src/GEOMAlgo/GEOMAlgo_Gluer.cxx b/src/GEOMAlgo/GEOMAlgo_Gluer.cxx
deleted file mode 100755 (executable)
index 76bba07..0000000
+++ /dev/null
@@ -1,989 +0,0 @@
-// File:       GEOMAlgo_Gluer.cxx
-// Created:    Sat Dec 04 12:45:53 2004
-// Author:     Peter KURNEV
-//             <peter@PREFEX>
-
-
-#include <GEOMAlgo_Gluer.ixx>
-
-#include <TColStd_ListOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-#include <gp_XYZ.hxx>
-
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-
-#include <Bnd_Box.hxx>
-#include <Bnd_HArray1OfBox.hxx>
-#include <Bnd_BoundSortBox.hxx>
-
-#include <TopLoc_Location.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopAbs_Orientation.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepLib.hxx>
-#include <BRepTools.hxx>
-#include <BRepBndLib.hxx>
-
-#include <IntTools_Context.hxx>
-#include <BOPTools_Tools.hxx>
-#include <BOPTools_Tools3D.hxx>
-#include <BOPTools_Tools2D.hxx>
-#include <BOP_CorrectTolerances.hxx>
-
-#include <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-#include <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#include <GEOMAlgo_PassKeyShape.hxx>
-#include <GEOMAlgo_Tools.hxx>
-//
-
-static 
-  void GetSubShapes(const TopoDS_Shape& aS,
-                   TopTools_IndexedMapOfShape& aMSS);
-
-//=======================================================================
-//function : GEOMAlgo_Gluer
-//purpose  : 
-//=======================================================================
-GEOMAlgo_Gluer::GEOMAlgo_Gluer()
-:
-  GEOMAlgo_ShapeAlgo()
-{
-  myTolerance=0.0001;
-  myTol=myTolerance;
-  myCheckGeometry=Standard_True;
-  myNbAlone=0;
-}
-//=======================================================================
-//function : ~GEOMAlgo_Gluer
-//purpose  : 
-//=======================================================================
-GEOMAlgo_Gluer::~GEOMAlgo_Gluer()
-{
-}
-//=======================================================================
-//function : SetCheckGeometry
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::SetCheckGeometry(const Standard_Boolean aFlag)
-{
-  myCheckGeometry=aFlag;
-}
-//=======================================================================
-//function : CheckGeometry
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Gluer::CheckGeometry() const
-{
-  return myCheckGeometry;
-}
-//=======================================================================
-//function : AloneShapes
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_Gluer::AloneShapes()const
-{
-  return myNbAlone;
-}
-//=======================================================================
-//function : Images
-//purpose  : 
-//=======================================================================
-const TopTools_DataMapOfShapeListOfShape& GEOMAlgo_Gluer::Images()const
-{
-  return myImages;
-}
-//=======================================================================
-//function : Origins
-//purpose  : 
-//=======================================================================
-const TopTools_DataMapOfShapeShape& GEOMAlgo_Gluer::Origins()const
-{
-  return myOrigins;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::Perform()
-{
-  myErrorStatus=0;
-  myWarningStatus=0;
-  //
-  Standard_Integer i;
-  const Standard_Integer aNb=8;
-  void (GEOMAlgo_Gluer::* pF[aNb])()={
-    &GEOMAlgo_Gluer::CheckData,       &GEOMAlgo_Gluer::InnerTolerance,
-    &GEOMAlgo_Gluer::MakeVertices,    &GEOMAlgo_Gluer::MakeEdges,
-    &GEOMAlgo_Gluer::MakeFaces,       &GEOMAlgo_Gluer::MakeShells,
-    &GEOMAlgo_Gluer::MakeSolids,      &GEOMAlgo_Gluer::CheckResult
-  };
-  //
-  for (i=0; i<aNb; ++i) {
-    (this->*pF[i])();
-    if (myErrorStatus) {
-      return;
-    }
-  }
-}
-//=======================================================================
-//function : MakeVertices
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeVertices()
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer j, i, aNbV, aIndex, aNbVSD;
-  TColStd_ListIteratorOfListOfInteger aIt;
-  Handle(Bnd_HArray1OfBox) aHAB;
-  Bnd_BoundSortBox aBSB;
-  TopoDS_Shape aSTmp, aVF;
-  TopoDS_Vertex aVnew;
-  TopTools_IndexedMapOfShape aMV, aMVProcessed;
-  TopTools_ListIteratorOfListOfShape aItS;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape aItIm;
-  TopTools_DataMapOfShapeListOfShape aMVV;
-  GEOMAlgo_IndexedDataMapOfIntegerShape aMIS;
-  GEOMAlgo_IndexedDataMapOfShapeBox aMSB;
-  //
-  TopExp::MapShapes(myShape, TopAbs_VERTEX, aMV);
-  aNbV=aMV.Extent();
-  if (!aNbV) {
-    myErrorStatus=2; // no vertices in source shape
-    return;
-  }
-  //
-  aHAB=new Bnd_HArray1OfBox(1, aNbV);
-  //
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    Bnd_Box aBox;
-    //
-    aBox.SetGap(myTol); 
-    BRepBndLib::Add(aV, aBox);
-    aHAB->SetValue(i, aBox);
-    aMIS.Add(i, aV);
-    aMSB.Add(aV, aBox); 
-  }
-  //
-  aBSB.Initialize(aHAB);
-  //
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    //
-    if (aMVProcessed.Contains(aV)) {
-      continue;
-    }
-    //
-    const Bnd_Box& aBoxV=aMSB.FindFromKey(aV);
-    const TColStd_ListOfInteger& aLI=aBSB.Compare(aBoxV);
-    aNbVSD=aLI.Extent();
-    if (!aNbVSD) {
-      myErrorStatus=3; // it must not be 
-      return;
-    }
-    //
-    // Images
-    //
-    TopTools_ListOfShape aLVSD;
-    //
-    aIt.Initialize(aLI);
-    for (j=0; aIt.More(); aIt.Next(), ++j) {
-      aIndex=aIt.Value();
-      const TopoDS_Shape& aVx=aMIS.FindFromKey(aIndex);
-      if(!j) {
-       aVF=aVx;
-      }
-      aLVSD.Append(aVx);
-      aMVProcessed.Add(aVx);
-    }
-    //
-    myImages.Bind(aVF, aLVSD);
-  }
-  //
-  // Make new vertices
-  aMV.Clear();
-  aItIm.Initialize(myImages);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aV=aItIm.Key();
-    const TopTools_ListOfShape& aLVSD=aItIm.Value();
-    aNbVSD=aLVSD.Extent();
-    if (aNbVSD>1) {
-      aMV.Add(aV);
-      MakeVertex(aLVSD, aVnew);
-      aMVV.Bind(aVnew, aLVSD);
-    }
-  }
-  //
-  // UnBind old vertices
-  aNbV=aMV.Extent();
-  for (i=1; i<=aNbV; ++i) {
-    const TopoDS_Shape& aV=aMV(i);
-    myImages.UnBind(aV);
-  }
-  //
-  // Bind new vertices
-  aItIm.Initialize(aMVV);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aV=aItIm.Key();
-    const TopTools_ListOfShape& aLVSD=aItIm.Value();
-    myImages.Bind(aV, aLVSD);
-  }
-  //
-  // Origins
-  aItIm.Initialize(myImages);
-  for (; aItIm.More(); aItIm.Next()) {
-    const TopoDS_Shape& aV=aItIm.Key();
-    const TopTools_ListOfShape& aLVSD=aItIm.Value();
-    //
-    aItS.Initialize(aLVSD);
-    for (; aItS.More(); aItS.Next()) {
-      const TopoDS_Shape& aVSD=aItS.Value();
-      if (!myOrigins.IsBound(aVSD)) {
-       myOrigins.Bind(aVSD, aV);
-      }
-    }
-  }
-}
-//=======================================================================
-//function : MakeSolids
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeSolids()
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer aNbS;
-  TopAbs_Orientation anOr;
-  TopoDS_Compound aCmp;
-  TopoDS_Solid aNewSolid;
-  TopTools_IndexedMapOfShape aMS;
-  TopExp_Explorer aExpS, aExp;
-  BRep_Builder aBB;
-  //
-  aBB.MakeCompound(aCmp);
-  //
-  aNbS=aMS.Extent();
-  aExpS.Init(myShape, TopAbs_SOLID);
-  for (; aExpS.More(); aExpS.Next()) {
-    const TopoDS_Solid& aSolid=TopoDS::Solid(aExpS.Current());
-    if (aMS.Contains(aSolid)) {
-      continue;
-    }
-    aMS.Add(aSolid);
-    //
-    anOr=aSolid.Orientation();
-    //
-    aBB.MakeSolid(aNewSolid);
-    aNewSolid.Orientation(anOr);
-    //
-    aExp.Init(aSolid, TopAbs_SHELL);
-    for (; aExp.More(); aExp.Next()) {
-      const TopoDS_Shape& aShell=aExp.Current();
-      const TopoDS_Shape& aShellR=myOrigins.Find(aShell);
-      aBB.Add(aNewSolid, aShellR);
-    }
-    //
-    TopTools_ListOfShape aLS;
-    //
-    aLS.Append(aSolid);
-    myImages.Bind(aNewSolid, aLS);
-    myOrigins.Bind(aSolid, aNewSolid);
-    //
-    aBB.Add(aCmp, aNewSolid);
-  }
-  //
-  myResult=aCmp;
-  //
-  aNbS=aMS.Extent();
-  if (aNbS) {
-    Standard_Real aTol=1.e-7;
-    BOP_CorrectTolerances::CorrectCurveOnSurface(myResult);
-  }
-}
-//=======================================================================
-//function : MakeShells
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeShells()
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsToReverse;
-  Standard_Integer i, aNbS;
-  TopAbs_Orientation anOr;
-  TopoDS_Shell aNewShell;
-  TopoDS_Face aFR;
-  TopTools_IndexedMapOfShape aMS;
-  TopExp_Explorer aExp;
-  BRep_Builder aBB;
-  //
-  TopExp::MapShapes(myShape, TopAbs_SHELL, aMS);
-  //
-  aNbS=aMS.Extent();
-  for (i=1; i<=aNbS; ++i) {
-    const TopoDS_Shell& aShell=TopoDS::Shell(aMS(i));
-    anOr=aShell.Orientation();
-    //
-    aBB.MakeShell(aNewShell);
-    aNewShell.Orientation(anOr);
-    aExp.Init(aShell, TopAbs_FACE);
-    for (; aExp.More(); aExp.Next()) {
-      const TopoDS_Face& aF=TopoDS::Face(aExp.Current());
-      aFR=TopoDS::Face(myOrigins.Find(aF));
-      if (aFR.IsSame(aF)) {
-       aBB.Add(aNewShell, aF);
-       continue;
-      }
-      bIsToReverse=IsToReverse(aFR, aF);
-      if (bIsToReverse) {
-       aFR.Reverse();
-      }
-      aBB.Add(aNewShell, aFR);
-    }
-    //
-    TopTools_ListOfShape aLS;
-    //
-    aLS.Append(aShell);
-    myImages.Bind(aNewShell, aLS);
-    myOrigins.Bind(aShell, aNewShell);
-  }
-}
-//=======================================================================
-//function : MakeFaces
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeFaces()
-{
-  MakeShapes(TopAbs_FACE);
-}
-//=======================================================================
-//function : MakeEdges
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeEdges()
-{
-  MakeShapes(TopAbs_EDGE);
-}
-//=======================================================================
-//function : MakeShapes
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeShapes(const TopAbs_ShapeEnum aType)
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bHasNewSubShape;
-  Standard_Integer i, aNbF, aNbSDF, iErr;
-  TopoDS_Shape aNewShape;
-  TopTools_IndexedMapOfShape aMF;
-  TopTools_ListIteratorOfListOfShape aItS;
-  GEOMAlgo_PassKeyShape aPKF;
-  GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape aMPKLF;
-  //
-  TopExp::MapShapes(myShape, aType, aMF);
-  //
-  aNbF=aMF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopoDS_Shape& aS=aMF(i);
-    // 
-    aPKF.Clear();
-    if (aType==TopAbs_FACE) {
-      const TopoDS_Face& aF=TopoDS::Face(aS);
-      FacePassKey(aF, aPKF);
-    }
-    else if (aType==TopAbs_EDGE) {
-      const TopoDS_Edge& aE=TopoDS::Edge(aS);
-      EdgePassKey(aE, aPKF);
-    }
-    //
-    if (myErrorStatus) {
-      return;
-    }
-    //
-    if (aMPKLF.Contains(aPKF)) {
-      TopTools_ListOfShape& aLSDF=aMPKLF.ChangeFromKey(aPKF);
-      aLSDF.Append(aS);
-    }
-    else {
-      TopTools_ListOfShape aLSDF;
-      //
-      aLSDF.Append(aS);
-      aMPKLF.Add(aPKF, aLSDF);
-    }
-  }
-  // check geometric coincidence
-  if (myCheckGeometry) {
-    iErr=GEOMAlgo_Tools::RefineSDShapes(aMPKLF, myTol, myContext); 
-    if (iErr) {
-      myErrorStatus=200;
-      return;
-    }
-  }
-  //
-  // Images/Origins
-  //
-  aNbF=aMPKLF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopTools_ListOfShape& aLSDF=aMPKLF(i);
-    aNbSDF=aLSDF.Extent();
-    if (!aNbSDF) {
-      myErrorStatus=4; // it must not be
-    }
-    //
-    const TopoDS_Shape& aS1=aLSDF.First();
-    //
-    bHasNewSubShape=Standard_True;
-    // prevent creation of a new shape if there are not
-    // new subshapes of aSS among the originals
-    if (aNbSDF==1) {
-      bHasNewSubShape=HasNewSubShape(aS1);
-      if (!bHasNewSubShape) {
-       aNewShape=aS1;
-       aNewShape.Orientation(TopAbs_FORWARD);
-      }
-    }
-    //
-    if (bHasNewSubShape) { 
-      if (aType==TopAbs_FACE) {
-       TopoDS_Face aNewFace;
-       //
-       const TopoDS_Face& aF1=TopoDS::Face(aS1);
-       MakeFace(aF1, aNewFace);
-       aNewShape=aNewFace;
-      }
-      else if (aType==TopAbs_EDGE) {
-       TopoDS_Edge aNewEdge;
-       //
-       const TopoDS_Edge& aE1=TopoDS::Edge(aS1);
-       MakeEdge(aE1, aNewEdge);
-       aNewShape=aNewEdge;
-      }
-    }
-    //
-    myImages.Bind(aNewShape, aLSDF);
-    // origins
-    aItS.Initialize(aLSDF);
-    for (; aItS.More(); aItS.Next()) {
-      const TopoDS_Shape& aFSD=aItS.Value();
-      if (!myOrigins.IsBound(aFSD)) {
-       myOrigins.Bind(aFSD, aNewShape);
-      }
-    }
-  }
-}
-//=======================================================================
-//function : CheckResult
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::CheckResult()
-{
-  myErrorStatus=0;
-  //
-  if (myResult.IsNull()) {
-    myErrorStatus=6;
-    return; 
-  }
-  // 
-  Standard_Boolean bFound;
-  Standard_Integer i, j, aNbS, aNbFS, aNbSx;
-  TopTools_IndexedMapOfShape aMS, aMFS;
-  TopTools_IndexedDataMapOfShapeListOfShape aMFR;
-  //
-  TopExp::MapShapesAndAncestors(myResult, TopAbs_FACE, TopAbs_SOLID, aMFR);
-  TopExp::MapShapes(myResult, TopAbs_SOLID, aMS);
-  //
-  
-  myNbAlone=0;
-  aNbS=aMS.Extent();
-  for (i=1; i<=aNbS; ++i) {
-    const TopoDS_Shape& aSolid=aMS(i);
-    //
-    aMFS.Clear();
-    TopExp::MapShapes(aSolid, TopAbs_FACE, aMFS);
-    //
-    bFound=Standard_False;
-    aNbFS=aMFS.Extent();
-    for (j=1; j<=aNbFS; ++j) {
-      const TopoDS_Shape& aFS=aMFS(j);
-      if (aMFR.Contains(aFS)) {
-       const TopTools_ListOfShape& aLSx=aMFR.FindFromKey(aFS);
-       aNbSx=aLSx.Extent();
-       if (aNbSx==2) {
-         bFound=!bFound;
-         break;
-       }
-      }
-    }
-    //
-    if (!bFound) {
-      myWarningStatus=1;
-      ++myNbAlone;
-      //break;
-    }
-  }
-}
-//=======================================================================
-//function : CheckData
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::CheckData()
-{
-  myErrorStatus=0;
-  //
-  if (myShape.IsNull()) {
-    myErrorStatus=5;
-    return; 
-  }
-}
-//=======================================================================
-//function : InnerTolerance
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::InnerTolerance()
-{
-  myErrorStatus=0;
-  //
-  /*
-  Standard_Integer i;
-  Standard_Real aX[3][2], dH, dHmin, aCoef, aTolTresh;
-  Bnd_Box aBox;
-  //
-  BRepBndLib::Add(myShape, aBox);
-  aBox.Get(aX[0][0], aX[1][0], aX[2][0], aX[0][1], aX[1][1], aX[2][1]);
-  //
-  dHmin=aX[0][1]-aX[0][0];
-  for (i=1; i<3; ++i) {
-    dH=aX[i][1]-aX[i][0];
-    if (dH<dHmin) {
-      dHmin=dH;
-    }
-  }
-  //
-  myTol=myTolerance;
-  aCoef=0.01;
-  aTolTresh=aCoef*dHmin;
-  if (myTol>aTolTresh) {
-    myTol=aTolTresh;
-  }
-  */
-  myTol=myTolerance;
-}
-//=======================================================================
-//function : FacePassKey
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::FacePassKey(const TopoDS_Face& aF, 
-                                GEOMAlgo_PassKeyShape& aPK)
-{
-  Standard_Integer i, aNbE, aNbMax;
-  TopTools_ListOfShape aLE;
-  TopTools_IndexedMapOfShape aME;
-  //
-  TopExp::MapShapes(aF, TopAbs_EDGE, aME);
-  aNbE=aME.Extent();
-  aNbMax=aPK.NbMax();
-  if (!aNbE || aNbE>aNbMax) {
-     myErrorStatus=101; // temprorary
-     return;
-  }
-  //
-  for (i=1; i<=aNbE; ++i) {
-    const TopoDS_Shape& aE=aME(i);
-    if (!myOrigins.IsBound(aE)) {
-      myErrorStatus=102;
-      return;
-    }
-    const TopoDS_Shape& aER=myOrigins.Find(aE);
-    aLE.Append(aER);
-  }
-  aPK.SetIds(aLE);
-}
-//=======================================================================
-//function : EdgePassKey
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::EdgePassKey(const TopoDS_Edge& aE, 
-                                GEOMAlgo_PassKeyShape& aPK)
-{
-  TopoDS_Vertex aV1, aV2;
-  //
-  TopExp::Vertices(aE, aV1, aV2);
-  //
-  if (!myOrigins.IsBound(aV1) || !myOrigins.IsBound(aV2) ) {
-     myErrorStatus=100;
-     return;
-  }
-  const TopoDS_Shape& aVR1=myOrigins.Find(aV1);
-  const TopoDS_Shape& aVR2=myOrigins.Find(aV2);
-  aPK.SetIds(aVR1, aVR2);
-}
-//=======================================================================
-//function : MakeVertex
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeVertex(const TopTools_ListOfShape& aLV, 
-                               TopoDS_Vertex& aNewVertex)
-{
-  Standard_Integer aNbV;
-  Standard_Real aTolV, aD, aDmax;
-  gp_XYZ aGC;
-  gp_Pnt aP3D, aPGC;
-  TopoDS_Vertex aVx;
-  BRep_Builder aBB;
-  TopTools_ListIteratorOfListOfShape aIt;
-  //
-  aNbV=aLV.Extent();
-  if (!aNbV) {
-    return;
-  }
-  //
-  // center of gravity
-  aGC.SetCoord(0.,0.,0.);
-  aIt.Initialize(aLV);
-  for (; aIt.More(); aIt.Next()) {
-    aVx=TopoDS::Vertex(aIt.Value());
-    aP3D=BRep_Tool::Pnt(aVx);
-    aGC+=aP3D.XYZ();
-  }
-  aGC/=(Standard_Real)aNbV;
-  aPGC.SetXYZ(aGC);
-  //
-  // tolerance value
-  aDmax=-1.;
-  aIt.Initialize(aLV);
-  for (; aIt.More(); aIt.Next()) {
-    aVx=TopoDS::Vertex(aIt.Value());
-    aP3D=BRep_Tool::Pnt(aVx);
-    aTolV=BRep_Tool::Tolerance(aVx);
-    aD=aPGC.Distance(aP3D)+aTolV;
-    if (aD>aDmax) {
-      aDmax=aD;
-    }
-  }
-  //
-  aBB.MakeVertex (aNewVertex, aPGC, aDmax);
-}
-//=======================================================================
-//function : MakeEdge
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeEdge(const TopoDS_Edge& aE, 
-                             TopoDS_Edge& aNewEdge)
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsDE;
-  Standard_Real aT1, aT2;
-  TopoDS_Vertex aV1, aV2, aVR1, aVR2;
-  TopoDS_Edge aEx;
-  //
-  bIsDE=BRep_Tool::Degenerated(aE);
-  //
-  aEx=aE;
-  aEx.Orientation(TopAbs_FORWARD);
-  //
-  TopExp::Vertices(aEx, aV1, aV2);
-  //
-  aT1=BRep_Tool::Parameter(aV1, aEx);
-  aT2=BRep_Tool::Parameter(aV2, aEx);
-  //
-  aVR1=TopoDS::Vertex(myOrigins.Find(aV1));
-  aVR1.Orientation(TopAbs_FORWARD);
-  aVR2=TopoDS::Vertex(myOrigins.Find(aV2));
-  aVR2.Orientation(TopAbs_REVERSED);
-  //
-  if (bIsDE) {
-    Standard_Real aTol;
-    BRep_Builder aBB;
-    TopoDS_Edge E;
-    TopAbs_Orientation anOrE;
-    //
-    anOrE=aE.Orientation();
-    aTol=BRep_Tool::Tolerance(aE);
-    //
-    E=aEx;
-    E.EmptyCopy();
-    //
-    aBB.Add  (E, aVR1);
-    aBB.Add  (E, aVR2);
-    aBB.Range(E, aT1, aT2);
-    aBB.Degenerated(E, Standard_True);
-    aBB.UpdateEdge(E, aTol);
-    //
-    aNewEdge=E;
-  }
-  //
-  else {
-    BOPTools_Tools::MakeSplitEdge(aEx, aVR1, aT1, aVR2, aT2, aNewEdge); 
-  }
-}
-//
-//=======================================================================
-//function : MakeFace
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Gluer::MakeFace(const TopoDS_Face& aF, 
-                             TopoDS_Face& aNewFace)
-{
-  myErrorStatus=0;
-  //
-  Standard_Boolean bIsToReverse, bIsUPeriodic;
-  Standard_Real aTol, aUMin, aUMax, aVMin, aVMax;
-  TopoDS_Edge aER;
-  TopoDS_Wire newWire;
-  TopoDS_Face aFFWD, newFace;
-  TopLoc_Location aLoc;
-  Handle(Geom_Surface) aS;
-  Handle(Geom2d_Curve) aC2D;
-  TopExp_Explorer aExpW, aExpE;
-  BRep_Builder aBB;
-  //
-  aFFWD=aF;
-  aFFWD.Orientation(TopAbs_FORWARD);
-  //
-  aS=BRep_Tool::Surface(aFFWD, aLoc);
-  bIsUPeriodic=GEOMAlgo_Tools::IsUPeriodic(aS);
-  aTol=BRep_Tool::Tolerance(aFFWD);
-  BRepTools::UVBounds(aF, aUMin, aUMax, aVMin, aVMax);
-  //
-  aBB.MakeFace (newFace, aS, aLoc, aTol);
-  //
-  aExpW.Init(aFFWD, TopAbs_WIRE);
-  for (; aExpW.More(); aExpW.Next()) {
-    aBB.MakeWire(newWire);
-    const TopoDS_Wire& aW=TopoDS::Wire(aExpW.Current());
-    aExpE.Init(aW, TopAbs_EDGE);
-    for (; aExpE.More(); aExpE.Next()) {
-      const TopoDS_Edge& aE=TopoDS::Edge(aExpE.Current());
-      aER=TopoDS::Edge(myOrigins.Find(aE));
-      //
-      aER.Orientation(TopAbs_FORWARD);
-      if (!BRep_Tool::Degenerated(aER)) {
-       // build p-curve
-       if (bIsUPeriodic) {
-         GEOMAlgo_Tools::RefinePCurveForEdgeOnFace(aER, aFFWD, aUMin, aUMax);
-       }
-       BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aER, aFFWD);
-       
-       // orient image 
-       bIsToReverse=BOPTools_Tools3D::IsSplitToReverse1(aER, aE, myContext);
-       if (bIsToReverse) {
-         aER.Reverse();
-       }
-      }
-      else {
-       aER.Orientation(aE.Orientation());
-      }
-      //
-      aBB.Add(newWire, aER);
-    }
-    //modified by NIZNHY-PKV Mon Jan 31 17:26:36 2005f
-    //
-    TopTools_ListOfShape aLW;
-    //
-    aLW.Append(aW);
-    myImages.Bind(newWire, aLW);
-    myOrigins.Bind(aW, newWire);
-    //
-    //modified by NIZNHY-PKV Mon Jan 31 17:26:41 2005 t
-    aBB.Add(newFace, newWire);
-  }
-  aNewFace=newFace;
-}
-//=======================================================================
-//function : IsToReverse
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Gluer::IsToReverse(const TopoDS_Face& aFR,
-                                            const TopoDS_Face& aF)
-{
-  Standard_Boolean bRet;
-  Standard_Real aT, aT1, aT2, aTR, aScPr;
-  TopExp_Explorer aExp;
-  Handle(Geom_Curve)aC3D;
-  gp_Pnt aP;
-  gp_Dir aDNF, aDNFR;
-  //
-  bRet=Standard_False;
-  //
-  aExp.Init(aF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    const TopoDS_Edge& aE=TopoDS::Edge(aExp.Current());
-    //
-    if (BRep_Tool::Degenerated(aE)) {
-      continue;
-    }
-    //
-    const TopoDS_Edge& aER=TopoDS::Edge(myOrigins.Find(aE));
-    //
-    aC3D=BRep_Tool::Curve(aE, aT1, aT2);
-    aT=BOPTools_Tools2D::IntermediatePoint(aT1, aT2);
-    aC3D->D0(aT, aP);
-    myContext.ProjectPointOnEdge(aP, aER, aTR);
-    //
-    BOPTools_Tools3D::GetNormalToFaceOnEdge (aE, aF, aT, aDNF);
-    if (aF.Orientation()==TopAbs_REVERSED) {
-      aDNF.Reverse();
-    }
-    //
-    BOPTools_Tools3D::GetNormalToFaceOnEdge (aER, aFR, aTR, aDNFR);
-    if (aFR.Orientation()==TopAbs_REVERSED) {
-      aDNFR.Reverse();
-    }
-    //
-    aScPr=aDNF*aDNFR;
-    return (aScPr<0.);
-  }
-  return bRet;
-}
-//=======================================================================
-//function : HasNewSubShape
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Gluer::HasNewSubShape(const TopoDS_Shape& aS)const
-{
-  Standard_Boolean bRet;
-  Standard_Integer i, aNbSS;
-  TopTools_IndexedMapOfShape aMSS;
-  //
-  GetSubShapes(aS, aMSS);
-  //
-  bRet=Standard_False;
-  aNbSS=aMSS.Extent();
-  for (i=1; i<=aNbSS; ++i) {
-    const TopoDS_Shape& aSS=aMSS(i);
-    if (aSS.ShapeType()==TopAbs_WIRE) {
-      continue;
-    }
-    //
-    bRet=!myOrigins.IsBound(aSS);
-    if (bRet) {
-      return bRet;
-    }
-    //
-    const TopoDS_Shape& aSSIm=myOrigins.Find(aSS);
-    bRet=!aSSIm.IsSame(aSS);
-    if (bRet) {
-      return bRet;
-    }
-  }
-  return bRet;
-}
-//=======================================================================
-//function : GetSubShapes
-//purpose  : 
-//=======================================================================
-void GetSubShapes(const TopoDS_Shape& aS,
-                 TopTools_IndexedMapOfShape& aMSS)
-{
-  Standard_Integer aR;
-  TopAbs_ShapeEnum aType;
-  TopoDS_Iterator aIt;
-  //
-  aType=aS.ShapeType();
-  aR=(Standard_Integer)aType+1;
-  if (aR>TopAbs_VERTEX) {
-    return;
-  }
-  //
-  aIt.Initialize(aS);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aSS=aIt.Value();
-    aMSS.Add(aSS);
-    GetSubShapes(aSS, aMSS);
-  }
-}
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape& GEOMAlgo_Gluer::Modified (const TopoDS_Shape& aS) 
-{
-  TopAbs_ShapeEnum aType;
-  //
-  myGenerated.Clear();
-  //
-  aType=aS.ShapeType();
-  if (aType==TopAbs_VERTEX ||
-      aType==TopAbs_EDGE   || 
-      aType==TopAbs_WIRE   || //modified by NIZNHY-PKV Mon Jan 31 17:18:36 2005ft
-      aType==TopAbs_FACE   || 
-      aType==TopAbs_SHELL  || //modified by NIZNHY-PKV Mon Jan 31 17:18:36 2005ft
-      aType==TopAbs_SOLID) {  //modified by NIZNHY-PKV Mon Jan 31 17:18:36 2005ft
-    if(myOrigins.IsBound(aS)) {
-      const TopoDS_Shape& aSnew=myOrigins.Find(aS);
-      if (!aSnew.IsSame(aS)) {
-       myGenerated.Append(aSnew);
-      }
-    }
-  }
-  //
-  return myGenerated;
-}
-//=======================================================================
-//function : Generated
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape& GEOMAlgo_Gluer::Generated(const TopoDS_Shape& )
-{
-  myGenerated.Clear();
-  return myGenerated;
-}
-//=======================================================================
-//function : IsDeleted
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Gluer::IsDeleted (const TopoDS_Shape& aS)
-{
-  Standard_Boolean bRet=Standard_False;
-  //
-  const TopTools_ListOfShape& aL=Modified(aS);
-  bRet=!aL.IsEmpty();
-  //
-  return bRet;
-}
-//
-// ErrorStatus
-//
-// 1   - the object is just initialized 
-// 2   - no vertices found in source shape
-// 3   - nb same domain vertices for the vertex Vi =0
-// 4   - nb same domain edges(faces) for the edge Ei(face Fi)  =0
-// 5   - source shape is Null
-// 6   - result shape is Null
-// 101 - nb edges > PassKey.NbMax() in FacesPassKey()
-// 102 - the edge Ei can not be found in myOrigins Map
-// 100 - the vertex Vi can not be found in myOrigins Map
-//
-// WarningStatus
-//
-// 1   - some shapes can not be glued by faces
-//
diff --git a/src/GEOMAlgo/GEOMAlgo_Gluer.hxx b/src/GEOMAlgo/GEOMAlgo_Gluer.hxx
deleted file mode 100644 (file)
index f37b801..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_Gluer_HeaderFile
-#define _GEOMAlgo_Gluer_HeaderFile
-
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
-#include <GEOMAlgo_ShapeAlgo.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-class TopTools_ListOfShape;
-class TopoDS_Shape;
-class TopoDS_Edge;
-class GEOMAlgo_PassKeyShape;
-class TopoDS_Face;
-class TopoDS_Vertex;
-class TopTools_DataMapOfShapeListOfShape;
-class TopTools_DataMapOfShapeShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_Gluer  : public GEOMAlgo_ShapeAlgo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_Gluer();
-Standard_EXPORT virtual ~GEOMAlgo_Gluer();
-Standard_EXPORT   void SetCheckGeometry(const Standard_Boolean aFlag) ;
-Standard_EXPORT   Standard_Boolean CheckGeometry() const;
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT   Standard_Integer AloneShapes() const;
-Standard_EXPORT  const TopTools_ListOfShape& Modified(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ;
-Standard_EXPORT   Standard_Boolean IsDeleted(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_DataMapOfShapeListOfShape& Images() const;
-Standard_EXPORT  const TopTools_DataMapOfShapeShape& Origins() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void CheckData() ;
-Standard_EXPORT virtual  void CheckResult() ;
-Standard_EXPORT   void MakeVertices() ;
-Standard_EXPORT   void MakeEdges() ;
-Standard_EXPORT   void MakeFaces() ;
-Standard_EXPORT   void MakeShapes(const TopAbs_ShapeEnum aType) ;
-Standard_EXPORT   void MakeShells() ;
-Standard_EXPORT   void MakeSolids() ;
-Standard_EXPORT   void InnerTolerance() ;
-Standard_EXPORT   void EdgePassKey(const TopoDS_Edge& aE,GEOMAlgo_PassKeyShape& aPK) ;
-Standard_EXPORT   void FacePassKey(const TopoDS_Face& aF,GEOMAlgo_PassKeyShape& aPK) ;
-Standard_EXPORT   void MakeVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewV) ;
-Standard_EXPORT   void MakeEdge(const TopoDS_Edge& aEdge,TopoDS_Edge& aNewEdge) ;
-Standard_EXPORT   void MakeFace(const TopoDS_Face& aFace,TopoDS_Face& aNewEdge) ;
-Standard_EXPORT   Standard_Boolean IsToReverse(const TopoDS_Face& aFR,const TopoDS_Face& aF) ;
-Standard_EXPORT   Standard_Boolean HasNewSubShape(const TopoDS_Shape& aS) const;
-
-
- // Fields PROTECTED
- //
-Standard_Boolean myCheckGeometry;
-Standard_Real myTol;
-TopTools_DataMapOfShapeListOfShape myImages;
-TopTools_DataMapOfShapeShape myOrigins;
-Standard_Integer myNbAlone;
-TopTools_ListOfShape myGenerated;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_Gluer.ixx b/src/GEOMAlgo/GEOMAlgo_Gluer.ixx
deleted file mode 100644 (file)
index b7abfc5..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_Gluer.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_Gluer.jxx b/src/GEOMAlgo/GEOMAlgo_Gluer.jxx
deleted file mode 100644 (file)
index 62ed2af..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#include <GEOMAlgo_PassKeyShape.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _GEOMAlgo_Gluer_HeaderFile
-#include <GEOMAlgo_Gluer.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx
deleted file mode 100644 (file)
index 3f620af..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TopoDS_Shape;
-class TColStd_MapIntegerHasher;
-class GEOMAlgo_IndexedDataMapOfIntegerShape;
-
-
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape(const Standard_Integer& K1,const Standard_Integer K2,const TopoDS_Shape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  Standard_Integer& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TopoDS_Shape& Value() const;
-Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Integer myKey1;
-Standard_Integer myKey2;
-TopoDS_Shape myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TopoDS_Shape
-#define TheItem_hxx <TopoDS_Shape.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_0.cxx
deleted file mode 100644 (file)
index 9c2564b..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfIntegerShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-#endif
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape::~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape",
-                                                        sizeof(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape))) {
-       _anOtherObject = Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)((Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) ; 
-}
-Standard_Boolean GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape::~Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape() {}
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TopoDS_Shape
-#define TheItem_hxx <TopoDS_Shape.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx
deleted file mode 100644 (file)
index af09ac4..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class GEOMAlgo_PassKey;
-class TopTools_ListOfShape;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_IndexedDataMapOfPassKeyListOfShape;
-
-
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape(const GEOMAlgo_PassKey& K1,const Standard_Integer K2,const TopTools_ListOfShape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  GEOMAlgo_PassKey& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TopTools_ListOfShape& Value() const;
-Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-GEOMAlgo_PassKey myKey1;
-Standard_Integer myKey2;
-TopTools_ListOfShape myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_0.cxx
deleted file mode 100644 (file)
index 97be9da..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
-#endif
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape::~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape",
-                                                        sizeof(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape))) {
-       _anOtherObject = Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)((Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) ; 
-}
-Standard_Boolean GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape::~Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape() {}
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx
deleted file mode 100644 (file)
index 94b521f..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#include <GEOMAlgo_PassKeyShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class GEOMAlgo_PassKeyShape;
-class TopTools_ListOfShape;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape;
-
-
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape(const GEOMAlgo_PassKeyShape& K1,const Standard_Integer K2,const TopTools_ListOfShape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  GEOMAlgo_PassKeyShape& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TopTools_ListOfShape& Value() const;
-Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-GEOMAlgo_PassKeyShape myKey1;
-Standard_Integer myKey2;
-TopTools_ListOfShape myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey GEOMAlgo_PassKeyShape
-#define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_0.cxx
deleted file mode 100644 (file)
index be0803d..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#include <GEOMAlgo_PassKeyShape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#endif
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape::~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape",
-                                                        sizeof(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape))) {
-       _anOtherObject = Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)((Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) ; 
-}
-Standard_Boolean GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape::~Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape() {}
-#define TheKey GEOMAlgo_PassKeyShape
-#define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx
deleted file mode 100644 (file)
index 2b39ccf..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-#define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Bnd_Box_HeaderFile
-#include <Bnd_Box.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TopoDS_Shape;
-class Bnd_Box;
-class TopTools_ShapeMapHasher;
-class GEOMAlgo_IndexedDataMapOfShapeBox;
-
-
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox(const TopoDS_Shape& K1,const Standard_Integer K2,const Bnd_Box& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  TopoDS_Shape& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  Bnd_Box& Value() const;
-Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Shape myKey1;
-Standard_Integer myKey2;
-Bnd_Box myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem Bnd_Box
-#define TheItem_hxx <Bnd_Box.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_0.cxx
deleted file mode 100644 (file)
index 832884d..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Bnd_Box_HeaderFile
-#include <Bnd_Box.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeBox_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-#endif
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox::~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox",
-                                                        sizeof(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox))) {
-       _anOtherObject = Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)((Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) ; 
-}
-Standard_Boolean GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox::~Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox() {}
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem Bnd_Box
-#define TheItem_hxx <Bnd_Box.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
deleted file mode 100644 (file)
index da467f3..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-#define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopAbs_State_HeaderFile
-#include <TopAbs_State.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_ShapeMapHasher;
-class GEOMAlgo_IndexedDataMapOfShapeState;
-
-
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState(const TopoDS_Shape& K1,const Standard_Integer K2,const TopAbs_State& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  TopoDS_Shape& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TopAbs_State& Value() const;
-Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Shape myKey1;
-Standard_Integer myKey2;
-TopAbs_State myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopAbs_State
-#define TheItem_hxx <TopAbs_State.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeState
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_0.cxx
deleted file mode 100644 (file)
index a29a657..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#endif
-GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState::~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState",
-                                                        sizeof(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState))) {
-       _anOtherObject = Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)((Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) ; 
-}
-Standard_Boolean GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState::~Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState() {}
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopAbs_State
-#define TheItem_hxx <TopAbs_State.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeState
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
deleted file mode 100644 (file)
index b67dc8c..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapOfIntegerShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapOfIntegerShape_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TopoDS_Shape;
-class TColStd_MapIntegerHasher;
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_IndexedDataMapOfIntegerShape  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfIntegerShape(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_IndexedDataMapOfIntegerShape& Assign(const GEOMAlgo_IndexedDataMapOfIntegerShape& Other) ;
-  GEOMAlgo_IndexedDataMapOfIntegerShape& operator =(const GEOMAlgo_IndexedDataMapOfIntegerShape& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_IndexedDataMapOfIntegerShape()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const Standard_Integer& K,const TopoDS_Shape& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const Standard_Integer& K,const TopoDS_Shape& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const Standard_Integer& K) const;
-Standard_EXPORT  const Standard_Integer& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TopoDS_Shape& FindFromIndex(const Standard_Integer I) const;
- const TopoDS_Shape& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TopoDS_Shape& ChangeFromIndex(const Standard_Integer I) ;
-  TopoDS_Shape& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const Standard_Integer& K) const;
-Standard_EXPORT  const TopoDS_Shape& FindFromKey(const Standard_Integer& K) const;
-Standard_EXPORT   TopoDS_Shape& ChangeFromKey(const Standard_Integer& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfIntegerShape(const GEOMAlgo_IndexedDataMapOfIntegerShape& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfIntegerShape_0.cxx
deleted file mode 100644 (file)
index 173ef57..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#endif
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TopoDS_Shape
-#define TheItem_hxx <TopoDS_Shape.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfIntegerShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx
deleted file mode 100644 (file)
index e89044f..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class GEOMAlgo_PassKey;
-class TopTools_ListOfShape;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_IndexedDataMapOfPassKeyListOfShape  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfPassKeyListOfShape(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_IndexedDataMapOfPassKeyListOfShape& Assign(const GEOMAlgo_IndexedDataMapOfPassKeyListOfShape& Other) ;
-  GEOMAlgo_IndexedDataMapOfPassKeyListOfShape& operator =(const GEOMAlgo_IndexedDataMapOfPassKeyListOfShape& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_IndexedDataMapOfPassKeyListOfShape()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const GEOMAlgo_PassKey& K,const TopTools_ListOfShape& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const GEOMAlgo_PassKey& K,const TopTools_ListOfShape& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const GEOMAlgo_PassKey& K) const;
-Standard_EXPORT  const GEOMAlgo_PassKey& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TopTools_ListOfShape& FindFromIndex(const Standard_Integer I) const;
- const TopTools_ListOfShape& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TopTools_ListOfShape& ChangeFromIndex(const Standard_Integer I) ;
-  TopTools_ListOfShape& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const GEOMAlgo_PassKey& K) const;
-Standard_EXPORT  const TopTools_ListOfShape& FindFromKey(const GEOMAlgo_PassKey& K) const;
-Standard_EXPORT   TopTools_ListOfShape& ChangeFromKey(const GEOMAlgo_PassKey& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfPassKeyListOfShape(const GEOMAlgo_IndexedDataMapOfPassKeyListOfShape& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyListOfShape_0.cxx
deleted file mode 100644 (file)
index 94bdc32..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#endif
-
-#define TheKey GEOMAlgo_PassKey
-#define TheKey_hxx <GEOMAlgo_PassKey.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyListOfShape.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
deleted file mode 100644 (file)
index 5550699..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#define _GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class GEOMAlgo_PassKeyShape;
-class TopTools_ListOfShape;
-class GEOMAlgo_PassKeyMapHasher;
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& Assign(const GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& Other) ;
-  GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& operator =(const GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const GEOMAlgo_PassKeyShape& K,const TopTools_ListOfShape& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const GEOMAlgo_PassKeyShape& K,const TopTools_ListOfShape& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const GEOMAlgo_PassKeyShape& K) const;
-Standard_EXPORT  const GEOMAlgo_PassKeyShape& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TopTools_ListOfShape& FindFromIndex(const Standard_Integer I) const;
- const TopTools_ListOfShape& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TopTools_ListOfShape& ChangeFromIndex(const Standard_Integer I) ;
-  TopTools_ListOfShape& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const GEOMAlgo_PassKeyShape& K) const;
-Standard_EXPORT  const TopTools_ListOfShape& FindFromKey(const GEOMAlgo_PassKeyShape& K) const;
-Standard_EXPORT   TopTools_ListOfShape& ChangeFromKey(const GEOMAlgo_PassKeyShape& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape(const GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_0.cxx
deleted file mode 100644 (file)
index 8d5b2b3..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#include <GEOMAlgo_PassKeyShape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#endif
-
-#define TheKey GEOMAlgo_PassKeyShape
-#define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
-#define TheItem TopTools_ListOfShape
-#define TheItem_hxx <TopTools_ListOfShape.hxx>
-#define Hasher GEOMAlgo_PassKeyMapHasher
-#define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox.hxx
deleted file mode 100644 (file)
index c9df51c..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeBox_HeaderFile
-#define _GEOMAlgo_IndexedDataMapOfShapeBox_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TopoDS_Shape;
-class Bnd_Box;
-class TopTools_ShapeMapHasher;
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_IndexedDataMapOfShapeBox  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfShapeBox(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_IndexedDataMapOfShapeBox& Assign(const GEOMAlgo_IndexedDataMapOfShapeBox& Other) ;
-  GEOMAlgo_IndexedDataMapOfShapeBox& operator =(const GEOMAlgo_IndexedDataMapOfShapeBox& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_IndexedDataMapOfShapeBox()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const TopoDS_Shape& K,const Bnd_Box& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const TopoDS_Shape& K,const Bnd_Box& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopoDS_Shape& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const Bnd_Box& FindFromIndex(const Standard_Integer I) const;
- const Bnd_Box& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   Bnd_Box& ChangeFromIndex(const Standard_Integer I) ;
-  Bnd_Box& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const TopoDS_Shape& K) const;
-Standard_EXPORT  const Bnd_Box& FindFromKey(const TopoDS_Shape& K) const;
-Standard_EXPORT   Bnd_Box& ChangeFromKey(const TopoDS_Shape& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfShapeBox(const GEOMAlgo_IndexedDataMapOfShapeBox& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeBox_0.cxx
deleted file mode 100644 (file)
index a0717bc..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Bnd_Box_HeaderFile
-#include <Bnd_Box.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#endif
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem Bnd_Box
-#define TheItem_hxx <Bnd_Box.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeBox
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeBox.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState.hxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState.hxx
deleted file mode 100644 (file)
index 35397a9..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-#define _GEOMAlgo_IndexedDataMapOfShapeState_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _TopAbs_State_HeaderFile
-#include <TopAbs_State.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-#include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TopoDS_Shape;
-class TopTools_ShapeMapHasher;
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_IndexedDataMapOfShapeState  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfShapeState(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   GEOMAlgo_IndexedDataMapOfShapeState& Assign(const GEOMAlgo_IndexedDataMapOfShapeState& Other) ;
-  GEOMAlgo_IndexedDataMapOfShapeState& operator =(const GEOMAlgo_IndexedDataMapOfShapeState& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_IndexedDataMapOfShapeState()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const TopoDS_Shape& K,const TopAbs_State& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const TopoDS_Shape& K,const TopAbs_State& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopoDS_Shape& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TopAbs_State& FindFromIndex(const Standard_Integer I) const;
- const TopAbs_State& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TopAbs_State& ChangeFromIndex(const Standard_Integer I) ;
-  TopAbs_State& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopAbs_State& FindFromKey(const TopoDS_Shape& K) const;
-Standard_EXPORT   TopAbs_State& ChangeFromKey(const TopoDS_Shape& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_IndexedDataMapOfShapeState(const GEOMAlgo_IndexedDataMapOfShapeState& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState_0.cxx b/src/GEOMAlgo/GEOMAlgo_IndexedDataMapOfShapeState_0.cxx
deleted file mode 100644 (file)
index f95fd1c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-#include <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#endif
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopAbs_State
-#define TheItem_hxx <TopAbs_State.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
-#define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
-#define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeState
-#define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx b/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
deleted file mode 100644 (file)
index 34977eb..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
-#define _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoMoreObject;
-class Standard_NoSuchObject;
-class GEOMAlgo_ListOfCoupleOfShapes;
-class GEOMAlgo_CoupleOfShapes;
-class GEOMAlgo_ListNodeOfListOfCoupleOfShapes;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_ListIteratorOfListOfCoupleOfShapes();
-Standard_EXPORT GEOMAlgo_ListIteratorOfListOfCoupleOfShapes(const GEOMAlgo_ListOfCoupleOfShapes& L);
-Standard_EXPORT   void Initialize(const GEOMAlgo_ListOfCoupleOfShapes& L) ;
-  Standard_Boolean More() const;
-Standard_EXPORT   void Next() ;
-Standard_EXPORT   GEOMAlgo_CoupleOfShapes& Value() const;
-
-
-friend class GEOMAlgo_ListOfCoupleOfShapes;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address current;
-Standard_Address previous;
-
-
-};
-
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-
-#include <TCollection_ListIterator.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_0.cxx
deleted file mode 100644 (file)
index ee6cbdb..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-
-#ifndef _Standard_NoMoreObject_HeaderFile
-#include <Standard_NoMoreObject.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#endif
-
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#include <TCollection_ListIterator.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt.hxx b/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt.hxx
deleted file mode 100644 (file)
index b370cbb..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListIteratorOfListOfPnt_HeaderFile
-#define _GEOMAlgo_ListIteratorOfListOfPnt_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoMoreObject;
-class Standard_NoSuchObject;
-class GEOMAlgo_ListOfPnt;
-class gp_Pnt;
-class GEOMAlgo_ListNodeOfListOfPnt;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ListIteratorOfListOfPnt  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_ListIteratorOfListOfPnt();
-Standard_EXPORT GEOMAlgo_ListIteratorOfListOfPnt(const GEOMAlgo_ListOfPnt& L);
-Standard_EXPORT   void Initialize(const GEOMAlgo_ListOfPnt& L) ;
-  Standard_Boolean More() const;
-Standard_EXPORT   void Next() ;
-Standard_EXPORT   gp_Pnt& Value() const;
-
-
-friend class GEOMAlgo_ListOfPnt;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address current;
-Standard_Address previous;
-
-
-};
-
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-
-#include <TCollection_ListIterator.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListIteratorOfListOfPnt_0.cxx
deleted file mode 100644 (file)
index bc1684b..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-
-#ifndef _Standard_NoMoreObject_HeaderFile
-#include <Standard_NoMoreObject.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_ListOfPnt_HeaderFile
-#include <GEOMAlgo_ListOfPnt.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#include <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#endif
-
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-#include <TCollection_ListIterator.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx b/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx
deleted file mode 100644 (file)
index ef078a2..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#define _GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#endif
-
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class GEOMAlgo_CoupleOfShapes;
-class GEOMAlgo_ListOfCoupleOfShapes;
-class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes;
-
-
-class GEOMAlgo_ListNodeOfListOfCoupleOfShapes : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_ListNodeOfListOfCoupleOfShapes(const GEOMAlgo_CoupleOfShapes& I,const TCollection_MapNodePtr& n);
-  GEOMAlgo_CoupleOfShapes& Value() const;
-Standard_EXPORT ~GEOMAlgo_ListNodeOfListOfCoupleOfShapes();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-GEOMAlgo_CoupleOfShapes myValue;
-
-
-};
-
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-
-#include <TCollection_ListNode.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfCoupleOfShapes_0.cxx
deleted file mode 100644 (file)
index 78fd962..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#endif
-GEOMAlgo_ListNodeOfListOfCoupleOfShapes::~GEOMAlgo_ListNodeOfListOfCoupleOfShapes() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_ListNodeOfListOfCoupleOfShapes",
-                                                        sizeof(GEOMAlgo_ListNodeOfListOfCoupleOfShapes),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfCoupleOfShapes))) {
-       _anOtherObject = Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)((Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_ListNodeOfListOfCoupleOfShapes::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) ; 
-}
-Standard_Boolean GEOMAlgo_ListNodeOfListOfCoupleOfShapes::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes::~Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes() {}
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#include <TCollection_ListNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt.hxx b/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt.hxx
deleted file mode 100644 (file)
index fd9b15d..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#define _GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#endif
-
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class gp_Pnt;
-class GEOMAlgo_ListOfPnt;
-class GEOMAlgo_ListIteratorOfListOfPnt;
-
-
-class GEOMAlgo_ListNodeOfListOfPnt : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-GEOMAlgo_ListNodeOfListOfPnt(const gp_Pnt& I,const TCollection_MapNodePtr& n);
-  gp_Pnt& Value() const;
-Standard_EXPORT ~GEOMAlgo_ListNodeOfListOfPnt();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_ListNodeOfListOfPnt_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-gp_Pnt myValue;
-
-
-};
-
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-
-#include <TCollection_ListNode.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListNodeOfListOfPnt_0.cxx
deleted file mode 100644 (file)
index bb34737..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _GEOMAlgo_ListOfPnt_HeaderFile
-#include <GEOMAlgo_ListOfPnt.hxx>
-#endif
-#ifndef _GEOMAlgo_ListIteratorOfListOfPnt_HeaderFile
-#include <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#endif
-GEOMAlgo_ListNodeOfListOfPnt::~GEOMAlgo_ListNodeOfListOfPnt() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOMAlgo_ListNodeOfListOfPnt_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_ListNodeOfListOfPnt",
-                                                        sizeof(GEOMAlgo_ListNodeOfListOfPnt),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOMAlgo_ListNodeOfListOfPnt) Handle(GEOMAlgo_ListNodeOfListOfPnt)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOMAlgo_ListNodeOfListOfPnt) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfPnt))) {
-       _anOtherObject = Handle(GEOMAlgo_ListNodeOfListOfPnt)((Handle(GEOMAlgo_ListNodeOfListOfPnt)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOMAlgo_ListNodeOfListOfPnt::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfPnt) ; 
-}
-Standard_Boolean GEOMAlgo_ListNodeOfListOfPnt::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfPnt) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_GEOMAlgo_ListNodeOfListOfPnt::~Handle_GEOMAlgo_ListNodeOfListOfPnt() {}
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-#include <TCollection_ListNode.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes.hxx b/src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes.hxx
deleted file mode 100644 (file)
index a8bb21f..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-#define _GEOMAlgo_ListOfCoupleOfShapes_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoSuchObject;
-class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes;
-class GEOMAlgo_CoupleOfShapes;
-class GEOMAlgo_ListNodeOfListOfCoupleOfShapes;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ListOfCoupleOfShapes  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_ListOfCoupleOfShapes();
-Standard_EXPORT   void Assign(const GEOMAlgo_ListOfCoupleOfShapes& Other) ;
-  void operator=(const GEOMAlgo_ListOfCoupleOfShapes& Other) 
-{
-  Assign(Other);
-}
-
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_ListOfCoupleOfShapes()
-{
-  Clear();
-}
-
-  Standard_Boolean IsEmpty() const;
-Standard_EXPORT   void Prepend(const GEOMAlgo_CoupleOfShapes& I) ;
-Standard_EXPORT   void Prepend(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& theIt) ;
-Standard_EXPORT   void Prepend(GEOMAlgo_ListOfCoupleOfShapes& Other) ;
-Standard_EXPORT   void Append(const GEOMAlgo_CoupleOfShapes& I) ;
-Standard_EXPORT   void Append(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& theIt) ;
-Standard_EXPORT   void Append(GEOMAlgo_ListOfCoupleOfShapes& Other) ;
-Standard_EXPORT   GEOMAlgo_CoupleOfShapes& First() const;
-Standard_EXPORT   GEOMAlgo_CoupleOfShapes& Last() const;
-Standard_EXPORT   void RemoveFirst() ;
-Standard_EXPORT   void Remove(GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
-Standard_EXPORT   void InsertBefore(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
-Standard_EXPORT   void InsertBefore(GEOMAlgo_ListOfCoupleOfShapes& Other,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
-Standard_EXPORT   void InsertAfter(const GEOMAlgo_CoupleOfShapes& I,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
-Standard_EXPORT   void InsertAfter(GEOMAlgo_ListOfCoupleOfShapes& Other,GEOMAlgo_ListIteratorOfListOfCoupleOfShapes& It) ;
-
-
-friend class GEOMAlgo_ListIteratorOfListOfCoupleOfShapes;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_ListOfCoupleOfShapes(const GEOMAlgo_ListOfCoupleOfShapes& Other);
-
-
- // Fields PRIVATE
- //
-Standard_Address myFirst;
-Standard_Address myLast;
-
-
-};
-
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-
-#include <TCollection_List.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListOfCoupleOfShapes_0.cxx
deleted file mode 100644 (file)
index 2630fd0..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#endif
-#ifndef _GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#include <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#endif
-
-#define Item GEOMAlgo_CoupleOfShapes
-#define Item_hxx <GEOMAlgo_CoupleOfShapes.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfCoupleOfShapes
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfCoupleOfShapes_Type_()
-#define TCollection_List GEOMAlgo_ListOfCoupleOfShapes
-#define TCollection_List_hxx <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#include <TCollection_List.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx b/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx
deleted file mode 100644 (file)
index 2702076..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ListOfPnt_HeaderFile
-#define _GEOMAlgo_ListOfPnt_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#include <Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoSuchObject;
-class GEOMAlgo_ListIteratorOfListOfPnt;
-class gp_Pnt;
-class GEOMAlgo_ListNodeOfListOfPnt;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ListOfPnt  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_ListOfPnt();
-Standard_EXPORT   void Assign(const GEOMAlgo_ListOfPnt& Other) ;
-  void operator=(const GEOMAlgo_ListOfPnt& Other) 
-{
-  Assign(Other);
-}
-
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   void Clear() ;
-~GEOMAlgo_ListOfPnt()
-{
-  Clear();
-}
-
-  Standard_Boolean IsEmpty() const;
-Standard_EXPORT   void Prepend(const gp_Pnt& I) ;
-Standard_EXPORT   void Prepend(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ;
-Standard_EXPORT   void Prepend(GEOMAlgo_ListOfPnt& Other) ;
-Standard_EXPORT   void Append(const gp_Pnt& I) ;
-Standard_EXPORT   void Append(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ;
-Standard_EXPORT   void Append(GEOMAlgo_ListOfPnt& Other) ;
-Standard_EXPORT   gp_Pnt& First() const;
-Standard_EXPORT   gp_Pnt& Last() const;
-Standard_EXPORT   void RemoveFirst() ;
-Standard_EXPORT   void Remove(GEOMAlgo_ListIteratorOfListOfPnt& It) ;
-Standard_EXPORT   void InsertBefore(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
-Standard_EXPORT   void InsertBefore(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
-Standard_EXPORT   void InsertAfter(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
-Standard_EXPORT   void InsertAfter(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ;
-
-
-friend class GEOMAlgo_ListIteratorOfListOfPnt;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT GEOMAlgo_ListOfPnt(const GEOMAlgo_ListOfPnt& Other);
-
-
- // Fields PRIVATE
- //
-Standard_Address myFirst;
-Standard_Address myLast;
-
-
-};
-
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-
-#include <TCollection_List.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ListOfPnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_ListOfPnt_0.cxx
deleted file mode 100644 (file)
index 4d8ff2b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ListOfPnt.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _GEOMAlgo_ListIteratorOfListOfPnt_HeaderFile
-#include <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#include <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#endif
-
-#define Item gp_Pnt
-#define Item_hxx <gp_Pnt.hxx>
-#define TCollection_ListNode GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_hxx <GEOMAlgo_ListNodeOfListOfPnt.hxx>
-#define TCollection_ListIterator GEOMAlgo_ListIteratorOfListOfPnt
-#define TCollection_ListIterator_hxx <GEOMAlgo_ListIteratorOfListOfPnt.hxx>
-#define Handle_TCollection_ListNode Handle_GEOMAlgo_ListNodeOfListOfPnt
-#define TCollection_ListNode_Type_() GEOMAlgo_ListNodeOfListOfPnt_Type_()
-#define TCollection_List GEOMAlgo_ListOfPnt
-#define TCollection_List_hxx <GEOMAlgo_ListOfPnt.hxx>
-#include <TCollection_List.gxx>
-
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKey.cdl b/src/GEOMAlgo/GEOMAlgo_PassKey.cdl
deleted file mode 100755 (executable)
index 5de666d..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
--- File:       GEOMAlgo_PassKey.cdl
--- Created:    
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   
-
-
-class PassKey from GEOMAlgo 
-
-       ---Purpose: 
-
-uses
-    Shape from TopoDS, 
-    ListOfInteger from TColStd   
-        
---raises
-
-is 
-    Create  
-       returns PassKey from GEOMAlgo; 
-     
-    Assign(me:out;  
-           Other : PassKey from GEOMAlgo) 
-       returns PassKey from GEOMAlgo; 
-    ---C++: alias operator =
-    ---C++: return & 
---    
-    SetIds(me:out; 
-           aI1  :Integer from Standard); 
-            
-    SetIds(me:out; 
-           aI1 :Integer from Standard;    
-           aI2 :Integer from Standard);  
-            
-    SetIds(me:out; 
-           aI1 :Integer from Standard;    
-           aI2 :Integer from Standard;    
-           aI3 :Integer from Standard);  
-
-    SetIds(me:out; 
-           aI1 :Integer from Standard;    
-           aI2 :Integer from Standard;    
-           aI3 :Integer from Standard;    
-           aI4 :Integer from Standard); 
-     
-    SetIds(me:out;  
-           aLS  :ListOfInteger from TColStd);   
-    NbMax(me) 
-       returns Integer  from Standard; 
-        
-    Clear(me:out); 
-     
-    Compute(me:out); 
-     
-    IsEqual(me; 
-           aOther:PassKey from GEOMAlgo) 
-       returns Boolean from Standard;                       
-
-    Key(me) 
-       returns Address from Standard;  
-        
-    HashCode(me; 
-           Upper : Integer  from Standard)  
-       returns Integer from Standard;           
-     
-    Id(me; 
-           aIndex: Integer  from Standard)  
-       returns Integer from Standard;
-       
-
-    Dump(me); 
-
-fields 
-    myNbIds: Integer from Standard is protected;  
-    myNbMax: Integer from Standard is protected; 
-    mySum  : Integer from Standard is protected;   
-    myIds  : Integer from Standard [8] is protected; 
-
-end PassKey;
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKey.cxx b/src/GEOMAlgo/GEOMAlgo_PassKey.cxx
deleted file mode 100755 (executable)
index 61c70fe..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-// File:       GEOMAlgo_PassKey.cxx
-// Created:    
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_PassKey.ixx>
-
-#include <stdio.h>
-#include <string.h>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-#ifdef WNT
-#pragma warning( disable : 4101) 
-#endif
-
-static 
-  void SortShell(const int n, int* a); 
-static
-  Standard_Integer NormalizedId(const Standard_Integer aId,
-                               const Standard_Integer aDiv);
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-  GEOMAlgo_PassKey::GEOMAlgo_PassKey()
-{
-  Clear();
-}
-//=======================================================================
-//function :Assign
-//purpose  : 
-//=======================================================================
-  GEOMAlgo_PassKey& GEOMAlgo_PassKey::Assign(const GEOMAlgo_PassKey& anOther)
-{
-  myNbIds=anOther.myNbIds;
-  myNbMax=anOther.myNbMax;
-  mySum=anOther.mySum;
-  memcpy(myIds, anOther.myIds, sizeof(myIds));
-  return *this;
-}
-//=======================================================================
-//function :Clear
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::Clear()
-{
-  Standard_Integer i;
-  //
-  myNbIds=0;
-  myNbMax=8;
-  mySum=0;
-  for (i=0; i<myNbMax; ++i) {
-    myIds[i]=0;
-  }
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::SetIds(const Standard_Integer anId1)
-                              
-{
-  myNbIds=1;
-  myIds[myNbMax-1]=anId1;
-  mySum=anId1;
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::SetIds(const Standard_Integer anId1,
-                               const Standard_Integer anId2)
-{
-  Standard_Integer aIdN1, aIdN2;
-  //
-  myNbIds=2;
-  aIdN1=NormalizedId(anId1, myNbIds);
-  aIdN2=NormalizedId(anId2, myNbIds);
-  mySum=aIdN1+aIdN2;
-  //
-  if (anId1<anId2) {
-    myIds[myNbMax-2]=anId1;
-    myIds[myNbMax-1]=anId2;
-    return;
-  }
-  myIds[myNbMax-2]=anId2;
-  myIds[myNbMax-1]=anId1;
-}
-
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::SetIds(const Standard_Integer anId1,
-                               const Standard_Integer anId2,
-                               const Standard_Integer anId3)
-{
-  Standard_Integer aIdN1, aIdN2, aIdN3;
-  //
-  myNbIds=3;
-  aIdN1=NormalizedId(anId1, myNbIds);
-  aIdN2=NormalizedId(anId2, myNbIds);
-  aIdN3=NormalizedId(anId3, myNbIds);
-  mySum=aIdN1+aIdN2+aIdN3;
-  //
-  myIds[myNbMax-3]=anId1;
-  myIds[myNbMax-2]=anId2;
-  myIds[myNbMax-1]=anId3;
-  //
-  Compute();
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::SetIds(const Standard_Integer anId1,
-                               const Standard_Integer anId2,
-                               const Standard_Integer anId3,
-                               const Standard_Integer anId4)
-{
-  Standard_Integer aIdN1, aIdN2, aIdN3, aIdN4;
-  //
-  myNbIds=4;
-  aIdN1=NormalizedId(anId1, myNbIds);
-  aIdN2=NormalizedId(anId2, myNbIds);
-  aIdN3=NormalizedId(anId3, myNbIds);
-  aIdN4=NormalizedId(anId4, myNbIds);
-  mySum=aIdN1+aIdN2+aIdN3+aIdN4;
-  //
-  myIds[myNbMax-4]=anId1;
-  myIds[myNbMax-3]=anId2;
-  myIds[myNbMax-2]=anId3;
-  myIds[myNbMax-1]=anId4;
-  //
-  Compute();
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::SetIds(const TColStd_ListOfInteger& aLI)
-{
-  Standard_Integer aNb, i, anId, aIdN;
-  TColStd_ListIteratorOfListOfInteger aIt;
-  //
-  aNb=aLI.Extent();
-  if (!aNb || aNb > myNbMax) {
-    return;
-  }
-  //
-  myNbIds=aNb;
-  mySum=0;
-  i=myNbMax-myNbIds;
-  aIt.Initialize(aLI);
-  for (; aIt.More(); aIt.Next(), ++i) {
-    anId=aIt.Value();
-    myIds[i]=anId;
-    aIdN=NormalizedId(anId, myNbIds);
-    mySum+=aIdN;
-  }
-  //
-  Compute();
-}
-//=======================================================================
-//function :Id
-//purpose  : 
-//=======================================================================
-  Standard_Integer GEOMAlgo_PassKey::Id(const Standard_Integer aIndex)const
-{
-  if (aIndex < 0 || aIndex >= myNbMax) {
-    return 0;
-  }
-  return myIds[aIndex];
-}
-//=======================================================================
-//function :NbMax
-//purpose  : 
-//=======================================================================
-  Standard_Integer GEOMAlgo_PassKey::NbMax()const
-{
-  return myNbMax;
-}
-//=======================================================================
-//function :Compute
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::Compute()
-{
-  SortShell(myNbIds, myIds+myNbMax-myNbIds);
-}
-//=======================================================================
-//function :IsEqual
-//purpose  : 
-//=======================================================================
-  Standard_Boolean GEOMAlgo_PassKey::IsEqual(const GEOMAlgo_PassKey& anOther) const
-{
-  Standard_Integer iIsEqual;
-  Standard_Boolean bIsEqual;
-  //
-  iIsEqual=memcmp(myIds, anOther.myIds, sizeof(myIds));
-  bIsEqual=Standard_False;
-  if (!iIsEqual) {
-    bIsEqual=!bIsEqual;
-  }
-  return bIsEqual;
-}
-//=======================================================================
-//function :Key
-//purpose  : 
-//=======================================================================
-  Standard_Address GEOMAlgo_PassKey::Key()const
-{
-  return (Standard_Address)myIds;
-}
-//=======================================================================
-//function : HashCode
-//purpose  : 
-//=======================================================================
-  Standard_Integer GEOMAlgo_PassKey::HashCode(const Standard_Integer Upper) const
-{
-  //return (mySum % Upper);
-  return ::HashCode(mySum, Upper);
-}
-//=======================================================================
-//function : Dump
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKey::Dump()const
-{
-  Standard_Integer i;
-  //
-  printf(" PassKey: {");
-  for (i=0; i<myNbMax; ++i) {
-    printf(" %d", myIds[i]);
-  }
-  printf(" }");
-}
-//=======================================================================
-// function: NormalizedId
-// purpose : 
-//=======================================================================
-Standard_Integer NormalizedId(const Standard_Integer aId,
-                             const Standard_Integer aDiv)
-{
-  Standard_Integer aMax, aTresh, aIdRet;
-  //
-  aIdRet=aId;
-  aMax=::IntegerLast();
-  aTresh=aMax/aDiv;
-  if (aId>aTresh) {
-    aIdRet=aId%aTresh;
-  }
-  return aIdRet;
-}
-//=======================================================================
-// function: SortShell
-// purpose : 
-//=======================================================================
-void SortShell(const int n, int* a) 
-{
-  int  x, nd, i, j, l, d=1;
-  //
-  while(d<=n) {
-    d*=2;
-  }
-  //
-  while (d) {
-    d=(d-1)/2;
-    //
-    nd=n-d;
-    for (i=0; i<nd; ++i) {
-      j=i;
-    m30:;
-      l=j+d;
-      if (a[l] < a[j]){
-       x=a[j];
-       a[j]=a[l];
-       a[l]=x;
-       j-=d;
-       if (j > -1) goto m30;
-      }//if (a[l] < a[j]){
-    }//for (i=0; i<nd; ++i) 
-  }//while (1)
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKey.hxx b/src/GEOMAlgo/GEOMAlgo_PassKey.hxx
deleted file mode 100644 (file)
index 880fa62..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#define _GEOMAlgo_PassKey_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-class TColStd_ListOfInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_PassKey  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_PassKey();
-Standard_EXPORT   GEOMAlgo_PassKey& Assign(const GEOMAlgo_PassKey& Other) ;
-  GEOMAlgo_PassKey& operator =(const GEOMAlgo_PassKey& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void SetIds(const Standard_Integer aI1) ;
-Standard_EXPORT   void SetIds(const Standard_Integer aI1,const Standard_Integer aI2) ;
-Standard_EXPORT   void SetIds(const Standard_Integer aI1,const Standard_Integer aI2,const Standard_Integer aI3) ;
-Standard_EXPORT   void SetIds(const Standard_Integer aI1,const Standard_Integer aI2,const Standard_Integer aI3,const Standard_Integer aI4) ;
-Standard_EXPORT   void SetIds(const TColStd_ListOfInteger& aLS) ;
-Standard_EXPORT   Standard_Integer NbMax() const;
-Standard_EXPORT   void Clear() ;
-Standard_EXPORT   void Compute() ;
-Standard_EXPORT   Standard_Boolean IsEqual(const GEOMAlgo_PassKey& aOther) const;
-Standard_EXPORT   Standard_Address Key() const;
-Standard_EXPORT   Standard_Integer HashCode(const Standard_Integer Upper) const;
-Standard_EXPORT   Standard_Integer Id(const Standard_Integer aIndex) const;
-Standard_EXPORT   void Dump() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-Standard_Integer myNbIds;
-Standard_Integer myNbMax;
-Standard_Integer mySum;
-Standard_Integer myIds[8];
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKey.ixx b/src/GEOMAlgo/GEOMAlgo_PassKey.ixx
deleted file mode 100644 (file)
index 9e0b612..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_PassKey.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKey.jxx b/src/GEOMAlgo/GEOMAlgo_PassKey.jxx
deleted file mode 100644 (file)
index a96f716..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TColStd_ListOfInteger_HeaderFile
-#include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cdl b/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cdl
deleted file mode 100755 (executable)
index 31274ee..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- File:       GEOMAlgo_PassKeyMapHasher.cdl
--- Created:    
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   
-
-
-class PassKeyMapHasher from GEOMAlgo 
-
-       ---Purpose: 
-
-uses 
-    PassKey from GEOMAlgo 
-
---raises
-
-is 
-    HashCode(myclass;  
-           aPKey : PassKey from GEOMAlgo;  
-           Upper : Integer from Standard)  
-       returns Integer from Standard;
-       
-       
-    IsEqual(myclass;  
-           aPKey1 : PassKey from GEOMAlgo;  
-           aPKey2 : PassKey from GEOMAlgo)  
-       returns Boolean from Standard;
-
-end PassKeyMapHasher;
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cxx b/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cxx
deleted file mode 100755 (executable)
index b928f13..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File:       GEOMAlgo_PassKeyMapHasher.cxx
-// Created:    
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_PassKeyMapHasher.ixx>
-
-//=======================================================================
-//function : HashCode
-//purpose  : 
-//=======================================================================
-  Standard_Integer GEOMAlgo_PassKeyMapHasher::HashCode(const GEOMAlgo_PassKey& aPKey,
-                                                      const Standard_Integer Upper)
-{
-  return aPKey.HashCode(Upper);
-}
-//=======================================================================
-//function :IsEqual
-//purpose  : 
-//=======================================================================
-  Standard_Boolean GEOMAlgo_PassKeyMapHasher::IsEqual(const GEOMAlgo_PassKey& aPKey1,
-                                                     const GEOMAlgo_PassKey& aPKey2)
-{
-  return aPKey1.IsEqual(aPKey2);
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.hxx b/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.hxx
deleted file mode 100644 (file)
index 2a1a465..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#define _GEOMAlgo_PassKeyMapHasher_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class GEOMAlgo_PassKey;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_PassKeyMapHasher  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  Standard_Integer HashCode(const GEOMAlgo_PassKey& aPKey,const Standard_Integer Upper) ;
-Standard_EXPORT static  Standard_Boolean IsEqual(const GEOMAlgo_PassKey& aPKey1,const GEOMAlgo_PassKey& aPKey2) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.ixx b/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.ixx
deleted file mode 100644 (file)
index c990ee1..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_PassKeyMapHasher.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.jxx b/src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.jxx
deleted file mode 100644 (file)
index a86f85b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyMapHasher_HeaderFile
-#include <GEOMAlgo_PassKeyMapHasher.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyShape.cdl b/src/GEOMAlgo/GEOMAlgo_PassKeyShape.cdl
deleted file mode 100755 (executable)
index b0e1fe1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- File:       GEOMAlgo_PassKeyShape.cdl
--- Created:    
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   
-
-
-class PassKeyShape from GEOMAlgo 
-    inherits PassKey from GEOMAlgo  
-    
-       ---Purpose: 
-
-uses
-    Shape from TopoDS, 
-    ListOfShape from TopTools   
-        
---raises
-
-is 
-    Create  
-       returns PassKeyShape from GEOMAlgo; 
-      
-    SetIds(me:out; 
-           aS  :Shape from TopoDS); 
-           
-    SetIds(me:out; 
-           aS1  :Shape from TopoDS; 
-           aS2  :Shape from TopoDS); 
-     
-    SetIds(me:out; 
-           aS1  :Shape from TopoDS; 
-           aS2  :Shape from TopoDS; 
-           aS3  :Shape from TopoDS); 
-    SetIds(me:out;  
-           aS1  :Shape from TopoDS; 
-           aS2  :Shape from TopoDS; 
-           aS3  :Shape from TopoDS;
-           aS4  :Shape from TopoDS);
-    SetIds(me:out;  
-           aLS  :ListOfShape from TopTools); 
-            
-
-fields 
-    myUpper  : Integer from Standard is protected; 
-
-end PassKeyShape;
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyShape.cxx b/src/GEOMAlgo/GEOMAlgo_PassKeyShape.cxx
deleted file mode 100755 (executable)
index 3b7e7f2..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// File:       GEOMAlgo_PassKeyShape.cxx
-// Created:    
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_PassKeyShape.ixx>
-
-#include <stdio.h>
-#include <string.h>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TColStd_ListOfInteger.hxx>
-
-//=======================================================================
-//function :
-//purpose  : 
-//=======================================================================
-  GEOMAlgo_PassKeyShape::GEOMAlgo_PassKeyShape()
-:
-  GEOMAlgo_PassKey()
-{
-  myUpper=432123;
-  GEOMAlgo_PassKey::Clear();
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKeyShape::SetIds(const TopoDS_Shape& aS1)
-                              
-{
-  Standard_Integer anId1;
-  //
-  anId1=aS1.HashCode(myUpper);
-  GEOMAlgo_PassKey::SetIds(anId1);
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKeyShape::SetIds(const TopoDS_Shape& aS1,
-                                    const TopoDS_Shape& aS2)
-{
-  Standard_Integer anId1, anId2;
-  //
-  anId1=aS1.HashCode(myUpper);
-  anId2=aS2.HashCode(myUpper);
-  //
-  GEOMAlgo_PassKey::SetIds(anId1, anId2);
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKeyShape::SetIds(const TopoDS_Shape& aS1,
-                                    const TopoDS_Shape& aS2,
-                                    const TopoDS_Shape& aS3)
-{
-  Standard_Integer anId1, anId2, anId3;
-  //
-  anId1=aS1.HashCode(myUpper);
-  anId2=aS2.HashCode(myUpper);
-  anId3=aS3.HashCode(myUpper);
-  //
-  GEOMAlgo_PassKey::SetIds(anId1, anId2, anId3);
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKeyShape::SetIds(const TopoDS_Shape& aS1,
-                               const TopoDS_Shape& aS2,
-                               const TopoDS_Shape& aS3,
-                               const TopoDS_Shape& aS4)
-{
-  Standard_Integer anId1, anId2, anId3, anId4;
-  //
-  anId1=aS1.HashCode(myUpper);
-  anId2=aS2.HashCode(myUpper);
-  anId3=aS3.HashCode(myUpper);
-  anId4=aS4.HashCode(myUpper);
-  //
-  GEOMAlgo_PassKey::SetIds(anId1, anId2, anId3, anId4);
-}
-//=======================================================================
-//function :SetIds
-//purpose  : 
-//=======================================================================
-  void GEOMAlgo_PassKeyShape::SetIds(const TopTools_ListOfShape& aLS)
-{
-  Standard_Integer anId;
-  TopTools_ListIteratorOfListOfShape aIt;
-  TColStd_ListOfInteger aLI;
-  //
-  //aNb=aLS.Extent();
-  //if (aNb<1 || aNb > myNbMax) {
-  //  return;
-  //}
-  //
-  //myNbIds=aNb;
-  //mySum=0;
-  //i=myNbMax-myNbIds;
-  
-  aIt.Initialize(aLS);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aS=aIt.Value();
-    anId=aS.HashCode(myUpper);
-    aLI.Append(anId);
-  }
-  GEOMAlgo_PassKey::SetIds(aLI);
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyShape.hxx b/src/GEOMAlgo/GEOMAlgo_PassKeyShape.hxx
deleted file mode 100644 (file)
index 9bb52df..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#define _GEOMAlgo_PassKeyShape_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKey_HeaderFile
-#include <GEOMAlgo_PassKey.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_ListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_PassKeyShape  : public GEOMAlgo_PassKey {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_PassKeyShape();
-Standard_EXPORT   void SetIds(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
-Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2,const TopoDS_Shape& aS3) ;
-Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2,const TopoDS_Shape& aS3,const TopoDS_Shape& aS4) ;
-Standard_EXPORT   void SetIds(const TopTools_ListOfShape& aLS) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-Standard_Integer myUpper;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyShape.ixx b/src/GEOMAlgo/GEOMAlgo_PassKeyShape.ixx
deleted file mode 100644 (file)
index befc4fd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_PassKeyShape.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_PassKeyShape.jxx b/src/GEOMAlgo/GEOMAlgo_PassKeyShape.jxx
deleted file mode 100644 (file)
index f895275..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_PassKeyShape_HeaderFile
-#include <GEOMAlgo_PassKeyShape.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl b/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl
deleted file mode 100644 (file)
index 5a9ab0e..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- File:       GEOMAlgo_ShapeAlgo.cdl
--- Created:    Tue Dec  7 12:05:19 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-deferred class ShapeAlgo from GEOMAlgo 
-    inherits Algo from GEOMAlgo  
-    
-       ---Purpose: 
-
-uses
-    Shape from TopoDS, 
-    Context from IntTools
-
---raises
-
-is
-    Initialize 
-       returns ShapeAlgo from GEOMAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeAlgo();"  
-    
-    SetShape(me:out; 
-           aS:Shape from TopoDS);
-     
-    SetTolerance(me:out; 
-           aT:Real from Standard); 
-            
-    Shape(me) 
-       returns Shape from TopoDS; 
-    ---C++:return const &  
-     
-    Tolerance(me) 
-       returns Real from Standard;  
-     
-    Result(me) 
-       returns Shape from TopoDS; 
-    ---C++:return const &  
-    
-fields 
-    myShape     : Shape from TopoDS is protected;     
-    myTolerance : Real from Standard is protected; 
-    myResult    : Shape from TopoDS is protected; 
-    myContext   : Context from IntTools is protected; 
-    
-end ShapeAlgo;
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cxx b/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cxx
deleted file mode 100644 (file)
index 1e4a673..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// File:       GEOMAlgo_ShapeAlgo.cxx
-// Created:    Tue Dec  7 12:06:54 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_ShapeAlgo.ixx>
-
-//=======================================================================
-//function : GEOMAlgo_ShapeAlgo
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShapeAlgo::GEOMAlgo_ShapeAlgo()
-: 
-  GEOMAlgo_Algo()
-{
-  myTolerance=0.0001;
-}
-       
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShapeAlgo::~GEOMAlgo_ShapeAlgo()
-{
-}
-//=======================================================================
-//function : SetShape
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_ShapeAlgo::SetShape(const TopoDS_Shape& aS)
-{
-  myShape=aS;
-}
-//=======================================================================
-//function : Shape
-//purpose  : 
-//=======================================================================
-const TopoDS_Shape& GEOMAlgo_ShapeAlgo::Shape()const
-{
-  return myShape;
-}
-//=======================================================================
-//function : SetTolerance
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_ShapeAlgo::SetTolerance(const Standard_Real aT)
-{
-  myTolerance=aT;
-}
-//=======================================================================
-//function : Tolerance
-//purpose  : 
-//=======================================================================
-Standard_Real GEOMAlgo_ShapeAlgo::Tolerance()const
-{
-  return myTolerance;
-}
-//=======================================================================
-//function : Result
-//purpose  : 
-//=======================================================================
-const TopoDS_Shape& GEOMAlgo_ShapeAlgo::Result()const
-{
-  return myResult;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.hxx b/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.hxx
deleted file mode 100644 (file)
index a339087..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
-#define _GEOMAlgo_ShapeAlgo_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _IntTools_Context_HeaderFile
-#include <IntTools_Context.hxx>
-#endif
-#ifndef _GEOMAlgo_Algo_HeaderFile
-#include <GEOMAlgo_Algo.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ShapeAlgo  : public GEOMAlgo_Algo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT   void SetShape(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void SetTolerance(const Standard_Real aT) ;
-Standard_EXPORT  const TopoDS_Shape& Shape() const;
-Standard_EXPORT   Standard_Real Tolerance() const;
-Standard_EXPORT  const TopoDS_Shape& Result() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT GEOMAlgo_ShapeAlgo();
-Standard_EXPORT virtual ~GEOMAlgo_ShapeAlgo();
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myShape;
-Standard_Real myTolerance;
-TopoDS_Shape myResult;
-IntTools_Context myContext;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.ixx b/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.ixx
deleted file mode 100644 (file)
index 1b153c3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ShapeAlgo.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.jxx b/src/GEOMAlgo/GEOMAlgo_ShapeAlgo.jxx
deleted file mode 100644 (file)
index df0a54e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOMAlgo_ShapeAlgo_HeaderFile
-#include <GEOMAlgo_ShapeAlgo.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeSolid.cdl b/src/GEOMAlgo/GEOMAlgo_ShapeSolid.cdl
deleted file mode 100644 (file)
index c0dcdd4..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- File:       GEOMAlgo_ShapeSolid.cdl
--- Created:    Thu Jan 13 12:44:07 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-deferred class ShapeSolid from GEOMAlgo 
-       inherits Algo from GEOMAlgo 
-        
-       ---Purpose: 
-
-uses 
-    State from TopAbs,
-    ListOfShape from TopTools, 
-    PDSFiller from BOPTools,
-    DSFiller  from BOPTools
---raises
-
-is 
-    Initialize 
-       returns ShapeSolid from GEOMAlgo;  
-    
-
-    SetFiller(me:out; 
-           aDSF:DSFiller  from BOPTools); 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShapeSolid();"  
-     
-      
-    Shapes(me;
-            aState:State from TopAbs) 
-       returns ListOfShape from TopTools; 
-    ---C++: return const &  
-       
-    BuildResult (me:out) 
-       is deferred protected;  
-       
-    Prepare(me:out)  
-       is deferred protected; 
-       
-fields
-    myLSIN  :  ListOfShape from TopTools is protected;  
-    myLSOUT :  ListOfShape from TopTools is protected;  
-    myLSON  :  ListOfShape from TopTools is protected;  
-    myRank  :  Integer from Standard is protected; 
-    myDSFiller : PDSFiller from BOPTools is protected; 
-
-end ShapeSolid;
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeSolid.cxx b/src/GEOMAlgo/GEOMAlgo_ShapeSolid.cxx
deleted file mode 100644 (file)
index e0cebcf..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// File:       GEOMAlgo_ShapeSolid.cxx
-// Created:    Thu Jan 13 12:54:48 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_ShapeSolid.ixx>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_ShapeSolid
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShapeSolid::GEOMAlgo_ShapeSolid()
-:
-  GEOMAlgo_Algo(),
-  myRank(0),
-  myDSFiller(NULL)
-{
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShapeSolid::~GEOMAlgo_ShapeSolid()
-{
-}
-//=======================================================================
-//function : SetFiller
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_ShapeSolid::SetFiller(const BOPTools_DSFiller& aDSFiller)
-{
-  myDSFiller=(BOPTools_DSFiller*) &aDSFiller;
-}
-//=======================================================================
-// function: Shapes
-// purpose: 
-//=======================================================================
-const TopTools_ListOfShape& GEOMAlgo_ShapeSolid::Shapes(const TopAbs_State aState) const
-{
-  const TopTools_ListOfShape *pL;
-  //
-  switch (aState) {
-    case TopAbs_IN:
-      pL=&myLSIN;
-      break;
-    case TopAbs_OUT:
-      pL=&myLSOUT;
-      break;
-    case TopAbs_ON:
-      pL=&myLSON;
-      break;  
-    default:
-      pL=&myLSON;
-      break; 
-  }
-  return *pL;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeSolid.hxx b/src/GEOMAlgo/GEOMAlgo_ShapeSolid.hxx
deleted file mode 100644 (file)
index 6142c1b..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ShapeSolid_HeaderFile
-#define _GEOMAlgo_ShapeSolid_HeaderFile
-
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _BOPTools_PDSFiller_HeaderFile
-#include <BOPTools_PDSFiller.hxx>
-#endif
-#ifndef _GEOMAlgo_Algo_HeaderFile
-#include <GEOMAlgo_Algo.hxx>
-#endif
-#ifndef _TopAbs_State_HeaderFile
-#include <TopAbs_State.hxx>
-#endif
-class BOPTools_DSFiller;
-class TopTools_ListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ShapeSolid  : public GEOMAlgo_Algo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT   void SetFiller(const BOPTools_DSFiller& aDSF) ;
-Standard_EXPORT virtual ~GEOMAlgo_ShapeSolid();
-Standard_EXPORT  const TopTools_ListOfShape& Shapes(const TopAbs_State aState) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT GEOMAlgo_ShapeSolid();
-Standard_EXPORT virtual  void BuildResult()  = 0;
-Standard_EXPORT virtual  void Prepare()  = 0;
-
-
- // Fields PROTECTED
- //
-TopTools_ListOfShape myLSIN;
-TopTools_ListOfShape myLSOUT;
-TopTools_ListOfShape myLSON;
-Standard_Integer myRank;
-BOPTools_PDSFiller myDSFiller;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeSolid.ixx b/src/GEOMAlgo/GEOMAlgo_ShapeSolid.ixx
deleted file mode 100644 (file)
index 1ef4475..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ShapeSolid.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeSolid.jxx b/src/GEOMAlgo/GEOMAlgo_ShapeSolid.jxx
deleted file mode 100644 (file)
index d0cdc37..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _BOPTools_DSFiller_HeaderFile
-#include <BOPTools_DSFiller.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _GEOMAlgo_ShapeSolid_HeaderFile
-#include <GEOMAlgo_ShapeSolid.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShellSolid.cdl b/src/GEOMAlgo/GEOMAlgo_ShellSolid.cdl
deleted file mode 100644 (file)
index 7489b6a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- File:       GEOMAlgo_ShellSolid.cdl
--- Created:    Wed Jan 12 12:45:20 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class ShellSolid from GEOMAlgo 
-    inherits ShapeSolid from GEOMAlgo
-       ---Purpose: 
-
---uses
---raises
-
-is 
-    Create   
-       returns ShellSolid from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_ShellSolid();" 
-    
-    Perform (me:out) 
-       is redefined; 
-        
-    Prepare(me:out)  
-        is redefined protected;
-     
-    BuildResult (me:out) 
-       is redefined protected;         
-    
-    DetectSDFaces(me:out) 
-       is protected;
-     
---fields
-    
-end ShellSolid;
diff --git a/src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx b/src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx
deleted file mode 100644 (file)
index e7da2ac..0000000
+++ /dev/null
@@ -1,350 +0,0 @@
-// File:       GEOMAlgo_ShellSolid.cxx
-// Created:    Wed Jan 12 12:49:45 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_ShellSolid.ixx>
-
-#include <Standard_Failure.hxx>
-
-#include <gp_Pnt2d.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Solid.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepTools.hxx>
-
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <BRepClass3d_SolidClassifier.hxx>
-
-#include <IntTools_Context.hxx>
-#include <BOPTColStd_Dump.hxx>
-#include <BooleanOperations_ShapesDataStructure.hxx>
-
-#include <BOPTools_PaveFiller.hxx>
-#include <BOPTools_SolidStateFiller.hxx>
-#include <BOPTools_PCurveMaker.hxx>
-#include <BOPTools_DEProcessor.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_SequenceOfCurves.hxx>
-#include <BOPTools_Curve.hxx>
-#include <BOPTools_PaveFiller.hxx>
-#include <BOPTools_SplitShapesPool.hxx>
-#include <BOPTools_Tools3D.hxx>
-#include <BOPTools_DSFiller.hxx>
-
-#include <BOP_WireEdgeSet.hxx>
-#include <BOP_SDFWESFiller.hxx>
-#include <BOP_FaceBuilder.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_ShellSolid
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShellSolid::GEOMAlgo_ShellSolid()
-:
-  GEOMAlgo_ShapeSolid()
-{
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_ShellSolid::~GEOMAlgo_ShellSolid()
-{
-}
-//=======================================================================
-// function: 
-// purpose: 
-//=======================================================================
-void GEOMAlgo_ShellSolid::Perform() 
-{
-  myErrorStatus=0;
-  //
-  try {
-    if (myDSFiller==NULL) {
-      myErrorStatus=10;
-      return;
-    }
-    if(!myDSFiller->IsDone()) {
-      myErrorStatus=11;
-      return;
-    }
-    //
-    Standard_Boolean bIsNewFiller;
-    //
-    bIsNewFiller=myDSFiller->IsNewFiller();
-    if (bIsNewFiller) {
-      Prepare();
-      myDSFiller->SetNewFiller(!bIsNewFiller);
-    }
-    //
-    myRank=(myDSFiller->DS().Object().ShapeType()==TopAbs_SHELL) ? 1 : 2;
-    BuildResult();
-  }
-  catch (Standard_Failure) {
-    myErrorStatus=12;
-  }
-}
-//=======================================================================
-// function: Prepare
-// purpose: 
-//=======================================================================
-void GEOMAlgo_ShellSolid::Prepare() 
-{
-  const BOPTools_PaveFiller& aPaveFiller=myDSFiller->PaveFiller();
-  // 
-  // 1 States
-  BOPTools_SolidStateFiller aStateFiller(aPaveFiller);
-  aStateFiller.Do();
-  //
-  // 2 Project section edges on corresp. faces -> P-Curves on edges.
-  BOPTools_PCurveMaker aPCurveMaker(aPaveFiller);
-  aPCurveMaker.Do();
-  //
-  // 3. Degenerated Edges Processing
-  BOPTools_DEProcessor aDEProcessor(aPaveFiller);
-  aDEProcessor.Do();
-  //
-  // 4. Detect Same Domain Faces
-  DetectSDFaces();
-}
-//=================================================================================
-// function: BuildResult
-// purpose: 
-//=================================================================================
-void GEOMAlgo_ShellSolid::BuildResult() 
-{
-  Standard_Boolean bIsTouchCase;
-  Standard_Integer i, j, nF1, nF2, aNbFFs, aNbS, aNbCurves, nSp, iRank1;
-  Standard_Integer nE, nF, aNbPB, iBeg, iEnd;
-  BooleanOperations_StateOfShape aState;
-  TopExp_Explorer anExp;
-  TopAbs_ShapeEnum aType;
-  gp_Pnt2d aP2D;
-  gp_Pnt aP3D;
-  //
-  const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-  const BOPTools_InterferencePool& anInterfPool=myDSFiller->InterfPool();
-  BOPTools_InterferencePool* pInterfPool=(BOPTools_InterferencePool*) &anInterfPool;
-  BOPTools_CArray1OfSSInterference& aFFs=pInterfPool->SSInterferences();
-  const BOPTools_PaveFiller& aPaveFiller=myDSFiller->PaveFiller();
-  const BOPTools_SplitShapesPool& aSplitShapesPool=aPaveFiller.SplitShapesPool();
-  //
-  // 1. process pf non-interferring faces
-  iBeg=1;
-  iEnd=aDS.NumberOfShapesOfTheObject();
-  if (myRank==2) {
-    iBeg=iEnd+1;
-    iEnd=aDS.NumberOfSourceShapes();
-  }
-  //
-  for (i=iBeg; i<=iEnd; ++i) {
-    aType=aDS.GetShapeType(i);
-    if (aType!=TopAbs_FACE) {
-      continue;
-    }
-    //
-    const TopoDS_Face& aF1=TopoDS::Face(aDS.Shape(i));
-    aState=aDS.GetState(i);
-    if (aState==BooleanOperations_IN) {
-      myLSIN.Append(aF1);
-    }
-    else if (aState==BooleanOperations_OUT) {
-      myLSOUT.Append(aF1);
-    }
-  }
-  //
-  // 2. process pf interferred faces
-  aNbFFs=aFFs.Extent();
-  for (i=1; i<=aNbFFs; ++i) {
-    BOPTools_SSInterference& aFFi=aFFs(i);
-    //
-    nF1=aFFi.Index1();
-    nF2=aFFi.Index2();
-    iRank1=aDS.Rank(nF1);
-    nF=(iRank1==myRank) ? nF1 : nF2;
-    const TopoDS_Face& aF1=TopoDS::Face(aDS.Shape(nF));
-    //
-    bIsTouchCase=aFFi.IsTangentFaces();
-    //
-    if (bIsTouchCase) {
-      myLSON.Append(aF1);
-      continue;
-    }
-    //
-    // Has section edges ?
-    aNbS=0;
-    BOPTools_SequenceOfCurves& aBCurves=aFFi.Curves();
-    aNbCurves=aBCurves.Length();
-    for (j=1; j<=aNbCurves; j++) {
-      BOPTools_Curve& aBC=aBCurves(j);
-      const BOPTools_ListOfPaveBlock& aSectEdges=aBC.NewPaveBlocks();
-      aNbS=aSectEdges.Extent();
-      if (aNbS) {
-       break;
-      }
-    }
-    //
-    if (aNbS) { // it has
-      continue;
-    }
-    //
-    anExp.Init(aF1, TopAbs_EDGE);
-    for (; anExp.More(); anExp.Next()) {
-      const TopoDS_Edge& aE=TopoDS::Edge(anExp.Current());
-      if (BRep_Tool::Degenerated(aE)) {
-       continue;
-      }
-      //
-      nE=aDS.ShapeIndex(aE, myRank);
-      const BOPTools_ListOfPaveBlock& aLPB=aSplitShapesPool(aDS.RefEdge(nE));
-      aNbPB=aLPB.Extent();
-      //
-      if (aNbPB<2) {
-       nSp=nE;
-       if (aNbPB) {
-         const BOPTools_PaveBlock& aPB=aLPB.First();
-         nSp=aPB.Edge();
-       }
-       const TopoDS_Shape& aSp=aDS.Shape(nSp);
-       //
-       aState=aDS.GetState(nSp);
-       if (aState==BooleanOperations_IN) {
-         myLSIN.Append(aF1);
-       }
-       else if (aState==BooleanOperations_OUT) {
-         myLSOUT.Append(aF1);
-       }
-       else if (aState==BooleanOperations_ON) {
-         Standard_Real aTol;
-         TopAbs_State aSt;
-         //
-         //const TopoDS_Face& aF2=TopoDS::Face(aDS.Shape((iRank1==myRank)? nF2 : nF1));
-         //aTol=BRep_Tool::Tolerance(aF2);
-         aTol=1.e-7;
-         //
-         BOPTools_Tools3D::PointNearEdge(aE, aF1, aP2D, aP3D);
-         const TopoDS_Solid& aRefSolid=(myRank==1) ? 
-           TopoDS::Solid(aDS.Tool()) : TopoDS::Solid(aDS.Object());
-         //
-         BOPTools_PaveFiller* pPF=(BOPTools_PaveFiller*)& aPaveFiller;
-         IntTools_Context& aCtx=pPF->ChangeContext();
-         //
-         BRepClass3d_SolidClassifier& aSC=aCtx.SolidClassifier(aRefSolid);
-         aSC.Perform(aP3D, aTol);
-         aSt=aSC.State();
-         if (aSt==TopAbs_IN) {
-           myLSIN.Append(aF1);
-         }
-         else if (aSt==TopAbs_OUT) {
-           myLSOUT.Append(aF1);
-         }
-       } 
-       break; 
-      } // if (aNbPB<2) { 
-    } //for (; anExp.More(); anExp.Next())
-  } 
-}
-//=======================================================================
-// function: DetectSDFaces
-// purpose: 
-//=======================================================================
-void GEOMAlgo_ShellSolid::DetectSDFaces()
-{
-  const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-  BOPTools_InterferencePool* pIntrPool=(BOPTools_InterferencePool*)&myDSFiller->InterfPool();
-  BOPTools_CArray1OfSSInterference& aFFs=pIntrPool->SSInterferences();
-  //
-  Standard_Boolean bFlag;
-  Standard_Integer i, aNb, nF1, nF2,  iZone, aNbSps, iSenseFlag;
-  gp_Dir aDNF1, aDNF2;
-
-  aNb=aFFs.Extent();
-  for (i=1; i<=aNb; i++) {
-    bFlag=Standard_False;
-    
-    BOPTools_SSInterference& aFF=aFFs(i);
-    
-    nF1=aFF.Index1();
-    nF2=aFF.Index2();
-    const TopoDS_Face& aF1=TopoDS::Face(aDS.Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(aDS.Shape(nF2));
-    //
-    // iSenseFlag;
-    const BOPTools_ListOfPaveBlock& aLPB=aFF.PaveBlocks();
-    aNbSps=aLPB.Extent();
-
-    if (!aNbSps) {
-      continue;
-    }
-    
-    const BOPTools_PaveBlock& aPB=aLPB.First();
-    const TopoDS_Edge& aSpE=TopoDS::Edge(aDS.Shape(aPB.Edge()));
-    
-    BOPTools_Tools3D::GetNormalToFaceOnEdge (aSpE, aF1, aDNF1); 
-    BOPTools_Tools3D::GetNormalToFaceOnEdge (aSpE, aF2, aDNF2);
-    iSenseFlag=BOPTools_Tools3D::SenseFlag (aDNF1, aDNF2);
-    //
-    if (iSenseFlag==1 || iSenseFlag==-1) {
-    //
-    //
-      TopoDS_Face aF1FWD=aF1;
-      aF1FWD.Orientation (TopAbs_FORWARD);
-      
-      BOP_WireEdgeSet aWES (aF1FWD);
-      BOP_SDFWESFiller aWESFiller(nF1, nF2, *myDSFiller);
-      aWESFiller.SetSenseFlag(iSenseFlag);
-      aWESFiller.SetOperation(BOP_COMMON);
-      aWESFiller.Do(aWES);
-      
-      BOP_FaceBuilder aFB;
-      aFB.Do(aWES);
-      const TopTools_ListOfShape& aLF=aFB.NewFaces();
-
-      iZone=0;
-      TopTools_ListIteratorOfListOfShape anIt(aLF);
-      for (; anIt.More(); anIt.Next()) {
-       const TopoDS_Shape& aFR=anIt.Value();
-
-       if (aFR.ShapeType()==TopAbs_FACE) {
-         const TopoDS_Face& aFaceResult=TopoDS::Face(aFR);
-         //
-         Standard_Boolean bIsValidIn2D, bNegativeFlag;
-         bIsValidIn2D=BOPTools_Tools3D::IsValidArea (aFaceResult, bNegativeFlag);
-         if (bIsValidIn2D) { 
-           //if(CheckSameDomainFaceInside(aFaceResult, aF2)) {
-           iZone=1;
-           break;
-           //}
-         }
-         //
-       }
-      }
-      
-      if (iZone) { 
-       bFlag=Standard_True;
-       aFF.SetStatesMap(aWESFiller.StatesMap());
-      }
-      
-    }// if (iSenseFlag)
-  
-  aFF.SetTangentFacesFlag(bFlag);
-  aFF.SetSenseFlag (iSenseFlag);
-  }// end of for (i=1; i<=aNb; i++) 
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_ShellSolid.hxx b/src/GEOMAlgo/GEOMAlgo_ShellSolid.hxx
deleted file mode 100644 (file)
index 16415ec..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_ShellSolid_HeaderFile
-#define _GEOMAlgo_ShellSolid_HeaderFile
-
-#ifndef _GEOMAlgo_ShapeSolid_HeaderFile
-#include <GEOMAlgo_ShapeSolid.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_ShellSolid  : public GEOMAlgo_ShapeSolid {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_ShellSolid();
-Standard_EXPORT virtual ~GEOMAlgo_ShellSolid();
-Standard_EXPORT virtual  void Perform() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void Prepare() ;
-Standard_EXPORT virtual  void BuildResult() ;
-Standard_EXPORT   void DetectSDFaces() ;
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_ShellSolid.ixx b/src/GEOMAlgo/GEOMAlgo_ShellSolid.ixx
deleted file mode 100644 (file)
index f5b12e1..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_ShellSolid.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_ShellSolid.jxx b/src/GEOMAlgo/GEOMAlgo_ShellSolid.jxx
deleted file mode 100644 (file)
index e9afe6d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _GEOMAlgo_ShellSolid_HeaderFile
-#include <GEOMAlgo_ShellSolid.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_SolidSolid.cdl b/src/GEOMAlgo/GEOMAlgo_SolidSolid.cdl
deleted file mode 100644 (file)
index 3634282..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- File:       GEOMAlgo_SolidSolid.cdl
--- Created:    Wed Jan 26 12:05:14 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class SolidSolid from GEOMAlgo 
-    inherits ShellSolid from GEOMAlgo 
-    
-       ---Purpose: 
-
-uses 
-    Shape from TopoDS
-
---raises
-
-is
-    Create   
-       returns SolidSolid from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_SolidSolid();" 
-    
-    Perform (me:out) 
-       is redefined; 
-        
-    BuildResult (me:out) 
-       is redefined protected;         
-    
-    SetShape2 (me:out;  
-           aS: Shape from TopoDS);
-
-    Shape2 (me)  
-       returns Shape from TopoDS; 
-    ---C++: return const &  
-
-fields
-    myS2: Shape from TopoDS is protected; 
-    
-end SolidSolid;
diff --git a/src/GEOMAlgo/GEOMAlgo_SolidSolid.cxx b/src/GEOMAlgo/GEOMAlgo_SolidSolid.cxx
deleted file mode 100644 (file)
index c4596bd..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-// File:       GEOMAlgo_SolidSolid.cxx
-// Created:    Wed Jan 26 12:06:26 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_SolidSolid.ixx>
-
-#include <Standard_Failure.hxx>
-
-#include <TopAbs_State.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopExp.hxx>
-
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BooleanOperations_ShapesDataStructure.hxx>
-#include <BOPTools_DSFiller.hxx>
-
-#include <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_SolidSolid
-//purpose  : 
-//=======================================================================
-GEOMAlgo_SolidSolid::GEOMAlgo_SolidSolid()
-:
-  GEOMAlgo_ShellSolid()
-{
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_SolidSolid::~GEOMAlgo_SolidSolid()
-{
-}
-//=======================================================================
-// function: SetShape2
-// purpose: 
-//=======================================================================
-void GEOMAlgo_SolidSolid::SetShape2(const TopoDS_Shape& aS2)
-{
-  myS2=aS2;
-} 
-//=======================================================================
-// function: Shape2
-// purpose: 
-//=======================================================================
-const TopoDS_Shape& GEOMAlgo_SolidSolid::Shape2()const
-{
-  return myS2;
-} 
-//=======================================================================
-// function: Perform
-// purpose: 
-//=======================================================================
-void GEOMAlgo_SolidSolid::Perform() 
-{
-  myErrorStatus=0;
-  try {
-    if (myDSFiller==NULL) {
-      myErrorStatus=10;
-      return;
-    }
-    if(!myDSFiller->IsDone()) {
-      myErrorStatus=11;
-      return;
-    }
-    //
-    Standard_Boolean bIsNewFiller;
-    //
-    bIsNewFiller=myDSFiller->IsNewFiller();
-    if (bIsNewFiller) {
-      Prepare();
-      myDSFiller->SetNewFiller(!bIsNewFiller);
-    }
-    //
-    myRank=2;
-    BuildResult();
-  }
-  catch (Standard_Failure) {
-    myErrorStatus=12;
-  }
-}
-//=================================================================================
-// function: BuildResult
-// purpose: 
-//=================================================================================
-void GEOMAlgo_SolidSolid::BuildResult() 
-{
-  myErrorStatus=0;
-  //
-  Standard_Integer i, j, aNbF, aNbS;
-  Standard_Integer aNbFIN, aNbFOUT, aNbFON, aNbFINTR;
-  TopAbs_State aState;
-  TopTools_ListIteratorOfListOfShape aIt;
-  TopTools_IndexedMapOfShape aMF, aMS;
-  GEOMAlgo_IndexedDataMapOfShapeState aMFS;
-  //
-  // 1. classify the faces
-  GEOMAlgo_ShellSolid::BuildResult(); 
-  //
-  // 2. fill Shape-State map
-  aIt.Initialize(myLSIN);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aF=aIt.Value();
-    aMFS.Add(aF, TopAbs_IN);
-  }
-  aIt.Initialize(myLSOUT);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aF=aIt.Value();
-    aMFS.Add(aF, TopAbs_OUT);
-  }
-  aIt.Initialize(myLSON);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aF=aIt.Value();
-    aMFS.Add(aF, TopAbs_ON);
-  }
-  myLSIN.Clear();
-  myLSON.Clear();
-  myLSOUT.Clear();
-  //
-  // 3. fill states for solids
-  TopExp::MapShapes(myS2, TopAbs_SOLID, aMS);
-  //
-  aNbS=aMS.Extent();
-  for (i=1; i<=aNbS; ++i) {
-    const TopoDS_Shape& aSolid=aMS(i);
-    //
-    aMF.Clear();
-    TopExp::MapShapes(aSolid, TopAbs_FACE, aMF);
-    //
-    aNbFIN=0;
-    aNbFOUT=0;
-    aNbFON=0;
-    aNbFINTR=0;
-    //
-    aNbF=aMF.Extent();
-    for(j=1; j<aNbF; ++j) {
-      const TopoDS_Shape& aF=aMF(j);
-      //
-      if (!aMFS.Contains(aF)) {// the face is intesected 
-       ++aNbFINTR;
-       break; 
-      }
-      //
-      aState=aMFS.FindFromKey(aF);
-      switch (aState) {
-        case TopAbs_IN:
-         ++aNbFIN;
-         break;
-       case TopAbs_OUT:
-         ++aNbFOUT;
-         break;
-       case TopAbs_ON:
-         ++aNbFON;
-         break;
-       default:
-         break;
-      }
-      if (aNbFIN && aNbFOUT) {
-       ++aNbFINTR;
-       break;
-      }
-    }
-    //
-    if (!aNbFINTR) {
-      if (aNbFON==aNbF) {
-       myLSON.Append(aSolid);
-      }
-      else if (aNbFIN) {
-       myLSIN.Append(aSolid);
-      }
-      else if (aNbFOUT) {
-       myLSOUT.Append(aSolid);
-      }
-    }
-  }
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_SolidSolid.hxx b/src/GEOMAlgo/GEOMAlgo_SolidSolid.hxx
deleted file mode 100644 (file)
index 5a90d31..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_SolidSolid_HeaderFile
-#define _GEOMAlgo_SolidSolid_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOMAlgo_ShellSolid_HeaderFile
-#include <GEOMAlgo_ShellSolid.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_SolidSolid  : public GEOMAlgo_ShellSolid {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_SolidSolid();
-Standard_EXPORT virtual ~GEOMAlgo_SolidSolid();
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT   void SetShape2(const TopoDS_Shape& aS) ;
-Standard_EXPORT  const TopoDS_Shape& Shape2() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void BuildResult() ;
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myS2;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_SolidSolid.ixx b/src/GEOMAlgo/GEOMAlgo_SolidSolid.ixx
deleted file mode 100644 (file)
index 9db5bd6..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_SolidSolid.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_SolidSolid.jxx b/src/GEOMAlgo/GEOMAlgo_SolidSolid.jxx
deleted file mode 100644 (file)
index abe70c5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOMAlgo_SolidSolid_HeaderFile
-#include <GEOMAlgo_SolidSolid.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_State.hxx b/src/GEOMAlgo/GEOMAlgo_State.hxx
deleted file mode 100644 (file)
index e1a164c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// File generated by CPPExt (Enum)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_State_HeaderFile
-#define _GEOMAlgo_State_HeaderFile
-
-enum GEOMAlgo_State { 
- GEOMAlgo_ST_UNKNOWN,
-GEOMAlgo_ST_IN,
-GEOMAlgo_ST_OUT,
-GEOMAlgo_ST_ON,
-GEOMAlgo_ST_ONIN,
-GEOMAlgo_ST_ONOUT,
-GEOMAlgo_ST_INOUT
-};
-
-
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_StateCollector.cdl b/src/GEOMAlgo/GEOMAlgo_StateCollector.cdl
deleted file mode 100644 (file)
index 7919dbd..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- File:       GEOMAlgo_StateCollector.cdl
--- Created:    Thu Mar 10 09:39:25 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class StateCollector from GEOMAlgo 
-
-       ---Purpose: 
-
-uses
-    State from TopAbs 
-
---raises
-
-is 
-    Create 
-       returns StateCollector from GEOMAlgo; 
-
-    AppendState(me:out; 
-           aSt:State from TopAbs) 
-       returns Boolean from Standard; 
-            
-    State(me) 
-       returns State from TopAbs; 
-        
-fields 
-    myCounter:Integer from Standard[3];  
-
-end StateCollector;
diff --git a/src/GEOMAlgo/GEOMAlgo_StateCollector.cxx b/src/GEOMAlgo/GEOMAlgo_StateCollector.cxx
deleted file mode 100644 (file)
index 1e754ff..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// File:       GEOMAlgo_StateCollector.cxx
-// Created:    Thu Mar 10 09:42:11 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_StateCollector.ixx>
-
-//=======================================================================
-//function : GEOMAlgo_StateCollector
-//purpose  : 
-//=======================================================================
-GEOMAlgo_StateCollector::GEOMAlgo_StateCollector() 
-{
-  myCounter[0]=0;
-  myCounter[1]=0;
-  myCounter[2]=0;
-}
-//=======================================================================
-//function : AppendState
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_StateCollector::AppendState(const TopAbs_State aSt) 
-{
-  Standard_Boolean bIsToBreak;
-  //
-  switch(aSt) {
-    case TopAbs_IN:
-      ++myCounter[0];
-      break;
-    case TopAbs_OUT:
-      ++myCounter[1];
-      break; 
-    case TopAbs_ON:
-      ++myCounter[2];
-      break;
-    default:
-      break;
-  }
-  bIsToBreak=(myCounter[0] && myCounter[1]);
-  //
-  return bIsToBreak;
-}
-//=======================================================================
-//function : State
-//purpose  : 
-//=======================================================================
-TopAbs_State GEOMAlgo_StateCollector::State()const 
-{
-  TopAbs_State aSt;
-  //
-  aSt=TopAbs_UNKNOWN;
-  //
-  if (myCounter[0] && myCounter[1]) {
-    return aSt;
-  }
-  //
-  else if (myCounter[0] && myCounter[2]>=0) {
-    aSt=TopAbs_IN;
-  }
-  //
-  else if (myCounter[1] && myCounter[2]>=0) {
-    aSt=TopAbs_OUT;
-  }
-  //
-  else if (!myCounter[0] && !myCounter[1] && myCounter[2]) {
-    aSt=TopAbs_ON;
-  }
-  //
-  return aSt;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_StateCollector.hxx b/src/GEOMAlgo/GEOMAlgo_StateCollector.hxx
deleted file mode 100644 (file)
index 3c1e25b..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_StateCollector_HeaderFile
-#define _GEOMAlgo_StateCollector_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _TopAbs_State_HeaderFile
-#include <TopAbs_State.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_StateCollector  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_StateCollector();
-Standard_EXPORT   Standard_Boolean AppendState(const TopAbs_State aSt) ;
-Standard_EXPORT   TopAbs_State State() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Integer myCounter[3];
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_StateCollector.ixx b/src/GEOMAlgo/GEOMAlgo_StateCollector.ixx
deleted file mode 100644 (file)
index d3cb9c3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_StateCollector.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_StateCollector.jxx b/src/GEOMAlgo/GEOMAlgo_StateCollector.jxx
deleted file mode 100644 (file)
index 3fe123a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _GEOMAlgo_StateCollector_HeaderFile
-#include <GEOMAlgo_StateCollector.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_SurfaceTools.cdl b/src/GEOMAlgo/GEOMAlgo_SurfaceTools.cdl
deleted file mode 100644 (file)
index 8242aca..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
--- File:       GEOMAlgo_SurfaceTools.cdl
--- Created:    Thu Jan 27 11:03:49 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class SurfaceTools from GEOMAlgo 
-
-       ---Purpose: 
-
-uses 
-    Pnt      from gp, 
-    Pln      from gp, 
-    Cylinder from gp, 
-    Sphere   from gp,
-    Surface  from Geom, 
-    Surface from GeomAdaptor, 
-    State    from TopAbs,      
-    State from GEOMAlgo
-
---raises
-
-is 
-
-    IsAnalytic(myclass;  
-           aS:Surface from Geom) 
-       returns Boolean from Standard; 
-    
-    IsCoaxial(myclass;  
-           aP1  :  Pnt from gp; 
-           aP2  :  Pnt from gp; 
-           aCyl :  Cylinder from gp; 
-            aTol :  Real from Standard)             
-       returns Boolean from Standard; 
-     
-    IsConformState(myclass;  
-           aST1:State from TopAbs; 
-           aST2:State from GEOMAlgo) 
-       returns Boolean from Standard;            
-
-    GetState(myclass; 
-           aP:Pnt from gp;          
-           aS:Surface from GeomAdaptor; 
-           aTol:Real from Standard; 
-           aSt:out State from TopAbs)
-       returns Integer from Standard; 
-       
-    GetState(myclass; 
-           aP:Pnt from gp;          
-           aS:Surface from Geom; 
-           aTol:Real from Standard; 
-           aSt:out State from TopAbs)
-       returns Integer from Standard;
-
-    Distance(myclass;  
-           aP:Pnt from gp;      
-           aPln:Pln from gp) 
-       returns Real from Standard; 
-
-    Distance(myclass;  
-           aP:Pnt from gp;      
-           aCyl:Cylinder from gp) 
-       returns Real from Standard; 
-        
-    Distance(myclass;  
-           aP:Pnt from gp;      
-           aSph:Sphere from gp) 
-       returns Real from Standard; 
-        
-    ReverseState(myclass; 
-           aSt: State from TopAbs) 
-       returns State from TopAbs; 
-        
---fields
-
-end SurfaceTools;
diff --git a/src/GEOMAlgo/GEOMAlgo_SurfaceTools.cxx b/src/GEOMAlgo/GEOMAlgo_SurfaceTools.cxx
deleted file mode 100644 (file)
index 16b2074..0000000
+++ /dev/null
@@ -1,249 +0,0 @@
-// File:       GEOMAlgo_SurfaceTools.cxx
-// Created:    Thu Jan 27 11:05:16 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_SurfaceTools.ixx>
-
-#include <math.h>
-
-#include <gp_Pln.hxx>
-#include <gp_Cylinder.hxx>
-#include <gp_Sphere.hxx>
-#include <gp_Ax1.hxx>
-#include <gp_Lin.hxx>
-#include <gp_Ax3.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Ax1.hxx>
-#include <gp_Vec.hxx>
-
-#include <GeomAbs_SurfaceType.hxx>
-#include <GeomAdaptor_Surface.hxx>
-
-
-//=======================================================================
-//function : GetState
-//purpose  : 
-//=======================================================================
- Standard_Integer GEOMAlgo_SurfaceTools::GetState(const gp_Pnt& aP,
-                                                 const GeomAdaptor_Surface& aGAS,
-                                                 const Standard_Real aTol,
-                                                 TopAbs_State& aState)
-{
-  Standard_Integer iErr;
-  Standard_Real aDp, aR;
-  GeomAbs_SurfaceType aType;
-  gp_Sphere aSph;
-  gp_Cylinder aCyl;
-  gp_Pln aPln;
-  //
-  iErr=0;
-  aState=TopAbs_UNKNOWN;
-  //
-  aType=aGAS.GetType();
-  switch (aType) {
-  case GeomAbs_Plane:
-    aPln=aGAS.Plane();
-    aR=0.;
-    aDp=GEOMAlgo_SurfaceTools::Distance(aP, aPln);
-    break;
-  
-  case GeomAbs_Cylinder: 
-    aCyl=aGAS.Cylinder();
-    aR=aCyl.Radius();
-    aDp=GEOMAlgo_SurfaceTools::Distance(aP, aCyl);
-    break; 
-
-  case GeomAbs_Sphere: 
-    aSph=aGAS.Sphere();
-    aR=aSph.Radius();
-    aDp=GEOMAlgo_SurfaceTools::Distance(aP, aSph);
-    break;
-    
-  default:
-    iErr=1; // unprocessed surface type
-    break;
-  }
-  //
-  if (!iErr) {
-    aState=TopAbs_ON;
-    if (aDp>aR+aTol) {
-      aState=TopAbs_OUT;
-    }
-    else if (aDp<aR-aTol) {
-      aState=TopAbs_IN;
-    }
-  }
-  //
-  return iErr;
-}
-//=======================================================================
-//function : GetState
-//purpose  : 
-//=======================================================================
- Standard_Integer GEOMAlgo_SurfaceTools::GetState(const gp_Pnt& aP,
-                                                 const Handle(Geom_Surface)& aSurf,
-                                                 const Standard_Real aTol,
-                                                 TopAbs_State& aState)
-{
-  Standard_Integer iErr;
-  GeomAdaptor_Surface aGAS;
-  //
-  aState=TopAbs_UNKNOWN;
-  aGAS.Load(aSurf);
-  //
-  iErr=GEOMAlgo_SurfaceTools::GetState(aP, aGAS, aTol, aState);
-  //
-  return iErr;
-}
-//=======================================================================
-//function : ReverseState
-//purpose  : 
-//=======================================================================
- TopAbs_State GEOMAlgo_SurfaceTools::ReverseState(const TopAbs_State aState)
-{
-  TopAbs_State aRSt=aState;
-  //
-  switch (aState) {
-    case TopAbs_IN:
-     aRSt=TopAbs_OUT;
-     break;
-   case TopAbs_OUT:
-     aRSt=TopAbs_IN;
-     break;
-   default:
-     break;
-  }
-  //
-  return aRSt;
-}
-//=======================================================================
-//function : Distance
-//purpose  : 
-//=======================================================================
-Standard_Real GEOMAlgo_SurfaceTools::Distance(const gp_Pnt& aP, 
-                                             const gp_Sphere& aSph)
-{
-  Standard_Real aD;
-  //
-  const gp_Pnt& aLoc=aSph.Location();
-  aD=aLoc.Distance(aP);
-  //
-  return aD;
-}
-//=======================================================================
-//function : Distance
-//purpose  : 
-//=======================================================================
-Standard_Real GEOMAlgo_SurfaceTools::Distance(const gp_Pnt& aP, 
-                                             const gp_Cylinder& aCyl)
-{
-  Standard_Real aD;
-  //
-  const gp_Ax1& aAxis=aCyl.Axis();
-  gp_Lin aLin(aAxis);
-  aD=aLin.Distance(aP);
-  //
-  return aD;
-}
-//=======================================================================
-//function : Distance
-//purpose  : 
-//=======================================================================
-Standard_Real GEOMAlgo_SurfaceTools::Distance(const gp_Pnt& aP, 
-                                             const gp_Pln& aPL)
-{
-  Standard_Real aD;
-  //
-  const gp_Ax3& aPos=aPL.Position();
-  const gp_Pnt& aLoc=aPos.Location ();
-  const gp_Dir& aDir=aPos.Direction();
-  //
-  aD= (aDir.X() * (aP.X() - aLoc.X()) +
-       aDir.Y() * (aP.Y() - aLoc.Y()) +
-       aDir.Z() * (aP.Z() - aLoc.Z()));
-  return aD;
-}
-//=======================================================================
-//function : IsCoaxial
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_SurfaceTools::IsCoaxial(const gp_Pnt& aP1,
-                                                 const gp_Pnt& aP2,
-                                                 const gp_Cylinder& aCyl,
-                                                 const Standard_Real aTol)
-{
-  Standard_Boolean bRet=Standard_False;
-  Standard_Real aSM;
-  //
-  gp_Vec aV12(aP1, aP2);
-  gp_Dir aD12(aV12);
-  //
-  const gp_Ax1& aAxis=aCyl.Axis();
-  const gp_Dir& aDAxis=aAxis.Direction();
-  //
-  aSM=fabs(aD12*aDAxis);
-  if (fabs(1.-aSM) > aTol) {
-    return bRet;
-  }
-  //
-  return !bRet;
-}
-//=======================================================================
-//function : IsAnalytic
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_SurfaceTools::IsAnalytic(const Handle(Geom_Surface)& aSurf)
-{
-  Standard_Boolean bRet;
-  GeomAbs_SurfaceType aType;
-  GeomAdaptor_Surface aGAS;
-  //
-  aGAS.Load(aSurf);
-  aType=aGAS.GetType();
-  bRet=(aType==GeomAbs_Plane || 
-       aType==GeomAbs_Cylinder ||
-       aType==GeomAbs_Sphere);
-  return bRet;
-}
-//=======================================================================
-//function : IsConformState
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_SurfaceTools::IsConformState(const TopAbs_State aST1,
-                                                      const GEOMAlgo_State aST2)
-{
-  Standard_Boolean bRet=Standard_False;
-  //
-  switch (aST2) {
-    case GEOMAlgo_ST_IN:
-      if (aST1==TopAbs_IN) {
-       bRet=!bRet;
-      }
-      break;
-    case GEOMAlgo_ST_OUT:
-      if (aST1==TopAbs_OUT) {
-       bRet=!bRet;
-      }
-      break;
-    case GEOMAlgo_ST_ON:
-      if (aST1==TopAbs_ON) {
-       bRet=!bRet;
-      }
-      break;
-    case GEOMAlgo_ST_ONIN:
-      if (aST1==TopAbs_ON || aST1==TopAbs_IN) {
-       bRet=!bRet;
-      }
-      break;
-    case GEOMAlgo_ST_ONOUT:
-      if (aST1==TopAbs_ON || aST1==TopAbs_OUT) {
-       bRet=!bRet;
-      }
-      break;
-    default:
-      break;
-  }
-  return bRet;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_SurfaceTools.hxx b/src/GEOMAlgo/GEOMAlgo_SurfaceTools.hxx
deleted file mode 100644 (file)
index 19f6160..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_SurfaceTools_HeaderFile
-#define _GEOMAlgo_SurfaceTools_HeaderFile
-
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _TopAbs_State_HeaderFile
-#include <TopAbs_State.hxx>
-#endif
-#ifndef _GEOMAlgo_State_HeaderFile
-#include <GEOMAlgo_State.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-class Geom_Surface;
-class gp_Pnt;
-class gp_Cylinder;
-class GeomAdaptor_Surface;
-class gp_Pln;
-class gp_Sphere;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_SurfaceTools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  Standard_Boolean IsAnalytic(const Handle(Geom_Surface)& aS) ;
-Standard_EXPORT static  Standard_Boolean IsCoaxial(const gp_Pnt& aP1,const gp_Pnt& aP2,const gp_Cylinder& aCyl,const Standard_Real aTol) ;
-Standard_EXPORT static  Standard_Boolean IsConformState(const TopAbs_State aST1,const GEOMAlgo_State aST2) ;
-Standard_EXPORT static  Standard_Integer GetState(const gp_Pnt& aP,const GeomAdaptor_Surface& aS,const Standard_Real aTol,TopAbs_State& aSt) ;
-Standard_EXPORT static  Standard_Integer GetState(const gp_Pnt& aP,const Handle(Geom_Surface)& aS,const Standard_Real aTol,TopAbs_State& aSt) ;
-Standard_EXPORT static  Standard_Real Distance(const gp_Pnt& aP,const gp_Pln& aPln) ;
-Standard_EXPORT static  Standard_Real Distance(const gp_Pnt& aP,const gp_Cylinder& aCyl) ;
-Standard_EXPORT static  Standard_Real Distance(const gp_Pnt& aP,const gp_Sphere& aSph) ;
-Standard_EXPORT static  TopAbs_State ReverseState(const TopAbs_State aSt) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_SurfaceTools.ixx b/src/GEOMAlgo/GEOMAlgo_SurfaceTools.ixx
deleted file mode 100644 (file)
index 5a0ce4e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_SurfaceTools.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_SurfaceTools.jxx b/src/GEOMAlgo/GEOMAlgo_SurfaceTools.jxx
deleted file mode 100644 (file)
index ceb9617..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _gp_Cylinder_HeaderFile
-#include <gp_Cylinder.hxx>
-#endif
-#ifndef _GeomAdaptor_Surface_HeaderFile
-#include <GeomAdaptor_Surface.hxx>
-#endif
-#ifndef _gp_Pln_HeaderFile
-#include <gp_Pln.hxx>
-#endif
-#ifndef _gp_Sphere_HeaderFile
-#include <gp_Sphere.hxx>
-#endif
-#ifndef _GEOMAlgo_SurfaceTools_HeaderFile
-#include <GEOMAlgo_SurfaceTools.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_Tools.cdl b/src/GEOMAlgo/GEOMAlgo_Tools.cdl
deleted file mode 100644 (file)
index 922d14a..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
--- File:       GEOMAlgo_Tools.cdl
--- Created:    Mon Dec  6 11:26:02 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class Tools from GEOMAlgo 
-
-       ---Purpose: 
-
-uses    
-    Pnt from gp, 
-    Surface from Geom, 
-    ShapeEnum from TopAbs,  
-    Edge  from TopoDS, 
-    Face  from TopoDS, 
-    Shape from TopoDS,
-    ListOfShape from TopTools,  
-    IndexedDataMapOfShapeListOfShape from TopTools,
-    Context from IntTools, 
-    IndexedDataMapOfPassKeyShapeListOfShape from GEOMAlgo 
-    
---raises
-
-is   
-    IsCompositeShape(myclass;  
-           aS  :Shape from TopoDS) 
-       returns Boolean from Standard;    
-
-    RefineSDShapes(myclass; 
-           aMSD:out IndexedDataMapOfPassKeyShapeListOfShape from GEOMAlgo; 
-           aTol:Real from Standard; 
-           aCtx:out Context from IntTools) 
-       returns Integer from Standard;
-
-    FindSDShapes(myclass; 
-           aLE :ListOfShape from TopTools;   
-           aTol:Real from Standard; 
-           aMEE:out IndexedDataMapOfShapeListOfShape from TopTools; 
-           aCtx:out Context from IntTools) 
-       returns Integer from Standard;
-     
-    FindSDShapes(myclass; 
-           aE1   :Shape from TopoDS; 
-           aLE   :ListOfShape from TopTools; 
-           aTol  :Real from Standard;   
-           aLESD :out ListOfShape from TopTools;
-           aCtx  :out Context from IntTools) 
-       returns Integer from Standard;  
-        
-    ProjectPointOnShape(myclass;  
-           aP1: Pnt from gp;  
-           aS  :Shape from TopoDS;  
-           aP2:out Pnt from gp; 
-           aCtx  :out Context from IntTools) 
-        returns Boolean from Standard;  
-  
-    PointOnShape(myclass;  
-           aS  :Shape from TopoDS; 
-           aP3D:out Pnt from gp); 
-            
-    PointOnEdge(myclass;  
-           aE  :Edge from TopoDS; 
-           aP3D:out Pnt from gp); 
-            
-    PointOnEdge(myclass;  
-           aE  :Edge from TopoDS; 
-           aT  :Real from Standard;   
-           aP3D:out Pnt from gp); 
-
-    PointOnFace(myclass;  
-           aF  :Face from TopoDS; 
-           aP3D:out Pnt from gp); 
-     
-    PointOnFace(myclass;  
-           aF  :Face from TopoDS; 
-           aU  :Real from Standard; 
-           aV  :Real from Standard; 
-           aP3D:out Pnt from gp);     
-
-    RefinePCurveForEdgeOnFace  (myclass; 
-           aE  :  Edge from TopoDS; 
-            aF  :  Face from TopoDS; 
-           aU1 : Real from Standard; 
-           aU2 : Real from Standard); 
-
-    IsUPeriodic(myclass;  
-           aS:Surface from Geom) 
-       returns Boolean from Standard;   
-
---fields
-
-end Tools;
diff --git a/src/GEOMAlgo/GEOMAlgo_Tools.cxx b/src/GEOMAlgo/GEOMAlgo_Tools.cxx
deleted file mode 100644 (file)
index 1a4437b..0000000
+++ /dev/null
@@ -1,438 +0,0 @@
-// File:       GEOMAlgo_Tools.cxx
-// Created:    Mon Dec  6 11:35:29 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-#include <GEOMAlgo_Tools.ixx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Pnt2d.hxx>
-
-#include <Geom_Surface.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom2d_Curve.hxx>
-#include <GeomAdaptor_Surface.hxx>
-
-#include <GeomAPI_ProjectPointOnSurf.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepTools.hxx>
-
-#include <BOPTools_Tools2D.hxx>
-#include <IntTools_Context.hxx>
-
-#include <GEOMAlgo_PassKeyShape.hxx>
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-
-static 
-  void GetCount(const TopoDS_Shape& aS,
-               Standard_Integer& iCnt);
-
-//=======================================================================
-//function : IsCompositeShape
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Tools::IsCompositeShape(const TopoDS_Shape& aS)
-{
-  Standard_Boolean bRet;
-  Standard_Integer iCnt;
-  TopoDS_Iterator aIt;
-  //
-  iCnt=0;
-  GetCount(aS, iCnt);
-  bRet=(iCnt>1);
-  //
-  return bRet;
-}
-
-//=======================================================================
-//function : GetCount
-//purpose  : 
-//=======================================================================
-void GetCount(const TopoDS_Shape& aS,
-             Standard_Integer& iCnt)
-{
-  TopoDS_Iterator aIt;
-  TopAbs_ShapeEnum aTS;
-  //
-  aTS=aS.ShapeType();
-  //
-  if (aTS==TopAbs_SHAPE) {
-    return;
-  }
-  if (aTS!=TopAbs_COMPOUND) {
-    ++iCnt;
-    return;
-  }
-  //
-  aIt.Initialize(aS);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aSx=aIt.Value();
-    GetCount(aSx, iCnt); 
-  }
-}
-
-//=======================================================================
-//function : RefineSDShapes
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_Tools::RefineSDShapes(GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape &aMPKLE,
-                                               const Standard_Real aTol,
-                                               IntTools_Context& aCtx)
-{
-  Standard_Integer i, aNbE, iErr, j, aNbEE, aNbToAdd;
-  TopTools_IndexedDataMapOfShapeListOfShape aMEE, aMSDE, aMEToAdd;
-  //
-  iErr=1;
-  //
-  aNbE=aMPKLE.Extent();
-  for (i=1; i<=aNbE; ++i) {
-    TopTools_ListOfShape& aLSDE=aMPKLE.ChangeFromIndex(i);
-    //
-    aMEE.Clear();
-    iErr=GEOMAlgo_Tools::FindSDShapes(aLSDE, aTol, aMEE, aCtx);
-    if (iErr) {
-      return iErr;
-    }
-    //
-    aNbEE=aMEE.Extent();
-    if (aNbEE==1) {
-      continue;  // nothing to do 
-    }
-    //
-    for (j=1; j<=aNbEE; ++j) {
-      TopTools_ListOfShape& aLEE=aMEE.ChangeFromIndex(j);
-      //
-      if (j==1) {
-       aLSDE.Clear();
-       aLSDE.Append(aLEE);
-      }
-      else {
-       const TopoDS_Shape& aE1=aLEE.First();
-       aMEToAdd.Add(aE1, aLEE);
-      }
-    }
-  }
-  //
-  aNbToAdd=aMEToAdd.Extent();
-  if (!aNbToAdd) {
-    return aNbToAdd;
-  }
-  //
-  for (i=1; i<=aNbToAdd; ++i) {
-    GEOMAlgo_PassKeyShape aPKE1;
-    //
-    const TopoDS_Shape& aE1=aMEToAdd.FindKey(i);
-    const TopTools_ListOfShape& aLE=aMEToAdd(i);
-    //
-    aPKE1.SetIds(aE1);
-    aMPKLE.Add(aPKE1, aLE);
-  }
-  //
-  return 0;
-}
-//=======================================================================
-//function : FindSDShapes
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_Tools::FindSDShapes(const TopTools_ListOfShape& aLE,
-                                             const Standard_Real aTol,
-                                             TopTools_IndexedDataMapOfShapeListOfShape& aMEE,
-                                             IntTools_Context& aCtx)
-{
-  Standard_Integer aNbE, aNbEProcessed, aNbESD, iErr;
-  TopTools_ListOfShape aLESD;
-  TopTools_ListIteratorOfListOfShape aIt, aIt1;
-  TopTools_IndexedMapOfShape aMProcessed;
-  TopAbs_ShapeEnum aType;
-  //
-  aNbE=aLE.Extent();
-  if (!aNbE) {
-    return 3; // Err
-  } 
-  //modified by NIZNHY-PKV Thu Dec 30 10:56:52 2004 f
-  if (aNbE==1) {
-    return 0; // Nothing to do
-  } 
-  //modified by NIZNHY-PKV Thu Dec 30 10:56:56 2004 t
-  //
-  while(1) {
-    aNbEProcessed=aMProcessed.Extent();
-    if (aNbEProcessed==aNbE) {
-      break;
-    }
-    //
-    aIt.Initialize(aLE);
-    for (; aIt.More(); aIt.Next()) {
-      const TopoDS_Shape& aS=aIt.Value();
-      //
-      if (aMProcessed.Contains(aS)) {
-       continue;
-      }
-      //
-      //modified by NIZNHY-PKV Thu Dec 30 10:57:01 2004 f
-      aType=aS.ShapeType();
-      if (aType==TopAbs_EDGE) {
-       const TopoDS_Edge& aE=TopoDS::Edge(aS);
-       if (BRep_Tool::Degenerated(aE)) {
-         aMProcessed.Add(aE);
-         continue;
-       }
-      }
-      //modified by NIZNHY-PKV Thu Dec 30 10:57:03 2004 t
-      //
-      aLESD.Clear();
-      iErr=GEOMAlgo_Tools::FindSDShapes(aS, aLE, aTol, aLESD, aCtx);
-      if (iErr) {
-       return 2; // Err
-      }
-      //
-      aNbESD=aLESD.Extent();
-      if (!aNbESD) {
-       return 1; // Err
-      }
-      //
-      aMEE.Add(aS, aLESD);
-      //
-      aIt1.Initialize(aLESD);
-      for (; aIt1.More(); aIt1.Next()) {
-       const TopoDS_Shape& aE1=aIt1.Value();
-       aMProcessed.Add(aE1);
-      }
-    }
-  }
-  return 0;
-}
-//=======================================================================
-//function : FindSDShapes
-//purpose  : 
-//=======================================================================
-Standard_Integer GEOMAlgo_Tools::FindSDShapes(const TopoDS_Shape& aE1,
-                                             const TopTools_ListOfShape& aLE,
-                                             const Standard_Real aTol,
-                                             TopTools_ListOfShape& aLESD,
-                                             IntTools_Context& aCtx)
-{
-  Standard_Boolean bIsDone;
-  Standard_Real aTol2, aD2;
-  gp_Pnt aP1, aP2;
-  TopTools_ListIteratorOfListOfShape aIt;
-  //
-  aTol2=aTol*aTol;
-  GEOMAlgo_Tools::PointOnShape(aE1, aP1);
-  //
-  aIt.Initialize(aLE);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aE2=aIt.Value();
-    if (aE2.IsSame(aE1)) {
-       aLESD.Append(aE2);
-    }
-    else {
-      bIsDone=GEOMAlgo_Tools::ProjectPointOnShape(aP1, aE2, aP2, aCtx);
-      if (!bIsDone) {
-       return 1; 
-      }
-      aD2=aP1.SquareDistance(aP2);
-      if(aD2<aTol2) {
-       aLESD.Append(aE2);
-      }
-    }
-  }
-  return 0;
-}
-
-//=======================================================================
-//function : ProjectPointOnShape
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Tools::ProjectPointOnShape(const gp_Pnt& aP1,
-                                                    const TopoDS_Shape& aS,
-                                                    gp_Pnt& aP2,
-                                                    IntTools_Context& aCtx)
-{
-  Standard_Boolean bIsDone=Standard_False;
-  Standard_Real aT2;
-  TopAbs_ShapeEnum aType;
-  //
-  aType=aS.ShapeType();
-  switch(aType) {
-    case TopAbs_EDGE: {
-      const TopoDS_Edge& aE2=TopoDS::Edge(aS);
-      //
-      bIsDone=aCtx.ProjectPointOnEdge(aP1, aE2, aT2);
-      if (!bIsDone) {
-       return bIsDone;
-      }
-      //
-      GEOMAlgo_Tools::PointOnEdge(aE2, aT2, aP2);
-    }
-      break;
-      //
-    case TopAbs_FACE: {
-      const TopoDS_Face& aF2=TopoDS::Face(aS);
-      GeomAPI_ProjectPointOnSurf& aProj=aCtx.ProjPS(aF2);
-      //
-      aProj.Perform(aP1);
-      bIsDone=aProj.IsDone();
-      if (!bIsDone) {
-       return bIsDone;
-      }
-      //
-      aP2=aProj.NearestPoint(); 
-    }
-      break;
-      //  
-    default:
-      break; // Err
-  }
-  return bIsDone;
-}
-//=======================================================================
-//function : PointOnShape
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::PointOnShape(const TopoDS_Shape& aS,
-                                 gp_Pnt& aP3D)
-{
-  TopAbs_ShapeEnum aType;
-  //
-  aP3D.SetCoord(99.,99.,99.);
-  aType=aS.ShapeType();
-  switch(aType) {
-    case TopAbs_EDGE: {
-      const TopoDS_Edge& aE=TopoDS::Edge(aS);
-      GEOMAlgo_Tools::PointOnEdge(aE, aP3D);
-      }
-      break;
-      //
-    case TopAbs_FACE: {
-      const TopoDS_Face& aF=TopoDS::Face(aS);
-      GEOMAlgo_Tools::PointOnFace(aF, aP3D);
-      }
-      break;
-      //  
-    default:
-      break; // Err
-  }
-}
-//=======================================================================
-//function : PointOnFace
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::PointOnFace(const TopoDS_Face& aF,
-                                gp_Pnt& aP3D)
-{
-  Standard_Real aU, aV, aUMin, aUMax, aVMin, aVMax;
-  //
-  BRepTools::UVBounds(aF, aUMin, aUMax, aVMin, aVMax);
-  //
-  aU=BOPTools_Tools2D::IntermediatePoint(aUMin, aUMax); 
-  aV=BOPTools_Tools2D::IntermediatePoint(aVMin, aVMax); 
-  //
-  GEOMAlgo_Tools::PointOnFace(aF, aU, aV, aP3D);
-}
-//=======================================================================
-//function : PointOnFace
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::PointOnFace(const TopoDS_Face& aF,
-                                const Standard_Real aU,
-                                const Standard_Real aV,
-                                gp_Pnt& aP3D)
-{
-  Handle(Geom_Surface) aS;
-  //
-  aS=BRep_Tool::Surface(aF);
-  aS->D0(aU, aV, aP3D);
-}
-//=======================================================================
-//function : PointOnEdge
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::PointOnEdge(const TopoDS_Edge& aE,
-                                gp_Pnt& aP3D)
-{
-  Standard_Real aTx, aT1, aT2;
-  //
-  BRep_Tool::Curve(aE, aT1, aT2);
-  aTx=BOPTools_Tools2D::IntermediatePoint(aT1, aT2);
-  GEOMAlgo_Tools::PointOnEdge(aE, aTx, aP3D);
-}
-//=======================================================================
-//function : PointOnEdge
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::PointOnEdge(const TopoDS_Edge& aE,
-                                const Standard_Real aT,
-                                gp_Pnt& aP3D)
-{
-  Standard_Real aT1, aT2;
-  Handle(Geom_Curve) aC3D;
-  //
-  aC3D=BRep_Tool::Curve(aE, aT1, aT2);
-  aC3D->D0(aT, aP3D);
-}
-//=======================================================================
-//function : RefinePCurveForEdgeOnFace
-//purpose  : 
-//=======================================================================
-void GEOMAlgo_Tools::RefinePCurveForEdgeOnFace(const TopoDS_Edge& aE,
-                                              const TopoDS_Face& aF,
-                                              const Standard_Real aUMin, 
-                                              const Standard_Real aUMax) 
-{
-  Standard_Real aT1, aT2, aTx, aUx, aTol, aTwoPI;
-  gp_Pnt2d aP2D;
-  Handle(Geom_Surface) aS;
-  Handle(Geom2d_Curve) aC2D;
-  BRep_Builder aBB;
-  //
-  aTwoPI=PI+PI;
-  //
-  aC2D=BRep_Tool::CurveOnSurface(aE, aF, aT1, aT2);
-  if (!aC2D.IsNull()) {
-    if (BRep_Tool::IsClosed(aE, aF)) {
-      return;
-    }
-    aTx=BOPTools_Tools2D::IntermediatePoint(aT1, aT2);
-    aC2D->D0(aTx, aP2D);
-    aUx=aP2D.X();
-    if (aUx < aUMin || aUx > aUMax) {
-      // need to rebuild
-      Handle(Geom2d_Curve) aC2Dx;
-      //
-      aTol=BRep_Tool::Tolerance(aE);
-      aBB.UpdateEdge(aE, aC2Dx, aF, aTol); 
-    }
-  }
-}
-//=======================================================================
-//function : IsUPeriodic
-//purpose  : 
-//=======================================================================
-Standard_Boolean GEOMAlgo_Tools::IsUPeriodic(const  Handle(Geom_Surface) &aS)
-{
-  Standard_Boolean bRet;
-  GeomAbs_SurfaceType aType;
-  GeomAdaptor_Surface aGAS;
-  //
-  aGAS.Load(aS);
-  aType=aGAS.GetType();
-  bRet=(aType==GeomAbs_Cylinder||
-       aType==GeomAbs_Cone ||
-       aType==GeomAbs_Sphere);
-  //
-  return bRet;
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_Tools.hxx b/src/GEOMAlgo/GEOMAlgo_Tools.hxx
deleted file mode 100644 (file)
index 73d9bc3..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_Tools_HeaderFile
-#define _GEOMAlgo_Tools_HeaderFile
-
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Handle_Geom_Surface_HeaderFile
-#include <Handle_Geom_Surface.hxx>
-#endif
-class TopoDS_Shape;
-class GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape;
-class IntTools_Context;
-class TopTools_ListOfShape;
-class TopTools_IndexedDataMapOfShapeListOfShape;
-class gp_Pnt;
-class TopoDS_Edge;
-class TopoDS_Face;
-class Geom_Surface;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_Tools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  Standard_Boolean IsCompositeShape(const TopoDS_Shape& aS) ;
-Standard_EXPORT static  Standard_Integer RefineSDShapes(GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& aMSD,const Standard_Real aTol,IntTools_Context& aCtx) ;
-Standard_EXPORT static  Standard_Integer FindSDShapes(const TopTools_ListOfShape& aLE,const Standard_Real aTol,TopTools_IndexedDataMapOfShapeListOfShape& aMEE,IntTools_Context& aCtx) ;
-Standard_EXPORT static  Standard_Integer FindSDShapes(const TopoDS_Shape& aE1,const TopTools_ListOfShape& aLE,const Standard_Real aTol,TopTools_ListOfShape& aLESD,IntTools_Context& aCtx) ;
-Standard_EXPORT static  Standard_Boolean ProjectPointOnShape(const gp_Pnt& aP1,const TopoDS_Shape& aS,gp_Pnt& aP2,IntTools_Context& aCtx) ;
-Standard_EXPORT static  void PointOnShape(const TopoDS_Shape& aS,gp_Pnt& aP3D) ;
-Standard_EXPORT static  void PointOnEdge(const TopoDS_Edge& aE,gp_Pnt& aP3D) ;
-Standard_EXPORT static  void PointOnEdge(const TopoDS_Edge& aE,const Standard_Real aT,gp_Pnt& aP3D) ;
-Standard_EXPORT static  void PointOnFace(const TopoDS_Face& aF,gp_Pnt& aP3D) ;
-Standard_EXPORT static  void PointOnFace(const TopoDS_Face& aF,const Standard_Real aU,const Standard_Real aV,gp_Pnt& aP3D) ;
-Standard_EXPORT static  void RefinePCurveForEdgeOnFace(const TopoDS_Edge& aE,const TopoDS_Face& aF,const Standard_Real aU1,const Standard_Real aU2) ;
-Standard_EXPORT static  Standard_Boolean IsUPeriodic(const Handle(Geom_Surface)& aS) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_Tools.ixx b/src/GEOMAlgo/GEOMAlgo_Tools.ixx
deleted file mode 100644 (file)
index 6b9d6c0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_Tools.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_Tools.jxx b/src/GEOMAlgo/GEOMAlgo_Tools.jxx
deleted file mode 100644 (file)
index 379b7f2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#include <GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx>
-#endif
-#ifndef _IntTools_Context_HeaderFile
-#include <IntTools_Context.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _Geom_Surface_HeaderFile
-#include <Geom_Surface.hxx>
-#endif
-#ifndef _GEOMAlgo_Tools_HeaderFile
-#include <GEOMAlgo_Tools.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_VertexSolid.cdl b/src/GEOMAlgo/GEOMAlgo_VertexSolid.cdl
deleted file mode 100644 (file)
index 9a7c623..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- File:       GEOMAlgo_VertexSolid.cdl
--- Created:    Wed Jan 12 16:34:53 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class VertexSolid from GEOMAlgo  
-       inherits ShapeSolid from GEOMAlgo
-
-       ---Purpose: 
-
---uses
---raises
-
-is
-    Create   
-       returns  VertexSolid from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_VertexSolid();"
-     
-    Perform (me:out) 
-       is redefined; 
-        
-    Prepare(me:out)  
-        is redefined protected;
-     
-    BuildResult (me:out) 
-       is redefined protected; 
-    
---fields
-
-end VertexSolid;
diff --git a/src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx b/src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx
deleted file mode 100644 (file)
index 1257362..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-// File:       GEOMAlgo_VertexSolid.cxx
-// Created:    Wed Jan 12 16:36:40 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_VertexSolid.ixx>
-
-#include <gp_Pnt.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopAbs_State.hxx>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <TopExp.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-
-#include <BOPTColStd_Dump.hxx>
-
-#include <IntTools_Context.hxx>
-
-#include <BooleanOperations_StateOfShape.hxx>
-#include <BooleanOperations_ShapesDataStructure.hxx>
-
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfVVInterference.hxx>
-#include <BOPTools_VVInterference.hxx>
-#include <BOPTools_PaveFiller.hxx>
-#include <BOPTools_DSFiller.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_VertexSolid
-//purpose  : 
-//=======================================================================
-GEOMAlgo_VertexSolid::GEOMAlgo_VertexSolid()
-:
-  GEOMAlgo_ShapeSolid()
-{
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_VertexSolid::~GEOMAlgo_VertexSolid()
-{
-}
-//=======================================================================
-// function: Perform
-// purpose: 
-//=======================================================================
-void GEOMAlgo_VertexSolid::Perform()
-{
-  myErrorStatus=0;
-  //
-  try {
-    if (myDSFiller==NULL) {
-      myErrorStatus=10;
-      return;
-    }
-    if(!myDSFiller->IsDone()) {
-      myErrorStatus=11;
-      return;
-    }
-    //
-    Standard_Boolean bIsNewFiller;
-    Standard_Integer aNbF;
-    TopTools_IndexedMapOfShape aM;
-    //
-    const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-    const TopoDS_Shape& aObj=aDS.Object();
-    //
-    TopExp::MapShapes(aObj, TopAbs_FACE, aM);
-    aNbF=aM.Extent();
-    myRank=(aNbF) ? 2 : 1;
-    //
-    bIsNewFiller=myDSFiller->IsNewFiller();
-    
-    if (bIsNewFiller) {
-      Prepare();
-      myDSFiller->SetNewFiller(!bIsNewFiller);
-    }
-    BuildResult();
-  }
-  //
-  catch (Standard_Failure) {
-    myErrorStatus = 12;
-  }
-} 
-//=======================================================================
-// function: Prepare
-// purpose: 
-//=======================================================================
-void GEOMAlgo_VertexSolid::Prepare()
-{
-  Standard_Integer i, iBeg, iEnd, aNbVV, j, n1, n2, iFound;
-  Standard_Real aTol;
-  TopAbs_State aSt;
-  TopAbs_ShapeEnum aType;
-  BooleanOperations_StateOfShape aState;
-  gp_Pnt aP3D;
-  //
-  const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-  BooleanOperations_ShapesDataStructure* pDS=(BooleanOperations_ShapesDataStructure*)&aDS;
-  const BOPTools_InterferencePool& aIP=myDSFiller->InterfPool();
-  BOPTools_InterferencePool* pIP=(BOPTools_InterferencePool*) &aIP;
-  BOPTools_CArray1OfVVInterference& aVVs=pIP->VVInterferences();
-  const BOPTools_PaveFiller& aPF=myDSFiller->PaveFiller();
-  BOPTools_PaveFiller* pPF=(BOPTools_PaveFiller*)&aPF; 
-  IntTools_Context& aCtx=pPF->ChangeContext();
-  //
-  const TopoDS_Shape& aObj=aDS.Object();
-  const TopoDS_Shape& aTool=aDS.Tool();
-  //
-  const TopoDS_Solid& aSolid=(myRank==1) ? TopoDS::Solid(aTool) : TopoDS::Solid(aObj);
-  const TopoDS_Shape& aSV   =(myRank==1)? aObj : aTool;
-  //
-  BRepClass3d_SolidClassifier& aSC=aCtx.SolidClassifier(aSolid);
-  //
-  iBeg=1;
-  iEnd=aDS.NumberOfShapesOfTheObject();
-  if (myRank==2) {
-    iBeg=iEnd+1;
-    iEnd=aDS.NumberOfSourceShapes();
-  }
-  //
-  for (i=iBeg; i<=iEnd; ++i) {
-    aType=aDS.GetShapeType(i);
-    if (aType!=TopAbs_VERTEX) {
-      continue;
-    }
-    //
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aDS.Shape(i));
-    //
-    aState=aDS.GetState(i);
-    if (aState==BooleanOperations_ON ||
-       aState==BooleanOperations_IN ||
-       aState==BooleanOperations_OUT) {
-      continue;
-    }
-    //
-    iFound=0;
-    aNbVV=aVVs.Extent();
-    for (j=1; j<=aNbVV; ++j) {
-      BOPTools_VVInterference& aVV=aVVs(j);
-      aVV.Indices(n1, n2);
-      if (n1==i || n2==i) {
-       pDS->SetState (n1, BooleanOperations_ON);
-       pDS->SetState (n2, BooleanOperations_ON);
-       iFound=1;
-       break;
-      } 
-    }
-    if (iFound) {
-      continue;
-    }
-    // 
-    aP3D=BRep_Tool::Pnt(aV);
-    aTol=1.E-7;
-    aSC.Perform(aP3D, aTol);
-    aSt=aSC.State();
-    if (aSt==TopAbs_IN) {
-      pDS->SetState (i, BooleanOperations_IN);
-    }
-    else if (aSt==TopAbs_OUT) {
-      pDS->SetState (i, BooleanOperations_OUT);
-    }
-  }
-}
-//=======================================================================
-// function: BuildResult
-// purpose: 
-//=======================================================================
-void GEOMAlgo_VertexSolid::BuildResult()
-{
-  const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-  //
-  Standard_Integer i, iBeg, iEnd;
-  TopAbs_ShapeEnum aType;
-  BooleanOperations_StateOfShape aState;
-  //
-  myLSIN.Clear();
-  myLSOUT.Clear();
-  myLSON.Clear();
-  //
-  iBeg=1;
-  iEnd=aDS.NumberOfShapesOfTheObject();
-  if (myRank==2) {
-    iBeg=iEnd+1;
-    iEnd=aDS.NumberOfSourceShapes();
-  }
-  //
-  for (i=iBeg; i<=iEnd; ++i) {
-    aType=aDS.GetShapeType(i);
-    if (aType!=TopAbs_VERTEX) {
-      continue;
-    }
-    const TopoDS_Shape& aV=aDS.Shape(i);
-    aState=aDS.GetState(i);
-    //
-    if (aState==BooleanOperations_IN) {
-      myLSIN.Append(aV);
-    }
-    else if (aState==BooleanOperations_OUT) {
-      myLSOUT.Append(aV);
-    }
-    else if (aState==BooleanOperations_ON) {
-      myLSON.Append(aV);
-    }
-  }
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_VertexSolid.hxx b/src/GEOMAlgo/GEOMAlgo_VertexSolid.hxx
deleted file mode 100644 (file)
index 103c7f2..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_VertexSolid_HeaderFile
-#define _GEOMAlgo_VertexSolid_HeaderFile
-
-#ifndef _GEOMAlgo_ShapeSolid_HeaderFile
-#include <GEOMAlgo_ShapeSolid.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_VertexSolid  : public GEOMAlgo_ShapeSolid {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_VertexSolid();
-Standard_EXPORT virtual ~GEOMAlgo_VertexSolid();
-Standard_EXPORT virtual  void Perform() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void Prepare() ;
-Standard_EXPORT virtual  void BuildResult() ;
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_VertexSolid.ixx b/src/GEOMAlgo/GEOMAlgo_VertexSolid.ixx
deleted file mode 100644 (file)
index e2351fe..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_VertexSolid.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_VertexSolid.jxx b/src/GEOMAlgo/GEOMAlgo_VertexSolid.jxx
deleted file mode 100644 (file)
index 8c7c253..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _GEOMAlgo_VertexSolid_HeaderFile
-#include <GEOMAlgo_VertexSolid.hxx>
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.cdl b/src/GEOMAlgo/GEOMAlgo_WireSolid.cdl
deleted file mode 100644 (file)
index d85db12..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- File:       GEOMAlgo_WireSolid.cdl
--- Created:    Wed Jan 12 10:17:00 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
-
-class WireSolid from GEOMAlgo 
-       inherits ShapeSolid from GEOMAlgo
-       ---Purpose: 
-
---uses 
---raises
-
-is 
-    Create   
-       returns WireSolid from GEOMAlgo; 
-    ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_WireSolid();" 
-    
-    Perform (me:out) 
-       is redefined; 
-        
-    Prepare(me:out)  
-        is redefined protected;
-     
-    BuildResult (me:out) 
-       is redefined protected; 
-    
---fields
-    
-end WireSolid;
diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx b/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx
deleted file mode 100644 (file)
index faaf361..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// File:       GEOMAlgo_WireSolid.cxx
-// Created:    Wed Jan 12 10:19:31 2005
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <GEOMAlgo_WireSolid.ixx>
-
-#include <Standard_Failure.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <BOPTColStd_Dump.hxx>
-
-#include <BooleanOperations_ShapesDataStructure.hxx>
-#include <BooleanOperations_StateOfShape.hxx>
-
-#include <BOPTools_PaveFiller.hxx>
-#include <BOPTools_SplitShapesPool.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_DSFiller.hxx>
-#include <BOPTools_WireStateFiller.hxx>
-
-//=======================================================================
-//function : GEOMAlgo_WireSolid
-//purpose  : 
-//=======================================================================
-GEOMAlgo_WireSolid::GEOMAlgo_WireSolid()
-: 
-  GEOMAlgo_ShapeSolid()
-{
-}
-//=======================================================================
-//function : ~
-//purpose  : 
-//=======================================================================
-GEOMAlgo_WireSolid::~GEOMAlgo_WireSolid()
-{
-}
-//=======================================================================
-// function: Perform
-// purpose: 
-//=======================================================================
-void GEOMAlgo_WireSolid::Perform()
-{
-  myErrorStatus=0;
-  //
-  try {
-    if (myDSFiller==NULL) {
-      myErrorStatus=10;
-      return;
-    }
-    if(!myDSFiller->IsDone()) {
-      myErrorStatus=11;
-      return;
-    }
-    //
-    Standard_Boolean bIsNewFiller;
-    //
-    bIsNewFiller=myDSFiller->IsNewFiller();
-    
-    if (bIsNewFiller) {
-      Prepare();
-      myDSFiller->SetNewFiller(!bIsNewFiller);
-    }
-    BuildResult();
-  }
-  //
-  catch (Standard_Failure) {
-    myErrorStatus= 12;
-  }
-} 
-//=======================================================================
-// function: Prepare
-// purpose: 
-//=======================================================================
-void GEOMAlgo_WireSolid::Prepare()
-{
-  const BOPTools_PaveFiller& aPaveFiller=myDSFiller->PaveFiller();
-  //
-  BOPTools_WireStateFiller aStateFiller(aPaveFiller);
-  aStateFiller.Do();
-  //
-}
-//=======================================================================
-// function: BuildResult
-// purpose: 
-//=======================================================================
-void GEOMAlgo_WireSolid::BuildResult()
-{
-  const BooleanOperations_ShapesDataStructure& aDS=myDSFiller->DS();
-  const BOPTools_PaveFiller& aPaveFiller=myDSFiller->PaveFiller();
-  const BOPTools_SplitShapesPool& aSplitShapesPool=aPaveFiller.SplitShapesPool();
-  //
-  Standard_Integer i, aNbPB, nSp, iBeg, iEnd;
-  TopAbs_ShapeEnum aType;
-  BooleanOperations_StateOfShape aState;
-  //
-  myLSIN.Clear();
-  myLSOUT.Clear();
-  myLSON.Clear();
-  //
-  iBeg=1;
-  iEnd=aDS.NumberOfShapesOfTheObject();
-  if (aDS.Tool().ShapeType()==TopAbs_WIRE) {
-    iBeg=iEnd+1;
-    iEnd=aDS.NumberOfSourceShapes();
-  }
-  //
-  for (i=iBeg; i<=iEnd; ++i) {
-    aType=aDS.GetShapeType(i);
-    if (aType==TopAbs_EDGE) {
-      const TopoDS_Shape& aE=aDS.Shape(i);
-      const BOPTools_ListOfPaveBlock& aLPB=aSplitShapesPool(aDS.RefEdge(i));
-      aNbPB=aLPB.Extent();
-      //
-      if (!aNbPB) {
-       aState=aDS.GetState(i);
-       //
-       if (aState==BooleanOperations_IN) {
-         myLSIN.Append(aE);
-       }
-       else if (aState==BooleanOperations_OUT) {
-         myLSOUT.Append(aE);
-       }
-       else if (aState==BooleanOperations_ON) {
-         myLSON.Append(aE);
-       }
-      }
-      //
-      else if (aNbPB==1) {
-       const BOPTools_PaveBlock& aPB=aLPB.First();
-       nSp=aPB.Edge();
-       const TopoDS_Shape& aSp=aDS.Shape(nSp);
-       aState=aDS.GetState(nSp);
-        //
-       if (aState==BooleanOperations_IN) {
-         myLSIN.Append(aE);
-       }
-       else if (aState==BooleanOperations_OUT) {
-         myLSOUT.Append(aE);
-       }
-       else if (aState==BooleanOperations_ON) {
-         myLSON.Append(aE);
-       } 
-      }
-    }
-  }
-}
diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.hxx b/src/GEOMAlgo/GEOMAlgo_WireSolid.hxx
deleted file mode 100644 (file)
index 7212908..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _GEOMAlgo_WireSolid_HeaderFile
-#define _GEOMAlgo_WireSolid_HeaderFile
-
-#ifndef _GEOMAlgo_ShapeSolid_HeaderFile
-#include <GEOMAlgo_ShapeSolid.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class GEOMAlgo_WireSolid  : public GEOMAlgo_ShapeSolid {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMAlgo_WireSolid();
-Standard_EXPORT virtual ~GEOMAlgo_WireSolid();
-Standard_EXPORT virtual  void Perform() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT virtual  void Prepare() ;
-Standard_EXPORT virtual  void BuildResult() ;
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.ixx b/src/GEOMAlgo/GEOMAlgo_WireSolid.ixx
deleted file mode 100644 (file)
index 37b35b4..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#include <GEOMAlgo_WireSolid.jxx>
-
-
-
diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.jxx b/src/GEOMAlgo/GEOMAlgo_WireSolid.jxx
deleted file mode 100644 (file)
index a37f27e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _GEOMAlgo_WireSolid_HeaderFile
-#include <GEOMAlgo_WireSolid.hxx>
-#endif
diff --git a/src/GEOMAlgo/Handle_BlockFix_BlockFixAPI.hxx b/src/GEOMAlgo/Handle_BlockFix_BlockFixAPI.hxx
deleted file mode 100644 (file)
index 1664fde..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_BlockFix_BlockFixAPI_HeaderFile
-#define _Handle_BlockFix_BlockFixAPI_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_MMgt_TShared_HeaderFile
-#include <Handle_MMgt_TShared.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(MMgt_TShared);
-class BlockFix_BlockFixAPI;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(BlockFix_BlockFixAPI);
-
-class Handle(BlockFix_BlockFixAPI) : public Handle(MMgt_TShared) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(BlockFix_BlockFixAPI)():Handle(MMgt_TShared)() {} 
-    Handle(BlockFix_BlockFixAPI)(const Handle(BlockFix_BlockFixAPI)& aHandle) : Handle(MMgt_TShared)(aHandle) 
-     {
-     }
-
-    Handle(BlockFix_BlockFixAPI)(const BlockFix_BlockFixAPI* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) 
-     {
-     }
-
-    Handle(BlockFix_BlockFixAPI)& operator=(const Handle(BlockFix_BlockFixAPI)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(BlockFix_BlockFixAPI)& operator=(const BlockFix_BlockFixAPI* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    BlockFix_BlockFixAPI* operator->() 
-     {
-      return (BlockFix_BlockFixAPI *)ControlAccess();
-     }
-
-    BlockFix_BlockFixAPI* operator->() const 
-     {
-      return (BlockFix_BlockFixAPI *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(BlockFix_BlockFixAPI)();
-   Standard_EXPORT static const Handle(BlockFix_BlockFixAPI) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_BlockFix_PeriodicSurfaceModifier.hxx b/src/GEOMAlgo/Handle_BlockFix_PeriodicSurfaceModifier.hxx
deleted file mode 100644 (file)
index 114b760..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_BlockFix_PeriodicSurfaceModifier_HeaderFile
-#define _Handle_BlockFix_PeriodicSurfaceModifier_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_BRepTools_Modification_HeaderFile
-#include <Handle_BRepTools_Modification.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(BRepTools_Modification);
-class BlockFix_PeriodicSurfaceModifier;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(BlockFix_PeriodicSurfaceModifier);
-
-class Handle(BlockFix_PeriodicSurfaceModifier) : public Handle(BRepTools_Modification) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(BlockFix_PeriodicSurfaceModifier)():Handle(BRepTools_Modification)() {} 
-    Handle(BlockFix_PeriodicSurfaceModifier)(const Handle(BlockFix_PeriodicSurfaceModifier)& aHandle) : Handle(BRepTools_Modification)(aHandle) 
-     {
-     }
-
-    Handle(BlockFix_PeriodicSurfaceModifier)(const BlockFix_PeriodicSurfaceModifier* anItem) : Handle(BRepTools_Modification)((BRepTools_Modification *)anItem) 
-     {
-     }
-
-    Handle(BlockFix_PeriodicSurfaceModifier)& operator=(const Handle(BlockFix_PeriodicSurfaceModifier)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(BlockFix_PeriodicSurfaceModifier)& operator=(const BlockFix_PeriodicSurfaceModifier* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    BlockFix_PeriodicSurfaceModifier* operator->() 
-     {
-      return (BlockFix_PeriodicSurfaceModifier *)ControlAccess();
-     }
-
-    BlockFix_PeriodicSurfaceModifier* operator->() const 
-     {
-      return (BlockFix_PeriodicSurfaceModifier *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(BlockFix_PeriodicSurfaceModifier)();
-   Standard_EXPORT static const Handle(BlockFix_PeriodicSurfaceModifier) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_BlockFix_SphereSpaceModifier.hxx b/src/GEOMAlgo/Handle_BlockFix_SphereSpaceModifier.hxx
deleted file mode 100644 (file)
index 2541a6d..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_BlockFix_SphereSpaceModifier_HeaderFile
-#define _Handle_BlockFix_SphereSpaceModifier_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_BRepTools_Modification_HeaderFile
-#include <Handle_BRepTools_Modification.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(BRepTools_Modification);
-class BlockFix_SphereSpaceModifier;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(BlockFix_SphereSpaceModifier);
-
-class Handle(BlockFix_SphereSpaceModifier) : public Handle(BRepTools_Modification) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(BlockFix_SphereSpaceModifier)():Handle(BRepTools_Modification)() {} 
-    Handle(BlockFix_SphereSpaceModifier)(const Handle(BlockFix_SphereSpaceModifier)& aHandle) : Handle(BRepTools_Modification)(aHandle) 
-     {
-     }
-
-    Handle(BlockFix_SphereSpaceModifier)(const BlockFix_SphereSpaceModifier* anItem) : Handle(BRepTools_Modification)((BRepTools_Modification *)anItem) 
-     {
-     }
-
-    Handle(BlockFix_SphereSpaceModifier)& operator=(const Handle(BlockFix_SphereSpaceModifier)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(BlockFix_SphereSpaceModifier)& operator=(const BlockFix_SphereSpaceModifier* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    BlockFix_SphereSpaceModifier* operator->() 
-     {
-      return (BlockFix_SphereSpaceModifier *)ControlAccess();
-     }
-
-    BlockFix_SphereSpaceModifier* operator->() const 
-     {
-      return (BlockFix_SphereSpaceModifier *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(BlockFix_SphereSpaceModifier)();
-   Standard_EXPORT static const Handle(BlockFix_SphereSpaceModifier) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx
deleted file mode 100644 (file)
index 9e15b51..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger);
-
-class Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)(const Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)(const GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)& operator=(const Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)& operator=(const GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger* operator->() 
-     {
-      return (GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger *)ControlAccess();
-     }
-
-    GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger* operator->() const 
-     {
-      return (GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger)();
-   Standard_EXPORT static const Handle(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx
deleted file mode 100644 (file)
index baa1ea4..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-#define _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape);
-
-class Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)& operator=(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)& operator=(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape* operator->() 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape *)ControlAccess();
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape* operator->() const 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape)();
-   Standard_EXPORT static const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape.hxx
deleted file mode 100644 (file)
index e246513..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-#define _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape);
-
-class Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)& operator=(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)& operator=(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape* operator->() 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape *)ControlAccess();
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape* operator->() const 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape)();
-   Standard_EXPORT static const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyListOfShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape.hxx
deleted file mode 100644 (file)
index dd43aac..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-#define _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape);
-
-class Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)& operator=(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)& operator=(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape* operator->() 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape *)ControlAccess();
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape* operator->() const 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape)();
-   Standard_EXPORT static const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox.hxx
deleted file mode 100644 (file)
index 1783502..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-#define _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox);
-
-class Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& operator=(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)& operator=(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* operator->() 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox *)ControlAccess();
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox* operator->() const 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox)();
-   Standard_EXPORT static const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
deleted file mode 100644 (file)
index 2ee27d5..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-#define _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState);
-
-class Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)& operator=(const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)& operator=(const GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState* operator->() 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState *)ControlAccess();
-     }
-
-    GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState* operator->() const 
-     {
-      return (GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState)();
-   Standard_EXPORT static const Handle(GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx
deleted file mode 100644 (file)
index fc17f94..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-#define _Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_ListNodeOfListOfCoupleOfShapes;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfCoupleOfShapes);
-
-class Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)(const Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)(const GEOMAlgo_ListNodeOfListOfCoupleOfShapes* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)& operator=(const Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)& operator=(const GEOMAlgo_ListNodeOfListOfCoupleOfShapes* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_ListNodeOfListOfCoupleOfShapes* operator->() 
-     {
-      return (GEOMAlgo_ListNodeOfListOfCoupleOfShapes *)ControlAccess();
-     }
-
-    GEOMAlgo_ListNodeOfListOfCoupleOfShapes* operator->() const 
-     {
-      return (GEOMAlgo_ListNodeOfListOfCoupleOfShapes *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes)();
-   Standard_EXPORT static const Handle(GEOMAlgo_ListNodeOfListOfCoupleOfShapes) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_ListNodeOfListOfPnt.hxx
deleted file mode 100644 (file)
index d073a4c..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-#define _Handle_GEOMAlgo_ListNodeOfListOfPnt_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class GEOMAlgo_ListNodeOfListOfPnt;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMAlgo_ListNodeOfListOfPnt);
-
-class Handle(GEOMAlgo_ListNodeOfListOfPnt) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(GEOMAlgo_ListNodeOfListOfPnt)():Handle(TCollection_MapNode)() {} 
-    Handle(GEOMAlgo_ListNodeOfListOfPnt)(const Handle(GEOMAlgo_ListNodeOfListOfPnt)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfPnt)(const GEOMAlgo_ListNodeOfListOfPnt* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfPnt)& operator=(const Handle(GEOMAlgo_ListNodeOfListOfPnt)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMAlgo_ListNodeOfListOfPnt)& operator=(const GEOMAlgo_ListNodeOfListOfPnt* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMAlgo_ListNodeOfListOfPnt* operator->() 
-     {
-      return (GEOMAlgo_ListNodeOfListOfPnt *)ControlAccess();
-     }
-
-    GEOMAlgo_ListNodeOfListOfPnt* operator->() const 
-     {
-      return (GEOMAlgo_ListNodeOfListOfPnt *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMAlgo_ListNodeOfListOfPnt)();
-   Standard_EXPORT static const Handle(GEOMAlgo_ListNodeOfListOfPnt) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMAlgo/Makefile.in b/src/GEOMAlgo/Makefile.in
deleted file mode 100644 (file)
index 934d120..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-#  GEOM GEOMAlgo : tools for Glue Faces algorithm
-#
-#  Copyright (C) 2004  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMAlgo.la
-LIB_SRC = \
-       BlockFix.cxx \
-       BlockFix_BlockFixAPI.cxx \
-       BlockFix_CheckTool.cxx \
-       BlockFix_PeriodicSurfaceModifier.cxx \
-       BlockFix_SphereSpaceModifier.cxx \
-       BlockFix_UnionEdges.cxx \
-       BlockFix_UnionFaces.cxx \
-       GEOMAlgo_Algo.cxx \
-       GEOMAlgo_CoupleOfShapes.cxx \
-       GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger_0.cxx \
-       GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_0.cxx \
-       GEOMAlgo_DataMapOfPassKeyInteger_0.cxx \
-       GEOMAlgo_FinderShapeOn1.cxx \
-       GEOMAlgo_GlueAnalyser.cxx \
-       GEOMAlgo_Gluer.cxx \
-       GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_0.cxx \
-       GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfPassKeyShapeListOfShape_0.cxx \
-       GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeBox_0.cxx \
-       GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_0.cxx \
-       GEOMAlgo_IndexedDataMapOfIntegerShape_0.cxx \
-       GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape_0.cxx \
-       GEOMAlgo_IndexedDataMapOfShapeBox_0.cxx \
-       GEOMAlgo_IndexedDataMapOfShapeState_0.cxx \
-       GEOMAlgo_ListIteratorOfListOfCoupleOfShapes_0.cxx \
-       GEOMAlgo_ListIteratorOfListOfPnt_0.cxx \
-       GEOMAlgo_ListNodeOfListOfCoupleOfShapes_0.cxx \
-       GEOMAlgo_ListNodeOfListOfPnt_0.cxx \
-       GEOMAlgo_ListOfCoupleOfShapes_0.cxx \
-       GEOMAlgo_ListOfPnt_0.cxx \
-       GEOMAlgo_PassKey.cxx \
-       GEOMAlgo_PassKeyMapHasher.cxx \
-       GEOMAlgo_PassKeyShape.cxx \
-       GEOMAlgo_ShapeAlgo.cxx \
-       GEOMAlgo_StateCollector.cxx \
-       GEOMAlgo_SurfaceTools.cxx \
-       GEOMAlgo_Tools.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = \
-       BlockFix_BlockFixAPI.hxx \
-       BlockFix_BlockFixAPI.lxx \
-       BlockFix_CheckTool.hxx \
-       Handle_BlockFix_BlockFixAPI.hxx \
-       GEOMAlgo_Algo.hxx \
-       GEOMAlgo_CoupleOfShapes.hxx \
-       GEOMAlgo_GlueAnalyser.hxx \
-       GEOMAlgo_Gluer.hxx \
-       GEOMAlgo_FinderShapeOn1.hxx \
-       GEOMAlgo_IndexedDataMapOfShapeState.hxx \
-       GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx \
-       GEOMAlgo_ListOfCoupleOfShapes.hxx \
-       GEOMAlgo_ShapeAlgo.hxx \
-       GEOMAlgo_State.hxx \
-       Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx \
-       Handle_GEOMAlgo_ListNodeOfListOfCoupleOfShapes.hxx
-
-# idl files
-EXPORT_IDLS=
-
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS += $(CAS_LDPATH) -lTKBO -L${KERNEL_ROOT_DIR}/lib/salome
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/GEOMBase/GEOMBase.cxx b/src/GEOMBase/GEOMBase.cxx
deleted file mode 100644 (file)
index 194a81c..0000000
+++ /dev/null
@@ -1,979 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GEOMBase.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "GEOMBase.h"
-#include "GeometryGUI.h"
-#include "GEOMBase_aParameterDlg.h"
-
-#include "GEOM_Client.hxx"
-
-////  SALOME Includes
-#include "Utils_ORB_INIT.hxx"
-#include "Utils_SINGLETON.hxx"
-
-#include "SALOME_LifeCycleCORBA.hxx"
-
-#include "GEOM_AssemblyBuilder.h"
-#include "GEOM_Actor.h"
-#include "VTKViewer_RenderWindowInteractor.h"
-#include "VTKViewer_ViewModel.h"
-#include "VTKViewer_ViewWindow.h"
-#include "OCCViewer_ViewPort3d.h"
-#include "OCCViewer_ViewModel.h"
-#include "OCCViewer_ViewWindow.h"
-
-#include "SALOME_ListIO.hxx"
-#include "SALOME_ListIteratorOfListIO.hxx"
-#include "GEOM_AISTrihedron.hxx"
-
-#include "SUIT_Session.h"
-#include "SUIT_ViewWindow.h"
-#include "SUIT_MessageBox.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_Study.h"
-
-// // Open CASCADE Includes
-#include <BRep_Tool.hxx>
-#include <BRepAdaptor_Curve.hxx>
-#include <BRepAdaptor_Surface.hxx>
-#include <BRepPrimAPI_MakeCone.hxx>
-
-#include <Geom_Circle.hxx>
-#include <AIS_ListIteratorOfListOfInteractive.hxx>
-#include <AIS_ListOfInteractive.hxx>
-
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <Precision.hxx>
-
-#include <vtkRenderer.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
-
-#include "GEOMImpl_Types.hxx"
-
-using namespace std;
-
-#include "SALOMEDSClient.hxx"
-
-
-//=======================================================================
-// function : GEOMBase()
-// purpose  : Constructor
-//=======================================================================
-GEOMBase::GEOMBase()
-{
-}
-
-
-//=======================================================================
-// function : ~GEOMBase()
-// purpose  : Destructor
-//=======================================================================
-GEOMBase::~GEOMBase()
-{
-}
-
-//=====================================================================================
-// function : GetShapeFromIOR()
-// purpose  : exist also as static method !
-//=====================================================================================
-TopoDS_Shape GEOMBase::GetShapeFromIOR(QString IOR)
-{
-  TopoDS_Shape result;
-  if(IOR.stripWhiteSpace().isEmpty())
-    return result;
-
-  CORBA::Object_var obj = SalomeApp_Application::orb()->string_to_object((char*)(IOR.latin1()));
-  if(CORBA::is_nil(obj))
-    return result;
-  GEOM::GEOM_Object_var GeomObject = GEOM::GEOM_Object::_narrow( obj );
-  if (GeomObject->_is_nil())
-    return result;
-
-  result = GEOM_Client().GetShape(GeometryGUI::GetGeomGen(), GeomObject);
-  return result;
-}
-
-
-//=====================================================================================
-// function : GetIndex()
-// purpose  : Get the index of a sub shape in a main shape : index start at 1
-//=====================================================================================
-int GEOMBase::GetIndex(const TopoDS_Shape& subshape, const TopoDS_Shape& shape, int /*ShapeType*/)
-{
-  if(shape.IsNull() || subshape.IsNull())
-    return -1;
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(shape, anIndices);
-  if(anIndices.Contains(subshape)) return anIndices.FindIndex(subshape);
-
-  return -1;
-}
-
-
-//=======================================================================
-// function : GetTopoFromSelection()
-// purpose  : Define tds from a single selection and retuen true
-//=======================================================================
-bool GEOMBase::GetTopoFromSelection(const SALOME_ListIO& aList, TopoDS_Shape& tds)
-{
-  if(aList.Extent() != 1)
-    return false;
-
-  Handle(SALOME_InteractiveObject) IO = aList.First();
-  /* case SObject */
-  if(IO->hasEntry()) {
-    SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-    if ( !appStudy ) return false;
-    _PTR(Study) aStudy = appStudy->studyDS();
-
-    _PTR(SObject) obj ( aStudy->FindObjectID(IO->getEntry()) );
-    _PTR(GenericAttribute) anAttr;
-    if( obj ) {
-      if(obj->FindAttribute(anAttr, "AttributeIOR")) {
-       _PTR(AttributeIOR) anIOR ( anAttr );
-       tds = GetShapeFromIOR(anIOR->Value().c_str());
-       if(tds.IsNull())
-         return false;
-       else
-         return true;
-      }
-    }
-  }
-
-  return false;
-}
-
-//=======================================================================
-// function : GetNameOfSelectedIObjects()
-// purpose  : Define the name geom++ or other name of mono or multi sel.
-//=======================================================================
-int GEOMBase::GetNameOfSelectedIObjects( const SALOME_ListIO& aList,
-                                         QString&          theName,
-                                         const bool        theShapesOnly )
-{
-  if ( !theShapesOnly )
-    {
-      int nbSel = aList.Extent();
-      if ( nbSel == 1 )
-       {
-         Handle(SALOME_InteractiveObject) anIObj = aList.First();
-         if(anIObj->hasEntry()) {
-           SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-           if ( !appStudy ) return nbSel;
-           _PTR(Study) aStudy = appStudy->studyDS();
-
-           _PTR(SObject) obj ( aStudy->FindObjectID(anIObj->getEntry()) );
-
-           _PTR(GenericAttribute) anAttr;
-
-           if ( obj && obj->FindAttribute( anAttr, "AttributeName") )
-             {
-               _PTR(AttributeName) aNameAttr ( anAttr );
-               theName = aNameAttr->Value().c_str();
-             }
-         }
-       }
-      else
-       theName = QObject::tr("%1_objects").arg(nbSel);
-
-      return nbSel;
-    }
-  else
-    {
-      GEOM::ListOfGO anObjs;
-      ConvertListOfIOInListOfGO( aList, anObjs, theShapesOnly );
-      if ( anObjs.length() == 1 ) {
-       theName = GetName( anObjs[ 0 ] );
-      }
-      else
-       theName = QString( "%1_objects" ).arg( anObjs.length() );
-
-      return anObjs.length();
-    }
-}
-
-
-//=================================================================================
-// function : GetShapeTypeString()
-// purpose  : for a single shape
-//=================================================================================
-bool GEOMBase::GetShapeTypeString(const TopoDS_Shape& aShape, Standard_CString& aTypeString)
-{
-  if(aShape.IsNull()) {
-    aTypeString = "aNullShape";
-    return false;
-  }
-  switch(aShape.ShapeType())
-    {
-    case TopAbs_COMPOUND:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_COMPOUND"));
-       return true;
-      }
-    case  TopAbs_COMPSOLID:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_COMPOUNDSOLID")) ;
-       return true ;
-      }
-    case TopAbs_SOLID:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_SOLID")) ;
-       return true ;
-      }
-    case TopAbs_SHELL:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_SHELL")) ;
-       return true ;
-      }
-    case TopAbs_FACE:
-      {
-       BRepAdaptor_Surface surf(TopoDS::Face(aShape));
-       if(surf.GetType() == GeomAbs_Plane) {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_PLANE"));
-         return true;
-       }
-       else if(surf.GetType() == GeomAbs_Cylinder) {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_SURFCYLINDER"));
-         return true;
-       }
-       else if(surf.GetType() == GeomAbs_Sphere) {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_SURFSPHERE"));
-         return true ;
-       }
-       else if(surf.GetType() == GeomAbs_Torus) {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_SURFTORUS"));
-         return true ;
-       }
-       else if(surf.GetType() == GeomAbs_Cone) {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_SURFCONE"));
-         return true ;
-       }
-       else {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_FACE"));
-         return true;
-       }
-      }
-    case TopAbs_WIRE:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_WIRE"));
-       return true;
-      }
-    case TopAbs_EDGE:
-      {
-       BRepAdaptor_Curve curv(TopoDS::Edge(aShape));
-       if(curv.GetType() == GeomAbs_Line) {
-         if((Abs(curv.FirstParameter()) >= 1E6) || (Abs(curv.LastParameter()) >= 1E6))
-           aTypeString = CORBA::string_dup(QObject::tr("GEOM_LINE"));
-         else
-           aTypeString = CORBA::string_dup(QObject::tr("GEOM_EDGE"));
-         return true;
-       }
-       else if(curv.GetType() == GeomAbs_Circle) {
-         if(curv.IsClosed())
-           aTypeString = CORBA::string_dup(QObject::tr("GEOM_CIRCLE"));
-         else
-           aTypeString = CORBA::string_dup(QObject::tr("GEOM_ARC"));
-       return true;
-      }
-       else {
-         aTypeString = CORBA::string_dup(QObject::tr("GEOM_EDGE"));
-         return true;
-       }
-      }
-    case TopAbs_VERTEX:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_VERTEX"));
-       return true;
-      }
-    case TopAbs_SHAPE:
-      {
-       aTypeString = CORBA::string_dup(QObject::tr("GEOM_SHAPE"));
-       return true;
-      }
-    }
-  return false;
-}
-
-
-//=======================================================================
-// function : ConvertIORinGEOMAISShape()
-// purpose  :
-//=======================================================================
-Handle(GEOM_AISShape) GEOMBase::ConvertIORinGEOMAISShape(const char * IOR, Standard_Boolean& testResult, bool onlyInActiveView)
-{
-  Handle(GEOM_AISShape) resultShape;
-  testResult = false;
-
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return resultShape;
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  _PTR(SObject) anObj ( aStudy->FindObjectIOR( IOR ) );
-  if ( !anObj )
-    return resultShape;
-
-  QPtrList<SUIT_ViewWindow> aViewWindowsList = SUIT_Session::session()->activeApplication()->desktop()->windows();
-
-  for ( QPtrListIterator<SUIT_ViewWindow> it( aViewWindowsList ); it.current(); ++it ) {
-    if (it.current()->getViewManager()->getType() == OCCViewer_Viewer::Type()) {
-      Handle (AIS_InteractiveContext) ic = ((OCCViewer_Viewer*)it.current()->getViewManager()->getViewModel())->getAISContext();
-
-      AIS_ListOfInteractive List;
-      ic->DisplayedObjects(List);
-      AIS_ListOfInteractive List1;
-      ic->ObjectsInCollector(List1);
-      List.Append(List1);
-
-      AIS_ListIteratorOfListOfInteractive ite(List);
-      while(ite.More()) {
-       if(ite.Value()->IsInstance(STANDARD_TYPE(GEOM_AISShape))) {
-         Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(ite.Value());
-         if(aSh->hasIO()) {
-           Handle(SALOME_InteractiveObject) GIO = Handle(SALOME_InteractiveObject)::DownCast(aSh->getIO());
-           if(GIO->hasEntry() && strcmp(GIO->getEntry(), anObj->GetID().c_str()) == 0) {
-             if(!onlyInActiveView ||
-                it.current() == SUIT_Session::session()->activeApplication()->desktop()->activeWindow()) {
-               testResult = true;
-               resultShape = aSh;
-               return resultShape;
-             }
-           }
-         }
-       }
-       ite.Next();
-      }
-    }
-  }
-  return  resultShape;
-}
-
-
-//=======================================================================
-// function : ConvertIORinGEOMActor()
-// purpose  :
-//=======================================================================
-GEOM_Actor* GEOMBase::ConvertIORinGEOMActor(const char* IOR, Standard_Boolean& testResult, bool onlyInActiveView)
-{
-  testResult = false;
-
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return GEOM_Actor::New();
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  _PTR(SObject) anObj ( aStudy->FindObjectIOR( IOR ) );
-  if ( !anObj )
-    return GEOM_Actor::New();
-
-  QPtrList<SUIT_ViewWindow> aViewWindowsList = SUIT_Session::session()->activeApplication()->desktop()->windows();
-
-  for ( QPtrListIterator<SUIT_ViewWindow> it( aViewWindowsList ); it.current(); ++it ) {
-    if (it.current()->getViewManager()->getType() == VTKViewer_Viewer::Type()) {
-      VTKViewer_ViewWindow* aVTKViewWindow = (VTKViewer_ViewWindow*)it.current();
-      vtkRenderer* Renderer = aVTKViewWindow->getRenderer();
-      vtkActorCollection* theActors = Renderer->GetActors();
-      theActors->InitTraversal();
-      vtkActor *ac = theActors->GetNextActor();
-      while(!(ac==NULL)) {
-       if( ac->IsA("GEOM_Actor")) {
-         GEOM_Actor* anActor = GEOM_Actor::SafeDownCast(ac);
-         if(anActor->hasIO()) {
-           Handle(SALOME_InteractiveObject) GIO = Handle(SALOME_InteractiveObject)::DownCast(anActor->getIO());
-           if(GIO->hasEntry() && strcmp(GIO->getEntry(), anObj->GetID().c_str()) == 0) {
-             if(!onlyInActiveView ||
-                it.current() == SUIT_Session::session()->activeApplication()->desktop()->activeWindow()) {
-               testResult = true;
-               return anActor;
-             }
-           }
-         }
-       }
-       ac = theActors->GetNextActor();
-      }
-    }
-  }
-  testResult = false;
-  return GEOM_Actor::New();
-}
-
-//=======================================================================
-// function : GetAIS()
-// purpose  :
-//=======================================================================
-Handle(AIS_InteractiveObject) GEOMBase::GetAIS( const Handle(SALOME_InteractiveObject)& theIO,
-                                                const bool                              isOnlyInActiveView )
-{
-  if ( theIO.IsNull() || !theIO->hasEntry() )
-    return Handle(AIS_InteractiveObject)();
-
-  QPtrList<SUIT_ViewWindow> aViewWindowsList = SUIT_Session::session()->activeApplication()->desktop()->windows();
-
-  for ( QPtrListIterator<SUIT_ViewWindow> it( aViewWindowsList ); it.current(); ++it ) {
-    if (it.current()->getViewManager()->getType() != OCCViewer_Viewer::Type())
-      continue;
-    Handle (AIS_InteractiveContext) anIC = ((OCCViewer_Viewer*)it.current()->getViewManager()->getViewModel())->getAISContext();
-
-    AIS_ListOfInteractive aList;
-    anIC->DisplayedObjects( aList );
-    anIC->ObjectsInCollector( aList );
-
-    AIS_ListIteratorOfListOfInteractive anIter( aList );
-    for ( ; anIter.More(); anIter.Next() )
-    {
-      Handle(SALOME_InteractiveObject) anObj =
-        Handle(SALOME_InteractiveObject)::DownCast( anIter.Value()->GetOwner() );
-
-      if( !anObj.IsNull() && strcmp( anObj->getEntry(), theIO->getEntry() ) == 0 )
-      {
-        if( isOnlyInActiveView )
-        {
-          if ( it.current() == SUIT_Session::session()->activeApplication()->desktop()->activeWindow() )
-            return anIter.Value();
-        }
-        else
-          return anIter.Value();
-      }
-    }
-  }
-
-  return Handle(AIS_InteractiveObject)();
-}
-
-
-//=======================================================================
-// function : ConvertIOinGEOMAISShape()
-// purpose  :
-//=======================================================================
-Handle(GEOM_AISShape) GEOMBase::ConvertIOinGEOMAISShape(const Handle(SALOME_InteractiveObject)& IO, Standard_Boolean& testResult, bool onlyInActiveView)
-{
-  Handle(GEOM_AISShape) res;
-
-  if ( !IO->hasEntry() )
-  {
-    testResult = false;
-    return res;
-  }
-
-  QPtrList<SUIT_ViewWindow> aViewWindowsList = SUIT_Session::session()->activeApplication()->desktop()->windows();
-
-  for ( QPtrListIterator<SUIT_ViewWindow> it( aViewWindowsList ); it.current(); ++it ) {
-    if (it.current()->getViewManager()->getType() == OCCViewer_Viewer::Type()) {
-      Handle (AIS_InteractiveContext) ic = ((OCCViewer_Viewer*)it.current()->getViewManager()->getViewModel())->getAISContext();
-
-      AIS_ListOfInteractive List;
-      ic->DisplayedObjects(List);
-      AIS_ListOfInteractive List1;
-      ic->ObjectsInCollector(List1);
-      List.Append(List1);
-
-      AIS_ListIteratorOfListOfInteractive ite(List);
-      while(ite.More())
-      {
-        if(ite.Value()->IsInstance(STANDARD_TYPE(GEOM_AISShape)))
-        {
-          Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(ite.Value());
-          if( aSh->hasIO() )
-          {
-            if( strcmp( aSh->getIO()->getEntry(), IO->getEntry() ) == 0 )
-            {
-              if(onlyInActiveView)
-              {
-                if(it.current() == SUIT_Session::session()->activeApplication()->desktop()->activeWindow())
-                {
-                  testResult = true;
-                  return aSh;
-                }
-              }
-              else
-              {
-                testResult = true;
-                return aSh;
-              }
-            }
-          }
-        }
-        ite.Next();
-      }
-    }
-  }
-  testResult = false;
-  return res;
-}
-
-
-//=======================================================================
-// function : ConvertIOinGEOMShape()
-// purpose  :
-//=======================================================================
-GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMShape(const Handle(SALOME_InteractiveObject)& IO, Standard_Boolean& testResult)
-{
-  GEOM::GEOM_Object_var aShape;
-  testResult = false;
-
-  /* case SObject */
-  if(IO->hasEntry()) {
-    SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-    if ( !appStudy ) return GEOM::GEOM_Object::_nil();
-    _PTR(Study) aStudy = appStudy->studyDS();
-
-    _PTR(SObject) obj ( aStudy->FindObjectID(IO->getEntry()) );
-    _PTR(GenericAttribute) anAttr;
-    if(obj) {
-      if(obj->FindAttribute(anAttr, "AttributeIOR")) {
-       _PTR(AttributeIOR) anIOR ( anAttr );
-       aShape = GeometryGUI::GetGeomGen()->GetIORFromString(anIOR->Value().c_str());
-       if(!CORBA::is_nil(aShape))
-         testResult = true;
-       return aShape._retn();
-      }
-    }
-  }
-  return GEOM::GEOM_Object::_nil();
-}
-
-
-//=======================================================================
-// function : ConvertListOfIOInListOfIOR()
-// purpose  :
-//=======================================================================
-void GEOMBase::ConvertListOfIOInListOfIOR(const SALOME_ListIO& aList, GEOM::string_array& listIOR)
-{
-  int nbSel = aList.Extent();
-  listIOR.length(nbSel);
-  int j=0;
-  SALOME_ListIteratorOfListIO It(aList);
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
-    ( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return;
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  for (int i=0; It.More(); It.Next(), i++) {
-    Handle(SALOME_InteractiveObject) IObject = It.Value();
-    if (IObject->hasEntry()) {
-      _PTR(SObject) obj ( aStudy->FindObjectID(IObject->getEntry()) );
-      _PTR(GenericAttribute) anAttr;
-      if (obj && obj->FindAttribute(anAttr, "AttributeIOR")) {
-       _PTR(AttributeIOR) anIOR (anAttr);
-        //CORBA::Object_var theObj = dynamic_cast<SALOMEDS_Study*>
-        //  (aStudy.get())->ConvertIORToObject(anIOR->Value());
-        CORBA::Object_var theObj = GeometryGUI::ClientSObjectToObject(obj);
-       if (!CORBA::is_nil(theObj) && theObj->_is_a("IDL:GEOM/GEOM_Object:1.0")) {
-         listIOR[j] = CORBA::string_dup(anIOR->Value().c_str());
-         j++;
-       }
-      }
-    }
-  }
-  listIOR.length(j);
-}
-
-
-//=======================================================================
-// function : ConvertIOinGEOMObject()
-// purpose  :
-//=======================================================================
-GEOM::GEOM_Object_ptr GEOMBase::ConvertIOinGEOMObject( const Handle(SALOME_InteractiveObject)& theIO,
-                                                      Standard_Boolean& theResult )
-{
-  theResult = Standard_False;
-  GEOM::GEOM_Object_var aReturnObject;
-  if ( !theIO.IsNull() )
-  {
-    const char* anEntry = theIO->getEntry();
-
-    SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
-      ( SUIT_Session::session()->activeApplication()->activeStudy() );
-    if ( !appStudy ) return  GEOM::GEOM_Object::_nil();
-    _PTR(Study) aStudy = appStudy->studyDS();
-
-    _PTR(SObject) aSObj ( aStudy->FindObjectID( anEntry ) );
-
-    if (aSObj)
-    {
-      aReturnObject = GEOM::GEOM_Object::_narrow(GeometryGUI::ClientSObjectToObject(aSObj));
-      theResult = !CORBA::is_nil( aReturnObject );
-    }
-  }
-  return aReturnObject._retn();
-}
-
-
-//=======================================================================
-// function : ConvertListOfIOInListOfGO()
-// purpose  :
-//=======================================================================
-void GEOMBase::ConvertListOfIOInListOfGO( const SALOME_ListIO& theList,
-                                          GEOM::ListOfGO&      theListGO,
-                                          const bool           theShapesOnly )
-{
-  int nbSel = theList.Extent();
-  theListGO.length( nbSel );
-  SALOME_ListIteratorOfListIO anIter( theList );
-
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return;
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  int j = 0;
-  for ( int i=0; anIter.More(); anIter.Next(), i++ )
-  {
-    Handle(SALOME_InteractiveObject) anIObj = anIter.Value();
-    _PTR(SObject) aSObj ( aStudy->FindObjectID( anIObj->getEntry() ) );
-
-    if ( aSObj )
-    {
-      GEOM::GEOM_Object_var aGeomObj =
-       GEOM::GEOM_Object::_narrow(GeometryGUI::ClientSObjectToObject(aSObj));
-      if ( !CORBA::is_nil( aGeomObj ) && ( !theShapesOnly || IsShape( aGeomObj ) ) )
-        theListGO[ j++ ] = aGeomObj;
-    }
-  }
-
-  theListGO.length( j );
-}
-
-//=================================================================================
-// function : CreateArrowForLinearEdge()
-// purpose  : Create a cone topology to be used to display an arrow in the middle
-//          : of an edge showing its orientation. (For simulation and Viewer OCC only)
-//=================================================================================
-bool GEOMBase::CreateArrowForLinearEdge(const TopoDS_Shape& tds, TopoDS_Shape& ArrowCone)
-{
-  if(SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType()
-     != OCCViewer_Viewer::Type() || tds.ShapeType() != TopAbs_EDGE)
-    return false;
-
-  OCCViewer_ViewPort3d* vp3d = ((OCCViewer_ViewWindow*)SUIT_Session::session()->activeApplication()->desktop()->activeWindow())->getViewPort();
-  Handle( V3d_View) view3d = vp3d->getView();
-  Standard_Real Width, Height;
-  view3d->Size(Width, Height);
-  const Standard_Real aHeight = (Width + Height) / 50.0;
-
-  try {
-    Standard_Real first, last;
-    Handle(Geom_Curve) curv = BRep_Tool::Curve(TopoDS::Edge(tds), first, last);
-    if(!curv->IsCN(1))
-      return false;
-
-    const Standard_Real param = (first+last) / 2.0;
-    gp_Pnt middleParamPoint;
-    gp_Vec V1;
-    curv->D1( param, middleParamPoint, V1);
-    if(V1.Magnitude() < Precision::Confusion())
-      return false;
-
-    /* Topology orientation not geom orientation */
-    if(tds.Orientation() == TopAbs_REVERSED)
-      V1 *= -1.0;
-
-    gp_Ax2 anAxis( middleParamPoint, gp_Dir(V1));
-    const Standard_Real radius1 = aHeight / 5.0;
-    if(radius1 > 10.0 * Precision::Confusion() && aHeight > 10.0 * Precision::Confusion()) {
-      ArrowCone = BRepPrimAPI_MakeCone( anAxis, radius1, 0.0, aHeight ).Shape();
-      return true;
-    }
-  }
-  catch(Standard_Failure) {
-    // OCC failures are hard to catch in GUI.
-    // This  because of the position for  #include <Standard_ErrorHandler.hxx> that is very critic to find
-    // in SALOME environment : compilation error !
-  }
-  return false;
-}
-
-
-//=================================================================================
-// function : VertexToPoint()
-// purpose  : If S can be converted in a gp_Pnt returns true and the result is P
-//=================================================================================
-bool GEOMBase::VertexToPoint(const TopoDS_Shape& S, gp_Pnt& P)
-{
-  if(S.IsNull() || S.ShapeType() != TopAbs_VERTEX)
-    return false;
-  P = BRep_Tool::Pnt(TopoDS::Vertex(S));
-  return true;
-}
-
-
-//=================================================================================
-// function : GetBipointDxDyDz()
-// purpose  :
-//=================================================================================
-void GEOMBase::GetBipointDxDyDz(gp_Pnt P1, gp_Pnt P2, double& dx, double& dy, double& dz)
-{
-  dx = P2.X() - P1.X();
-  dy = P2.Y() - P1.Y();
-  dz = P2.Z() - P1.Z();
-  return;
-}
-
-
-//=================================================================================
-// function : LinearEdgeExtremities()
-// purpose  : If S can be converted in a linear edge and if initial an final points
-//          : distance is sufficient, returns true else returns false.
-//          : Resulting points are respectively P1 and P2
-//=================================================================================
-bool GEOMBase::LinearEdgeExtremities(const TopoDS_Shape& S,  gp_Pnt& P1, gp_Pnt& P2)
-{
-  if(S.IsNull() || S.ShapeType() != TopAbs_EDGE)
-    return false;
-  BRepAdaptor_Curve curv(TopoDS::Edge(S));
-  if(curv.GetType() != GeomAbs_Line)
-    return false;
-
-  curv.D0(curv.FirstParameter(), P1);
-  curv.D0(curv.LastParameter(), P2);
-
-  if(P1.Distance(P2) <= Precision::Confusion())
-    return false;
-
-  return true;
-}
-
-
-//=======================================================================
-// function : Parameter()
-// purpose  : return a parameter (float) from a dialog box
-//
-//  avalue1    : is a float or integer used as a default value displayed
-//  aTitle1    : is the title for aValue1
-//  aTitle     : is the main title
-//  bottom     : maximum value to be entered
-//  top               : minimum value to be entered
-//  decimals   : number of decimals
-//=======================================================================
-double GEOMBase::Parameter(Standard_Boolean& res, const char* aValue1, const char* aTitle1, const char* aTitle, const double bottom, const double top, const int decimals)
-{
-  GEOMBase_aParameterDlg * Dialog = new GEOMBase_aParameterDlg(aValue1, aTitle1, SUIT_Session::session()->activeApplication()->desktop(),
-                                                              aTitle, TRUE, 0, bottom, top, decimals);
-  int r = Dialog->exec();
-  float X = 0.0;
-  if(r == QDialog::Accepted) {
-    res = Standard_True;
-    X = Dialog->getValue();
-  }
-  else
-    res = Standard_False;
-  delete Dialog;
-  return X;
-}
-
-
-//=======================================================================
-// function : SelectionByNameInDialogs()
-// purpose  : Called when user has entered a name of object in a LineEdit.
-//          : The selection is changed. Dialog box will receive the
-//          : corresponding signal to manage this event.
-//=======================================================================
-bool GEOMBase::SelectionByNameInDialogs(QWidget* aWidget, const QString& objectUserName, const SALOME_ListIO& aList)
-{
-  /* Find SObject with name in component GEOM */
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return false;
-  _PTR(Study) ST = appStudy->studyDS();
-
-  std::vector<_PTR(SObject)> listSO;
-  listSO = ST->FindObjectByName(objectUserName.latin1(), "GEOM");
-
-  if(listSO.size() < 1) {
-    const QString caption  = QObject::tr("GEOM_WRN_WARNING");
-    const QString text = QObject::tr("GEOM_NAME_INCORRECT");
-    const QString button0  = QObject::tr("GEOM_BUT_OK");
-    SUIT_MessageBox::error1(aWidget, caption, text, button0);
-    return false;
-  }
-  /* More than one object with same name */
-  if(listSO.size() > 1) {
-    const QString caption  = QObject::tr("GEOM_WRN_WARNING");
-    const QString text = QObject::tr("GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE");
-    const QString button0  = QObject::tr("GEOM_BUT_OK") ;
-    SUIT_MessageBox::error1(aWidget, caption, text, button0) ;
-    listSO.clear();
-    return false;
-  }
-
-  _PTR(SObject) theObj ( listSO[0] );
-  /* Create a SALOME_InteractiveObject with a SALOME::SObject */
-  char* aCopyobjectUserName = CORBA::string_dup(objectUserName);
-  Handle(SALOME_InteractiveObject) SI = new SALOME_InteractiveObject(theObj->GetID().c_str(), "GEOM", aCopyobjectUserName);
-  delete(aCopyobjectUserName);
-
-  /* Add as a selected object       */
-  /* Clear any previous selection : */
-  /* Warning the LineEdit is purged because of signal currentSelectionChanged ! */
-  // Sel->ClearIObjects(); //mzn
-  // Sel->AddIObject(SI); //mzn
-  return true;
-}
-
-
-//=======================================================================
-// function : DefineDlgPosition()
-// purpose  : Define x and y the default position for a dialog box
-//=======================================================================
-bool GEOMBase::DefineDlgPosition(QWidget* aDlg, int& x, int& y)
-{
-  /* Here the position is on the bottom right corner - 10 */
-  SUIT_Desktop* PP = SUIT_Session::session()->activeApplication()->desktop();
-  x = abs(PP->x() + PP->size().width() - aDlg->size().width() - 10);
-  y = abs(PP->y() + PP->size().height() - aDlg->size().height() - 10);
-  return true;
-}
-
-
-//=======================================================================
-// function : GetDefaultName()
-// purpose  : Generates default names
-//=======================================================================
-QString GEOMBase::GetDefaultName(const QString& theOperation)
-{
-  QString aName = "";
-
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return aName;
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  int aNumber = 0;
-  _PTR(SObject) obj;
-  do
-    {
-      aName = theOperation+"_"+QString::number(++aNumber);
-      obj = aStudy->FindObject(aName.latin1());
-    }
-  while (obj);
-
-  return aName;
-}
-
-
-//=======================================================================
-// function : ShowErrorMessage()
-// purpose  : Shows message box with error code and comment
-//=======================================================================
-void GEOMBase::ShowErrorMessage(const char* theErrorCode, const char* theComment)
-{
-  QString anErrorCode(theErrorCode);
-  QString aComment(theComment);
-
-  QString aText = "";
-  if (!anErrorCode.isEmpty())
-    aText.append("\n" + QObject::tr(anErrorCode));
-  if (!aComment.isEmpty())
-    aText.append("\n" + QString(theComment));
-
-  SUIT_MessageBox::error1( SUIT_Session::session()->activeApplication()->desktop(), QObject::tr( "GEOM_ERROR" ),
-                          QObject::tr("GEOM_PRP_ABORT") + aText, "OK" );
-}
-
-
-//=======================================================================
-// function : GetObjectFromIOR()
-// purpose  : returns a GEOM_Object by given IOR (string)
-//=======================================================================
-GEOM::GEOM_Object_ptr GEOMBase::GetObjectFromIOR( const char* theIOR )
-{
-  GEOM::GEOM_Object_var anObject;
-  if ( theIOR == NULL || strlen( theIOR ) == 0 )
-    return anObject._retn(); // returning nil object
-
-  anObject = GEOM::GEOM_Object::_narrow( SalomeApp_Application::orb()->string_to_object( theIOR ) );
-  return anObject._retn();
-}
-
-//=======================================================================
-// function : GetIORFromObject()
-// purpose  : returns IOR of a given GEOM_Object
-//=======================================================================
-char* GEOMBase::GetIORFromObject( const GEOM::GEOM_Object_ptr& theObject )
-{
-  if ( CORBA::is_nil( theObject ) )
-    return NULL;
-
-  return SalomeApp_Application::orb()->object_to_string( theObject );
-}
-
-//=======================================================================
-// function : GetShape()
-// purpose  : returns a TopoDS_Shape stored in GEOM_Object
-//=======================================================================
-bool GEOMBase::GetShape( const GEOM::GEOM_Object_ptr& theObject, TopoDS_Shape& theShape, const TopAbs_ShapeEnum theType )
-{
-  if ( !CORBA::is_nil( theObject ) )
-  {
-    TopoDS_Shape aTopoDSShape = GEOM_Client().GetShape(  GeometryGUI::GetGeomGen(), theObject );
-    if ( !aTopoDSShape.IsNull() && ( theType == TopAbs_SHAPE || theType == aTopoDSShape.ShapeType() ) )
-    {
-       theShape = aTopoDSShape;
-       return true;
-    }
-  }
-  return false;
-}
-
-//=======================================================================
-// function : GetName()
-// purpose  : Get name of object
-//=======================================================================
-QString GEOMBase::GetName( GEOM::GEOM_Object_ptr theObj )
-{
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-
-  if ( appStudy )
-  {
-    string anIOR = SalomeApp_Application::orb()->object_to_string( theObj );
-    if ( anIOR != "" )
-    {
-      _PTR(SObject) aSObj ( appStudy->studyDS()->FindObjectIOR( anIOR ) );
-
-      _PTR(GenericAttribute) anAttr;
-
-      if ( aSObj && aSObj->FindAttribute( anAttr, "AttributeName") )
-      {
-        _PTR(AttributeName) aNameAttr ( anAttr );
-       return QString( aNameAttr->Value().c_str() );
-      }
-    }
-  }
-
-  return QString("");
-}
-
-bool GEOMBase::IsShape( GEOM::GEOM_Object_ptr theObj )
-{
-  return !theObj->_is_nil() && theObj->IsShape();
-}
diff --git a/src/GEOMBase/GEOMBase.h b/src/GEOMBase/GEOMBase.h
deleted file mode 100644 (file)
index c118ac7..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMBASE_H
-#define GEOMBASE_H
-
-// SALOME Includes
-#include "GEOM_AISShape.hxx"
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-// QT Includes
-#include <qstring.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
-
-class GEOM_Actor;
-class SALOME_ListIO;
-class TColStd_MapOfInteger;
-
-class QWidget;
-
-//=================================================================================
-// class    : GEOMBase
-// purpose  :
-//=================================================================================
-class GEOMBASE_WNT_EXPORT GEOMBase
-{
-public :
-  GEOMBase();
-  ~GEOMBase();
-
-  // SAN -- TO BE REMOVED !!!
-  static bool Display( GEOM::GEOM_Object_ptr ) {return false;}
-  static bool AddInStudy( GEOM::GEOM_Object_ptr ) {return false;}
-  static void DisplaySimulationShape(const TopoDS_Shape& S) {}; 
-  static void EraseSimulationShape() {};
-  // SAN -- TO BE REMOVED !!!
-
-  /* Selection and objects management */
-  static int GetIndex(const TopoDS_Shape& subshape, const TopoDS_Shape& shape, int ShapeType);
-  static TopoDS_Shape GetShapeFromIOR(QString IOR);
-  static bool GetShape( const GEOM::GEOM_Object_ptr&, TopoDS_Shape&, const TopAbs_ShapeEnum = TopAbs_SHAPE );
-  static bool GetTopoFromSelection(const SALOME_ListIO& aList, TopoDS_Shape& tds);
-  static int GetNameOfSelectedIObjects(const SALOME_ListIO& aList, QString& aName, const bool theShapesOnly = false );
-  static bool GetShapeTypeString(const TopoDS_Shape& aShape, Standard_CString& aTypeString);
-
-  /* Convertions */
-  static GEOM::GEOM_Object_ptr ConvertIOinGEOMShape(const Handle(SALOME_InteractiveObject)& IO, 
-                                           Standard_Boolean& testResult);
-  static Handle(GEOM_AISShape) ConvertIOinGEOMAISShape(const Handle(SALOME_InteractiveObject)& IO,
-                                               Standard_Boolean& testResult,
-                                               bool onlyInActiveView = false);
-
-  static Handle(AIS_InteractiveObject) GetAIS( const Handle(SALOME_InteractiveObject)& theIO,
-                                               const bool                              isOnlyInActiveView = false ); 
-  static void ConvertListOfIOInListOfIOR(const SALOME_ListIO& aList,
-                                 GEOM::string_array& listIOR); 
-
-  static Handle(GEOM_AISShape) ConvertIORinGEOMAISShape(const char * IOR,
-                                                Standard_Boolean& testResult,
-                                                bool onlyInActiveView = false);
-  static GEOM_Actor* ConvertIORinGEOMActor(const char * IOR, Standard_Boolean& testResult,
-                                   bool onlyInActiveView = false);
-
-  static GEOM::GEOM_Object_ptr ConvertIOinGEOMObject(const Handle(SALOME_InteractiveObject)& IO, 
-                                             Standard_Boolean& testResult);
-
-  static void ConvertListOfIOInListOfGO( const SALOME_ListIO& aList,
-                                         GEOM::ListOfGO& listGO,
-                                         const bool theShapesOnly = false ); 
-
-  static GEOM::GEOM_Object_ptr GetObjectFromIOR( const char* theIOR );
-
-  static char* GetIORFromObject( const GEOM::GEOM_Object_ptr& theObject );
-  
-  /* Geometry */
-  static bool VertexToPoint(const TopoDS_Shape& S, gp_Pnt& P);
-
-  /* Used just by Plane and Prism */
-  static bool LinearEdgeExtremities(const TopoDS_Shape& S, gp_Pnt& P1, gp_Pnt& P2);
-  static void GetBipointDxDyDz(gp_Pnt P1, gp_Pnt P2, double& dx, double& dy, double& dz);
-
-  /* User dialog 1 parameter returned */
-  static double Parameter(Standard_Boolean& res,
-                  const char* aValue1 = 0, const char* aTitle1 = 0,
-                  const char* aTitle = 0, const double bottom = -1E6,
-                  const double top = +1E6, const int decimals = 6);
-
-  /* Simulation management */
-  static bool CreateArrowForLinearEdge(const TopoDS_Shape& tds, TopoDS_Shape& ArrowCone);
-
-  /*  Generates default names */
-  static bool SelectionByNameInDialogs(QWidget* aWidget, const QString& userObjectName, const SALOME_ListIO& aList);
-  /* Shows message box with error code */
-  static bool DefineDlgPosition(QWidget* aDlg, int& x, int& y);
-
-  /* This method generates default names for results of geometrical operations */
-  static QString GetDefaultName(const QString& theOperation);   
-  /* Shows message box with error code and comment */
-  static void ShowErrorMessage(const char* theErrorCode, const char* theComment = 0);
-
-  /* Gets name of object */
-  static QString GetName( GEOM::GEOM_Object_ptr );
-
-  static bool IsShape( GEOM::GEOM_Object_ptr theObj );
-};
-
-#endif
-
diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx
deleted file mode 100755 (executable)
index 7c2707c..0000000
+++ /dev/null
@@ -1,974 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.org
-//
-//
-//
-//  File   : GEOMBase_Helper.cxx
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#include <SUIT_ViewModel.h>
-
-#include "GEOMBase_Helper.h"
-#include "GEOMBase.h"
-#include "GEOM_Operation.h"
-#include "GeometryGUI.h"
-#include "GEOM_Displayer.h"
-#include "GEOMImpl_Types.hxx"
-
-#include <SUIT_Session.h>
-#include <SUIT_ViewWindow.h>
-#include <SUIT_MessageBox.h>
-#include <SUIT_OverrideCursor.h>
-
-#include <SalomeApp_Module.h>
-#include <SalomeApp_Application.h>
-#include <SalomeApp_Study.h>
-#include <SalomeApp_SelectionMgr.h>
-#include <SalomeApp_Tools.h>
-#include <SalomeApp_DataModel.h>
-#include <SalomeApp_Module.h>
-
-#include <OCCViewer_ViewModel.h>
-#include <VTKViewer_ViewModel.h>
-
-#include <OB_Browser.h>
-
-#include <TColStd_MapOfInteger.hxx>
-#include <TCollection_AsciiString.hxx>
-
-using namespace std;
-
-#include <SALOMEDSClient.hxx>
-
-
-//================================================================
-// Function : getActiveView
-// Purpose  : Get active view window, returns 0 if no open study frame
-//================================================================
-static SUIT_ViewWindow* getActiveView()
-{
-  SUIT_Study* activeStudy = SUIT_Session::session()->activeApplication()->activeStudy();
-  if ( activeStudy )
-    return SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
-
-  return 0;
-}
-
-
-//================================================================
-// Function : getGeomEngine
-// Purpose  : Static method
-//================================================================
-GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine()
-{
-  return GeometryGUI::GetGeomGen();
-}
-
-//================================================================
-// Function : GEOMBase_Helper
-// Purpose  :
-//================================================================
-GEOMBase_Helper::GEOMBase_Helper( SUIT_Desktop* desktop )
-  : myDesktop( desktop ), myViewWindow( 0 ), myDisplayer( 0 ), myCommand( 0 ), isPreview( false )
-{
-}
-
-//================================================================
-// Function : ~GEOMBase_Helper
-// Purpose  :
-//================================================================
-GEOMBase_Helper::~GEOMBase_Helper()
-{
-  if ( !SUIT_Session::session()->activeApplication()->desktop() )
-    return;
-
-  if ( myPreview.size() )
-    erasePreview();
-  if ( hasCommand() )
-    abortCommand();
-
-  globalSelection( GEOM_ALLOBJECTS, true );
-
-  delete myDisplayer;
-}
-
-//================================================================
-// Function : display
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::display( const ObjectList& objList, const bool updateView )
-{
-  ObjectList::const_iterator it;
-  for ( it = objList.begin(); it != objList.end(); it++ ) {
-    display( *it, false );
-  }
-  if ( !objList.empty() && updateView )
-    getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function  : display
-// Purpose   : Display object.
-// Important : Object must be already in study
-//================================================================
-void GEOMBase_Helper::display( GEOM::GEOM_Object_ptr object, const bool updateView )
-{
-  // Unset color of shape ( this color may be set during preview displaying )
-  // Default color will be used
-  getDisplayer()->UnsetColor();
-  getDisplayer()->UnsetWidth();
-
-  // Enable activisation of selection
-  getDisplayer()->SetToActivate( true );
-
-  // Display object
-  getDisplayer()->Display( object, updateView );
-}
-
-//================================================================
-// Function : erase
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::erase( const ObjectList& objList, const bool updateView )
-{
-  ObjectList::const_iterator it = objList.begin();
-  for ( ; it != objList.end(); it++ ) {
-    erase( *it, false );
-  }
-  if ( !objList.empty() && updateView )
-    getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function : erase
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::erase( GEOM::GEOM_Object_ptr object, const bool updateView )
-{
-  if ( !object->_is_nil() ) {
-    string entry = getEntry( object );
-    getDisplayer()->Erase( new SALOME_InteractiveObject(
-      entry.c_str(), "GEOM", strdup( GEOMBase::GetName( object ) ) ), true, updateView );
-  }
-}
-
-//================================================================
-// Function : redisplay
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::redisplay( const ObjectList& objList,
-                                const bool withChildren,
-                                const bool updateView )
-{
-  ObjectList::const_iterator it = objList.begin();
-  for ( ; it != objList.end(); it++ ) {
-    redisplay( *it, withChildren, false );
-  }
-  if ( !objList.empty() && updateView )
-    getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function : redisplay
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::redisplay( GEOM::GEOM_Object_ptr object,
-                                const bool withChildren,
-                                const bool updateView )
-{
-  if ( !object->_is_nil() ) {
-    // Unset color of shape ( this color may be set during preview displaying )
-    // Default color will be used
-    getDisplayer()->UnsetColor();
-    getDisplayer()->UnsetWidth();
-
-    // Enable activisation of selection
-    getDisplayer()->SetToActivate( true );
-
-    string entry = getEntry( object );
-    getDisplayer()->Redisplay(new SALOME_InteractiveObject
-                              (entry.c_str(), "GEOM", strdup(GEOMBase::GetName(object))), false);
-  }
-
-  if ( withChildren ) {
-    SalomeApp_Study* aDoc = getStudy();
-    if ( aDoc && aDoc->studyDS() ) {
-      _PTR(Study) aStudy = aDoc->studyDS();
-      _PTR(SObject) aSObj (aStudy->FindObjectIOR(SalomeApp_Application::orb()->object_to_string(object)));
-      if ( aSObj  ) {
-       _PTR(ChildIterator) anIt ( aStudy->NewChildIterator( aSObj ) );
-       for ( anIt->InitEx( true ); anIt->More(); anIt->Next() ) {
-         GEOM::GEOM_Object_var aChild = GEOM::GEOM_Object::_narrow
-            (GeometryGUI::ClientSObjectToObject(anIt->Value()));
-         if ( !CORBA::is_nil( aChild ) ) {
-           if ( !aChild->_is_nil() ) {
-             string entry = getEntry( aChild );
-             getDisplayer()->Redisplay( new SALOME_InteractiveObject(
-                entry.c_str(), "GEOM", strdup( GEOMBase::GetName( aChild ) ) ), false );
-           }
-         }
-       }
-      }
-    }
-  }
-
-  if ( updateView )
-    getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function : displayPreview
-// Purpose  : Method for displaying preview based on execute() results
-//================================================================
-void GEOMBase_Helper::displayPreview( const bool   activate,
-                                      const bool   update,
-                                      const bool   toRemoveFromEngine,
-                                      const double lineWidth )
-{
-  isPreview = true;
-  QString msg;
-  if ( !isValid( msg ) )
-  {
-    erasePreview( update );
-    isPreview = false;
-    return;
-  }
-
-  erasePreview( false );
-
-  try {
-    SUIT_OverrideCursor wc;
-    ObjectList objects;
-    if ( !execute( objects ) || !getOperation()->IsDone() ) {
-      wc.suspend();
-    }
-    else {
-      for ( ObjectList::iterator it = objects.begin(); it != objects.end(); ++it )
-      {
-        displayPreview( *it, true, activate, false, lineWidth );
-        if ( toRemoveFromEngine )
-          getGeomEngine()->RemoveObject( *it );
-      }
-    }
-  }
-  catch( const SALOME::SALOME_Exception& e ) {
-    SalomeApp_Tools::QtCatchCorbaException( e );
-  }
-
-  isPreview = false;
-
-  if ( update )
-    updateViewer();
-}
-
-//================================================================
-// Function : displayPreview
-// Purpose  : Method for displaying preview of resulting shape
-//================================================================
-void GEOMBase_Helper::displayPreview( GEOM::GEOM_Object_ptr object,
-                                      const bool            append,
-                                      const bool            activate,
-                                      const bool            update,
-                                      const double          lineWidth )
-{
-  // Set color for preview shape
-  getDisplayer()->SetColor( Quantity_NOC_VIOLET );
-
-  // set width of displayed shape
-  getDisplayer()->SetWidth( lineWidth );
-
-  // Disable activation of selection
-  getDisplayer()->SetToActivate( activate );
-
-  // Make a reference to GEOM_Object
-  getDisplayer()->SetName( SalomeApp_Application::orb()->object_to_string( object ) );
-
-  // Build prs
-  SALOME_Prs* aPrs = getDisplayer()->BuildPrs( object );
-  if ( aPrs == 0 || aPrs->IsNull() )
-    return;
-
-  // Display prs
-  displayPreview( aPrs, append, update );
-
-  getDisplayer()->UnsetName();
-
-  // Enable activation of displayed objects
-  getDisplayer()->SetToActivate( true );
-}
-
-//================================================================
-// Function : displayPreview
-// Purpose  : Method for displaying arbitrary preview objects (not limited to shapes)
-//================================================================
-void GEOMBase_Helper::displayPreview( const SALOME_Prs* prs,
-                                      const bool        append,
-                                      const bool        update )
-{
-  if ( !append )
-    erasePreview( false );
-
-  // remember current view frame to make correct erase preview later
-  myViewWindow = getActiveView();
-
-  if ( myViewWindow == 0 )
-    return;
-
-  // Display prs
-  SUIT_ViewManager* aViewManager = myViewWindow->getViewManager();
-  if ( aViewManager->getType() == OCCViewer_Viewer::Type() ||
-       aViewManager->getType() == VTKViewer_Viewer::Type() )
-    {
-      SUIT_ViewModel* aViewModel = aViewManager->getViewModel();
-      SALOME_View* aView = dynamic_cast<SALOME_View*>(aViewModel);
-      if (aView)
-       aView->Display( prs );
-    }
-
-  // Add prs to the preview list
-  myPreview.push_back( (SALOME_Prs*)prs );
-
-  // Update viewer
-  if ( update )
-    getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function : erasePreview
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::erasePreview( const bool update )
-{
-  // check view frame where the preview was displayed
-  bool vfOK = checkViewWindow() && myViewWindow;
-  // Iterate through presentations and delete them
-  for ( PrsList::iterator anIter = myPreview.begin(); anIter != myPreview.end(); ++anIter ) {
-    if ( vfOK )
-      {
-        SUIT_ViewManager* aViewManager = myViewWindow->getViewManager();
-        if ( aViewManager->getType() == OCCViewer_Viewer::Type() ||
-             aViewManager->getType() == VTKViewer_Viewer::Type() )
-          {
-            SUIT_ViewModel* aViewModel = aViewManager->getViewModel();
-            SALOME_View* aView = dynamic_cast<SALOME_View*>(aViewModel);
-            if (aView)
-              aView->Erase( *anIter, true );
-          }
-      }
-    delete *anIter;
-  }
-  myPreview.clear();
-
-  // Update viewer
-  if ( update )
-    updateViewer();
-}
-
-//================================================================
-// Function  : localSelection
-// Purpose   : Activate selection of objects of a given type
-// IMPORTANT : Works after localSelection( ... ) method call only
-//================================================================
-void GEOMBase_Helper::activate( const int theType )
-{
-  if (!getStudy()) return;
-  _PTR(Study) aStudy = getStudy()->studyDS();
-  _PTR(SComponent) aGeom ( aStudy->FindComponent( "GEOM" ) );
-  if ( !aGeom )
-    return;
-
-  SALOME_ListIO aList;
-  _PTR(ChildIterator) anIter ( aStudy->NewChildIterator( aGeom ) );
-  for ( ; anIter->More(); anIter->Next() )
-  {
-    _PTR(SObject) aSO ( anIter->Value() );
-    if ( aSO )
-    {
-      _PTR(SObject) aRefSO;
-      if ( !aSO->ReferencedObject( aRefSO ) )
-      {
-        GEOM::GEOM_Object_var anObj = GEOM::GEOM_Object::_narrow
-          (GeometryGUI::ClientSObjectToObject(aSO));
-        if ( !anObj->_is_nil() && anObj->GetType() == theType )
-          aList.Append( new SALOME_InteractiveObject( aSO->GetID().c_str(), "GEOM", aSO->GetName().c_str()) );
-      }
-    }
-  }
-
-  getDisplayer()->LocalSelection( aList, 0 );
-}
-
-//================================================================
-// Function : localSelection
-// Purpose  : Activate selection of subshapes in accordance with mode
-//            theMode is from TopAbs_ShapeEnum
-//================================================================
-void GEOMBase_Helper::localSelection( const ObjectList& theObjs, const int theMode )
-{
-  SALOME_ListIO aListOfIO;
-
-  ObjectList::const_iterator anIter = theObjs.begin();
-  for ( ; anIter != theObjs.end(); ++anIter )
-  {
-    GEOM::GEOM_Object_ptr anObj = *anIter;
-    if ( anObj->_is_nil() )
-      continue;
-    string aEntry = getEntry( anObj );
-    if ( aEntry != "" )
-      aListOfIO.Append( new SALOME_InteractiveObject(
-        aEntry.c_str(), "GEOM", strdup( GEOMBase::GetName( anObj ) ) ) );
-  }
-
-  getDisplayer()->LocalSelection( aListOfIO, theMode );
-}
-
-//================================================================
-// Function : localSelection
-// Purpose  : Activate selection of subshapes in accordance with mode
-//            theMode is from TopAbs_ShapeEnum
-//================================================================
-void GEOMBase_Helper::localSelection( GEOM::GEOM_Object_ptr obj, const int mode )
-{
-  // If object is null local selection for all objects is activated
-  if ( obj->_is_nil() ) {
-    getDisplayer()->LocalSelection( Handle(SALOME_InteractiveObject)(), mode );
-    return;
-  }
-
-  ObjectList objList;
-  objList.push_back( obj );
-  localSelection( objList, mode );
-}
-
-
-//================================================================
-// Function : globalSelection
-// Purpose  : Activate selection of subshapes. Set selection filters
-//            in accordance with mode. theMode is from GEOMImpl_Types
-//================================================================
-void GEOMBase_Helper::globalSelection( const int theMode, const bool update )
-{
-  getDisplayer()->GlobalSelection( theMode, update );
-}
-
-//================================================================
-// Function : globalSelection
-// Purpose  : Activate selection of subshapes. Set selection filters
-//            in accordance with mode. theMode is from GEOMImpl_Types
-//================================================================
-void GEOMBase_Helper::globalSelection( const TColStd_MapOfInteger& theModes,
-                                      const bool update )
-{
-  getDisplayer()->GlobalSelection( theModes, update );
-}
-
-//================================================================
-// Function : addInStudy
-// Purpose  : Add object in study
-//================================================================
-void GEOMBase_Helper::addInStudy( GEOM::GEOM_Object_ptr theObj, const char* theName )
-{
-  if ( !hasCommand() )
-    return;
-
-  _PTR(Study) aStudy = getStudy()->studyDS();
-  if ( !aStudy || theObj->_is_nil() )
-    return;
-
-  GEOM::GEOM_Object_ptr aFatherObj = getFather( theObj );
-
-  getGeomEngine()->AddInStudy(GeometryGUI::ClientStudyToStudy(aStudy),
-                              theObj, theName, aFatherObj);
-}
-
-//================================================================
-// Function : updateObjBrowser
-// Purpose  : Update object browser
-//================================================================
-void GEOMBase_Helper::updateObjBrowser() const
-{
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>(SUIT_Session::session()->activeApplication());
-  if (app) {
-    CAM_Module* module = app->module( "Geometry" );
-    SalomeApp_Module* appMod = dynamic_cast<SalomeApp_Module*>( module );
-    if ( appMod ) {
-      appMod->updateObjBrowser( true );
-    }
-  }
-}
-
-//================================================================
-// Function : updateViewer
-// Purpose  : Update active 3D view
-//================================================================
-void GEOMBase_Helper::updateViewer()
-{
-  getDisplayer()->UpdateViewer();
-}
-
-//================================================================
-// Function : getStudyId
-// Purpose  : Get study Id
-//================================================================
-int GEOMBase_Helper::getStudyId() const
-{
-  int anId = -1;
-  if ( getStudy() )
-    anId = getStudy()->id();
-  return anId;
-}
-
-//================================================================
-// Function : getStudy
-// Purpose  : Returns the active study. It is recommended to use
-//            this method instead of direct desktop->getActiveStudy() calls
-//================================================================
-SalomeApp_Study* GEOMBase_Helper::getStudy() const
-{
-  SUIT_Desktop* aDesktop = getDesktop();
-  if (!aDesktop)
-    return 0;
-
-  QPtrList<SUIT_Application> anAppList = SUIT_Session::session()->applications();
-
-  SUIT_Application* anApp = 0;
-  for ( QPtrListIterator<SUIT_Application> it( anAppList ); it.current() ; ++it )
-    {
-      anApp = it.current();
-      if ( anApp->desktop() == aDesktop )
-       break;
-    }
-
-  return dynamic_cast<SalomeApp_Study*>(anApp->activeStudy());
-}
-
-//================================================================
-// Function : getEntry
-// Purpose  :
-//================================================================
-char* GEOMBase_Helper::getEntry( GEOM::GEOM_Object_ptr object ) const
-{
-  SalomeApp_Study* study = getStudy();
-  if ( study )  {
-    string IOR = GEOMBase::GetIORFromObject( object);
-    if ( IOR != "" ) {
-      _PTR(SObject) SO ( study->studyDS()->FindObjectIOR( IOR ) );
-      if ( SO ) {
-       return TCollection_AsciiString((char*)SO->GetID().c_str()).ToCString();
-      }
-    }
-  }
-  return "";
-}
-
-//================================================================
-// Function : getDisplayer
-// Purpose  :
-//================================================================
-GEOM_Displayer* GEOMBase_Helper::getDisplayer()
-{
-  if ( !myDisplayer )
-    myDisplayer = new GEOM_Displayer( getStudy() );
-  return myDisplayer;
-}
-
-//================================================================
-// Function : clearShapeBuffer
-// Purpose  :
-//================================================================
-void GEOMBase_Helper::clearShapeBuffer( GEOM::GEOM_Object_ptr theObj )
-{
-  if ( CORBA::is_nil( theObj ) )
-    return;
-
-  string IOR = SalomeApp_Application::orb()->object_to_string( theObj );
-  TCollection_AsciiString asciiIOR( strdup( IOR.c_str() ) );
-  GEOM_Client().RemoveShapeFromBuffer( asciiIOR );
-
-  if ( !getStudy() || !getStudy()->studyDS() )
-    return;
-
-  _PTR(Study) aStudy = getStudy()->studyDS();
-  _PTR(SObject) aSObj ( aStudy->FindObjectIOR( IOR ) );
-  if ( !aSObj )
-    return;
-
-  _PTR(ChildIterator) anIt ( aStudy->NewChildIterator( aSObj ) );
-  for ( anIt->InitEx( true ); anIt->More(); anIt->Next() ) {
-    _PTR(GenericAttribute) anAttr;
-    if ( anIt->Value()->FindAttribute(anAttr, "AttributeIOR") ) {
-      _PTR(AttributeIOR) anIOR ( anAttr );
-      TCollection_AsciiString asciiIOR( (char*)anIOR->Value().c_str() );
-      GEOM_Client().RemoveShapeFromBuffer( asciiIOR );
-    }
-  }
-}
-
-//================================================================
-// Function : openCommand
-// Purpose  :
-//================================================================
-bool GEOMBase_Helper::openCommand()
-{
-  bool res = false;
-  if ( !getStudy() || hasCommand() )
-    return res;
-
-  GEOM::GEOM_IOperations_var anOp = GEOM::GEOM_IOperations::_narrow( getOperation() );
-  if ( !anOp->_is_nil() ) {
-    myCommand = new GEOM_Operation( SUIT_Session::session()->activeApplication(), anOp.in() );
-    myCommand->start();
-    res = true;
-  }
-
-  return res;
-}
-
-//================================================================
-// Function : abortCommand
-// Purpose  :
-//================================================================
-bool GEOMBase_Helper::abortCommand()
-{
-  if ( !hasCommand() )
-    return false;
-
-  myCommand->abort();
-  myCommand = 0;
-
-  return true;
-}
-
-//================================================================
-// Function : commitCommand
-// Purpose  :
-//================================================================
-bool GEOMBase_Helper::commitCommand( const char* )
-{
-  if ( !hasCommand() )
-    return false;
-
-  myCommand->commit();
-  myCommand = 0;
-
-  return true;
-}
-
-//================================================================
-// Function : hasCommand
-// Purpose  :
-//================================================================
-bool GEOMBase_Helper::hasCommand() const
-{
-  return (bool)myCommand;
-}
-
-//================================================================
-// Function : getOperation
-// Purpose  :
-//================================================================
-GEOM::GEOM_IOperations_ptr GEOMBase_Helper::getOperation()
-{
-  if ( myOperation->_is_nil() )
-    myOperation = createOperation();
-
-  return myOperation;
-}
-
-
-
-//================================================================
-// Function : checkViewWindow
-// Purpose  :
-//================================================================
-bool GEOMBase_Helper::checkViewWindow()
-{
-  if ( myViewWindow ){
-    QPtrList<SUIT_ViewWindow> aViewWindowsList = SUIT_Session::session()->activeApplication()->desktop()->windows();
-    for ( QPtrListIterator<SUIT_ViewWindow> it( aViewWindowsList ); it.current(); ++it )
-      {
-       if ( myViewWindow == it.current() )
-         return true;
-      }
-  }
-  myViewWindow = 0;
-  return false;
-}
-
-//================================================================
-// Function : onAccept
-// Purpose  : This method should be called from dialog's slots onOk() and onApply()
-//            It perfroms user input validation, then it
-//            performs a proper operation and manages transactions, etc.
-//================================================================
-bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction )
-{
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return false;
-  _PTR(Study) aStudy = appStudy->studyDS();
-
-  bool aLocked = (_PTR(AttributeStudyProperties) (aStudy->GetProperties()))->IsLocked();
-  if ( aLocked ) {
-    MESSAGE("GEOMBase_Helper::onAccept - ActiveStudy is locked");
-    SUIT_MessageBox::warn1 ( (QWidget*)SUIT_Session::session()->activeApplication()->desktop(),
-                          QObject::tr("WRN_WARNING"),
-                          QObject::tr("WRN_STUDY_LOCKED"),
-                          QObject::tr("BUT_OK") );
-    return false;
-  }
-
-  QString msg;
-  if ( !isValid( msg ) ) {
-    showError( msg );
-    return false;
-  }
-
-  erasePreview( false );
-
-  try {
-    if ( ( !publish && !useTransaction ) || openCommand() ) {
-      SUIT_OverrideCursor wc;
-      SUIT_Session::session()->activeApplication()->putInfo( "" );
-      ObjectList objects;
-      if ( !execute( objects ) || !getOperation()->IsDone() ) {
-       wc.suspend();
-       abortCommand();
-       showError();
-      }
-      else {
-       const int nbObjs = objects.size();
-       bool withChildren = false;
-       for ( ObjectList::iterator it = objects.begin(); it != objects.end(); ++it ) {
-         if ( publish ) {
-           QString aName("");
-           if ( nbObjs > 1 )
-             aName = strlen( getNewObjectName() ) ? GEOMBase::GetDefaultName( getNewObjectName() ) : GEOMBase::GetDefaultName( getPrefix( *it ) );
-           else {
-             aName = getNewObjectName();
-             // PAL6521: use a prefix, if some dialog box doesn't reimplement getNewObjectName()
-             if ( aName.isEmpty() )
-               aName = GEOMBase::GetDefaultName( getPrefix( *it ) );
-           }
-           addInStudy( *it, aName.latin1() );
-           withChildren = false;
-           display( *it, false );
-         }
-         else { // asv : fix of PAL6454. If publish==false, then the original shape was modified, and need to be re-cached in GEOM_Client
-                // before redisplay
-           clearShapeBuffer( *it );
-           withChildren = true;
-           redisplay( *it, withChildren, false );
-          }
-       }
-
-       if ( nbObjs ) {
-         commitCommand();
-         updateObjBrowser();
-         SUIT_Session::session()->activeApplication()->putInfo( QObject::tr("GEOM_PRP_DONE") );
-       }
-       else
-         abortCommand();
-      }
-    }
-  }
-  catch( const SALOME::SALOME_Exception& e ) {
-    SalomeApp_Tools::QtCatchCorbaException( e );
-    abortCommand();
-  }
-
-  updateViewer();
-
-  return true;
-}
-
-
-//================================================================
-// Function : showError
-// Purpose  : Shows a message box with infromation about an error taken from getOperation()->GetErrorCode()
-//================================================================
-void GEOMBase_Helper::showError()
-{
-  QString msg;
-  if ( !getOperation()->_is_nil() )
-    msg = QObject::tr( getOperation()->GetErrorCode() );
-
-  if ( msg.isEmpty() )
-    msg = QObject::tr( "GEOM_PRP_ABORT" );
-
-  SUIT_MessageBox::error1( SUIT_Session::session()->activeApplication()->desktop(),
-                          QObject::tr( "GEOM_ERROR_STATUS" ),
-                          msg,
-                          QObject::tr( "BUT_OK" ) );
-}
-
-//================================================================
-// Function : showError
-// Purpose  : Shows a error message followed by <msg>
-//================================================================
-void GEOMBase_Helper::showError( const QString& msg )
-{
-  QString str( QObject::tr( "GEOM_INCORRECT_INPUT" ) );
-  if ( !msg.isEmpty() )
-    str += "\n" + msg;
-  SUIT_MessageBox::error1(SUIT_Session::session()->activeApplication()->desktop(), QObject::tr( "GEOM_ERROR" ), str, QObject::tr( "BUT_OK" ) );
-}
-
-//////////////////////////////////////////////////////////////////
-// Virtual methods to be redefined in dialogs
-//////////////////////////////////////////////////////////////////
-
-//================================================================
-// Function : createOperation
-// Purpose  : Redefine this method to return proper IOperation reference
-//================================================================
-GEOM::GEOM_IOperations_ptr GEOMBase_Helper::createOperation()
-{
-  GEOM::GEOM_IOperations_var aNilOp;
-  return aNilOp._retn();
-}
-
-//================================================================
-// Function : isValid
-// Purpose  : Called by onAccept(). Redefine this method to check validity of user input in dialog boxes.
-//================================================================
-bool GEOMBase_Helper::isValid( QString& )
-{
-  return true;
-}
-
-//================================================================
-// Function : execute
-// Purpose  : This method is called by onAccept().
-//            It should perform the required operation and put all new or modified objects into
-//            <objects> argument.Should return <false> if some error occurs during its execution.
-//================================================================
-bool GEOMBase_Helper::execute( ObjectList& objects )
-{
-  return false;
-}
-
-//================================================================
-// Function : getFather
-// Purpose  : This method is called by addInStudy(). It should return a father object
-//            for <theObj> or a nil reference if <theObj> should be published
-//            as a top-level object.
-//================================================================
-GEOM::GEOM_Object_ptr GEOMBase_Helper::getFather( GEOM::GEOM_Object_ptr theObj )
-{
-  return GEOM::GEOM_Object::_nil();
-}
-
-//================================================================
-// Function : getNewObjectName
-// Purpose  : Redefine this method to return proper name for a new object
-//================================================================
-const char* GEOMBase_Helper::getNewObjectName() const
-{
-  return "";
-}
-
-//================================================================
-// Function : getPrefix
-// Purpose  : Get prefix for name of created object
-//================================================================
-QString GEOMBase_Helper::getPrefix( GEOM::GEOM_Object_ptr theObj ) const
-{
-  if ( !myPrefix.isEmpty() || theObj->_is_nil() )
-    return myPrefix;
-
-  TopoDS_Shape aShape;
-  if ( !GEOMBase::GetShape( theObj, aShape ) )
-    return "";
-
-  long aType = aShape.ShapeType();
-
-  switch ( aType )
-  {
-    case TopAbs_VERTEX   : return QObject::tr( "GEOM_VERTEX" );
-    case TopAbs_EDGE     : return QObject::tr( "GEOM_EDGE" );
-    case TopAbs_WIRE     : return QObject::tr( "GEOM_WIRE" );
-    case TopAbs_FACE     : return QObject::tr( "GEOM_FACE" );
-    case TopAbs_SHELL    : return QObject::tr( "GEOM_SHELL" );
-    case TopAbs_SOLID    : return QObject::tr( "GEOM_SOLID" );
-    case TopAbs_COMPSOLID: return QObject::tr( "GEOM_COMPOUNDSOLID" );
-    case TopAbs_COMPOUND : return QObject::tr( "GEOM_COMPOUND" );
-    default : return "";
-  }
-}
-
-//================================================================
-// Function : selectedIO
-// Purpose  : Return the list of selected SALOME_InteractiveObject's
-//================================================================
-const SALOME_ListIO& GEOMBase_Helper::selectedIO()
-{
-  mySelected.Clear();
-
-  SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( SUIT_Session::session()->activeApplication() );
-  if ( app ) {
-    SalomeApp_SelectionMgr* aSelMgr = app->selectionMgr();
-    if ( aSelMgr )
-      aSelMgr->selectedObjects( mySelected );
-  }
-
-  return mySelected;
-}
-
-//================================================================
-// Function : IObjectCount
-// Purpose  : Return the number of selected objects
-//================================================================
-int GEOMBase_Helper::IObjectCount()
-{
-  return selectedIO().Extent();
-}
-
-//================================================================
-// Function : firstIObject
-// Purpose  :  Return the first selected object in the selected object list
-//================================================================
-Handle(SALOME_InteractiveObject) GEOMBase_Helper::firstIObject()
-{
-  const SALOME_ListIO& aList = selectedIO();
-  return aList.Extent() > 0 ? aList.First() : Handle(SALOME_InteractiveObject)();
-}
-
-//================================================================
-// Function : lastIObject
-// Purpose  : Return the last selected object in the selected object list
-//================================================================
-Handle(SALOME_InteractiveObject) GEOMBase_Helper::lastIObject()
-{
-  const SALOME_ListIO& aList = selectedIO();
-  return aList.Extent() > 0 ? aList.Last() : Handle(SALOME_InteractiveObject)();
-}
-
-//================================================================
-// Function : getDesktop
-// Purpose  : Returns myDesktop field.  Initialized in constructor, usually as dynamic_cast<SUIT_Desktop*>(parentWidget())
-//================================================================
-SUIT_Desktop* GEOMBase_Helper::getDesktop() const
-{
-  return myDesktop;
-}
-
diff --git a/src/GEOMBase/GEOMBase_Helper.h b/src/GEOMBase/GEOMBase_Helper.h
deleted file mode 100755 (executable)
index 1cf601c..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOMBase_Helper.h
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMBASE_HELPER_H
-#define GEOMBASE_HELPER_H
-
-#include "GEOM_Displayer.h"
-#include "SALOME_Prs.h"
-#include "SALOME_ListIO.hxx"
-#include <SALOMEconfig.h>
-#include CORBA_CLIENT_HEADER(GEOM_Gen)
-
-#include <qstring.h>
-
-#include <list>
-//#if defined WNT 
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
-typedef std::list<GEOM::GEOM_Object_ptr> ObjectList;
-
-class SalomeApp_Study;
-class SUIT_Desktop;
-class SUIT_ViewWindow;
-class GEOM_Operation;
-class TopoDS_Shape;
-class TColStd_MapOfInteger;
-
-//================================================================
-// Class       : GEOMBase_Helper
-// Description : Helper class for dialog box development, can be used as 
-//               the second base class for dialog boxes. Contains convenient methods
-//               performing common operations (display/erase, selection activation,
-//               publication in a study, transaction management)
-//================================================================
-class GEOMBASE_WNT_EXPORT GEOMBase_Helper
-{
-public:
-  GEOMBase_Helper( SUIT_Desktop* );
-  virtual ~GEOMBase_Helper();
-
-protected:
-  static GEOM::GEOM_Gen_ptr getGeomEngine();
-
-  void display         ( const ObjectList&, const bool = true );
-  void display         ( GEOM::GEOM_Object_ptr, const bool = true );
-  void erase           ( const ObjectList&, const bool = true );
-  void erase           ( GEOM::GEOM_Object_ptr, const bool = true );
-  void redisplay       ( const ObjectList&, const bool = true, const bool = true );
-  void redisplay       ( GEOM::GEOM_Object_ptr, const bool = true, const bool = true );
-
-  virtual void displayPreview ( const bool   activate = false, 
-                                const bool   update = true,
-                                const bool   toRemoveFromEngine = true,
-                                const double lineWidth = -1 );
-  // This is the easiest way to show preview. It is based on execute() method.
-  // It removes temporary GEOM::GEOM_Objects automatically.
-
-  virtual void displayPreview  ( GEOM::GEOM_Object_ptr obj, 
-                                 const bool   append = false, 
-                                 const bool   activate = false, 
-                                 const bool   update = true,
-                                 const double lineWidth = -1 );
-  void displayPreview  ( const SALOME_Prs* prs, 
-                        const bool append = false, 
-                        const bool = true );
-  void erasePreview    ( const bool = true );
-
-  void localSelection( const ObjectList&, const int );
-  void localSelection( GEOM::GEOM_Object_ptr, const int );
-  void activate( const int );
-  void globalSelection( const int = GEOM_ALLOBJECTS, const bool = false  );
-  void globalSelection( const TColStd_MapOfInteger&, const bool = false );
-  void updateViewer    ();
-
-  void prepareSelection( const ObjectList&, const int );
-  void prepareSelection( GEOM::GEOM_Object_ptr, const int );
-
-  void addInStudy      ( GEOM::GEOM_Object_ptr, const char* theName ); 
-
-  bool openCommand     ();
-  bool abortCommand    ();
-  bool commitCommand   ( const char* = 0 );
-  bool hasCommand      () const;
-
-  void updateObjBrowser() const;
-  int  getStudyId      () const;
-  SalomeApp_Study* getStudy  () const;
-  bool checkViewWindow ();
-
-  bool onAccept( const bool publish = true, const bool useTransaction = true );
-  // This method should be called from "OK" button handler.
-  // <publish> == true means that objects returned by execute() 
-  // should be published in a study.
-
-  void showError();
-  // Shows a message box with infromation about an error taken from getOperation()->GetErrorCode()
-  void showError( const QString& msg );
-  // Shows a error message followed by <msg>
-
-  GEOM::GEOM_IOperations_ptr getOperation();
-  // If <myOperation> is nil --> calls createOperation() and put the result
-  // into <myOperation> and returns it;
-  // otherwise, simply returns <myOperation>
-
-  inline void setPrefix( const QString& prefix ) { myPrefix = prefix; }
-  QString getPrefix( GEOM::GEOM_Object_ptr = GEOM::GEOM_Object::_nil() ) const;
-
-  const SALOME_ListIO& selectedIO();
-  // Function returns a list of SALOME_InteractiveObject's from
-  // selection manager in GUI
-
-  int   IObjectCount() ;
-  // Function returns the number of selected objects
-  
-  Handle(SALOME_InteractiveObject) firstIObject() ;
-  // Function returns the first selected object in the list
-  // of selected objects
-
-  Handle(SALOME_InteractiveObject) lastIObject() ;
-  // Function returns the last selected object in the list
-  // of selected objects
-
-  ////////////////////////////////////////////////////////////////////////////
-  // Virtual methods, to be redefined in dialog classes
-  ////////////////////////////////////////////////////////////////////////////
-
-  virtual GEOM::GEOM_IOperations_ptr createOperation();
-  // This method should be redefined in dialog boxes so as to return 
-  // proper GEOM_IOperation interface.
-  // Returns nil reference by default
-
-  virtual bool isValid( QString& msg );
-  // Called by onAccept(). Redefine this method to check validity of user input in dialog boxes.
-
-  virtual bool execute( ObjectList& objects );
-  // This method is called by onAccept(). 
-  // It should perform the required operation and put all new or modified objects into 
-  // <objects> argument.Should return <false> if some error occurs during its execution. 
-
-  virtual GEOM::GEOM_Object_ptr getFather( GEOM::GEOM_Object_ptr theObj );
-  // This method is called by addInStudy(). It should return a father object
-  // for <theObj> or a nil reference if <theObj> should be published
-  // as a top-level object.
-
-  virtual const char* getNewObjectName() const; 
-
-  void SetIsPreview(const bool thePreview) {isPreview = thePreview;}
-  bool IsPreview() {return isPreview;}
-
-  GEOM_Displayer*             getDisplayer();
-  SUIT_Desktop*               getDesktop() const;
-
-private:
-  char* getEntry              ( GEOM::GEOM_Object_ptr ) const;
-  void                        clearShapeBuffer( GEOM::GEOM_Object_ptr );
-
-private:
-  typedef std::list<SALOME_Prs*> PrsList;
-
-  PrsList                     myPreview;
-  GEOM_Displayer*             myDisplayer;
-  GEOM_Operation*             myCommand;
-  GEOM::GEOM_IOperations_var  myOperation;
-  SUIT_ViewWindow*            myViewWindow;
-  QString                     myPrefix;
-  bool                        isPreview;
-  SALOME_ListIO               mySelected;
-  SUIT_Desktop*               myDesktop;
-
-};
-
-#endif
diff --git a/src/GEOMBase/GEOMBase_Skeleton.cxx b/src/GEOMBase/GEOMBase_Skeleton.cxx
deleted file mode 100644 (file)
index 93eeb0a..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_Skeleton.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "GEOMBase_Skeleton.h"
-#include "GeometryGUI.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qpushbutton.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : GEOMBase_Skeleton()
-// purpose  : Constructs a GEOMBase_Skeleton which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GEOMBase_Skeleton::GEOMBase_Skeleton(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :DlgRef_Skeleton_QTD( parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose ), 
-   GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) )
-{
-  if (!name)
-    setName("GEOMBase_Skeleton");
-
-  buttonCancel->setText(tr("GEOM_BUT_CLOSE"));
-  buttonOk->setText(tr("GEOM_BUT_OK"));
-  buttonApply->setText(tr("GEOM_BUT_APPLY"));
-
-  GroupMedium->close(TRUE);
-  resize(0, 0);
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~GEOMBase_Skeleton()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GEOMBase_Skeleton::~GEOMBase_Skeleton()
-{
-  if (myGeomGUI)
-    myGeomGUI->SetActiveDialogBox( 0 );
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GEOMBase_Skeleton::Init()
-{
-  myGeomGUI = 0;
-  SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
-  if (app)
-    {
-      SalomeApp_Module* module = dynamic_cast<SalomeApp_Module*>(app->loadModule("Geometry"));
-      if (module)
-       myGeomGUI =  dynamic_cast<GeometryGUI*>(module);
-    }
-  
-  /* init variables */
-  myGeomBase = new GEOMBase();  // SAN -- TO BE REMOVED !!!
-  myGeomGUI->SetActiveDialogBox(this);
-  
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  if (myGeomGUI) 
-    {
-      connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-      connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-    }
-  
-  /* Move widget on the botton right corner of main widget */
-//   int x, y;
-//   myGeomBase->DefineDlgPosition( this, x, y );
-
-  /* displays Dialog */
-  RadioButton1->setChecked(TRUE);
-  RadioButton4->hide();
-
-  return;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void GEOMBase_Skeleton::ClickOnCancel()
-{
-  close();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GEOMBase_Skeleton::LineEditReturnPressed()
-{
-  if ( !myEditCurrentArgument )
-    return;
-
-  /* User name of object input management                          */
-  /* If successfull the selection is changed and signal emitted... */
-  /* so SelectionIntoArgument() is automatically called.           */
-  const QString objectUserName = myEditCurrentArgument->text();
-  QWidget* thisWidget = (QWidget*)this;
-  
-  if(GEOMBase::SelectionByNameInDialogs(thisWidget, objectUserName, selectedIO()))
-     myEditCurrentArgument->setText(objectUserName);
-
-  return;
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void GEOMBase_Skeleton::DeactivateActiveDialog()
-{
-  this->setEnabled(false);
-  globalSelection();
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  if (myGeomGUI) myGeomGUI->SetActiveDialogBox(0);
-    
-  return;
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GEOMBase_Skeleton::ActivateThisDialog()
-{
-  /* Emit a signal to deactivate the active dialog */
-  if (myGeomGUI) myGeomGUI->EmitSignalDeactivateDialog();
-  this->setEnabled(true);
-  if (myGeomGUI) myGeomGUI->SetActiveDialogBox((QDialog*)this);
-  return;
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  : same than click on cancel button
-//=================================================================================
-void GEOMBase_Skeleton::closeEvent(QCloseEvent* e)
-{
-  SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
-  if(app) {
-    disconnect( app->selectionMgr(), 0, this, 0);
-    app->updateActions();
-  }
-  QDialog::closeEvent( e );
-}
-
-//=================================================================================
-// function : initName()
-// purpose  : initialize the Name field with a string "thePrefix_X" (Vertex_3)
-//=================================================================================
-void GEOMBase_Skeleton::initName( const char* thePrefix )
-{
-  if ( thePrefix )
-    setPrefix( thePrefix );
-  ResultName->setText( GEOMBase::GetDefaultName( getPrefix() ) );
-}
-
-//=================================================================================
-// function : getNewObjectName()
-// purpose  : returns contents of Name field
-//=================================================================================
-const char* GEOMBase_Skeleton::getNewObjectName() const
-{
-  return ResultName->text();
-}
-
-//=================================================================================
-// function : getConstructorId()
-// purpose  :
-//=================================================================================
-int GEOMBase_Skeleton::getConstructorId() const
-{
-  if ( GroupConstructors != NULL && GroupConstructors->selected() != NULL )
-    return GroupConstructors->id( GroupConstructors->selected() );
-  return -1;
-}
diff --git a/src/GEOMBase/GEOMBase_Skeleton.h b/src/GEOMBase/GEOMBase_Skeleton.h
deleted file mode 100644 (file)
index 1d3144c..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_Skeleton.h
-//  Author : Damine COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMBASE_SKELETON_H
-#define GEOMBASE_SKELETON_H
-
-#include "DlgRef_Skeleton_QTD.h"
-
-#include "GEOMBase.h"
-#include "GEOMBase_Helper.h"
-#include "GeometryGUI.h"
-
-#include <qwidget.h>
-#include <qgroupbox.h>
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
-
-class GEOMBASE_WNT_EXPORT GEOMBase_Skeleton : public DlgRef_Skeleton_QTD, public GEOMBase_Helper
-{ 
-    Q_OBJECT
-
-public:
-    GEOMBase_Skeleton(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GEOMBase_Skeleton();
-//    int getConstructorId() const; // returns id of a selected "constructor" radio button or '-1' in case of error
-
-private :
-    void Init();
-
-protected:
-    void closeEvent(QCloseEvent* e);
-
-    void initName( const char* thePrefix = 0 ); // initialize "Name" field with a string "thePrefix_X" (Vertex_3)
-    virtual const char* getNewObjectName() const; // returns contents of "Name" field
-    int getConstructorId() const; // returns id of a selected "constructor" radio button or '-1' in case of error
-
-    QLineEdit* myEditCurrentArgument;   /* Current LineEdit */
-    GEOMBase* myGeomBase; // SAN -- TO BE REMOVED !!!
-    GeometryGUI* myGeomGUI;             /* reference GEOM GUI */
-
-protected slots:
-    void ClickOnCancel();
-    void LineEditReturnPressed();
-    void DeactivateActiveDialog();
-    void ActivateThisDialog();
-
-};
-
-#endif // GEOMBASE_SKELETON_H
diff --git a/src/GEOMBase/GEOMBase_aParameterDlg.cxx b/src/GEOMBase/GEOMBase_aParameterDlg.cxx
deleted file mode 100644 (file)
index 7561422..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_aParameterDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GEOMBase_aParameterDlg.h"
-#include "QtxDblSpinBox.h"
-
-#include <stdio.h>
-
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qvariant.h>
-#include <qvalidator.h>
-
-#ifndef WNT
-using namespace std;
-#endif
-
-
-//====================================================================================== 
-// function : GEOMBase_aParameterDlg()
-// purpose  : Constructs a GEOMBase_aParametertDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'
-//
-//  avalue1    : is a float or integer used as default value in edit line
-//  aTitle1    : is the prompt for aValue1
-//  aTitle     : is the title for the user in dialog box
-//
-//  bottom     : the minimal value to be entered
-//  top        : the maximum value to be entered
-//  decimals   : number of decimals to be entered
-//
-//  The dialog will by default be modeless, unless you set 'modal' to
-//  TRUE to construct a modal dialog.
-// 
-//====================================================================================== 
-GEOMBase_aParameterDlg::GEOMBase_aParameterDlg(const char *aValue1, const char *aTitle1, QWidget* parent, const char* name, bool modal, WFlags fl, const double bottom, const double top, const int decimals)
-  :QDialog( parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  if(!name)
-    setName( "MyParameterDialog" );
-  resize(288, 81); 
-  setCaption(name); /* appears on the title bar */
-  setSizeGripEnabled(TRUE);
-
-  QGridLayout* topLayout = new QGridLayout(this); 
-  topLayout->setSpacing(6);
-  topLayout->setMargin(11);
-
-  QGroupBox* mainGrp = new QGroupBox(this, "mainGrp");
-  mainGrp->setColumnLayout(0, Qt::Vertical);
-  mainGrp->layout()->setSpacing(0);
-  mainGrp->layout()->setMargin(0);
-  QGridLayout* mainGrpLayout = new QGridLayout(mainGrp->layout());
-  mainGrpLayout->setAlignment(Qt::AlignTop);
-  mainGrpLayout ->setSpacing(6);
-  mainGrpLayout->setMargin(11);
-  topLayout->addWidget(mainGrp, 0, 0);
-
-  /* aTitle1 : text prompt on left of edit line */
-  QLabel* TextLabel1 = new QLabel(mainGrp, "TextLabel1");
-  TextLabel1->setText(tr(aTitle1));  
-  mainGrpLayout->addWidget(TextLabel1, 0, 0);
-
-  mySpinBox = new QtxDblSpinBox(mainGrp, "mySpinBox");
-  mySpinBox->setPrecision(12);
-  mySpinBox->setRange(bottom, top);
-  ((QDoubleValidator*)(mySpinBox->validator()))->setRange(bottom, top, decimals);
-  mySpinBox->setValue(QString(aValue1).toDouble());
-  mainGrpLayout->addWidget(mySpinBox, 0, 1);
-  
-  QGroupBox* btnGrp = new QGroupBox(this, "btnGrp");
-  btnGrp->setColumnLayout(0, Qt::Vertical);
-  btnGrp->layout()->setSpacing(0);
-  btnGrp->layout()->setMargin(0);
-  QGridLayout* btnGrpLayout = new QGridLayout(btnGrp->layout());
-  btnGrpLayout->setAlignment(Qt::AlignTop);
-  btnGrpLayout->setSpacing(6);
-  btnGrpLayout->setMargin(11);
-  topLayout->addWidget(btnGrp, 1, 0);
-
-  /* Ok button */
-  myButtonOk = new QPushButton(btnGrp, "buttonOk");
-  myButtonOk->setText(tr("GEOM_BUT_OK"));
-  myButtonOk->setAutoDefault(TRUE);
-  myButtonOk->setDefault(TRUE);
-  btnGrpLayout->addWidget(myButtonOk, 0, 0);
-
-  btnGrpLayout->addItem(new QSpacerItem(5, 5, QSizePolicy::Expanding, QSizePolicy::Minimum), 0, 1);
-
-  /* Cancel button */
-  myButtonCancel = new QPushButton(btnGrp, "buttonCancel");
-  myButtonCancel->setText(tr("GEOM_BUT_CANCEL"));
-  myButtonCancel->setAutoDefault(TRUE);
-  btnGrpLayout->addWidget(myButtonCancel, 0, 2);
-
-  /* signals and slots connections */
-  connect(myButtonOk, SIGNAL(clicked()), this, SLOT(accept()));
-  connect(myButtonCancel, SIGNAL(clicked()), this, SLOT(reject()));
-  
-  /* Move widget on the botton right corner of main widget */
-  //mzn: QAD_Tools::centerWidget(this, parent);
-}
-
-
-//====================================================================================== 
-// function : ~GEOMBase_aParameterDlg() destructor
-// purpose  : Destroys the object and frees any allocated resources
-//====================================================================================== 
-GEOMBase_aParameterDlg::~GEOMBase_aParameterDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//====================================================================================== 
-// function : GEOMBase_aParameterDlg::setValue
-// purpose  : sets value
-//====================================================================================== 
-void GEOMBase_aParameterDlg::setValue(double val)
-{
-  mySpinBox->setValue(val);
-}
-
-
-//====================================================================================== 
-// function : GEOMBase_aParameterDlg::getValue
-// purpose  : gets value
-//====================================================================================== 
-double GEOMBase_aParameterDlg::getValue()
-{
-  return mySpinBox->value();
-}
diff --git a/src/GEOMBase/GEOMBase_aParameterDlg.h b/src/GEOMBase/GEOMBase_aParameterDlg.h
deleted file mode 100644 (file)
index 1e5c529..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_aParameterDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMBase_aParameterDLG_H
-#define GEOMBase_aParameterDLG_H
-
-#include <qdialog.h>
-
-class QPushButton;
-class QtxDblSpinBox;
-
-//=================================================================================
-// class    : GEOMBase_aParameterDlg
-// purpose  :
-//=================================================================================
-class GEOMBase_aParameterDlg : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-    GEOMBase_aParameterDlg(const char* aValue1 = "25", const char* aTitle1 = "Value :", QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const double bottom = -1E6, const double top = +1E6, const int decimals = 6);
-    ~GEOMBase_aParameterDlg();
-
-    void setValue(double val);
-    double getValue();
-
-private:
-    QPushButton* myButtonOk;
-    QPushButton* myButtonCancel;
-    QtxDblSpinBox* mySpinBox;
-
-};
-
-#endif // GEOMBase_aParameterDlg.h
diff --git a/src/GEOMBase/GEOM_Operation.cxx b/src/GEOMBase/GEOM_Operation.cxx
deleted file mode 100644 (file)
index 2846c8f..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOM_Operation.cxx
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#include "GEOM_Operation.h"
-
-#include "SUIT_Application.h"
-#include "SalomeApp_Tools.h"
-
-
-//================================================================
-// Function : GEOM_Operation
-// Purpose  : 
-//================================================================
-GEOM_Operation::GEOM_Operation( SUIT_Application* app, GEOM::GEOM_IOperations_ptr oper )
-: SUIT_Operation( app )
-{
-  myIOperation = GEOM::GEOM_IOperations::_narrow( oper );
-}
-
-//================================================================
-// Function : ~GEOM_Operation
-// Purpose  : 
-//================================================================
-GEOM_Operation::~GEOM_Operation()
-{
-}
-
-//================================================================
-// Function : onStartOperation()
-// Purpose  : Opens an internal transaction in GEOM engine
-//================================================================
-void GEOM_Operation::startOperation()
-{
-  SUIT_Operation::startOperation();
-
-  if ( !myIOperation->_is_nil() ) {
-    try {
-      myIOperation->StartOperation();
-    }
-    catch( const SALOME::SALOME_Exception& e ) {
-      SalomeApp_Tools:: QtCatchCorbaException( e );
-    }
-  }
-}
-
-//================================================================
-// Function : onFinishOperation
-// Purpose  : Commits an internal transaction in GEOM engine
-//================================================================
-void GEOM_Operation::commitOperation()
-{
-  SUIT_Operation::commitOperation();
-
-  if ( !myIOperation->_is_nil() ) {
-    try {
-      myIOperation->FinishOperation();
-    }
-    catch( const SALOME::SALOME_Exception& e ) {
-      SalomeApp_Tools:: QtCatchCorbaException( e );
-    }
-  }
-}
-
-//================================================================
-// Function : onSuspendOperation
-// Purpose  : 
-//================================================================
-void GEOM_Operation::suspendOperation()
-{
-  SUIT_Operation::suspendOperation();
-}
-
-//================================================================
-// Function : onResumeOperation
-// Purpose  : 
-//================================================================
-void GEOM_Operation::resumeOperation()
-{
-  SUIT_Operation::resumeOperation();
-}
-
-//================================================================
-// Function : onAbortOperation
-// Purpose  : Aborts an internal transaction in GEOM engine
-//================================================================
-void GEOM_Operation::abortOperation()
-{
-  SUIT_Operation::abortOperation();
-
-  if ( !myIOperation->_is_nil() ) {
-    try {
-      myIOperation->AbortOperation();
-    }
-    catch( const SALOME::SALOME_Exception& e ) {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-    }
-  }
-}
-
diff --git a/src/GEOMBase/GEOM_Operation.h b/src/GEOMBase/GEOM_Operation.h
deleted file mode 100644 (file)
index 426de88..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOM_Operation.h
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOM_OPERATION_H
-#define GEOM_OPERATION_H
-
-#include "SUIT_Operation.h"
-#include <SALOMEconfig.h>
-#include <Standard_Macro.hxx>
-#include CORBA_CLIENT_HEADER(GEOM_Gen)
-
-
-class Standard_EXPORT GEOM_Operation : public SUIT_Operation
-{
-public:
-  GEOM_Operation( SUIT_Application*, GEOM::GEOM_IOperations_ptr );
-  virtual ~GEOM_Operation();
-
-protected:
-  // Reimplemented from SUIT_Operation
-  virtual void    startOperation();        
-  virtual void    commitOperation();
-  virtual void    suspendOperation();
-  virtual void    resumeOperation();
-  virtual void    abortOperation();
-
-private:
-  GEOM::GEOM_IOperations_var myIOperation;
-};
-
-#endif
diff --git a/src/GEOMBase/Makefile.in b/src/GEOMBase/Makefile.in
deleted file mode 100644 (file)
index c80cb2c..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#  GEOM GEOMBASE : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMBase.la
-
-# header files 
-EXPORT_HEADERS= GEOMBase.h \
-               GEOMBase_Skeleton.h \
-               GEOMBase_Helper.h \
-               GEOM_Operation.h
-
-LIB_SRC =      GEOMBase.cxx \
-               GEOMBase_Skeleton.cxx \
-               GEOMBase_aParameterDlg.cxx \
-               GEOMBase_Helper.cxx \
-               GEOM_Operation.cxx
-
-LIB_MOC = \
-               GEOMBase_Skeleton.h \
-               GEOMBase_aParameterDlg.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl \
-                SALOMEDS.idl \
-                SALOMEDS_Attributes.idl \
-                 SALOME_GenericObj.idl \
-                GEOM_Gen.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -L$(KERNEL_ROOT_DIR)/lib/salome -L$(GUI_ROOT_DIR)/lib/salome $(CAS_LDPATH) -lDlgRef -lGEOM -lsuit -lOCCViewer -lVTKViewer -lTKPrim
-
-@CONCLUDE@
diff --git a/src/GEOMClient/GEOM_Client.cxx b/src/GEOMClient/GEOM_Client.cxx
deleted file mode 100644 (file)
index 1bdf748..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-//  GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Client.cxx
-//  Author : Yves FRICAUD/Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include <Standard_Stream.hxx>
-
-#include <Standard_Stream.hxx>
-
-#include <strstream>
-
-#include "GEOM_Client.hxx"
-#include <SALOMEconfig.h>
-#include "OpUtil.hxx"
-#include "utilities.h"
-
-#include <BRep_Builder.hxx>
-#include <BRepTools.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopExp.hxx>
-#include <TopAbs.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#ifdef WNT
-#include <process.h>
-#else
-#include <unistd.h>
-#endif
-
-#include CORBA_SERVER_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-#define HST_CLIENT_LEN 256
-
-
-
-//=======================================================================
-// function : Load()
-// purpose  : 
-//=======================================================================
-TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape )
-{
-    string hst_client = GetHostname();
-
-    Engines::Container_var ctn_server = geom->GetContainerRef();
-    long                   pid_server = ctn_server->getPID();
-   if ( (pid_client==pid_server) && (strcmp(hst_client.c_str(), ctn_server->getHostName())==0) ) {
-        TopoDS_Shape* S = (TopoDS_Shape*)(aShape->getShape());
-        return(*S);
-    } else {
-        /* get sequence of bytes of resulting brep shape from GEOM server */
-        TopoDS_Shape S;
-        SALOMEDS::TMPFile_var SeqFile = aShape->GetShapeStream();
-        int sizebuf = SeqFile->length();
-        char* buf;
-        buf = (char*) &SeqFile[0];
-        istrstream streamBrep(buf,sizebuf);
-        BRep_Builder aBuilder;
-        BRepTools::Read(S, streamBrep, aBuilder);
-        return(S);
-    };
-}
-
-
-//=======================================================================
-// function : Create()
-// purpose  : Create in client not in a container
-//=======================================================================
-GEOM_Client::GEOM_Client()
-{
-  pid_client = 
-#ifdef WNT
-    (long)_getpid();
-#else
-    (long)getpid();
-#endif
-}
-
-//=======================================================================
-// function : Create()
-// purpose  : 
-//=======================================================================
-GEOM_Client::GEOM_Client(Engines::Container_ptr client)
-{
-  pid_client = client->getPID();
-}
-
-//=======================================================================
-// function : Find()
-// purpose  : 
-//=======================================================================
-Standard_Integer GEOM_Client::Find( const TCollection_AsciiString& IOR, TopoDS_Shape& S )
-{
-  for ( Standard_Integer i = 1; i<= myIORs.Length(); i++ ) {
-    if (myIORs.Value(i).IsEqual(IOR)) {
-      S = myShapes.Value(i);
-      return i;
-    }
-  }
-  return 0;
-}
-
-//=======================================================================
-// function : Find()
-// purpose  : 
-//=======================================================================
-Standard_Integer GEOM_Client::Find( const TopoDS_Shape& S, TCollection_AsciiString& IOR )
-{
-  for ( Standard_Integer i = 1; i<= myShapes.Length(); i++ ) {
-    if (myShapes.Value(i) == S) {
-      IOR = myIORs.Value(i);
-      return i;
-    }
-  }
-  return 0;
-}
-
-//=======================================================================
-// function : Bind()
-// purpose  :
-//=======================================================================
-void GEOM_Client::Bind( const TCollection_AsciiString& IOR, const TopoDS_Shape& S )
-{
-  myIORs.Append(IOR);
-  myShapes.Append(S);
-}
-
-//=======================================================================
-// function : RemoveShapeFromBuffer()
-// purpose  : Remove shape from Client Buffer
-//=======================================================================
-void GEOM_Client::RemoveShapeFromBuffer( const TCollection_AsciiString& IOR)
-{
-  if( myIORs.IsEmpty() )
-    return ;
-  
-  TopoDS_Shape S ;
-  Standard_Integer anIndex = Find( IOR, S ) ;
-  if( anIndex != 0 ) {
-    myIORs.Remove(anIndex) ;
-    myShapes.Remove(anIndex) ;
-  }
-  return ;
-}
-
-
-//=======================================================================
-// function : ClearClientBuffer()
-// purpose  : purge buffer
-//=======================================================================
-void GEOM_Client::ClearClientBuffer()
-{
-  if( myIORs.IsEmpty() )
-    return ;
-  myIORs.Clear() ;
-  myShapes.Clear() ;
-  return ;
-}
-
-//=======================================================================
-// function : BufferLength()
-// purpose  :
-//=======================================================================
-unsigned int GEOM_Client::BufferLength()
-{
-  return myIORs.Length() ;
-}
-
-
-//=======================================================================
-// function : GetShape()
-// purpose  : 
-//=======================================================================
-
-TopoDS_Shape GEOM_Client::GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape ) 
-{ 
-  TopoDS_Shape            S; 
-  TCollection_AsciiString IOR = geom->GetStringFromIOR(aShape); 
-  Standard_Integer anIndex = Find(IOR, S); 
-  
-  if (anIndex !=0 ) return S ;  
-
-  /******* in case of a MAIN GEOM::SHAPE ********/ 
-  if (aShape->IsMainShape()) { 
-    S = Load(geom, aShape); 
-    Bind(IOR, S); 
-    return S; 
-  } 
-
-  /******* in case of SUB GEOM::SHAPE ***********/ 
-  // Load and Explore the Main Shape 
-  TopoDS_Shape aMainShape = GetShape (geom, aShape->GetMainShape()); 
-  GEOM::ListOfLong_var list = aShape->GetSubShapeIndices(); 
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aMainShape, anIndices);
-
-  /* Case of only one subshape */ 
-  if (list->length() == 1) 
-  { 
-    S = anIndices.FindKey(list[0]); 
-  } 
-  else {
-    BRep_Builder B;
-    TopoDS_Compound aCompound;
-    B.MakeCompound(aCompound);
-    for(int i=0; i<list->length(); i++) {
-      TopoDS_Shape aSubShape = anIndices.FindKey(list[i]); 
-      B.Add(aCompound, aSubShape);
-    }
-
-    S = aCompound;
-  }
-  Bind(IOR, S); 
-  return S; 
-} 
-
diff --git a/src/GEOMClient/GEOM_Client.hxx b/src/GEOMClient/GEOM_Client.hxx
deleted file mode 100644 (file)
index fd6087b..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//  GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Client.hxx
-//  Author : Yves FRICAUD
-//  Module : GEOM
-//  $Header$
-
-#ifndef _GEOM_Client_HeaderFile
-#define _GEOM_Client_HeaderFile
-
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#
-#ifndef _TColStd_SequenceOfAsciiString_HeaderFile
-#include <TColStd_SequenceOfAsciiString.hxx>
-#endif
-#ifndef _TopTools_SequenceOfShape_HeaderFile
-#include <TopTools_SequenceOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-class TCollection_AsciiString;
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMCLIENT_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMCLIENT_WNT_EXPORT
-#endif
-
-//=====================================================================
-// GEOM_Client : class definition
-//=====================================================================
-class GEOMCLIENT_WNT_EXPORT GEOM_Client  {
-
-public:
-  
-  inline void* operator new(size_t,void* anAddress) 
-  {
-    return anAddress;
-  }
-  inline void* operator new(size_t size) 
-  { 
-    return Standard::Allocate(size); 
-  }
-  inline void  operator delete(void *anAddress) 
-  { 
-    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-  }
-  // Methods PUBLIC
-  // 
-   //Standard_EXPORT   
-  GEOM_Client();
-  //Standard_EXPORT   
-  GEOM_Client(Engines::Container_ptr client);
-  //Standard_EXPORT   
-  Standard_Integer Find( const TCollection_AsciiString& IOR, TopoDS_Shape& S ) ;
-  //Standard_EXPORT   
-  Standard_Integer Find( const TopoDS_Shape& S, TCollection_AsciiString& IOR ) ;
-  //Standard_EXPORT   
-  void Bind( const TCollection_AsciiString& IOR, const TopoDS_Shape& S ) ;
-  //Standard_EXPORT   
-  TopoDS_Shape GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape );
-  //Standard_EXPORT   
-  void RemoveShapeFromBuffer( const TCollection_AsciiString& IOR ) ;
-  //Standard_EXPORT   
-  void ClearClientBuffer() ;
-  //Standard_EXPORT   
-  unsigned int BufferLength() ;
-  TopoDS_Shape Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape);
-
-private: 
-  // Fields PRIVATE
-  //
-  TColStd_SequenceOfAsciiString myIORs ;
-  TopTools_SequenceOfShape myShapes ;
-  long  pid_client;
-};
-
-
-#endif
diff --git a/src/GEOMClient/Makefile.in b/src/GEOMClient/Makefile.in
deleted file mode 100644 (file)
index 19a4026..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#  GEOM GEOMClient : tool to transfer BREP files from GEOM server to GEOM client
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS = \
-       GEOM_Client.hxx
-
-# Libraries targets
-
-LIB = libGEOMClient.la
-LIB_SRC = GEOM_Client.cxx
-LIB_SERVER_IDL = \
-       SALOME_Component.idl SALOMEDS.idl SALOME_Exception.idl SALOME_GenericObj.idl \
-       GEOM_Gen.idl
-
-# Executables targets
-BIN = 
-BIN_SRC = 
-BIN_CLIENT_IDL = 
-BIN_SERVER_IDL =
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += $(CAS_LDPATH) -lTKTopAlgo -L${KERNEL_ROOT_DIR}/lib/salome
-
-
-@CONCLUDE@
-
diff --git a/src/GEOMContext/GEOMContext.cxx b/src/GEOMContext/GEOMContext.cxx
deleted file mode 100644 (file)
index fcd33c8..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMContext.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-using namespace std;
-#include "GEOMContext.h"
-#include "QAD_Tools.h"
-
-/* The object itself created in the static method 'GetOrCreateGEOMBase()' */
-static GEOMContext* GeomGUI = 0;
-
-//=======================================================================
-// function : GEOMContext()
-// purpose  : Constructor
-//=======================================================================
-GEOMContext::GEOMContext() :
-  QObject()
-{
-}
-
-
-//=======================================================================
-// function : ~GEOMContext()
-// purpose  : Destructor
-//=======================================================================
-GEOMContext::~GEOMContext()
-{
-}
-
-
-//=======================================================================
-// function : GetGEOMContext() static
-// purpose  : Returns current 'GeomGUI' a static pointer
-//=======================================================================
-GEOMContext* GEOMContext::GetGeomGUI()
-{
-  return GeomGUI;
-}
-
-
-//=======================================================================
-// function : GetOrCreateGEOMBase()
-// purpose  : Gets or create an object 'GEOMBase' with initialisations
-//          : Returns 'GeomGUI' as a pointer
-//=======================================================================
-GEOMContext* GEOMContext::GetOrCreateGeomGUI(QAD_Desktop* desktop)
-{
-  if(GeomGUI == 0) {
-    GeomGUI = new GEOMContext();
-    Engines::Component_var comp = desktop->getEngine("FactoryServer", "GEOM");
-    GeomGUI->myComponentGeom = GEOM::GEOM_Gen::_narrow(comp);
-    
-    GeomGUI->myState = -1;
-    GeomGUI->myActiveDialogBox = 0;
-    GeomGUI->myFatherior = "";
-    GeomGUI->myGUILibrary = OSD_SharedLibrary();
-
-    /* GetCurrentStudy */
-    int studyId = desktop->getActiveStudy()->getStudyId();
-    GeomGUI->myComponentGeom->GetCurrentStudy(studyId);
-
-    GeomGUI->myNbGeom = GeomGUI->myComponentGeom->NbLabels();
-  }
-
-  /* GetCurrentStudy */
-  int studyId = desktop->getActiveStudy()->getStudyId();
-  GeomGUI->myComponentGeom->GetCurrentStudy(studyId);
-
-  GeomGUI->myNbGeom = GeomGUI->myComponentGeom->NbLabels();
-
-  return GeomGUI;
-}
-
-
-//=======================================================================
-// function : LoadLibrary()
-// purpose  :
-//=======================================================================
-bool GEOMContext::LoadLibrary(QString GUILibrary)
-{
-  QCString libs;
-  QFileInfo fileInfo;
-  QString GUILib, fileString, dir;
-
-  if(libs = getenv("LD_LIBRARY_PATH")) {
-    QStringList dirList = QStringList::split(":", libs, false); // skip empty entries
-    for(int i = dirList.count()-1; i >= 0; i--) {
-      dir = dirList[i];
-      fileString = QAD_Tools::addSlash(dir) + GUILibrary;
-      fileInfo.setFile(fileString);
-      if(fileInfo.exists()) {
-       GUILib = fileInfo.fileName();
-       break;
-      }
-    }
-  }
-
-  myGUILibrary.SetName(TCollection_AsciiString((char*)GUILib.latin1()).ToCString());
-  bool res = myGUILibrary.DlOpen(OSD_RTLD_LAZY);
-  if(!res)
-    cout<<"Can't open library : "<<myGUILibrary.DlError()<<endl;
-  return res;
-}
-
-
-//=======================================================================
-// function : SetActiveDialogBox()
-// purpose  : 
-//=======================================================================
-void GEOMContext::SetActiveDialogBox(QDialog* aDlg)
-{
-  myActiveDialogBox = (QDialog*)aDlg;
-  return;
-}
-
-
-//=======================================================================
-// function : EmitSignalDeactivateDialog()
-// purpose  : Emit a signal to deactivate the active dialog Box
-//=======================================================================
-void GEOMContext::EmitSignalDeactivateDialog()
-{
-  emit SignalDeactivateActiveDialog();
-  return;
-}
-
-
-//=======================================================================
-// function : EmitSignalCloseAllDialogs()
-// purpose  : Emit a signal to deactivate all non modal dialogs box
-//=======================================================================
-void GEOMContext::EmitSignalCloseAllDialogs()
-{
-  emit SignalCloseAllDialogs();
-  return;
-}
-
-
-//=======================================================================
-// function : EmitSignalDefaultStepValueChanged()
-// purpose  : 
-//=======================================================================
-void GEOMContext::EmitSignalDefaultStepValueChanged(double newVal)
-{
-  emit SignalDefaultStepValueChanged(newVal);
-  return;
-}
diff --git a/src/GEOMContext/GEOMContext.h b/src/GEOMContext/GEOMContext.h
deleted file mode 100644 (file)
index e83a932..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//  GEOMCONTEXT
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMContext.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef GEOMCONTEXT_H
-#define GEOMCONTEXT_H
-
-#include "QAD_Desktop.h"
-#include "GEOM_Client.hxx"
-#include <OSD_SharedLibrary.hxx>
-#include <qapplication.h>
-
-//=================================================================================
-// class    : GEOMContext
-// purpose  :
-//=================================================================================
-class GEOMContext : public QObject
-{
-  Q_OBJECT /* for QT compatibility */
-
-public :
-  GEOMContext();
-  ~GEOMContext();
-
-private :
-  QDialog* myActiveDialogBox; /* Unique active dialog box */
-  GEOM_Client myShapeReader;
-  Standard_CString myFatherior;
-
-public :
-  int myNbGeom; /* Unique name for a geom entity */
-
-  static GEOMContext* GetOrCreateGeomGUI(QAD_Desktop* desktop);
-  static GEOMContext* GetGeomGUI();
-
-  OSD_SharedLibrary myGUILibrary;
-  GEOM::GEOM_Gen_var myComponentGeom;
-  int myState; /* Identify a method */
-
-  /* Returns the active DialogBox */
-  QDialog* GetActiveDialogBox(){return myActiveDialogBox ;};
-  int& GetNbGeom(){return myNbGeom;};
-  GEOM_Client& GetShapeReader(){return myShapeReader;};
-  Standard_CString& GetFatherior(){return myFatherior;};
-
-  bool LoadLibrary(QString GUILibrary);
-
-  /* Sets 'myActiveDialogBox' a pointer to the active Dialog Box  */
-  void SetActiveDialogBox(QDialog* aDlg);
-
-  /* Non modal dialog boxes magement */
-  void EmitSignalDeactivateDialog();
-  void EmitSignalCloseAllDialogs();
-  void EmitSignalDefaultStepValueChanged(double newVal);
-
-signals :
-  void SignalDeactivateActiveDialog();
-  void SignalCloseAllDialogs();
-  void SignalDefaultStepValueChanged(double newVal);
-
-};
-
-#endif
-
diff --git a/src/GEOMContext/GEOM_icons.po b/src/GEOMContext/GEOM_icons.po
deleted file mode 100644 (file)
index ed64a37..0000000
+++ /dev/null
@@ -1,362 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2001-06-14 09:11:49 PM CEST\n"
-"PO-Revision-Date: 2003-09-22 16:39+0200\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#Select
-msgid "ICON_SELECT"
-msgstr "select1.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_Geometry"
-msgstr "geometry.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_COMPOUND"
-msgstr "tree_compound.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_COMPSOLID"
-msgstr "tree_compsolid.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_EDGE"
-msgstr "tree_edge.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_FACE"
-msgstr "tree_face.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SHAPE"
-msgstr "tree_shape.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SHELL"
-msgstr "tree_shell.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SOLID"
-msgstr "tree_solid.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_VERTEX"
-msgstr "tree_vertex.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_WIRE"
-msgstr "tree_wire.png"
-
-#BoxDlg
-msgid "ICON_DLG_BOX_2P"
-msgstr "box2points.png"
-
-#BoxDlg
-msgid "ICON_DLG_BOX_DXYZ"
-msgstr "boxdxyz.png"
-
-#CylinderDlg
-msgid "ICON_DLG_CYLINDER_PV"
-msgstr "cylinderpointvector.png"
-
-#CylinderDlg
-msgid "ICON_DLG_CYLINDER_DXYZ"
-msgstr "cylinderdxyz.png"
-
-#SphereDlg
-msgid "ICON_DLG_SPHERE_P"
-msgstr "spherepoint.png"
-
-#SphereDlg
-msgid "ICON_DLG_SPHERE_DXYZ"
-msgstr "spheredxyz.png"
-
-#torusDlg
-msgid "ICON_DLG_TORUS_PV"
-msgstr "toruspointvector.png"
-
-#ConeDlg
-msgid "ICON_DLG_CONE_PV"
-msgstr "conepointvector.png"
-
-#torusDlg
-msgid "ICON_DLG_TORUS_DXYZ"
-msgstr "torusdxyz.png"
-
-#ConeDlg
-msgid "ICON_DLG_CONE_DXYZ"
-msgstr "conedxyz.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_2P"
-msgstr "line2points.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_EDGE"
-msgstr "lineedge.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_PV"
-msgstr "linepointvector.png"
-
-#CircleDlg
-msgid "ICON_DLG_CIRCLE_PV"
-msgstr "circlepointvector.png"
-
-#VectorDlg
-msgid "ICON_DLG_VECTOR_2P"
-msgstr "vector2points.png"
-
-#vectorDlg
-msgid "ICON_DLG_VECTOR_DXYZ"
-msgstr "vectordxyz.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_DXYZ"
-msgstr "planedxyz.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_FACE"
-msgstr "planeface.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_PV"
-msgstr "planepointvector.png"
-
-#WorkingPlaneDlg
-msgid "ICON_DLG_WPLANE_FACE"
-msgstr "planeworkingface.png"
-
-#PointDlg
-msgid "ICON_DLG_POINT"
-msgstr "point2.png"
-
-#PoinDlg
-msgid "ICON_DLG_POINT_EDGE"
-msgstr "pointonedge.png"
-
-#ArcDlg
-msgid "ICON_DLG_ARC"
-msgstr "arc.png"
-
-#ArchimedeDlg
-msgid "ICON_DLG_ARCHIMEDE"
-msgstr "archimede.png"
-
-#PartitionDlg
-msgid "ICON_DLG_PARTITION"
-msgstr "partition.png"
-
-#PartitionDlg
-msgid "ICON_DLG_PARTITION_KEEP_FACES"
-msgstr "partitionkeep.png"
-
-#CenterMassDlg
-msgid "ICON_DLG_CENTERMASS"
-msgstr "centergravity.png"
-
-#BoundingBoxDlg
-msgid "ICON_DLG_BOUNDING_BOX"
-msgstr "bounding.png"
-
-#CommonDlg
-msgid "ICON_DLG_COMMON"
-msgstr "common.png"
-
-#CompoundDlg
-msgid "ICON_DLG_BUILD_COMPOUND"
-msgstr "build_compound.png"
-
-#CutDlg
-msgid "ICON_DLG_CUT"
-msgstr "cut.png"
-
-#EdgeDlg
-msgid "ICON_DLG_BUILD_EDGE"
-msgstr "build_edge.png"
-
-#FaceDlg
-msgid "ICON_DLG_BUILD_FACE"
-msgstr "build_face.png"
-
-#ShellDlg
-msgid "ICON_DLG_BUILD_SHELL"
-msgstr "build_shell.png"
-
-#SolidDlg
-msgid "ICON_DLG_BUILD_SOLID"
-msgstr "build_solid.png"
-
-#WireDlg
-msgid "ICON_DLG_BUILD_WIRE"
-msgstr "build_wire.png"
-
-#FillingDlg
-msgid "ICON_DLG_FILLING"
-msgstr "filling.png"
-
-#FuseDlg
-msgid "ICON_DLG_FUSE"
-msgstr "fuse.png"
-
-#InertiaDlg
-msgid "ICON_DLG_INERTIA"
-msgstr "axisinertia.png"
-
-#ToleranceDlg
-msgid "ICON_DLG_TOLERANCE"
-msgstr "tolerance.png"
-
-#BasicPropertiesDlg
-msgid "ICON_DLG_BASICPROPERTIES"
-msgstr "basicproperties.png"
-
-#WhatisDlg
-msgid "ICON_DLG_WHATIS"
-msgstr "whatis.png"
-
-#MinDistDlg
-msgid "ICON_DLG_MINDIST"
-msgstr "mindist.png"
-
-#MirrorDlg
-msgid "ICON_DLG_MIRROR"
-msgstr "mirrorPlane.png"
-
-#TranslationDlg
-msgid "ICON_DLG_TRANSLATION"
-msgstr "translation.png"
-
-#RotationDlg
-msgid "ICON_DLG_ROTATION"
-msgstr "rotate.png"
-
-#ScaleDlg
-msgid "ICON_DLG_SCALE"
-msgstr "scale.png"
-
-#OrientationDlg
-msgid "ICON_DLG_ORIENTATION"
-msgstr "orientation.png"
-
-#SewingDlg
-msgid "ICON_DLG_SEWING"
-msgstr "sewing.png"
-
-#PipeDlg
-msgid "ICON_DLG_PIPE"
-msgstr "pipe.png"
-
-#PrismDlg
-msgid "ICON_DLG_PRISM"
-msgstr "prism.png"
-
-#RevolutionDlg
-msgid "ICON_DLG_REVOL"
-msgstr "revol.png"
-
-#SectionDlg
-msgid "ICON_DLG_SECTION"
-msgstr "section.png"
-
-#SubShapeDlg
-msgid "ICON_DLG_SUBSHAPE"
-msgstr "subshape.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET"
-msgstr "fillet.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER"
-msgstr "chamfer.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_ALL"
-msgstr "filletall.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_ALL"
-msgstr "chamferall.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_EDGE"
-msgstr "filletedge.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_EDGE"
-msgstr "chamferedge.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_FACE"
-msgstr "filletface.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_FACE"
-msgstr "chamferface.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHECKSHAPE"
-msgstr "check.png"
-
-#SupressFaceDlg
-msgid "ICON_DLG_SUPRESS_FACE"
-msgstr "supressface.png"
-
-#SupressHoleDlg        
-msgid "ICON_DLG_SUPRESS_HOLE"
-msgstr "supresshole.png"       
-
-#SupressHoleDlg
-msgid "ICON_DLG_SUPRESS_HOLE_FACE_SHELL"
-msgstr "supressHolesOnFaceShell.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION_SIMPLE"
-msgstr "multitranslationsimple.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION"
-msgstr "multitranslation.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION_DOUBLE"
-msgstr "multitranslationdouble.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION_SIMPLE"
-msgstr "multirotationsimple.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION"
-msgstr "multirotation.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION_DOUBLE"
-msgstr "multirotationdouble.png"
-
-#EllipseDlg
-msgid "ICON_DLG_ELLIPSE_PV"
-msgstr "ellipsepointvector.png"
-
-#SplineDlg
-msgid "ICON_DLG_SPLINE"
-msgstr "spline.png"
-
-#SplineDlg
-msgid "ICON_DLG_BEZIER"
-msgstr "bezier.png"
-
-#SplineDlg
-msgid "ICON_DLG_INTERPOL"
-msgstr "interpol.png"
-
-
-
diff --git a/src/GEOMContext/GEOM_msg_en.po b/src/GEOMContext/GEOM_msg_en.po
deleted file mode 100644 (file)
index 5d07378..0000000
+++ /dev/null
@@ -1,1316 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2002-03-19 09:35:48 AM CET\n"
-"PO-Revision-Date: 2003-10-27 17:32+0100\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#
-#==============================================================================
-#
-
-#Button Apply
-msgid "GEOM_BUT_APPLY"
-msgstr "&Apply"
-
-#Button Close
-msgid "GEOM_BUT_CLOSE"
-msgstr "&Close"
-
-#Button Cancel
-msgid "GEOM_BUT_CANCEL"
-msgstr "&Cancel"
-
-#Button Ok
-msgid "GEOM_BUT_OK"
-msgstr "&Ok"
-
-#Button Yes
-msgid "GEOM_BUT_YES"
-msgstr "&Yes"
-
-#Button No
-msgid "GEOM_BUT_NO"
-msgstr "&No"
-
-#Button Help
-msgid "GEOM_BUT_HELP"
-msgstr "&Help"
-
-#Button Explode
-msgid "GEOM_BUT_EXPLODE"
-msgstr "&Explode"
-
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:563
-msgid "GEOM_INF_LOADED"
-msgstr "File %1 loaded."
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3069
-msgid "GEOM_PRP_COMMAND"
-msgstr "No command associated with this id = %1."
-
-#: GeometryGUI.cxx:4977
-msgid "GEOM_PRP_ABORT"
-msgstr "Operation aborted"
-
-#: GeometryGUI.cxx:5058
-msgid "GEOM_PRP_DONE"
-msgstr "Operation done"
-
-#: GeometryGUI.cxx:3717
-msgid "GEOM_PRP_LOADING"
-msgstr "Loading %1 ..."
-
-#: GeometryGUI.cxx:1412
-msgid "GEOM_PRP_NULLSHAPE"
-msgstr "Error, null or inappropriate shape !"
-
-#: GeometryGUI.cxx:5072
-msgid "GEOM_PRP_READY"
-msgstr "Ready"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_SUBSHAPES"
-msgstr "Select Sub Shapes"
-
-msgid "GEOM_CONFIRM"
-msgstr "Confirm operation"
-
-msgid "GEOM_CONFIRM_INFO"
-msgstr "Shape contains %1 sub shapes !"
-
-
-msgid "GEOM_PRP_NOT_FOR_VTK_VIEWER"
-msgstr "Not allowed in VTK viewer"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SHAPE_IN_STUDY"
-msgstr "Main shape must be in the study before"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_EDGE"
-msgstr "Select edges and click on Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FACE"
-msgstr "Select faces to suppress and click on Ok/Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FIRST"
-msgstr "Select main shape first"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_MIN_DIST"
-msgstr "Min Distance not computed"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3698
-msgid "GEOM_MEN_ALL_FILES"
-msgstr "All Files ( * )"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ANGLE"
-msgstr "Angle :"
-
-#: GeometryGUI.cxx:3941
-msgid "GEOM_MEN_COMPONENT"
-msgstr "Geometry"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ENTER_ANGLE"
-msgstr "Enter An Angle In Degrees"
-
-#: GeometryGUI.cxx:3758
-msgid "GEOM_MEN_EXPORT"
-msgstr "Export"
-
-#: GeometryGUI.cxx:3648
-msgid "GEOM_MEN_IMPORT"
-msgstr "Import"
-
-#: GeometryGUI.cxx:3761
-msgid "GEOM_MEN_IMPORT_BREP"
-msgstr "BREP Files ( *.brep )"
-
-#: GeometryGUI.cxx:3762
-msgid "GEOM_MEN_IMPORT_IGES"
-msgstr "IGES Files ( *.iges *.igs )"
-
-#: GeometryGUI.cxx:3763
-msgid "GEOM_MEN_IMPORT_STEP"
-msgstr "STEP Files ( *.step *.stp )"
-
-#: GeometryGUI.cxx:3763
-msgid "GEOM_MEN_LOAD_SCRIPT"
-msgstr "PYTHON Files ( *.py )"
-
-#: GeometryGUI.cxx:2931
-msgid "GEOM_MEN_ISOS"
-msgstr "Select Number Of Isos"
-
-#: GeometryGUI.cxx:4278
-msgid "GEOM_MEN_POPUP_NAME"
-msgstr "%1 Objects"
-
-#: GeometryGUI.cxx:4414
-msgid "GEOM_MEN_SKETCHER_X"
-msgstr "Enter a length to set X"
-
-#: GeometryGUI.cxx:4438
-msgid "GEOM_MEN_SKETCHER_Y"
-msgstr "Enter a length to set Y"
-
-#: GeometryGUI.cxx:2898
-msgid "GEOM_MEN_TRANSPARENCY"
-msgstr "Transparency"
-
-#: GeometryGUI.cxx:4413
-msgid "GEOM_MEN_X"
-msgstr "X :"
-
-#: GeometryGUI.cxx:4437
-msgid "GEOM_MEN_Y"
-msgstr "Y :"
-
-#: GeometryGUI_NbIsosDlg.cxx:36
-msgid "GEOM_MEN_ISOU"
-msgstr "Isos u :"
-
-#: GeometryGUI_NbIsosDlg.cxx:53
-msgid "GEOM_MEN_ISOV"
-msgstr "Isos v :"
-
-#: GeometryGUI_TransparencyDlg.cxx:31
-msgid "GEOM_MEN_TRANSPARENCY_LABEL"
-msgstr "Transparency :"
-
-msgid "GEOM_MEN_STEP_LABEL"
-msgstr "Step :"
-
-
-msgid "GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE"
-msgstr "Identical names : select by mouse !"
-
-msgid "GEOM_NAME_INCORRECT"
-msgstr "Object name not found"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:892
-msgid "GEOM_WRN_RADIUS_NULL"
-msgstr "Radius is null"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_WRN_WARNING"
-msgstr "Warning"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_REALLY_DELETE"
-msgstr "Do you really want to delete object(s) ?"
-
-#
-#==============================================================================
-#
-
-#Object
-msgid "GEOM_OBJECT"
-msgstr "Object"
-
-#Main object
-msgid "GEOM_MAIN_OBJECT"
-msgstr "Main Object"
-
-#Tool object
-msgid "GEOM_TOOL_OBJECT"
-msgstr "Tool Object"
-
-#Base Object
-msgid "GEOM_BASE_OBJECT"
-msgstr "Base Object"
-
-#Path Object
-msgid "GEOM_PATH_OBJECT"
-msgstr "Path Object"
-
-#Objects
-msgid "GEOM_OBJECTS"
-msgstr "Objects"
-
-#Object i
-msgid "GEOM_OBJECT_I"
-msgstr "Object %1"
-
-#Object and result
-msgid "GEOM_OBJECT_RESULT"
-msgstr "Object And Result"
-
-#Point
-msgid "GEOM_POINT"
-msgstr "Point"
-
-#Base point
-msgid "GEOM_BASE_POINT"
-msgstr "Base Point"
-
-#Center Point
-msgid "GEOM_CENTER_POINT"
-msgstr "Center Point"
-
-#Diagonal Points
-msgid "GEOM_DIAGONAL_POINTS"
-msgstr "Diagonal Points"
-
-#Central Point
-msgid "GEOM_CENTRAL_POINT"
-msgstr "Central Point"
-
-#Points
-msgid "GEOM_POINTS"
-msgstr "Points"
-
-#Point i
-msgid "GEOM_POINT_I"
-msgstr "Point %1"
-
-#Arguments
-msgid "GEOM_ARGUMENTS"
-msgstr "Arguments"
-
-#Center
-msgid "GEOM_CENTER"
-msgstr "Center"
-
-#Radius
-msgid "GEOM_RADIUS"
-msgstr "Radius :"
-
-#Radius i
-msgid "GEOM_RADIUS_I"
-msgstr "Radius %1 :"
-
-#Height
-msgid "GEOM_HEIGHT"
-msgstr "Height :"
-
-#Length
-msgid "GEOM_LENGTH"
-msgstr "Length is :"
-
-#Weight
-msgid "GEOM_WEIGHT"
-msgstr "Weight :"
-
-#Coordinates
-msgid "GEOM_COORDINATES"
-msgstr "Coordinates"
-
-#Coor.
-msgid "GEOM_COOR"
-msgstr "Coord. :"
-
-#Reverse
-msgid "GEOM_REVERSE"
-msgstr "Reverse"
-
-#Reverse U
-msgid "GEOM_REVERSE_U"
-msgstr "Reverse U"
-
-#Reverse V
-msgid "GEOM_REVERSE_V"
-msgstr "Reverse V"
-
-#Angle
-msgid "GEOM_ANGLE"
-msgstr "Angle :"
-
-#Axis
-msgid "GEOM_AXIS"
-msgstr "Axis"
-
-#Matrix
-msgid "GEOM_MATRIX"
-msgstr "Matrix :"
-
-#Vector Length
-msgid "GEOM_VECTOR_LENGTH"
-msgstr "Vector Length :"
-
-#Reverse Vector
-msgid "GEOM_REVERSE_VECTOR"
-msgstr "Reverse Vector"
-
-#Plane Mirror
-msgid "GEOM_PLANE_MIRROR"
-msgstr "Plane Mirror"
-
-#Face Selection
-msgid "GEOM_FACE_SELECTION"
-msgstr "Face Selection"
-
-#Base
-msgid "GEOM_BASE"
-msgstr "Base"
-
-#Water Density
-msgid "GEOM_WATER_DENSITY"
-msgstr "Water Density :"
-
-#Meshing Deflection
-msgid "GEOM_MESHING_DEFLECTION"
-msgstr "Meshing Deflect. :"
-
-#Dimensions
-msgid "GEOM_DIMENSIONS"
-msgstr "Dimensions"
-
-#Precision
-msgid "GEOM_PRECISION"
-msgstr "Precision :"
-
-#Selection
-msgid "GEOM_SELECTION"
-msgstr "Selection"
-
-#Nb. Times
-msgid "GEOM_NB_TIMES"
-msgstr "Nb. Times :"
-
-#Nb. Times U
-msgid "GEOM_NB_TIMES_U"
-msgstr "Nb. Times U :"
-
-#Nb. Times V
-msgid "GEOM_NB_TIMES_V"
-msgstr "Nb. Times V :"
-
-#Step
-msgid "GEOM_STEP"
-msgstr "Step :"
-
-#Step V
-msgid "GEOM_STEP_V"
-msgstr "Step V :"
-
-#Step U
-msgid "GEOM_STEP_U"
-msgstr "Step U :"
-
-#
-#==============================================================================
-#
-
-#Partition
-msgid "GEOM_PARTITION"
-msgstr "Partition"
-
-#Tolerance
-msgid "GEOM_TOLERANCE"
-msgstr "Tolerance"
-
-#Orientation
-msgid "GEOM_ORIENTATION"
-msgstr "Orientation"
-
-#Pipe
-msgid "GEOM_PIPE"
-msgstr "Pipe"
-
-#Revolution
-msgid "GEOM_REVOLUTION"
-msgstr "Revolution"
-
-#Rotation
-msgid "GEOM_ROTATION"
-msgstr "Rotation"
-
-#Archimede
-msgid "GEOM_ARCHIMEDE"
-msgstr "Archimede"
-
-#Common
-msgid "GEOM_COMMON"
-msgstr "Common"
-
-#Cut
-msgid "GEOM_CUT" 
-msgstr "Cut"
-
-#Distance
-msgid "GEOM_DISTANCE"
-msgstr "Distance"
-
-#Filling
-msgid "GEOM_FILLING"
-msgstr "Filling"
-
-#Fuse
-msgid "GEOM_FUSE"
-msgstr "Fuse"
-
-#Scale
-msgid "GEOM_SCALE"
-msgstr "Scale"
-
-#Section
-msgid "GEOM_SECTION"
-msgstr "Section"
-
-#Sewing
-msgid "GEOM_SEWING"
-msgstr "Sewing"
-
-#Translation
-msgid "GEOM_TRANSLATION"
-msgstr "Translation"
-
-#Working Plane
-msgid "GEOM_WPLANE"
-msgstr "Working Plane"
-
-#Mirror
-msgid "GEOM_MIRROR"
-msgstr "Mirror"
-
-#Prism
-msgid "GEOM_PRISM"
-msgstr "Prism"
-
-#Sub Shapes
-msgid "GEOM_SUB_SHAPE"
-msgstr "Sub Shapes"
-
-#Supress Face
-msgid "GEOM_SUPRESSFACE"
-msgstr "Supress Face"
-
-#Fillet
-msgid "GEOM_FILLET"
-msgstr "Fillet"
-
-#Chamfer
-msgid "GEOM_CHAMFER"
-msgstr "Chamfer"
-
-#Check Shape
-msgid "GEOM_CHECK_SHAPE"
-msgstr "Check Shape"
-
-#Whatis
-msgid "GEOM_WHATIS"
-msgstr "Whatis"
-
-#Bounding Box
-msgid "GEOM_BNDBOX"
-msgstr "Bounding Box"
-
-#Center Of Mass
-msgid "GEOM_CMASS"
-msgstr "Center Of Mass"
-
-#Basic Properties
-msgid "GEOM_PROPERTIES"
-msgstr "Basic Properties"
-
-#Multi-Translation
-msgid "GEOM_MULTITRANSLATION"
-msgstr "Multi-Translation"
-
-#Multi-Rotation
-msgid "GEOM_MULTIROTATION"
-msgstr "Multi-Rotation"
-
-#
-#==============================================================================
-#
-
-#Arc
-msgid "GEOM_ARC"
-msgstr "Arc"
-
-#Box
-msgid "GEOM_BOX"
-msgstr "Box"
-
-#Circle
-msgid "GEOM_CIRCLE"
-msgstr "Circle"
-
-#Ellipse
-msgid "GEOM_ELLIPSE"
-msgstr "Ellipse"
-
-msgid "GEOM_ELLIPSE_TITLE"
-msgstr "Ellipse Construction"
-
-#Radius major
-msgid "GEOM_RADIUS_MAJOR"
-msgstr "Major radius :"
-
-#Radius minor
-msgid "GEOM_RADIUS_MINOR"
-msgstr "Minor radius :"
-
-#Compound
-msgid "GEOM_COMPOUND"
-msgstr "Compound"
-
-#CompSolid
-msgid "GEOM_COMPOUNDSOLID"
-msgstr "CompSolid"
-
-#Cone
-msgid "GEOM_CONE"
-msgstr "Cone"
-
-#Cylinder
-msgid "GEOM_CYLINDER"
-msgstr "Cylinder"
-
-#Edge
-msgid "GEOM_EDGE"
-msgstr "Edge"
-
-#Face
-msgid "GEOM_FACE"
-msgstr "Face"
-
-#Faces
-msgid "GEOM_FACES"
-msgstr "Faces"
-
-#Line
-msgid "GEOM_LINE"
-msgstr "Line"
-
-#Plane
-msgid "GEOM_PLANE"
-msgstr "Plane"
-
-#Shape
-msgid "GEOM_SHAPE"
-msgstr "Shape"
-
-#Shell
-msgid "GEOM_SHELL"
-msgstr "Shell"
-
-#Solid
-msgid "GEOM_SOLID"
-msgstr "Solid"
-
-#Sphere
-msgid "GEOM_SPHERE"
-msgstr "Sphere"
-
-#Conical Face
-msgid "GEOM_SURFCONE"
-msgstr "Conical Face"
-
-#Cylindrical Face
-msgid "GEOM_SURFCYLINDER"
-msgstr "Cylindrical Face"
-
-#Spherical Face
-msgid "GEOM_SURFSPHERE"
-msgstr "Spherical Face"
-
-#Toroidal Face
-msgid "GEOM_SURFTORUS"
-msgstr "Toroidal Face"
-
-#Torus
-msgid "GEOM_TORUS"
-msgstr "Torus"
-
-#Vector
-msgid "GEOM_VECTOR"
-msgstr "Vector"
-
-#Vector U
-msgid "GEOM_VECTOR_U"
-msgstr "Vector U"
-
-#Vector V
-msgid "GEOM_VECTOR_V"
-msgstr "Vector V"
-
-#Vertex
-msgid "GEOM_VERTEX"
-msgstr "Vertex"
-
-#Wire
-msgid "GEOM_WIRE"
-msgstr "Wire"
-
-#Wire(s)
-msgid "GEOM_WIRES"
-msgstr "Wire(s)"
-
-#Parameter
-msgid "GEOM_PARAMETER"
-msgstr "Parameter :"
-
-#
-#==============================================================================
-#
-
-#Min
-msgid "GEOM_MIN"
-msgstr "Min :"
-
-#Max
-msgid "GEOM_MAX"
-msgstr "Max :"
-
-#X
-msgid "GEOM_X"
-msgstr "X :"
-
-#Y
-msgid "GEOM_Y"
-msgstr "Y :"
-
-#Z
-msgid "GEOM_Z"
-msgstr "Z :"
-
-#DX
-msgid "GEOM_DX"
-msgstr "Dx :"
-
-#DY
-msgid "GEOM_DY"
-msgstr "Dy :"
-
-#DZ
-msgid "GEOM_DZ"
-msgstr "Dz :"
-
-#D1
-msgid "GEOM_D1"
-msgstr "D1 :"
-
-#D2
-msgid "GEOM_D2"
-msgstr "D2 :"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx
-msgid "GEOM_STEP_TITLE"
-msgstr "Step value for GUI constructions"
-
-#: GeometryGUI_ArcDlg.cxx:45
-msgid "GEOM_ARC_TITLE"
-msgstr "Arc Construction"
-
-#: GeometryGUI_ArchimedeDlg.cxx:55
-msgid "GEOM_ARCHIMEDE_TITLE"
-msgstr "Archimede Construction"
-
-#: GeometryGUI_BndBoxDlg.cxx:59
-msgid "GEOM_BNDBOX_TITLE"
-msgstr "Bounding Box Informations"
-
-#: GeometryGUI_BndBoxDlg.cxx:82
-msgid "GEOM_BNDBOX_OBJDIM"
-msgstr "Object And Its Dimensions"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_TITLE"
-msgstr "Box Construction"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_OBJ"
-msgstr "Dimensions At Origin"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_TITLE"
-msgstr "Chamfer Construction"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_ALL"
-msgstr "Chamfer On Whole Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_EDGES"
-msgstr "Chamfer On Edges From Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_FACES"
-msgstr "Chamfer On Faces From Shape"
-
-#: GeometryGUI_CircleDlg.cxx:48
-msgid "GEOM_CIRCLE_TITLE"
-msgstr "Circle Construction"
-
-#: GeometryGUI_CenterMassDlg.cxx:77
-msgid "GEOM_CMASS_TITLE"
-msgstr "Center Of Mass Construction"
-
-msgid "GEOM_PLANE_SIZE"
-msgstr "Size of plane :"
-
-#: GeometryGUI_CommonDlg.cxx:47
-msgid "GEOM_COMMON_TITLE"
-msgstr "BOOLEAN : Common Of Two Objects"
-
-#: GeometryGUI_CompoundDlg.cxx:44
-msgid "GEOM_COMPOUND_TITLE"
-msgstr "Create A Compound"
-
-#: GeometryGUI_ConeDlg.cxx:49
-msgid "GEOM_CONE_TITLE"
-msgstr "Cone Construction"
-
-#: GeometryGUI_CutDlg.cxx:48
-msgid "GEOM_CUT_TITLE"
-msgstr "BOOLEAN : Cut Of Two Objects"
-#
-#: GeometryGUI_CylinderDlg.cxx:47
-msgid "GEOM_CYLINDER_TITLE"
-msgstr "Cylinder Construction"
-
-#: GeometryGUI_CheckShape.cxx:60
-msgid "GEOM_CHECK_TITLE"
-msgstr "Check Shape Informations"
-
-#: GeometryGUI_CheckShape.cxx:83
-msgid "GEOM_CHECK_INFOS"
-msgstr "Object And Its Topological Informations"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_TITLE"
-msgstr "Minimun Distance Between Two Objects"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_OBJ"
-msgstr "Objects And Results"
-
-#: GeometryGUI_EdgeDlg.cxx:47
-msgid "GEOM_EDGE_TITLE"
-msgstr "Create An Edge"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_TITLE"
-msgstr "Fillet Construction"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_ALL"
-msgstr "Fillet On Whole Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_EDGES"
-msgstr "Fillet On Edges From Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_FACES"
-msgstr "Fillet On Faces From Shape"
-
-#: GeometryGUI_FaceDlg.cxx:49
-msgid "GEOM_FACE_TITLE"
-msgstr "Create A Face"
-
-#: GeometryGUI_FaceDlg.cxx:78
-msgid "GEOM_FACE_FFW"
-msgstr "Face from a wire"
-
-#: GeometryGUI_FaceDlg.cxx:103
-msgid "GEOM_FACE_OPT"
-msgstr "Try to create a planar face"
-
-#: GeometryGUI_FillingDlg.cxx:53
-msgid "GEOM_FILLING_TITLE"
-msgstr "Filling Surface With Curves"
-
-#: GeometryGUI_FillingDlg.cxx:112
-msgid "GEOM_FILLING_ARG"
-msgstr "Arguments And Parameters"
-
-#: GeometryGUI_FillingDlg.cxx:128
-msgid "GEOM_FILLING_MIN_DEG"
-msgstr "Min deg"
-
-#: GeometryGUI_FillingDlg.cxx:142
-msgid "GEOM_FILLING_MAX_DEG"
-msgstr "Max deg"
-
-#: GeometryGUI_FillingDlg.cxx:150
-msgid "GEOM_FILLING_TOL_2D"
-msgstr "Tol. 2D :"
-
-#: GeometryGUI_FillingDlg.cxx:170
-msgid "GEOM_FILLING_COMPOUND"
-msgstr "Curves Comp."
-
-#: GeometryGUI_FillingDlg.cxx:184
-msgid "GEOM_FILLING_TOL_3D"
-msgstr "Tol. 3D :"
-
-#: GeometryGUI_FillingDlg.cxx:192
-msgid "GEOM_FILLING_NB_ITER"
-msgstr "Nb. Iter :"
-
-#: GeometryGUI_FuseDlg.cxx:48
-msgid "GEOM_FUSE_TITLE"
-msgstr "BOOLEAN : Fuse Two Objects"
-
-#: GeometryGUI_InertiaDlg.cxx:42
-msgid "GEOM_INERTIA_TITLE"
-msgstr "Calculs Of Inertia"
-
-#: GeometryGUI_InertiaDlg.cxx:50
-msgid "GEOM_INERTIA_CONSTR"
-msgstr "Matrix And Moments Of Inertia"
-
-#: GeometryGUI_InertiaDlg.cxx:100
-msgid "GEOM_INERTIA_I"
-msgstr "%1:1 :"
-
-#: GeometryGUI_InertiaDlg.cxx:182
-msgid "GEOM_INERTIA_IXYZ"
-msgstr "IX & IY & IZ :"
-
-#: GeometryGUI_LineDlg.cxx:50
-msgid "GEOM_LINE_TITLE"
-msgstr "Line Construction"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:53
-msgid "GEOM_TOLERANCE_TITLE"
-msgstr "Maximum Tolerance"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:84
-msgid "GEOM_TOLERANCE_CONSTR"
-msgstr "Object And Its Tolerances"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:121
-msgid "GEOM_TOLERANCE_FACE"
-msgstr "Face :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:138
-msgid "GEOM_TOLERANCE_EDGE"
-msgstr "Edge :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:155
-msgid "GEOM_TOLERANCE_VERTEX"
-msgstr "Vertex :"
-
-#: GeometryGUI_MirrorDlg.cxx:52
-msgid "GEOM_MIRROR_TITLE"
-msgstr "Mirror An Object"
-
-#: GeometryGUI_OrientationDlg.cxx:46
-msgid "GEOM_ORIENTATION_TITLE"
-msgstr "Change Orientation"
-
-#: GeometryGUI_OrientationDlg.cxx:134
-msgid "GEOM_ORIENTATION_OPT"
-msgstr "Reverse orientation with normal vectors simulation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_TITLE"
-msgstr "Partition Of Object With Tool"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_KEEP_OBJECT"
-msgstr "Keep Object"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_ORIENTATION"
-msgstr "Change Orientation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-#: GeometryGUI_PipeDlg.cxx:47
-msgid "GEOM_PIPE_TITLE"
-msgstr "Pipe Construction"
-
-#: GeometryGUI_PointDlg.cxx:52
-msgid "GEOM_POINT_TITLE"
-msgstr "Point Construction"
-
-#: GeometryGUI_PlaneDlg.cxx:60
-msgid "GEOM_PLANE_TITLE"
-msgstr "Plane Construction"
-
-#: GeometryGUI_PlaneDlg.cxx:172
-msgid "GEOM_PLANE_PVC"
-msgstr "Point + Coordinate Vector"
-
-#: GeometryGUI_PlaneDlg.cxx:133
-msgid "GEOM_PLANE_PV"
-msgstr "Point + Vector"
-
-#: GeometryGUI_PrismDlg.cxx:54
-msgid "GEOM_PRISM_TITLE"
-msgstr "Prism Construction"
-
-#: GeometryGUI_PrismDlg.cxx:83
-msgid "GEOM_PRISM_BSV"
-msgstr "Base Shape + Vector"
-
-#: GeometryGUI_PropertiesDlg.cxx:56
-msgid "GEOM_PROPERTIES_TITLE"
-msgstr "Basic Properties Informations"
-
-#: GeometryGUI_PropertiesDlg.cxx:78
-msgid "GEOM_PROPERTIES_CONSTR"
-msgstr "Object And Its Properties"
-
-#: GeometryGUI_PropertiesDlg.cxx:114
-msgid "GEOM_PROPERTIES_SURFACE"
-msgstr "Surface is :"
-
-#: GeometryGUI_PropertiesDlg.cxx:120
-msgid "GEOM_PROPERTIES_VOLUME"
-msgstr "Volume is :"
-
-#: GeometryGUI_RevolDlg.cxx:49
-msgid "GEOM_REVOLUTION_TITLE"
-msgstr "Construction By Revolution"
-
-#: GeometryGUI_RotationDlg.cxx:51
-msgid "GEOM_ROTATION_TITLE"
-msgstr "Rotation Of An Object"
-
-#: GeometryGUI_ScaleDlg.cxx:52
-msgid "GEOM_SCALE_TITLE"
-msgstr "Scale An Object"
-
-#: GeometryGUI_ScaleDlg.cxx:117
-msgid "GEOM_SCALE_FACTOR"
-msgstr "Scale Factor :"
-
-#: GeometryGUI_SectionDlg.cxx:50
-msgid "GEOM_SECTION_TITLE"
-msgstr "BOOLEAN : Section Of Two Objects"
-
-#: GeometryGUI_SewingDlg.cxx:48
-msgid "GEOM_SEWING_TITLE"
-msgstr "Sewing Topologies"
-
-#: GeometryGUI_ShellDlg.cxx:53
-msgid "GEOM_SHELL_TITLE"
-msgstr "Shell Construction"
-
-#: GeometryGUI_SolidDlg.cxx:74
-msgid "GEOM_SOLID_TITLE"
-msgstr "Solid Construction"
-
-#: GeometryGUI_SphereDlg.cxx:50
-msgid "GEOM_SPHERE_TITLE"
-msgstr "Sphere Construction"
-
-#: GeometryGUI_SphereDlg.cxx:113
-msgid "GEOM_SPHERE_CR"
-msgstr "Center + Radius"
-
-#: GeometryGUI_SphereDlg.cxx:146
-msgid "GEOM_SPHERE_RO"
-msgstr "Radius At Origin"
-
-#: GeometryGUI_SubShapeDlg.cxx:55
-msgid "GEOM_SUBSHAPE_TITLE"
-msgstr "Sub Shapes Selection"
-
-#: GeometryGUI_SubShapeDlg.cxx:131
-msgid "GEOM_SUBSHAPE_TYPE"
-msgstr "Sub Shapes Type :"
-
-#: GeometryGUI_SubShapeDlg.cxx:137
-msgid "GEOM_SUBSHAPE_SELECT"
-msgstr "Select Sub Shapes"
-
-#: GeometryGUI_TorusDlg.cxx:51
-msgid "GEOM_TORUS_TITLE"
-msgstr "Torus Construction"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:103
-msgid "GEOM_SUPRESSFACE_TITLE"
-msgstr "Suppress Faces In An Object"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:164
-msgid "GEOM_SUPRESSFACE_SELECT"
-msgstr "Select Faces To Suppress"
-
-#: GeometryGUI_TranslationDlg.cxx:78
-msgid "GEOM_TRANSLATION_COOR"
-msgstr "Translation With Coordinates"
-
-msgid "GEOM_TRANSPARENCY_TITLE"
-msgstr "Transparency"  
-
-msgid "GEOM_TRANSPARENCY_OPAQUE"
-msgstr "Opaque"
-
-msgid "GEOM_TRANSPARENCY_TRANSPARENT"
-msgstr "Transparent"
-
-msgid "GEOM_SUPPRESSHOLE_TITLE"
-msgstr "Suppress holes"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE"
-msgstr "Select the face with hole"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE"
-msgstr "Select wire on face"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE_END"
-msgstr "Select end face (if hole traversing)"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE_END"
-msgstr "Select end wire (if hole traversing)"
-
-msgid "GEOM_SUPPRESSHOLE_FACE_SHELL"
-msgstr "Face or shell"
-
-msgid "GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE"
-msgstr "Select hole(s) on the face"
-
-#: GeometryGUI_TranslationDlg.cxx:56
-msgid "GEOM_TRANSLATION_TITLE"
-msgstr "Translation Of An Object"
-
-#: GeometryGUI_VectorDlg.cxx:54
-msgid "GEOM_VECTOR_TITLE"
-msgstr "Vector Construction"
-
-#: GeometryGUI_WhatisDlg.cxx:63
-msgid "GEOM_WHATIS_TITLE"
-msgstr "Whatis Informations"
-
-#: GeometryGUI_WhatisDlg.cxx:86
-msgid "GEOM_WHATIS_OBJECT"
-msgstr "Object And Its Topological Informations"
-
-#: GeometryGUI_WireDlg.cxx:46
-msgid "GEOM_WIRE_TITLE"
-msgstr "Create A Wire"
-
-#: GeometryGUI_WireDlg.cxx:103
-msgid "GEOM_WIRE_CONNECT"
-msgstr "Wire creation from wires/edges connected"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:50
-msgid "GEOM_WPLANE_TITLE"
-msgstr "Working Plane Selection"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_FACE"
-msgstr "Plane Or Planar Face"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_TITLE"
-msgstr "Multi-Translation"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_SIMPLE"
-msgstr "Multi Translation Simple"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_DOUBLE"
-msgstr "Multi Translation Double"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_TITLE"
-msgstr "Multi-Rotation"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_SIMPLE"
-msgstr "Multi Rotation Simple"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_DOUBLE"
-msgstr "Multi Rotation Double"
-
-msgid "GEOM_PARAM_POINT"
-msgstr "Parametric point"
-
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_WIREFRAME"
-msgstr "Wireframe"
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_SHADING"
-msgstr "\nShading"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT"
-msgstr "Reconstruction Limit"
-
-msgid "GEOM_SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-msgid "GEOM_SUPPRESS_RESULT_INSIDE"
-msgstr "Inside"
-
-msgid "GEOM_SUPPRESS_RESULT_OUTSIDE"
-msgstr "Outside"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHAPE"
-msgstr "Shape"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SOLID"
-msgstr "Solid"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHELL"
-msgstr "Shell"
-msgid "GEOM_RECONSTRUCTION_LIMIT_FACE"
-msgstr "Face"
-msgid "GEOM_RECONSTRUCTION_LIMIT_WIRE"
-msgstr "Wire"
-msgid "GEOM_RECONSTRUCTION_LIMIT_EDGE"
-msgstr "Edge"
-msgid "GEOM_RECONSTRUCTION_LIMIT_VERTEX"
-msgstr "Vertex"
-
-msgid "GEOM_SPLINE_TITLE"
-msgstr "Spline Construction"
-msgid "GEOM_SPLINE"
-msgstr "Spline"
-msgid "GEOM_BEZIER"
-msgstr "Bezier"
-msgid "GEOM_INTERPOL"
-msgstr "Interpolation"
-
-#
-#==============================================================================
-#
-
-msgid "GEOM_SKETCHER_EL"
-msgstr "Element Type"
-
-msgid "GEOM_BUT_CLOSE_SKETCH"
-msgstr "Close Sketch"
-
-msgid "GEOM_BUT_END_SKETCH"
-msgstr "End Sketch"
-
-msgid "GEOM_SKETCHER_TITLE"
-msgstr "Sketch Construction"
-
-msgid "GEOM_SKETCHER_POINT"
-msgstr "Point"
-
-msgid "GEOM_SKETCHER_SEGMENT"
-msgstr "Segment"
-
-msgid "GEOM_SKETCHER_ARC"
-msgstr "Arc"
-
-msgid "GEOM_SKETCHER_DIR"
-msgstr "Direction"
-
-msgid "GEOM_SKETCHER_POINT2"
-msgstr "Point :"
-
-msgid "GEOM_SKETCHER_DEST"
-msgstr "Destination"
-
-msgid "GEOM_SKETCHER_ABS"
-msgstr "Absolute"
-
-msgid "GEOM_SKETCHER_REL"
-msgstr "Relative"
-
-msgid "GEOM_SKETCHER_SEL"
-msgstr "Selection"
-
-msgid "GEOM_SKETCHER_ANGLE"
-msgstr "Angle"
-
-msgid "GEOM_SKETCHER_PER"
-msgstr "Perpendicular"
-
-msgid "GEOM_SKETCHER_TAN"
-msgstr "Tangent"
-
-msgid "GEOM_SKETCHER_VXVY"
-msgstr "VX-VY"
-
-msgid "GEOM_SKETCHER_LENGTH"
-msgstr "Length"
-
-msgid "GEOM_SKETCHER_X"
-msgstr "X"
-
-msgid "GEOM_SKETCHER_Y"
-msgstr "Y"
-
-msgid "GEOM_SKETCHER_X2"
-msgstr "X :"
-
-msgid "GEOM_SKETCHER_Y2"
-msgstr "Y :"
-
-msgid "GEOM_SKETCHER_X3"
-msgstr "Abs. X :"
-
-msgid "GEOM_SKETCHER_Y3"
-msgstr "Abs. Y :"
-
-msgid "GEOM_SKETCHER_DX2"
-msgstr "DX :"
-
-msgid "GEOM_SKETCHER_DY2"
-msgstr "DY :"
-
-msgid "GEOM_SKETCHER_VX2"
-msgstr "VX :"
-
-msgid "GEOM_SKETCHER_VY2"
-msgstr "VY :"
-
-msgid "GEOM_SKETCHER_LENGTH2"
-msgstr "Length :"
-
-msgid "GEOM_SKETCHER_ANGLE2"
-msgstr "Angle :"
-
-msgid "GEOM_SKETCHER_RADIUS2"
-msgstr "Radius :"
-
-msgid "GEOM_SKETCHER_UNDO"
-msgstr "Undo"
-
-msgid "GEOM_SKETCHER_APPLY"
-msgstr "Apply"
-
-msgid "GEOM_SKETCHER_VALUES"
-msgstr "Values"
-
-msgid "GEOM_SKETCHER_TYPE"
-msgstr "Type"
-
-msgid "GEOM_FILLET_ABORT"
-msgstr "Fillet can't be computed with radius %1"
-
-msgid "GEOM_CHAMFER_ABORT"
-msgstr "Chamfer can't be computed with %1 and %2"
-
diff --git a/src/GEOMContext/GEOM_msg_fr.po b/src/GEOMContext/GEOM_msg_fr.po
deleted file mode 100644 (file)
index f0ba804..0000000
+++ /dev/null
@@ -1,1316 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2002-03-19 09:35:48 AM CET\n"
-"PO-Revision-Date: YYYY-MM-DD\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#
-#==============================================================================
-#
-
-#Button Apply
-msgid "GEOM_BUT_APPLY"
-msgstr "&Appliquer"
-
-#Button Close
-msgid "GEOM_BUT_CLOSE"
-msgstr "&Fermer"
-
-#Button Cancel
-msgid "GEOM_BUT_CANCEL"
-msgstr "&Annuler"
-
-#Button Ok
-msgid "GEOM_BUT_OK"
-msgstr "&Ok"
-
-#Button Yes
-msgid "GEOM_BUT_YES"
-msgstr "&Oui"
-
-#Button No
-msgid "GEOM_BUT_NO"
-msgstr "&Non"
-
-#Button Help
-msgid "GEOM_BUT_HELP"
-msgstr "&Aide"
-
-
-#Button Explode
-msgid "GEOM_BUT_EXPLODE"
-msgstr "&Exploser"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:563
-msgid "GEOM_INF_LOADED"
-msgstr "Le fichier %1 est chargé."
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3069
-msgid "GEOM_PRP_COMMAND"
-msgstr "Pas de commande associée à l'id = %1."
-
-#: GeometryGUI.cxx:4977
-msgid "GEOM_PRP_ABORT"
-msgstr "L'opération a echoué"
-
-#: GeometryGUI.cxx:5058
-msgid "GEOM_PRP_DONE"
-msgstr "Opération effectuée"
-
-#: GeometryGUI.cxx:3717
-msgid "GEOM_PRP_LOADING"
-msgstr "Chargement de %1 ..."
-
-#: GeometryGUI.cxx:1412
-msgid "GEOM_PRP_NULLSHAPE"
-msgstr "Erreur, objet inconsistant ou inapproprié !"
-
-#: GeometryGUI.cxx:5072
-msgid "GEOM_PRP_READY"
-msgstr "Prêt..."
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_SUBSHAPES"
-msgstr "Selection de sous objets"
-
-msgid "GEOM_CONFIRM"
-msgstr "Confirmer cette operation"
-
-msgid "GEOM_CONFIRM_INFO"
-msgstr "L'objet contient %1 sous objets"
-
-
-msgid "GEOM_PRP_NOT_FOR_VTK_VIEWER"
-msgstr "Non permis dans viewer VTK"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SHAPE_IN_STUDY"
-msgstr "La shape principale doit etre avant dans l'etude"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_EDGE"
-msgstr "Selectionner les edges et clicker sur Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FACE"
-msgstr "Select les faces a supprimer et clicker sur Ok/Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FIRST"
-msgstr "Selectionner la shape principale en premier"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_MIN_DIST"
-msgstr "Min Distance non calculer"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3698
-msgid "GEOM_MEN_ALL_FILES"
-msgstr "Tous fichiers ( * )"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ANGLE"
-msgstr "Angle :"
-
-#: GeometryGUI.cxx:3941
-msgid "GEOM_MEN_COMPONENT"
-msgstr "Géometrie"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ENTER_ANGLE"
-msgstr "Saisir un angle en degrés"
-
-#: GeometryGUI.cxx:3758
-msgid "GEOM_MEN_EXPORT"
-msgstr "Exporter"
-
-#: GeometryGUI.cxx:3648
-msgid "GEOM_MEN_IMPORT"
-msgstr "Importer"
-
-#: GeometryGUI.cxx:3761
-msgid "GEOM_MEN_IMPORT_BREP"
-msgstr "Fichiers BREP ( *.brep )"
-
-#: GeometryGUI.cxx:3762
-msgid "GEOM_MEN_IMPORT_IGES"
-msgstr "Fichiers IGES ( *.iges *.igs )"
-
-#: GeometryGUI.cxx:3763
-msgid "GEOM_MEN_IMPORT_STEP"
-msgstr "Fichiers STEP ( *.step *.stp )"
-
-#: GeometryGUI.cxx:3763
-msgid "GEOM_MEN_LOAD_SCRIPT"
-msgstr "Fichiers PYTHON ( *.py )"
-
-#: GeometryGUI.cxx:2931
-msgid "GEOM_MEN_ISOS"
-msgstr "Choisir un nombre d'isos"
-
-#: GeometryGUI.cxx:4278
-msgid "GEOM_MEN_POPUP_NAME"
-msgstr "%1 Objets"
-
-#: GeometryGUI.cxx:4414
-msgid "GEOM_MEN_SKETCHER_X"
-msgstr "Saisir une longueur pour fixer X"
-
-#: GeometryGUI.cxx:4438
-msgid "GEOM_MEN_SKETCHER_Y"
-msgstr "Saisir une longueur pour fixer Y"
-
-#: GeometryGUI.cxx:2898
-msgid "GEOM_MEN_TRANSPARENCY"
-msgstr "Transparence"
-
-#: GeometryGUI.cxx:4413
-msgid "GEOM_MEN_X"
-msgstr "X :"
-
-#: GeometryGUI.cxx:4437
-msgid "GEOM_MEN_Y"
-msgstr "Y :"
-
-#: GeometryGUI_NbIsosDlg.cxx:36
-msgid "GEOM_MEN_ISOU"
-msgstr "Isos u :"
-
-#: GeometryGUI_NbIsosDlg.cxx:53
-msgid "GEOM_MEN_ISOV"
-msgstr "Isos v :"
-
-#: GeometryGUI_TransparencyDlg.cxx:31
-msgid "GEOM_MEN_TRANSPARENCY_LABEL"
-msgstr "Transparence :"
-
-msgid "GEOM_MEN_STEP_LABEL"
-msgstr "Increment"
-
-msgid "GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE"
-msgstr "Noms identiques : selectionner avec la souris !"
-
-msgid "GEOM_NAME_INCORRECT"
-msgstr "Le nom saisi n'existe pas"
-
-
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:892
-msgid "GEOM_WRN_RADIUS_NULL"
-msgstr "Le rayon est nul"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_WRN_WARNING"
-msgstr "Avertissement"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_REALLY_DELETE"
-msgstr "Voulez-vous supprimer l'object(s) ?"
-
-#
-#==============================================================================
-#
-
-#Object
-msgid "GEOM_OBJECT"
-msgstr "Objet"
-
-#Main object
-msgid "GEOM_MAIN_OBJECT"
-msgstr "Objet Principal"
-
-#Tool object
-msgid "GEOM_TOOL_OBJECT"
-msgstr "Objet Outil"
-
-#Base Object
-msgid "GEOM_BASE_OBJECT"
-msgstr "Objet De Base"
-
-#Path Object
-msgid "GEOM_PATH_OBJECT"
-msgstr "Objet Chemin"
-
-#Objects
-msgid "GEOM_OBJECTS"
-msgstr "Objets"
-
-#Object i
-msgid "GEOM_OBJECT_I"
-msgstr "Objet %1"
-
-#Object and result
-msgid "GEOM_OBJECT_RESULT"
-msgstr "Objet Et Résultat"
-
-#Point
-msgid "GEOM_POINT"
-msgstr "Point"
-
-#Base point
-msgid "GEOM_BASE_POINT"
-msgstr "Point De Base"
-
-#Center Point
-msgid "GEOM_CENTER_POINT"
-msgstr "Point Centre"
-
-#Diagonal Points
-msgid "GEOM_DIAGONAL_POINTS"
-msgstr "Points Diagonaux"
-
-#Central Point
-msgid "GEOM_CENTRAL_POINT"
-msgstr "Point Central"
-
-#Points
-msgid "GEOM_POINTS"
-msgstr "Points"
-
-#Point i
-msgid "GEOM_POINT_I"
-msgstr "Point %1"
-
-#Arguments
-msgid "GEOM_ARGUMENTS"
-msgstr "Arguments"
-
-#Center
-msgid "GEOM_CENTER"
-msgstr "Centre"
-
-#Radius
-msgid "GEOM_RADIUS"
-msgstr "Rayon"
-
-#Radius i
-msgid "GEOM_RADIUS_I"
-msgstr "Rayon %1"
-
-#Height
-msgid "GEOM_HEIGHT"
-msgstr "Hauteur"
-
-#Length
-msgid "GEOM_LENGTH"
-msgstr "Longueur :"
-
-#Weight
-msgid "GEOM_WEIGHT"
-msgstr "poids"
-
-#Coordinates
-msgid "GEOM_COORDINATES"
-msgstr "Coordonnées"
-
-#Coor.
-msgid "GEOM_COOR"
-msgstr "Coord. :"
-
-#Reverse
-msgid "GEOM_REVERSE"
-msgstr "Renverser"
-
-#Reverse U
-msgid "GEOM_REVERSE_U"
-msgstr "Renverser U"
-
-#Reverse V
-msgid "GEOM_REVERSE_V"
-msgstr "Reverser V"
-
-#Angle
-msgid "GEOM_ANGLE"
-msgstr "Angle :"
-
-#Axis
-msgid "GEOM_AXIS"
-msgstr "Axe"
-
-#Matrix
-msgid "GEOM_MATRIX"
-msgstr "Matrice :"
-
-#Vector Length
-msgid "GEOM_VECTOR_LENGTH"
-msgstr "Longueur Du Vecteur :"
-
-#Reverse Vector
-msgid "GEOM_REVERSE_VECTOR"
-msgstr "Renverser Le Vecteur"
-
-#Plane Mirror
-msgid "GEOM_PLANE_MIRROR"
-msgstr "Plan Miroir"
-
-#Face Selection
-msgid "GEOM_FACE_SELECTION"
-msgstr "Selection de Face"
-
-#Base
-msgid "GEOM_BASE"
-msgstr "Base"
-
-#Water Density
-msgid "GEOM_WATER_DENSITY"
-msgstr "Densité de l'eau :"
-
-#Meshing Deflection
-msgid "GEOM_MESHING_DEFLECTION"
-msgstr "Déflection Du Maillage :"
-
-#Dimensions
-msgid "GEOM_DIMENSIONS"
-msgstr "Dimensions"
-
-#Precision
-msgid "GEOM_PRECISION"
-msgstr "Précision :"
-
-#Selection
-msgid "GEOM_SELECTION"
-msgstr "Sélection"
-
-#Nb. Times
-msgid "GEOM_NB_TIMES"
-msgstr "Nb. Fois :"
-
-#Nb. Times U
-msgid "GEOM_NB_TIMES_U"
-msgstr "Nb. Fois U :"
-
-#Nb. Times V
-msgid "GEOM_NB_TIMES_V"
-msgstr "Nb. Fois V :"
-
-#Step
-msgid "GEOM_STEP"
-msgstr "Pas :"
-
-#Step V
-msgid "GEOM_STEP_V"
-msgstr "Pas V :"
-
-#Step U
-msgid "GEOM_STEP_U"
-msgstr "Pas U :"
-
-#
-#==============================================================================
-#
-
-#Partition
-msgid "GEOM_PARTITION"
-msgstr "Partition"
-
-#Tolerance
-msgid "GEOM_TOLERANCE"
-msgstr "Tolérance"
-
-#Orientation
-msgid "GEOM_ORIENTATION"
-msgstr "Orientation"
-
-#Pipe
-msgid "GEOM_PIPE"
-msgstr "Pipe"
-
-#Revolution
-msgid "GEOM_REVOLUTION"
-msgstr "Révolution"
-
-#Rotation
-msgid "GEOM_ROTATION"
-msgstr "Rotation"
-
-#Archimede
-msgid "GEOM_ARCHIMEDE"
-msgstr "Archimède"
-
-#Common
-msgid "GEOM_COMMON"
-msgstr "Joindre"
-
-#Cut
-msgid "GEOM_CUT" 
-msgstr "Couper"
-
-#Distance
-msgid "GEOM_DISTANCE"
-msgstr "Distance"
-
-#Filling
-msgid "GEOM_FILLING"
-msgstr "Surface Par Courbes"
-
-#Fuse
-msgid "GEOM_FUSE"
-msgstr "Fusionner"
-
-#Scale
-msgid "GEOM_SCALE"
-msgstr "Echelle"
-
-#Section
-msgid "GEOM_SECTION"
-msgstr "Section"
-
-#Sewing
-msgid "GEOM_SEWING"
-msgstr "Coudre"
-
-#Translation
-msgid "GEOM_TRANSLATION"
-msgstr "Translation"
-
-#Working Plane
-msgid "GEOM_WPLANE"
-msgstr "Plan de Travail"
-
-#Mirror
-msgid "GEOM_MIRROR"
-msgstr "Miroir"
-
-#Prism
-msgid "GEOM_PRISM"
-msgstr "Extrusion"
-
-#Sub Shapes
-msgid "GEOM_SUB_SHAPE"
-msgstr "Sous Shapes"
-
-#Supress Face
-msgid "GEOM_SUPRESSFACE"
-msgstr "Supression de Face"
-
-#Fillet
-msgid "GEOM_FILLET"
-msgstr "Conge"
-
-#Chamfer
-msgid "GEOM_CHAMFER"
-msgstr "Chanfrein"
-
-#Check Shape
-msgid "GEOM_CHECK_SHAPE"
-msgstr "Check Shape"
-
-#Whatis
-msgid "GEOM_WHATIS"
-msgstr "Whatis"
-
-#Bounding Box
-msgid "GEOM_BNDBOX"
-msgstr "Boite Anglobante"
-
-#Center Of Mass
-msgid "GEOM_CMASS"
-msgstr "Centre de Masse"
-
-#Basic Properties
-msgid "GEOM_PROPERTIES"
-msgstr "Basiques Proprietes"
-
-#Multi-Translation
-msgid "GEOM_MULTITRANSLATION"
-msgstr "Multi-Translation"
-
-#Multi-Rotation
-msgid "GEOM_MULTIROTATION"
-msgstr "Multi-Rotation"
-
-#
-#==============================================================================
-#
-
-#Arc
-msgid "GEOM_ARC"
-msgstr "Arc"
-
-#Box
-msgid "GEOM_BOX"
-msgstr "Boite"
-
-#Circle
-msgid "GEOM_CIRCLE"
-msgstr "Cercle"
-
-#Ellipse
-msgid "GEOM_ELLIPSE"
-msgstr "Ellipse"
-
-msgid "GEOM_ELLIPSE_TITLE"
-msgstr "Construction d'Ellipses"
-
-#Radius major
-msgid "GEOM_RADIUS_MAJOR"
-msgstr "Rayon max. :"
-
-#Radius minor
-msgid "GEOM_RADIUS_MINOR"
-msgstr "Rayon min. :"
-
-#Compound
-msgid "GEOM_COMPOUND"
-msgstr "Compound"
-
-#CompSolid
-msgid "GEOM_COMPOUNDSOLID"
-msgstr "CompSolid"
-
-#Cone
-msgid "GEOM_CONE"
-msgstr "Cone"
-
-#Cylinder
-msgid "GEOM_CYLINDER"
-msgstr "Cylindre"
-
-#Edge
-msgid "GEOM_EDGE"
-msgstr "Edge"
-
-#Face
-msgid "GEOM_FACE"
-msgstr "Face"
-
-#Faces
-msgid "GEOM_FACES"
-msgstr "Faces"
-
-#Line
-msgid "GEOM_LINE"
-msgstr "Ligne"
-
-#Plane
-msgid "GEOM_PLANE"
-msgstr "Plan"
-
-#Shape
-msgid "GEOM_SHAPE"
-msgstr "Shape"
-
-#Shell
-msgid "GEOM_SHELL"
-msgstr "Shell"
-
-#Solid
-msgid "GEOM_SOLID"
-msgstr "Solide"
-
-#Sphere
-msgid "GEOM_SPHERE"
-msgstr "Sphère"
-
-#Conical Face
-msgid "GEOM_SURFCONE"
-msgstr "Face Conique"
-
-#Cylindrical Face
-msgid "GEOM_SURFCYLINDER"
-msgstr "Face Cylindrique"
-
-#Spherical Face
-msgid "GEOM_SURFSPHERE"
-msgstr "Face Sphèrique"
-
-#Toroidal Face
-msgid "GEOM_SURFTORUS"
-msgstr "Face Toroique"
-
-#Torus
-msgid "GEOM_TORUS"
-msgstr "Tore"
-
-#Vector
-msgid "GEOM_VECTOR"
-msgstr "Vecteur"
-
-#Vector U
-msgid "GEOM_VECTOR_U"
-msgstr "Vecteur U"
-
-#Vector V
-msgid "GEOM_VECTOR_V"
-msgstr "Vecteur V"
-
-#Vertex
-msgid "GEOM_VERTEX"
-msgstr "Vertex"
-
-#Wire
-msgid "GEOM_WIRE"
-msgstr "Wire"
-
-#Wire(s)
-msgid "GEOM_WIRES"
-msgstr "Wire(s)"
-       
-#Parameter
-msgid "GEOM_PARAMETER"
-msgstr "Paramètre :"
-
-
-#
-#==============================================================================
-#
-
-#Min
-msgid "GEOM_MIN"
-msgstr "Min :"
-
-#Max
-msgid "GEOM_MAX"
-msgstr "Max :"
-
-#X
-msgid "GEOM_X"
-msgstr "X :"
-
-#Y
-msgid "GEOM_Y"
-msgstr "Y :"
-
-#Z
-msgid "GEOM_Z"
-msgstr "Z :"
-
-#DX
-msgid "GEOM_DX"
-msgstr "Dx :"
-
-#DY
-msgid "GEOM_DY"
-msgstr "Dy :"
-
-#DZ
-msgid "GEOM_DZ"
-msgstr "Dz :"
-
-#D1
-msgid "GEOM_D1"
-msgstr "D1 :"
-
-#D2
-msgid "GEOM_D2"
-msgstr "D2 :"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx
-msgid "GEOM_STEP_TITLE"
-msgstr "Increment par défaut lors des constructions"
-
-#: GeometryGUI_ArcDlg.cxx:45
-msgid "GEOM_ARC_TITLE"
-msgstr "Construction d'un Arc"
-
-#: GeometryGUI_ArchimedeDlg.cxx:55
-msgid "GEOM_ARCHIMEDE_TITLE"
-msgstr "Construction d'Archimède"
-
-#: GeometryGUI_BndBoxDlg.cxx:59
-msgid "GEOM_BNDBOX_TITLE"
-msgstr "Boite Englobante"
-
-#: GeometryGUI_BndBoxDlg.cxx:82
-msgid "GEOM_BNDBOX_OBJDIM"
-msgstr "Objet and ses dimensions"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_TITLE"
-msgstr "Construction d'une Boite"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_OBJ"
-msgstr "Dimensions A l'Origine"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_TITLE"
-msgstr "Construction d'un Chanfrein"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_ALL"
-msgstr "Chanfrein sur toute la Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_EDGES"
-msgstr "Chanfrein sur Edges de la Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_FACES"
-msgstr "Chanfrein sur Faces de la Shape"
-
-#: GeometryGUI_CircleDlg.cxx:48
-msgid "GEOM_CIRCLE_TITLE"
-msgstr "Construction d'un Cercle"
-
-#: GeometryGUI_CenterMassDlg.cxx:77
-msgid "GEOM_CMASS_TITLE"
-msgstr "Centre De Gravité"
-
-msgid "GEOM_PLANE_SIZE"
-msgstr "Taille du plan :"
-
-#: GeometryGUI_CommonDlg.cxx:47
-msgid "GEOM_COMMON_TITLE"
-msgstr "BOOLEEN : Jonction De Deux Objets"
-
-#: GeometryGUI_CompoundDlg.cxx:44
-msgid "GEOM_COMPOUND_TITLE"
-msgstr "Création d'un Compound"
-
-#: GeometryGUI_ConeDlg.cxx:49
-msgid "GEOM_CONE_TITLE"
-msgstr "Construction d'un Cone"
-
-#: GeometryGUI_CutDlg.cxx:48
-msgid "GEOM_CUT_TITLE"
-msgstr "BOOLEEN : Couper Deux Objets"
-#
-#: GeometryGUI_CylinderDlg.cxx:47
-msgid "GEOM_CYLINDER_TITLE"
-msgstr "Construction d'un Cylindre"
-
-#: GeometryGUI_CheckShape.cxx:60
-msgid "GEOM_CHECK_TITLE"
-msgstr "Check Shape"
-
-#: GeometryGUI_CheckShape.cxx:83
-msgid "GEOM_CHECK_INFOS"
-msgstr "Objet et ses Informations Topologiques"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_TITLE"
-msgstr "Distance Minimale entre Deux Objets"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_OBJ"
-msgstr "Objets Et Resultats"
-
-#: GeometryGUI_EdgeDlg.cxx:47
-msgid "GEOM_EDGE_TITLE"
-msgstr "Création d'un Edge"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_TITLE"
-msgstr "Construction d'un Congé"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_ALL"
-msgstr "Congé sur toute la Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_EDGES"
-msgstr "Congé sur Edges de la Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_FACES"
-msgstr "Congé sur Faces de la Shape"
-
-#: GeometryGUI_FaceDlg.cxx:49
-msgid "GEOM_FACE_TITLE"
-msgstr "Création d'une Face"
-
-#: GeometryGUI_FaceDlg.cxx:78
-msgid "GEOM_FACE_FFW"
-msgstr "Face a partir d'un wire"
-
-#: GeometryGUI_FaceDlg.cxx:103
-msgid "GEOM_FACE_OPT"
-msgstr "Création d'une Face plane"
-
-#: GeometryGUI_FillingDlg.cxx:53
-msgid "GEOM_FILLING_TITLE"
-msgstr "Surface Par Courbes"
-
-#: GeometryGUI_FillingDlg.cxx:112
-msgid "GEOM_FILLING_ARG"
-msgstr "Argument Et Parametres"
-
-#: GeometryGUI_FillingDlg.cxx:128
-msgid "GEOM_FILLING_MIN_DEG"
-msgstr "Min. Deg"
-
-#: GeometryGUI_FillingDlg.cxx:142
-msgid "GEOM_FILLING_MAX_DEG"
-msgstr "Max. Deg"
-
-#: GeometryGUI_FillingDlg.cxx:150
-msgid "GEOM_FILLING_TOL_2D"
-msgstr "Tol. 2D"
-
-#: GeometryGUI_FillingDlg.cxx:170
-msgid "GEOM_FILLING_COMPOUND"
-msgstr "Compound de Courbes"
-
-#: GeometryGUI_FillingDlg.cxx:184
-msgid "GEOM_FILLING_TOL_3D"
-msgstr "Tol. 3D"
-
-#: GeometryGUI_FillingDlg.cxx:192
-msgid "GEOM_FILLING_NB_ITER"
-msgstr "Nb. Iter"
-
-#: GeometryGUI_FuseDlg.cxx:48
-msgid "GEOM_FUSE_TITLE"
-msgstr "BOOLEEN : Fusionner deux Objets"
-
-#: GeometryGUI_InertiaDlg.cxx:42
-msgid "GEOM_INERTIA_TITLE"
-msgstr "Calculs d'Inertie"
-
-#: GeometryGUI_InertiaDlg.cxx:50
-msgid "GEOM_INERTIA_CONSTR"
-msgstr "Matrice Et Moments d'Inertie"
-
-#: GeometryGUI_InertiaDlg.cxx:100
-msgid "GEOM_INERTIA_I"
-msgstr "%1:1"
-
-#: GeometryGUI_InertiaDlg.cxx:182
-msgid "GEOM_INERTIA_IXYZ"
-msgstr "IX & IY & IZ"
-
-#: GeometryGUI_LineDlg.cxx:50
-msgid "GEOM_LINE_TITLE"
-msgstr "Construction d'une Ligne"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:53
-msgid "GEOM_TOLERANCE_TITLE"
-msgstr "Tolerance Maximale"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:84
-msgid "GEOM_TOLERANCE_CONSTR"
-msgstr "Object et ses Tolerances"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:121
-msgid "GEOM_TOLERANCE_FACE"
-msgstr "Face :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:138
-msgid "GEOM_TOLERANCE_EDGE"
-msgstr "Edge :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:155
-msgid "GEOM_TOLERANCE_VERTEX"
-msgstr "Vertex :"
-
-#: GeometryGUI_MirrorDlg.cxx:52
-msgid "GEOM_MIRROR_TITLE"
-msgstr "Methode Miroir"
-
-#: GeometryGUI_OrientationDlg.cxx:46
-msgid "GEOM_ORIENTATION_TITLE"
-msgstr "Changer l'Orientation"
-
-#: GeometryGUI_OrientationDlg.cxx:134
-msgid "GEOM_ORIENTATION_OPT"
-msgstr "Renverser l'orientation avec une simulation de vecteur normal"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_TITLE"
-msgstr "Partition d'Objects Avec Outils"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_KEEP_OBJECT"
-msgstr "Objet garde"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_ORIENTATION"
-msgstr "Change l'orientation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-#: GeometryGUI_PipeDlg.cxx:47
-msgid "GEOM_PIPE_TITLE"
-msgstr "Construction d'une Pipe"
-
-#: GeometryGUI_PointDlg.cxx:52
-msgid "GEOM_POINT_TITLE"
-msgstr "Construction d'un Point"
-
-#: GeometryGUI_PlaneDlg.cxx:60
-msgid "GEOM_PLANE_TITLE"
-msgstr "Construction d'un Plan"
-
-#: GeometryGUI_PlaneDlg.cxx:172
-msgid "GEOM_PLANE_PVC"
-msgstr "Point + Vecteur Coordonnes"
-
-#: GeometryGUI_PlaneDlg.cxx:133
-msgid "GEOM_PLANE_PV"
-msgstr "Point + Vecteur"
-
-#: GeometryGUI_PrismDlg.cxx:54
-msgid "GEOM_PRISM_TITLE"
-msgstr "Extruder une Shape de base"
-
-#: GeometryGUI_PrismDlg.cxx:83
-msgid "GEOM_PRISM_BSV"
-msgstr "Shape de base + Vecteur"
-
-#: GeometryGUI_PropertiesDlg.cxx:56
-msgid "GEOM_PROPERTIES_TITLE"
-msgstr "Proprietes Basiques"
-
-#: GeometryGUI_PropertiesDlg.cxx:78
-msgid "GEOM_PROPERTIES_CONSTR"
-msgstr "Objet et ses Proprietes"
-
-#: GeometryGUI_PropertiesDlg.cxx:114
-msgid "GEOM_PROPERTIES_SURFACE"
-msgstr "Surface :"
-
-#: GeometryGUI_PropertiesDlg.cxx:120
-msgid "GEOM_PROPERTIES_VOLUME"
-msgstr "Volume :"
-
-#: GeometryGUI_RevolDlg.cxx:49
-msgid "GEOM_REVOLUTION_TITLE"
-msgstr "Construction Par Revolution"
-
-#: GeometryGUI_RotationDlg.cxx:51
-msgid "GEOM_ROTATION_TITLE"
-msgstr "Rotation d'un Objet"
-
-#: GeometryGUI_ScaleDlg.cxx:52
-msgid "GEOM_SCALE_TITLE"
-msgstr "Echelle d'un Objet"
-
-#: GeometryGUI_ScaleDlg.cxx:117
-msgid "GEOM_SCALE_FACTOR"
-msgstr "Facteur d'echelle"
-
-#: GeometryGUI_SectionDlg.cxx:50
-msgid "GEOM_SECTION_TITLE"
-msgstr "BOOLEEN : Section De Deux Objets"
-
-#: GeometryGUI_SewingDlg.cxx:48
-msgid "GEOM_SEWING_TITLE"
-msgstr "Coudre des Topologies"
-
-#: GeometryGUI_ShellDlg.cxx:53
-msgid "GEOM_SHELL_TITLE"
-msgstr "Construction d'une Shell"
-
-#: GeometryGUI_SolidDlg.cxx:74
-msgid "GEOM_SOLID_TITLE"
-msgstr "Construction d'un Solid"
-
-#: GeometryGUI_SphereDlg.cxx:50
-msgid "GEOM_SPHERE_TITLE"
-msgstr "Construction d'une Sphere"
-
-#: GeometryGUI_SphereDlg.cxx:113
-msgid "GEOM_SPHERE_CR"
-msgstr "Centre + rayon"
-
-#: GeometryGUI_SphereDlg.cxx:146
-msgid "GEOM_SPHERE_RO"
-msgstr "Rayon a l'origine"
-
-#: GeometryGUI_SubShapeDlg.cxx:55
-msgid "GEOM_SUBSHAPE_TITLE"
-msgstr "Selection de Sous Shapes"
-
-#: GeometryGUI_SubShapeDlg.cxx:131
-msgid "GEOM_SUBSHAPE_TYPE"
-msgstr "Type de Sous Shapes"
-
-#: GeometryGUI_SubShapeDlg.cxx:137
-msgid "GEOM_SUBSHAPE_SELECT"
-msgstr "Selectionner de Sous Shapes"
-
-#: GeometryGUI_TorusDlg.cxx:51
-msgid "GEOM_TORUS_TITLE"
-msgstr "Constructiond'un Tore"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:103
-msgid "GEOM_SUPRESSFACE_TITLE"
-msgstr "Supprimer des Faces dans un Objet"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:164
-msgid "GEOM_SUPRESSFACE_SELECT"
-msgstr "Selectionner les Faces a Supprimer"
-
-#: GeometryGUI_TranslationDlg.cxx:78
-msgid "GEOM_TRANSLATION_COOR"
-msgstr "Translation Avec Coordonnees"
-
-msgid "GEOM_TRANSPARENCY_TITLE"
-msgstr "Transparence"  
-
-msgid "GEOM_TRANSPARENCY_OPAQUE"
-msgstr "Opaque"
-
-msgid "GEOM_TRANSPARENCY_TRANSPARENT"
-msgstr "Transparent"
-
-msgid "GEOM_SUPPRESSHOLE_TITLE"
-msgstr "Suppression de trous"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE"
-msgstr "Selection de la face initiale"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE"
-msgstr "Selection du contour/trou sur la face"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE_END"
-msgstr "Selection de la face terminale (si trou traversant)"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE_END"
-msgstr "Selection de contour final (si trou traversant)"
-
-msgid "GEOM_SUPPRESSHOLE_FACE_SHELL"
-msgstr "Face ou shell"
-       
-msgid "GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE"
-msgstr "Selection de trou(s) sur la face"
-
-#: GeometryGUI_TranslationDlg.cxx:56
-msgid "GEOM_TRANSLATION_TITLE"
-msgstr "Translation d'un Objet"
-
-#: GeometryGUI_VectorDlg.cxx:54
-msgid "GEOM_VECTOR_TITLE"
-msgstr "Construction d'un Vecteur" 
-
-#: GeometryGUI_WhatisDlg.cxx:63
-msgid "GEOM_WHATIS_TITLE"
-msgstr "Whatis"
-
-#: GeometryGUI_WhatisDlg.cxx:86
-msgid "GEOM_WHATIS_OBJECT"
-msgstr "Objet et ses Informations Topologiques"
-
-#: GeometryGUI_WireDlg.cxx:46
-msgid "GEOM_WIRE_TITLE"
-msgstr "Creer un Wire"
-
-#: GeometryGUI_WireDlg.cxx:103
-msgid "GEOM_WIRE_CONNECT"
-msgstr "Creation d'un Wire a partir de wires/edges connectes"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:50
-msgid "GEOM_WPLANE_TITLE"
-msgstr "plan de travail"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_FACE"
-msgstr "Plan Ou Face plane"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_TITLE"
-msgstr "Multi-Translation"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_SIMPLE"
-msgstr "Multi Translation Simple"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_DOUBLE"
-msgstr "Multi Translation Double"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_TITLE"
-msgstr "Multi-Rotation"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_SIMPLE"
-msgstr "Multi Rotation Simple"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_DOUBLE"
-msgstr "Multi Rotation Double"
-
-msgid "GEOM_PARAM_POINT"
-msgstr "Point paramétrique"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_WIREFRAME"
-msgstr "Filaire"
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_SHADING"
-msgstr "Ombré"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT"
-msgstr "Limite de Reconstruction"
-
-msgid "GEOM_SUPPRESS_RESULT"
-msgstr "Supprimer le Resultat"
-
-msgid "GEOM_SUPPRESS_RESULT_INSIDE"
-msgstr "Intérieur"
-
-msgid "GEOM_SUPPRESS_RESULT_OUTSIDE"
-msgstr "Extérieur"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHAPE"
-msgstr "Shape"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SOLID"
-msgstr "Solid"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHELL"
-msgstr "Shell"
-msgid "GEOM_RECONSTRUCTION_LIMIT_FACE"
-msgstr "Face"
-msgid "GEOM_RECONSTRUCTION_LIMIT_WIRE"
-msgstr "Wire"
-msgid "GEOM_RECONSTRUCTION_LIMIT_EDGE"
-msgstr "Edge"
-msgid "GEOM_RECONSTRUCTION_LIMIT_VERTEX"
-msgstr "Vertex"
-
-msgid "GEOM_SPLINE_TITLE"
-msgstr "Construction de Splines"
-msgid "GEOM_SPLINE"
-msgstr "Spline"
-msgid "GEOM_BEZIER"
-msgstr "Bezier"
-msgid "GEOM_INTERPOL"
-msgstr "Interpolation"
-
-#
-#==============================================================================
-#
-
-msgid "GEOM_SKETCHER_EL"
-msgstr "Type d'Element"
-
-msgid "GEOM_BUT_CLOSE_SKETCH"
-msgstr "Fermer Sketch"
-
-msgid "GEOM_BUT_END_SKETCH"
-msgstr "Terminer Sketch"
-
-msgid "GEOM_SKETCHER_TITLE"
-msgstr "Construction de Sketch"
-
-msgid "GEOM_SKETCHER_POINT"
-msgstr "Point"
-
-msgid "GEOM_SKETCHER_SEGMENT"
-msgstr "Sègment"
-
-msgid "GEOM_SKETCHER_ARC"
-msgstr "Arc"
-
-msgid "GEOM_SKETCHER_DIR"
-msgstr "Direction"
-
-msgid "GEOM_SKETCHER_POINT2"
-msgstr "Point :"
-
-msgid "GEOM_SKETCHER_DEST"
-msgstr "Destination"
-
-msgid "GEOM_SKETCHER_ABS"
-msgstr "Absolu"
-
-msgid "GEOM_SKETCHER_REL"
-msgstr "Relative"
-
-msgid "GEOM_SKETCHER_SEL"
-msgstr "Sélection"
-
-msgid "GEOM_SKETCHER_ANGLE"
-msgstr "Angle"
-
-msgid "GEOM_SKETCHER_PER"
-msgstr "Perpendiculaire"
-
-msgid "GEOM_SKETCHER_TAN"
-msgstr "Tangent"
-
-msgid "GEOM_SKETCHER_VXVY"
-msgstr "VX-VY"
-
-msgid "GEOM_SKETCHER_LENGTH"
-msgstr "Longueur"
-
-msgid "GEOM_SKETCHER_X"
-msgstr "X"
-
-msgid "GEOM_SKETCHER_Y"
-msgstr "Y"
-
-msgid "GEOM_SKETCHER_X2"
-msgstr "X :"
-
-msgid "GEOM_SKETCHER_Y2"
-msgstr "Y :"
-
-msgid "GEOM_SKETCHER_X3"
-msgstr "Abs. X :"
-
-msgid "GEOM_SKETCHER_Y3"
-msgstr "Abs. Y :"
-
-msgid "GEOM_SKETCHER_DX2"
-msgstr "DX :"
-
-msgid "GEOM_SKETCHER_DY2"
-msgstr "DY :"
-
-msgid "GEOM_SKETCHER_VX2"
-msgstr "VX :"
-
-msgid "GEOM_SKETCHER_VY2"
-msgstr "VY :"
-
-msgid "GEOM_SKETCHER_LENGTH2"
-msgstr "Longueur :"
-
-msgid "GEOM_SKETCHER_ANGLE2"
-msgstr "Angle :"
-
-msgid "GEOM_SKETCHER_RADIUS2"
-msgstr "Radius :"
-
-msgid "GEOM_SKETCHER_UNDO"
-msgstr "Undo"
-
-msgid "GEOM_SKETCHER_APPLY"
-msgstr "Appliquer"
-
-msgid "GEOM_SKETCHER_VALUES"
-msgstr "Valeurs"
-
-msgid "GEOM_SKETCHER_TYPE"
-msgstr "Type"
-
-msgid "GEOM_FILLET_ABORT"
-msgstr "Le congé ne peut-être realisé avec un rayon de %1 "
-
-msgid "GEOM_CHAMFER_ABORT"
-msgstr "Le chanfrein ne peut-être realisé avec %1 et %2 "
diff --git a/src/GEOMContext/Makefile.in b/src/GEOMContext/Makefile.in
deleted file mode 100644 (file)
index 991d748..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#  GEOM GEOMCONTEXT : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMContext.la
-
-# ressources files
-PO_FILES = \
-       GEOM_icons.po \
-       GEOM_msg_en.po \
-       GEOM_msg_fr.po
-
-# header files 
-EXPORT_HEADERS= GEOMContext.h
-
-LIB_SRC =      GEOMContext.cxx
-
-LIB_MOC = \
-               GEOMContext.h
-
-LIB_CLIENT_IDL = SALOME_Exception.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS += -lOCCViewer -lVTKViewer -lSalomeObject -lSalomeGUI -lGEOMClient -lGEOMObject -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/GEOMDS/GEOMDS_Commands.cxx b/src/GEOMDS/GEOMDS_Commands.cxx
deleted file mode 100644 (file)
index d2fa1c3..0000000
+++ /dev/null
@@ -1,303 +0,0 @@
-//  GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GeomDS_Commands.cxx
-//  Author : Yves FRICAUD/Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "utilities.h"
-#include "GEOMDS_Commands.ixx"
-
-#include <TNaming_Builder.hxx>
-#include <TNaming_NamedShape.hxx>
-#include <TDataStd_Name.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDF_Reference.hxx>
-#include <TNaming_Tool.hxx>
-#include <TDF_ChildIterator.hxx>
-
-
-//=======================================================================
-//function : GEOMDS_Commands
-//purpose  : 
-//=======================================================================
-GEOMDS_Commands::GEOMDS_Commands(const TDF_Label& Main)
-  : myLab(Main)
-{
-}
-
-
-//=======================================================================
-// function : Generated()
-// purpose  :
-//=======================================================================
-TDF_Label GEOMDS_Commands::Generated(const TopoDS_Shape& S,
-                                    const TCollection_ExtendedString& Name)
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Generated(S);
-  TDataStd_Name::Set(NewLab,Name);
-  return NewLab;
-}
-
-
-
-//=======================================================================
-// function : Generated()
-// purpose  : 
-//=======================================================================
-TDF_Label GEOMDS_Commands::Generated(const TopoDS_Shape& S1,
-                                    const TopoDS_Shape& S2,
-                                    const TCollection_ExtendedString& Name)
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Generated(S1,S2);
-  TDataStd_Name::Set(NewLab,Name);
-  return NewLab;
-}
-
-
-
-//=======================================================================
-// function : AddShape()
-// purpose  :
-//=======================================================================
-TDF_Label GEOMDS_Commands::AddShape(const TopoDS_Shape& S,
-                                   const TCollection_ExtendedString& Name)
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Select(S,S);
-  TDataStd_Name::Set(NewLab,Name);
-  return NewLab;
-}
-
-
-//=======================================================================
-// function : AddIndependentShape()
-// purpose  : SAME than AddShape() : will be renamed later
-//=======================================================================
-TDF_Label GEOMDS_Commands::AddIndependentShape(const TopoDS_Shape& S, 
-                                              const TCollection_AsciiString& nameIOR)
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Select(S,S);
-  TDataStd_Name::Set(NewLab, nameIOR);
-  return NewLab;
-}
-
-
-//=======================================================================
-// function : AddDependentShape()
-// purpose  :
-//=======================================================================
-TDF_Label GEOMDS_Commands::AddDependentShape(const TopoDS_Shape& S,
-                                            const TCollection_AsciiString& nameIOR,
-                                            const TDF_Label& mainLab)
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Select(S,S);
-  TDataStd_Name::Set(NewLab, nameIOR);
-  /* NewLab has a reference attribute to mainLab (the main shape in fact) */
-  TDF_Reference::Set(NewLab, mainLab) ;
-  return NewLab;
-}
-
-
-
-//=======================================================================
-// function : AddConstructiveElement()
-// purpose  : 
-//=======================================================================
-TDF_Label GEOMDS_Commands::AddConstructiveElement(const TopoDS_Shape& S,
-                                                 const TCollection_ExtendedString& nameIOR,
-                                                 const GEOMDS_ConstructiveType& aType) 
-{
-  TDF_Label NewLab = myLab.NewChild();
-  TNaming_Builder B(NewLab);
-  B.Select(S,S);
-  TDataStd_Name::Set(NewLab, nameIOR);
-  /* Add the Attribute Constructive Element coded with a TDataStd_Integer from an enum */
-  TDataStd_Integer::Set(NewLab, Standard_Integer(aType));
-  return NewLab;
-}
-
-
-//=======================================================================
-// function : AddIORNameAttribute()       
-// purpose  : Add attribute TDataStd_Name to a label
-//          : this attribute represents the name/IOR of object
-//          : Return false if attribute exist before
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::AddIORNameAttribute(const TDF_Label& aLabel,
-                                                     const TCollection_ExtendedString& nameIOR)
-{
-  if( this->HasIOR(aLabel) )
-    return false ;
-  TDataStd_Name::Set(aLabel, nameIOR);
-  return true ; 
-}
-
-
-
-//=======================================================================
-// function : IsConstructiveElement() 1/2
-// purpose  : Return true if 'aLabel' is a constructive element
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::IsConstructiveElement(const TDF_Label& aLabel)
-{
-  Handle(TDataStd_Integer) anAttType ;
-  if( aLabel.FindAttribute(TDataStd_Integer::GetID(), anAttType ) )
-    return true ;
-  return false;
-}
-
-
-//=======================================================================
-// function : IsConstructiveElement() 2/2
-// purpose  : Return true if 'aLabel' is a constructive element and return the
-//          : topology ' returnTopo' and type 'returnType'
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::IsConstructiveElement(const TDF_Label& aLabel,
-                                                       TopoDS_Shape& returnTopo,
-                                                       GEOMDS_ConstructiveType& returnType)
-{
-  Handle(TDataStd_Integer) anAttType ;
-  Handle(TNaming_NamedShape) anAttTopo ;
-
-  if( aLabel.FindAttribute(TDataStd_Integer::GetID(), anAttType) && aLabel.FindAttribute(TNaming_NamedShape::GetID(), anAttTopo)) {
-
-    returnTopo = TNaming_Tool::GetShape(anAttTopo) ;
-    returnType = GEOMDS_ConstructiveType( anAttType->Get() ) ;
-    return true ;
-  }
-  return false;
-}
-
-
-//=======================================================================
-// function : GetShape()
-// purpose  : return true and 'returnTopo' if a topology is found on 'aLabel'
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::GetShape(const TDF_Label& aLabel,
-                                          TopoDS_Shape& returnTopo)
-{
-  Handle(TNaming_NamedShape) anAttTopo ;
-  if( aLabel.FindAttribute(TNaming_NamedShape::GetID(), anAttTopo)) {
-    returnTopo = TNaming_Tool::GetShape(anAttTopo) ;
-    return true ;
-  }
-  return false;
-}
-
-
-//=======================================================================
-// function : IsDependentShape()
-// purpose  : return true if the shape in the label is dependant (a sub shape)
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::IsDependentShape(const TDF_Label& aLabel)
-{
-  Handle(TDF_Reference) anAttRef ;
-  if( aLabel.FindAttribute(TDF_Reference::GetID(), anAttRef))
-    return true ;
-  return false;
-}
-
-
-
-//=======================================================================
-// function : GetMainShapeLabel()
-// purpose  : return true if an attribute Reference is found for 'aLabel'
-//          : so 'returnMainLabel' is defined. 'aLabel' is supposed to be
-//          : a dependent object, otherwise return false.
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::GetMainShapeLabel(const TDF_Label& aLabel,
-                                                   TDF_Label& returnMainLabel)
-{
-  Handle(TDF_Reference) anAttRef ;
-  if( aLabel.FindAttribute(TDF_Reference::GetID(), anAttRef)) {
-    returnMainLabel = anAttRef->Get() ;
-    return true ;
-  }
-  return false;
-}
-
-
-//=======================================================================
-// function : ClearAllIOR()
-// purpose  : Clear all IOR from aLabel usually the main label.
-//          : Useful before reconstruction after a load of a document.
-//          : IOR is the attribute often called 'name' or 'nameIOR'
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::ClearAllIOR(const TDF_Label& aLabel)
-{
-  TDF_ChildIterator it;
-  Handle(TDataStd_Name) anAttName ;
-  bool notTested = false ;
-  for( it.Initialize(aLabel, Standard_False); it.More(); it.Next() ) {
-    TDF_Label L = it.Value() ;
-    if( L.FindAttribute(TDataStd_Name::GetID(), anAttName) ) {
-      notTested = L.ForgetAttribute(TDataStd_Name::GetID()) ;
-      if(notTested)
-       MESSAGE("in GEOMDS_Commands::ClearAllIOR : IOR CLEARED" )
-    ClearAllIOR(L);
-    }
-  }
-  return true ;
-}
-
-
-//=======================================================================
-// function : HasIOR()
-// purpose  : Return true is 'aLabel' has an attribute IOR (nameIOR)
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::HasIOR(const TDF_Label& aLabel)
-{
-  Handle(TDataStd_Name) anAttName ;
-  if( !aLabel.FindAttribute(TDataStd_Name::GetID(), anAttName) )
-    return false ;
-  return true ;
-}
-
-//=======================================================================
-// function : ReturnNameIOR()
-// purpose  : Return true is 'aLabel' has an attribute IOR (nameIOR)
-//          : and define 'returnNameIOR'
-//=======================================================================
-Standard_Boolean GEOMDS_Commands::ReturnNameIOR(const TDF_Label& aLabel,
-                                               TCollection_ExtendedString& returnNameIOR)
-{
-  Handle(TDataStd_Name) anAttName ;
-  if( !aLabel.FindAttribute(TDataStd_Name::GetID(), anAttName) )
-    return false ;
-  else {
-    returnNameIOR = anAttName->Get() ;
-    return true ;
-  }
-}
diff --git a/src/GEOMDS/GEOMDS_Commands.jxx b/src/GEOMDS/GEOMDS_Commands.jxx
deleted file mode 100644 (file)
index 8d4cccf..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-//  GEOM GEOMDS : implementation of Geometry component data structure and Geometry documents management
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMDS_Commands.jxx
-//  Module : GEOM
-
-#ifndef _TDF_Label_HeaderFile
-#include <TDF_Label.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TCollection_ExtendedString_HeaderFile
-#include <TCollection_ExtendedString.hxx>
-#endif
-#ifndef _GEOMDS_Commands_HeaderFile
-#include "GEOMDS_Commands.hxx"
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx
deleted file mode 100644 (file)
index 4004ebe..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#include "GEOM_EdgeFilter.h"
-
-#include <BRepAdaptor_Curve.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS.hxx>
-#include <StdSelect_TypeOfEdge.hxx>
-
-//=======================================================================
-// function : GEOM_EdgeFilter
-// purpose  : 
-//=======================================================================
-GEOM_EdgeFilter::GEOM_EdgeFilter( SalomeApp_Study* study, const int kind )
-: GEOM_SelectionFilter( study ),
-myKind( kind )
-{
-  add( TopAbs_EDGE );
-}
-
-//=======================================================================
-// function : ~GEOM_SelectionFilter
-// purpose  : 
-//=======================================================================
-GEOM_EdgeFilter::~GEOM_EdgeFilter()
-{
-}
-
-//=======================================================================
-// function : isShapeOk
-// purpose  : 
-//=======================================================================
-bool GEOM_EdgeFilter::isShapeOk( const TopoDS_Shape& theShape ) const
-{
-  if ( !theShape.IsNull() && theShape.ShapeType() == TopAbs_EDGE )
-  {
-    BRepAdaptor_Curve aCurve( TopoDS::Edge( theShape ) );
-    GeomAbs_CurveType aType = aCurve.GetType();
-       
-    switch ( myKind ) 
-    {
-    case StdSelect_AnyEdge: return Standard_True;
-    case StdSelect_Line:    return ( aType == GeomAbs_Line );
-    case StdSelect_Circle:  return ( aType == GeomAbs_Circle );
-    }
-  }
-  return false;
-}
-
diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.h b/src/GEOMFiltersSelection/GEOM_EdgeFilter.h
deleted file mode 100644 (file)
index b91a82f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef GEOM_EDGEFILTER_H
-#define GEOM_EDGEFILTER_H
-
-#include "GEOM_SelectionFilter.h"
-
-class Standard_EXPORT GEOM_EdgeFilter : public GEOM_SelectionFilter
-{
-public:
-  GEOM_EdgeFilter( SalomeApp_Study* study, const int kind );
-  ~GEOM_EdgeFilter();
-
-protected:
-  bool                  isShapeOk( const TopoDS_Shape& ) const;
-
-private:
-  int                   myKind;
-
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.hxx
deleted file mode 100644 (file)
index ea44289..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_EdgeFilter.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_EdgeFilter_HeaderFile
-#define _GEOM_EdgeFilter_HeaderFile
-
-#ifndef _Handle_GEOM_EdgeFilter_HeaderFile
-#include "Handle_GEOM_EdgeFilter.hxx"
-#endif
-
-#include "SALOME_InteractiveObject.hxx"
-#include "GEOM_ShapeTypeFilter.hxx"
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-
-// Open CASCADE Includes
-#include <Standard.hxx>
-#include <StdSelect_TypeOfEdge.hxx>
-
-class GEOM_EdgeFilter : public GEOM_ShapeTypeFilter {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_EdgeFilter( const StdSelect_TypeOfEdge Edge );
-Standard_EXPORT ~GEOM_EdgeFilter();
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_EdgeFilter_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
- Standard_EXPORT virtual Standard_Boolean IsShapeOk(const TopoDS_Shape& theShape ) const;
-
- // Fields PROTECTED
- //
-StdSelect_TypeOfEdge  myKind;
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.ixx
deleted file mode 100644 (file)
index 275670b..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_EdgeFilter.ixx
-//  Module : GEOM
-
-#include "GEOM_EdgeFilter.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_EdgeFilter::~GEOM_EdgeFilter() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_EdgeFilter_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(GEOM_ShapeTypeFilter);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(GEOM_ShapeTypeFilter);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_EdgeFilter",
-                                                        sizeof(GEOM_EdgeFilter),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_EdgeFilter) Handle(GEOM_EdgeFilter)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_EdgeFilter) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_EdgeFilter))) {
-       _anOtherObject = Handle(GEOM_EdgeFilter)((Handle(GEOM_EdgeFilter)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_EdgeFilter::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_EdgeFilter) ; 
-}
-Standard_Boolean GEOM_EdgeFilter::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_EdgeFilter) == AType || GEOM_ShapeTypeFilter::IsKind(AType)); 
-}
-Handle_GEOM_EdgeFilter::~Handle_GEOM_EdgeFilter() {}
-
diff --git a/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx b/src/GEOMFiltersSelection/GEOM_EdgeFilter.jxx
deleted file mode 100644 (file)
index 267be79..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_EdgeFilter.jxx
-//  Module : GEOM
-
-#ifndef _GEOM_EdgeFilter_HeaderFile
-#include "GEOM_EdgeFilter.hxx"
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.cxx
deleted file mode 100644 (file)
index 57b7bb3..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#include "GEOM_FaceFilter.h"
-
-#include <BRepAdaptor_Surface.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS.hxx>
-#include <StdSelect_TypeOfFace.hxx>
-
-//=======================================================================
-// function : GEOM_FaceFilter
-// purpose  : 
-//=======================================================================
-GEOM_FaceFilter::GEOM_FaceFilter( SalomeApp_Study* study, const int kind )
-: GEOM_SelectionFilter( study ),
-myKind( kind )
-{
-  add( TopAbs_FACE );
-}
-
-//=======================================================================
-// function : ~GEOM_SelectionFilter
-// purpose  : 
-//=======================================================================
-GEOM_FaceFilter::~GEOM_FaceFilter()
-{
-}
-
-//=======================================================================
-// function : isShapeOk
-// purpose  : 
-//=======================================================================
-bool GEOM_FaceFilter::isShapeOk( const TopoDS_Shape& theShape ) const
-{
-  if ( !theShape.IsNull() && theShape.ShapeType() == TopAbs_FACE )
-  {
-    BRepAdaptor_Surface aSurf( TopoDS::Face( theShape ) );
-    GeomAbs_SurfaceType aType = aSurf.GetType();
-       
-    switch ( myKind ) 
-    {
-    case StdSelect_AnyFace:   return Standard_True;
-    case StdSelect_Plane:     return ( aType == GeomAbs_Plane );
-    case StdSelect_Cylinder:  return ( aType == GeomAbs_Cylinder);
-    case StdSelect_Sphere:    return ( aType == GeomAbs_Sphere);      
-    case StdSelect_Torus:     return ( aType == GeomAbs_Torus);      
-    case StdSelect_Revol:     return ( aType == GeomAbs_Cylinder  || 
-                                      aType == GeomAbs_Cone      ||
-                                      aType == GeomAbs_Torus     ||
-                                      aType == GeomAbs_Sphere    || 
-                                      aType == GeomAbs_SurfaceOfRevolution ); 
-    case StdSelect_Cone:      return ( aType == GeomAbs_Cone);      
-    }
-  }
-  return false;
-}
-
diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.h b/src/GEOMFiltersSelection/GEOM_FaceFilter.h
deleted file mode 100644 (file)
index f215924..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef GEOM_FACEFILTER_H
-#define GEOM_FACEFILTER_H
-
-#include "GEOM_SelectionFilter.h"
-
-class Standard_EXPORT GEOM_FaceFilter : public GEOM_SelectionFilter
-{
-public:
-  GEOM_FaceFilter( SalomeApp_Study* study, const int kind );
-  ~GEOM_FaceFilter();
-
-protected:
-  bool                  isShapeOk( const TopoDS_Shape& ) const;
-
-private:
-  int                   myKind;
-
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.hxx
deleted file mode 100644 (file)
index de6e948..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_FaceFilter.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_FaceFilter_HeaderFile
-#define _GEOM_FaceFilter_HeaderFile
-
-#ifndef _Handle_GEOM_FaceFilter_HeaderFile
-#include "Handle_GEOM_FaceFilter.hxx"
-#endif
-
-#include "GEOM_ShapeTypeFilter.hxx"
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-
-// Open CASCADE Includes
-#include <Standard.hxx>
-#include <StdSelect_TypeOfFace.hxx>
-
-class GEOM_FaceFilter : public GEOM_ShapeTypeFilter {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_FaceFilter( const StdSelect_TypeOfFace Face );
-Standard_EXPORT ~GEOM_FaceFilter();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_FaceFilter_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
- Standard_EXPORT virtual Standard_Boolean IsShapeOk(const TopoDS_Shape& theShape ) const;
-
-
- // Fields PROTECTED
- //
-StdSelect_TypeOfFace  myKind;
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx b/src/GEOMFiltersSelection/GEOM_FaceFilter.ixx
deleted file mode 100644 (file)
index 4f81dc8..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_FaceFilter.ixx
-//  Module : GEOM
-
-#include "GEOM_FaceFilter.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_FaceFilter::~GEOM_FaceFilter() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_FaceFilter_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(GEOM_ShapeTypeFilter);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(GEOM_ShapeTypeFilter);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_FaceFilter",
-                                                        sizeof(GEOM_FaceFilter),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_FaceFilter) Handle(GEOM_FaceFilter)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_FaceFilter) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_FaceFilter))) {
-       _anOtherObject = Handle(GEOM_FaceFilter)((Handle(GEOM_FaceFilter)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_FaceFilter::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_FaceFilter) ; 
-}
-Standard_Boolean GEOM_FaceFilter::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_FaceFilter) == AType || GEOM_ShapeTypeFilter::IsKind(AType)); 
-}
-Handle_GEOM_FaceFilter::~Handle_GEOM_FaceFilter() {}
-
diff --git a/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx b/src/GEOMFiltersSelection/GEOM_FaceFilter.jxx
deleted file mode 100644 (file)
index 144d1a3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_FaceFilter.jxx
-//  Module : GEOM
-
-#ifndef _GEOM_FaceFilter_HeaderFile
-#include "GEOM_FaceFilter.hxx"
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_LogicalFilter.cxx b/src/GEOMFiltersSelection/GEOM_LogicalFilter.cxx
deleted file mode 100644 (file)
index 22ca76a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#include "GEOM_LogicalFilter.h"
-
-//=======================================================================
-// function : GEOM_LogicalFilter
-// purpose  : 
-//=======================================================================
-GEOM_LogicalFilter::GEOM_LogicalFilter( const QPtrList<SUIT_SelectionFilter>& lst, const int op )
-: SUIT_SelectionFilter()
-{
-  setFilters( lst ); 
-  setOperation( op );
-}
-
-//=======================================================================
-// function : ~GEOM_LogicalFilter
-// purpose  : 
-//=======================================================================
-GEOM_LogicalFilter::~GEOM_LogicalFilter()
-{
-}
-
-//=======================================================================
-// function : isOk
-// purpose  : 
-//=======================================================================
-bool GEOM_LogicalFilter::isOk( const SUIT_DataOwner* owner ) const
-{
-  GEOM_LogicalFilter* non_const_this = (GEOM_LogicalFilter*)this;
-  for ( SUIT_SelectionFilter* filter = non_const_this->myFilters.first(); filter; filter = non_const_this->myFilters.next() )
-  {
-    if ( myOperation == LO_OR && filter->isOk( owner ) )
-      return true;
-    if ( myOperation == LO_AND && !filter->isOk( owner ) )
-      return false;
-    if ( myOperation == LO_NOT )
-      return !filter->isOk( owner );
-  }
-
-  return ( myOperation != LO_OR );
-}
-
-//=======================================================================
-// function : setFilters
-// purpose  : 
-//=======================================================================
-void GEOM_LogicalFilter::setFilters( const QPtrList<SUIT_SelectionFilter>& lst )
-{
-  myFilters = lst;
-}
-
-//=======================================================================
-// function : setOperation
-// purpose  : 
-//=======================================================================
-void GEOM_LogicalFilter::setOperation( const int op ) 
-{
-  myOperation = op;
-}
-
-//=======================================================================
-// function : getFilters
-// purpose  : 
-//=======================================================================
-QPtrList<SUIT_SelectionFilter> GEOM_LogicalFilter::getFilters() const 
-{
-  return myFilters;
-}
-
-//=======================================================================
-// function : getOperation
-// purpose  : 
-//=======================================================================
-int GEOM_LogicalFilter::getOperation() const
-{
-  return myOperation;
-}
diff --git a/src/GEOMFiltersSelection/GEOM_LogicalFilter.h b/src/GEOMFiltersSelection/GEOM_LogicalFilter.h
deleted file mode 100644 (file)
index 139997d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef GEOM_LOGICALFILTER_H
-#define GEOM_LOGICALFILTER_H
-
-#include <SUIT_SelectionFilter.h>
-#include <Standard_Macro.hxx>
-
-#include <qptrlist.h>
-
-class Standard_EXPORT GEOM_LogicalFilter : public SUIT_SelectionFilter
-{
-public:
-  enum { LO_OR, LO_AND, LO_NOT, LO_UNDEFINED };
-
-public:
-  GEOM_LogicalFilter( const QPtrList<SUIT_SelectionFilter>& lst, const int op );
-  ~GEOM_LogicalFilter();
-
-  virtual bool                   isOk( const SUIT_DataOwner* ) const;
-
-  void                           setFilters( const QPtrList<SUIT_SelectionFilter>& lst );
-  void                           setOperation( const int );
-  QPtrList<SUIT_SelectionFilter> getFilters() const;
-  int                            getOperation() const;
-
-private:
-  QPtrList<SUIT_SelectionFilter>  myFilters;
-  int                             myOperation;
-
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_LogicalFilter.hxx b/src/GEOMFiltersSelection/GEOM_LogicalFilter.hxx
deleted file mode 100644 (file)
index aa9fbdc..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-//  SALOME SALOMEGUI : implementation of desktop and GUI kernel
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_LogicalFilter.hxx
-//  Author : Sergey LITONIN
-//  Module : GEOM
-
-#ifndef _GEOM_LogicalFilter_HeaderFile
-#define _GEOM_LogicalFilter_HeaderFile
-
-#include "SALOME_Filter.hxx"
-
-#include <Standard_DefineHandle.hxx>
-#include <NCollection_StdBase.hxx>
-#include <NCollection_DefineList.hxx>
-
-DEFINE_STANDARD_HANDLE( GEOM_LogicalFilter, SALOME_Filter )
-
-DEFINE_BASECOLLECTION( GEOM_FilterColl, Handle(SALOME_Filter) )
-DEFINE_LIST( GEOM_ListOfFilter, GEOM_FilterColl, Handle(SALOME_Filter) )
-
-
-/*
-  Class       : GEOM_LogicalFilter
-  Description : Filter for combaining several filters with logical operation (OR or AND)
-*/
-
-class GEOM_LogicalFilter : public SALOME_Filter
-{
-public:
-
-  enum { LO_OR, LO_AND, LO_NOT, LO_UNDEFINED };
-
-public:
-
-                              GEOM_LogicalFilter( const GEOM_ListOfFilter&, const int  );
-                              GEOM_LogicalFilter( const Handle(SALOME_Filter)&, const int );
-
-
-  virtual                     ~GEOM_LogicalFilter();
-  virtual                     Standard_Boolean IsOk( const Handle(SALOME_InteractiveObject)& ) const;
-
-  void                        SetFilters( const GEOM_ListOfFilter& );
-  void                        SetLogOp( const int );
-  const GEOM_ListOfFilter&    GetFilters() const;
-  int                         GetLogOp() const;
-
-private:
-
-  GEOM_ListOfFilter           myFilters;
-  int                         myLogOp;
-
-public:
-  DEFINE_STANDARD_RTTI( GEOM_LogicalFilter )
-};
-
-#endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/GEOMFiltersSelection/GEOM_OCCFilter.cxx b/src/GEOMFiltersSelection/GEOM_OCCFilter.cxx
deleted file mode 100644 (file)
index 6f22d93..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#include "GEOM_OCCFilter.h"
-
-#include <SalomeApp_SelectionMgr.h> 
-#include <SalomeApp_DataOwner.h>
-
-#include <SALOME_InteractiveObject.hxx>
-
-#include <AIS_InteractiveObject.hxx>
-#include <SelectMgr_EntityOwner.hxx>
-
-IMPLEMENT_STANDARD_HANDLE(GEOM_OCCFilter, SelectMgr_Filter)
-IMPLEMENT_STANDARD_RTTIEXT(GEOM_OCCFilter, SelectMgr_Filter)
-
-//=======================================================================
-// function : GEOM_OCCFilter
-// purpose  : 
-//=======================================================================
-GEOM_OCCFilter::GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr )
-  : SelectMgr_Filter()
-{
-  mySelMgr = theSelMgr;
-}
-
-//=======================================================================
-// function : ~GEOM_OCCFilter
-// purpose  : 
-//=======================================================================
-GEOM_OCCFilter::~GEOM_OCCFilter()
-{
-}
-
-//=======================================================================
-// function : IsOk
-// purpose  : 
-//=======================================================================
-Standard_Boolean GEOM_OCCFilter::IsOk( const Handle(SelectMgr_EntityOwner)& anObj ) const
-{
-  Handle(AIS_InteractiveObject) anAIS = Handle(AIS_InteractiveObject)::DownCast( anObj->Selectable() );
-  if ( anAIS.IsNull() || !anAIS->HasOwner() )
-    return false;
-  
-  Handle(SALOME_InteractiveObject) anIO = Handle(SALOME_InteractiveObject)::DownCast(anAIS->GetOwner()); 
-  if ( anIO.IsNull() ) return false;
-  
-  return mySelMgr->isOk( new SalomeApp_DataOwner( QString( anIO->getEntry() ) ) );
-}
diff --git a/src/GEOMFiltersSelection/GEOM_OCCFilter.h b/src/GEOMFiltersSelection/GEOM_OCCFilter.h
deleted file mode 100644 (file)
index b197643..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef GEOM_OCCFILTER_H
-#define GEOM_OCCFILTER_H
-
-#include <SelectMgr_Filter.hxx>
-
-#include <Standard_DefineHandle.hxx>
-
-class SalomeApp_SelectionMgr;
-
-class GEOM_OCCFilter : public SelectMgr_Filter
-{
-public:
-  Standard_EXPORT GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr);
-  Standard_EXPORT ~GEOM_OCCFilter();
-  
-  Standard_EXPORT virtual Standard_Boolean IsOk( const Handle(SelectMgr_EntityOwner)& anObj ) const;
-    
-private:
-  SalomeApp_SelectionMgr* mySelMgr;
-
-public:
-  
-  DEFINE_STANDARD_RTTI(GEOM_OCCFilter);
-
-};
-
-DEFINE_STANDARD_HANDLE(GEOM_OCCFilter, SelectMgr_Filter)
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_PreviewFilter.cxx b/src/GEOMFiltersSelection/GEOM_PreviewFilter.cxx
deleted file mode 100644 (file)
index 815ff81..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "GEOM_PreviewFilter.h"
-
-#include <SalomeApp_DataOwner.h>
-
-//=======================================================================
-// function : GEOM_SelectionFilter
-// purpose  : 
-//=======================================================================
-GEOM_PreviewFilter::GEOM_PreviewFilter( SalomeApp_Study* study )
-: SalomeApp_Filter( study )
-{
-}
-
-//=======================================================================
-// function : ~GEOM_SelectionFilter
-// purpose  : 
-//=======================================================================
-GEOM_PreviewFilter::~GEOM_PreviewFilter()
-{
-}
-
-//=======================================================================
-// function : isOk
-// purpose  : 
-//=======================================================================
-bool GEOM_PreviewFilter::isOk( const SUIT_DataOwner* sOwner ) const
-{
-  const SalomeApp_DataOwner* owner = dynamic_cast<const SalomeApp_DataOwner*> ( sOwner );
-  return ( owner && strstr( owner->entry(), "TEMP" ) );
-}
-
diff --git a/src/GEOMFiltersSelection/GEOM_PreviewFilter.h b/src/GEOMFiltersSelection/GEOM_PreviewFilter.h
deleted file mode 100644 (file)
index b454f33..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef GEOM_PREVIEW_FILTER_H
-#define GEOM_PREVIEW_FILTER_H
-
-#include <SalomeApp_Filter.h>
-#include <Standard_Macro.hxx>
-
-class Standard_EXPORT GEOM_PreviewFilter : public SalomeApp_Filter
-{
-public:
-  GEOM_PreviewFilter( SalomeApp_Study* study );
-  ~GEOM_PreviewFilter();
-
-  virtual bool                   isOk( const SUIT_DataOwner* ) const;
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_PreviewFilter.hxx b/src/GEOMFiltersSelection/GEOM_PreviewFilter.hxx
deleted file mode 100644 (file)
index e27701c..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOM_PreviewFilter.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_PreviewFilter_HeaderFile
-#define _GEOM_PreviewFilter_HeaderFile
-
-#ifndef _Handle_GEOM_PreviewFilter_HeaderFile
-#include "Handle_GEOM_PreviewFilter.hxx"
-#endif
-
-#include "SALOME_InteractiveObject.hxx"
-#include "SALOME_Filter.hxx"
-
-// IDL Headers
-
-
-// Open CASCADE Includes
-#include <Standard.hxx>
-
-class GEOM_PreviewFilter : public SALOME_Filter {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_PreviewFilter();
-Standard_EXPORT ~GEOM_PreviewFilter();
-
-Standard_EXPORT virtual  Standard_Boolean IsOk(const Handle(SALOME_InteractiveObject)& anobj) const;
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_PreviewFilter_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_PreviewFilter.ixx b/src/GEOMFiltersSelection/GEOM_PreviewFilter.ixx
deleted file mode 100644 (file)
index 6ec1aef..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOM_PreviewFilter.ixx
-//  Module : GEOM
-
-#include "GEOM_PreviewFilter.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_PreviewFilter::~GEOM_PreviewFilter() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_PreviewFilter_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(SALOME_Filter);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SALOME_Filter);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_PreviewFilter",
-                                                        sizeof(GEOM_PreviewFilter),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_PreviewFilter) Handle(GEOM_PreviewFilter)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_PreviewFilter) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_PreviewFilter))) {
-       _anOtherObject = Handle(GEOM_PreviewFilter)((Handle(GEOM_PreviewFilter)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_PreviewFilter::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_PreviewFilter) ; 
-}
-Standard_Boolean GEOM_PreviewFilter::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_PreviewFilter) == AType || SALOME_Filter::IsKind(AType)); 
-}
-Handle_GEOM_PreviewFilter::~Handle_GEOM_PreviewFilter() {}
-
diff --git a/src/GEOMFiltersSelection/GEOM_PreviewFilter.jxx b/src/GEOMFiltersSelection/GEOM_PreviewFilter.jxx
deleted file mode 100644 (file)
index bd82eff..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GEOM_PreviewFilter.jxx
-//  Module : GEOM
-
-#ifndef _GEOM_PreviewFilter_HeaderFile
-#include "GEOM_PreviewFilter.hxx"
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_SelectionFilter.cxx b/src/GEOMFiltersSelection/GEOM_SelectionFilter.cxx
deleted file mode 100644 (file)
index b880fd3..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-#include "GEOM_SelectionFilter.h"
-
-#include "GEOM_Client.hxx"
-
-#include <SalomeApp_DataOwner.h>
-#include <SalomeApp_Study.h>
-#include <SalomeApp_Application.h>
-
-#include <SALOME_LifeCycleCORBA.hxx>
-
-#include <SUIT_Session.h>
-
-#include <SALOMEDSClient.hxx>
-
-
-//=======================================================================
-// function : GEOM_SelectionFilter
-// purpose  :
-//=======================================================================
-GEOM_SelectionFilter::GEOM_SelectionFilter( SalomeApp_Study* study, const bool theAll )
-  : SalomeApp_Filter(study)
-{
-  myAll = theAll;
-}
-
-//=======================================================================
-// function : ~GEOM_SelectionFilter
-// purpose  :
-//=======================================================================
-GEOM_SelectionFilter::~GEOM_SelectionFilter()
-{
-}
-
-//=======================================================================
-// function : isOk
-// purpose  :
-//=======================================================================
-bool GEOM_SelectionFilter::isOk( const SUIT_DataOwner* sOwner ) const
-{
-  GEOM::GEOM_Object_var obj = getObject( sOwner );
-  if ( !CORBA::is_nil( obj ) && obj->IsShape() )
-  {
-    if ( isAll() )
-      return true;
-
-    TopoDS_Shape shape;
-    if ( getShape( obj, shape ) )
-      return contains( shape.ShapeType() ) && isShapeOk( shape );
-  }
-  return false;
-}
-
-//=======================================================================
-// function : getObject
-// purpose  :
-//=======================================================================
-GEOM::GEOM_Object_ptr GEOM_SelectionFilter::getObject (const SUIT_DataOwner* sOwner) const
-{
-  GEOM::GEOM_Object_var anObj;
-
-  const SalomeApp_DataOwner* owner = dynamic_cast<const SalomeApp_DataOwner*>(sOwner);
-  SalomeApp_Study* appStudy = getStudy();
-  if (owner && appStudy)
-  {
-    _PTR(Study) study = appStudy->studyDS();
-    QString entry = owner->entry();
-
-    _PTR(SObject) aSO (study->FindObjectID(entry.latin1()));
-    if (aSO) {
-      std::string aValue = aSO->GetIOR();
-      if (strcmp(aValue.c_str(), "") != 0) {
-        CORBA::ORB_ptr anORB = SalomeApp_Application::orb();
-        CORBA::Object_var aCorbaObj = anORB->string_to_object(aValue.c_str());
-        anObj = GEOM::GEOM_Object::_narrow(aCorbaObj);
-      }
-    }
-  }
-
-  if (!CORBA::is_nil(anObj))
-    return anObj._retn();
-
-  return GEOM::GEOM_Object::_nil();
-}
-
-//=======================================================================
-// function : getShape
-// purpose  :
-//=======================================================================
-bool GEOM_SelectionFilter::getShape (const GEOM::GEOM_Object_ptr& theObject,
-                                     TopoDS_Shape&                theShape) const
-{
-  if ( !CORBA::is_nil( theObject ) )
-  {
-    SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>
-      ( SUIT_Session::session()->activeApplication() );
-    if ( app )
-    {
-      SALOME_LifeCycleCORBA* ls = new SALOME_LifeCycleCORBA( app->namingService() );
-      Engines::Component_var comp = ls->FindOrLoad_Component( "FactoryServer", "GEOM" );
-      GEOM::GEOM_Gen_var geomGen = GEOM::GEOM_Gen::_narrow( comp );
-      if ( !CORBA::is_nil( geomGen ) )
-      {
-       TopoDS_Shape aTopoDSShape = GEOM_Client().GetShape( geomGen, theObject );
-
-       if ( !aTopoDSShape.IsNull() )
-       {
-         theShape = aTopoDSShape;
-         return true;
-       }
-      }
-    }
-  }
-  return false;
-}
-
-//=======================================================================
-// function : contains
-// purpose  :
-//=======================================================================
-bool GEOM_SelectionFilter::contains( const int type ) const
-{
-  return myTypes.contains( type );
-}
-
-//=======================================================================
-// function : add
-// purpose  :
-//=======================================================================
-void GEOM_SelectionFilter::add( const int type )
-{
-  if ( !contains( type ) )
-    myTypes.append( type );
-}
-
-//=======================================================================
-// function : remove
-// purpose  :
-//=======================================================================
-void GEOM_SelectionFilter::remove( const int type )
-{
-  if ( contains( type ) )
-    myTypes.remove( type );
-}
-
-//=======================================================================
-// function : setAll
-// purpose  :
-//=======================================================================
-void GEOM_SelectionFilter::setAll( const bool all )
-{
-  myAll = all;
-}
-
-//=======================================================================
-// function : isAll
-// purpose  :
-//=======================================================================
-bool GEOM_SelectionFilter::isAll() const
-{
-  return myAll;
-}
-
-//=======================================================================
-// function : isShapeOk
-// purpose  :
-//=======================================================================
-bool GEOM_SelectionFilter::isShapeOk( const TopoDS_Shape& ) const
-{
-  return true;
-}
diff --git a/src/GEOMFiltersSelection/GEOM_SelectionFilter.h b/src/GEOMFiltersSelection/GEOM_SelectionFilter.h
deleted file mode 100644 (file)
index a4a1154..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef GEOM_SELECTIONFILTER_H
-#define GEOM_SELECTIONFILTER_H
-
-#include <SalomeApp_Filter.h>
-
-#include <TopoDS_Shape.hxx>
-
-#include <qvaluelist.h>
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-class Standard_EXPORT GEOM_SelectionFilter : public SalomeApp_Filter
-{
-public:
-  GEOM_SelectionFilter( SalomeApp_Study* study, const bool theAll = false );
-  ~GEOM_SelectionFilter();
-
-  virtual bool isOk( const SUIT_DataOwner* ) const;
-
-protected:
-  GEOM::GEOM_Object_ptr getObject( const SUIT_DataOwner* ) const;
-  bool                  getShape( const GEOM::GEOM_Object_ptr&, TopoDS_Shape& ) const;
-  
-  bool                  contains( const int ) const;
-  void                  add( const int );
-  void                  remove( const int );
-
-  void                  setAll( const bool );
-  bool                  isAll() const;
-
-  bool                  isShapeOk( const TopoDS_Shape& ) const;
-
-private:
-  QValueList<int>       myTypes;
-  bool                  myAll;
-
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx
deleted file mode 100644 (file)
index 5292daa..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_ShapeTypeFilter.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include <Standard_Stream.hxx>
-
-#include "GEOM_ShapeTypeFilter.ixx"
-#include "SALOME_InteractiveObject.hxx"
-#include "GEOM_Client.hxx"
-#include "QAD_Application.h"
-#include "QAD_Desktop.h"
-#include "utilities.h"
-
-#include <TopoDS_Shape.hxx>
-
-//=======================================================================
-// function : getShape()
-// purpose  : returns a TopoDS_Shape stored in GEOM_Object
-//=======================================================================
-static bool getShape( const GEOM::GEOM_Object_ptr& theObject, TopoDS_Shape& theShape )
-{
-  if ( !CORBA::is_nil( theObject ) )
-  {
-    Engines::Component_var comp = QAD_Application::getDesktop()->getEngine( "FactoryServer", "GEOM" );
-    GEOM::GEOM_Gen_var myGeom   = GEOM::GEOM_Gen::_narrow( comp );
-    TopoDS_Shape aTopoDSShape = GEOM_Client().GetShape( myGeom, theObject );
-        
-    if ( !aTopoDSShape.IsNull() )
-    {
-      theShape = aTopoDSShape;
-       return true;
-    }
-  }
-  return false;
-}
-
-//=======================================================================
-// function : ConvertIOinGEOMObject()
-// purpose  :
-//=======================================================================
-static GEOM::GEOM_Object_ptr convertIOinGEOMObject(
-  const Handle(SALOME_InteractiveObject)& theIO, Standard_Boolean& theResult )
-{
-  theResult = Standard_False;
-  GEOM::GEOM_Object_var aReturnObject;
-  if ( !theIO.IsNull() )
-  {
-    const char* anEntry = theIO->getEntry();
-    SALOMEDS::SObject_var aSObj =
-      QAD_Application::getDesktop()->getActiveStudy()->getStudyDocument()->FindObjectID( anEntry );
-    if ( !CORBA::is_nil( aSObj ) )
-    {
-      aReturnObject = GEOM::GEOM_Object::_narrow( aSObj->GetObject() );
-      theResult = !CORBA::is_nil( aReturnObject );
-    }
-  }
-  return aReturnObject._retn();
-}
-
-//=======================================================================
-// function : ShapeTypeFilter
-// purpose  : 
-//=======================================================================
-GEOM_ShapeTypeFilter::GEOM_ShapeTypeFilter( const TopAbs_ShapeEnum theShapeType,
-                                            const bool theIsAll ) 
-{
-  myIsAll = theIsAll;
-  myShapeTypes.Add( theShapeType );
-  myTypeFilter = new SALOME_TypeFilter( "GEOM" );
-}
-
-//=======================================================================
-// function : ShapeTypeFilter
-// purpose  : 
-//=======================================================================
-GEOM_ShapeTypeFilter::GEOM_ShapeTypeFilter( const TColStd_MapOfInteger& theShapeTypes,
-                                            const bool theIsAll ) 
-{
-  myIsAll = theIsAll;
-  myShapeTypes = theShapeTypes;
-  myTypeFilter = new SALOME_TypeFilter( "GEOM" );
-}
-
-//=======================================================================
-// function : IsOk
-// purpose  : 
-//=======================================================================
-Standard_Boolean GEOM_ShapeTypeFilter::IsOk(
-  const Handle(SALOME_InteractiveObject)& anObj ) const 
-{
-  if ( !myTypeFilter->IsOk(anObj) ) 
-    return Standard_False;
-
-  Standard_Boolean aResult = Standard_False;
-  GEOM::GEOM_Object_ptr aGeomObj = convertIOinGEOMObject( anObj, aResult );
-  if ( !CORBA::is_nil( aGeomObj ) && aResult && aGeomObj->IsShape() )
-  {
-    if ( myIsAll )
-      return true;
-    TopoDS_Shape aShape;
-    if ( getShape( aGeomObj, aShape ) )
-    {
-      if ( myShapeTypes.Contains( aShape.ShapeType() ) )
-        return IsShapeOk( aShape );
-    }
-  }
-  return Standard_False;
-}
-
-//=======================================================================
-// function : IsShapeOk
-// purpose  : 
-//=======================================================================
-Standard_Boolean GEOM_ShapeTypeFilter::IsShapeOk( const TopoDS_Shape& ) const
-{
-  return Standard_True;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.hxx
deleted file mode 100644 (file)
index 1d9df8e..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_ShapeTypeFilter.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_ShapeTypeFilter_HeaderFile
-#define _GEOM_ShapeTypeFilter_HeaderFile
-
-#ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
-#include "Handle_GEOM_ShapeTypeFilter.hxx"
-#endif
-
-#include "SALOME_InteractiveObject.hxx"
-#include "SALOME_Filter.hxx"
-#include "SALOME_TypeFilter.hxx"
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-
-// Open CASCADE Includes
-#include <Standard.hxx>
-#include <TopAbs.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-class GEOM_ShapeTypeFilter : public SALOME_Filter
-{
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- //
-Standard_EXPORT GEOM_ShapeTypeFilter( const TopAbs_ShapeEnum theShapeType,
-                                      const bool theIsAll = false );
-Standard_EXPORT GEOM_ShapeTypeFilter( const TColStd_MapOfInteger& theShapeTypes,
-                                      const bool theIsAll = false );
-Standard_EXPORT ~GEOM_ShapeTypeFilter();
-
-Standard_EXPORT virtual  Standard_Boolean IsOk(const Handle(SALOME_InteractiveObject)& anobj) const;
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_ShapeTypeFilter_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- //
- Standard_EXPORT virtual Standard_Boolean IsShapeOk(const TopoDS_Shape& theShape ) const;
-
-
- // Fields PROTECTED
- //
-TColStd_MapOfInteger myShapeTypes;
-Handle(SALOME_TypeFilter) myTypeFilter;
-
-private: 
-
- bool myIsAll;
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.ixx
deleted file mode 100644 (file)
index db4643d..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_ShapeTypeFilter.ixx
-//  Module : GEOM
-
-#include "GEOM_ShapeTypeFilter.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_ShapeTypeFilter::~GEOM_ShapeTypeFilter() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_ShapeTypeFilter_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(SALOME_Filter);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SALOME_Filter);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_ShapeTypeFilter",
-                                                        sizeof(GEOM_ShapeTypeFilter),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_ShapeTypeFilter) Handle(GEOM_ShapeTypeFilter)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_ShapeTypeFilter) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_ShapeTypeFilter))) {
-       _anOtherObject = Handle(GEOM_ShapeTypeFilter)((Handle(GEOM_ShapeTypeFilter)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_ShapeTypeFilter::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_ShapeTypeFilter) ; 
-}
-Standard_Boolean GEOM_ShapeTypeFilter::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_ShapeTypeFilter) == AType || SALOME_Filter::IsKind(AType)); 
-}
-Handle_GEOM_ShapeTypeFilter::~Handle_GEOM_ShapeTypeFilter() {}
-
diff --git a/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx b/src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.jxx
deleted file mode 100644 (file)
index 8a51985..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_ShapeTypeFilter.jxx
-//  Module : GEOM
-
-#ifndef _GEOM_ShapeTypeFilter_HeaderFile
-#include "GEOM_ShapeTypeFilter.hxx"
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_TypeFilter.cxx b/src/GEOMFiltersSelection/GEOM_TypeFilter.cxx
deleted file mode 100644 (file)
index 645806c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#include "GEOM_TypeFilter.h"
-
-//=======================================================================
-// function : GEOM_TypeFilter
-// purpose  : 
-//=======================================================================
-GEOM_TypeFilter::GEOM_TypeFilter( SalomeApp_Study* study, const int type, const bool isShapeType )
-:GEOM_SelectionFilter( study ),
- myType( type ),
- myIsShapeType(isShapeType)
-{
-}
-
-//=======================================================================
-// function : ~GEOM_TypeFilter
-// purpose  : 
-//=======================================================================
-GEOM_TypeFilter::~GEOM_TypeFilter()
-{
-}
-
-//=======================================================================
-// function : isOk
-// purpose  : 
-//=======================================================================
-bool GEOM_TypeFilter::isOk( const SUIT_DataOwner* sOwner ) const
-{
-  GEOM::GEOM_Object_var obj = getObject( sOwner );
-  if ( !CORBA::is_nil( obj ) )
-    {
-      if (!myIsShapeType)
-       return obj->GetType() == type();
-      else
-       return obj->GetShapeType() == type();
-    }
-  
-  return false;
-}
-
-//=======================================================================
-// function : type
-// purpose  : 
-//=======================================================================
-int GEOM_TypeFilter::type() const
-{
-  return myType;
-}
diff --git a/src/GEOMFiltersSelection/GEOM_TypeFilter.h b/src/GEOMFiltersSelection/GEOM_TypeFilter.h
deleted file mode 100644 (file)
index a9fb36d..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef GEOM_TYPEFILTER_H
-#define GEOM_TYPEFILTER_H
-
-#include "GEOM_SelectionFilter.h"
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-class Standard_EXPORT GEOM_TypeFilter : public GEOM_SelectionFilter
-{
-public:
-  GEOM_TypeFilter(SalomeApp_Study* study, const int type, const bool isShapeType = false );
-  ~GEOM_TypeFilter();
-
-  virtual bool isOk( const SUIT_DataOwner* ) const;
-  
-  int          type() const;
-
-private:
-  int                   myType;
-  bool                  myIsShapeType;    
-};
-
-#endif
diff --git a/src/GEOMFiltersSelection/GEOM_TypeFilter.hxx b/src/GEOMFiltersSelection/GEOM_TypeFilter.hxx
deleted file mode 100644 (file)
index e9c0b6e..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-//  GEOM GEOMGUI : Implementation of selection filters for GEOM module
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_TypeFilter.hxx
-//  Author : Sergey LITONIN
-//  Module : GEOM
-
-#ifndef _GEOM_TypeFilter_HeaderFile
-#define _GEOM_TypeFilter_HeaderFile
-
-#include "SALOME_TypeFilter.hxx"
-
-#include <Standard_DefineHandle.hxx>
-
-DEFINE_STANDARD_HANDLE( GEOM_TypeFilter, SALOME_TypeFilter )
-
-/*
-  Class       : GEOM_TypeFilter
-  Description : Filter for verifyimg type of geom object ( GEOM_POINT, GEOM_MARKER  and so on )
-*/
-
-class GEOM_TypeFilter : public SALOME_TypeFilter
-{
-
-public:
-
-                              GEOM_TypeFilter( const int  );
-
-
-  virtual                     ~GEOM_TypeFilter();
-  virtual                     Standard_Boolean IsOk( const Handle(SALOME_InteractiveObject)& ) const;
-
-  void                        SetType( const int );
-  int                         GetType() const;
-
-private:
-
-  int                         myType;
-
-public:
-  DEFINE_STANDARD_RTTI( GEOM_TypeFilter )
-};
-
-#endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_EdgeFilter.hxx
deleted file mode 100644 (file)
index 581ddb2..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Handle_GEOM_EdgeFilter.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_EdgeFilter_HeaderFile
-#define _Handle_GEOM_EdgeFilter_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
-#include "Handle_GEOM_ShapeTypeFilter.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(GEOM_ShapeTypeFilter);
-class GEOM_EdgeFilter;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_EdgeFilter);
-
-class Handle(GEOM_EdgeFilter) : public Handle(GEOM_ShapeTypeFilter) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_EdgeFilter)():Handle(GEOM_ShapeTypeFilter)() {} 
-    Handle(GEOM_EdgeFilter)(const Handle(GEOM_EdgeFilter)& aHandle) : Handle(GEOM_ShapeTypeFilter)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_EdgeFilter)(const GEOM_EdgeFilter* anItem) : Handle(GEOM_ShapeTypeFilter)((GEOM_ShapeTypeFilter *)anItem) 
-     {
-     }
-
-    Handle(GEOM_EdgeFilter)& operator=(const Handle(GEOM_EdgeFilter)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_EdgeFilter)& operator=(const GEOM_EdgeFilter* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_EdgeFilter* operator->() 
-     {
-      return (GEOM_EdgeFilter *)ControlAccess();
-     }
-
-    GEOM_EdgeFilter* operator->() const 
-     {
-      return (GEOM_EdgeFilter *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_EdgeFilter)();
-   Standard_EXPORT static const Handle(GEOM_EdgeFilter) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_FaceFilter.hxx
deleted file mode 100644 (file)
index 49ae830..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Handle_GEOM_FaceFilter.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_FaceFilter_HeaderFile
-#define _Handle_GEOM_FaceFilter_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
-#include "Handle_GEOM_ShapeTypeFilter.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(GEOM_ShapeTypeFilter);
-class GEOM_FaceFilter;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_FaceFilter);
-
-class Handle(GEOM_FaceFilter) : public Handle(GEOM_ShapeTypeFilter) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_FaceFilter)():Handle(GEOM_ShapeTypeFilter)() {} 
-    Handle(GEOM_FaceFilter)(const Handle(GEOM_FaceFilter)& aHandle) : Handle(GEOM_ShapeTypeFilter)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_FaceFilter)(const GEOM_FaceFilter* anItem) : Handle(GEOM_ShapeTypeFilter)((GEOM_ShapeTypeFilter *)anItem) 
-     {
-     }
-
-    Handle(GEOM_FaceFilter)& operator=(const Handle(GEOM_FaceFilter)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_FaceFilter)& operator=(const GEOM_FaceFilter* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_FaceFilter* operator->() 
-     {
-      return (GEOM_FaceFilter *)ControlAccess();
-     }
-
-    GEOM_FaceFilter* operator->() const 
-     {
-      return (GEOM_FaceFilter *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_FaceFilter)();
-   Standard_EXPORT static const Handle(GEOM_FaceFilter) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMFiltersSelection/Handle_GEOM_PreviewFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_PreviewFilter.hxx
deleted file mode 100644 (file)
index cb8285e..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : Handle_GEOM_PreviewFilter
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_PreviewFilter_HeaderFile
-#define _Handle_GEOM_PreviewFilter_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_SALOME_Filter_HeaderFile
-#include "Handle_SALOME_Filter.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(SALOME_Filter);
-class GEOM_PreviewFilter;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_PreviewFilter);
-
-class Handle(GEOM_PreviewFilter) : public Handle(SALOME_Filter) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_PreviewFilter)():Handle(SALOME_Filter)() {} 
-    Handle(GEOM_PreviewFilter)(const Handle(GEOM_PreviewFilter)& aHandle) : Handle(SALOME_Filter)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_PreviewFilter)(const GEOM_PreviewFilter* anItem) : Handle(SALOME_Filter)((SALOME_Filter *)anItem) 
-     {
-     }
-
-    Handle(GEOM_PreviewFilter)& operator=(const Handle(GEOM_PreviewFilter)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_PreviewFilter)& operator=(const GEOM_PreviewFilter* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_PreviewFilter* operator->() 
-     {
-      return (GEOM_PreviewFilter *)ControlAccess();
-     }
-
-    GEOM_PreviewFilter* operator->() const 
-     {
-      return (GEOM_PreviewFilter *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_PreviewFilter)();
-   Standard_EXPORT static const Handle(GEOM_PreviewFilter) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx b/src/GEOMFiltersSelection/Handle_GEOM_ShapeTypeFilter.hxx
deleted file mode 100644 (file)
index d20bf6d..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM GEOMFiltersSelection : filter selector for the viewer
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Handle_GEOM_ShapeTypeFilter.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
-#define _Handle_GEOM_ShapeTypeFilter_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_SALOME_Filter_HeaderFile
-#include "Handle_SALOME_Filter.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(SALOME_Filter);
-class GEOM_ShapeTypeFilter;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_ShapeTypeFilter);
-
-class Handle(GEOM_ShapeTypeFilter) : public Handle(SALOME_Filter) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_ShapeTypeFilter)():Handle(SALOME_Filter)() {} 
-    Handle(GEOM_ShapeTypeFilter)(const Handle(GEOM_ShapeTypeFilter)& aHandle) : Handle(SALOME_Filter)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_ShapeTypeFilter)(const GEOM_ShapeTypeFilter* anItem) : Handle(SALOME_Filter)((SALOME_Filter *)anItem) 
-     {
-     }
-
-    Handle(GEOM_ShapeTypeFilter)& operator=(const Handle(GEOM_ShapeTypeFilter)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_ShapeTypeFilter)& operator=(const GEOM_ShapeTypeFilter* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_ShapeTypeFilter* operator->() 
-     {
-      return (GEOM_ShapeTypeFilter *)ControlAccess();
-     }
-
-    GEOM_ShapeTypeFilter* operator->() const 
-     {
-      return (GEOM_ShapeTypeFilter *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_ShapeTypeFilter)();
-   Standard_EXPORT static const Handle(GEOM_ShapeTypeFilter) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/GEOMFiltersSelection/Makefile.in b/src/GEOMFiltersSelection/Makefile.in
deleted file mode 100644 (file)
index c56e5a1..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#  GEOM GEOMFiltersSelection : filter selector for the viewer
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOMFiltersSelection.la
-LIB_SRC = GEOM_SelectionFilter.cxx \
-         GEOM_EdgeFilter.cxx \
-         GEOM_FaceFilter.cxx \
-         GEOM_TypeFilter.cxx \
-          GEOM_PreviewFilter.cxx \
-         GEOM_LogicalFilter.cxx \
-         GEOM_OCCFilter.cxx
-
-# header files
-EXPORT_HEADERS= GEOM_SelectionFilter.h \
-               GEOM_EdgeFilter.h \
-               GEOM_FaceFilter.h \
-               GEOM_TypeFilter.h \
-                GEOM_PreviewFilter.h \
-               GEOM_LogicalFilter.h \
-               GEOM_OCCFilter.h
-
-LIB_CLIENT_IDL= GEOM_Gen.idl SALOMEDS.idl SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-
-# additionnal information to compil and link file
-CPPFLAGS += $(QT_INCLUDES) $(OCC_INCLUDES) $(BOOST_CPPFLAGS) -I$(GUI_ROOT_DIR)/include/salome -I$(KERNEL_ROOT_DIR)/include/salome
-CXXFLAGS += $(QT_INCLUDES) $(BOOST_CPPFLAGS) -I$(GUI_ROOT_DIR)/include/salome -I$(KERNEL_ROOT_DIR)/include/salome
-LDFLAGS  += -L$(GUI_ROOT_DIR)/lib/salome -L$(KERNEL_ROOT_DIR)/lib/salome -lsuit -lSalomeApp
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
diff --git a/src/GEOMGUI/GEOMGUI.cxx b/src/GEOMGUI/GEOMGUI.cxx
deleted file mode 100644 (file)
index 97fc874..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMGUI.cxx
-//  Author : Vadim SANDLER
-//  Module : GEOM
-//  $Header$
-
-#include "GEOMGUI.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_ViewWindow.h"
-
-#include "GeometryGUI.h"
-
-#include <qevent.h>
-
-//=================================================================================
-// class    : GEOMGUI::GEOMGUI
-// purpose  : Constructor
-//=================================================================================
-GEOMGUI::GEOMGUI( GeometryGUI* parent ) : 
-QObject ( parent ),
-myGeometryGUI( parent )
-{
-}
-
-//=================================================================================
-// class    : GEOMGUI::GEOMGUI
-// purpose  : Destructor
-//=================================================================================
-GEOMGUI::~GEOMGUI()
-{
-}
-
-//=================================================================================
-// class    : GEOMGUI::OnGUIEvent
-// purpose  : Main/popup menu events processing
-//=================================================================================
-bool GEOMGUI::OnGUIEvent( int /*theCommandID*/, SUIT_Desktop* /*parent*/ )
-{
-  return TRUE;
-}
-
-//=================================================================================
-// class    : GEOMGUI::OnMousePress
-// purpose  : Mouse press event processing. Should return FALSE to let the event 
-//            be processed further.
-//=================================================================================
-bool GEOMGUI::OnMousePress( QMouseEvent* /*pe*/, SUIT_Desktop* /*parent*/, SUIT_ViewWindow* /*studyFrame*/ )
-{
-  return FALSE;
-}
-
-//=================================================================================
-// class    : GEOMGUI::OnMouseMove
-// purpose  : Mouse move event processing
-//=================================================================================
-bool GEOMGUI::OnMouseMove( QMouseEvent* /*pe*/, SUIT_Desktop* /*parent*/, SUIT_ViewWindow* /*studyFrame*/ )
-{
-  return TRUE;
-}
-
-//=================================================================================
-// class    : GEOMGUI::OnKeyPress
-// purpose  : Key press event processing
-//=================================================================================
-bool GEOMGUI::OnKeyPress( QKeyEvent* /*pe*/, SUIT_Desktop* /*parent*/, SUIT_ViewWindow* /*studyFrame*/ )
-{
-  return TRUE;
-}
-
-//=================================================================================
-// class    : GEOMGUI::SetSettings
-// purpose  : Called when GEOM component is activated
-//=================================================================================
-void GEOMGUI::activate( SUIT_Desktop* /*parent*/ )
-{
-}
-
-//=================================================================================
-// class    : GEOMGUI::Deactivate
-// purpose  : Called when GEOM component is deactivated
-//=================================================================================
-void GEOMGUI::deactivate()
-{
-}
-
-//=================================================================================
-// class    : GEOMGUI::Deactivate
-// purpose  : Called when GEOM component is deactivated
-//=================================================================================
-GeometryGUI* GEOMGUI::getGeometryGUI()
-{
-  return myGeometryGUI;
-}
-
diff --git a/src/GEOMGUI/GEOMGUI.h b/src/GEOMGUI/GEOMGUI.h
deleted file mode 100644 (file)
index 69a9bb6..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMGUI.h
-//  Author : Vadim SANDLER
-//  Module : GEOM
-//  $Header$
-
-#if !defined( __GEOMGUI_H )
-#define __GEOMGUI_H
-
-#include <qobject.h>
-
-class SUIT_Desktop;
-class SUIT_ViewWindow;
-class QMouseEvent;
-class QKeyEvent;
-class GeometryGUI;
-
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : GEOMGUI
-// purpose  : Base class for all geometry GUI subclasses
-//=================================================================================
-class GEOMGUI_WNT_EXPORT GEOMGUI : public QObject
-{
-public :
-  // Constructor
-  GEOMGUI( GeometryGUI* parent );
-  // Destructor
-  virtual ~GEOMGUI();
-
-  // Each of this methods can be redifined by descendants
-  virtual bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
-
-  virtual bool OnMousePress( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* );
-  virtual bool OnMouseMove( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* );
-  virtual bool OnKeyPress( QKeyEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* );
-
-  virtual void activate( SUIT_Desktop* parent );
-  virtual void deactivate();
-
-  GeometryGUI*  getGeometryGUI();
-
-private:
-  GeometryGUI*  myGeometryGUI;
-};
-
-#endif // __GEOMGUI_H
-
diff --git a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx
deleted file mode 100644 (file)
index e9f04b0..0000000
+++ /dev/null
@@ -1,267 +0,0 @@
-#include "GEOMGUI_OCCSelector.h"
-
-#include <SalomeApp_DataSubOwner.h>
-
-#include <OCCViewer_ViewModel.h>
-
-#include <SALOME_InteractiveObject.hxx>
-
-#include <AIS_ListOfInteractive.hxx>
-#include <AIS_ListIteratorOfListOfInteractive.hxx>
-#include <SelectMgr_EntityOwner.hxx>
-#include <AIS_Shape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopExp.hxx>
-#include <SelectMgr_IndexedMapOfOwner.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <SelectMgr_Selection.hxx>
-#include <SelectBasics_SensitiveEntity.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <SelectMgr_IndexedMapOfOwner.hxx>
-#include <NCollection_DataMap.hxx>
-
-
-//================================================================
-// Function : GEOMGUI_OCCSelector
-// Purpose  : 
-//================================================================
-GEOMGUI_OCCSelector::GEOMGUI_OCCSelector( OCCViewer_Viewer* viewer, SUIT_SelectionMgr* mgr )
-: SalomeApp_OCCSelector( viewer, mgr )
-{
-}
-
-//================================================================
-// Function : ~GEOMGUI_OCCSelector
-// Purpose  : 
-//================================================================
-GEOMGUI_OCCSelector::~GEOMGUI_OCCSelector()
-{
-}
-
-//================================================================
-// Function : getSelection
-// Purpose  : 
-//================================================================
-void GEOMGUI_OCCSelector::getSelection( SUIT_DataOwnerPtrList& aList ) const
-{
-  OCCViewer_Viewer* vw = viewer();
-  if ( !vw )
-    return;
-
-  Handle(AIS_InteractiveContext) ic = vw->getAISContext();
-  
-  if ( ic->HasOpenedContext() )
-    {
-      for ( ic->InitSelected(); ic->MoreSelected(); ic->NextSelected() )
-       {
-         Handle(SelectMgr_EntityOwner) anOwner = ic->SelectedOwner();
-         if ( anOwner.IsNull() )
-           continue;
-         
-         Handle(AIS_InteractiveObject) io = Handle(AIS_InteractiveObject)::DownCast( anOwner->Selectable() );
-         
-         QString entryStr = entry( io );
-         int index = -1; 
-         
-         if ( anOwner->ComesFromDecomposition() ) // == Local Selection
-           {
-             TopoDS_Shape subShape = anOwner->Shape();
-             Handle(AIS_Shape) aisShape = Handle(AIS_Shape)::DownCast( io );
-             if ( !aisShape.IsNull() )
-               {
-                 TopoDS_Shape bigShape = aisShape->Shape();
-                 
-                 TopTools_IndexedMapOfShape subShapes;
-                 TopExp::MapShapes( bigShape, subShapes );
-                 index = subShapes.FindIndex( subShape );
-               }
-           }
-         
-         if ( !entryStr.isEmpty() )
-           {
-             SalomeApp_DataOwner* owner;
-             if ( index > -1 ) // Local Selection
-               owner = new SalomeApp_DataSubOwner( entryStr, index );
-             else // Global Selection
-               owner = new SalomeApp_DataOwner( entryStr );
-
-             aList.append( SUIT_DataOwnerPtr( owner ) );
-           }
-       }
-    }
-  else
-    {
-      for ( ic->InitCurrent(); ic->MoreCurrent(); ic->NextCurrent() )
-       {
-         Handle(AIS_InteractiveObject) io = ic->Current();
-         
-         QString entryStr = entry( io );
-         
-         if ( !entryStr.isEmpty() )
-           {
-             SalomeApp_DataOwner* owner = new SalomeApp_DataOwner( entryStr );
-             aList.append( SUIT_DataOwnerPtr( owner ) );
-           }
-       }
-    }
-}
-
-//================================================================
-// Function : getEntityOwners
-// Purpose  : 
-//================================================================
-static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj,
-                            const Handle(AIS_InteractiveContext)& theIC,
-                            SelectMgr_IndexedMapOfOwner& theMap )
-{
-  if ( theObj.IsNull() || theIC.IsNull() )
-    return;
-
-  TColStd_ListOfInteger modes;
-  theIC->ActivatedModes( theObj, modes );
-
-  TColStd_ListIteratorOfListOfInteger itr( modes );
-  for (; itr.More(); itr.Next() ) {
-    int m = itr.Value();
-    if ( !theObj->HasSelection( m ) )
-      continue;
-
-    Handle(SelectMgr_Selection) sel = theObj->Selection( m );
-
-    for ( sel->Init(); sel->More(); sel->Next() ) {
-      Handle(SelectBasics_SensitiveEntity) entity = sel->Sensitive();
-      if ( entity.IsNull() )
-       continue;
-
-      Handle(SelectMgr_EntityOwner) owner =
-       Handle(SelectMgr_EntityOwner)::DownCast(entity->OwnerId());
-      if ( !owner.IsNull() )
-       theMap.Add( owner );
-    }
-  }
-}
-
-//================================================================
-// Function : setSelection
-// Purpose  : 
-//================================================================
-void GEOMGUI_OCCSelector::setSelection( const SUIT_DataOwnerPtrList& aList )
-{
-  OCCViewer_Viewer* vw = viewer();
-  if ( !vw )
-    return;
-
-  Handle(AIS_InteractiveContext) ic = vw->getAISContext();
-
-#ifndef WNT
-  NCollection_DataMap<TCollection_AsciiString, TColStd_IndexedMapOfInteger> indexesMap; // "entry - list_of_int" map for LOCAL selection
-#else
-  NCollection_DataMap<Standard_CString, TColStd_IndexedMapOfInteger> indexesMap; // "entry - list_of_int" map for LOCAL selection
-#endif
-  QMap<QString,int> globalSelMap; // only Key=entry from this map is used.  value(int) is NOT used at all.
-  SelectMgr_IndexedMapOfOwner ownersmap; // map of owners to be selected
-  
-  AIS_ListOfInteractive aDispList;
-  ic->DisplayedObjects( aDispList );
-
-  // build a map of data owner indexes to be selected.
-  // "entry - to - list_of_ids" map
-  for ( SUIT_DataOwnerPtrList::const_iterator itr = aList.begin(); itr != aList.end(); ++itr )
-  {
-    const SalomeApp_DataSubOwner* subOwner = dynamic_cast<const SalomeApp_DataSubOwner*>( (*itr).operator->() );
-    if ( subOwner )
-    {
-      QString entry = subOwner->entry();
-#ifndef WNT
-      if ( indexesMap.IsBound( TCollection_AsciiString((char*)entry.latin1())))
-#else
-         if ( indexesMap.IsBound( (char*)entry.latin1()))
-#endif
-      {
-       TColStd_IndexedMapOfInteger& subIndexes = indexesMap.ChangeFind((char*)entry.latin1());
-       subIndexes.Add( subOwner->index() );
-       //indexesMap.replace( entry, subIndexes );
-      }
-      else
-      {
-       TColStd_IndexedMapOfInteger subIndexes;
-       subIndexes.Add( subOwner->index() );
-       indexesMap.Bind((char*)entry.latin1(), subIndexes);
-      }
-    } 
-    else // the owner is NOT a sub owner, maybe it is a DataOwner == GLOBAL selection
-    {
-      const SalomeApp_DataOwner* owner = dynamic_cast<const SalomeApp_DataOwner*>( (*itr).operator->() );
-      if ( owner )
-      {
-       globalSelMap[owner->entry()] = 1;
-      }
-    }
-  }
-
-  // get all owners.  Fill "entry - list_of_owners" map.
-  for ( AIS_ListIteratorOfListOfInteractive it( aDispList ); it.More(); it.Next() )
-  {
-    Handle(AIS_InteractiveObject) io = it.Value();
-    QString entryStr = entry( io );
-    if ( !entryStr.isEmpty() )
-    {
-      //EntryToListOfOwnerMap entryOwnersMap; // "entry - list_of_owners" map.  temporary use.
-      SelectMgr_IndexedMapOfOwner owners;
-      getEntityOwners( io, ic, owners ); // get all owners
-
-      for  ( int i = 1, n = owners.Extent(); i <= n; i++ ) 
-      {
-       Handle(SelectMgr_EntityOwner) anOwner = owners( i );
-       if ( anOwner.IsNull() || !anOwner->HasShape() )
-         continue;
-
-       // GLOBAL selection
-       if ( !anOwner->ComesFromDecomposition() && globalSelMap.contains( entryStr ) ) 
-       {
-         ownersmap.Add( anOwner );
-       }
-       // LOCAL selection
-       else
-       {
-         Handle(AIS_Shape) aisShape = Handle(AIS_Shape)::DownCast( io );
-
-         if ( !aisShape.IsNull() && indexesMap.IsBound( (char*)entryStr.latin1() ) )
-         {
-           TopoDS_Shape shape = aisShape->Shape();
-           TopTools_IndexedMapOfShape aMapOfShapes;
-           TopExp::MapShapes( shape, aMapOfShapes );
-           const TColStd_IndexedMapOfInteger& subIndexes = indexesMap.ChangeFind((char*)entryStr.latin1());
-
-           const TopoDS_Shape& aSubShape = anOwner->Shape();
-           int  aSubShapeId = aMapOfShapes.FindIndex( aSubShape );
-
-           // check if the "sub_shape_index" is found in the "map of indexes for this entry",
-           // which was passes in the parameter
-           if ( subIndexes.Contains( aSubShapeId ) )
-           {
-             ownersmap.Add( anOwner );
-           }
-         }
-        } // end of local selection
-      } // end of for(owners)
-    }// end of if(entry)
-  }// end of for(AIS_all_ios)
-
-  vw->unHighlightAll( false );
-
-  // DO the selection
-  for  ( int i = 1, n = ownersmap.Extent(); i <= n; i++ ) 
-  {
-    Handle(SelectMgr_EntityOwner) owner = ownersmap( i );
-    if ( owner->State() )
-      continue;
-
-    if ( ic->HasOpenedContext() )
-      ic->AddOrRemoveSelected( owner, false );
-    else
-      ic->AddOrRemoveSelected( Handle(AIS_InteractiveObject)::DownCast(owner->Selectable()), false );
-  }
-
-  vw->update();
-}
diff --git a/src/GEOMGUI/GEOMGUI_OCCSelector.h b/src/GEOMGUI/GEOMGUI_OCCSelector.h
deleted file mode 100644 (file)
index 70ab0b7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef GEOMGUI_OCCSELECTOR_H
-#define GEOMGUI_OCCSELECTOR_H
-
-#include <SalomeApp_OCCSelector.h>
-
-class GEOMGUI_OCCSelector : public SalomeApp_OCCSelector
-{
-public:
-  GEOMGUI_OCCSelector( OCCViewer_Viewer*, SUIT_SelectionMgr* );
-  virtual ~GEOMGUI_OCCSelector();
-
-protected:
-  virtual void      getSelection( SUIT_DataOwnerPtrList& ) const;
-  virtual void      setSelection( const SUIT_DataOwnerPtrList& );
-
-};
-
-#endif
diff --git a/src/GEOMGUI/GEOMGUI_Selection.cxx b/src/GEOMGUI/GEOMGUI_Selection.cxx
deleted file mode 100644 (file)
index c7494b8..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-#include "GEOMGUI_Selection.h"
-
-#include "GeometryGUI.h"
-#include "GEOM_Displayer.h"
-
-#include <SalomeApp_DataOwner.h>
-#include <SalomeApp_Study.h>
-
-#include <OCCViewer_ViewModel.h>
-
-#include <SUIT_Session.h>
-#include <SUIT_ViewWindow.h>
-#include <SUIT_ViewManager.h>
-#include <SUIT_ViewModel.h>
-
-#include <SALOMEDSClient_SObject.hxx>
-#include <SALOMEDSClient_Study.hxx>
-
-#include <SALOME_Prs.h>
-#include <SALOME_InteractiveObject.hxx>
-
-#include <SOCC_Prs.h>
-#include <SVTK_Prs.h>
-#include <SALOME_Actor.h>
-
-#include <OCCViewer_ViewModel.h>
-#include <VTKViewer_ViewModel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-// OCCT Includes
-#include <AIS.hxx>
-#include <AIS_InteractiveObject.hxx>
-#include <AIS_ListOfInteractive.hxx>
-
-// VTK Includes
-#include <vtkActorCollection.h>
-
-GEOMGUI_Selection::GEOMGUI_Selection()
-{
-}
-
-GEOMGUI_Selection::~GEOMGUI_Selection()
-{
-}
-
-QtxValue GEOMGUI_Selection::globalParam( const QString& p ) const
-{
-  if ( p == "isOCC" ) return QtxValue( activeViewType() == OCCViewer_Viewer::Type() );
-
-  return SalomeApp_Selection::globalParam( p );
-}
-
-QtxValue GEOMGUI_Selection::param( const int ind, const QString& p ) const
-{
-  if      ( p == "isVisible"   )    return QtxValue( isVisible( ind ) );
-  else if ( p == "type"        )    return QtxValue( typeName( ind ) );
-  else if ( p == "displaymode" )    return QtxValue( displayMode( ind ) );
-
-  return SalomeApp_Selection::param( ind, p );
-}
-
-QString GEOMGUI_Selection::typeName( const int index ) const
-{
-  if ( isComponent( index ) )
-    return "Component";
-  GEOM::GEOM_Object_var anObj = getObject( index );
-  if ( !CORBA::is_nil( anObj ) ) {
-    const int aGeomType = anObj->GetType();
-    if ( aGeomType == GEOM_GROUP )
-      return "Group";
-    else
-      return "Shape";
-  }
-  return "Unknown";
-}
-
-bool GEOMGUI_Selection::isVisible( const int index ) const
-{
-  GEOM::GEOM_Object_var obj = getObject( index );
-  SALOME_View* view = GEOM_Displayer::GetActiveView();
-  if ( !CORBA::is_nil( obj ) && view ) {
-    Handle(SALOME_InteractiveObject) io = new SALOME_InteractiveObject( entry( index ).latin1(), "GEOM", "TEMP_IO" );
-    return view->isVisible( io );
-  }
-  return false;
-}
-
-QString GEOMGUI_Selection::displayMode( const int index ) const
-{
-  SALOME_View* view = GEOM_Displayer::GetActiveView();
-  QString viewType = activeViewType();
-  if ( view /*fix for 9320==>*/&& ( viewType == OCCViewer_Viewer::Type() || viewType == VTKViewer_Viewer::Type() ) ) {
-    SALOME_Prs* prs = view->CreatePrs( entry( index ) );
-    if ( prs ) {
-      if ( viewType == OCCViewer_Viewer::Type() ) { // assuming OCC
-       SOCC_Prs* occPrs = (SOCC_Prs*) prs;
-       AIS_ListOfInteractive lst;
-       occPrs->GetObjects( lst );
-       if ( lst.Extent() ) {
-         Handle(AIS_InteractiveObject) io = lst.First();
-         if ( !io.IsNull() ) {
-           int dm = io->DisplayMode();
-            if ( dm == AIS_WireFrame )
-             return "Wireframe";
-           else if ( dm == AIS_Shaded )
-             return "Shading";
-           else { // return default display mode of AIS_InteractiveContext
-             OCCViewer_Viewer* occViewer = (OCCViewer_Viewer*) SUIT_Session::session()->activeApplication()->desktop(
-                                            )->activeWindow()->getViewManager()->getViewModel();
-             Handle(AIS_InteractiveContext) ic = occViewer->getAISContext();
-             dm = ic->DisplayMode();
-             if ( dm == AIS_WireFrame )
-               return "Wireframe";
-             else if ( dm == AIS_Shaded )
-               return "Shading";
-           }
-         }
-       }
-      }
-      else if ( viewType == VTKViewer_Viewer::Type() ) { // assuming VTK
-       SVTK_Prs* vtkPrs = (SVTK_Prs*) prs;
-       vtkActorCollection* lst = vtkPrs->GetObjects();
-       if ( lst ) {
-         lst->InitTraversal();
-         vtkActor* actor = lst->GetNextActor();
-         if ( actor ) {
-           SALOME_Actor* salActor = dynamic_cast<SALOME_Actor*>( actor );
-           if ( salActor ) {
-             int dm = salActor->getDisplayMode();
-             if ( dm == 0 )
-               return "Wireframe";
-             else if ( dm == 1 )
-               return "Shading";
-           } // if ( salome actor )
-         } // if ( actor )
-       } // if ( lst == vtkPrs->GetObjects() )
-      } // if VTK
-    }
-  }
-  return "";
-}
-
-bool GEOMGUI_Selection::isComponent( const int index ) const
-{
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
-    (SUIT_Session::session()->activeApplication()->activeStudy());
-
-  if ( appStudy && index >= 0 && index < count() )  {
-    _PTR(Study) study = appStudy->studyDS();
-    QString anEntry = entry( index );
-
-    if ( study && !anEntry.isNull() ) {
-      _PTR(SObject) aSO( study->FindObjectID( anEntry.latin1() ) );
-      if ( aSO && aSO->GetFatherComponent() )
-       return aSO->GetFatherComponent()->GetIOR() == aSO->GetIOR();
-    }
-  }
-  return false;
-}
-
-GEOM::GEOM_Object_ptr GEOMGUI_Selection::getObject( const int index ) const
-{
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
-    (SUIT_Session::session()->activeApplication()->activeStudy());
-
-  if (appStudy && index >= 0 && index < count()) {
-    _PTR(Study) study = appStudy->studyDS();
-    QString anEntry = entry(index);
-
-    if (study && !anEntry.isNull()) {
-      _PTR(SObject) aSO (study->FindObjectID(anEntry.latin1()));
-      if (aSO) {
-        CORBA::Object_var anObj = GeometryGUI::ClientSObjectToObject(aSO);
-       return GEOM::GEOM_Object::_narrow(anObj);
-      }
-    }
-  }
-  return GEOM::GEOM_Object::_nil();
-}
diff --git a/src/GEOMGUI/GEOMGUI_Selection.h b/src/GEOMGUI/GEOMGUI_Selection.h
deleted file mode 100644 (file)
index 0a6f9f2..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  GEOMGUI_Selection
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GEOMGUI_Selection.h
-//  Author : Alexander SOLOVYOV
-//  Module : GUI
-//  $Header$
-
-#ifndef GEOMGUI_SELECTION_HeaderFile
-#define GEOMGUI_SELECTION_HeaderFile
-
-#include <SalomeApp_Selection.h>
-
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-class GEOMGUI_Selection : public SalomeApp_Selection
-{
-public:
-  GEOMGUI_Selection();
-  virtual ~GEOMGUI_Selection();
-
-  virtual QtxValue      param( const int, const QString& ) const;
-  virtual QtxValue      globalParam( const QString& ) const;
-
-private:
-  bool                  isVisible( const int ) const;
-  QString               typeName( const int ) const;  
-  QString               displayMode( const int ) const;
-
-  bool                  isComponent( const int ) const;
-  GEOM::GEOM_Object_ptr getObject( const int ) const;
-};
-
-#endif
diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx
deleted file mode 100644 (file)
index 26313ac..0000000
+++ /dev/null
@@ -1,1119 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GEOM_Displayer.cxx
-//  Author : Vadim SANDLER
-//  Module : GEOM
-//  $Header$
-
-#include "GEOM_Displayer.h"
-
-#include "GeometryGUI.h"
-
-#include "GEOM_TypeFilter.h"
-#include "GEOM_EdgeFilter.h"
-#include "GEOM_FaceFilter.h"
-#include "GEOM_PreviewFilter.h"
-#include "GEOM_LogicalFilter.h"
-#include "GEOM_OCCFilter.h"
-
-#include "GEOM_Actor.h"
-#include "GEOM_AssemblyBuilder.h"
-#include "GEOM_AISShape.hxx"
-#include "GEOM_AISTrihedron.hxx"
-#include "GEOM_VTKTrihedron.hxx"
-
-#include <SUIT_Desktop.h>
-#include <SUIT_ViewWindow.h>
-#include <SUIT_Session.h>
-#include <SUIT_Tools.h>
-#include <SUIT_ViewManager.h>
-
-#include <SalomeApp_Study.h>
-#include <SalomeApp_Application.h>
-#include <SalomeApp_SelectionMgr.h>
-#include <SalomeApp_TypeFilter.h>
-#include <SalomeApp_Tools.h>
-
-#include <SALOME_ListIteratorOfListIO.hxx>
-
-#include <SOCC_Prs.h>
-#include <SOCC_ViewModel.h>
-
-#include <SVTK_Prs.h>
-#include <SVTK_ViewModel.h>
-
-#include <SALOMEDSClient.hxx>
-#include <SALOMEDSClient_SObject.hxx>
-
-// OCCT Includes
-#include <AIS_Drawer.hxx>
-#include <AIS_ListIteratorOfListOfInteractive.hxx>
-#include <Prs3d_PointAspect.hxx>
-#include <Graphic3d_AspectMarker3d.hxx>
-#include <StdSelect_TypeOfEdge.hxx>
-#include <StdSelect_TypeOfFace.hxx>
-#include <TopoDS_Face.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Plane.hxx>
-#include <Geom_Axis2Placement.hxx>
-#include <gp_Pln.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_MapIteratorOfMapOfInteger.hxx>
-
-// VTK Includes
-#include <vtkActorCollection.h>
-
-// STL Includes
-#include <cstring>
-
-// CORBA Headers
-#include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
-
-#include "GEOMImpl_Types.hxx"
-
-using namespace std;
-
-//================================================================
-// Function : getActiveStudy
-// Purpose  : Get active study, returns 0 if no open study frame
-//================================================================
-static inline SalomeApp_Study* getActiveStudy()
-{
-  SUIT_Session* session = SUIT_Session::session();
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
-  if ( app )
-    return ( SalomeApp_Study* )app->activeStudy();
-  return 0;
-}
-
-//================================================================
-// Function : getTopAbsMode
-// Purpose  : Get TopAbs_ShapeEnum value corresponding to the
-//            one from GEOMImpl_Types.h
-//================================================================
-static inline int getTopAbsMode( const int implType )
-{
-  switch ( implType )
-  {
-    case GEOM_COMPOUND  : return TopAbs_COMPOUND;
-    case GEOM_SOLID     : return TopAbs_SOLID;
-    case GEOM_SHELL     : return TopAbs_SHELL;
-    case GEOM_FACE      : return TopAbs_FACE;
-    case GEOM_WIRE      : return TopAbs_WIRE;
-    case GEOM_EDGE      : return TopAbs_EDGE;
-    case GEOM_POINT     : return TopAbs_VERTEX;
-    default             : return -1;
-  }
-}
-
-//================================================================
-// Function : getFilter
-// Purpose  : Get filter corresponding to the type of object
-//            from GEOMImpl_Types.h
-//================================================================
-SUIT_SelectionFilter* GEOM_Displayer::getFilter( const int theMode )
-{
-  SUIT_SelectionFilter* aFilter;
-
-  int aTopAbsMode = getTopAbsMode( theMode );
-  if ( aTopAbsMode != -1 )
-    aFilter = new GEOM_TypeFilter( getStudy(), aTopAbsMode, true ); //@ aFilter = new GEOM_TypeFilter( ( TopAbs_ShapeEnum )aTopAbsMode );
-  else
-    switch ( theMode )
-      {
-      case GEOM_LINE      : aFilter = new GEOM_EdgeFilter( getStudy(), StdSelect_Line ); break;
-      case GEOM_CIRCLE    : aFilter = new GEOM_EdgeFilter( getStudy(), StdSelect_Circle ); break;
-
-      case GEOM_PLANE     : aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Plane ); break;
-      case GEOM_CYLINDER  : aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Cylinder ); break;
-      case GEOM_SPHERE    : aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Sphere ); break;
-      case GEOM_TORUS     : aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Torus ); break;
-      case GEOM_REVOLUTION: aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Revol ); break;
-      case GEOM_CONE      : aFilter = new GEOM_FaceFilter( getStudy(), StdSelect_Cone ); break;
-
-      case GEOM_PREVIEW   : aFilter = new GEOM_PreviewFilter( getStudy() ); break;
-
-      case GEOM_ALLSHAPES : aFilter = new GEOM_SelectionFilter(getStudy(), true ); break;
-      case GEOM_ALLGEOM   : aFilter = new SalomeApp_TypeFilter( getStudy(), "GEOM" ); break;
-
-      default             : aFilter = new GEOM_TypeFilter( getStudy(), theMode ); break;
-      }
-
-  return aFilter;
-}
-
-//================================================================
-// Function : getEntry
-// Purpose  :
-//================================================================
-static char* getEntry( GEOM::GEOM_Object_ptr object )
-{
-  SUIT_Session* session = SUIT_Session::session();
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
-  if ( app )
-  {
-    string IOR = app->orb()->object_to_string( object );
-    if ( IOR != "" )
-    {
-      SalomeApp_Study* study = ( SalomeApp_Study* )app->activeStudy();
-      _PTR(SObject) SO ( study->studyDS()->FindObjectIOR( IOR ) );
-      if ( SO )
-       return (char*)(SO->GetID().c_str());
-    }
-  }
-  return "";
-}
-
-//================================================================
-// Function : getName
-// Purpose  :
-//================================================================
-static const char* getName( GEOM::GEOM_Object_ptr object )
-{
-  SUIT_Session* session = SUIT_Session::session();
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
-  if ( app )
-  {
-    string IOR = app->orb()->object_to_string( object );
-    if ( IOR != "" )
-    {
-      SalomeApp_Study* study = ( SalomeApp_Study* )app->activeStudy();
-      _PTR(SObject) aSObj ( study->studyDS()->FindObjectIOR( IOR ) );
-
-      _PTR(GenericAttribute) anAttr;
-
-      if ( aSObj && aSObj->FindAttribute( anAttr, "AttributeName") )
-      {
-        _PTR(AttributeName) aNameAttr( anAttr );
-        return aNameAttr->Value().c_str();
-      }
-    }
-  }
-
-  return "";
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::GEOM_Displayer
- *  Constructor
- */
-//=================================================================
-GEOM_Displayer::GEOM_Displayer( SalomeApp_Study* study )
-{
-  myStudy = study;
-
-  /* Shading Color */
-  SUIT_Session* session = SUIT_Session::session();
-  SUIT_ResourceMgr* resMgr = session->resourceMgr();
-
-  QColor col = resMgr->colorValue( "Geometry", "shading_color", QColor( 255, 0, 0 ) );
-  myShadingColor = SalomeApp_Tools::color( col );
-
-  myDisplayMode = resMgr->integerValue("Geometry", "display_mode", 0);
-
-  myColor = -1;
-  // This color is used for shape displaying. If it is equal -1 then
-  // default color is used.
-
-  myWidth = -1;
-  myType = -1;
-
-  myToActivate = true;
-  // This parameter is used for activisation/deactivisation of objects to be displayed
-
-  myViewFrame = 0;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::~GEOM_Displayer
- *  Destructor
- */
-//=================================================================
-GEOM_Displayer::~GEOM_Displayer()
-{
-}
-
-//=================================================================
-/*!
- *  GetActiveView
- *  Get active study frame, returns 0 if no open study frame
- */
-//=================================================================
-SALOME_View* GEOM_Displayer::GetActiveView()
-{
-  SUIT_Session* session = SUIT_Session::session();
-  if (  SUIT_Application* app = session->activeApplication() ) {
-    if ( SalomeApp_Application* sApp = dynamic_cast<SalomeApp_Application*>( app ) ) {
-      if( SUIT_ViewManager* vman = sApp->activeViewManager() ) {
-       if ( SUIT_ViewModel* vmod = vman->getViewModel() )
-         return dynamic_cast<SALOME_View*>( vmod );
-      }
-    }
-  }
-  return 0;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Display
- *  Display interactive object in the current viewer
- */
-//=================================================================
-void GEOM_Displayer::Display( const Handle(SALOME_InteractiveObject)& theIO,
-                            const bool updateViewer,
-                            SALOME_View* theViewFrame )
-{
-  SALOME_View* vf = theViewFrame ? theViewFrame : GetActiveView();
-  if ( vf )
-  {
-    SALOME_Prs* prs = buildPresentation( theIO, vf );
-
-    if ( prs )
-    {
-      vf->BeforeDisplay( this );
-      vf->Display( prs );
-      vf->AfterDisplay( this );
-
-      if ( updateViewer )
-        vf->Repaint();
-
-      delete prs;  // delete presentation because displayer is its owner
-    }
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Display
- *  This overloaded Display() method can be useful for operations
- *  not using dialog boxes.
- */
-//=================================================================
-void GEOM_Displayer::Display( GEOM::GEOM_Object_ptr theObj, const bool updateViewer )
-{
-  if ( theObj->_is_nil() )
-    return;
-
-  string entry = getEntry( theObj );
-  if ( entry != "" ) {
-    Display( new SALOME_InteractiveObject(
-      entry.c_str(), "GEOM", strdup( getName( theObj ) ) ), updateViewer );
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Erase
- *  Erase interactive object in the current viewer
- */
-//=================================================================
-void GEOM_Displayer::Erase( const Handle(SALOME_InteractiveObject)& theIO,
-                            const bool forced,
-                            const bool updateViewer,
-                           SALOME_View* theViewFrame )
-{
-  if ( theIO.IsNull() )
-    return;
-
-  SALOME_View* vf = theViewFrame ? theViewFrame : GetActiveView();
-
-  if ( vf ) {
-    SALOME_Prs* prs = vf->CreatePrs( theIO->getEntry() );
-    if ( prs ) {
-      vf->Erase( prs, forced );
-      if ( updateViewer )
-       vf->Repaint();
-      delete prs;  // delete presentation because displayer is its owner
-    }
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Erase
- *  Erase geometry object in the current viewer
- */
-//=================================================================
-void GEOM_Displayer::Erase( GEOM::GEOM_Object_ptr theObj,
-                            const bool forced,
-                            const bool updateViewer )
-{
-  string entry = getEntry( theObj );
-  if ( entry != "" )
-  {
-    Erase( new SALOME_InteractiveObject(
-      entry.c_str(), "GEOM", strdup( getName( theObj ) ) ), forced, updateViewer );
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::EraseAll
- *  Erase all objects in the current viewer
- */
-//=================================================================
-void GEOM_Displayer::EraseAll ( const bool forced,
-                               const bool updateViewer,
-                               SALOME_View* theViewFrame )
-{
-  SALOME_View* vf = theViewFrame ? theViewFrame : GetActiveView();
-
-  if ( vf ) {
-    vf->EraseAll( forced );
-    if ( updateViewer )
-      vf->Repaint();
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Redisplay
- *  Redisplay (erase and then display again) interactive object
- *  in the current viewer
- */
-//=================================================================
-void GEOM_Displayer::Redisplay( const Handle(SALOME_InteractiveObject)& theIO,
-                                const bool updateViewer )
-{
-  // Remove the object permanently (<forced> == true)
-  SUIT_Session* ses = SUIT_Session::session();
-  SUIT_Application* app = ses->activeApplication();
-  if ( app )
-  {
-    SUIT_Desktop* desk = app->desktop();
-    QPtrList<SUIT_ViewWindow> wnds = desk->windows();
-    SUIT_ViewWindow* wnd;
-    for ( wnd = wnds.first(); wnd; wnd = wnds.next() )
-    {
-      SUIT_ViewManager* vman = wnd->getViewManager();
-      if ( vman )
-      {
-       SUIT_ViewModel* vmodel = vman->getViewModel();
-       if ( vmodel )
-       {
-         SALOME_View* view = dynamic_cast<SALOME_View*>(vmodel);
-         if ( view )
-         {
-           if ( view->isVisible( theIO ) || view == GetActiveView() )
-           {
-             Erase( theIO, true, false, view );
-             Display( theIO, updateViewer, view );
-           }
-         }
-       }
-      }
-    }
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Display
- *  Calls Display() method for each object in the given list
- */
-//=================================================================
-void GEOM_Displayer::Display( const SALOME_ListIO& theIOList, const bool updateViewer )
-{
-  SALOME_ListIteratorOfListIO Iter( theIOList );
-  for ( ; Iter.More(); Iter.Next() ) {
-    Display( Iter.Value(), false );
-  }
-  if ( updateViewer )
-    UpdateViewer();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Erase
- *  Calls Erase() method for each object in the given list
- */
-//=================================================================
-void GEOM_Displayer::Erase( const SALOME_ListIO& theIOList,
-                            const bool forced,
-                            const bool updateViewer )
-{
-  SALOME_ListIteratorOfListIO Iter( theIOList );
-  for ( ; Iter.More(); Iter.Next() )
-    Erase( Iter.Value(), forced, false );
-
-  if ( updateViewer )
-    UpdateViewer();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Redisplay
- *  Calls Redisplay() method for each object in the given list
- */
-//=================================================================
-void GEOM_Displayer::Redisplay( const SALOME_ListIO& theIOList, const bool updateViewer )
-{
-  SALOME_ListIteratorOfListIO Iter( theIOList );
-  for ( ; Iter.More(); Iter.Next() )
-    Redisplay( Iter.Value(), false );
-
-  if ( updateViewer )
-    UpdateViewer();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::UpdateViewer
- *  Update current viewer
- */
-//=================================================================
-void GEOM_Displayer::UpdateViewer()
-{
-  SALOME_View* vf = GetActiveView();
-  if ( vf )
-    vf->Repaint();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Update
- *  Update OCC presentaion
- *  [ Reimplemented from SALOME_Displayer ]
- */
-//=================================================================
-void GEOM_Displayer::Update( SALOME_OCCPrs* prs )
-{
-  SOCC_Prs* occPrs = dynamic_cast<SOCC_Prs*>( prs );
-  if ( !occPrs )
-    return;
-
-  if ( myType == GEOM_MARKER && !myShape.IsNull() && myShape.ShapeType() == TopAbs_FACE )
-  {
-    TopoDS_Face aFace = TopoDS::Face( myShape );
-    Handle(Geom_Plane) aPlane = Handle(Geom_Plane)::DownCast( BRep_Tool::Surface( aFace ) );
-    if ( !aPlane.IsNull() )
-    {
-      gp_Ax3 aPos = aPlane->Pln().Position();
-      Handle(Geom_Axis2Placement) aPlc = new Geom_Axis2Placement( aPos.Ax2() );
-
-      Handle(GEOM_AISTrihedron) aTrh;
-
-      if ( occPrs->IsNull() )
-      {
-        aTrh = new GEOM_AISTrihedron( aPlc );
-
-        if ( HasColor() )
-          aTrh->SetColor( (Quantity_NameOfColor)GetColor() );
-
-        if ( HasWidth() )
-          aTrh->SetWidth( GetWidth() );
-
-        if ( !myIO.IsNull() )
-        {
-          aTrh->setIO( myIO );
-          aTrh->SetOwner( myIO );
-        }
-
-        occPrs->AddObject( aTrh );
-      }
-      else
-      {
-        AIS_ListOfInteractive aList;
-        occPrs->GetObjects( aList );
-        AIS_ListIteratorOfListOfInteractive anIter( aList );
-        for ( ; anIter.More(); anIter.Next() )
-        {
-          aTrh = Handle(GEOM_AISTrihedron)::DownCast( anIter.Value() );
-          if ( !aTrh.IsNull() )
-          {
-            aTrh->SetComponent( aPlc );
-            aTrh->SetToUpdate();
-          }
-        }
-      }
-
-      occPrs->SetToActivate( ToActivate() );
-    }
-  }
-  else
-  {
-    // if presentation is empty we try to create new one
-    if ( occPrs->IsNull() )
-    {
-      if ( !myShape.IsNull() )
-      {
-        Handle(GEOM_AISShape) AISShape = new GEOM_AISShape( myShape, "" );
-        // Temporary staff: vertex must be infinite for correct visualization
-        AISShape->SetInfiniteState( myShape.Infinite() || myShape.ShapeType() == TopAbs_VERTEX );
-
-        // Setup shape properties here ..., e.g. display mode, color, transparency, etc
-       AISShape->SetDisplayMode( myDisplayMode );
-        AISShape->SetShadingColor( myShadingColor );
-
-        if ( HasColor() )
-        {
-         AISShape->SetColor( (Quantity_NameOfColor)GetColor() );
-          if ( myShape.ShapeType() == TopAbs_VERTEX )
-          {
-            Handle(Prs3d_PointAspect) anAspect = AISShape->Attributes()->PointAspect();
-            anAspect->SetColor( (Quantity_NameOfColor)GetColor() );
-            AISShape->Attributes()->SetPointAspect( anAspect );
-          }
-        }
-
-        if ( HasWidth() )
-          AISShape->SetWidth( GetWidth() );
-
-        if ( !myIO.IsNull() )
-        {
-          AISShape->setIO( myIO );
-          AISShape->SetOwner( myIO );
-        }
-        else if ( !myName.empty() )
-        {
-          // Workaround to allow selection of temporary objects
-          static int tempId = 0;
-          char buf[50];
-          sprintf( buf, "TEMP_%d", tempId++ );
-          Handle( SALOME_InteractiveObject ) anObj =
-            new SALOME_InteractiveObject( buf, "GEOM", myName.c_str() );
-          AISShape->setIO( anObj );
-          AISShape->SetOwner( anObj );
-        }
-        // AISShape->SetName(???); ??? necessary to set name ???
-        occPrs->AddObject( AISShape );
-
-        // In accordance with ToActivate() value object will be activated/deactivated
-        // when it will be displayed
-        occPrs->SetToActivate( ToActivate() );
-      }
-    }
-    // if presentation is found -> set again shape for it
-    else
-    {
-      if ( !myShape.IsNull() )
-      {
-        AIS_ListOfInteractive IOList;
-        occPrs->GetObjects( IOList );
-        AIS_ListIteratorOfListOfInteractive Iter( IOList );
-        for ( ; Iter.More(); Iter.Next() )
-        {
-          Handle(GEOM_AISShape) AISShape = Handle(GEOM_AISShape)::DownCast( Iter.Value() );
-          if ( AISShape.IsNull() )
-            continue;
-          if ( AISShape->Shape() != myShape )
-          {
-            AISShape->Set( myShape );
-            AISShape->UpdateSelection();
-            AISShape->SetToUpdate();
-          }
-          if ( !myIO.IsNull() )
-          {
-            AISShape->setIO( myIO );
-            AISShape->SetOwner( myIO );
-          }
-        }
-      }
-    }
-  }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::Update
- *  Update VTK presentaion
- *  [ Reimplemented from SALOME_Displayer ]
- */
-//=================================================================
-void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
-{
-  SVTK_Prs* vtkPrs = dynamic_cast<SVTK_Prs*>( prs );
-  if ( !vtkPrs || myShape.IsNull() )
-    return;
-
-  vtkActorCollection* theActors = 0;
-
-  if ( myType == GEOM_MARKER && !myShape.IsNull() && myShape.ShapeType() == TopAbs_FACE )
-  {
-    myToActivate = false;
-    GEOM_VTKTrihedron* aTrh = GEOM_VTKTrihedron::New();
-
-    if ( HasColor() )
-    {
-      Quantity_Color aColor( (Quantity_NameOfColor)GetColor() );
-      aTrh->SetColor( aColor.Red(), aColor.Green(), aColor.Blue() );
-    }
-
-    Handle(Geom_Plane) aPlane =
-      Handle(Geom_Plane)::DownCast( BRep_Tool::Surface( TopoDS::Face( myShape ) ) );
-    if ( aPlane.IsNull() )
-      return;
-
-    gp_Ax2 anAx2 = aPlane->Pln().Position().Ax2();
-    aTrh->SetPlacement( new Geom_Axis2Placement( anAx2 ) );
-
-//    if ( SVTK_Viewer* vf = dynamic_cast<SVTK_Viewer*>( GetActiveView() ) )
-//      aTrh->SetSize( 0.5 * vf->GetTrihedronSize() );
-
-    vtkPrs->AddObject( aTrh );
-
-    theActors = vtkActorCollection::New();
-    theActors->AddItem( aTrh );
-  }
-  else
-    theActors = GEOM_AssemblyBuilder::BuildActors( myShape, 0, 0, Standard_True );
-
-  theActors->InitTraversal();
-
-  vtkActor* anActor = (vtkActor*)theActors->GetNextActor();
-
-  vtkProperty* aProp = 0;
-
-  if ( HasColor() || HasWidth() )
-  {
-    aProp = vtkProperty::New();
-    aProp->SetRepresentationToWireframe();
-  }
-
-  if ( HasColor() )
-  {
-    Quantity_Color aColor( (Quantity_NameOfColor)GetColor() );
-    aProp->SetColor( aColor.Red(), aColor.Green(), aColor.Blue() );
-  }
-
-  if ( HasWidth() )
-  {
-    aProp->SetLineWidth( GetWidth() );
-  }
-
-  while ( anActor != NULL )
-  {
-    SALOME_Actor* GActor = SALOME_Actor::SafeDownCast( anActor );
-
-    GActor->setIO( myIO );
-
-    if ( aProp )
-    {
-      GActor->SetProperty( aProp );
-      GActor->SetPreviewProperty( aProp );
-
-      GEOM_Actor* aGeomGActor = GEOM_Actor::SafeDownCast( anActor );
-      if ( aGeomGActor != 0 )
-      {
-        aGeomGActor->SetShadingProperty( aProp );
-        aGeomGActor->SetWireframeProperty( aProp );
-      }
-    }
-
-    if ( myToActivate )
-      GActor->PickableOn();
-    else
-      GActor->PickableOff();
-
-    vtkPrs->AddObject( GActor );
-
-    anActor = (vtkActor*)theActors->GetNextActor();
-  }
-
-  if ( aProp )
-    aProp->Delete();
-
-  theActors->Delete();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::BuildPrs
- *  Build presentation accordint to the current viewer type
- */
-//=================================================================
-SALOME_Prs* GEOM_Displayer::BuildPrs( GEOM::GEOM_Object_ptr theObj )
-{
-  if ( theObj->_is_nil() )
-    return 0;
-
-  myViewFrame = GetActiveView();
-  if ( myViewFrame == 0 )
-    return 0;
-
-  SALOME_Prs* aPrs = myViewFrame->CreatePrs();
-  if ( aPrs == 0 )
-    return 0;
-
-  internalReset();
-  setShape( GEOM_Client().GetShape( GeometryGUI::GetGeomGen(), theObj ) );
-  myType = theObj->GetType();
-
-  // Update presentation
-  UpdatePrs( aPrs );
-
-  return aPrs;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::BuildPrs
- *  Build presentation accordint to the current viewer type
- */
-//=================================================================
-SALOME_Prs* GEOM_Displayer::BuildPrs( const TopoDS_Shape& theShape )
-{
-  myViewFrame = GetActiveView();
-  if ( theShape.IsNull() || myViewFrame == 0 )
-    return 0;
-
-  SALOME_Prs* aPrs = myViewFrame->CreatePrs();
-  if ( aPrs == 0 )
-    return 0;
-
-  internalReset();
-  setShape( theShape );
-  myType = -1;
-
-  UpdatePrs( aPrs );
-
-  return aPrs;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::buildPresentation
- *  Builds/finds object's presentation for the current viewer
- *  Calls corresponding Update() method by means of double dispatch
- *  [ internal ]
- */
-//=================================================================
-SALOME_Prs* GEOM_Displayer::buildPresentation( const Handle(SALOME_InteractiveObject)& theIO,
-                                              SALOME_View* theViewFrame )
-{
-  SALOME_Prs* prs = 0;
-  internalReset();
-
-  myViewFrame = theViewFrame ? theViewFrame : GetActiveView();
-
-  if ( myViewFrame )
-  {
-    prs = myViewFrame->CreatePrs( !theIO.IsNull() ? theIO->getEntry() : 0 );
-    if ( prs )
-    {
-      if ( !theIO.IsNull() )
-      {
-       // set interactive object
-       setIO( theIO );
-       //  Find SOBject (because shape should be published previously)
-       SUIT_Session* session = SUIT_Session::session();
-       SUIT_Application* app = session->activeApplication();
-       if ( app )
-       {
-         SalomeApp_Study* study = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
-         if ( study )
-         {
-           _PTR(SObject) SO ( study->studyDS()->FindObjectID( theIO->getEntry() ) );
-           if ( SO )
-           {
-             // get CORBA reference to data object
-             CORBA::Object_var object = GeometryGUI::ClientSObjectToObject(SO);
-             if ( !CORBA::is_nil( object ) )
-             {
-               // downcast to GEOM object
-               GEOM::GEOM_Object_var GeomObject = GEOM::GEOM_Object::_narrow( object );
-               if ( !GeomObject->_is_nil() )
-               {
-                 // finally set shape
-                 setShape( GEOM_Client().GetShape( GeometryGUI::GetGeomGen(), GeomObject ) );
-                 myType = GeomObject->GetType();
-               }
-             }
-           }
-         }
-       }
-      }
-      UpdatePrs( prs );  // Update presentation by using of the double dispatch
-    }
-  }
-  return prs;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::internalReset
- *  Resets internal data
- *  [internal]
- */
-//=================================================================
-void GEOM_Displayer::internalReset()
-{
-  myIO.Nullify();
-  myShape.Nullify();
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::LocalSelection
- *  Activate selection of CAD shapes with activisation of selection
- *  of their sub-shapes (with opened local context for OCC viewer)
- */
-//=================================================================
-void GEOM_Displayer::LocalSelection( const Handle(SALOME_InteractiveObject)& theIO, const int theMode )
-{
-  SUIT_Session* session = SUIT_Session::session();
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
-  if ( !app )
-    return;
-
-  SalomeApp_SelectionMgr* sm = app->selectionMgr();
-
-  // remove all filters from selection
-  sm->clearFilters();
-
-  SALOME_View* vf = GetActiveView();
-  if ( vf )
-    {
-      SALOME_Prs* prs = vf->CreatePrs( theIO.IsNull() ? 0 : theIO->getEntry() );
-      vf->LocalSelection( prs, theMode );
-      delete prs;  // delete presentation because displayer is its owner
-    }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::globalSelection
- *  Activate selection of CAD shapes without activisation of selection
- *  of their sub-shapes (without opened local context for OCC viewer)
- */
-//=================================================================
-void GEOM_Displayer::GlobalSelection( const int theMode, const bool update )
-{
-  TColStd_MapOfInteger aModes;
-  aModes.Add( theMode );
-  GlobalSelection( aModes, update );
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::globalSelection
- *  Activate selection of CAD shapes without activisation of selection
- *  of their sub-shapes (without opened local context for OCC viewer)
- */
-//=================================================================
-void GEOM_Displayer::GlobalSelection( const TColStd_MapOfInteger& theModes,
-                                     const bool update )
-{
-  SUIT_Session* session = SUIT_Session::session();
-  SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( session->activeApplication() );
-  if ( !app )
-    return;
-
-  SALOME_View* vf = GetActiveView();
-  if ( vf == 0 )
-    return;
-
-  // Close local context
-  vf->GlobalSelection( update );
-
-  // Set selection filters in accordance with current mode
-  SalomeApp_SelectionMgr* sm = app->selectionMgr();
-  if ( !sm )
-    return;
-
-  // Remove from selection temporary objects if necessary
-  if ( !theModes.Contains( GEOM_PREVIEW ) )
-    clearTemporary( sm );
-
-  //@ aSel->ClearIndex();
-
-  sm->clearFilters();
-
-  // Remove filters from AIS_InteractiveContext
-  Handle(AIS_InteractiveContext) ic;
-  SOCC_Viewer* viewer = dynamic_cast<SOCC_Viewer*>( vf );
-  if ( viewer )
-    {
-      ic = viewer->getAISContext();
-      if ( !ic.IsNull() )
-       ic->RemoveFilters();
-    }
-
-  if ( theModes.Contains( GEOM_ALLOBJECTS ) )
-    return;
-
-  SUIT_SelectionFilter* aFilter;
-  if ( theModes.Extent() == 1 )
-    {
-      int aMode = TColStd_MapIteratorOfMapOfInteger( theModes ).Key();
-      aFilter = getFilter( aMode );
-    }
-  else if ( theModes.Extent() > 1 )
-    {
-      TColStd_MapOfInteger aTopAbsModes;
-      TColStd_MapIteratorOfMapOfInteger anIter( theModes );
-      QPtrList<SUIT_SelectionFilter> aListOfFilters;
-      for ( ; anIter.More(); anIter.Next() )
-       {
-         SUIT_SelectionFilter* aFilter = getFilter( anIter.Key() );
-         if ( aFilter )
-           aListOfFilters.append( aFilter );
-       }
-
-      aFilter = new GEOM_LogicalFilter( aListOfFilters, GEOM_LogicalFilter::LO_OR );
-    }
-  else
-    return;
-
-  if ( aFilter )
-    {
-      sm->installFilter( aFilter );
-      if ( !ic.IsNull() )
-       {
-         Handle(GEOM_OCCFilter) anOCCFilter = new GEOM_OCCFilter( sm );
-         ic->AddFilter( anOCCFilter );
-       }
-    }
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::LocalSelection
- *  Activate selection of CAD shapes with activisation of selection
- *  of their sub-shapes (with opened local context for OCC viewer)
- */
-//=================================================================
-void GEOM_Displayer::LocalSelection( const SALOME_ListIO& theIOList, const int theMode )
-{
-  SALOME_ListIteratorOfListIO Iter( theIOList );
-  for ( ; Iter.More(); Iter.Next() )
-    LocalSelection( Iter.Value(), theMode );
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::BeforeDisplay
- *  Called before displaying of pars. Close local context
- *  [ Reimplemented from SALOME_Displayer ]
- */
-//=================================================================
-void GEOM_Displayer::BeforeDisplay( SALOME_View* v, const SALOME_OCCViewType& )
-{
-  SOCC_Viewer* vf = dynamic_cast<SOCC_Viewer*>( v );
-  if ( vf )
-  {
-    Handle(AIS_InteractiveContext) ic = vf->getAISContext();
-    if ( !ic.IsNull() )
-    {
-      if ( ic->HasOpenedContext() )
-      ic->CloseAllContexts();
-    }
-  }
-}
-
-void GEOM_Displayer::AfterDisplay( SALOME_View*, const SALOME_OCCViewType& )
-{
-}
-
-
-//=================================================================
-/*!
- *  GEOM_Displayer::SetColor
- *  Set color for shape displaying. If it is equal -1 then default color is used.
- *  Available values are from Quantity_NameOfColor enumeration
- */
-//=================================================================
-void GEOM_Displayer::SetColor( const int color )
-{
-  myColor = color;
-}
-
-int GEOM_Displayer::GetColor() const
-{
-  return myColor;
-}
-
-bool GEOM_Displayer::HasColor() const
-{
-  return myColor != -1;
-}
-
-void GEOM_Displayer::UnsetColor()
-{
-  myColor = -1;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::SetWidth
- *  Set width of shape displaying. If it is equal -1 then default width is used.
- */
-//=================================================================
-void GEOM_Displayer::SetWidth( const double width )
-{
-  myWidth = width;
-}
-
-double GEOM_Displayer::GetWidth() const
-{
-  return myWidth;
-}
-
-bool GEOM_Displayer::HasWidth() const
-{
-  return myWidth != -1;
-}
-
-void GEOM_Displayer::UnsetWidth()
-{
-  myWidth = -1;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::SetToActivate
- *  This method is used for activisation/deactivisation of objects to be displayed
- */
-//=================================================================
-void GEOM_Displayer::SetToActivate( const bool toActivate )
-{
-  myToActivate = toActivate;
-}
-bool GEOM_Displayer::ToActivate() const
-{
-  return myToActivate;
-}
-
-//=================================================================
-/*!
- *  GEOM_Displayer::clearTemporary
- *  Removes from selection temporary objects
- */
-//=================================================================
-void GEOM_Displayer::clearTemporary( SalomeApp_SelectionMgr* theSelMgr )
-{
-  SALOME_ListIO selected, toSelect;
-  theSelMgr->selectedObjects( selected );
-
-  for (  SALOME_ListIteratorOfListIO it( selected ) ; it.More(); it.Next() ) {
-    Handle(SALOME_InteractiveObject) io = it.Value();
-    if ( !io.IsNull() && io->hasEntry() && strncmp( io->getEntry(), "TEMP_", 5 ) != 0 )
-      toSelect.Append( it.Value() );
-  }
-
-  theSelMgr->setSelectedObjects( toSelect, true );
-}
-
diff --git a/src/GEOMGUI/GEOM_Displayer.h b/src/GEOMGUI/GEOM_Displayer.h
deleted file mode 100644 (file)
index 18be72e..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Displayer.h
-//  Author : Vadim SANDLER
-//  Module : GEOM
-//  $Header$
-
-#if !defined (__GEOM_DISPLAYER_H)
-#define __GEOM_DISPLAYER_H
-
-#include "SALOME_Prs.h"
-#include "SALOME_InteractiveObject.hxx"
-#include "SALOME_ListIO.hxx"
-#include <TopoDS_Shape.hxx>
-#include <Quantity_Color.hxx>
-
-#include <list>
-
-#include <SALOMEconfig.h>
-#include CORBA_CLIENT_HEADER(GEOM_Gen)
-
-#define GEOM_ALLOBJECTS -1 // Selection of all objects is activated
-#define GEOM_PREVIEW    -2 // Definition for preview selection
-#define GEOM_ALLSHAPES  -3 // Selection of all shapes is activated
-#define GEOM_ALLGEOM    -4 // Selection of all geom objects is activated
-
-typedef std::list<GEOM::GEOM_Object_ptr> ObjectList;
-
-class TColStd_MapOfInteger;
-class SalomeApp_SelectionMgr;
-class SalomeApp_Study;
-class SUIT_SelectionFilter;
-//class SALOME_Selection;
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
-class GEOMGUI_WNT_EXPORT GEOM_Displayer : public SALOME_Displayer
-{
-    
-public:
-  /* Constructor */
-  GEOM_Displayer( SalomeApp_Study* study );
-  /* Destructor */
-  virtual ~GEOM_Displayer();
-
-  /* Display/Erase object methods */
-
-  void          Display   ( const Handle(SALOME_InteractiveObject)& theIO,
-                            const bool updateViewer = true,
-                           SALOME_View* theViewFrame = 0 );
-
-  // This overloaded Display() method can be useful for operations
-  // not using dialog boxes.
-  void          Display   ( GEOM::GEOM_Object_ptr theObj, 
-                           const bool updateViewer = true );
-                         
-  void          Redisplay ( const Handle(SALOME_InteractiveObject)& theIO,
-                            const bool updateViewer = true );
-
-  void          Erase     ( const Handle(SALOME_InteractiveObject)& theIO,
-                            const bool forced = false,
-                            const bool updateViewer = true,
-                           SALOME_View* theViewFrame = 0 );
-
-  void          Erase     ( GEOM::GEOM_Object_ptr theObj,
-                            const bool forced = false,
-                            const bool updateViewer = true );                            
-
-  /* Display/Erase list of objects methods */
-  
-  void          Display   ( const SALOME_ListIO& theIOList,
-                            const bool updateViewer = true );
-                            
-  void          Erase     ( const SALOME_ListIO& theIOList,
-                            const bool forced = false,
-                            const bool updateViewer = true );
-                            
-  void          Redisplay ( const SALOME_ListIO& theIOList,
-                            const bool updateViewer = true );
-
-  /* Erase all objects displayed in the given or active view */
-  void          EraseAll ( const bool forced = false,
-                          const bool updateViewer = true,
-                          SALOME_View* theViewFrame = 0 );
-
-  /* Update current viewer */
-  void          UpdateViewer();
-
-  /* build presentation accordint to the current viewer type*/
-  SALOME_Prs*   BuildPrs  ( GEOM::GEOM_Object_ptr );
-  SALOME_Prs*   BuildPrs  ( const TopoDS_Shape& );
-
-  /* Set color for shape displaying. If it is equal -1 then default color is used.
-     Available values are from Quantity_NameOfColor enumeration */
-  void          SetColor  ( const int );
-  void          UnsetColor();
-  int           GetColor  () const;
-  bool          HasColor  () const;
-
-  /* Set width for shape displaying. If it is equal -1 then default width is used. */
-  void          SetWidth  ( const double );
-  void          UnsetWidth();
-  double        GetWidth  () const;
-  bool          HasWidth  () const;
-
-
-  /* Sets name - for temporary objects only */
-  void          SetName( const char* theName ) { myName = theName; }
-  void          UnsetName() { myName = ""; }
-
-  /* Reimplemented from SALOME_Displayer */
-  virtual void  Update( SALOME_OCCPrs* );
-  virtual void  Update( SALOME_VTKPrs* );
-  virtual void  BeforeDisplay( SALOME_View*, const SALOME_OCCViewType& );
-  virtual void  AfterDisplay ( SALOME_View*, const SALOME_OCCViewType& );
-
-  /* This methos is used for activisation/deactivisation of objects to be displayed*/
-  void          SetToActivate( const bool );
-  bool          ToActivate() const;
-
-  /* Activate/Deactivate selection*/
-  void         LocalSelection( const Handle(SALOME_InteractiveObject)&, const int );
-  void         LocalSelection( const SALOME_ListIO& theIOList, const int );
-  void         GlobalSelection( const int = GEOM_ALLOBJECTS, const bool = false );
-  void         GlobalSelection( const TColStd_MapOfInteger&, const bool = false );
-
-  static SALOME_View* GetActiveView();
-  SalomeApp_Study* getStudy() const {return myStudy;}
-
-protected:
-  /* internal methods */
-  /* Builds presentation accordint to the current viewer type */
-  SALOME_Prs* buildPresentation( const Handle(SALOME_InteractiveObject)& theIO,
-                                SALOME_View* theViewFrame = 0 );
-  
-  /* Sets interactive object */
-  void        setIO( const Handle(SALOME_InteractiveObject)& theIO ) { myIO = theIO; }
-  
-  /* Sets shape */
-  void        setShape( const TopoDS_Shape& theShape ) { myShape = theShape; }
-  
-  /* Resets internal data */
-  void        internalReset();
-
-  void        clearTemporary( SalomeApp_SelectionMgr* theSelMgr );
-
-  SUIT_SelectionFilter* getFilter( const int theMode );
-  
-protected:
-  Handle(SALOME_InteractiveObject) myIO;
-  TopoDS_Shape                     myShape;
-  string                           myName;
-  int                              myType;
-  SALOME_View*                     myViewFrame;
-
-  // Attributes
-  Quantity_Color                   myShadingColor;
-  int                              myColor;
-  double                           myWidth;
-  bool                             myToActivate;
-  int                              myDisplayMode;
-
-private:
-  SalomeApp_Study* myStudy;
-};
-
-#endif // __GEOM_DISPLAYER_H
-
diff --git a/src/GEOMGUI/GEOM_images.po b/src/GEOMGUI/GEOM_images.po
deleted file mode 100644 (file)
index 8279015..0000000
+++ /dev/null
@@ -1,731 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2001-06-14 09:11:49 PM CEST\n"
-"PO-Revision-Date: 2003-09-22 16:39+0200\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#Select
-msgid "ICON_SELECT"
-msgstr "select1.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_Geometry"
-msgstr "geometry.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_COMPOUND"
-msgstr "tree_compound.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_COMPSOLID"
-msgstr "tree_compsolid.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_EDGE"
-msgstr "tree_edge.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_FACE"
-msgstr "tree_face.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SHAPE"
-msgstr "tree_shape.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SHELL"
-msgstr "tree_shell.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_SOLID"
-msgstr "tree_solid.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_VERTEX"
-msgstr "tree_vertex.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_WIRE"
-msgstr "tree_wire.png"
-
-#: QAD_ObjectBrowser.cxx:140
-msgid "ICON_OBJBROWSER_BLOCK"
-msgstr "tree_block.png"
-
-#BoxDlg
-msgid "ICON_DLG_BOX_2P"
-msgstr "box2points.png"
-
-#BoxDlg
-msgid "ICON_DLG_BOX_DXYZ"
-msgstr "boxdxyz.png"
-
-#CylinderDlg
-msgid "ICON_DLG_CYLINDER_PV"
-msgstr "cylinderpointvector.png"
-
-#CylinderDlg
-msgid "ICON_DLG_CYLINDER_DXYZ"
-msgstr "cylinderdxyz.png"
-
-#SphereDlg
-msgid "ICON_DLG_SPHERE_P"
-msgstr "spherepoint.png"
-
-#SphereDlg
-msgid "ICON_DLG_SPHERE_DXYZ"
-msgstr "spheredxyz.png"
-
-#torusDlg
-msgid "ICON_DLG_TORUS_PV"
-msgstr "toruspointvector.png"
-
-#ConeDlg
-msgid "ICON_DLG_CONE_PV"
-msgstr "conepointvector.png"
-
-#torusDlg
-msgid "ICON_DLG_TORUS_DXYZ"
-msgstr "torusdxyz.png"
-
-#ConeDlg
-msgid "ICON_DLG_CONE_DXYZ"
-msgstr "conedxyz.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_2P"
-msgstr "line2points.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_EDGE"
-msgstr "lineedge.png"
-
-#LineDlg
-msgid "ICON_DLG_LINE_PV"
-msgstr "linepointvector.png"
-
-#CircleDlg
-msgid "ICON_DLG_CIRCLE_PV"
-msgstr "circlepointvector.png"
-
-#VectorDlg
-msgid "ICON_DLG_VECTOR_2P"
-msgstr "vector2points.png"
-
-#vectorDlg
-msgid "ICON_DLG_VECTOR_DXYZ"
-msgstr "vectordxyz.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_DXYZ"
-msgstr "planedxyz.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_FACE"
-msgstr "planeface.png"
-
-#PlaneDlg
-msgid "ICON_DLG_PLANE_PV"
-msgstr "planepointvector.png"
-
-#WorkingPlaneDlg
-msgid "ICON_DLG_WPLANE_FACE"
-msgstr "planeworkingface.png"
-
-#WorkingPlaneDlg
-msgid "ICON_DLG_WPLANE_VECTOR"
-msgstr "planeworkingvector.png"
-
-#WorkingPlaneDlg
-msgid "ICON_DLG_WPLANE_ORIGIN"
-msgstr "planeworkingorigin.png"
-
-#PointDlg
-msgid "ICON_DLG_POINT"
-msgstr "point2.png"
-
-#PointDlg
-msgid "ICON_DLG_POINT_REF"
-msgstr "point3.png"
-
-#PoinDlg
-msgid "ICON_DLG_POINT_EDGE"
-msgstr "pointonedge.png"
-
-#ArcDlg
-msgid "ICON_DLG_ARC"
-msgstr "arc.png"
-
-#ArchimedeDlg
-msgid "ICON_DLG_ARCHIMEDE"
-msgstr "archimede.png"
-
-#PartitionDlg
-msgid "ICON_DLG_PARTITION"
-msgstr "partition.png"
-
-#PartitionDlg
-msgid "ICON_DLG_PARTITION_KEEP_FACES"
-msgstr "partitionkeep.png"
-
-#PartitionDlg
-msgid "ICON_DLG_PARTITION_PLANE"
-msgstr "partitionplane.png"
-
-#CenterMassDlg
-msgid "ICON_DLG_CENTERMASS"
-msgstr "centergravity.png"
-
-#BoundingBoxDlg
-msgid "ICON_DLG_BOUNDING_BOX"
-msgstr "bounding.png"
-
-#CommonDlg
-msgid "ICON_DLG_COMMON"
-msgstr "common.png"
-
-#CompoundDlg
-msgid "ICON_DLG_BUILD_COMPOUND"
-msgstr "build_compound.png"
-
-#CutDlg
-msgid "ICON_DLG_CUT"
-msgstr "cut.png"
-
-#EdgeDlg
-msgid "ICON_DLG_BUILD_EDGE"
-msgstr "build_edge.png"
-
-#FaceDlg
-msgid "ICON_DLG_BUILD_FACE"
-msgstr "build_face.png"
-
-#ShellDlg
-msgid "ICON_DLG_BUILD_SHELL"
-msgstr "build_shell.png"
-
-#SolidDlg
-msgid "ICON_DLG_BUILD_SOLID"
-msgstr "build_solid.png"
-
-#WireDlg
-msgid "ICON_DLG_BUILD_WIRE"
-msgstr "build_wire.png"
-
-#FillingDlg
-msgid "ICON_DLG_FILLING"
-msgstr "filling.png"
-
-#FuseDlg
-msgid "ICON_DLG_FUSE"
-msgstr "fuse.png"
-
-#InertiaDlg
-msgid "ICON_DLG_INERTIA"
-msgstr "axisinertia.png"
-
-#ToleranceDlg
-msgid "ICON_DLG_TOLERANCE"
-msgstr "tolerance.png"
-
-#BasicPropertiesDlg
-msgid "ICON_DLG_BASICPROPERTIES"
-msgstr "basicproperties.png"
-
-#WhatisDlg
-msgid "ICON_DLG_WHATIS"
-msgstr "whatis.png"
-
-#MinDistDlg
-msgid "ICON_DLG_MINDIST"
-msgstr "mindist.png"
-
-#MirrorDlg (MZN: add icons for point and axe)
-msgid "ICON_DLG_MIRROR_POINT"
-msgstr "mirrorPoint.png"
-
-msgid "ICON_DLG_MIRROR_AXE"
-msgstr "mirrorAxe.png"
-
-msgid "ICON_DLG_MIRROR_PLANE"
-msgstr "mirrorPlane.png"
-
-#TranslationDlg
-msgid "ICON_DLG_TRANSLATION_DXYZ"
-msgstr "translationDxyz.png"
-
-#TranslationDlg
-msgid "ICON_DLG_TRANSLATION_POINTS"
-msgstr "translationPoints.png"
-
-#TranslationDlg
-msgid "ICON_DLG_TRANSLATION_VECTOR"
-msgstr "translationVector.png"
-
-#RotationDlg
-msgid "ICON_DLG_ROTATION"
-msgstr "rotate.png"
-
-#ScaleDlg
-msgid "ICON_DLG_SCALE"
-msgstr "scale.png"
-
-#OffsetDlg
-msgid "ICON_DLG_OFFSET"
-msgstr "offset.png"
-
-#OrientationDlg
-msgid "ICON_DLG_DIVIDE_EDGE"
-msgstr "pointonedge.png"
-
-#SewingDlg
-msgid "ICON_DLG_SEWING"
-msgstr "sewing.png"
-
-#PipeDlg
-msgid "ICON_DLG_PIPE"
-msgstr "pipe.png"
-
-#PrismDlg
-msgid "ICON_DLG_PRISM"
-msgstr "prism.png"
-
-#RevolutionDlg
-msgid "ICON_DLG_REVOL"
-msgstr "revol.png"
-
-#SectionDlg
-msgid "ICON_DLG_SECTION"
-msgstr "section.png"
-
-#SubShapeDlg
-msgid "ICON_DLG_SUBSHAPE"
-msgstr "subshape.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET"
-msgstr "fillet.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER"
-msgstr "chamfer.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_ALL"
-msgstr "filletall.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_ALL"
-msgstr "chamferall.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_EDGE"
-msgstr "filletedge.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_EDGE"
-msgstr "chamferedge.png"
-
-#FilletDlg
-msgid "ICON_DLG_FILLET_FACE"
-msgstr "filletface.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHAMFER_FACE"
-msgstr "chamferface.png"
-
-#ChamferDlg
-msgid "ICON_DLG_CHECKSHAPE"
-msgstr "check.png"
-
-msgid "ICON_DLG_CHECK_COMPOUND_OF_BLOCKS"
-msgstr "check_blocks_compound.png"
-
-#SupressFaceDlg
-msgid "ICON_DLG_SUPRESS_FACE"
-msgstr "supressface.png"
-
-msgid "ICON_DLG_CLOSECONTOUR"
-msgstr "closecontour.png"
-
-#SupressHoleDlg        
-msgid "ICON_DLG_SUPRESS_HOLE"
-msgstr "supresshole.png"       
-
-#SupressHoleDlg
-msgid "ICON_DLG_SUPRESS_HOLE_FACE_SHELL"
-msgstr "supressHolesOnFaceShell.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION_SIMPLE"
-msgstr "multitranslationsimple.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION"
-msgstr "multitranslation.png"
-
-#MultiTranslationDlg
-msgid "ICON_DLG_MULTITRANSLATION_DOUBLE"
-msgstr "multitranslationdouble.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION_SIMPLE"
-msgstr "multirotationsimple.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION"
-msgstr "multirotation.png"
-
-#MultiRotationDlg
-msgid "ICON_DLG_MULTIROTATION_DOUBLE"
-msgstr "multirotationdouble.png"
-
-#EllipseDlg
-msgid "ICON_DLG_ELLIPSE_PV"
-msgstr "ellipsepointvector.png"
-
-#SplineDlg
-msgid "ICON_DLG_SPLINE"
-msgstr "spline.png"
-
-#SplineDlg
-msgid "ICON_DLG_BEZIER"
-msgstr "bezier.png"
-
-#SplineDlg
-msgid "ICON_DLG_INTERPOL"
-msgstr "interpol.png"
-
-msgid "ICON_DLG_CIRCLE_PNTS"
-msgstr "circle3points.png"
-
-msgid "ICON_DLG_PLANE_3PNTS"
-msgstr "plane3points.png"
-
-msgid "ICON_DLG_POLYLINE"
-msgstr "polyline.png"
-
-msgid "ICON_DLG_SUPPRESS_INT_WIRES"
-msgstr "suppressintwires.png"
-
-msgid "ICON_DLG_ADD_POINT_ON_EDGE"
-msgstr "pointonedge.png"
-
-msgid "ICON_DLG_SUPPRESS_HOLES"
-msgstr "supressHolesOnFaceShell.png"
-
-msgid "ICON_MARKER"
-msgstr "marker.png"
-
-msgid "ICON_MARKER2"
-msgstr "marker2.png"
-
-msgid "ICON_MARKER3"
-msgstr "marker3.png"
-
-msgid "ICON_DLG_POSITION"
-msgstr "position.png"
-
-msgid "ICON_DLG_POSITION2"
-msgstr "position2.png"
-
-msgid "ICON_DLG_UNDO"
-msgstr "undo.png"
-
-msgid "ICON_DLG_REDO"
-msgstr "redo.png"
-
-msgid "ICON_OBJBROWSER_GROUP_PNT"
-msgstr "tree_group_vertex.png"
-
-msgid "ICON_OBJBROWSER_GROUP_EDGE"
-msgstr "tree_group_edge.png"
-
-msgid "ICON_OBJBROWSER_GROUP_FACE"
-msgstr "tree_group_face.png"
-
-msgid "ICON_OBJBROWSER_GROUP_SOLID"
-msgstr "tree_group_solid.png"
-
-msgid "ICON_OBJBROWSER_LCS"
-msgstr "tree_lcs.png"
-
-msgid "ICON_DLG_SHAPEPROCESS"
-msgstr "shapeprocess.png"
-
-#BlocksGUI_BlockDlg
-msgid "ICON_DLG_BLOCK_2F"
-msgstr "block_2f.png"
-
-msgid "ICON_DLG_BLOCK_6F"
-msgstr "block_6f.png"
-
-#BlocksGUI_ExplodeDlg
-msgid "ICON_DLG_BLOCK_EXPLODE"
-msgstr "subblock.png"
-
-#BlocksGUI_TrsfDlg
-msgid "ICON_DLG_BLOCK_MULTITRSF_SIMPLE"
-msgstr "block_multitrsf_simple.png"
-
-msgid "ICON_DLG_BLOCK_MULTITRSF_DOUBLE"
-msgstr "block_multitrsf_double.png"
-
-#BlocksGUI_QuadFaceDlg
-msgid "ICON_DLG_QUAD_FACE_4_VERT"
-msgstr "block_face_4v.png"
-
-msgid "ICON_DLG_QUAD_FACE_2_EDGE"
-msgstr "block_face_2e.png"
-
-msgid "ICON_DLG_QUAD_FACE_4_EDGE"
-msgstr "block_face_4e.png"
-
-msgid "ICON_DLG_GLUE_FACES"
-msgstr "glue.png"
-
-msgid "ICON_DLG_FREE_FACES"
-msgstr "free_faces.png"
-
-msgid "ICON_DLG_PROPAGATE"
-msgstr "propagate.png"
-
-msgid "ICO_DELETE"
-msgstr "delete.png"
-
-msgid "ICO_POINT"
-msgstr "point2.png"
-
-msgid "ICO_LINE"
-msgstr "line.png"
-
-msgid "ICO_CIRCLE"
-msgstr "circle.png"
-
-msgid "ICO_ELLIPSE"
-msgstr "ellipse.png"
-
-msgid "ICO_ARC"
-msgstr "arc.png"
-
-msgid "ICO_CURVE"
-msgstr "spline.png"
-
-msgid "ICO_VECTOR"
-msgstr "vector.png"
-
-msgid "ICO_PLANE"
-msgstr "plane.png"
-
-msgid "ICO_WORK_PLANE"
-msgstr "planeWorking.png"
-
-msgid "ICO_LOCAL_CS"
-msgstr "marker.png"
-
-msgid "ICO_BOX"
-msgstr "box.png"
-
-msgid "ICO_CYLINDER"
-msgstr "cylinder.png"
-
-msgid "ICO_SPHERE"
-msgstr "sphere.png"
-
-msgid "ICO_TORUS"
-msgstr "torus.png"
-
-msgid "ICO_CONE"
-msgstr "cone.png"
-
-msgid "ICO_EXTRUSION"
-msgstr "prism.png"
-
-msgid "ICO_REVOLUTION"
-msgstr "revol.png"
-
-msgid "ICO_FILLING"
-msgstr "filling.png"
-
-msgid "ICO_PIPE"
-msgstr "pipe.png"
-
-msgid "ICO_GROUP_CREATE"
-msgstr "group_new.png"
-
-msgid "ICO_GROUP_EDIT"
-msgstr "group_edit.png"
-
-msgid "ICO_Q_FACE"
-msgstr "build_face.png"
-
-msgid "ICO_HEX_SOLID"
-msgstr "box.png"
-
-msgid "ICO_SKETCH"
-msgstr "sketch.png"
-
-msgid "ICO_EXPLODE"
-msgstr "subshape.png"
-
-msgid "ICO_EDGE"
-msgstr "build_edge.png"
-
-msgid "ICO_WIRE"
-msgstr "build_wire.png"
-
-msgid "ICO_FACE"
-msgstr "build_face.png"
-
-msgid "ICO_SHELL"
-msgstr "build_shell.png"
-
-msgid "ICO_SOLID"
-msgstr "build_solid.png"
-
-msgid "ICO_COMPOUND"
-msgstr "build_compound.png"
-
-msgid "ICO_FUSE"
-msgstr "fuse.png"
-
-msgid "ICO_COMMON"
-msgstr "common.png"
-
-msgid "ICO_CUT"
-msgstr "cut.png"
-
-msgid "ICO_SECTION"
-msgstr "section.png"
-
-msgid "ICO_TRANSLATION"
-msgstr "translationVector.png"
-
-msgid "ICO_ROTATION"
-msgstr "rotate.png"
-
-msgid "ICO_MODIFY_LOCATION"
-msgstr "position2.png"
-
-msgid "ICO_MIRROR"
-msgstr "mirrorPlane.png"
-
-msgid "ICO_SCALE"
-msgstr "scale.png"
-
-msgid "ICO_OFFSET"
-msgstr "offset.png"
-
-msgid "ICO_MUL_TRANSLATION"
-msgstr "multitranslation.png"
-
-msgid "ICO_MUL_ROTATION"
-msgstr "multirotation.png"
-
-msgid "ICO_PARTITION"
-msgstr "partition.png"
-
-msgid "ICO_ARCHIMEDE"
-msgstr "archimede.png"
-
-msgid "ICO_FILLET"
-msgstr "fillet.png"
-
-msgid "ICO_CHAMFER"
-msgstr "chamfer.png"
-
-msgid "ICO_MUL_TRANSFORM"
-msgstr "multirotation.png"
-
-msgid "ICO_EXPLODE_BLOCKS"
-msgstr "subshape.png"
-
-msgid "ICO_PROPAGATE"
-msgstr "propagate.png"
-
-msgid "ICO_SEWING"
-msgstr "sewing.png"
-
-msgid "ICO_GLUE_FACES"
-msgstr "glue.png"
-
-msgid "ICO_SUPPRESS_FACES"
-msgstr "supressface.png"
-
-msgid "ICO_SUPPERSS_HOLES"
-msgstr "supresshole.png"
-
-msgid "ICO_SHAPE_PROCESS"
-msgstr "shapeprocess.png"
-
-msgid "ICO_CLOSE_CONTOUR"
-msgstr "closecontour.png"
-
-msgid "ICO_SUPPRESS_INT_WIRES"
-msgstr "suppressintwires.png"
-
-msgid "ICO_POINT_ON_EDGE"
-msgstr "pointonedge.png"
-
-msgid "ICO_CHECK_FREE_BNDS"
-msgstr "free_bound.png"
-
-msgid "ICO_CHECK_FREE_FACES"
-msgstr "free_faces.png"
-
-msgid "ICO_POINT_COORDS"
-msgstr "point_coord.png"
-
-msgid "ICO_BASIC_PROPS"
-msgstr "basicproperties.png"
-
-msgid "ICO_MASS_CENTER"
-msgstr "centergravity.png"
-
-msgid "ICO_INERTIA"
-msgstr "axisinertia.png"
-
-msgid "ICO_BND_BOX"
-msgstr "bounding.png"
-
-msgid "ICO_MIN_DIST"
-msgstr "mindist.png"
-
-msgid "ICO_TOLERANCE"
-msgstr "tolerance.png"
-
-msgid "ICO_WHAT_IS"
-msgstr "whatis.png"
-
-msgid "ICO_CHECK"
-msgstr "check.png"
-
-msgid "ICO_CHECK_COMPOUND"
-msgstr "check_blocks_compound.png"
-
-msgid "ICO_SHADING"
-msgstr "shading.png"
-
-msgid "ICO_DISPLAY_ALL"
-msgstr "displayall.png"
-
-msgid "ICO_ERASE_ALL"
-msgstr "eraseall.png"
-
-msgid "ICO_DISPLAY"
-msgstr "display.png"
-
-msgid "ICO_DISPLAY_ONLY"
-msgstr "displayonly.png"
-
-msgid "ICO_ERASE"
-msgstr "erase.png"
-
-msgid "ICO_POP_CREATE_GROUP"
-msgstr "group_new.png"
diff --git a/src/GEOMGUI/GEOM_msg_en.po b/src/GEOMGUI/GEOM_msg_en.po
deleted file mode 100644 (file)
index a93ce5a..0000000
+++ /dev/null
@@ -1,2898 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2002-03-19 09:35:48 AM CET\n"
-"PO-Revision-Date: 2003-10-27 17:32+0100\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#
-#==============================================================================
-#
-
-#Button Apply
-msgid "GEOM_BUT_APPLY"
-msgstr "&Apply"
-
-#Button Close
-msgid "GEOM_BUT_CLOSE"
-msgstr "&Close"
-
-#Button Cancel
-msgid "GEOM_BUT_CANCEL"
-msgstr "&Cancel"
-
-#Button Ok
-msgid "GEOM_BUT_OK"
-msgstr "O&k"
-
-#Button Yes
-msgid "GEOM_BUT_YES"
-msgstr "&Yes"
-
-#Button No
-msgid "GEOM_BUT_NO"
-msgstr "&No"
-
-#Button Help
-msgid "GEOM_BUT_HELP"
-msgstr "&Help"
-
-#Button Explode
-msgid "GEOM_BUT_EXPLODE"
-msgstr "&Explode"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:563
-msgid "GEOM_INF_LOADED"
-msgstr "File %1 loaded."
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3069
-msgid "GEOM_PRP_COMMAND"
-msgstr "No command associated with this id = %1."
-
-#: GeometryGUI.cxx:4977
-msgid "GEOM_PRP_ABORT"
-msgstr "Operation aborted"
-
-#: GeometryGUI.cxx:5058
-msgid "GEOM_PRP_DONE"
-msgstr "Operation done"
-
-#: GeometryGUI.cxx:3717
-msgid "GEOM_PRP_LOADING"
-msgstr "Loading %1 ..."
-
-#: GeometryGUI.cxx:1412
-msgid "GEOM_PRP_NULLSHAPE"
-msgstr "Error, null or inappropriate shape !"
-
-#: GeometryGUI.cxx:5072
-msgid "GEOM_PRP_READY"
-msgstr "Ready"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_SUBSHAPES"
-msgstr "Select Sub Shapes"
-
-msgid "GEOM_PRP_EXPORT"
-msgstr "Exporting geometry to %1 ..."
-
-msgid "GEOM_CONFIRM"
-msgstr "Confirm operation"
-
-msgid "GEOM_CONFIRM_INFO"
-msgstr "Shape contains %1 sub shapes !"
-
-
-msgid "GEOM_PRP_NOT_FOR_VTK_VIEWER"
-msgstr "Not allowed in VTK viewer"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SHAPE_IN_STUDY"
-msgstr "Main shape must be in the study before"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_EDGE"
-msgstr "Select edges and click on Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FACE"
-msgstr "Select faces to suppress and click on Ok/Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FIRST"
-msgstr "Select main shape first"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_MIN_DIST"
-msgstr "Min Distance not computed"
-
-msgid "GEOM_STUDY_LOCKED"
-msgstr "The active study is locked and therefore cannot be modified"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3698
-msgid "GEOM_MEN_ALL_FILES"
-msgstr "All Files ( * )"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ANGLE"
-msgstr "Angle :"
-
-#: GeometryGUI.cxx:3941
-msgid "GEOM_MEN_COMPONENT"
-msgstr "Geometry"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ENTER_ANGLE"
-msgstr "Enter An Angle In Degrees"
-
-#: GeometryGUI.cxx:3758
-msgid "GEOM_MEN_EXPORT"
-msgstr "Export"
-
-#: GeometryGUI.cxx:3648
-msgid "GEOM_MEN_IMPORT"
-msgstr "Import"
-
-#: GeometryGUI.cxx:2931
-msgid "GEOM_MEN_ISOS"
-msgstr "Select Number Of Isos"
-
-#: GeometryGUI.cxx:4278
-msgid "GEOM_MEN_POPUP_NAME"
-msgstr "%1 Objects"
-
-#: GeometryGUI.cxx:4414
-msgid "GEOM_MEN_SKETCHER_X"
-msgstr "Enter a length to set X"
-
-#: GeometryGUI.cxx:4438
-msgid "GEOM_MEN_SKETCHER_Y"
-msgstr "Enter a length to set Y"
-
-#: GeometryGUI.cxx:2898
-msgid "GEOM_MEN_TRANSPARENCY"
-msgstr "Transparency"
-
-#: GeometryGUI.cxx:4413
-msgid "GEOM_MEN_X"
-msgstr "X :"
-
-#: GeometryGUI.cxx:4437
-msgid "GEOM_MEN_Y"
-msgstr "Y :"
-
-#: GeometryGUI_NbIsosDlg.cxx:36
-msgid "GEOM_MEN_ISOU"
-msgstr "Isos u :"
-
-#: GeometryGUI_NbIsosDlg.cxx:53
-msgid "GEOM_MEN_ISOV"
-msgstr "Isos v :"
-
-#: GeometryGUI_TransparencyDlg.cxx:31
-msgid "GEOM_MEN_TRANSPARENCY_LABEL"
-msgstr "Transparency :"
-
-msgid "GEOM_MEN_STEP_LABEL"
-msgstr "Step :"
-
-msgid "GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE"
-msgstr "Identical names : select by mouse !"
-
-msgid "GEOM_NAME_INCORRECT"
-msgstr "Object name not found"
-
-msgid "GEOM_INCORRECT_INPUT"
-msgstr "Incorrect input data!"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:892
-msgid "GEOM_WRN_RADIUS_NULL"
-msgstr "Radius is null"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_WRN_WARNING"
-msgstr "Warning"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_REALLY_DELETE"
-msgstr "Do you really want to delete object(s) ?"
-
-#
-#==============================================================================
-#
-
-#Object
-msgid "GEOM_OBJECT"
-msgstr "Object"
-
-#Main object
-msgid "GEOM_MAIN_OBJECT"
-msgstr "Main Object"
-
-#Tool object
-msgid "GEOM_TOOL_OBJECT"
-msgstr "Tool Object"
-
-#Base Object
-msgid "GEOM_BASE_OBJECT"
-msgstr "Base Object"
-
-#Path Object
-msgid "GEOM_PATH_OBJECT"
-msgstr "Path Object"
-
-#Objects
-msgid "GEOM_OBJECTS"
-msgstr "Objects"
-
-#Object i
-msgid "GEOM_OBJECT_I"
-msgstr "Object %1"
-
-#Object and result
-msgid "GEOM_OBJECT_RESULT"
-msgstr "Object And Result"
-
-#Point
-msgid "GEOM_POINT"
-msgstr "Point"
-
-#Base point
-msgid "GEOM_BASE_POINT"
-msgstr "Base Point"
-
-#Center Point
-msgid "GEOM_CENTER_POINT"
-msgstr "Center Point"
-
-#Diagonal Points
-msgid "GEOM_DIAGONAL_POINTS"
-msgstr "Diagonal Points"
-
-#Central Point
-msgid "GEOM_CENTRAL_POINT"
-msgstr "Central Point"
-
-#Points
-msgid "GEOM_POINTS"
-msgstr "Points"
-
-#Point i
-msgid "GEOM_POINT_I"
-msgstr "Point %1"
-
-#Arguments
-msgid "GEOM_ARGUMENTS"
-msgstr "Arguments"
-
-#Center
-msgid "GEOM_CENTER"
-msgstr "Center"
-
-#Radius
-msgid "GEOM_RADIUS"
-msgstr "Radius :"
-
-#Radius i
-msgid "GEOM_RADIUS_I"
-msgstr "Radius %1 :"
-
-#Height
-msgid "GEOM_HEIGHT"
-msgstr "Height :"
-
-#Length
-msgid "GEOM_LENGTH"
-msgstr "Length is :"
-
-#Weight
-msgid "GEOM_WEIGHT"
-msgstr "Weight :"
-
-#Coordinates
-msgid "GEOM_COORDINATES"
-msgstr "Coordinates"
-
-#Coor.
-msgid "GEOM_COOR"
-msgstr "Coord. :"
-
-#Reverse
-msgid "GEOM_REVERSE"
-msgstr "Reverse"
-
-#Reverse U
-msgid "GEOM_REVERSE_U"
-msgstr "Reverse U"
-
-#Reverse V
-msgid "GEOM_REVERSE_V"
-msgstr "Reverse V"
-
-#Angle
-msgid "GEOM_ANGLE"
-msgstr "Angle :"
-
-#Axis
-msgid "GEOM_AXIS"
-msgstr "Axis"
-
-#Matrix
-msgid "GEOM_MATRIX"
-msgstr "Matrix :"
-
-#Vector Length
-msgid "GEOM_VECTOR_LENGTH"
-msgstr "Vector Length :"
-
-#Reverse Vector
-msgid "GEOM_REVERSE_VECTOR"
-msgstr "Reverse Vector"
-
-#Point Mirror
-msgid "GEOM_POINT_MIRROR"
-msgstr "Point Mirror"
-
-#Axe Mirror
-msgid "GEOM_AXE_MIRROR"
-msgstr "Axe Mirror"
-
-#Plane Mirror
-msgid "GEOM_PLANE_MIRROR"
-msgstr "Plane Mirror"
-
-#Face Selection
-msgid "GEOM_FACE_SELECTION"
-msgstr "Face Selection"
-
-#Base
-msgid "GEOM_BASE"
-msgstr "Base"
-
-#Water Density
-msgid "GEOM_WATER_DENSITY"
-msgstr "Water Density :"
-
-#Meshing Deflection
-msgid "GEOM_MESHING_DEFLECTION"
-msgstr "Meshing Deflect. :"
-
-#Dimensions
-msgid "GEOM_DIMENSIONS"
-msgstr "Dimensions"
-
-#Precision
-msgid "GEOM_PRECISION"
-msgstr "Precision :"
-
-#Selection
-msgid "GEOM_SELECTION"
-msgstr "Selection"
-
-#Nb. Times
-msgid "GEOM_NB_TIMES"
-msgstr "Nb. Times :"
-
-#Nb. Times U
-msgid "GEOM_NB_TIMES_U"
-msgstr "Nb. Times U :"
-
-#Nb. Times V
-msgid "GEOM_NB_TIMES_V"
-msgstr "Nb. Times V :"
-
-#Step
-msgid "GEOM_STEP"
-msgstr "Step :"
-
-#Step V
-msgid "GEOM_STEP_V"
-msgstr "Step V :"
-
-#Step U
-msgid "GEOM_STEP_U"
-msgstr "Step U :"
-
-#
-#==============================================================================
-#
-
-#Partition
-msgid "GEOM_PARTITION"
-msgstr "Partition"
-
-#Half-space partition
-msgid "GEOM_PARTITION_HALFSPACE"
-msgstr "Half-space partition"
-
-#Tolerance
-msgid "GEOM_TOLERANCE"
-msgstr "Tolerance"
-
-#Orientation
-msgid "GEOM_ORIENTATION"
-msgstr "Orientation"
-
-#Pipe
-msgid "GEOM_PIPE"
-msgstr "Pipe"
-
-#Revolution
-msgid "GEOM_REVOLUTION"
-msgstr "Revolution"
-
-#Rotation
-msgid "GEOM_ROTATION"
-msgstr "Rotation"
-
-#Archimede
-msgid "GEOM_ARCHIMEDE"
-msgstr "Archimede"
-
-#Common
-msgid "GEOM_COMMON"
-msgstr "Common"
-
-#Cut
-msgid "GEOM_CUT"
-msgstr "Cut"
-
-#Distance
-msgid "GEOM_DISTANCE"
-msgstr "Distance"
-
-#Filling
-msgid "GEOM_FILLING"
-msgstr "Filling"
-
-#Fuse
-msgid "GEOM_FUSE"
-msgstr "Fuse"
-
-#Scale
-msgid "GEOM_SCALE"
-msgstr "Scale"
-
-#Position
-msgid "GEOM_POSITION"
-msgstr "Location"
-
-#Offset
-msgid "GEOM_OFFSET"
-msgstr "Offset"
-
-#Section
-msgid "GEOM_SECTION"
-msgstr "Section"
-
-#Sewing
-msgid "GEOM_SEWING"
-msgstr "Sewing"
-
-#Translation
-msgid "GEOM_TRANSLATION"
-msgstr "Translation"
-
-#Working Plane
-msgid "GEOM_WPLANE"
-msgstr "Working Plane"
-
-#Mirror
-msgid "GEOM_MIRROR"
-msgstr "Mirror"
-
-#Prism
-msgid "GEOM_PRISM"
-msgstr "Prism"
-
-#Sub Shapes
-msgid "GEOM_SUB_SHAPE"
-msgstr "Sub Shapes"
-
-#Supress Face
-msgid "GEOM_SUPRESSFACE"
-msgstr "Supress Face"
-
-#Fillet
-msgid "GEOM_FILLET"
-msgstr "Fillet"
-
-#Chamfer
-msgid "GEOM_CHAMFER"
-msgstr "Chamfer"
-
-#Check Shape
-msgid "GEOM_CHECK_SHAPE"
-msgstr "Check Shape"
-
-#Check Blocks Compound
-msgid "GEOM_CHECK_BLOCKS_COMPOUND"
-msgstr "Check Blocks Compound"
-
-#Check Blocks Compound Errors
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_ERRORS"
-msgstr "Errors"
-
-#Check Blocks Compound Errors
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS"
-msgstr "The Compound of Blocks has no errors"
-
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS"
-msgstr "The Compound of Blocks has errors"
-
-#Check Blocks Compound SubShapes
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES"
-msgstr "Incriminated Sub-Shapes"
-
-#Whatis
-msgid "GEOM_WHATIS"
-msgstr "Whatis"
-
-#Bounding Box
-msgid "GEOM_BNDBOX"
-msgstr "Bounding Box"
-
-#Center Of Mass
-msgid "GEOM_CMASS"
-msgstr "Center Of Mass"
-
-#Basic Properties
-msgid "GEOM_PROPERTIES"
-msgstr "Basic Properties"
-
-#Multi-Translation
-msgid "GEOM_MULTITRANSLATION"
-msgstr "Multi-Translation"
-
-#Multi-Rotation
-msgid "GEOM_MULTIROTATION"
-msgstr "Multi-Rotation"
-
-#
-#==============================================================================
-#
-
-#Arc
-msgid "GEOM_ARC"
-msgstr "Arc"
-
-#Box
-msgid "GEOM_BOX"
-msgstr "Box"
-
-#Circle
-msgid "GEOM_CIRCLE"
-msgstr "Circle"
-
-#Ellipse
-msgid "GEOM_ELLIPSE"
-msgstr "Ellipse"
-
-msgid "GEOM_ELLIPSE_TITLE"
-msgstr "Ellipse Construction"
-
-#Radius major
-msgid "GEOM_RADIUS_MAJOR"
-msgstr "Major radius :"
-
-#Radius minor
-msgid "GEOM_RADIUS_MINOR"
-msgstr "Minor radius :"
-
-#Compound
-msgid "GEOM_COMPOUND"
-msgstr "Compound"
-
-#CompSolid
-msgid "GEOM_COMPOUNDSOLID"
-msgstr "CompSolid"
-
-#Cone
-msgid "GEOM_CONE"
-msgstr "Cone"
-
-#Cylinder
-msgid "GEOM_CYLINDER"
-msgstr "Cylinder"
-
-#Edge
-msgid "GEOM_EDGE"
-msgstr "Edge"
-
-#Face
-msgid "GEOM_FACE"
-msgstr "Face"
-
-#Faces
-msgid "GEOM_FACES"
-msgstr "Faces"
-
-#Line
-msgid "GEOM_LINE"
-msgstr "Line"
-
-#Plane
-msgid "GEOM_PLANE"
-msgstr "Plane"
-
-#Shape
-msgid "GEOM_SHAPE"
-msgstr "Shape"
-
-#Shell
-msgid "GEOM_SHELL"
-msgstr "Shell"
-
-#Shells
-msgid "GEOM_SHELLS"
-msgstr "Shells"
-
-#Solid
-msgid "GEOM_SOLID"
-msgstr "Solid"
-
-#Sphere
-msgid "GEOM_SPHERE"
-msgstr "Sphere"
-
-#Conical Face
-msgid "GEOM_SURFCONE"
-msgstr "Conical Face"
-
-#Cylindrical Face
-msgid "GEOM_SURFCYLINDER"
-msgstr "Cylindrical Face"
-
-#Spherical Face
-msgid "GEOM_SURFSPHERE"
-msgstr "Spherical Face"
-
-#Toroidal Face
-msgid "GEOM_SURFTORUS"
-msgstr "Toroidal Face"
-
-#Torus
-msgid "GEOM_TORUS"
-msgstr "Torus"
-
-#Vector
-msgid "GEOM_VECTOR"
-msgstr "Vector"
-
-#Vector U
-msgid "GEOM_VECTOR_U"
-msgstr "Vector U"
-
-#Vector V
-msgid "GEOM_VECTOR_V"
-msgstr "Vector V"
-
-#Vertex
-msgid "GEOM_VERTEX"
-msgstr "Vertex"
-
-#Wire
-msgid "GEOM_WIRE"
-msgstr "Wire"
-
-#Wire(s)
-msgid "GEOM_WIRES"
-msgstr "Wire(s)"
-
-#Wires
-msgid "GEOM_WIREZ"
-msgstr "Wires"
-
-msgid "GEOM_IMPORT"
-msgstr "Imported_Shape"
-
-#Parameter
-msgid "GEOM_PARAMETER"
-msgstr "Parameter :"
-
-#
-#==============================================================================
-#
-
-#Min
-msgid "GEOM_MIN"
-msgstr "Min :"
-
-#Max
-msgid "GEOM_MAX"
-msgstr "Max :"
-
-#X
-msgid "GEOM_X"
-msgstr "X :"
-
-#Y
-msgid "GEOM_Y"
-msgstr "Y :"
-
-#Z
-msgid "GEOM_Z"
-msgstr "Z :"
-
-#DX
-msgid "GEOM_DX"
-msgstr "Dx :"
-
-#DY
-msgid "GEOM_DY"
-msgstr "Dy :"
-
-#DZ
-msgid "GEOM_DZ"
-msgstr "Dz :"
-
-#D1
-msgid "GEOM_D1"
-msgstr "D1 :"
-
-#D2
-msgid "GEOM_D2"
-msgstr "D2 :"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx
-msgid "GEOM_STEP_TITLE"
-msgstr "Step value for GUI constructions"
-
-#: GeometryGUI_ArcDlg.cxx:45
-msgid "GEOM_ARC_TITLE"
-msgstr "Arc Construction"
-
-#: GeometryGUI_ArchimedeDlg.cxx:55
-msgid "GEOM_ARCHIMEDE_TITLE"
-msgstr "Archimede Construction"
-
-#: GeometryGUI_BndBoxDlg.cxx:59
-msgid "GEOM_BNDBOX_TITLE"
-msgstr "Bounding Box Informations"
-
-#: GeometryGUI_BndBoxDlg.cxx:82
-msgid "GEOM_BNDBOX_OBJDIM"
-msgstr "Object And Its Dimensions"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_TITLE"
-msgstr "Box Construction"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_OBJ"
-msgstr "Dimensions At Origin"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_TITLE"
-msgstr "Chamfer Construction"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_ALL"
-msgstr "Chamfer On Whole Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_EDGES"
-msgstr "Chamfer On Edges From Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_FACES"
-msgstr "Chamfer On Faces From Shape"
-
-#: GeometryGUI_CircleDlg.cxx:48
-msgid "GEOM_CIRCLE_TITLE"
-msgstr "Circle Construction"
-
-#: GeometryGUI_CenterMassDlg.cxx:77
-msgid "GEOM_CMASS_TITLE"
-msgstr "Center Of Mass Construction"
-
-msgid "GEOM_PLANE_SIZE"
-msgstr "Size of plane :"
-
-#: GeometryGUI_CommonDlg.cxx:47
-msgid "GEOM_COMMON_TITLE"
-msgstr "BOOLEAN : Common Of Two Objects"
-
-#: GeometryGUI_CompoundDlg.cxx:44
-msgid "GEOM_COMPOUND_TITLE"
-msgstr "Create A Compound"
-
-#: GeometryGUI_ConeDlg.cxx:49
-msgid "GEOM_CONE_TITLE"
-msgstr "Cone Construction"
-
-#: GeometryGUI_CutDlg.cxx:48
-msgid "GEOM_CUT_TITLE"
-msgstr "BOOLEAN : Cut Of Two Objects"
-#
-#: GeometryGUI_CylinderDlg.cxx:47
-msgid "GEOM_CYLINDER_TITLE"
-msgstr "Cylinder Construction"
-
-#: GeometryGUI_CheckShape.cxx:60
-msgid "GEOM_CHECK_TITLE"
-msgstr "Check Shape Informations"
-
-#: MeasureGUI_CheckCompoundOfBlocks.cxx:61
-msgid "GEOM_CHECK_COMPOUND_BLOCKS_TITLE"
-msgstr "Check Blocks Compound"
-
-#: GeometryGUI_CheckShape.cxx:83
-msgid "GEOM_CHECK_INFOS"
-msgstr "Object And Its Topological Informations"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_TITLE"
-msgstr "Minimun Distance Between Two Objects"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_OBJ"
-msgstr "Objects And Results"
-
-#: GeometryGUI_EdgeDlg.cxx:47
-msgid "GEOM_EDGE_TITLE"
-msgstr "Create An Edge"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_TITLE"
-msgstr "Fillet Construction"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_ALL"
-msgstr "Fillet On Whole Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_EDGES"
-msgstr "Fillet On Edges From Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_FACES"
-msgstr "Fillet On Faces From Shape"
-
-#: GeometryGUI_FaceDlg.cxx:49
-msgid "GEOM_FACE_TITLE"
-msgstr "Create A Face"
-
-#: GeometryGUI_FaceDlg.cxx:78
-msgid "GEOM_FACE_FFW"
-msgstr "Face from a wire"
-
-#: GeometryGUI_FaceDlg.cxx:103
-msgid "GEOM_FACE_OPT"
-msgstr "Try to create a planar face"
-
-#: GeometryGUI_FillingDlg.cxx:53
-msgid "GEOM_FILLING_TITLE"
-msgstr "Filling Surface With Curves"
-
-#: GeometryGUI_FillingDlg.cxx:112
-msgid "GEOM_FILLING_ARG"
-msgstr "Arguments And Parameters"
-
-#: GeometryGUI_FillingDlg.cxx:128
-msgid "GEOM_FILLING_MIN_DEG"
-msgstr "Min deg"
-
-#: GeometryGUI_FillingDlg.cxx:142
-msgid "GEOM_FILLING_MAX_DEG"
-msgstr "Max deg"
-
-#: GeometryGUI_FillingDlg.cxx:150
-msgid "GEOM_FILLING_TOL_2D"
-msgstr "Tol. 2D :"
-
-#: GeometryGUI_FillingDlg.cxx:170
-msgid "GEOM_FILLING_COMPOUND"
-msgstr "Curves Comp."
-
-#: GeometryGUI_FillingDlg.cxx:184
-msgid "GEOM_FILLING_TOL_3D"
-msgstr "Tol. 3D :"
-
-#: GeometryGUI_FillingDlg.cxx:192
-msgid "GEOM_FILLING_NB_ITER"
-msgstr "Nb. Iter :"
-
-#: GeometryGUI_FuseDlg.cxx:48
-msgid "GEOM_FUSE_TITLE"
-msgstr "BOOLEAN : Fuse Two Objects"
-
-#: GeometryGUI_InertiaDlg.cxx:42
-msgid "GEOM_INERTIA_TITLE"
-msgstr "Calculs Of Inertia"
-
-#: GeometryGUI_InertiaDlg.cxx:50
-msgid "GEOM_INERTIA_CONSTR"
-msgstr "Matrix And Moments Of Inertia"
-
-#: GeometryGUI_InertiaDlg.cxx:100
-msgid "GEOM_INERTIA_I"
-msgstr "%1:1 :"
-
-#: GeometryGUI_InertiaDlg.cxx:182
-msgid "GEOM_INERTIA_IXYZ"
-msgstr "IX & IY & IZ :"
-
-#: GeometryGUI_LineDlg.cxx:50
-msgid "GEOM_LINE_TITLE"
-msgstr "Line Construction"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:53
-msgid "GEOM_TOLERANCE_TITLE"
-msgstr "Maximum Tolerance"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:84
-msgid "GEOM_TOLERANCE_CONSTR"
-msgstr "Object And Its Tolerances"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:121
-msgid "GEOM_TOLERANCE_FACE"
-msgstr "Face :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:138
-msgid "GEOM_TOLERANCE_EDGE"
-msgstr "Edge :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:155
-msgid "GEOM_TOLERANCE_VERTEX"
-msgstr "Vertex :"
-
-#: GeometryGUI_MirrorDlg.cxx:52
-msgid "GEOM_MIRROR_TITLE"
-msgstr "Mirror An Object"
-
-#: GeometryGUI_OrientationDlg.cxx:46
-msgid "GEOM_ORIENTATION_TITLE"
-msgstr "Change Orientation"
-
-#: GeometryGUI_OrientationDlg.cxx:134
-msgid "GEOM_ORIENTATION_OPT"
-msgstr "Reverse orientation with normal vectors simulation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_TITLE"
-msgstr "Partition Of Object With Tool"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_KEEP_OBJECT"
-msgstr "Keep Object"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_ORIENTATION"
-msgstr "Change Orientation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-msgid "GEOM_REMOVE_WEBS"
-msgstr "Remove webs"
-
-msgid "GEOM_SET_MATERIALS"
-msgstr "Set materials"
-
-#: OperationGUI_MaterialDlg.cxx:45
-msgid "GEOM_MATERIAL_TITLE"
-msgstr "Define materials for Dominant Fuse"
-
-msgid "GEOM_MATERIAL_SHAPE"
-msgstr "Shapes"
-
-msgid "GEOM_MATERIAL_MATERIAL"
-msgstr "Material"
-
-msgid "GEOM_MATERIAL_ID"
-msgstr "Material ID:"
-
-msgid "GEOM_MATERIAL_SET"
-msgstr "<< Set"
-
-#: GeometryGUI_PipeDlg.cxx:47
-msgid "GEOM_PIPE_TITLE"
-msgstr "Pipe Construction"
-
-#: GeometryGUI_PointDlg.cxx:52
-msgid "GEOM_POINT_TITLE"
-msgstr "Point Construction"
-
-#: GeometryGUI_PlaneDlg.cxx:60
-msgid "GEOM_PLANE_TITLE"
-msgstr "Plane Construction"
-
-#: GeometryGUI_PlaneDlg.cxx:172
-msgid "GEOM_PLANE_PVC"
-msgstr "Point + Coordinate Vector"
-
-#: GeometryGUI_PlaneDlg.cxx:133
-msgid "GEOM_PLANE_PV"
-msgstr "Point + Vector"
-
-#: GeometryGUI_PrismDlg.cxx:54
-msgid "GEOM_PRISM_TITLE"
-msgstr "Prism Construction"
-
-#: GeometryGUI_PrismDlg.cxx:83
-msgid "GEOM_PRISM_BSV"
-msgstr "Base Shape + Vector"
-
-#: GeometryGUI_PropertiesDlg.cxx:56
-msgid "GEOM_PROPERTIES_TITLE"
-msgstr "Basic Properties Informations"
-
-#: GeometryGUI_PropertiesDlg.cxx:78
-msgid "GEOM_PROPERTIES_CONSTR"
-msgstr "Object And Its Properties"
-
-#: GeometryGUI_PropertiesDlg.cxx:114
-msgid "GEOM_PROPERTIES_SURFACE"
-msgstr "Surface is :"
-
-#: GeometryGUI_PropertiesDlg.cxx:120
-msgid "GEOM_PROPERTIES_VOLUME"
-msgstr "Volume is :"
-
-#: GeometryGUI_RevolDlg.cxx:49
-msgid "GEOM_REVOLUTION_TITLE"
-msgstr "Construction By Revolution"
-
-#: GeometryGUI_RotationDlg.cxx:51
-msgid "GEOM_ROTATION_TITLE"
-msgstr "Rotation Of An Object"
-
-#: GeometryGUI_ScaleDlg.cxx:52
-msgid "GEOM_SCALE_TITLE"
-msgstr "Scale An Object"
-
-#: GeometryGUI_PositionDlg.cxx:52
-msgid "GEOM_POSITION_TITLE"
-msgstr "Modify the Location of an Object"
-
-#: GeometryGUI_PositionDlg.cxx:52
-msgid "GEOM_START_LCS"
-msgstr "Start LCS"
-
-#: GeometryGUI_PositionDlg.cxx:52
-msgid "GEOM_END_LCS"
-msgstr "End LCS"
-
-#: GeometryGUI_OffsetDlg.cxx:53
-msgid "GEOM_OFFSET_TITLE"
-msgstr "Offset Surface"
-
-#: GeometryGUI_ScaleDlg.cxx:117
-msgid "GEOM_SCALE_FACTOR"
-msgstr "Scale Factor :"
-
-#: GeometryGUI_SectionDlg.cxx:50
-msgid "GEOM_SECTION_TITLE"
-msgstr "BOOLEAN : Section Of Two Objects"
-
-#: GeometryGUI_SewingDlg.cxx:48
-msgid "GEOM_SEWING_TITLE"
-msgstr "Topological sewing"
-
-#: GeometryGUI_ShellDlg.cxx:53
-msgid "GEOM_SHELL_TITLE"
-msgstr "Shell Construction"
-
-#: GeometryGUI_SolidDlg.cxx:74
-msgid "GEOM_SOLID_TITLE"
-msgstr "Solid Construction"
-
-#: GeometryGUI_SphereDlg.cxx:50
-msgid "GEOM_SPHERE_TITLE"
-msgstr "Sphere Construction"
-
-#: GeometryGUI_SphereDlg.cxx:113
-msgid "GEOM_SPHERE_CR"
-msgstr "Center + Radius"
-
-#: GeometryGUI_SphereDlg.cxx:146
-msgid "GEOM_SPHERE_RO"
-msgstr "Radius At Origin"
-
-#: GeometryGUI_SubShapeDlg.cxx:55
-msgid "GEOM_SUBSHAPE_TITLE"
-msgstr "Sub Shapes Selection"
-
-#: GeometryGUI_SubShapeDlg.cxx:131
-msgid "GEOM_SUBSHAPE_TYPE"
-msgstr "Sub Shapes Type :"
-
-#: GeometryGUI_SubShapeDlg.cxx:137
-msgid "GEOM_SUBSHAPE_SELECT"
-msgstr "Select Sub Shapes"
-
-msgid "EntityGUI_SubShapeDlg::NO_SUBSHAPES_SELECTED"
-msgstr "Please, select one or more sub-shapes"
-
-#: GeometryGUI_TorusDlg.cxx:51
-msgid "GEOM_TORUS_TITLE"
-msgstr "Torus Construction"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:103
-msgid "GEOM_SUPRESSFACE_TITLE"
-msgstr "Suppress Faces In An Object"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:164
-msgid "GEOM_SUPRESSFACE_SELECT"
-msgstr "Select Faces To Suppress"
-
-#: GeometryGUI_TranslationDlg.cxx:78
-msgid "GEOM_TRANSLATION_COOR"
-msgstr "Translation With Coordinates"
-
-msgid "GEOM_TRANSPARENCY_TITLE"
-msgstr "Transparency"
-
-msgid "GEOM_TRANSPARENCY_OPAQUE"
-msgstr "Opaque"
-
-msgid "GEOM_TRANSPARENCY_TRANSPARENT"
-msgstr "Transparent"
-
-msgid "GEOM_SUPPRESSHOLE_TITLE"
-msgstr "Suppress holes"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE"
-msgstr "Select the face with hole"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE"
-msgstr "Select wire on face"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE_END"
-msgstr "Select end face (if hole traversing)"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE_END"
-msgstr "Select end wire (if hole traversing)"
-
-msgid "GEOM_SUPPRESSHOLE_FACE_SHELL"
-msgstr "Face or shell"
-
-msgid "GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE"
-msgstr "Select hole(s) on the face"
-
-#: GeometryGUI_TranslationDlg.cxx:56
-msgid "GEOM_TRANSLATION_TITLE"
-msgstr "Translation Of An Object"
-
-#: GeometryGUI_VectorDlg.cxx:54
-msgid "GEOM_VECTOR_TITLE"
-msgstr "Vector Construction"
-
-#: GeometryGUI_WhatisDlg.cxx:63
-msgid "GEOM_WHATIS_TITLE"
-msgstr "Whatis Informations"
-
-#: GeometryGUI_WhatisDlg.cxx:86
-msgid "GEOM_WHATIS_OBJECT"
-msgstr "Object And Its Topological Informations"
-
-#: GeometryGUI_WireDlg.cxx:46
-msgid "GEOM_WIRE_TITLE"
-msgstr "Create A Wire"
-
-#: GeometryGUI_WireDlg.cxx:103
-msgid "GEOM_WIRE_CONNECT"
-msgstr "Wire creation from wires/edges connected"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:50
-msgid "GEOM_WPLANE_TITLE"
-msgstr "Working Plane Selection"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_FACE"
-msgstr "Plane Or Planar Face"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_VECTOR"
-msgstr "Select 2 vectors"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_VX"
-msgstr "Vector X"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_VZ"
-msgstr "Vector Z"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_ORIGIN"
-msgstr "Select a plane"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_OYZ"
-msgstr "OYZ"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_OZX"
-msgstr "OZX"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_OXY"
-msgstr "OXY"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_TITLE"
-msgstr "Multi-Translation"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_SIMPLE"
-msgstr "Multi Translation Simple"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_DOUBLE"
-msgstr "Multi Translation Double"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_TITLE"
-msgstr "Multi-Rotation"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_SIMPLE"
-msgstr "Multi Rotation Simple"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_DOUBLE"
-msgstr "Multi Rotation Double"
-
-msgid "GEOM_PARAM_POINT"
-msgstr "Parametric point"
-
-msgid "GEOM_REF_POINT"
-msgstr "Point with reference"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_WIREFRAME"
-msgstr "Wireframe"
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_SHADING"
-msgstr "\nShading"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT"
-msgstr "Reconstruction Limit"
-
-msgid "GEOM_SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-msgid "GEOM_SUPPRESS_RESULT_INSIDE"
-msgstr "Inside"
-
-msgid "GEOM_SUPPRESS_RESULT_OUTSIDE"
-msgstr "Outside"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHAPE"
-msgstr "Shape"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SOLID"
-msgstr "Solid"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHELL"
-msgstr "Shell"
-msgid "GEOM_RECONSTRUCTION_LIMIT_FACE"
-msgstr "Face"
-msgid "GEOM_RECONSTRUCTION_LIMIT_WIRE"
-msgstr "Wire"
-msgid "GEOM_RECONSTRUCTION_LIMIT_EDGE"
-msgstr "Edge"
-msgid "GEOM_RECONSTRUCTION_LIMIT_VERTEX"
-msgstr "Vertex"
-
-msgid "GEOM_SPLINE_TITLE"
-msgstr "Spline Construction"
-msgid "GEOM_SPLINE"
-msgstr "Spline"
-msgid "GEOM_BEZIER"
-msgstr "Bezier"
-msgid "GEOM_INTERPOL"
-msgstr "Interpolation"
-
-#
-#==============================================================================
-#
-
-msgid "GEOM_SKETCHER_EL"
-msgstr "Element Type"
-
-msgid "GEOM_BUT_CLOSE_SKETCH"
-msgstr "Sketch Closure"
-
-msgid "GEOM_BUT_END_SKETCH"
-msgstr "Sketch Validation"
-
-msgid "GEOM_SKETCHER_TITLE"
-msgstr "Sketch Construction"
-
-msgid "GEOM_SKETCHER_POINT"
-msgstr "Point"
-
-msgid "GEOM_SKETCHER_SEGMENT"
-msgstr "Segment"
-
-msgid "GEOM_SKETCHER_ARC"
-msgstr "Arc"
-
-msgid "GEOM_SKETCHER_DIR"
-msgstr "Direction"
-
-msgid "GEOM_SKETCHER_POINT2"
-msgstr "Point :"
-
-msgid "GEOM_SKETCHER_DEST"
-msgstr "Destination"
-
-msgid "GEOM_SKETCHER_ABS"
-msgstr "Absolute"
-
-msgid "GEOM_SKETCHER_REL"
-msgstr "Relative"
-
-msgid "GEOM_SKETCHER_SEL"
-msgstr "Selection"
-
-msgid "GEOM_SKETCHER_ANGLE"
-msgstr "Angle"
-
-msgid "GEOM_SKETCHER_PER"
-msgstr "Perpendicular"
-
-msgid "GEOM_SKETCHER_TAN"
-msgstr "Tangent"
-
-msgid "GEOM_SKETCHER_VXVY"
-msgstr "VX-VY"
-
-msgid "GEOM_SKETCHER_LENGTH"
-msgstr "Length"
-
-msgid "GEOM_SKETCHER_X"
-msgstr "X"
-
-msgid "GEOM_SKETCHER_Y"
-msgstr "Y"
-
-msgid "GEOM_SKETCHER_X2"
-msgstr "X :"
-
-msgid "GEOM_SKETCHER_Y2"
-msgstr "Y :"
-
-msgid "GEOM_SKETCHER_X3"
-msgstr "Abs. X :"
-
-msgid "GEOM_SKETCHER_Y3"
-msgstr "Abs. Y :"
-
-msgid "GEOM_SKETCHER_DX2"
-msgstr "DX :"
-
-msgid "GEOM_SKETCHER_DY2"
-msgstr "DY :"
-
-msgid "GEOM_SKETCHER_VX2"
-msgstr "VX :"
-
-msgid "GEOM_SKETCHER_VY2"
-msgstr "VY :"
-
-msgid "GEOM_SKETCHER_LENGTH2"
-msgstr "Length :"
-
-msgid "GEOM_SKETCHER_ANGLE2"
-msgstr "Angle :"
-
-msgid "GEOM_SKETCHER_RADIUS2"
-msgstr "Radius :"
-
-msgid "GEOM_SKETCHER_UNDO"
-msgstr "Undo"
-
-msgid "GEOM_SKETCHER_APPLY"
-msgstr "Apply"
-
-msgid "GEOM_SKETCHER_VALUES"
-msgstr "Values"
-
-msgid "GEOM_SKETCHER_TYPE"
-msgstr "Type"
-
-msgid "EntityGUI_SketcherDlg::CANNOT_CLOSE"
-msgstr "It is impossible to close sketch\nNumber of sketch points too small"
-
-msgid "GEOM_FILLET_ABORT"
-msgstr "Fillet can't be computed with radius %1"
-
-msgid "GEOM_CHAMFER_ABORT"
-msgstr "Chamfer can't be computed with %1 and %2"
-
-msgid "GEOM_3_POINTS"
-msgstr "3 points"
-
-msgid "GEOM_POINT1"
-msgstr "Point 1"
-
-msgid "GEOM_POINT2"
-msgstr "Point 2"
-
-msgid "GEOM_POINT3"
-msgstr "Point 3"
-
-msgid "GEOM_CREATE_COPY"
-msgstr "Create a copy"
-
-msgid "GEOM_CREATE_SINGLE_SOLID"
-msgstr "Create a single solid"
-
-msgid "GEOM_ERROR"
-msgstr "Error"
-
-msgid "GEOM_ERROR_STATUS"
-msgstr "Operation status"
-
-msgid "GEOM_ELLIPSE_ERROR_1"
-msgstr "Error creating ellipse.  Reason: minor radius is greater than major radius."
-
-msgid "GEOM_CURVE"
-msgstr "Curve"
-
-msgid "GEOM_POLYLINE"
-msgstr "Polyline"
-
-msgid "GEOM_NODES"
-msgstr "Nodes"
-
-msgid "GEOM_CURVE_TITLE"
-msgstr "Curve Construction"
-
-# ShapeProcessDlg.cxx
-msgid "GEOM_SHAPEPROCESS_TITLE"
-msgstr "Shape Processing"
-
-msgid "GEOM_SHAPES"
-msgstr "Shapes"
-
-msgid "GEOM_SELECTED_OBJECTS"
-msgstr "Selected objects"
-
-msgid "GEOM_OPERATIONS"
-msgstr "Operations"
-
-msgid "GEOM_PARAMETERS"
-msgstr "Parameters"
-
-msgid "GEOM_FixShape"
-msgstr "FixShape"
-
-msgid "GEOM_FixFaceSize"
-msgstr "FixFaceSize"
-
-msgid "GEOM_DropSmallEdges"
-msgstr "DropSmallEdges"
-
-msgid "GEOM_SplitAngle"
-msgstr "SplitAngle"
-
-msgid "GEOM_SplitClosedFaces"
-msgstr "SplitClosedFaces"
-
-msgid "GEOM_SplitContinuity"
-msgstr "SplitContinuity"
-
-msgid "GEOM_BSplineRestriction"
-msgstr "BSplineRestriction"
-
-msgid "GEOM_ToBezier"
-msgstr "ToBezier"
-
-msgid "GEOM_SameParameter"
-msgstr "SameParameter"
-
-msgid "GEOM_3D_TOLERANCE"
-msgstr "3D tolerance"
-
-msgid "GEOM_MAX_3D_TOLERANCE"
-msgstr "Max 3D tolerance"
-
-msgid "GEOM_MAX_TOLERANCE"
-msgstr "Max tolerance"
-
-msgid "GEOM_ANGLE_1"
-msgstr "Angle"
-
-msgid "GEOM_NUM_SPLIT_POINTS"
-msgstr "Number of splitting points"
-
-msgid "GEOM_SURFACE_CONTINUTY"
-msgstr "Surface continuity"
-
-msgid "GEOM_CURVE_CONTINUTY"
-msgstr "Curve continuity"
-
-msgid "GEOM_SURFACE_MODE"
-msgstr "Surface mode"
-
-msgid "GEOM_3D_CURVE_MODE"
-msgstr "3D curve mode"
-
-msgid "GEOM_2D_CURVE_MODE"
-msgstr "2D curve mode"
-
-msgid "GEOM_2D_TOLERANCE"
-msgstr "2D tolerance"
-
-msgid "GEOM_REQUIRED_DEGREE"
-msgstr "Required degree"
-
-msgid "GEOM_REQUIRED_NUM_SEGMENTS"
-msgstr "Required number of segments"
-
-msgid "GEOM_3D_CONTINUTY"
-msgstr "3D continuity"
-
-msgid "GEOM_2D_CONTINUTY"
-msgstr "2D continuity"
-
-msgid "GEOM_CLOSECONTOUR_TITLE"
-msgstr "Close contour"
-
-msgid "GEOM_ERR_LIB_NOT_FOUND"
-msgstr "GUI library corresponding to the user action can not be found or loaded"
-
-msgid "OperationGUI_ChamferDlg::FACE_1"
-msgstr "Face 1"
-
-msgid "OperationGUI_ChamferDlg::FACE_2"
-msgstr "Face 2"
-
-msgid "OperationGUI_ChamferDlg::SELECTED_FACES"
-msgstr "Selected faces"
-
-msgid "OperationGUI_ChamferDlg::D"
-msgstr "D"
-
-msgid "OperationGUI_FilletDlg::SELECTED_EDGES"
-msgstr "Selected edges"
-
-msgid "OperationGUI_FilletDlg::SELECTED_FACES"
-msgstr "Selected faces"
-
-msgid "GEOM_REMOVE_INTERNAL_WIRES_TITLE"
-msgstr "Suppress internal wires"
-
-msgid "GEOM_INTERNAL_WIRES"
-msgstr "Internal wires"
-
-msgid "GEOM_SELECTED_FACE"
-msgstr "Selected face"
-
-msgid "GEOM_REMOVE_ALL_INT_WIRES"
-msgstr "Remove all internal wires"
-
-msgid "GEOM_REMOVE_HOLES_TITLE"
-msgstr "Suppress holes"
-
-msgid "GEOM_SELECTED_SHAPE"
-msgstr "Selected shape"
-
-msgid "GEOM_REMOVE_ALL_HOLES"
-msgstr "Remove all holes"
-
-msgid "GEOM_HOLES"
-msgstr "Holes"
-
-msgid "GEOM_WIRES_TO_REMOVE"
-msgstr "Wires to remove"
-
-msgid "GEOM_DETECT"
-msgstr "Detect"
-
-msgid "GEOM_FREE_BOUNDARIES"
-msgstr "Free boundaries"
-
-msgid "GEOM_FREE_FACES"
-msgstr "Free faces"
-
-msgid "GEOM_BY_PARAMETER"
-msgstr "By parameter"
-
-msgid "GEOM_BY_LENGTH"
-msgstr "By length"
-
-msgid "GEOM_DIVIDE_EDGE_TITLE"
-msgstr "Addition of point"
-
-msgid "GEOM_ADD_POINT"
-msgstr "Add point"
-
-msgid "GEOM_VALUE"
-msgstr "Value"
-
-msgid "GEOM_MARKER_TITLE"
-msgstr "Create marker"
-
-msgid "GEOM_MARKER"
-msgstr "Marker"
-
-msgid "GEOM_TRIHEDRON"
-msgstr "Trihedron"
-
-msgid "GEOM_FREE_BOUNDS_MSG"
-msgstr "Number of free boundaries detected: %1 (%2 closed, %3 open)"
-
-msgid "GEOM_FREE_BOUNDS_ERROR"
-msgstr "Object is not selected"
-
-msgid "GEOM_FREE_BOUNDS_TLT"
-msgstr "Free boundary detection"
-
-msgid "RepairGUI_FreeBoundDlg::CAPTION"
-msgstr "Check free boundaries"
-
-msgid "RepairGUI_FreeBoundDlg::FREE_BOUND"
-msgstr "Free boundaries"
-
-msgid "RepairGUI_FreeBoundDlg::NUMBER_CLOSED"
-msgstr "Number of closed free boundaries: "
-
-msgid "RepairGUI_FreeBoundDlg::NUMBER_OPEN"
-msgstr "Number of open free boundaries: "
-
-msgid "RepairGUI_ShapeProcessDlg::ERROR_NO_OPERATORS"
-msgstr "Please, select at least one Shape Process operation to proceed."
-
-msgid "RepairGUI_ShapeProcessDlg::ERROR_NO_OBJECTS"
-msgstr "Please, select a geometrical object for Shape Processing."
-
-msgid "RepairGUI_ShapeProcessDlg::TIME_CONSUMING"
-msgstr "Enabling this option may result in a very time-consuming operation for some input shapes.\nWould you like to continue?"
-
-msgid "MeasureGUI_PointDlg::POINT"
-msgstr "Point"
-
-msgid "MeasureGUI_PointDlg::X"
-msgstr "X"
-
-msgid "MeasureGUI_PointDlg::Y"
-msgstr "Y"
-
-msgid "MeasureGUI_PointDlg::Z"
-msgstr "Z"
-
-msgid "MeasureGUI_PointDlg::CAPTION"
-msgstr "Point Coordinates"
-
-msgid "MeasureGUI_PointDlg::COORDINATES"
-msgstr "Point and its coordinates"
-
-msgid "GroupGUI_GroupDlg::CREATE_GROUP_TITLE"
-msgstr "Create Group"
-
-msgid "GroupGUI_GroupDlg::EDIT_GROUP_TITLE"
-msgstr "Edit Group"
-
-msgid "GroupGUI_GroupDlg::SHAPE_TYPE"
-msgstr "Shape Type"
-
-msgid "GroupGUI_GroupDlg::GROUP_NAME"
-msgstr "Group Name"
-
-msgid "GroupGUI_GroupDlg::MAIN_SUB_SHAPES"
-msgstr "Main Shape And Sub-Shapes"
-
-msgid "GroupGUI_GroupDlg::MAIN_SHAPE"
-msgstr "Main Shape"
-
-msgid "GroupGUI_GroupDlg::SELECT_SUB_SHAPES"
-msgstr "Select Sub-Shapes"
-
-msgid "GroupGUI_GroupDlg::SELECT_ALL"
-msgstr "Select All"
-
-msgid "GroupGUI_GroupDlg::ADD"
-msgstr "Add"
-
-msgid "GroupGUI_GroupDlg::REMOVE"
-msgstr "Remove"
-
-msgid "GroupGUI_GroupDlg::GROUP_PREFIX"
-msgstr "Group"
-
-msgid "GroupGUI_GroupDlg::EMPTY_NAME"
-msgstr "Please, specify a non-empty group name"
-
-msgid "GroupGUI_GroupDlg::NO_MAIN_OBJ"
-msgstr "Please, select a main shape"
-
-msgid "GroupGUI_GroupDlg::NO_GROUP"
-msgstr "Please, select a group to edit"
-
-msgid "GroupGUI_GroupDlg::EMPTY_LIST"
-msgstr "Please, select one or more sub-shapes to put into the group"
-
-msgid "GroupGUI::NO_GROUP"
-msgstr "Please, select a group to edit"
-
-msgid "_S_"
-msgstr "(s)"
-
-### BlocksGUI ###
-
-msgid "WRN_NOT_IMPLEMENTED"
-msgstr "Sorry, this functionality is not yet implemented"
-
-### BlocksGUI_TrsfDlg ###
-
-msgid "BlocksGUI_TrsfDlg::FACE_1"
-msgstr "Face 1"
-
-msgid "BlocksGUI_TrsfDlg::FACE_2"
-msgstr "Face 2"
-
-msgid "BlocksGUI_TrsfDlg::FACE_1U"
-msgstr "Face 1 U"
-
-msgid "BlocksGUI_TrsfDlg::FACE_2U"
-msgstr "Face 2 U"
-
-msgid "BlocksGUI_TrsfDlg::FACE_1V"
-msgstr "Face 1 V"
-
-msgid "BlocksGUI_TrsfDlg::FACE_2V"
-msgstr "Face 2 V"
-
-msgid "GEOM_BLOCK_MULTITRSF_TITLE"
-msgstr "Block Multi-Transformation"
-
-msgid "GEOM_BLOCK_MULTITRSF"
-msgstr "Block Multi-Transformation"
-
-msgid "GEOM_BLOCK_MULTITRSF_SIMPLE"
-msgstr "Multi-Transformation Simple"
-
-msgid "GEOM_BLOCK_MULTITRSF_DOUBLE"
-msgstr "Multi-Transformation Double"
-
-### BlocksGUI_QuadFaceDlg ###
-
-msgid "BlocksGUI_QuadFaceDlg::VERTEX_1"
-msgstr "Vertex 1"
-
-msgid "BlocksGUI_QuadFaceDlg::VERTEX_2"
-msgstr "Vertex 2"
-
-msgid "BlocksGUI_QuadFaceDlg::VERTEX_3"
-msgstr "Vertex 3"
-
-msgid "BlocksGUI_QuadFaceDlg::VERTEX_4"
-msgstr "Vertex 4"
-
-msgid "BlocksGUI_QuadFaceDlg::EDGE_1"
-msgstr "Edge 1"
-
-msgid "BlocksGUI_QuadFaceDlg::EDGE_2"
-msgstr "Edge 2"
-
-msgid "BlocksGUI_QuadFaceDlg::EDGE_3"
-msgstr "Edge 3"
-
-msgid "BlocksGUI_QuadFaceDlg::EDGE_4"
-msgstr "Edge 4"
-
-msgid "GEOM_QUAD_FACE_TITLE"
-msgstr "Quadrangle Face Construction"
-
-msgid "GEOM_QUAD_FACE"
-msgstr "Quadrangle Face"
-
-### BlocksGUI_BlockDlg ###
-
-msgid "BlocksGUI_BlockDlg::FACE_1"
-msgstr "Face 1"
-
-msgid "BlocksGUI_BlockDlg::FACE_2"
-msgstr "Face 2"
-
-msgid "BlocksGUI_BlockDlg::FACE_3"
-msgstr "Face 3"
-
-msgid "BlocksGUI_BlockDlg::FACE_4"
-msgstr "Face 4"
-
-msgid "BlocksGUI_BlockDlg::FACE_5"
-msgstr "Face 5"
-
-msgid "BlocksGUI_BlockDlg::FACE_6"
-msgstr "Face 6"
-
-msgid "GEOM_BLOCK_TITLE"
-msgstr "Hexahedral Solid Construction"
-
-msgid "GEOM_BLOCK"
-msgstr "Hexahedral Solid"
-
-#==============================================================================
-
-msgid "BasicGUI_MarkerDlg::CAPTION"
-msgstr "Local CS Construction"
-
-msgid "BasicGUI_MarkerDlg::LOCALCS"
-msgstr "Local coordinate system"
-
-msgid "BasicGUI_MarkerDlg::ORIGIN"
-msgstr "Coordinates of origin"
-
-msgid "BasicGUI_MarkerDlg::XDIR"
-msgstr "X axis direction"
-
-msgid "BasicGUI_MarkerDlg::YDIR"
-msgstr "Y axis direction"
-
-msgid "BasicGUI_MarkerDlg::DX"
-msgstr "Dx"
-
-msgid "BasicGUI_MarkerDlg::DY"
-msgstr "Dy"
-
-msgid "BasicGUI_MarkerDlg::DZ"
-msgstr "Dz"
-
-msgid "BasicGUI_MarkerDlg::LCS_NAME"
-msgstr "LocalCS"
-
-msgid "BasicGUI_MarkerDlg::VEC_PARALLEL"
-msgstr "Coordinate system axes cannot be parallel"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-=======
-
-### BlocksGUI_ExplodeDlg ###
-
-msgid "BlocksGUI_ExplodeDlg::NB_FACES_MIN"
-msgstr "Min. nb. faces"
-
-msgid "BlocksGUI_ExplodeDlg::NB_FACES_MAX"
-msgstr "Max. nb. faces"
-
-msgid "GEOM_BLOCK_EXPLODE_TITLE"
-msgstr "Sub Blocks Selection"
-
-msgid "GEOM_BLOCK_EXPLODE"
-msgstr "Sub Blocks"
-
-msgid "GEOM_NB_BLOCKS_NO_OTHERS"
-msgstr "There are %1 specified blocks and NO other solids"
-
-msgid "GEOM_NB_BLOCKS_SOME_OTHERS"
-msgstr "There are %1 specified blocks and some other solids"
-
-msgid "ShHealOper_NotError_msg"
-msgstr "Shape Healing algorithm has done no modification of the original shape"
-
-msgid "ShHealOper_InvalidParameters_msg"
-msgstr "Incorrect parameters for Shape Healing algorithm"
-
-msgid "ShHealOper_ErrorExecution_msg"
-msgstr "Shape Healing algorithm failed"
-
-msgid "GEOM_GLUE_TITLE"
-msgstr "Glue faces"
-
-msgid "GEOM_GLUE"
-msgstr "Glue"
-
-msgid "GEOM_FREE_FACES_TITLE"
-msgstr "Free faces"
-
-### New object names for RepairGUI ###
-msgid "SEWING_NEW_OBJ_NAME"
-msgstr "Sewing"
-
-msgid "DEVIDE_EDGE_NEW_OBJECT_NAME"
-msgstr "NewObject"
-
-msgid "CLOSE_CONTOUR_NEW_OBJ_NAME"
-msgstr "CloseContour"
-
-msgid "REMOVE_HOLES_NEW_OBJ_NAME"
-msgstr "SupressHoles"
-
-msgid "GLUE_NEW_OBJ_NAME"
-msgstr "Glue"
-
-msgid "REMOVE_INT_WIRES_NEW_OBJ_NAME"
-msgstr "RemoveIntWires"
-
-msgid "PROCESS_SHAPE_NEW_OBJ_NAME"
-msgstr "ProcessShape"
-
-msgid "SUPRESS_FACE_NEW_OBJ_NAME"
-msgstr "SupressFaces"
-
-msgid "NON_GEOM_OBJECTS_SELECTED"
-msgstr "There are objects selected which do not belong to %1 component."
-
-msgid "GEOM_PROPAGATE_TITLE"
-msgstr "Propagate"
-
-msgid "GEOM_PROPAGATE"
-msgstr "Propagate"
-
-### Menu of GEOM module ###
-msgid "MEN_FILE"
-msgstr "File"
-
-msgid "TOP_IMPORT"
-msgstr "Import geometry from BREP file"
-
-msgid "MEN_IMPORT"
-msgstr "Import..."
-
-msgid "STB_IMPORT"
-msgstr "Import geometry from BREP file"
-
-msgid "TOP_EXPORT"
-msgstr "Export geometry to BREP file"
-
-msgid "MEN_EXPORT"
-msgstr "Export..."
-
-msgid "STB_EXPORT"
-msgstr "Export geometry to BREP file"
-
-msgid "MEN_EDIT"
-msgstr "Edit"
-
-msgid "TOP_DELETE"
-msgstr "Delete object"
-
-msgid "MEN_DELETE"
-msgstr "Delete"
-
-msgid "STB_DELETE"
-msgstr "Delete object"
-
-msgid "MEN_NEW_ENTITY"
-msgstr "New Entity"
-
-msgid "MEN_BASIC"
-msgstr "Basic"
-
-msgid "TOP_POINT"
-msgstr "Create a point"
-
-msgid "MEN_POINT"
-msgstr "Point"
-
-msgid "STB_POINT"
-msgstr "Create a point"
-
-msgid "TOP_LINE"
-msgstr "Create a line"
-
-msgid "MEN_LINE"
-msgstr "Line"
-
-msgid "STB_LINE"
-msgstr "Create a line"
-
-msgid "TOP_CIRCLE"
-msgstr "Create a circle"
-
-msgid "MEN_CIRCLE"
-msgstr "Circle"
-
-msgid "STB_CIRCLE"
-msgstr "Create a circle"
-
-msgid "TOP_ELLIPSE"
-msgstr "Create an ellipse"
-
-msgid "MEN_ELLIPSE"
-msgstr "Ellipse"
-
-msgid "STB_ELLIPSE"
-msgstr "Create an ellipse"
-
-msgid "TOP_ARC"
-msgstr "Create an arc"
-
-msgid "MEN_ARC"
-msgstr "Arc"
-
-msgid "STB_ARC"
-msgstr "Create an arc"
-
-msgid "TOP_CURVE"
-msgstr "Create a curve"
-
-msgid "MEN_CURVE"
-msgstr "Curve"
-
-msgid "STB_CURVE"
-msgstr "Create a curve"
-
-msgid "TOP_VECTOR"
-msgstr "Create a vector"
-
-msgid "MEN_VECTOR"
-msgstr "Vector"
-
-msgid "STB_VECTOR"
-msgstr "Create a vector"
-
-msgid "TOP_PLANE"
-msgstr "Create a plane"
-
-msgid "MEN_PLANE"
-msgstr "Plane"
-
-msgid "STB_PLANE"
-msgstr "Create a plane"
-
-msgid "TOP_WORK_PLANE"
-msgstr "Create a working plane"
-
-msgid "MEN_WORK_PLANE"
-msgstr "Working plane"
-
-msgid "STB_WORK_PLANE"
-msgstr "Create a working plane"
-
-msgid "TOP_LOCAL_CS"
-msgstr "Create a local coordinate system"
-
-msgid "MEN_LOCAL_CS"
-msgstr "Local coordinate system"
-
-msgid "STB_LOCAL_CS"
-msgstr "Create a local coordinate system"
-
-msgid "MEN_PRIMITIVES"
-msgstr "Primitives"
-
-msgid "TOP_BOX"
-msgstr "Create a box"
-
-msgid "MEN_BOX"
-msgstr "Box"
-
-msgid "STB_BOX"
-msgstr "Create a box"
-
-msgid "TOP_CYLINDER"
-msgstr "Create a cyliner"
-
-msgid "MEN_CYLINDER"
-msgstr "Cyliner"
-
-msgid "STB_CYLINDER"
-msgstr "Create a cylinder"
-
-msgid "TOP_SPHERE"
-msgstr "Create a sphere"
-
-msgid "MEN_SPHERE"
-msgstr "Sphere"
-
-msgid "STB_SPHERE"
-msgstr "Create a sphere"
-
-msgid "TOP_TORUS"
-msgstr "Create a torus"
-
-msgid "MEN_TORUS"
-msgstr "Torus"
-
-msgid "STB_TORUS"
-msgstr "Create a torus"
-
-msgid "TOP_CONE"
-msgstr "Create a cone"
-
-msgid "MEN_CONE"
-msgstr "Cone"
-
-msgid "STB_CONE"
-msgstr "Create a cone"
-
-msgid "MEN_GENERATION"
-msgstr "Generation"
-
-msgid "TOP_EXTRUSION"
-msgstr "Create an extrusion"
-
-msgid "MEN_EXTRUSION"
-msgstr "Extrusion"
-
-msgid "STB_EXTRUSION"
-msgstr "Create an extrusion"
-
-msgid "TOP_REVOLUTION"
-msgstr "Create a revolution"
-
-msgid "MEN_REVOLUTION"
-msgstr "Revolution"
-
-msgid "STB_REVOLUTION"
-msgstr "Create a revolution"
-
-msgid "TOP_FILLING"
-msgstr "Create a filling"
-
-msgid "MEN_FILLING"
-msgstr "Filling"
-
-msgid "STB_FILLING"
-msgstr "Create a filling"
-
-msgid "TOP_PIPE"
-msgstr "Create a pipe"
-
-msgid "MEN_PIPE"
-msgstr "Pipe"
-
-msgid "STB_PIPE"
-msgstr "Create a pipe"
-
-msgid "MEN_GROUP"
-msgstr "Group"
-
-msgid "TOP_GROUP_CREATE"
-msgstr "Create a group"
-
-msgid "MEN_GROUP_CREATE"
-msgstr "Create"
-
-msgid "STB_GROUP_CREATE"
-msgstr "Create a group"
-
-msgid "TOP_GROUP_EDIT"
-msgstr "Edit a group"
-
-msgid "MEN_GROUP_EDIT"
-msgstr "Edit"
-
-msgid "STB_GROUP_EDIT"
-msgstr "Edit a group"
-
-msgid "MEN_BLOCKS"
-msgstr "Blocks"
-
-msgid "TOP_Q_FACE"
-msgstr "Quadrangle Face"
-
-msgid "MEN_Q_FACE"
-msgstr "Quadrangle Face"
-
-msgid "STB_Q_FACE"
-msgstr "Quadrangle Face"
-
-msgid "TOP_HEX_SOLID"
-msgstr "Hexahedral Solid"
-
-msgid "MEN_HEX_SOLID"
-msgstr "Hexahedral Solid"
-
-msgid "STB_HEX_SOLID"
-msgstr "Hexahedral Solid"
-
-msgid "TOP_SKETCH"
-msgstr "Sketch"
-
-msgid "MEN_SKETCH"
-msgstr "Sketch"
-
-msgid "STB_SKETCH"
-msgstr "Sketch"
-
-msgid "TOP_EXPLODE"
-msgstr "Explode"
-
-msgid "MEN_EXPLODE"
-msgstr "Explode"
-
-msgid "STB_EXPLODE"
-msgstr "Explode"
-
-msgid "MEN_BUILD"
-msgstr "Build"
-
-msgid "TOP_EDGE"
-msgstr "Build an edge"
-
-msgid "MEN_EDGE"
-msgstr "Edge"
-
-msgid "STB_EDGE"
-msgstr "Build an edge"
-
-msgid "TOP_WIRE"
-msgstr "Build a wire"
-
-msgid "MEN_WIRE"
-msgstr "Wire"
-
-msgid "STB_WIRE"
-msgstr "Build a wire"
-
-msgid "TOP_FACE"
-msgstr "Build a face"
-
-msgid "MEN_FACE"
-msgstr "Face"
-
-msgid "STB_FACE"
-msgstr "Build a face"
-
-msgid "TOP_SHELL"
-msgstr "Build a shell"
-
-msgid "MEN_SHELL"
-msgstr "Shell"
-
-msgid "STB_SHELL"
-msgstr "Build a shell"
-
-msgid "TOP_SOLID"
-msgstr "Build a solid"
-
-msgid "MEN_SOLID"
-msgstr "Solid"
-
-msgid "STB_SOLID"
-msgstr "Build a solid"
-
-msgid "TOP_COMPOUND"
-msgstr "Build a compound"
-
-msgid "MEN_COMPOUND"
-msgstr "Compound"
-
-msgid "STB_COMPOUND"
-msgstr "Build a compound"
-
-msgid "MEN_OPERATIONS"
-msgstr "Operations"
-
-msgid "MEN_BOOLEAN"
-msgstr "Boolean"
-
-msgid "TOP_FUSE"
-msgstr "Fuse"
-
-msgid "MEN_FUSE"
-msgstr "Fuse"
-
-msgid "STB_FUSE"
-msgstr "Fuse"
-
-msgid "TOP_COMMON"
-msgstr "Common"
-
-msgid "MEN_COMMON"
-msgstr "Common"
-
-msgid "STB_COMMON"
-msgstr "Common"
-
-msgid "TOP_CUT"
-msgstr "Cut"
-
-msgid "MEN_CUT"
-msgstr "Cut"
-
-msgid "STB_CUT"
-msgstr "Cut"
-
-msgid "TOP_SECTION"
-msgstr "Section"
-
-msgid "MEN_SECTION"
-msgstr "Section"
-
-msgid "STB_SECTION"
-msgstr "Section"
-
-msgid "MEN_TRANSFORMATION"
-msgstr "Transformation"
-
-msgid "TOP_TRANSLATION"
-msgstr "Translation"
-
-msgid "MEN_TRANSLATION"
-msgstr "Translation"
-
-msgid "STB_TRANSLATION"
-msgstr "Translation"
-
-msgid "TOP_ROTATION"
-msgstr "Rotation"
-
-msgid "MEN_ROTATION"
-msgstr "Rotation"
-
-msgid "STB_ROTATION"
-msgstr "Rotation"
-
-msgid "TOP_MODIFY_LOCATION"
-msgstr "Modify the Location"
-
-msgid "MEN_MODIFY_LOCATION"
-msgstr "Modify the Location"
-
-msgid "STB_MODIFY_LOCATION"
-msgstr "Modify the Location"
-
-msgid "TOP_MIRROR"
-msgstr "Mirror image"
-
-msgid "MEN_MIRROR"
-msgstr "Mirror image"
-
-msgid "STB_MIRROR"
-msgstr "Mirror image"
-
-msgid "TOP_SCALE"
-msgstr "Scale transform"
-
-msgid "MEN_SCALE"
-msgstr "Scale transform"
-
-msgid "STB_SCALE"
-msgstr "Scale transform"
-
-msgid "TOP_OFFSET"
-msgstr "Offset surface"
-
-msgid "MEN_OFFSET"
-msgstr "Offset surface"
-
-msgid "STB_OFFSET"
-msgstr "Offset surface"
-
-msgid "TOP_MUL_TRANSLATION"
-msgstr "Multi-Translation"
-
-msgid "MEN_MUL_TRANSLATION"
-msgstr "Multi-Translation"
-
-msgid "STB_MUL_TRANSLATION"
-msgstr "Multi-Translation"
-
-msgid "TOP_MUL_ROTATION"
-msgstr "Multi-Rotation"
-
-msgid "MEN_MUL_ROTATION"
-msgstr "Multi-Rotation"
-
-msgid "STB_MUL_ROTATION"
-msgstr "Multi-Rotation"
-
-msgid "TOP_PARTITION"
-msgstr "Partition"
-
-msgid "MEN_PARTITION"
-msgstr "Partition"
-
-msgid "STB_PARTITION"
-msgstr "Partition"
-
-msgid "TOP_ARCHIMEDE"
-msgstr "Archimede"
-
-msgid "MEN_ARCHIMEDE"
-msgstr "Archimede"
-
-msgid "STB_ARCHIMEDE"
-msgstr "Archimede"
-
-msgid "TOP_FILLET"
-msgstr "Fillet"
-
-msgid "MEN_FILLET"
-msgstr "Fillet"
-
-msgid "STB_FILLET"
-msgstr "Fillet"
-
-msgid "TOP_CHAMFER"
-msgstr "Chamfer"
-
-msgid "MEN_CHAMFER"
-msgstr "Chamfer"
-
-msgid "STB_CHAMFER"
-msgstr "Chamfer"
-
-msgid "TOP_CLIPPING"
-msgstr "Clipping range"
-
-msgid "MEN_CLIPPING"
-msgstr "Clipping range"
-
-msgid "STB_CLIPPING"
-msgstr "Clipping range"
-
-msgid "TOP_MUL_TRANSFORM"
-msgstr "Multi-transformation"
-
-msgid "MEN_MUL_TRANSFORM"
-msgstr "Multi-transformation"
-
-msgid "STB_MUL_TRANSFORM"
-msgstr "Multi-transformation"
-
-msgid "TOP_EXPLODE_BLOCKS"
-msgstr "Explode on Blocks"
-
-msgid "MEN_EXPLODE_BLOCKS"
-msgstr "Explode on Blocks"
-
-msgid "STB_EXPLODE_BLOCKS"
-msgstr "Explode on Blocks"
-
-msgid "TOP_PROPAGATE"
-msgstr "Propagate"
-
-msgid "MEN_PROPAGATE"
-msgstr "Propagate"
-
-msgid "STB_PROPAGATE"
-msgstr "Propagate"
-
-msgid "MEN_REPAIR"
-msgstr "Repair"
-
-msgid "TOP_SHAPE_PROCESS"
-msgstr "Perform shape processing"
-
-msgid "MEN_SHAPE_PROCESS"
-msgstr "Shape processing"
-
-msgid "STB_SHAPE_PROCESS"
-msgstr "Perform shape processing "
-
-msgid "TOP_SUPPRESS_FACES"
-msgstr "Perform suppress faces"
-
-msgid "MEN_SUPPRESS_FACES"
-msgstr "Suppress faces"
-
-msgid "STB_SUPPRESS_FACES"
-msgstr "Perform suppress faces"
-
-msgid "TOP_CLOSE_CONTOUR"
-msgstr "Perform close contour"
-
-msgid "MEN_CLOSE_CONTOUR"
-msgstr "Close contour"
-
-msgid "STB_CLOSE_CONTOUR"
-msgstr "Perform close contour"
-
-msgid "TOP_SUPPRESS_INT_WIRES"
-msgstr "Perform suppress internal wires"
-
-msgid "MEN_SUPPRESS_INT_WIRES"
-msgstr "Suppress internal wires"
-
-msgid "STB_SUPPRESS_INT_WIRES"
-msgstr "Perform suppress internal wires"
-
-msgid "TOP_SUPPERSS_HOLES"
-msgstr "Perform suppress holes"
-
-msgid "MEN_SUPPERSS_HOLES"
-msgstr "Suppress holes"
-
-msgid "STB_SUPPERSS_HOLES"
-msgstr "Perform suppress holes"
-
-msgid "TOP_SEWING"
-msgstr "Perform sewing"
-
-msgid "MEN_SEWING"
-msgstr "Sewing"
-
-msgid "STB_SEWING"
-msgstr "Perform sewing"
-
-msgid "TOP_GLUE_FACES"
-msgstr "Perform glue faces"
-
-msgid "MEN_GLUE_FACES"
-msgstr "Glue faces"
-
-msgid "STB_GLUE_FACES"
-msgstr "Perform glue faces"
-
-msgid "TOP_POINT_ON_EDGE"
-msgstr "Add point on edge"
-
-msgid "MEN_POINT_ON_EDGE"
-msgstr "Add point on edge"
-
-msgid "STB_POINT_ON_EDGE"
-msgstr "Add point on edge"
-
-msgid "TOP_CHECK_FREE_BNDS"
-msgstr "Check free boundaries"
-
-msgid "MEN_CHECK_FREE_BNDS"
-msgstr "Check free boundaries"
-
-msgid "STB_CHECK_FREE_BNDS"
-msgstr "Check free boundaries"
-
-msgid "TOP_CHECK_FREE_FACES"
-msgstr "Check free faces"
-
-msgid "MEN_CHECK_FREE_FACES"
-msgstr "Check free faces"
-
-msgid "STB_CHECK_FREE_FACES"
-msgstr "Check free faces"
-
-msgid "MEN_MEASURES"
-msgstr "Measures"
-
-msgid "TOP_POINT_COORDS"
-msgstr "Point coordinates"
-
-msgid "MEN_POINT_COORDS"
-msgstr "Point coordinates"
-
-msgid "STB_POINT_COORDS"
-msgstr "Point coordinates"
-
-msgid "TOP_BASIC_PROPS"
-msgstr "Basic properties"
-
-msgid "MEN_BASIC_PROPS"
-msgstr "Basic properties"
-
-msgid "STB_BASIC_PROPS"
-msgstr "Basic properties"
-
-msgid "TOP_MASS_CENTER"
-msgstr "Compute center of mass"
-
-msgid "MEN_MASS_CENTER"
-msgstr "Center of mass"
-
-msgid "STB_MASS_CENTER"
-msgstr "Compute center of mass"
-
-msgid "TOP_INERTIA"
-msgstr "Compute intertia"
-
-msgid "MEN_INERTIA"
-msgstr "Inertia"
-
-msgid "STB_INERTIA"
-msgstr "Compute intertia"
-
-msgid "MEN_DIMENSIONS"
-msgstr "Dimensions"
-
-msgid "TOP_BND_BOX"
-msgstr "Compute bounding box"
-
-msgid "MEN_BND_BOX"
-msgstr "Bounding box"
-
-msgid "STB_BND_BOX"
-msgstr "Compute bounding box"
-
-msgid "TOP_MIN_DIST"
-msgstr "Compute minimum distance"
-
-msgid "MEN_MIN_DIST"
-msgstr "Min distance"
-
-msgid "STB_MIN_DIST"
-msgstr "Compute minimum distance"
-
-msgid "TOP_TOLERANCE"
-msgstr "Compute tolerance"
-
-msgid "MEN_TOLERANCE"
-msgstr "Compute tolerance"
-
-msgid "STB_TOLERANCE"
-msgstr "Compute tolerance"
-
-msgid "TOP_WHAT_IS"
-msgstr "What is"
-
-msgid "MEN_WHAT_IS"
-msgstr "What is"
-
-msgid "STB_WHAT_IS"
-msgstr "What is"
-
-msgid "TOP_CHECK"
-msgstr "Check"
-
-msgid "MEN_CHECK"
-msgstr "Check"
-
-msgid "STB_CHECK"
-msgstr "Check"
-
-msgid "TOP_CHECK_COMPOUND"
-msgstr "Check compound of blocks"
-
-msgid "MEN_CHECK_COMPOUND"
-msgstr "Check compound of blocks"
-
-msgid "STB_CHECK_COMPOUND"
-msgstr "Check compound of blocks"
-
-msgid "MEN_TOOLS"
-msgstr "Tools"
-
-msgid "TOP_CHECK_GEOMETRY"
-msgstr "Check Geometry"
-
-msgid "MEN_CHECK_GEOMETRY"
-msgstr "Check Geometry"
-
-msgid "STB_CHECK_GEOMETRY"
-msgstr "Check Geometry"
-
-msgid "MEN_PREFERENCES"
-msgstr "Preferences"
-
-msgid "MEN_PREFERENCES_GEOM"
-msgstr "Geometry"
-
-msgid "TOP_SHADING_COLOR"
-msgstr "Set shading color"
-
-msgid "MEN_SHADING_COLOR"
-msgstr "Shading color"
-
-msgid "STB_SHADING_COLOR"
-msgstr "Set shading color"
-
-msgid "TOP_ISOS"
-msgstr "Set number of isolines"
-
-msgid "MEN_ISOS"
-msgstr "Isos"
-
-msgid "STB_ISOS"
-msgstr "Set number of isolines"
-
-msgid "TOP_STEP_VALUE"
-msgstr "Set step value"
-
-msgid "MEN_STEP_VALUE"
-msgstr "Step value"
-
-msgid "STB_STEP_VALUE"
-msgstr "Set step value"
-
-msgid "MEN_VIEW"
-msgstr "View"
-
-msgid "MEN_DISPLAY_MODE"
-msgstr "Display mode"
-
-msgid "TOP_SHADING"
-msgstr "Shading"
-
-msgid "MEN_SHADING"
-msgstr "Shading"
-
-msgid "MEN_WIREFRAME"
-msgstr "Wireframe"
-
-msgid "STB_SHADING"
-msgstr "Shading"
-
-msgid "TOP_DISPLAY_ALL"
-msgstr "Display all"
-
-msgid "MEN_DISPLAY_ALL"
-msgstr "Display all"
-
-msgid "STB_DISPLAY_ALL"
-msgstr "Display all"
-
-msgid "TOP_ERASE_ALL"
-msgstr "Erase all"
-
-msgid "MEN_ERASE_ALL"
-msgstr "Erase all"
-
-msgid "STB_ERASE_ALL"
-msgstr "Erase all"
-
-msgid "TOP_DISPLAY"
-msgstr "Display"
-
-msgid "MEN_DISPLAY"
-msgstr "Display"
-
-msgid "STB_DISPLAY"
-msgstr "Display"
-
-msgid "TOP_DISPLAY_ONLY"
-msgstr "Display only"
-
-msgid "MEN_DISPLAY_ONLY"
-msgstr "Display only"
-
-msgid "STB_DISPLAY_ONLY"
-msgstr "Display only"
-
-msgid "TOP_ERASE"
-msgstr "Erase"
-
-msgid "MEN_ERASE"
-msgstr "Erase"
-
-msgid "STB_ERASE"
-msgstr "Erase"
-
-msgid "TOP_POP_RENAME"
-msgstr "Rename"
-
-msgid "MEN_POP_RENAME"
-msgstr "Rename"
-
-msgid "STB_POP_RENAME"
-msgstr "Rename"
-
-msgid "TOP_POP_WIREFRAME"
-msgstr "Wireframe"
-
-msgid "MEN_POP_WIREFRAME"
-msgstr "Wireframe"
-
-msgid "STB_POP_WIREFRAME"
-msgstr "Wireframe"
-
-msgid "TOP_POP_SHADING"
-msgstr "Shading"
-
-msgid "MEN_POP_SHADING"
-msgstr "Shading"
-
-msgid "STB_POP_SHADING"
-msgstr "Shading"
-
-msgid "TOP_POP_COLOR"
-msgstr "Color"
-
-msgid "MEN_POP_COLOR"
-msgstr "Color"
-
-msgid "STB_POP_COLOR"
-msgstr "Color"
-
-msgid "TOP_POP_TRANSPARENCY"
-msgstr "Transparency"
-
-msgid "MEN_POP_TRANSPARENCY"
-msgstr "Transparency"
-
-msgid "STB_POP_TRANSPARENCY"
-msgstr "Transparency"
-
-msgid "TOP_POP_ISOS"
-msgstr "Isolines"
-
-msgid "MEN_POP_ISOS"
-msgstr "Isos"
-
-msgid "STB_POP_ISOS"
-msgstr "Isolines"
-
-msgid "TOP_POP_CREATE_GROUP"
-msgstr "Create Group"
-
-msgid "MEN_POP_CREATE_GROUP"
-msgstr "Create Group"
-
-msgid "STB_POP_CREATE_GROUP"
-msgstr "Create Group"
-
-msgid "TOOL_BASIC"
-msgstr "Basic"
-
-msgid "TOOL_PRIMITIVES"
-msgstr "Primitives"
-
-msgid "TOOL_BOOLEAN"
-msgstr "Boolean operations"
-
-msgid "TOOL_GENERATION"
-msgstr "Generation"
-
-msgid "TOOL_TRANSFORMATION"
-msgstr "Transformation"
-
-msgid "TLT_RENAME"
-msgstr "Rename"
-
-msgid "NAME_LBL"
-msgstr "Name: "
-
-msgid "GEOM_ERR_GET_ENGINE"
-msgstr "Failed to obtain GEOM Engine component.  Reload Geometry module and try again."
-
-msgid "PREF_GROUP_OCCVIEWER"
-msgstr "OCC Viewer 3d"
-
-msgid "PREF_GROUP_GENERAL"
-msgstr "General"
-
-msgid "PREF_SHADING_COLOR"
-msgstr "Default shading color"
-
-msgid "PREF_STEP_VALUE"
-msgstr "Step value for spin boxes"
-
-msgid "PREF_DISPLAY_MODE"
-msgstr "Default display mode"
-
-msgid "PREF_TAB_SETTINGS"
-msgstr "Settings"
diff --git a/src/GEOMGUI/GEOM_msg_fr.po b/src/GEOMGUI/GEOM_msg_fr.po
deleted file mode 100644 (file)
index 3a3e3c4..0000000
+++ /dev/null
@@ -1,1385 +0,0 @@
-# This is a Qt message file in .po format.  Each msgid starts with
-# a scope.  This scope should *NOT* be translated - eg. translating
-# from French to English, "Foo::Bar" would be translated to "Pub",
-# not "Foo::Pub".
-msgid ""
-msgstr ""
-"Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2002-03-19 09:35:48 AM CET\n"
-"PO-Revision-Date: YYYY-MM-DD\n"
-"Last-Translator: FULLNAME <EMAIL@ADDRESS>\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-
-#
-#==============================================================================
-#
-
-#Button Apply
-msgid "GEOM_BUT_APPLY"
-msgstr "&Appliquer"
-
-#Button Close
-msgid "GEOM_BUT_CLOSE"
-msgstr "&Fermer"
-
-#Button Cancel
-msgid "GEOM_BUT_CANCEL"
-msgstr "&Annuler"
-
-#Button Ok
-msgid "GEOM_BUT_OK"
-msgstr "&Ok"
-
-#Button Yes
-msgid "GEOM_BUT_YES"
-msgstr "&Oui"
-
-#Button No
-msgid "GEOM_BUT_NO"
-msgstr "&Non"
-
-#Button Help
-msgid "GEOM_BUT_HELP"
-msgstr "&Aide"
-
-
-#Button Explode
-msgid "GEOM_BUT_EXPLODE"
-msgstr "&Exploser"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:563
-msgid "GEOM_INF_LOADED"
-msgstr "Le fichier %1 est chargé."
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3069
-msgid "GEOM_PRP_COMMAND"
-msgstr "Pas de commande associée à l'id = %1."
-
-#: GeometryGUI.cxx:4977
-msgid "GEOM_PRP_ABORT"
-msgstr "L'opération a echoué"
-
-#: GeometryGUI.cxx:5058
-msgid "GEOM_PRP_DONE"
-msgstr "Opération effectuée"
-
-#: GeometryGUI.cxx:3717
-msgid "GEOM_PRP_LOADING"
-msgstr "Chargement de %1 ..."
-
-#: GeometryGUI.cxx:1412
-msgid "GEOM_PRP_NULLSHAPE"
-msgstr "Erreur, objet inconsistant ou inapproprié !"
-
-#: GeometryGUI.cxx:5072
-msgid "GEOM_PRP_READY"
-msgstr "Prêt..."
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_SUBSHAPES"
-msgstr "Selection de sous objets"
-
-msgid "GEOM_CONFIRM"
-msgstr "Confirmer cette operation"
-
-msgid "GEOM_CONFIRM_INFO"
-msgstr "L'objet contient %1 sous objets"
-
-
-msgid "GEOM_PRP_NOT_FOR_VTK_VIEWER"
-msgstr "Non permis dans viewer VTK"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SHAPE_IN_STUDY"
-msgstr "La shape principale doit etre avant dans l'etude"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_EDGE"
-msgstr "Selectionner les edges et clicker sur Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FACE"
-msgstr "Select les faces a supprimer et clicker sur Ok/Apply"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_SELECT_FIRST"
-msgstr "Selectionner la shape principale en premier"
-
-#: GeometryGUI.cxx:1690
-msgid "GEOM_PRP_MIN_DIST"
-msgstr "Min Distance non calculer"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:3698
-msgid "GEOM_MEN_ALL_FILES"
-msgstr "Tous fichiers ( * )"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ANGLE"
-msgstr "Angle :"
-
-#: GeometryGUI.cxx:3941
-msgid "GEOM_MEN_COMPONENT"
-msgstr "Géometrie"
-
-#: GeometryGUI.cxx:4389
-msgid "GEOM_MEN_ENTER_ANGLE"
-msgstr "Saisir un angle en degrés"
-
-#: GeometryGUI.cxx:3758
-msgid "GEOM_MEN_EXPORT"
-msgstr "Exporter"
-
-#: GeometryGUI.cxx:3648
-msgid "GEOM_MEN_IMPORT"
-msgstr "Importer"
-
-#: GeometryGUI.cxx:3763
-msgid "GEOM_MEN_LOAD_SCRIPT"
-msgstr "Fichiers PYTHON ( *.py )"
-
-#: GeometryGUI.cxx:2931
-msgid "GEOM_MEN_ISOS"
-msgstr "Choisir un nombre d'isos"
-
-#: GeometryGUI.cxx:4278
-msgid "GEOM_MEN_POPUP_NAME"
-msgstr "%1 Objets"
-
-#: GeometryGUI.cxx:4414
-msgid "GEOM_MEN_SKETCHER_X"
-msgstr "Saisir une longueur pour fixer X"
-
-#: GeometryGUI.cxx:4438
-msgid "GEOM_MEN_SKETCHER_Y"
-msgstr "Saisir une longueur pour fixer Y"
-
-#: GeometryGUI.cxx:2898
-msgid "GEOM_MEN_TRANSPARENCY"
-msgstr "Transparence"
-
-#: GeometryGUI.cxx:4413
-msgid "GEOM_MEN_X"
-msgstr "X :"
-
-#: GeometryGUI.cxx:4437
-msgid "GEOM_MEN_Y"
-msgstr "Y :"
-
-#: GeometryGUI_NbIsosDlg.cxx:36
-msgid "GEOM_MEN_ISOU"
-msgstr "Isos u :"
-
-#: GeometryGUI_NbIsosDlg.cxx:53
-msgid "GEOM_MEN_ISOV"
-msgstr "Isos v :"
-
-#: GeometryGUI_TransparencyDlg.cxx:31
-msgid "GEOM_MEN_TRANSPARENCY_LABEL"
-msgstr "Transparence :"
-
-msgid "GEOM_MEN_STEP_LABEL"
-msgstr "Increment"
-
-msgid "GEOM_IDENTICAL_NAMES_SELECT_BY_MOUSE"
-msgstr "Noms identiques : selectionner avec la souris !"
-
-msgid "GEOM_NAME_INCORRECT"
-msgstr "Le nom saisi n'existe pas"
-
-
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:892
-msgid "GEOM_WRN_RADIUS_NULL"
-msgstr "Le rayon est nul"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_WRN_WARNING"
-msgstr "Avertissement"
-
-#: GeometryGUI.cxx:3854
-msgid "GEOM_REALLY_DELETE"
-msgstr "Voulez-vous supprimer l'object(s) ?"
-
-#
-#==============================================================================
-#
-
-#Object
-msgid "GEOM_OBJECT"
-msgstr "Objet"
-
-#Main object
-msgid "GEOM_MAIN_OBJECT"
-msgstr "Objet Principal"
-
-#Tool object
-msgid "GEOM_TOOL_OBJECT"
-msgstr "Objet Outil"
-
-#Base Object
-msgid "GEOM_BASE_OBJECT"
-msgstr "Objet De Base"
-
-#Path Object
-msgid "GEOM_PATH_OBJECT"
-msgstr "Objet Chemin"
-
-#Objects
-msgid "GEOM_OBJECTS"
-msgstr "Objets"
-
-#Object i
-msgid "GEOM_OBJECT_I"
-msgstr "Objet %1"
-
-#Object and result
-msgid "GEOM_OBJECT_RESULT"
-msgstr "Objet Et Résultat"
-
-#Point
-msgid "GEOM_POINT"
-msgstr "Point"
-
-#Base point
-msgid "GEOM_BASE_POINT"
-msgstr "Point De Base"
-
-#Center Point
-msgid "GEOM_CENTER_POINT"
-msgstr "Point Centre"
-
-#Diagonal Points
-msgid "GEOM_DIAGONAL_POINTS"
-msgstr "Points Diagonaux"
-
-#Central Point
-msgid "GEOM_CENTRAL_POINT"
-msgstr "Point Central"
-
-#Points
-msgid "GEOM_POINTS"
-msgstr "Points"
-
-#Point i
-msgid "GEOM_POINT_I"
-msgstr "Point %1"
-
-#Arguments
-msgid "GEOM_ARGUMENTS"
-msgstr "Arguments"
-
-#Center
-msgid "GEOM_CENTER"
-msgstr "Centre"
-
-#Radius
-msgid "GEOM_RADIUS"
-msgstr "Rayon"
-
-#Radius i
-msgid "GEOM_RADIUS_I"
-msgstr "Rayon %1"
-
-#Height
-msgid "GEOM_HEIGHT"
-msgstr "Hauteur"
-
-#Length
-msgid "GEOM_LENGTH"
-msgstr "Longueur :"
-
-#Weight
-msgid "GEOM_WEIGHT"
-msgstr "poids"
-
-#Coordinates
-msgid "GEOM_COORDINATES"
-msgstr "Coordonnées"
-
-#Coor.
-msgid "GEOM_COOR"
-msgstr "Coord. :"
-
-#Reverse
-msgid "GEOM_REVERSE"
-msgstr "Renverser"
-
-#Reverse U
-msgid "GEOM_REVERSE_U"
-msgstr "Renverser U"
-
-#Reverse V
-msgid "GEOM_REVERSE_V"
-msgstr "Reverser V"
-
-#Angle
-msgid "GEOM_ANGLE"
-msgstr "Angle :"
-
-#Axis
-msgid "GEOM_AXIS"
-msgstr "Axe"
-
-#Matrix
-msgid "GEOM_MATRIX"
-msgstr "Matrice :"
-
-#Vector Length
-msgid "GEOM_VECTOR_LENGTH"
-msgstr "Longueur Du Vecteur :"
-
-#Reverse Vector
-msgid "GEOM_REVERSE_VECTOR"
-msgstr "Renverser Le Vecteur"
-
-#Point Mirror
-msgid "GEOM_POINT_MIRROR"
-msgstr "Point Miroir"
-
-#Axe Mirror
-msgid "GEOM_AXE_MIRROR"
-msgstr "Axe Miroir"
-
-#Plane Mirror
-msgid "GEOM_PLANE_MIRROR"
-msgstr "Plan Miroir"
-
-#Face Selection
-msgid "GEOM_FACE_SELECTION"
-msgstr "Selection de Face"
-
-#Base
-msgid "GEOM_BASE"
-msgstr "Base"
-
-#Water Density
-msgid "GEOM_WATER_DENSITY"
-msgstr "Densité de l'eau :"
-
-#Meshing Deflection
-msgid "GEOM_MESHING_DEFLECTION"
-msgstr "Déflection Du Maillage :"
-
-#Dimensions
-msgid "GEOM_DIMENSIONS"
-msgstr "Dimensions"
-
-#Precision
-msgid "GEOM_PRECISION"
-msgstr "Précision :"
-
-#Selection
-msgid "GEOM_SELECTION"
-msgstr "Sélection"
-
-#Nb. Times
-msgid "GEOM_NB_TIMES"
-msgstr "Nb. Fois :"
-
-#Nb. Times U
-msgid "GEOM_NB_TIMES_U"
-msgstr "Nb. Fois U :"
-
-#Nb. Times V
-msgid "GEOM_NB_TIMES_V"
-msgstr "Nb. Fois V :"
-
-#Step
-msgid "GEOM_STEP"
-msgstr "Pas :"
-
-#Step V
-msgid "GEOM_STEP_V"
-msgstr "Pas V :"
-
-#Step U
-msgid "GEOM_STEP_U"
-msgstr "Pas U :"
-
-#
-#==============================================================================
-#
-
-#Partition
-msgid "GEOM_PARTITION"
-msgstr "Partition"
-
-#Half-space partition
-msgid "GEOM_PARTITION_HALFSPACE"
-msgstr "Half-space partition"
-
-#Tolerance
-msgid "GEOM_TOLERANCE"
-msgstr "Tolérance"
-
-#Orientation
-msgid "GEOM_ORIENTATION"
-msgstr "Orientation"
-
-#Pipe
-msgid "GEOM_PIPE"
-msgstr "Pipe"
-
-#Revolution
-msgid "GEOM_REVOLUTION"
-msgstr "Révolution"
-
-#Rotation
-msgid "GEOM_ROTATION"
-msgstr "Rotation"
-
-#Archimede
-msgid "GEOM_ARCHIMEDE"
-msgstr "Archimède"
-
-#Common
-msgid "GEOM_COMMON"
-msgstr "Joindre"
-
-#Cut
-msgid "GEOM_CUT" 
-msgstr "Couper"
-
-#Distance
-msgid "GEOM_DISTANCE"
-msgstr "Distance"
-
-#Filling
-msgid "GEOM_FILLING"
-msgstr "Surface Par Courbes"
-
-#Fuse
-msgid "GEOM_FUSE"
-msgstr "Fusionner"
-
-#Scale
-msgid "GEOM_SCALE"
-msgstr "Echelle"
-
-#Section
-msgid "GEOM_SECTION"
-msgstr "Section"
-
-#Sewing
-msgid "GEOM_SEWING"
-msgstr "Coudre"
-
-#Translation
-msgid "GEOM_TRANSLATION"
-msgstr "Translation"
-
-#Working Plane
-msgid "GEOM_WPLANE"
-msgstr "Plan de Travail"
-
-#Mirror
-msgid "GEOM_MIRROR"
-msgstr "Miroir"
-
-#Prism
-msgid "GEOM_PRISM"
-msgstr "Extrusion"
-
-#Sub Shapes
-msgid "GEOM_SUB_SHAPE"
-msgstr "Sous Shapes"
-
-#Supress Face
-msgid "GEOM_SUPRESSFACE"
-msgstr "Supression de Face"
-
-#Fillet
-msgid "GEOM_FILLET"
-msgstr "Conge"
-
-#Chamfer
-msgid "GEOM_CHAMFER"
-msgstr "Chanfrein"
-
-#Check Shape
-msgid "GEOM_CHECK_SHAPE"
-msgstr "Check Shape"
-
-#Check Blocks Compound
-msgid "GEOM_CHECK_BLOCKS_COMPOUND"
-msgstr "Check Blocks Compound"
-
-#Check Blocks Compound Errors
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_ERRORS"
-msgstr "Errors"
-
-#Check Blocks Compound Errors
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS"
-msgstr "The Compound of Blocks has no errors"
-
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS"
-msgstr "The Compound of Blocks has errors"
-
-#Check Blocks Compound SubShapes
-msgid "GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES"
-msgstr "Incriminated Sub-Shapes"
-
-#Whatis
-msgid "GEOM_WHATIS"
-msgstr "Whatis"
-
-#Bounding Box
-msgid "GEOM_BNDBOX"
-msgstr "Boite Anglobante"
-
-#Center Of Mass
-msgid "GEOM_CMASS"
-msgstr "Centre de Masse"
-
-#Basic Properties
-msgid "GEOM_PROPERTIES"
-msgstr "Basiques Proprietes"
-
-#Multi-Translation
-msgid "GEOM_MULTITRANSLATION"
-msgstr "Multi-Translation"
-
-#Multi-Rotation
-msgid "GEOM_MULTIROTATION"
-msgstr "Multi-Rotation"
-
-#
-#==============================================================================
-#
-
-#Arc
-msgid "GEOM_ARC"
-msgstr "Arc"
-
-#Box
-msgid "GEOM_BOX"
-msgstr "Boite"
-
-#Circle
-msgid "GEOM_CIRCLE"
-msgstr "Cercle"
-
-#Ellipse
-msgid "GEOM_ELLIPSE"
-msgstr "Ellipse"
-
-msgid "GEOM_ELLIPSE_TITLE"
-msgstr "Construction d'Ellipses"
-
-#Radius major
-msgid "GEOM_RADIUS_MAJOR"
-msgstr "Rayon max. :"
-
-#Radius minor
-msgid "GEOM_RADIUS_MINOR"
-msgstr "Rayon min. :"
-
-#Compound
-msgid "GEOM_COMPOUND"
-msgstr "Compound"
-
-#CompSolid
-msgid "GEOM_COMPOUNDSOLID"
-msgstr "CompSolid"
-
-#Cone
-msgid "GEOM_CONE"
-msgstr "Cone"
-
-#Cylinder
-msgid "GEOM_CYLINDER"
-msgstr "Cylindre"
-
-#Edge
-msgid "GEOM_EDGE"
-msgstr "Edge"
-
-#Face
-msgid "GEOM_FACE"
-msgstr "Face"
-
-#Faces
-msgid "GEOM_FACES"
-msgstr "Faces"
-
-#Line
-msgid "GEOM_LINE"
-msgstr "Ligne"
-
-#Plane
-msgid "GEOM_PLANE"
-msgstr "Plan"
-
-#Shape
-msgid "GEOM_SHAPE"
-msgstr "Shape"
-
-#Shell
-msgid "GEOM_SHELL"
-msgstr "Shell"
-
-#Shells
-msgid "GEOM_SHELLS"
-msgstr "Shells"
-
-#Solid
-msgid "GEOM_SOLID"
-msgstr "Solide"
-
-#Sphere
-msgid "GEOM_SPHERE"
-msgstr "Sphère"
-
-#Conical Face
-msgid "GEOM_SURFCONE"
-msgstr "Face Conique"
-
-#Cylindrical Face
-msgid "GEOM_SURFCYLINDER"
-msgstr "Face Cylindrique"
-
-#Spherical Face
-msgid "GEOM_SURFSPHERE"
-msgstr "Face Sphèrique"
-
-#Toroidal Face
-msgid "GEOM_SURFTORUS"
-msgstr "Face Toroique"
-
-#Torus
-msgid "GEOM_TORUS"
-msgstr "Tore"
-
-#Vector
-msgid "GEOM_VECTOR"
-msgstr "Vecteur"
-
-#Vector U
-msgid "GEOM_VECTOR_U"
-msgstr "Vecteur U"
-
-#Vector V
-msgid "GEOM_VECTOR_V"
-msgstr "Vecteur V"
-
-#Vertex
-msgid "GEOM_VERTEX"
-msgstr "Vertex"
-
-#Wire
-msgid "GEOM_WIRE"
-msgstr "Wire"
-
-#Wire(s)
-msgid "GEOM_WIRES"
-msgstr "Wire(s)"
-       
-#Parameter
-msgid "GEOM_PARAMETER"
-msgstr "Paramètre :"
-
-
-#
-#==============================================================================
-#
-
-#Min
-msgid "GEOM_MIN"
-msgstr "Min :"
-
-#Max
-msgid "GEOM_MAX"
-msgstr "Max :"
-
-#X
-msgid "GEOM_X"
-msgstr "X :"
-
-#Y
-msgid "GEOM_Y"
-msgstr "Y :"
-
-#Z
-msgid "GEOM_Z"
-msgstr "Z :"
-
-#DX
-msgid "GEOM_DX"
-msgstr "Dx :"
-
-#DY
-msgid "GEOM_DY"
-msgstr "Dy :"
-
-#DZ
-msgid "GEOM_DZ"
-msgstr "Dz :"
-
-#D1
-msgid "GEOM_D1"
-msgstr "D1 :"
-
-#D2
-msgid "GEOM_D2"
-msgstr "D2 :"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx
-msgid "GEOM_STEP_TITLE"
-msgstr "Increment par défaut lors des constructions"
-
-#: GeometryGUI_ArcDlg.cxx:45
-msgid "GEOM_ARC_TITLE"
-msgstr "Construction d'un Arc"
-
-#: GeometryGUI_ArchimedeDlg.cxx:55
-msgid "GEOM_ARCHIMEDE_TITLE"
-msgstr "Construction d'Archimède"
-
-#: GeometryGUI_BndBoxDlg.cxx:59
-msgid "GEOM_BNDBOX_TITLE"
-msgstr "Boite Englobante"
-
-#: GeometryGUI_BndBoxDlg.cxx:82
-msgid "GEOM_BNDBOX_OBJDIM"
-msgstr "Objet and ses dimensions"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_TITLE"
-msgstr "Construction d'une Boite"
-
-#: GeometryGUI_BoxDlg.cxx:50
-msgid "GEOM_BOX_OBJ"
-msgstr "Dimensions A l'Origine"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_TITLE"
-msgstr "Construction d'un Chanfrein"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_ALL"
-msgstr "Chanfrein sur toute la Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_EDGES"
-msgstr "Chanfrein sur Edges de la Shape"
-
-#: GeometryGUI_ChamferDlg.cxx:58
-msgid "GEOM_CHAMFER_FACES"
-msgstr "Chanfrein sur Faces de la Shape"
-
-#: GeometryGUI_CircleDlg.cxx:48
-msgid "GEOM_CIRCLE_TITLE"
-msgstr "Construction d'un Cercle"
-
-#: GeometryGUI_CenterMassDlg.cxx:77
-msgid "GEOM_CMASS_TITLE"
-msgstr "Centre De Gravité"
-
-msgid "GEOM_PLANE_SIZE"
-msgstr "Taille du plan :"
-
-#: GeometryGUI_CommonDlg.cxx:47
-msgid "GEOM_COMMON_TITLE"
-msgstr "BOOLEEN : Jonction De Deux Objets"
-
-#: GeometryGUI_CompoundDlg.cxx:44
-msgid "GEOM_COMPOUND_TITLE"
-msgstr "Création d'un Compound"
-
-#: GeometryGUI_ConeDlg.cxx:49
-msgid "GEOM_CONE_TITLE"
-msgstr "Construction d'un Cone"
-
-#: GeometryGUI_CutDlg.cxx:48
-msgid "GEOM_CUT_TITLE"
-msgstr "BOOLEEN : Couper Deux Objets"
-#
-#: GeometryGUI_CylinderDlg.cxx:47
-msgid "GEOM_CYLINDER_TITLE"
-msgstr "Construction d'un Cylindre"
-
-#: GeometryGUI_CheckShape.cxx:60
-msgid "GEOM_CHECK_TITLE"
-msgstr "Check Shape"
-
-#: MeasureGUI_CheckCompoundOfBlocks.cxx:61
-msgid "GEOM_CHECK_COMPOUND_BLOCKS_TITLE"
-msgstr "Check Blocks Compound"
-
-#: GeometryGUI_CheckShape.cxx:83
-msgid "GEOM_CHECK_INFOS"
-msgstr "Objet et ses Informations Topologiques"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_TITLE"
-msgstr "Distance Minimale entre Deux Objets"
-
-#: GeometryGUI_DistanceDlg.cxx:57
-msgid "GEOM_MINDIST_OBJ"
-msgstr "Objets Et Resultats"
-
-#: GeometryGUI_EdgeDlg.cxx:47
-msgid "GEOM_EDGE_TITLE"
-msgstr "Création d'un Edge"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_TITLE"
-msgstr "Construction d'un Congé"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_ALL"
-msgstr "Congé sur toute la Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_EDGES"
-msgstr "Congé sur Edges de la Shape"
-
-#: GeometryGUI_FilletDlg.cxx:58
-msgid "GEOM_FILLET_FACES"
-msgstr "Congé sur Faces de la Shape"
-
-#: GeometryGUI_FaceDlg.cxx:49
-msgid "GEOM_FACE_TITLE"
-msgstr "Création d'une Face"
-
-#: GeometryGUI_FaceDlg.cxx:78
-msgid "GEOM_FACE_FFW"
-msgstr "Face a partir d'un wire"
-
-#: GeometryGUI_FaceDlg.cxx:103
-msgid "GEOM_FACE_OPT"
-msgstr "Création d'une Face plane"
-
-#: GeometryGUI_FillingDlg.cxx:53
-msgid "GEOM_FILLING_TITLE"
-msgstr "Surface Par Courbes"
-
-#: GeometryGUI_FillingDlg.cxx:112
-msgid "GEOM_FILLING_ARG"
-msgstr "Argument Et Parametres"
-
-#: GeometryGUI_FillingDlg.cxx:128
-msgid "GEOM_FILLING_MIN_DEG"
-msgstr "Min. Deg"
-
-#: GeometryGUI_FillingDlg.cxx:142
-msgid "GEOM_FILLING_MAX_DEG"
-msgstr "Max. Deg"
-
-#: GeometryGUI_FillingDlg.cxx:150
-msgid "GEOM_FILLING_TOL_2D"
-msgstr "Tol. 2D"
-
-#: GeometryGUI_FillingDlg.cxx:170
-msgid "GEOM_FILLING_COMPOUND"
-msgstr "Compound de Courbes"
-
-#: GeometryGUI_FillingDlg.cxx:184
-msgid "GEOM_FILLING_TOL_3D"
-msgstr "Tol. 3D"
-
-#: GeometryGUI_FillingDlg.cxx:192
-msgid "GEOM_FILLING_NB_ITER"
-msgstr "Nb. Iter"
-
-#: GeometryGUI_FuseDlg.cxx:48
-msgid "GEOM_FUSE_TITLE"
-msgstr "BOOLEEN : Fusionner deux Objets"
-
-#: GeometryGUI_InertiaDlg.cxx:42
-msgid "GEOM_INERTIA_TITLE"
-msgstr "Calculs d'Inertie"
-
-#: GeometryGUI_InertiaDlg.cxx:50
-msgid "GEOM_INERTIA_CONSTR"
-msgstr "Matrice Et Moments d'Inertie"
-
-#: GeometryGUI_InertiaDlg.cxx:100
-msgid "GEOM_INERTIA_I"
-msgstr "%1:1"
-
-#: GeometryGUI_InertiaDlg.cxx:182
-msgid "GEOM_INERTIA_IXYZ"
-msgstr "IX & IY & IZ"
-
-#: GeometryGUI_LineDlg.cxx:50
-msgid "GEOM_LINE_TITLE"
-msgstr "Construction d'une Ligne"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:53
-msgid "GEOM_TOLERANCE_TITLE"
-msgstr "Tolerance Maximale"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:84
-msgid "GEOM_TOLERANCE_CONSTR"
-msgstr "Object et ses Tolerances"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:121
-msgid "GEOM_TOLERANCE_FACE"
-msgstr "Face :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:138
-msgid "GEOM_TOLERANCE_EDGE"
-msgstr "Edge :"
-
-#: GeometryGUI_MaxToleranceDlg.cxx:155
-msgid "GEOM_TOLERANCE_VERTEX"
-msgstr "Vertex :"
-
-#: GeometryGUI_MirrorDlg.cxx:52
-msgid "GEOM_MIRROR_TITLE"
-msgstr "Methode Miroir"
-
-#: GeometryGUI_OrientationDlg.cxx:46
-msgid "GEOM_ORIENTATION_TITLE"
-msgstr "Changer l'Orientation"
-
-#: GeometryGUI_OrientationDlg.cxx:134
-msgid "GEOM_ORIENTATION_OPT"
-msgstr "Renverser l'orientation avec une simulation de vecteur normal"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_TITLE"
-msgstr "Partition d'Objects Avec Outils"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_KEEP_OBJECT"
-msgstr "Objet garde"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "GEOM_PARTITION_ORIENTATION"
-msgstr "Change l'orientation"
-
-#: GeometryGUI_PartitionDlg.cxx:45
-msgid "SUPPRESS_RESULT"
-msgstr "Suppress Result"
-
-msgid "GEOM_REMOVE_WEBS"
-msgstr "Remove webs"
-
-msgid "GEOM_SET_MATERIALS"
-msgstr "Set materials"
-
-#: OperationGUI_MaterialDlg.cxx:45
-msgid "GEOM_MATERIAL_TITLE"
-msgstr "Define materials for Dominant Fuse"
-
-msgid "GEOM_MATERIAL_SHAPE"
-msgstr "Shapes"
-
-msgid "GEOM_MATERIAL_MATERIAL"
-msgstr "Material"
-
-msgid "GEOM_MATERIAL_ID"
-msgstr "Material ID:"
-
-msgid "GEOM_MATERIAL_SET"
-msgstr "<< Set"
-
-#: GeometryGUI_PipeDlg.cxx:47
-msgid "GEOM_PIPE_TITLE"
-msgstr "Construction d'une Pipe"
-
-#: GeometryGUI_PointDlg.cxx:52
-msgid "GEOM_POINT_TITLE"
-msgstr "Construction d'un Point"
-
-#: GeometryGUI_PlaneDlg.cxx:60
-msgid "GEOM_PLANE_TITLE"
-msgstr "Construction d'un Plan"
-
-#: GeometryGUI_PlaneDlg.cxx:172
-msgid "GEOM_PLANE_PVC"
-msgstr "Point + Vecteur Coordonnes"
-
-#: GeometryGUI_PlaneDlg.cxx:133
-msgid "GEOM_PLANE_PV"
-msgstr "Point + Vecteur"
-
-#: GeometryGUI_PrismDlg.cxx:54
-msgid "GEOM_PRISM_TITLE"
-msgstr "Extruder une Shape de base"
-
-#: GeometryGUI_PrismDlg.cxx:83
-msgid "GEOM_PRISM_BSV"
-msgstr "Shape de base + Vecteur"
-
-#: GeometryGUI_PropertiesDlg.cxx:56
-msgid "GEOM_PROPERTIES_TITLE"
-msgstr "Proprietes Basiques"
-
-#: GeometryGUI_PropertiesDlg.cxx:78
-msgid "GEOM_PROPERTIES_CONSTR"
-msgstr "Objet et ses Proprietes"
-
-#: GeometryGUI_PropertiesDlg.cxx:114
-msgid "GEOM_PROPERTIES_SURFACE"
-msgstr "Surface :"
-
-#: GeometryGUI_PropertiesDlg.cxx:120
-msgid "GEOM_PROPERTIES_VOLUME"
-msgstr "Volume :"
-
-#: GeometryGUI_RevolDlg.cxx:49
-msgid "GEOM_REVOLUTION_TITLE"
-msgstr "Construction Par Revolution"
-
-#: GeometryGUI_RotationDlg.cxx:51
-msgid "GEOM_ROTATION_TITLE"
-msgstr "Rotation d'un Objet"
-
-#: GeometryGUI_ScaleDlg.cxx:52
-msgid "GEOM_SCALE_TITLE"
-msgstr "Echelle d'un Objet"
-
-#: GeometryGUI_ScaleDlg.cxx:117
-msgid "GEOM_SCALE_FACTOR"
-msgstr "Facteur d'echelle"
-
-#: GeometryGUI_SectionDlg.cxx:50
-msgid "GEOM_SECTION_TITLE"
-msgstr "BOOLEEN : Section De Deux Objets"
-
-#: GeometryGUI_SewingDlg.cxx:48
-msgid "GEOM_SEWING_TITLE"
-msgstr "Coudre des Topologies"
-
-#: GeometryGUI_ShellDlg.cxx:53
-msgid "GEOM_SHELL_TITLE"
-msgstr "Construction d'une Shell"
-
-#: GeometryGUI_SolidDlg.cxx:74
-msgid "GEOM_SOLID_TITLE"
-msgstr "Construction d'un Solid"
-
-#: GeometryGUI_SphereDlg.cxx:50
-msgid "GEOM_SPHERE_TITLE"
-msgstr "Construction d'une Sphere"
-
-#: GeometryGUI_SphereDlg.cxx:113
-msgid "GEOM_SPHERE_CR"
-msgstr "Centre + rayon"
-
-#: GeometryGUI_SphereDlg.cxx:146
-msgid "GEOM_SPHERE_RO"
-msgstr "Rayon a l'origine"
-
-#: GeometryGUI_SubShapeDlg.cxx:55
-msgid "GEOM_SUBSHAPE_TITLE"
-msgstr "Selection de Sous Shapes"
-
-#: GeometryGUI_SubShapeDlg.cxx:131
-msgid "GEOM_SUBSHAPE_TYPE"
-msgstr "Type de Sous Shapes"
-
-#: GeometryGUI_SubShapeDlg.cxx:137
-msgid "GEOM_SUBSHAPE_SELECT"
-msgstr "Selectionner de Sous Shapes"
-
-#: GeometryGUI_TorusDlg.cxx:51
-msgid "GEOM_TORUS_TITLE"
-msgstr "Constructiond'un Tore"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:103
-msgid "GEOM_SUPRESSFACE_TITLE"
-msgstr "Supprimer des Faces dans un Objet"
-
-#: GeometryGUI_SuppressFacesDlg.cxx:164
-msgid "GEOM_SUPRESSFACE_SELECT"
-msgstr "Selectionner les Faces a Supprimer"
-
-#: GeometryGUI_TranslationDlg.cxx:78
-msgid "GEOM_TRANSLATION_COOR"
-msgstr "Translation Avec Coordonnees"
-
-msgid "GEOM_TRANSPARENCY_TITLE"
-msgstr "Transparence"  
-
-msgid "GEOM_TRANSPARENCY_OPAQUE"
-msgstr "Opaque"
-
-msgid "GEOM_TRANSPARENCY_TRANSPARENT"
-msgstr "Transparent"
-
-msgid "GEOM_SUPPRESSHOLE_TITLE"
-msgstr "Suppression de trous"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE"
-msgstr "Selection de la face initiale"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE"
-msgstr "Selection du contour/trou sur la face"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTFACE_END"
-msgstr "Selection de la face terminale (si trou traversant)"
-
-msgid "GEOM_SUPPRESSHOLE_SELECTWIRE_END"
-msgstr "Selection de contour final (si trou traversant)"
-
-msgid "GEOM_SUPPRESSHOLE_FACE_SHELL"
-msgstr "Face ou shell"
-       
-msgid "GEOM_SUPPRESSHOLE_SELECT_HOLES_ON_FACE"
-msgstr "Selection de trou(s) sur la face"
-
-#: GeometryGUI_TranslationDlg.cxx:56
-msgid "GEOM_TRANSLATION_TITLE"
-msgstr "Translation d'un Objet"
-
-#: GeometryGUI_VectorDlg.cxx:54
-msgid "GEOM_VECTOR_TITLE"
-msgstr "Construction d'un Vecteur" 
-
-#: GeometryGUI_WhatisDlg.cxx:63
-msgid "GEOM_WHATIS_TITLE"
-msgstr "Whatis"
-
-#: GeometryGUI_WhatisDlg.cxx:86
-msgid "GEOM_WHATIS_OBJECT"
-msgstr "Objet et ses Informations Topologiques"
-
-#: GeometryGUI_WireDlg.cxx:46
-msgid "GEOM_WIRE_TITLE"
-msgstr "Creer un Wire"
-
-#: GeometryGUI_WireDlg.cxx:103
-msgid "GEOM_WIRE_CONNECT"
-msgstr "Creation d'un Wire a partir de wires/edges connectes"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:50
-msgid "GEOM_WPLANE_TITLE"
-msgstr "plan de travail"
-
-#: GeometryGUI_WorkingPlaneDlg.cxx:107
-msgid "GEOM_WPLANE_FACE"
-msgstr "Plan Ou Face plane"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_TITLE"
-msgstr "Multi-Translation"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_SIMPLE"
-msgstr "Multi Translation Simple"
-
-#: GeometryGUI_multiTranslationDlg.cxx:107
-msgid "GEOM_MULTITRANSLATION_DOUBLE"
-msgstr "Multi Translation Double"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_TITLE"
-msgstr "Multi-Rotation"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_SIMPLE"
-msgstr "Multi Rotation Simple"
-
-#: GeometryGUI_multiRotationDlg.cxx:107
-msgid "GEOM_MULTIROTATION_DOUBLE"
-msgstr "Multi Rotation Double"
-
-msgid "GEOM_PARAM_POINT"
-msgstr "Point paramétrique"
-
-#
-#==============================================================================
-#
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_WIREFRAME"
-msgstr "Filaire"
-
-#: GeometryGUI.cxx:4613
-msgid "GEOM_MEN_SHADING"
-msgstr "Ombré"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT"
-msgstr "Limite de Reconstruction"
-
-msgid "GEOM_SUPPRESS_RESULT"
-msgstr "Supprimer le Resultat"
-
-msgid "GEOM_SUPPRESS_RESULT_INSIDE"
-msgstr "Intérieur"
-
-msgid "GEOM_SUPPRESS_RESULT_OUTSIDE"
-msgstr "Extérieur"
-
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHAPE"
-msgstr "Shape"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SOLID"
-msgstr "Solid"
-msgid "GEOM_RECONSTRUCTION_LIMIT_SHELL"
-msgstr "Shell"
-msgid "GEOM_RECONSTRUCTION_LIMIT_FACE"
-msgstr "Face"
-msgid "GEOM_RECONSTRUCTION_LIMIT_WIRE"
-msgstr "Wire"
-msgid "GEOM_RECONSTRUCTION_LIMIT_EDGE"
-msgstr "Edge"
-msgid "GEOM_RECONSTRUCTION_LIMIT_VERTEX"
-msgstr "Vertex"
-
-msgid "GEOM_SPLINE_TITLE"
-msgstr "Construction de Splines"
-msgid "GEOM_SPLINE"
-msgstr "Spline"
-msgid "GEOM_BEZIER"
-msgstr "Bezier"
-msgid "GEOM_INTERPOL"
-msgstr "Interpolation"
-
-#
-#==============================================================================
-#
-
-msgid "GEOM_SKETCHER_EL"
-msgstr "Type d'Element"
-
-msgid "GEOM_BUT_CLOSE_SKETCH"
-msgstr "Fermer Sketch"
-
-msgid "GEOM_BUT_END_SKETCH"
-msgstr "Terminer Sketch"
-
-msgid "GEOM_SKETCHER_TITLE"
-msgstr "Construction de Sketch"
-
-msgid "GEOM_SKETCHER_POINT"
-msgstr "Point"
-
-msgid "GEOM_SKETCHER_SEGMENT"
-msgstr "Sègment"
-
-msgid "GEOM_SKETCHER_ARC"
-msgstr "Arc"
-
-msgid "GEOM_SKETCHER_DIR"
-msgstr "Direction"
-
-msgid "GEOM_SKETCHER_POINT2"
-msgstr "Point :"
-
-msgid "GEOM_SKETCHER_DEST"
-msgstr "Destination"
-
-msgid "GEOM_SKETCHER_ABS"
-msgstr "Absolu"
-
-msgid "GEOM_SKETCHER_REL"
-msgstr "Relative"
-
-msgid "GEOM_SKETCHER_SEL"
-msgstr "Sélection"
-
-msgid "GEOM_SKETCHER_ANGLE"
-msgstr "Angle"
-
-msgid "GEOM_SKETCHER_PER"
-msgstr "Perpendiculaire"
-
-msgid "GEOM_SKETCHER_TAN"
-msgstr "Tangent"
-
-msgid "GEOM_SKETCHER_VXVY"
-msgstr "VX-VY"
-
-msgid "GEOM_SKETCHER_LENGTH"
-msgstr "Longueur"
-
-msgid "GEOM_SKETCHER_X"
-msgstr "X"
-
-msgid "GEOM_SKETCHER_Y"
-msgstr "Y"
-
-msgid "GEOM_SKETCHER_X2"
-msgstr "X :"
-
-msgid "GEOM_SKETCHER_Y2"
-msgstr "Y :"
-
-msgid "GEOM_SKETCHER_X3"
-msgstr "Abs. X :"
-
-msgid "GEOM_SKETCHER_Y3"
-msgstr "Abs. Y :"
-
-msgid "GEOM_SKETCHER_DX2"
-msgstr "DX :"
-
-msgid "GEOM_SKETCHER_DY2"
-msgstr "DY :"
-
-msgid "GEOM_SKETCHER_VX2"
-msgstr "VX :"
-
-msgid "GEOM_SKETCHER_VY2"
-msgstr "VY :"
-
-msgid "GEOM_SKETCHER_LENGTH2"
-msgstr "Longueur :"
-
-msgid "GEOM_SKETCHER_ANGLE2"
-msgstr "Angle :"
-
-msgid "GEOM_SKETCHER_RADIUS2"
-msgstr "Radius :"
-
-msgid "GEOM_SKETCHER_UNDO"
-msgstr "Undo"
-
-msgid "GEOM_SKETCHER_APPLY"
-msgstr "Appliquer"
-
-msgid "GEOM_SKETCHER_VALUES"
-msgstr "Valeurs"
-
-msgid "GEOM_SKETCHER_TYPE"
-msgstr "Type"
-
-msgid "GEOM_FILLET_ABORT"
-msgstr "Le congé ne peut-être realisé avec un rayon de %1 "
-
-msgid "GEOM_CHAMFER_ABORT"
-msgstr "Le chanfrein ne peut-être realisé avec %1 et %2 "
-
-#MZN: to be translated
-msgid "GEOM_CREATE_COPY"
-msgstr "Create a copy"
-
-#MZN: to be translated
-msgid "GEOM_CREATE_SINGLE_SOLID"
-msgstr "Create a single solid"
-
-msgid "GEOM_FREE_FACES"
-msgstr "Free faces"
-
-msgid "GEOM_FREE_FACES_TITLE"
-msgstr "Free faces"
-
-msgid "GEOM_PROPAGATE_TITLE"
-msgstr "Propagate"
-
-msgid "GEOM_PROPAGATE"
-msgstr "Propagate"
diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx
deleted file mode 100644 (file)
index 4f72ceb..0000000
+++ /dev/null
@@ -1,1615 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GeometryGUI.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GeometryGUI.h"
-#include "GEOMGUI_OCCSelector.h"
-#include "GEOMGUI_Selection.h"
-
-#include <SUIT_MessageBox.h>
-#include <SUIT_ResourceMgr.h>
-#include <SUIT_Session.h>
-#include <SUIT_ViewManager.h>
-
-#include <OCCViewer_ViewWindow.h>
-#include <OCCViewer_ViewPort3d.h>
-#include <OCCViewer_ViewModel.h>
-#include <OCCViewer_ViewManager.h>
-
-#include <VTKViewer_ViewWindow.h>
-#include <SVTK_RenderWindowInteractor.h>
-#include <SVTK_InteractorStyle.h>
-#include <SVTK_ViewModel.h>
-#include <VTKViewer_ViewManager.h>
-
-#include <SalomeApp_Application.h>
-#include <SalomeApp_SelectionMgr.h>
-#include <SalomeApp_VTKSelector.h>
-#include <SalomeApp_Study.h>
-#include <SalomeApp_Preferences.h>
-#include <SALOME_LifeCycleCORBA.hxx>
-#include <SALOME_ListIO.hxx>
-
-// External includes
-#include <qfileinfo.h>
-#include <qpainter.h>
-
-#include <Prs3d_Drawer.hxx>
-#include <Prs3d_IsoAspect.hxx>
-#include <OSD_SharedLibrary.hxx>
-
-#include <utilities.h>
-
-#include <vtkCamera.h>
-#include <vtkRenderer.h>
-
-
-extern "C" {
-  Standard_EXPORT CAM_Module* createModule() {
-    return new GeometryGUI();
-  }
-}
-
-
-
-GEOM::GEOM_Gen_var GeometryGUI::myComponentGeom = GEOM::GEOM_Gen::_nil(); 
-
-GEOM::GEOM_Gen_var   GeometryGUI::GetGeomGen()        { return GeometryGUI::myComponentGeom; }
-
-bool GeometryGUI::InitGeomGen() 
-{
-  GeometryGUI aGG;
-  if( CORBA::is_nil( myComponentGeom ) ) return false;   
-  return true; 
-}                         
-
-//=======================================================================
-// function : ClientSObjectToObject
-// purpose  : 
-//=======================================================================
-CORBA::Object_var GeometryGUI::ClientSObjectToObject (_PTR(SObject) theSObject)
-{
-  _PTR(GenericAttribute) anAttr;
-  CORBA::Object_var anObj;
-  try {
-    std::string aValue = theSObject->GetIOR();
-    if (strcmp(aValue.c_str(), "") != 0) {
-      CORBA::ORB_ptr anORB = SalomeApp_Application::orb();
-      anObj = anORB->string_to_object(aValue.c_str());
-    }
-  } catch(...) {
-    INFOS("ClientSObjectToObject - Unknown exception was occured!!!");
-  }
-  return anObj._retn();
-}
-
-//=======================================================================
-// function : ClientStudyToStudy
-// purpose  : 
-//=======================================================================
-SALOMEDS::Study_var GeometryGUI::ClientStudyToStudy (_PTR(Study) theStudy)
-{
-  SALOME_NamingService *aNamingService = SalomeApp_Application::namingService();
-  CORBA::Object_var aSMObject = aNamingService->Resolve("/myStudyManager");
-  SALOMEDS::StudyManager_var aStudyManager = SALOMEDS::StudyManager::_narrow(aSMObject);
-  int aStudyID = theStudy->StudyId();
-  SALOMEDS::Study_var aDSStudy = aStudyManager->GetStudyByID(aStudyID);
-  return aDSStudy._retn();
-}
-
-//=================================================================================
-// class   : CustomItem
-// purpose : Set Font to a text.
-//=================================================================================
-class CustomItem : public QCustomMenuItem
-{
-public:
-  CustomItem(const QString& s, const QFont& f) : myString(s), myFont(f) {}
-  ~CustomItem() {}
-
-  void paint(QPainter* p, const QColorGroup& cg, bool act, bool /*enabled*/, int x, int y, int w, int h)
-  {
-    p->save();
-    p->fillRect( x, y, w, h, act ? cg.highlight() : cg.mid() );
-    p->setPen( act ? cg.highlightedText() : cg.buttonText() );
-    p->setFont( myFont );
-    p->drawText( x, y, w, h, AlignHCenter | AlignVCenter | ShowPrefix | DontClip | SingleLine, myString );
-    p->restore();
-  }
-
-  QSize sizeHint()
-  {
-    return QFontMetrics( myFont ).size( AlignHCenter | AlignVCenter | ShowPrefix | DontClip | SingleLine, myString );
-  }
-
-  bool fullSpan() const
-  {
-    return true;
-  }
-
-private:
-  QString myString;
-  QFont   myFont;
-};
-
-//=======================================================================
-// function : GeometryGUI::GeometryGUI()
-// purpose  : Constructor
-//=======================================================================
-GeometryGUI::GeometryGUI() :
-  SalomeApp_Module( "GEOM" )
-{
-  if ( CORBA::is_nil( myComponentGeom ) )
-  { 
-    SALOME_LifeCycleCORBA* ls = new SALOME_LifeCycleCORBA( getApp()->namingService() );
-    Engines::Component_var comp = ls->FindOrLoad_Component( "FactoryServer", "GEOM" );
-    myComponentGeom  = GEOM::GEOM_Gen::_narrow( comp );
-  }
-  
-  myState           = -1;
-  myActiveDialogBox = 0;
-  myFatherior       = "";
-
-  gp_Pnt origin = gp_Pnt(0., 0., 0.);
-  gp_Dir direction = gp_Dir(0., 0., 1.);
-  myWorkingPlane = gp_Ax3(origin, direction);
-
-  myOCCSelectors.setAutoDelete( true );
-  myVTKSelectors.setAutoDelete( true );
-}
-
-//=======================================================================
-// function : GeometryGUI::~GeometryGUI()
-// purpose  : Destructor
-//=======================================================================
-GeometryGUI::~GeometryGUI()
-{
-}
-
-//=======================================================================
-// function : GeometryGUI::getLibrary()
-// purpose  : get or load GUI library by name [ internal ]
-//=======================================================================
-typedef GEOMGUI* (*LibraryGUI)( GeometryGUI* );
-GEOMGUI* GeometryGUI::getLibrary( const QString& libraryName )
-{
-  if ( !myGUIMap.contains( libraryName ) ) {
-    // try to load library if it is not loaded yet
-    QCString libs;
-#ifndef WNT
-    if( ( libs = getenv( "LD_LIBRARY_PATH" ) ) ) {
-         QStringList dirList = QStringList::split( ":", libs, false ); // skip empty entries
-#else
-       if( ( libs = getenv( "PATH" ) ) ) {
-         QStringList dirList = QStringList::split( ";", libs, false ); // skip empty entries
-#endif
-      for( int i = dirList.count()-1; i >= 0; i-- ) {
-       QString dir = dirList[ i ];
-       QFileInfo fi( Qtx::addSlash( dirList[ i ] ) + libraryName );
-       if( fi.exists() ) {
-         OSD_SharedLibrary aSharedLibrary( (char*)fi.fileName().latin1() );
-         bool res = aSharedLibrary.DlOpen( OSD_RTLD_LAZY );
-         if( !res ) {
-           MESSAGE( "Can't open library : " << aSharedLibrary.DlError() );
-           continue; // continue search further
-         }
-         OSD_Function osdF = aSharedLibrary.DlSymb( "GetLibGUI" );
-         if ( osdF != NULL ) {
-           LibraryGUI func = (GEOMGUI* (*) (GeometryGUI*))osdF;
-           GEOMGUI* libGUI = (*func)(this);
-           if ( libGUI ) {
-             myGUIMap[ libraryName ] = libGUI;
-             break; // found and loaded!
-           }
-         }
-       }
-      }
-    }
-  }
-  if ( myGUIMap.contains( libraryName ) )
-    // library is successfully loaded
-    return myGUIMap[ libraryName ];
-  return 0;
-}
-
-//=======================================================================
-// function : GeometryGUI::ActiveWorkingPlane()
-// purpose  : Activate Working Plane View
-//=======================================================================
-void GeometryGUI::ActiveWorkingPlane()
-{
-  gp_Dir DZ = myWorkingPlane.Direction();
-  gp_Dir DY = myWorkingPlane.YDirection();
-
-  SUIT_ViewWindow* window = application()->desktop()->activeWindow();
-  bool ViewOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
-  bool ViewVTK = ( window && window->getViewManager()->getType() == VTKViewer_Viewer::Type() );
-
-  if( ViewOCC ) {
-    OCCViewer_ViewWindow* vw = dynamic_cast<OCCViewer_ViewWindow*>( window );
-    if ( vw ) {
-      Handle(V3d_View) view3d =  vw->getViewPort()->getView();
-
-      view3d->SetProj(DZ.X(), DZ.Y(), DZ.Z());
-      view3d->SetUp(DY.X(), DY.Y(), DY.Z());
-
-      vw->onViewFitAll();
-    }
-  }
-  else if( ViewVTK ) {
-    VTKViewer_ViewWindow* vw = dynamic_cast<VTKViewer_ViewWindow*>( window );
-    if ( vw ) {
-      vtkCamera* camera = vw->getRenderer()->GetActiveCamera();
-
-      camera->SetPosition(DZ.X(), DZ.Y(), DZ.Z());
-      camera->SetViewUp(DY.X(), DY.Y(), DY.Z());
-      camera->SetFocalPoint(0,0,0);
-
-      vw->onFitAll();
-    }
-  }
-}
-
-//=======================================================================
-// function : GeometryGUI::SetActiveDialogBox()
-// purpose  : Set active dialog box
-//=======================================================================
-void GeometryGUI::SetActiveDialogBox( QDialog* aDlg )
-{
-  myActiveDialogBox = (QDialog*)aDlg;
-}
-
-//=======================================================================
-// function : GeometryGUI::EmitSignalDeactivateDialog()
-// purpose  : Emit a signal to deactivate the active dialog Box
-//=======================================================================
-void GeometryGUI::EmitSignalDeactivateDialog()
-{
-  emit SignalDeactivateActiveDialog();
-}
-
-//=======================================================================
-// function : GeometryGUI::EmitSignalCloseAllDialogs()
-// purpose  : Emit a signal to close all non modal dialogs box
-//=======================================================================
-void GeometryGUI::EmitSignalCloseAllDialogs()
-{
-  emit SignalCloseAllDialogs();
-}
-
-//=======================================================================
-// function : GeometryGUI::EmitSignalDefaultStepValueChanged()
-// purpose  : Emit a signal to inform that default real spin box step has
-//            been changed
-//=======================================================================
-void GeometryGUI::EmitSignalDefaultStepValueChanged(double newVal)
-{
-  emit SignalDefaultStepValueChanged(newVal);
-}
-
-//=======================================================================
-// function : GeometryGUI::OnGUIEvent()
-// purpose  : common slot for all menu/toolbar actions
-//=======================================================================
-void GeometryGUI::OnGUIEvent()
-{
-  const QObject* obj = sender();
-  if ( !obj || !obj->inherits( "QAction" ) )
-    return;
-  int id = actionId((QAction*)obj);
-  if ( id != -1 )
-    OnGUIEvent( id );
-}
-
-//=======================================================================
-// function : GeometryGUI::OnGUIEvent()
-// purpose  : manage all events on GUI [static]
-//=======================================================================
-void GeometryGUI::OnGUIEvent( int id )
-{
-  SUIT_Desktop* desk = application()->desktop();
-
-  // check type of the active viewframe
-  SUIT_ViewWindow* window = desk->activeWindow();
-  bool ViewOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
-  bool ViewVTK = ( window && window->getViewManager()->getType() == VTKViewer_Viewer::Type() );
-  // if current viewframe is not of OCC and not of VTK type - return immediately
-  // fix for IPAL8958 - allow some commands to execute even when NO viewer is active (rename for example)
-  bool NotViewerDependentCommand = ( id == 901 || id == 216 || id == 213 ); 
-  if ( !ViewOCC && !ViewVTK && !NotViewerDependentCommand )
-      return;
-
-  // fix for IPAL9103, point 2
-  if ( CORBA::is_nil( GetGeomGen() ) ) {
-    SUIT_MessageBox::error1( desk, tr( "GEOM_ERROR" ), tr( "GEOM_ERR_GET_ENGINE" ), tr( "GEOM_BUT_OK" ) );
-    return;
-  }
-
-  GEOMGUI* library = 0;
-  // try to get-or-load corresponding GUI library
-  if( id == 111  ||  // MENU FILE - IMPORT BREP
-      id == 112  ||  // MENU FILE - IMPORT IGES
-      id == 113  ||  // MENU FILE - IMPORT STEP
-      id == 121  ||  // MENU FILE - EXPORT BREP
-      id == 122  ||  // MENU FILE - EXPORT IGES
-      id == 123  ||  // MENU FILE - EXPORT STEP
-      id == 31   ||  // MENU EDIT - COPY
-      id == 33   ||  // MENU EDIT - DELETE
-      id == 411  ||  // MENU SETTINGS - ADD IN STUDY
-      id == 412  ||  // MENU SETTINGS - SHADING COLOR
-      id == 413  ||  // MENU SETTINGS - ISOS
-      id == 414  ||  // MENU SETTINGS - STEP VALUE FOR SPIN BOXES
-      id == 5103 ||  // MENU TOOLS - CHECK GEOMETRY
-      id == 8032 ||  // POPUP VIEWER - COLOR
-      id == 8033 ||  // POPUP VIEWER - TRANSPARENCY
-      id == 8034 ||  // POPUP VIEWER - ISOS
-      id == 804  ||  // POPUP VIEWER - ADD IN STUDY
-      id == 901  ||  // OBJECT BROWSER - RENAME
-      id == 9024 ) { // OBJECT BROWSER - OPEN
-    //cout << "id " << id << " received" << endl;
-#ifndef WNT
-       library = getLibrary( "libGEOMToolsGUI.so" );
-#else
-       library = getLibrary( "GEOMToolsGUI.dll" );
-#endif
-  }
-  else if( id == 211  ||  // MENU VIEW - WIREFRAME/SHADING
-          id == 212  ||  // MENU VIEW - DISPLAY ALL
-          id == 213  ||  // MENU VIEW - DISPLAY ONLY
-          id == 214  ||  // MENU VIEW - ERASE ALL
-          id == 215  ||  // MENU VIEW - ERASE
-          id == 216  ||  // MENU VIEW - DISPLAY
-          id == 80311 ||  // POPUP VIEWER - WIREFRAME
-          id == 80312 ) { // POPUP VIEWER - SHADING
-#ifndef WNT
-       library = getLibrary( "libDisplayGUI.so" );
-#else
-       library = getLibrary( "DisplayGUI.dll" );
-#endif
-  }
-  else if( id == 4011 ||  // MENU BASIC - POINT
-          id == 4012 ||  // MENU BASIC - LINE
-          id == 4013 ||  // MENU BASIC - CIRCLE
-          id == 4014 ||  // MENU BASIC - ELLIPSE
-          id == 4015 ||  // MENU BASIC - ARC
-          id == 4016 ||  // MENU BASIC - VECTOR
-          id == 4017 ||  // MENU BASIC - PLANE
-          id == 4018 ||  // MENU BASIC - WPLANE
-          id == 4019 ||  // MENU BASIC - CURVE
-          id == 4020 ) { // MENU BASIC - REPAIR
-#ifndef WNT
-       library = getLibrary( "libBasicGUI.so" );
-#else
-       library = getLibrary( "BasicGUI.dll" );
-#endif
-  }
-  else if( id == 4021 ||  // MENU PRIMITIVE - BOX
-          id == 4022 ||  // MENU PRIMITIVE - CYLINDER
-          id == 4023 ||  // MENU PRIMITIVE - SPHERE
-          id == 4024 ||  // MENU PRIMITIVE - TORUS
-          id == 4025 ) { // MENU PRIMITIVE - CONE
-#ifndef WNT
-       library = getLibrary( "libPrimitiveGUI.so" );
-#else
-       library = getLibrary( "PrimitiveGUI.dll" );
-#endif
-  }
-  else if( id == 4031 ||  // MENU GENERATION - PRISM
-          id == 4032 ||  // MENU GENERATION - REVOLUTION
-          id == 4033 ||  // MENU GENERATION - FILLING
-          id == 4034 ) { // MENU GENERATION - PIPE
-#ifndef WNT
-       library = getLibrary( "libGenerationGUI.so" );
-#else
-       library = getLibrary( "GenerationGUI.dll" );
-#endif
-  }
-  else if( id == 404 ||   // MENU ENTITY - SKETCHER
-          id == 407 ) {  // MENU ENTITY - EXPLODE
-#ifndef WNT
-       library = getLibrary( "libEntityGUI.so" );
-#else
-       library = getLibrary( "EntityGUI.dll" );
-#endif
-  }
-  else if( id == 4081 ||  // MENU BUILD - EDGE
-          id == 4082 ||  // MENU BUILD - WIRE
-          id == 4083 ||  // MENU BUILD - FACE
-          id == 4084 ||  // MENU BUILD - SHELL
-          id == 4085 ||  // MENU BUILD - SOLID
-          id == 4086 ) { // MENU BUILD - COMPUND
-#ifndef WNT
-       library = getLibrary( "libBuildGUI.so" );
-#else
-       library = getLibrary( "BuildGUI.dll" );
-#endif
-  }
-  else if( id == 5011 ||  // MENU BOOLEAN - FUSE
-          id == 5012 ||  // MENU BOOLEAN - COMMON
-          id == 5013 ||  // MENU BOOLEAN - CUT
-          id == 5014 ) { // MENU BOOLEAN - SECTION
-#ifndef WNT
-       library = getLibrary( "libBooleanGUI.so" );
-#else
-       library = getLibrary( "BooleanGUI.dll" );
-#endif
-  }
-  else if( id == 5021 ||  // MENU TRANSFORMATION - TRANSLATION
-          id == 5022 ||  // MENU TRANSFORMATION - ROTATION
-          id == 5023 ||  // MENU TRANSFORMATION - LOCATION
-          id == 5024 ||  // MENU TRANSFORMATION - MIRROR
-          id == 5025 ||  // MENU TRANSFORMATION - SCALE
-          id == 5026 ||  // MENU TRANSFORMATION - OFFSET
-          id == 5027 ||  // MENU TRANSFORMATION - MULTI-TRANSLATION
-          id == 5028 ) { // MENU TRANSFORMATION - MULTI-ROTATION
-#ifndef WNT
-       library = getLibrary( "libTransformationGUI.so" );
-#else
-       library = getLibrary( "TransformationGUI.dll" );
-#endif
-  }
-  else if( id == 503 ||   // MENU OPERATION - PARTITION
-          id == 504 ||   // MENU OPERATION - ARCHIMEDE
-          id == 505 ||   // MENU OPERATION - FILLET
-          id == 506 ||   // MENU OPERATION - CHAMFER  
-          id == 507 ) {  // MENU OPERATION - CLIPPING RANGE
-#ifndef WNT
-       library = getLibrary( "libOperationGUI.so" );
-#else
-       library = getLibrary( "OperationGUI.dll" );
-#endif
-  }
-  else if( id == 601 ||   // MENU REPAIR - SEWING
-          id == 603 ||   // MENU REPAIR - SUPPRESS FACES
-          id == 604 ||   // MENU REPAIR - SUPPRESS HOLE
-           id == 605 ||   // MENU REPAIR - SHAPE PROCESSING
-           id == 606 ||   // MENU REPAIR - CLOSE CONTOUR
-           id == 607 ||   // MENU REPAIR - REMOVE INTERNAL WIRES
-           id == 608 ||   // MENU REPAIR - ADD POINT ON EDGE
-           id == 609 ||   // MENU REPAIR - FREE BOUNDARIES
-           id == 610 ||   // MENU REPAIR - FREE FACES
-          id == 602 ) {  // MENU REPAIR - GLUE FACES
-#ifndef WNT
-       library = getLibrary( "libRepairGUI.so" );
-#else
-       library = getLibrary( "RepairGUI.dll" );
-#endif
-  }
-  else if( id == 701   ||  // MENU MEASURE - PROPERTIES
-          id == 702   ||  // MENU MEASURE - CDG
-          id == 703   ||  // MENU MEASURE - INERTIA
-          id == 7041  ||  // MENU MEASURE - BOUNDING BOX
-          id == 7042  ||  // MENU MEASURE - MIN DISTANCE
-          id == 705   ||  // MENU MEASURE - TOLERANCE
-          id == 706   ||  // MENU MEASURE - WHATIS
-          id == 707   ||  // MENU MEASURE - CHECK
-          id == 7072  ||  // MENU MEASURE - CHECK COMPOUND OF BLOCKS
-          id == 708 ) {  // MENU MEASURE - POINT COORDINATES
-#ifndef WNT
-       library = getLibrary( "libMeasureGUI.so" );
-#else
-       library = getLibrary( "MeasureGUI.dll" );
-#endif
-  }
-  else if( id == 800  ||  // MENU GROUP - CREATE
-          id == 8001 ||  // POPUP MENU - CREATE GROUP
-          id == 801 ) {  // MENU GROUP - EDIT
-#ifndef WNT
-       library = getLibrary( "libGroupGUI.so" );
-#else
-       library = getLibrary( "GroupGUI.dll" );
-#endif
-  }
-  else if( id == 9999  ||  // MENU BLOCKS - HEXAHEDRAL SOLID
-           id == 9998  ||  // MENU BLOCKS - MULTI-TRANSFORMATION
-           id == 9997  ||  // MENU BLOCKS - QUADRANGLE FACE
-           id == 99991 ||  // MENU BLOCKS - PROPAGATE
-           id == 9995 ) { // MENU BLOCKS - EXPLODE ON BLOCKS
-#ifndef WNT
-       library = getLibrary( "libBlocksGUI.so" );
-#else
-       library = getLibrary( "BlocksGUI.dll" );
-#endif
-  }
-
-  // call method of corresponding GUI library
-  if ( library ) 
-    library->OnGUIEvent( id, desk );
-  else 
-    SUIT_MessageBox::error1( desk, tr( "GEOM_ERROR" ), tr( "GEOM_ERR_LIB_NOT_FOUND" ), tr( "GEOM_BUT_OK" ) );
-}
-
-
-//=================================================================================
-// function : GeometryGUI::OnKeyPress()
-// purpose  : Called when any key is pressed by user [static]
-//=================================================================================
-bool GeometryGUI::OnKeyPress( QKeyEvent* pe, SUIT_ViewWindow* win )
-{
-  GUIMap::Iterator it;
-  bool bOk = true;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    bOk = bOk && it.data()->OnKeyPress( pe, application()->desktop(), win );
-  return bOk;
-}
-
-
-//=================================================================================
-// function : GeometryGUI::OnMouseMove()
-// purpose  : Manages mouse move events [static]
-//=================================================================================
-bool GeometryGUI::OnMouseMove( QMouseEvent* pe, SUIT_ViewWindow* win )
-{  
-  GUIMap::Iterator it;
-  bool bOk = true;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    bOk = bOk && it.data()->OnMouseMove( pe, application()->desktop(), win );
-  return bOk;
-}
-
-
-//=================================================================================
-// function : GeometryGUI::0nMousePress()
-// purpose  : Manage mouse press events [static]
-//=================================================================================
-bool GeometryGUI::OnMousePress( QMouseEvent* pe, SUIT_ViewWindow* win )
-{
-  GUIMap::Iterator it;
-  // OnMousePress() should return false if this event should be processed further
-  // (see OCCViewer_Viewer3d::onMousePress() for explanation)
-  bool processed = false;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    processed = processed || it.data()->OnMousePress( pe, application()->desktop(), win );
-  return processed;
-}
-
-/*
-static void UpdateVtkSelection()
-{
-  QPtrList<SUIT_ViewWindow> winList = application()->desktop()->windows();
-  SUIT_ViewWindow* win = 0;
-  for ( win = winList.first(); win; win = winList.next() ) {
-    if ( win->getViewManager()->getTypeView() == VIEW_VTK ) {
-      VTKViewer_ViewWindow* vw = dynamic_cast<VTKViewer_ViewWindow*>( window );
-      if ( vw ) {
-       VTKViewer_RenderWindowInteractor* anInteractor = vw->getRWInteractor();
-       anInteractor->SetSelectionProp();
-       anInteractor->SetSelectionTolerance();
-       SVTK_InteractorStyleSALOME* aStyle = anInteractor->GetInteractorStyleSALOME();
-       if (aStyle) {
-         aStyle->setPreselectionProp();
-       }
-      }
-    }
-  }
-}
-
-//=================================================================================
-// function : GeometryGUI::SetSettings()
-// purpose  : Called when GEOM module is activated [static]
-//=================================================================================
-bool GeometryGUI::SetSettings()
-{
-  QMenuBar*     Mb = parent->getMainMenuBar();
-  SUIT_Study*   ActiveStudy = application()->activeStudy();
-    
-// Wireframe or Shading
-  int DisplayMode = 0;
-  SUIT_ViewWindow* window = application()->desktop()->activeWindow();
-  bool ViewOCC = ( window && window->getViewManager()->getType() == VIEW_OCC );
-  bool ViewVTK = ( window && window->getViewManager()->getType() == VIEW_VTK );
-  if ( ViewOCC ) {
-    OCCViewer_ViewManager* vm = dynamic_cast<OCCViewer_ViewManager*>( window->getViewManager() );
-    if ( vm ) {
-      Handle(AIS_InteractiveContext) ic = vm->getOCCViewer()->getAISContext();
-      DisplayMode = ic->DisplayMode();
-    }
-  }
-  else if ( ViewVTK ) {
-    VTKViewer_ViewWindow* vw = dynamic_cast<VTKViewer_ViewWindow*>( window );
-    if ( vw ) {
-      VTKViewer_RenderWindowInteractor* myRenderInter = vw->getRWInteractor();
-      DisplayMode = myRenderInter->GetDisplayMode();
-    }
-  }
-
-  if( DisplayMode == 1 )
-    getApp()->
-    Mb->changeItem( 211, tr( "GEOM_MEN_WIREFRAME" ) );
-  else
-    Mb->changeItem( 211, tr( "GEOM_MEN_SHADING" ) );
-
-
-  // Add in Study  - !!!ALWAYS TRUE!!! /////// VSR : TO BE REMOVED
-  QString AddInStudy = QAD_CONFIG->getSetting("Geometry:SettingsAddInStudy");
-  int Settings_AddInStudy;
-  //  if(!AddInStudy.isEmpty())
-  //    Settings_AddInStudy = AddInStudy.toInt();
-  //  else
-  
-  Settings_AddInStudy = 1;
-  Mb->setItemChecked(411, Settings_AddInStudy);
-
-  // step value 
-  QString S = QAD_CONFIG->getSetting("Geometry:SettingsGeomStep");
-  if(S.isEmpty())
-    QAD_CONFIG->addSetting("Geometry:SettingsGeomStep", "100");
-
-  // isos 
-  int count = ActiveStudy->getStudyFramesCount();
-  for(int i = 0; i < count; i++) {
-    if(ActiveStudy->getStudyFrame(i)->getTypeView() == VIEW_OCC) {
-      OCCViewer_Viewer3d* v3d = ((OCCViewer_ViewFrame*)ActiveStudy->getStudyFrame(i)->getRightFrame()->getViewFrame())->getViewer();
-      Handle (AIS_InteractiveContext) ic = v3d->getAISContext();
-
-      QString IsoU = QAD_CONFIG->getSetting("Geometry:SettingsIsoU");
-      QString IsoV = QAD_CONFIG->getSetting("Geometry:SettingsIsoV");
-      if(!IsoU.isEmpty())
-       ic->DefaultDrawer()->UIsoAspect()->SetNumber(IsoU.toInt());
-      if(!IsoV.isEmpty())
-       ic->DefaultDrawer()->VIsoAspect()->SetNumber(IsoV.toInt());
-    }
-  }
-
-  setActionsEnabled();
-
-  // PAL5356: update VTK selection
-  ::UpdateVtkSelection();
-  bool bOk = true;
-  GUIMap::Iterator it;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    bOk = bOk && it.data()->SetSettings( parent );
-    
-  // MZN: Enable/disable "Clipping range" menu item(from GEOM_CLIPPING variable)       
-  if (getenv( "GEOM_CLIPPING" ) == NULL)
-    {
-      QMenuItem* mi = Mb->findItem(50);
-      if (mi && mi->popup())
-      mi->popup()->removeItem(507);            
-    } 
-    
-  return bOk;
-}
-*/
-
-//=======================================================================
-// function : createGeomAction
-// purpose  : 
-//=======================================================================
-void GeometryGUI::createGeomAction( const int id, const QString& po_id, const QString& icon_id, const int key, const bool toggle  )
-{
-  QIconSet icon;
-  QWidget* parent = application()->desktop();
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  QPixmap pix;
-  if ( icon_id.length() ) 
-    pix = resMgr->loadPixmap( "GEOM", tr( icon_id ) );
-  else
-    pix = resMgr->loadPixmap( "GEOM", tr( QString( "ICO_" )+po_id ), false );
-  if ( !pix.isNull() )
-    icon = QIconSet( pix );
-
-  QString tooltip    = tr( QString( "TOP_" )+po_id ),
-          menu       = tr( QString( "MEN_" )+po_id ),
-          status_bar = tr( QString( "STB_" )+po_id );
-
-  createAction( id, tooltip, icon, menu, status_bar, key, parent, toggle, this, SLOT( OnGUIEvent() )  );
-}
-
-
-
-//=======================================================================
-// function : GeometryGUI::Deactivate()
-// purpose  : Called when GEOM module is deactivated [ static ]
-//=======================================================================
-void GeometryGUI::initialize( CAM_Application* app )
-{
-  SalomeApp_Module::initialize( app );
-
-  // ----- create actions --------------
-
-  createGeomAction( 111, "IMPORT", "", (CTRL + Key_I) );
-  createGeomAction( 121, "EXPORT", "", (CTRL + Key_E) );
-
-  createGeomAction( 33, "DELETE" );
-
-  createGeomAction( 4011, "POINT" );
-  createGeomAction( 4012, "LINE" );
-  createGeomAction( 4013, "CIRCLE" );
-  createGeomAction( 4014, "ELLIPSE" );
-  createGeomAction( 4015, "ARC" );
-  createGeomAction( 4019, "CURVE" );
-  createGeomAction( 4016, "VECTOR" );
-  createGeomAction( 4017, "PLANE" );
-  createGeomAction( 4018, "WORK_PLANE" );
-  createGeomAction( 4020, "LOCAL_CS" );
-
-  createGeomAction( 4021, "BOX" );
-  createGeomAction( 4022, "CYLINDER" );
-  createGeomAction( 4023, "SPHERE" );
-  createGeomAction( 4024, "TORUS" );
-  createGeomAction( 4025, "CONE" );
-
-  createGeomAction( 4031, "EXTRUSION" );
-  createGeomAction( 4032, "REVOLUTION" );
-  createGeomAction( 4033, "FILLING" );
-  createGeomAction( 4034, "PIPE" );
-
-  createGeomAction( 800, "GROUP_CREATE" );
-  createGeomAction( 801, "GROUP_EDIT" );
-
-  createGeomAction( 9997, "Q_FACE" );
-  createGeomAction( 9999, "HEX_SOLID" );
-
-  createGeomAction( 404, "SKETCH" );
-  createGeomAction( 407, "EXPLODE" );
-
-  createGeomAction( 4081, "EDGE" );
-  createGeomAction( 4082, "WIRE" );
-  createGeomAction( 4083, "FACE" );
-  createGeomAction( 4084, "SHELL" );
-  createGeomAction( 4085, "SOLID" );
-  createGeomAction( 4086, "COMPOUND" );
-
-  createGeomAction( 5011, "FUSE" );
-  createGeomAction( 5012, "COMMON" );
-  createGeomAction( 5013, "CUT" );
-  createGeomAction( 5014, "SECTION" );
-
-  createGeomAction( 5021, "TRANSLATION" );
-  createGeomAction( 5022, "ROTATION" );
-  createGeomAction( 5023, "MODIFY_LOCATION" );
-  createGeomAction( 5024, "MIRROR" );
-  createGeomAction( 5025, "SCALE" );
-  createGeomAction( 5026, "OFFSET" );
-  createGeomAction( 5027, "MUL_TRANSLATION" );
-  createGeomAction( 5028, "MUL_ROTATION" );
-
-  createGeomAction( 503, "PARTITION" );
-  createGeomAction( 504, "ARCHIMEDE" );
-  createGeomAction( 505, "FILLET" );
-  createGeomAction( 506, "CHAMFER" );
-  //createGeomAction( 507, "CLIPPING" );
-
-  createGeomAction( 9998, "MUL_TRANSFORM" );
-  createGeomAction( 9995, "EXPLODE_BLOCKS" );
-  createGeomAction( 99991, "PROPAGATE" );
-
-  createGeomAction( 601, "SEWING" );
-  createGeomAction( 602, "GLUE_FACES" );
-  createGeomAction( 603, "SUPPRESS_FACES" );
-  createGeomAction( 604, "SUPPERSS_HOLES" );
-  createGeomAction( 605, "SHAPE_PROCESS" );
-  createGeomAction( 606, "CLOSE_CONTOUR" );
-  createGeomAction( 607, "SUPPRESS_INT_WIRES" );
-  createGeomAction( 608, "POINT_ON_EDGE" );
-  createGeomAction( 609, "CHECK_FREE_BNDS" );
-  createGeomAction( 610, "CHECK_FREE_FACES" );
-  
-  createGeomAction( 708, "POINT_COORDS" );
-  createGeomAction( 701, "BASIC_PROPS" );
-  createGeomAction( 702, "MASS_CENTER" );
-  createGeomAction( 703, "INERTIA" );
-  createGeomAction( 7041, "BND_BOX" );
-  createGeomAction( 7042, "MIN_DIST" );
-
-  createGeomAction( 705, "TOLERANCE" );
-  createGeomAction( 706, "WHAT_IS" );
-  createGeomAction( 707, "CHECK" );
-  createGeomAction( 7072, "CHECK_COMPOUND" );
-
-  createGeomAction( 5103, "CHECK_GEOMETRY" );
-  
-  createGeomAction( 412, "SHADING_COLOR" );
-  createGeomAction( 413, "ISOS" );
-  createGeomAction( 414, "STEP_VALUE" );
-
-  createGeomAction( 211, "SHADING" );
-  createGeomAction( 212, "DISPLAY_ALL" );
-  createGeomAction( 214, "ERASE_ALL" );
-  createGeomAction( 216, "DISPLAY" );
-  createGeomAction( 213, "DISPLAY_ONLY" );
-  createGeomAction( 215, "ERASE" );
-
-  createGeomAction( 901, "POP_RENAME" );
-  createGeomAction( 80311, "POP_WIREFRAME", "", 0, true );
-  createGeomAction( 80312, "POP_SHADING", "", 0, true );
-  createGeomAction( 8032, "POP_COLOR" );
-  createGeomAction( 8033, "POP_TRANSPARENCY" );
-  createGeomAction( 8034, "POP_ISOS" );
-  createGeomAction( 8001, "POP_CREATE_GROUP" );
-
-  // make wireframe-shading items to be exclusive (only one at a time is selected)
-  //QActionGroup* dispModeGr = new QActionGroup( this, "", true );
-  //dispModeGr->add( action( 80311 ) );
-  //dispModeGr->add( action( 80312 ) );
-  // ---- create menu --------------------------
-
-  int fileId = createMenu( tr( "MEN_FILE" ), -1, -1 );
-  createMenu( separator(), fileId, 10 );
-  createMenu( 111, fileId, 10 );
-  createMenu( 121, fileId, 10 );
-  createMenu( separator(), fileId, -1 );
-
-  int editId = createMenu( tr( "MEN_EDIT" ), -1, -1 );
-  createMenu( 33, editId, -1 );
-
-  int newEntId = createMenu( tr( "MEN_NEW_ENTITY" ), -1, -1, 10 );
-
-  int basicId = createMenu( tr( "MEN_BASIC" ), newEntId, -1 );
-  createMenu( 4011, basicId, -1 );
-  createMenu( 4012, basicId, -1 );
-  createMenu( 4013, basicId, -1 );
-  createMenu( 4014, basicId, -1 );
-  createMenu( 4015, basicId, -1 );
-  createMenu( 4019, basicId, -1 );
-  createMenu( separator(), basicId, -1 );
-  createMenu( 4016, basicId, -1 );
-  createMenu( 4017, basicId, -1 );
-  createMenu( 4018, basicId, -1 );
-  createMenu( 4020, basicId, -1 );
-
-  int primId = createMenu( tr( "MEN_PRIMITIVES" ), newEntId, -1 );
-  createMenu( 4021, primId, -1 );  
-  createMenu( 4022, primId, -1 );  
-  createMenu( 4023, primId, -1 );  
-  createMenu( 4024, primId, -1 );  
-  createMenu( 4025, primId, -1 );  
-
-  int genId = createMenu( tr( "MEN_GENERATION" ), newEntId, -1 );
-  createMenu( 4031, genId, -1 );  
-  createMenu( 4032, genId, -1 );  
-  createMenu( 4033, genId, -1 );  
-  createMenu( 4034, genId, -1 );  
-  createMenu( separator(), newEntId, -1 );
-
-  int groupId = createMenu( tr( "MEN_GROUP" ), newEntId, -1 );
-  createMenu( 800, groupId, -1 );  
-  createMenu( 801, groupId, -1 );  
-  createMenu( separator(), newEntId, -1 );
-
-  int blocksId = createMenu( tr( "MEN_BLOCKS" ), newEntId, -1 );
-  createMenu( 9997, blocksId, -1 );  
-  createMenu( 9999, blocksId, -1 );  
-
-  createMenu( separator(), newEntId, -1 );
-  createMenu( 404, newEntId, -1 );  
-  createMenu( separator(), newEntId, -1 );
-  createMenu( 407, newEntId, -1 );  
-
-  int buildId = createMenu( tr( "MEN_BUILD" ), newEntId, -1 );
-  createMenu( 4081, buildId, -1 );  
-  createMenu( 4082, buildId, -1 );  
-  createMenu( 4083, buildId, -1 );  
-  createMenu( 4084, buildId, -1 );  
-  createMenu( 4085, buildId, -1 );  
-  createMenu( 4086, buildId, -1 );  
-
-  int operId = createMenu( tr( "MEN_OPERATIONS" ), -1, -1, 10 );
-
-  int boolId = createMenu( tr( "MEN_BOOLEAN" ), operId, -1 );
-  createMenu( 5011, boolId, -1 );  
-  createMenu( 5012, boolId, -1 );  
-  createMenu( 5013, boolId, -1 );  
-  createMenu( 5014, boolId, -1 );  
-
-  int transId = createMenu( tr( "MEN_TRANSFORMATION" ), operId, -1 );
-  createMenu( 5021, transId, -1 );  
-  createMenu( 5022, transId, -1 );  
-  createMenu( 5023, transId, -1 );  
-  createMenu( 5024, transId, -1 );  
-  createMenu( 5025, transId, -1 );  
-  createMenu( 5026, transId, -1 );  
-  createMenu( separator(), transId, -1 );
-  createMenu( 5027, transId, -1 );  
-  createMenu( 5028, transId, -1 );  
-
-  createMenu( 503, operId, -1 );  
-  createMenu( 504, operId, -1 );  
-  createMenu( separator(), operId, -1 );
-  createMenu( 505, transId, -1 );  
-  createMenu( 506, transId, -1 );  
-  //createMenu( 507, transId, -1 );  
-
-  int blockId = createMenu( tr( "MEN_BLOCKS" ), operId, -1 );
-  createMenu( 9998, blockId, -1 );  
-  createMenu( 9995, blockId, -1 );  
-  createMenu( 99991, blockId, -1 );  
-
-  int repairId = createMenu( tr( "MEN_REPAIR" ), -1, -1, 10 );
-  createMenu( 605, repairId, -1 );  
-  createMenu( 603, repairId, -1 );  
-  createMenu( 606, repairId, -1 );  
-  createMenu( 607, repairId, -1 );  
-  createMenu( 604, repairId, -1 );  
-  createMenu( 601, repairId, -1 );  
-  createMenu( 602, repairId, -1 );  
-  createMenu( 608, repairId, -1 );  
-  createMenu( 609, repairId, -1 );  
-  createMenu( 610, repairId, -1 );  
-
-  int measurId = createMenu( tr( "MEN_MEASURES" ), -1, -1, 10 );
-  createMenu( 708, measurId, -1 );  
-  createMenu( 701, measurId, -1 );  
-  createMenu( separator(), measurId, -1 );
-  createMenu( 702, measurId, -1 );  
-  createMenu( 703, measurId, -1 );  
-  createMenu( separator(), measurId, -1 );
-
-  int dimId = createMenu( tr( "MEN_DIMENSIONS" ), measurId, -1 );
-  createMenu( 7041, dimId, -1 );  
-  createMenu( 7042, dimId, -1 );
-  createMenu( separator(), measurId, -1 );
-  
-  createMenu( 705, measurId, -1 );  
-  createMenu( separator(), measurId, -1 );
-  createMenu( 706, measurId, -1 );  
-  createMenu( 707, measurId, -1 );  
-  createMenu( 7072, measurId, -1 );  
-
-  int toolsId = createMenu( tr( "MEN_TOOLS" ), -1, -1, 50 );
-  createMenu( separator(), toolsId, -1 );
-  createMenu( 5103, toolsId, -1 );  
-  
-  //int prefId = createMenu( tr( "MEN_PREFERENCES" ), -1, -1, 50 );
-  //createMenu( separator(), prefId, -1 );
-  //int geomId = createMenu( tr( "MEN_PREFERENCES_GEOM" ), prefId, -1 );
-  //createMenu( 412, geomId, -1 );  
-  //createMenu( 413, geomId, -1 );  
-  //createMenu( 414, geomId, -1 );  
-  //createMenu( separator(), prefId, -1 );
-
-  int viewId = createMenu( tr( "MEN_VIEW" ), -1, -1 );
-  createMenu( separator(), viewId, -1 );
-
-  int dispmodeId = createMenu( tr( "MEN_DISPLAY_MODE" ), viewId, -1 );
-  createMenu( 211, dispmodeId, -1 );  
-  
-  createMenu( separator(), viewId, -1 );
-  createMenu( 212, viewId, -1 );  
-  createMenu( 214, viewId, -1 );  
-  createMenu( separator(), viewId, -1 );
-  createMenu( 216, viewId, -1 );  
-  createMenu( 213, viewId, -1 );  
-  createMenu( 215, viewId, -1 );
-
-  // ---- create toolbars --------------------------
-
-  int basicTbId = createTool( tr( "TOOL_BASIC" ) );
-  createTool( 4011, basicTbId );
-  createTool( 4012, basicTbId );
-  createTool( 4013, basicTbId );
-  createTool( 4014, basicTbId );
-  createTool( 4015, basicTbId );
-  createTool( 4019, basicTbId );
-  createTool( 4016, basicTbId );
-  createTool( 4017, basicTbId );
-  createTool( 4018, basicTbId );
-  createTool( 4020, basicTbId );
-
-  int primTbId = createTool( tr( "TOOL_PRIMITIVES" ) );
-  createTool( 4021, primTbId );  
-  createTool( 4022, primTbId );  
-  createTool( 4023, primTbId );  
-  createTool( 4024, primTbId );  
-  createTool( 4025, primTbId );  
-
-  int boolTbId = createTool( tr( "TOOL_BOOLEAN" ) );
-  createTool( 5011, boolTbId );  
-  createTool( 5012, boolTbId );  
-  createTool( 5013, boolTbId );  
-  createTool( 5014, boolTbId );  
-
-  int genTbId = createTool( tr( "TOOL_GENERATION" ) );
-  createTool( 4031, genTbId );  
-  createTool( 4032, genTbId );  
-  createTool( 4033, genTbId );  
-  createTool( 4034, genTbId );  
-
-  int transTbId = createTool( tr( "TOOL_TRANSFORMATION" ) );
-  createTool( 5021, transTbId );  
-  createTool( 5022, transTbId );  
-  createTool( 5023, transTbId );  
-  createTool( 5024, transTbId );  
-  createTool( 5025, transTbId );  
-  createTool( 5026, transTbId );  
-  createTool( separator(), transTbId );
-  createTool( 5027, transTbId );  
-  createTool( 5028, transTbId );
-
-  QtxPopupMgr* mgr = popupMgr();
-  mgr->insert( action(  901 ), -1, -1 ); // rename
-  mgr->setRule( action( 901 ), "$type in {'Shape' 'Group'} and selcount=1", true );
-  mgr->insert( action(  8001 ), -1, -1 ); // create group
-  mgr->setRule( action( 8001 ), "client='ObjectBrowser' and type='Shape' and selcount=1 and isOCC=true", true );
-  mgr->insert( action(  801 ), -1, -1 ); // edit group
-  mgr->setRule( action( 801 ),  "client='ObjectBrowser' and type='Group' and selcount=1 and isOCC=true", true );
-  mgr->insert( separator(), -1, -1 );        // -----------
-  dispmodeId = mgr->insert(  tr( "MEN_DISPLAY_MODE" ), -1, -1 ); // display mode menu
-  mgr->insert( action(  80311 ), dispmodeId, -1 ); // wireframe
-  mgr->setRule( action( 80311 ), "(client='OCCViewer' or client='VTKViewer') and selcount>0", true );
-  mgr->setRule( action( 80311 ), "(client='OCCViewer' or client='VTKViewer') and displaymode='Wireframe'", false );
-  mgr->insert( action(  80312 ), dispmodeId, -1 ); // shading
-  mgr->setRule( action( 80312 ), "(client='OCCViewer' or client='VTKViewer') and selcount>0", true );
-  mgr->setRule( action( 80312 ), "(client='OCCViewer' or client='VTKViewer') and displaymode='Shading'", false );
-  mgr->insert( separator(), -1, -1 );        // -----------
-  mgr->insert( action(  8032 ), -1, -1 ); // color
-  mgr->setRule( action( 8032 ), "(client='OCCViewer' or client='VTKViewer') and selcount>0", true );
-  mgr->insert( action(  8033 ), -1, -1 ); // transparency
-  mgr->setRule( action( 8033 ), "(client='OCCViewer' or client='VTKViewer') and selcount>0", true );
-  mgr->insert( action(  8034 ), -1, -1 ); // isos
-  mgr->setRule( action( 8034 ), "client='OCCViewer' and selcount>0", true );
-  mgr->insert( separator(), -1, -1 );        // -----------
-  mgr->insert( action(  216 ), -1, -1 ); // display
-  mgr->setRule( action( 216 ), "(selcount>0) and (((isActiveView=true) and (($type in {'Shape' 'Group'} and isVisible=false) or type='Component'))"
-                              "or ((isActiveView=false) and ($type in {'Shape' 'Group' 'Component'})))", true );
-  mgr->insert( action(  215 ), -1, -1 ); // erase
-  mgr->setRule( action( 215 ), "(isActiveView=true) and (($type in {'Shape' 'Group'} and isVisible=true and selcount>0) or (type='Component' and selcount=1))", true );
-  mgr->insert( action(  214 ), -1, -1 ); // erase All
-  mgr->setRule( action( 214 ), "client='OCCViewer' or client='VTKViewer'", true );
-  mgr->insert( action(  213 ), -1, -1 ); // display only
-  mgr->setRule( action( 213 ), "($type in {'Shape' 'Group'} and selcount>0) or (type='Component' and selcount=1)", true );
-  mgr->insert( separator(), -1, -1 );
-}
-
-//=======================================================================
-// function : GeometryGUI::Deactivate()
-// purpose  : Called when GEOM module is deactivated [ static ]
-//=======================================================================
-bool GeometryGUI::activateModule( SUIT_Study* study )
-{
-  if ( CORBA::is_nil( myComponentGeom ) )
-    return false;
-
-  bool res = SalomeApp_Module::activateModule( study );
-
-  if ( !res )
-    return false;
-
-  setMenuShown( true );
-  setToolShown( true );
-
-  connect( application()->desktop(), SIGNAL( windowActivated( SUIT_ViewWindow* ) ), 
-         this, SLOT( onWindowActivated( SUIT_ViewWindow* ) ) );
-  connect( (STD_Application*)application(), SIGNAL( viewManagerAdded( SUIT_ViewManager* ) ),
-           this, SLOT( onViewManagerAdded( SUIT_ViewManager* ) ) ); 
-
-  GUIMap::Iterator it;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    it.data()->activate( application()->desktop() );
-
-  SalomeApp_SelectionMgr* sm = getApp()->selectionMgr();
-  SUIT_ViewManager* vm;
-  ViewManagerList OCCViewManagers, VTKViewManagers;
-  application()->viewManagers( OCCViewer_Viewer::Type(), OCCViewManagers );
-  for ( vm = OCCViewManagers.first(); vm; vm = OCCViewManagers.next() )
-    myOCCSelectors.append( new GEOMGUI_OCCSelector( ((OCCViewer_ViewManager*)vm)->getOCCViewer(), sm ) );
-  application()->viewManagers( VTKViewer_Viewer::Type(), VTKViewManagers );
-  for ( vm = VTKViewManagers.first(); vm; vm = VTKViewManagers.next() )
-    myVTKSelectors.append( new SalomeApp_VTKSelector( (SVTK_Viewer*)vm->getViewModel(), sm ) );
-
-  // disable OCC selectors
-  getApp()->selectionMgr()->setEnabled( false, OCCViewer_Viewer::Type() );
-  for ( GEOMGUI_OCCSelector* sr = myOCCSelectors.first(); sr; sr = myOCCSelectors.next() )
-    sr->setEnabled(true);
-  
-  // disable VTK selectors
-  getApp()->selectionMgr()->setEnabled( false, VTKViewer_Viewer::Type() );
-  for ( SalomeApp_VTKSelector* sr = myVTKSelectors.first(); sr; sr = myVTKSelectors.next() )
-    sr->setEnabled(true);
-  
-  return true;
-}
-
-
-//=======================================================================
-// function : GeometryGUI::Deactivate()
-// purpose  : Called when GEOM module is deactivated [ static ]
-//=======================================================================
-bool GeometryGUI::deactivateModule( SUIT_Study* study )
-{
-  setMenuShown( false );
-  setToolShown( false );
-
-  disconnect( application()->desktop(), SIGNAL( windowActivated( SUIT_ViewWindow* ) ), 
-            this, SLOT( onWindowActivated( SUIT_ViewWindow* ) ) );
-  disconnect( (STD_Application*)application(), SIGNAL( viewManagerAdded( SUIT_ViewManager* ) ),
-            this, SLOT( onViewManagerAdded( SUIT_ViewManager* ) ) ); 
-
-  EmitSignalCloseAllDialogs();
-
-  GUIMap::Iterator it;
-  for ( it = myGUIMap.begin(); it != myGUIMap.end(); ++it )
-    it.data()->deactivate();  
-
-  myOCCSelectors.clear();
-  getApp()->selectionMgr()->setEnabled( true, OCCViewer_Viewer::Type() );
-
-  myVTKSelectors.clear();
-  getApp()->selectionMgr()->setEnabled( true, VTKViewer_Viewer::Type() );
-
-  return SalomeApp_Module::deactivateModule( study );
-}
-
-//=================================================================================
-// function : GeometryGUI::DefinePopup()
-// purpose  : Called from desktop to define popup menu [static]
-//=================================================================================
-/*
-void GeometryGUI::DefinePopup(QString& theContext, QString& theParent, QString& theObject)
-{
-  QAD_Study* ActiveStudy = QAD_Application::getDesktop()->getActiveStudy();
-  SALOME_Selection* Sel  = SALOME_Selection::Selection(ActiveStudy->getSelection());
-
-  theObject  = "";
-  theContext = "";
-
-  if ( theParent == "Viewer" ) {
-    if ( Sel->IObjectCount() == 0 )
-      theContext = "NothingSelected";
-  }
-
-  if ( Sel->IObjectCount() == 1 ) {
-    Handle(SALOME_InteractiveObject) IO = Sel->firstIObject();
-    if( IO->hasEntry() ) {
-      SALOMEDS::SObject_var sobj = ActiveStudy->getStudyDocument()->FindObjectID( IO->getEntry() );
-      if ( !sobj->_is_nil() ) {
-       SALOMEDS::SComponent_var scomp = sobj->GetFatherComponent();
-       if ( !strcmp(scomp->GetID(), IO->getEntry() ) ) {
-         // component is selected
-         theObject = "Component";
-       }
-       else {
-         GEOM::GEOM_Object_var aGObj = GEOM::GEOM_Object::_narrow( sobj->GetObject() );
-         if ( !CORBA::is_nil( aGObj ) ) {
-           switch( aGObj->GetType() ) {
-           case GEOM_GROUP:
-             theObject = "Group";
-             break;
-           default:
-             theObject = "Shape";
-             break;
-           }
-         }
-       }
-      }
-    }
-  }
-}
-
-//=================================================================================
-// function : GeometryGUI::CustomPopup()
-// purpose  : Called from desktop to create popup menu [static]
-//=================================================================================
-bool GeometryGUI::CustomPopup(QAD_Desktop* parent, QPopupMenu* popup, const QString& theContext,
-                             const QString& theParent, const QString& theObject)
-{
-  GeometryGUI* geomGUI = GetGeomGUI();
-
-  // Deactivate any non modal dialog box to get the neutral point
-  geomGUI->EmitSignalDeactivateDialog();
-  QAD_Study* anActiveStudy    = parent->getActiveStudy();
-  QAD_StudyFrame* aStudyFrame = anActiveStudy->getActiveStudyFrame();
-  QAD_ViewFrame* aViewFrame   = aStudyFrame->getRightFrame()->getViewFrame();
-  SALOME_Selection* Sel       = SALOME_Selection::Selection(anActiveStudy->getSelection());
-  QString parentComponent     = ((SALOMEGUI_Desktop*)parent)->getComponentFromSelection();
-  bool isOCCViewer            = aViewFrame->getTypeView() == VIEW_OCC;
-  bool isVTKViewer            = aViewFrame->getTypeView() == VIEW_VTK;
-  int aDisplayMode            = 0;
-  QString objectName;
-
-  if ( aViewFrame->getTypeView() == VIEW_OCC )
-    aDisplayMode = ((OCCViewer_ViewFrame*)aViewFrame)->getViewer()->getAISContext()->DisplayMode();
-  else if ( aViewFrame->getTypeView() == VIEW_VTK )
-    aDisplayMode = ((VTKViewer_ViewFrame*)aViewFrame)->getRWInteractor()->GetDisplayMode();
-
-  int nbSel = Sel->IObjectCount();
-
-  if( nbSel == 0 ) {
-    ////// NOTHING SELECTED
-    popup->clear();
-  } 
-  else if ( nbSel == 1 ) {
-    ////// SINGLE OBJECT SELECTION
-    if ( parentComponent != parent->getActiveComponent() )  {
-      ////// selected object does not belong to GEOM module:
-      // remove all commands except Display/Erase...
-      while ( 1 ) {
-       int id = popup->idAt( 0 );
-       if ( id <= QAD_TopLabel_Popup_ID )
-         popup->removeItemAt( 0 );
-       else
-         break;
-      }
-    }
-    else {
-      ////// selected object belong to the GEOM module
-      // get interactive object
-      Handle(SALOME_InteractiveObject) IObject = Sel->firstIObject();
-      objectName = IObject->getName();
-      // if object has entry get SObject
-      SALOMEDS::SObject_var SO;
-      if ( IObject->hasEntry() )
-       SO = anActiveStudy->getStudyDocument()->FindObjectID( IObject->getEntry() );
-
-      if ( theObject == "Component" ) {
-       ////// menu for component
-       if ( !isOCCViewer && !isVTKViewer ) {
-         popup->removeItem( QAD_DisplayOnly_Popup_ID );
-         popup->removeItem( QAD_Display_Popup_ID );
-         popup->removeItem( QAD_Erase_Popup_ID );
-       }
-      }
-      else {
-       ////// not component (should be shape)
-       if ( IObject->hasEntry() )  /////// VSR : TO BE REMOVED
-         popup->removeItem( 804 ); // "Add in Study"
-
-       // Here could be analysis of the geom shape's type
-       // ... //
-
-       SALOMEDS::GenericAttribute_var aTmpAttr;
-       if( SO->_is_nil() || SO->GetFatherComponent()->FindAttribute( aTmpAttr, "AttributeIOR") )
-         popup->removeItem( 9024 ); // "Open" /////// VSR : TO BE REMOVED
-
-       if ( !isOCCViewer && theParent == "ObjectBrowser" ) {
-         if ( theObject == "Shape" )
-           popup->removeItem( 800 ); // Create Group
-         else if ( theObject == "Group" )
-           popup->removeItem( 801 ); // Edit Group
-       }
-
-       if ( isOCCViewer || isVTKViewer ) {
-         ////// current viewer is OCC or VTK
-         SALOME_Prs* prs = aViewFrame->CreatePrs( IObject->getEntry() );
-         if ( aViewFrame->isVisible( IObject ) ) {
-           ////// object is already displayed in the viewer
-           popup->removeItem( QAD_Display_Popup_ID );
-           if ( isOCCViewer ) {
-             ////// OCC viewer only
-             OCCViewer_Prs* occPrs = dynamic_cast<OCCViewer_Prs*>( prs );
-             if ( occPrs && !occPrs->IsNull() ) {
-               AIS_ListOfInteractive ioList;
-               occPrs->GetObjects( ioList );
-               QMenuItem* mi = popup->findItem( 803 );
-               if ( mi && mi->popup() ) {
-                 if ( ioList.First()->DisplayMode() == 0 )
-                   mi->popup()->setItemChecked( 80311, true ); // "Wireframe"
-                 else if ( ioList.First()->DisplayMode() == 1 )
-                   mi->popup()->setItemChecked( 80312, true ); // "Shading"
-                 else if ( ioList.First()->DisplayMode() < 0 )
-                   mi->popup()->setItemChecked( aDisplayMode == 0 ? 80311 : 80312 , true ); // "Wireframe" or "Shading"
-               }
-             }
-           }
-           else {
-             ////// VTK viewer only
-             popup->removeItem( 8034 ); // "Isos"
-             VTKViewer_Prs* vtkPrs = dynamic_cast<VTKViewer_Prs*>( prs );
-             if ( vtkPrs && !vtkPrs->IsNull() ) {
-               vtkActorCollection* actorList = vtkPrs->GetObjects();
-               actorList->InitTraversal();
-               SALOME_Actor* ac = SALOME_Actor::SafeDownCast( actorList->GetNextActor() );
-               QMenuItem* mi = popup->findItem( 803 );
-               if ( ac && mi && mi->popup() ) {
-                 if ( ac->getDisplayMode() == 0 )
-                   mi->popup()->setItemChecked( 80311, true ); // "Wireframe"
-                 else if ( ac->getDisplayMode() == 1 )
-                   mi->popup()->setItemChecked( 80312, true ); // "Shading"
-                 else
-                   mi->popup()->setItemChecked( aDisplayMode == 0 ? 80311 : 80312 , true ); // "Wireframe" or "Shading"
-               }
-             }
-           }
-         }
-         else {
-           ////// object is not yet displayed in the viewer
-           popup->removeItem( 803 );  // "Display Mode"
-           popup->removeItem( 8032 ); // "Color"
-           popup->removeItem( 8033 ); // "Transparency"
-           popup->removeItem( 8034 ); // "Isos"
-           popup->removeItem( QAD_Erase_Popup_ID );
-         }
-         delete prs;
-       }
-       else {
-         ////// other viewer type (neither OCC nor VTK)
-         popup->removeItem( 803 );  // "Display Mode"
-         popup->removeItem( 8032 ); // "Color"
-         popup->removeItem( 8033 ); // "Transparency"
-         popup->removeItem( 8034 ); // "Isos"
-         popup->removeItem( QAD_Display_Popup_ID );
-         popup->removeItem( QAD_DisplayOnly_Popup_ID );
-         popup->removeItem( QAD_Erase_Popup_ID );
-       }
-      }
-    }
-  }
-  else {
-    ////// MULTIPLE SELECTION
-    if ( parentComponent != parent->getActiveComponent() )  {
-      ////// not GEOM module objects or objects belong to different modules
-      // remove all commands except Display/Erase...
-      while ( 1 ) {
-       int id = popup->idAt( 0 );
-       if ( id <= QAD_TopLabel_Popup_ID )
-         popup->removeItemAt( 0 );
-       else
-         break;
-      }
-      if ( parentComponent.isNull() )  {
-       ////// objects belong to different modules
-       popup->removeItem(QAD_Display_Popup_ID);
-       popup->removeItem(QAD_DisplayOnly_Popup_ID);
-       popup->removeItem(QAD_Erase_Popup_ID);
-      }
-      else {
-       objectName = tr( "GEOM_MEN_POPUP_NAME" ).arg( nbSel );
-      }
-    }
-    else {
-      ////// all selected objects belong to GEOM module
-      popup->removeItem( 901 ); // "Rename"
-
-      SALOME_ListIteratorOfListIO It( Sel->StoredIObjects() );
-      bool isComponent  = false;
-      bool needOpen     = false;
-      bool needDisplay  = false;
-      bool needErase    = false;
-      int needToPublish = 0;
-
-      for( ;It.More();It.Next() ) {
-       Handle(SALOME_InteractiveObject) anIObject = It.Value();
-
-       if ( aViewFrame->isVisible( anIObject ) )
-         needErase   = true;
-       else
-         needDisplay = true;
-
-       if( anIObject->hasEntry() ) {
-         needToPublish = -1; /////// VSR : TO BE REMOVED
-         SALOMEDS::SObject_var obj = anActiveStudy->getStudyDocument()->FindObjectID( anIObject->getEntry() );
-         SALOMEDS::GenericAttribute_var aTmpAttr;
-         if ( !obj->_is_nil() && !obj->GetFatherComponent()->FindAttribute( aTmpAttr, "AttributeIOR" ) )
-           needOpen = true;  /////// VSR : TO BE REMOVED
-         if ( !obj->_is_nil() && QString( obj->GetID() ) == QString( obj->GetFatherComponent()->GetID() ) )
-           isComponent = true;
-       }
-       else {
-         if ( needToPublish != -1 ) needToPublish = 1;
-       }
-      }
-      if( needOpen || ( !isOCCViewer && !isVTKViewer ) ) {
-       ////// Data is not loaded yet or current viewer is neither OCC nor VTK
-       popup->removeItem( 803 );  // "Display Mode"
-       popup->removeItem( 8032 ); // "Color"
-       popup->removeItem( 8033 ); // "Transparency"
-       popup->removeItem( 8034 ); // "Isos"
-       popup->removeItem( 804 );  // "Add in Study"
-       popup->removeItem( QAD_DisplayOnly_Popup_ID );
-       popup->removeItem( QAD_Display_Popup_ID );
-       popup->removeItem( QAD_Erase_Popup_ID );
-      }
-      else {
-       popup->removeItem( 9024 );   // "Open"
-       if ( needToPublish <= 0 )
-         popup->removeItem( 804 );  // "Add in Study"
-
-       if( isComponent ) {
-         popup->removeItem( 803 );  // "Display Mode"
-         popup->removeItem( 8032 ); // "Color"
-         popup->removeItem( 8033 ); // "Transparency"
-         popup->removeItem( 8034 ); // "Isos"
-         popup->removeItem( QAD_DisplayOnly_Popup_ID );
-       }
-
-       if ( !needDisplay )
-         popup->removeItem( QAD_Display_Popup_ID );
-       if ( !needErase )
-         popup->removeItem( QAD_Erase_Popup_ID );
-       if ( !isOCCViewer )
-         popup->removeItem( 8034 ); // "Isos"
-      }
-    }
-  }
-
-  // check popup for unnecessary separators
-  QAD_Tools::checkPopup( popup );
-  // find popup menu's TopLabel item (with title)
-  int topItem = popup->indexOf( QAD_TopLabel_Popup_ID );
-  if ( topItem >= 0 ) {
-    // remove popup menu's title item
-    popup->removeItem( QAD_TopLabel_Popup_ID );
-    if ( theParent == "Viewer" && !objectName.isEmpty() && popup->count() > 0 ) {
-      // set bold font for popup menu's title
-      QFont f = popup->font(); f.setBold( TRUE );
-      popup->removeItem( QAD_TopLabel_Popup_ID );
-      popup->insertItem( new CustomItem( objectName, f ), QAD_TopLabel_Popup_ID, topItem );
-    }
-  }
-
-  return false;
-}
-
-*/
-
-//=======================================================================
-// function : GeometryGUI::BuildPresentation()
-// purpose  : 
-//=======================================================================
-void GeometryGUI::BuildPresentation( const Handle(SALOME_InteractiveObject)& io, SUIT_ViewWindow* win )
-{
-  //GEOM_Displayer().Display( io, false, win );
-}
-
-//=======================================================================
-// function : setCommandsEnabled()
-// purpose  : update menu items' status - disable non-OCC-viewer-compatible actions
-//=======================================================================
-void GeometryGUI::onWindowActivated( SUIT_ViewWindow* win )
-{
-  if ( !win )
-    return;
-
-  const bool ViewOCC = ( win->getViewManager()->getType() == OCCViewer_Viewer::Type() );
-//  const bool ViewVTK = ( win->getViewManager()->getType() == VTKViewer_Viewer::Type() );
-  
-  // disable non-OCC viewframe menu commands
-//  action( 404 )->setEnabled( ViewOCC ); // SKETCHER
-  action( 603 )->setEnabled( ViewOCC ); // SuppressFace
-  action( 604 )->setEnabled( ViewOCC ); // SuppressHole
-  action( 606 )->setEnabled( ViewOCC ); // CloseContour
-  action( 607 )->setEnabled( ViewOCC ); // RemoveInternalWires
-  action( 608 )->setEnabled( ViewOCC ); // AddPointOnEdge
-//  action( 609 )->setEnabled( ViewOCC ); // Free boundaries
-  action( 413 )->setEnabled( ViewOCC ); // Isos Settings
-
-  action( 800 )->setEnabled( ViewOCC ); // Create Group
-  action( 801 )->setEnabled( ViewOCC ); // Edit Group
-
-  action( 9998 )->setEnabled( ViewOCC ); // MENU BLOCKS - MULTI-TRANSFORMATION
-}
-
-void GeometryGUI::windows( QMap<int, int>& mappa ) const
-{
-  mappa.insert( SalomeApp_Application::WT_ObjectBrowser, Qt::DockLeft );
-  mappa.insert( SalomeApp_Application::WT_PyConsole, Qt::DockBottom );
-}
-
-void GeometryGUI::viewManagers( QStringList& lst ) const
-{
-  lst.append( OCCViewer_Viewer::Type() );
-}
-
-void GeometryGUI::onViewManagerAdded( SUIT_ViewManager* vm )
-{
-  if ( vm->getType() == OCCViewer_Viewer::Type() )
-  {
-    SalomeApp_SelectionMgr* sm = getApp()->selectionMgr();
-    myOCCSelectors.append( new GEOMGUI_OCCSelector( ((OCCViewer_ViewManager*)vm)->getOCCViewer(), sm ) );
-
-    // disable OCC selectors
-    getApp()->selectionMgr()->setEnabled( false, OCCViewer_Viewer::Type() );
-    for ( GEOMGUI_OCCSelector* sr = myOCCSelectors.first(); sr; sr = myOCCSelectors.next() )
-      sr->setEnabled(true);
-  }
-  else if ( vm->getType() == VTKViewer_Viewer::Type() )
-  {
-    SalomeApp_SelectionMgr* sm = getApp()->selectionMgr();
-    myVTKSelectors.append( new SalomeApp_VTKSelector( (SVTK_Viewer*)vm->getViewModel(), sm ) );
-    
-    // disable VTK selectors
-    getApp()->selectionMgr()->setEnabled( false, VTKViewer_Viewer::Type() );
-    for ( SalomeApp_VTKSelector* sr = myVTKSelectors.first(); sr; sr = myVTKSelectors.next() )
-      sr->setEnabled(true);
-  }
-}
-
-void GeometryGUI::onViewManagerRemoved( SUIT_ViewManager* vm )
-{
-  SUIT_ViewModel* viewer = vm->getViewModel();
-  if ( vm->getType() == OCCViewer_Viewer::Type() )
-  {
-    for ( GEOMGUI_OCCSelector* sr = myOCCSelectors.first(); sr; sr = myOCCSelectors.next() )
-      if ( sr->viewer() == viewer )
-      {
-       myOCCSelectors.remove( sr );
-       break;
-      }
-  }
-  if ( vm->getType() == VTKViewer_Viewer::Type() )
-  {
-    for ( SalomeApp_VTKSelector* sr = myVTKSelectors.first(); sr; sr = myVTKSelectors.next() )
-      if ( sr->viewer() == viewer )
-      {
-       myVTKSelectors.remove( sr );
-       break;
-      }
-  }
-}
-
-QString GeometryGUI::engineIOR() const
-{
-  if ( !CORBA::is_nil( GetGeomGen() ) )
-    return QString( getApp()->orb()->object_to_string( GetGeomGen() ) );
-  return QString( "" );
-}
-
-SalomeApp_Selection* GeometryGUI::createSelection() const
-{
-  return new GEOMGUI_Selection();
-}
-
-void GeometryGUI::contextMenuPopup( const QString& client, QPopupMenu* menu, QString& title )
-{
-  SalomeApp_Module::contextMenuPopup( client, menu, title );
-  SALOME_ListIO lst;
-  getApp()->selectionMgr()->selectedObjects( lst );
-  if ( ( client == "OCCViewer" || client == "VTKViewer" ) && lst.Extent() == 1 ) {
-    Handle(SALOME_InteractiveObject) io = lst.First();
-    SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( application()->activeStudy() );
-    _PTR(Study) study = appStudy->studyDS();
-    _PTR(SObject) obj = study->FindObjectID( io->getEntry() );
-    if ( obj )
-      title = QString( obj->GetName().c_str() );
-  }
-}
-
-void GeometryGUI::createPreferences()
-{
-  int tabId = addPreference( tr( "PREF_TAB_SETTINGS" ) );
-
-  int genGroup = addPreference( tr( "PREF_GROUP_GENERAL" ), tabId );
-  addPreference( tr( "PREF_SHADING_COLOR" ), genGroup,
-                SalomeApp_Preferences::Color, "Geometry", "shading_color" );
-  int step = addPreference( tr( "PREF_STEP_VALUE" ), genGroup,
-                           SalomeApp_Preferences::IntSpin, "Geometry", "SettingsGeomStep" );
-  int dispmode = addPreference( tr( "PREF_DISPLAY_MODE" ), genGroup,
-                           SalomeApp_Preferences::Selector, "Geometry", "display_mode" );
-
-  setPreferenceProperty( genGroup, "columns", 1 );
-
-  setPreferenceProperty( step, "min", 0.001 );
-  setPreferenceProperty( step, "max", 10000 );
-  setPreferenceProperty( step, "precision", 3 );
-
-  // Set property for default display mode
-  QStringList aModesList;
-  aModesList.append( tr("MEN_WIREFRAME") );
-  aModesList.append( tr("MEN_SHADING") );
-  
-  QValueList<QVariant> anIndexesList;
-  anIndexesList.append(0);
-  anIndexesList.append(1);
-  
-  setPreferenceProperty( dispmode, "strings", aModesList );
-  setPreferenceProperty( dispmode, "indexes", anIndexesList );
-}
-
-void GeometryGUI::preferencesChanged( const QString& section, const QString& param )
-{
-}
diff --git a/src/GEOMGUI/GeometryGUI.h b/src/GEOMGUI/GeometryGUI.h
deleted file mode 100644 (file)
index 854dbc6..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GeometryGUI.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMETRYGUI_H
-#define GEOMETRYGUI_H
-
-#include "SalomeApp_Module.h"
-
-#include "GEOMGUI.h"
-#include "GEOM_Client.hxx"
-#include "SALOME_InteractiveObject.hxx"
-
-#include "SALOMEDSClient.hxx"
-
-// QT Includes
-#include <qmap.h>
-
-// OCCT Includes
-#include <gp_Ax3.hxx>
-
-// IDL headers
-#include "SALOMEconfig.h"
-#include CORBA_CLIENT_HEADER(SALOMEDS)
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//#if defined WNT 
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
-typedef QMap<QString, GEOMGUI*> GUIMap;
-
-class QDialog;
-class QPopupMenu;
-class GEOMGUI_OCCSelector;
-class SalomeApp_VTKSelector;
-class SUIT_ViewManager;
-
-//=================================================================================
-// class    : GeometryGUI
-// purpose  :
-//=================================================================================
-class  GEOMGUI_WNT_EXPORT GeometryGUI : public SalomeApp_Module
-{
-  Q_OBJECT;
-
-public:
-  // Constructor
-  GeometryGUI();
-
-  // Destructor
-  ~GeometryGUI();
-
-  virtual void                initialize( CAM_Application* );
-  virtual QString             engineIOR() const;
-
-  static bool                 InitGeomGen();   //BugID IPAL9186: SRN: To be called by Python scripts
-
-  static  GEOM::GEOM_Gen_var  GetGeomGen();//        { return GeometryGUI::myComponentGeom; }
-
-  static CORBA::Object_var    ClientSObjectToObject (_PTR(SObject) theSObject);
-  static SALOMEDS::Study_var  ClientStudyToStudy (_PTR(Study) theStudy);
-
-  GEOM_Client&                GetShapeReader()    { return myShapeReader; }
-  Standard_CString&           GetFatherior()      { return myFatherior; }
-  //void                        SetState( const int state ) { myState = state; }
-  //int                         GetState() const    { return myState; }
-
-  // Get active dialog box
-  QDialog*                    GetActiveDialogBox(){ return myActiveDialogBox; }
-  // Set active dialog box
-  void                        SetActiveDialogBox( QDialog* aDlg );
-
-  // Non modal dialog boxes management
-  void                        EmitSignalDeactivateDialog();
-  void                        EmitSignalCloseAllDialogs();
-  void                        EmitSignalDefaultStepValueChanged( double newVal );
-
-  void                        OnGUIEvent( int id );
-
-  virtual bool                OnKeyPress( QKeyEvent*, SUIT_ViewWindow* );
-  virtual bool                OnMousePress( QMouseEvent*, SUIT_ViewWindow* );
-  virtual bool                OnMouseMove( QMouseEvent*, SUIT_ViewWindow* );
-
-//  virtual bool                SetSettings();
-//  virtual void                SupportedViewType ( int* buffer, int bufferSize );
-  virtual void                BuildPresentation( const Handle(SALOME_InteractiveObject)&, SUIT_ViewWindow* = 0 );
-
-//  virtual void                DefinePopup( QString & theContext, QString & theParent, QString & theObject);
-//  virtual bool                CustomPopup( QAD_Desktop* parent, QPopupMenu* popup, const QString& theContext,
-//                                        const QString& theParent, const QString& theObject );
-
-  // The Working Plane management
-  void                        SetWorkingPlane( gp_Ax3 wp ) { myWorkingPlane = wp;   }
-  gp_Ax3                      GetWorkingPlane()            { return myWorkingPlane; }
-  void                        ActiveWorkingPlane();
-
-  virtual void                windows( QMap<int, int>& ) const;
-  virtual void                viewManagers( QStringList& ) const;
-
-  virtual void                contextMenuPopup( const QString&, QPopupMenu*, QString& );
-  virtual void                createPreferences();
-  virtual void                preferencesChanged( const QString&, const QString& );
-
-
-public slots:
-  virtual bool                deactivateModule( SUIT_Study* );
-  virtual bool                activateModule( SUIT_Study* );
-
-private slots:
-  void                        OnGUIEvent();
-  void                        onViewManagerAdded( SUIT_ViewManager* );
-  void                        onViewManagerRemoved( SUIT_ViewManager* );
-  void                        onWindowActivated( SUIT_ViewWindow* );
-
-signals :
-  void                        SignalDeactivateActiveDialog();
-  void                        SignalCloseAllDialogs();
-  void                        SignalDefaultStepValueChanged( double newVal );
-
-protected:
-  virtual SalomeApp_Selection* createSelection() const;
-
-private:
-  GEOMGUI*                    getLibrary( const QString& libraryName );
-  void                        createGeomAction( const int id, const QString& po_id,
-                                               const QString& icon_id = QString(""),
-                                               const int key = 0, const bool toggle = false );
-  void                        createPopupItem( const int, const QString& clients, const QString& types,
-                                              const bool isSingle = false, const int isVisible = -1,
-                                              const bool isExpandAll = false, const bool isOCC = false,
-                                              const int parentId = -1 );
-
-public:
-  static GEOM::GEOM_Gen_var   myComponentGeom;   // GEOM engine!!!
-private:  
-  GUIMap                      myGUIMap;          // GUI libraries map
-  QDialog*                    myActiveDialogBox; // active dialog box
-  GEOM_Client                 myShapeReader;     // geom shape reader
-  Standard_CString            myFatherior;
-  int                         myState;           // identify a method
-  gp_Ax3                      myWorkingPlane;
-  QMap<int,QString>           myRules;           // popup rules
-
-  QPtrList<GEOMGUI_OCCSelector>   myOCCSelectors;
-  QPtrList<SalomeApp_VTKSelector> myVTKSelectors;
-};
-
-#endif
diff --git a/src/GEOMGUI/GeometryGUI_Swig.hxx b/src/GEOMGUI/GeometryGUI_Swig.hxx
deleted file mode 100644 (file)
index 02489d4..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GeometryGUI_Swig.hxx
-//  Author : Nicolas REJNERI, Paul RASCLE
-//  Module : GEOM
-//  $Header$
-
-#ifndef _GeometryGUI_SWIG_HXX_
-#define _GeometryGUI_SWIG_HXX_
-
-// IDL Headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include CORBA_SERVER_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
-class GEOM_Client;
-
-class GEOMGUI_WNT_EXPORT GEOM_Swig
-{
-public:
-  GEOM_Swig();
-  ~GEOM_Swig();
-
-  void createAndDisplayGO(const char* Entry);
-  void setDisplayMode(const char* Entry, int mode);
-  void setColor(const char* Entry, int red, int green, int blue);
-  void setTransparency(const char* Entry, float transp);
-
-  int  getIndexTopology(const char *SubEntry, const char *Entry);
-  const char* getShapeTypeString(const char *Entry);
-  const char* getShapeTypeIcon(const char *Ior);
-
-  bool initGeomGen();
-};
-
-
-#endif
diff --git a/src/GEOMGUI/GeometryGUI_Swig.i b/src/GEOMGUI/GeometryGUI_Swig.i
deleted file mode 100644 (file)
index d8be6b7..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GeometryGUI_Swig.i
-//  Author : Nicolas REJNERI, Paul RASCLE
-//  Module : GEOM
-//  $Header$
-
-%{
-#include "GeometryGUI_Swig.hxx"
-%}
-
-class GEOM_Swig
-{
- public:
-  GEOM_Swig();
-  ~GEOM_Swig();
-
-  void createAndDisplayGO(const char* Entry);
-  int  getIndexTopology(const char *SubEntry, const char *Entry);
-  const char* getShapeTypeString(const char *Entry);
-
-  void setDisplayMode(const char* Entry, int mode);
-  void setColor(const char* Entry, int red, int green, int blue);
-  void setTransparency(const char* Entry, float transp);
-  const char* getShapeTypeIcon(const char *Ior);
-  
-  bool initGeomGen();
-};
diff --git a/src/GEOMGUI/Makefile.in b/src/GEOMGUI/Makefile.in
deleted file mode 100644 (file)
index a14ea4c..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#  GEOM GEOMGUI : GUI for Geometry component
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Marc Tajchman (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# ressources files
-PO_FILES = \
-       GEOM_images.po \
-       GEOM_msg_en.po \
-       GEOM_msg_fr.po
-
-# header files 
-EXPORT_HEADERS= GeometryGUI.h \
-                GEOMGUI.h \
-               GEOM_Displayer.h \
-               GEOMGUI_OCCSelector.h \
-               GEOMGUI_Selection.h \
-                GeometryGUI_Swig.hxx \
-               GeometryGUI_Swig.i
-
-# Libraries targets 
-LIB = libGEOM.la
-LIB_SRC =      GeometryGUI.cxx \
-                GEOMGUI.cxx \
-               GEOM_Displayer.cxx \
-                GEOMGUI_OCCSelector.cxx \
-               GEOMGUI_Selection.cxx \
-               GeometryGUI_Swig.cxx
-
-LIB_MOC = GeometryGUI.h \
-
-LIB_CLIENT_IDL = SALOME_Exception.idl \
-                SALOMEDS.idl \
-                SALOMEDS_Attributes.idl \
-                SALOME_GenericObj.idl \
-                SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
-CXXFLAGS += $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -L$(KERNEL_ROOT_DIR)/lib/salome -L$(GUI_ROOT_DIR)/lib/salome -lOCCViewer -lVTKViewer -lSalomeApp -lCAM -lGEOMClient -lSOCC -lSVTK -lGEOMObject -lToolsGUI -lEvent
-
-@CONCLUDE@
diff --git a/src/GEOMImpl/GEOMImpl_ArcDriver.cxx b/src/GEOMImpl/GEOMImpl_ArcDriver.cxx
deleted file mode 100644 (file)
index c00640c..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ArcDriver.hxx>
-#include <GEOMImpl_IArc.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <GC_MakeArcOfCircle.hxx>
-
-#include <Standard_ConstructionError.hxx>
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_ArcDriver::GetID()
-{
-  static Standard_GUID aArcDriver("FF1BBB35-5D14-4df2-980B-3A668264EA16");
-  return aArcDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ArcDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_ArcDriver::GEOMImpl_ArcDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_ArcDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IArc aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == CIRC_ARC_THREE_PNT) {
-    Handle(GEOM_Function) aRefPoint1 = aCI.GetPoint1();
-    Handle(GEOM_Function) aRefPoint2 = aCI.GetPoint2();
-    Handle(GEOM_Function) aRefPoint3 = aCI.GetPoint3();
-    TopoDS_Shape aShapePnt1 = aRefPoint1->GetValue();
-    TopoDS_Shape aShapePnt2 = aRefPoint2->GetValue();
-    TopoDS_Shape aShapePnt3 = aRefPoint3->GetValue();
-    if (aShapePnt1.ShapeType() == TopAbs_VERTEX &&
-        aShapePnt2.ShapeType() == TopAbs_VERTEX &&
-        aShapePnt3.ShapeType() == TopAbs_VERTEX) {
-      gp_Pnt aP1 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt1));
-      gp_Pnt aP2 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt2));
-      gp_Pnt aP3 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt3));
-      if (aP1.Distance(aP2) < gp::Resolution() ||
-          aP1.Distance(aP3) < gp::Resolution() ||
-          aP2.Distance(aP3) < gp::Resolution())
-        Standard_ConstructionError::Raise("Arc creation aborted: coincident points given");
-      if (gp_Vec(aP1, aP2).IsParallel(gp_Vec(aP1, aP3), Precision::Angular()))
-        Standard_ConstructionError::Raise("Arc creation aborted: points lay on one line");
-      GC_MakeArcOfCircle arc (aP1, aP2, aP3);
-      aShape = BRepBuilderAPI_MakeEdge(arc).Edge();
-    }
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-  
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ArcDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ArcDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ArcDriver",
-                                                        sizeof(GEOMImpl_ArcDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_ArcDriver) Handle(GEOMImpl_ArcDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ArcDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ArcDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ArcDriver)((Handle(GEOMImpl_ArcDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ArcDriver.hxx b/src/GEOMImpl/GEOMImpl_ArcDriver.hxx
deleted file mode 100644 (file)
index 95cee03..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ArcDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ArcDriver_HeaderFile
-#define _GEOMImpl_ArcDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ArcDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ArcDriver);
-
-class Handle(GEOMImpl_ArcDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ArcDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ArcDriver)(const Handle(GEOMImpl_ArcDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ArcDriver)(const GEOMImpl_ArcDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ArcDriver)& operator=(const Handle(GEOMImpl_ArcDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ArcDriver)& operator=(const GEOMImpl_ArcDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ArcDriver* operator->() 
-     {
-      return (GEOMImpl_ArcDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ArcDriver* operator->() const 
-     {
-      return (GEOMImpl_ArcDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ArcDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ArcDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ArcDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ArcDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ArcDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ArcDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ArcDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ArcDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx b/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx
deleted file mode 100644 (file)
index 05114c9..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-
-#include "GEOMImpl_ArchimedeDriver.hxx"
-#include "GEOMImpl_IArchimede.hxx"
-#include "GEOMImpl_Types.hxx"
-
-#include "Archimede_VolumeSection.hxx"
-
-#include <stdio.h>
-
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Face.hxx>
-
-#include <Geom_Plane.hxx>
-#include <Geom_Geometry.hxx>
-#include <Geom_RectangularTrimmedSurface.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-
-#include <StdFail_NotDone.hxx>
-
-using namespace std;
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_ArchimedeDriver::GetID()
-{
-  static Standard_GUID aArchimedeDriver("FF1BBB59-5D14-4df2-980B-3A668264EA16");
-  return aArchimedeDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ArchimedeDriver
-//purpose  :
-//=======================================================================
-
-GEOMImpl_ArchimedeDriver::GEOMImpl_ArchimedeDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_ArchimedeDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  Standard_Integer aType = aFunction->GetType();
-  if (aType != ARCHIMEDE_TYPE) return 0;
-
-  GEOMImpl_IArchimede IA (aFunction);
-
-  Handle(GEOM_Function) aShapeFunction = IA.GetBasicShape();
-  if (aShapeFunction.IsNull()) return 0;
-  TopoDS_Shape shape = aShapeFunction->GetValue();
-  if(shape.IsNull()) return 0;
-
-  Standard_Real aWaterDensity = IA.GetDensity();
-  Standard_Real aWeight = IA.GetWeight();
-  Standard_Real aMeshingDeflection = IA.GetDeflection();
-
-  double cste = -1;
-  if (aWaterDensity != 0.)
-    cste = aWeight/aWaterDensity;
-  else
-    return 0;
-
-  gp_Dir direct (0.0, 0.0, 1.0);
-  gp_Pnt PosPlan (0.0, 0.0, 0.0);
-  Geom_Plane PP (PosPlan, direct);
-  Handle(Geom_Plane) P = Handle(Geom_Plane)::DownCast(PP.Copy());
-
-  gp_Dir Zdirection (0.0, 0.0, 1.0);
-  VolumeSection VOL (shape, aMeshingDeflection);
-  VOL.SetPlane(P);
-  Handle(Geom_RectangularTrimmedSurface) SurfaceTrimmee;
-
-  if (Zdirection.IsEqual(direct, Precision::Angular()) == Standard_False) {
-    VOL.MakeRotation(direct);
-  }
-
-  VOL.CenterOfGravity();
-  SurfaceTrimmee = VOL.TrimSurf();
-  Standard_Real Cote = VOL.Archimede(cste, aMeshingDeflection);
-
-  if (Cote == -1) {
-    double Zmin,Zmax;
-    VOL.getZ(Zmin,Zmax);
-    double volume = VOL.CalculateVolume(Zmax) * aWaterDensity;
-
-    char msg[100] = "";
-    sprintf(msg, "shape sinks to the bottom : Weigth max = %.1f", volume);
-
-    StdFail_NotDone::Raise(msg);
-  }
-
-  SurfaceTrimmee = VOL.AjustePlan(SurfaceTrimmee,Cote,PosPlan);
-  if (Zdirection.IsEqual(direct,Precision::Angular()) == Standard_False) {
-    SurfaceTrimmee = VOL.InvMakeRotation(direct,SurfaceTrimmee);
-  }
-
-  Standard_Real u1,u2,v1,v2;
-  SurfaceTrimmee->Bounds(u1,u2,v1,v2);
-  TopoDS_Face tirant = BRepBuilderAPI_MakeFace(SurfaceTrimmee, u1, u2, v1, v2);
-
-  if (tirant.IsNull()) {
-    StdFail_NotDone::Raise("Failed to build secant face");
-  }
-
-  aFunction->SetValue(tirant);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ArchimedeDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ArchimedeDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ArchimedeDriver",
-                                                        sizeof(GEOMImpl_ArchimedeDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-
-const Handle(GEOMImpl_ArchimedeDriver) Handle(GEOMImpl_ArchimedeDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ArchimedeDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ArchimedeDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ArchimedeDriver)((Handle(GEOMImpl_ArchimedeDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_ArchimedeDriver.hxx b/src/GEOMImpl/GEOMImpl_ArchimedeDriver.hxx
deleted file mode 100644 (file)
index ba2fcfb..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ArchimedeDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ArchimedeDriver_HeaderFile
-#define _GEOMImpl_ArchimedeDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ArchimedeDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ArchimedeDriver);
-
-class Handle(GEOMImpl_ArchimedeDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ArchimedeDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ArchimedeDriver)(const Handle(GEOMImpl_ArchimedeDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ArchimedeDriver)(const GEOMImpl_ArchimedeDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ArchimedeDriver)& operator=(const Handle(GEOMImpl_ArchimedeDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ArchimedeDriver)& operator=(const GEOMImpl_ArchimedeDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ArchimedeDriver* operator->() 
-     {
-      return (GEOMImpl_ArchimedeDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ArchimedeDriver* operator->() const 
-     {
-      return (GEOMImpl_ArchimedeDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ArchimedeDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ArchimedeDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ArchimedeDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ArchimedeDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ArchimedeDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ArchimedeDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ArchimedeDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ArchimedeDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx b/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx
deleted file mode 100644 (file)
index c660f5a..0000000
+++ /dev/null
@@ -1,1215 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <BRepOffsetAPI_MakeFilling.hxx>
-
-#include <GEOMImpl_Block6Explorer.hxx>
-
-#include "utilities.h"
-
-#include <BRep_Tool.hxx>
-#include <BRep_TFace.hxx>
-#include <BRepTools.hxx>
-#include <BRepTools_WireExplorer.hxx>
-#include <BRepOffsetAPI_ThruSections.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-#include <Geom_Curve.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <GeomFill_Generator.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <TColgp_Array1OfPnt.hxx>
-
-#include <StdFail_NotDone.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-#include <Standard_NoSuchObject.hxx>
-
-#define NBFACES 6
-#define NBEDGES 12
-#define NBVERTS 8
-
-static Standard_Integer mod4 (Standard_Integer nb)
-{
-  if (nb <= 0) return nb + 4;
-  if (nb > 4)  return nb - 4;
-  return nb;
-}
-
-static Standard_Integer edge_id (const Standard_Integer theFaceID,
-                                 const Standard_Integer theEdgeNB)
-{
-  static Standard_Integer edge_ids[NBFACES][4] = {
-    {  1,  2,  3,  4 },   // face 1
-    {  5,  6,  7,  8 },   // face 2
-    {  9,  5, 10,  1 },   // face 3
-    { 12,  7, 11,  3 },   // face 4
-    {  4, 12,  8,  9 },   // face 5
-    {  2, 11,  6, 10 } }; // face 6
-
-  return edge_ids[theFaceID - 1][theEdgeNB - 1];
-}
-
-static Standard_Integer side_edge_id (const Standard_Integer theEdgeNB)
-{
-  static Standard_Integer side_edge_ids[4] = {9, 10, 11, 12};
-
-  return side_edge_ids[theEdgeNB - 1];
-}
-
-static Standard_Integer vertex_id (const Standard_Integer theFaceID,
-                                   const Standard_Integer theVertexNB)
-{
-  static Standard_Integer vertex_ids[NBFACES][4] = {
-    { 1, 2, 3, 4 },   // face 1
-    { 5, 6, 7, 8 },   // face 2
-    { 1, 5, 6, 2 },   // face 3
-    { 4, 8, 7, 3 },   // face 4
-    { 1, 4, 8, 5 },   // face 5
-    { 2, 3, 7, 6 } }; // face 6
-
-  return vertex_ids[theFaceID - 1][theVertexNB - 1];
-}
-
-static Standard_Integer vertex_id_edge (const Standard_Integer theEdgeID, // [1,12]
-                                        const Standard_Integer theVertexNB) // [1,2]
-{
-  static Standard_Integer vertex_ids_edge[NBEDGES][2] = {
-    {1, 2},   // edge 1
-    {2, 3},   // edge 2
-    {3, 4},   // edge 3
-    {4, 1},   // edge 4
-    {5, 6},   // edge 5
-    {6, 7},   // edge 6
-    {7, 8},   // edge 7
-    {8, 5},   // edge 8
-    {1, 5},   // edge 9
-    {2, 6},   // edge 10
-    {3, 7},   // edge 11
-    {4, 8} }; // edge 12
-
-  return vertex_ids_edge[theEdgeID - 1][theVertexNB - 1];
-}
-
-static Standard_Integer face_id_edges (const Standard_Integer theEdge1ID, // [1,12]
-                                       const Standard_Integer theEdge2ID) // [1,12]
-{
-  static Standard_Integer face_ids_edges[NBEDGES][NBEDGES] = {
-    // 1  2  3  4  5  6  7  8  9  10 11 12
-    {  0, 1, 1, 1, 3, 0, 0, 0, 3, 3, 0, 0  },   // edge 1
-    {  1, 0, 1, 1, 0, 6, 0, 0, 0, 6, 6, 0  },   // edge 2
-    {  1, 1, 0, 1, 0, 0, 4, 0, 0, 0, 4, 4  },   // edge 3
-    {  1, 1, 1, 0, 0, 0, 0, 5, 5, 0, 0, 5  },   // edge 4
-    {  3, 0, 0, 0, 0, 2, 2, 2, 3, 3, 0, 0  },   // edge 5
-    {  0, 6, 0, 0, 2, 0, 2, 2, 0, 6, 6, 0  },   // edge 6
-    {  0, 0, 4, 0, 2, 2, 0, 2, 0, 0, 4, 4  },   // edge 7
-    {  0, 0, 0, 5, 2, 2, 2, 0, 5, 0, 0, 5  },   // edge 8
-    {  3, 0, 0, 5, 3, 0, 0, 5, 0, 3, 0, 5  },   // edge 9
-    {  3, 6, 0, 0, 3, 6, 0, 0, 3, 0, 6, 0  },   // edge 10
-    {  0, 6, 4, 0, 0, 6, 4, 0, 0, 6, 0, 4  },   // edge 11
-    {  0, 0, 4, 5, 0, 0, 4, 5, 5, 0, 4, 0  } }; // edge 12
-
-  return face_ids_edges[theEdge1ID - 1][theEdge2ID - 1];
-}
-
-static Standard_Integer edge_id_vertices (const Standard_Integer theVertex1ID, // [1,8]
-                                          const Standard_Integer theVertex2ID) // [1,8]
-{
-  static Standard_Integer edge_ids_vertices[NBVERTS][NBVERTS] = {
-    // 1   2   3   4   5   6   7   8
-    {  0,  1,  0,  4,  9,  0,  0,  0},   // vertex 1
-    {  1,  0,  2,  0,  0, 10,  0,  0},   // vertex 2
-    {  0,  2,  0,  3,  0,  0, 11,  0},   // vertex 3
-    {  4,  0,  3,  0,  0,  0,  0, 12},   // vertex 4
-    {  9,  0,  0,  0,  0,  5,  0,  8},   // vertex 5
-    {  0, 10,  0,  0,  5,  0,  6,  0},   // vertex 6
-    {  0,  0, 11,  0,  0,  6,  0,  7},   // vertex 7
-    {  0,  0,  0, 12,  8,  0,  7,  0} }; // vertex 8
-
-  return edge_ids_vertices[theVertex1ID - 1][theVertex2ID - 1];
-}
-
-static Standard_Integer edge_id_faces (const Standard_Integer theFace1ID, // [1,6]
-                                       const Standard_Integer theFace2ID) // [1,6]
-{
-  static Standard_Integer edge_ids_faces[NBFACES][NBFACES] = {
-    // 1   2   3   4   5   6
-    {  0,  0,  1,  3,  4,  2  },   // face 1
-    {  0,  0,  5,  7,  8,  6  },   // face 2
-    {  1,  5,  0,  0,  9, 10  },   // face 3
-    {  3,  7,  0,  0, 12, 11  },   // face 4
-    {  4,  8,  9, 12,  0,  0  },   // face 5
-    {  2,  6, 10, 11,  0,  0  } }; // face 6
-
-  return edge_ids_faces[theFace1ID - 1][theFace2ID - 1];
-}
-
-//=======================================================================
-//function : GEOMImpl_Block6Explorer
-//purpose  : Constructor
-//=======================================================================
-GEOMImpl_Block6Explorer::GEOMImpl_Block6Explorer ()
-     : myFaces(1,NBFACES), myEdges(1,NBEDGES), myVertices(1,NBVERTS)
-{
-}
-
-//=======================================================================
-//function : GetVertex
-//purpose  :
-//=======================================================================
-TopoDS_Shape GEOMImpl_Block6Explorer::GetVertex (const Standard_Integer theVertexID)
-{
-  TopoDS_Shape aNullShape;
-  if (theVertexID < 1 || theVertexID > NBVERTS) return aNullShape;
-  return myVertices(theVertexID);
-}
-
-//=======================================================================
-//function : GetVertexID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetVertexID (const TopoDS_Shape& theVertex)
-{
-  for (Standard_Integer id = 1; id <= NBVERTS; id++) {
-    if (theVertex.IsSame(myVertices(id))) return id;
-  }
-  Standard_NoSuchObject::Raise("The Vertex does not belong to the Block");
-  return 0;
-}
-
-//=======================================================================
-//function : GetVertexID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetVertexID (const Standard_Integer theFaceID,
-                                                       const Standard_Integer theVertexNB)
-{
-  return vertex_id(theFaceID, theVertexNB);
-}
-
-//=======================================================================
-//function : GetVertexOnEdgeID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetVertexOnEdgeID
-                                     (const Standard_Integer theEdgeID,
-                                      const Standard_Integer theVertexNB)
-{
-  return vertex_id_edge(theEdgeID, theVertexNB);
-}
-
-//=======================================================================
-//function : GetEdge
-//purpose  :
-//=======================================================================
-TopoDS_Shape GEOMImpl_Block6Explorer::GetEdge (const Standard_Integer theEdgeID,
-                                               const Standard_Boolean doMake)
-{
-  TopoDS_Shape aNullShape;
-  if (theEdgeID < 1 || theEdgeID > NBEDGES) return aNullShape;
-  if (myEdges(theEdgeID).IsNull() && doMake) {
-    // Create the required edge as a linear segment between
-    // corresponding vertices and put it in the Block's edges
-    BRepBuilderAPI_MakeEdge ME (TopoDS::Vertex(myVertices(vertex_id_edge(theEdgeID, 1))),
-                                TopoDS::Vertex(myVertices(vertex_id_edge(theEdgeID, 2))));
-    if (!ME.IsDone()) {
-      Standard_ConstructionError::Raise("Edge construction failed");
-    }
-    myEdges(theEdgeID) = ME.Shape();
-  }
-
-  return myEdges(theEdgeID);
-}
-
-//=======================================================================
-//function : GetEdgeID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetEdgeID (const TopoDS_Shape& theEdge)
-{
-  for (Standard_Integer id = 1; id <= NBEDGES; id++) {
-    if (theEdge.IsSame(myEdges(id))) return id;
-  }
-  Standard_NoSuchObject::Raise("The Edge does not belong to the Block");
-  return 0;
-}
-
-//=======================================================================
-//function : GetEdgeID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetEdgeID (const Standard_Integer theFaceID,
-                                                     const Standard_Integer theEdgeNB)
-{
-  return edge_id(theFaceID, theEdgeNB);
-}
-
-//=======================================================================
-//function : FindEdgeID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::FindEdgeID (const Standard_Integer theVertex1ID,
-                                                      const Standard_Integer theVertex2ID)
-{
-  return edge_id_vertices(theVertex1ID, theVertex2ID);
-}
-
-//=======================================================================
-//function : FindCommonEdgeID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::FindCommonEdgeID
-                                      (const Standard_Integer theFace1ID,
-                                       const Standard_Integer theFace2ID)
-{
-  return edge_id_faces(theFace1ID, theFace2ID);
-}
-
-//=======================================================================
-//function : GetFace
-//purpose  :
-//=======================================================================
-TopoDS_Shape GEOMImpl_Block6Explorer::GetFace (const Standard_Integer theFaceID,
-                                               const Standard_Boolean doMake)
-{
-  TopoDS_Shape aNullShape;
-  if (theFaceID < 1 || theFaceID > NBFACES) return aNullShape;
-
-  if (myFaces(theFaceID).IsNull() && doMake) {
-
-    // Create the required face between
-    // corresponding edges and put it in the Block's faces
-
-    TopoDS_Shape E1 = GetEdge(edge_id(theFaceID, 1), doMake);
-    TopoDS_Shape E2 = GetEdge(edge_id(theFaceID, 2), doMake);
-    TopoDS_Shape E3 = GetEdge(edge_id(theFaceID, 3), doMake);
-    TopoDS_Shape E4 = GetEdge(edge_id(theFaceID, 4), doMake);
-
-    BRepBuilderAPI_MakeWire MW (TopoDS::Edge(E1),
-                                TopoDS::Edge(E2),
-                                TopoDS::Edge(E3),
-                                TopoDS::Edge(E4));
-    if (!MW.IsDone()) {
-      Standard_ConstructionError::Raise("Wire construction failed");
-    }
-    TopoDS_Shape aFace;
-    MakeFace(MW, Standard_False, aFace);
-    if (aFace.IsNull()) {
-      Standard_ConstructionError::Raise("Face construction failed");
-    }
-    myFaces(theFaceID) = aFace;
-  }
-
-  return myFaces(theFaceID);
-}
-
-//=======================================================================
-//function : GetFaceID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetFaceID (const TopoDS_Shape& theFace)
-{
-  for (Standard_Integer id = 1; id <= NBFACES; id++) {
-    if (theFace.IsSame(myFaces(id))) return id;
-  }
-  Standard_NoSuchObject::Raise("The Face does not belong to the Block");
-  return 0;
-}
-
-//=======================================================================
-//function : FindFaceID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::FindFaceID (const Standard_Integer theEdge1ID,
-                                                      const Standard_Integer theEdge2ID)
-{
-  return face_id_edges(theEdge1ID, theEdge2ID);
-}
-
-//=======================================================================
-//function : GetOppositeFaceID
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::GetOppositeFaceID (const Standard_Integer theFaceID)
-{
-  Standard_Integer opp_face_id[NBFACES + 1] = {
-    0,
-    2,  // to 1 face
-    1,  // to 2 face
-    4,  // to 3 face
-    3,  // to 4 face
-    6,  // to 5 face
-    5}; // to 6 face
-
-  return opp_face_id[theFaceID];
-}
-
-//=======================================================================
-//function : IsSimilarFaces
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarFaces (const Standard_Integer theFace1ID,
-                                                          const Standard_Integer theFace2ID,
-                                                          const gp_Trsf          theTransformation)
-{
-  Standard_Integer common_edge_id = FindCommonEdgeID(theFace1ID, theFace2ID);
-
-  if (common_edge_id == 0) { // opposite faces
-    for (Standard_Integer id = 1; id <= 4; id++) {
-      TopoDS_Shape E1 = GetEdge(edge_id(theFace1ID, id));
-      TopoDS_Shape E2 = GetEdge(edge_id(theFace2ID, id));
-
-      BRepBuilderAPI_Transform aTrsf (E1, theTransformation, Standard_False);
-      if (!IsSimilarEdges(aTrsf.Shape(), E2))
-        return Standard_False;
-    }
-  } else { // the faces have common edge
-    TopTools_Array1OfShape aVerts1 (1,4);
-    TopTools_Array1OfShape aVerts2 (1,4);
-
-    Standard_Integer common_vertex1 = GetVertexOnEdgeID(common_edge_id, 1);
-    Standard_Integer common_vertex2 = GetVertexOnEdgeID(common_edge_id, 2);
-    aVerts1(1) = myVertices(common_vertex1);
-    aVerts1(2) = myVertices(common_vertex2);
-    aVerts2(1) = myVertices(common_vertex1);
-    aVerts2(2) = myVertices(common_vertex2);
-
-    Standard_Integer not_common_v11 = 0, not_common_v12 = 0;
-    Standard_Integer vnb, vid;
-    for (vnb = 1; vnb <= 4; vnb++) {
-      vid = GetVertexID(theFace1ID, vnb);
-      if (vid != common_vertex1 && FindEdgeID(vid, common_vertex1) == 0) {
-        not_common_v12 = vid;
-      } else {
-        if (vid != common_vertex2 && FindEdgeID(vid, common_vertex2) == 0) {
-          not_common_v11 = vid;
-        }
-      }
-    }
-
-    Standard_Integer not_common_v21 = 0, not_common_v22 = 0;
-    for (vnb = 1; vnb <= 4; vnb++) {
-      vid = GetVertexID(theFace2ID, vnb);
-      if (vid != common_vertex1 && FindEdgeID(vid, common_vertex1) == 0) {
-        not_common_v22 = vid;
-      } else {
-        if (vid != common_vertex2 && FindEdgeID(vid, common_vertex2) == 0) {
-          not_common_v21 = vid;
-        }
-      }
-    }
-    aVerts1(3) = myVertices(not_common_v11);
-    aVerts1(4) = myVertices(not_common_v12);
-    aVerts2(3) = myVertices(not_common_v21);
-    aVerts2(4) = myVertices(not_common_v22);
-
-    for (Standard_Integer id = 1; id <= 4; id++) {
-      BRepBuilderAPI_Transform aTrsf (aVerts1(id), theTransformation, Standard_False);
-      TopoDS_Vertex V1 = TopoDS::Vertex(aTrsf.Shape());
-      TopoDS_Vertex V2 = TopoDS::Vertex(aVerts2(id));
-      if (!BRepTools::Compare(V1, V2)) {
-        return Standard_False;
-      }
-    }
-  }
-
-  return Standard_True;
-}
-
-//============ Initialization methods ===================================
-
-//=======================================================================
-//function : InitByBlock
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::InitByBlock (const TopoDS_Shape& theBlock)
-{
-  // 1. Find any one face of the block
-  TopExp_Explorer faces (theBlock, TopAbs_FACE);
-  if (!faces.More()) {
-    Standard_ConstructionError::Raise("The block has no faces");
-  }
-  TopoDS_Shape aFirstFace = faces.Current();
-
-  // 2. Store all elements of the block relatively aFirstFace
-  InitByBlockAndFace(theBlock, aFirstFace);
-}
-
-//=======================================================================
-//function : InitByBlockAndFace
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::InitByBlockAndFace (const TopoDS_Shape& theBlock,
-                                                  const TopoDS_Shape& theFace)
-{
-  myFaces(1) = theFace;
-
-  // 2. Get wire of the first face
-  TopExp_Explorer wires (myFaces(1), TopAbs_WIRE);
-  if (!wires.More()) {
-    Standard_ConstructionError::Raise("A face of the block has no wires");
-  }
-  TopoDS_Shape aWire = wires.Current();
-  wires.Next();
-  if (wires.More()) {
-    Standard_ConstructionError::Raise("A face of the block has more than one wires");
-  }
-
-  // 3. Explore wire to init edges and vertices of the first face
-  BRepTools_WireExplorer aWE (TopoDS::Wire(aWire), TopoDS::Face(myFaces(1)));
-  Standard_Integer nb = 1;
-  for (; aWE.More(); aWE.Next(), nb++) {
-    if (nb > 4) {
-      Standard_ConstructionError::Raise("A face of the block has more than four edges");
-    }
-    myEdges(edge_id(1, nb)) = aWE.Current();
-    myVertices(vertex_id(1, nb)) = aWE.CurrentVertex();
-  }
-  if (nb < 5) {
-    Standard_ConstructionError::Raise("A face of the block has less than four edges");
-  }
-
-  // 2. Store all other elements of the block
-  InitByBlockAndVertices (theBlock,
-                          myVertices(vertex_id(1,1)),
-                          myVertices(vertex_id(1,2)),
-                          myVertices(vertex_id(1,3)));
-}
-
-//=======================================================================
-//function : InitByBlockAndEdges
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::InitByBlockAndEdges (const TopoDS_Shape& theBlock,
-                                                   const TopoDS_Shape& theEdge1,
-                                                   const TopoDS_Shape& theEdge3)
-{
-  // 1. Store vertices and edges of the first face
-
-  // 1.1. Store two given edges
-  myEdges(edge_id(1, 1)) = theEdge1;
-  myEdges(edge_id(1, 3)) = theEdge3;
-
-  // 1.2. Find and store the first face
-  TopTools_IndexedDataMapOfShapeListOfShape MEF;
-  MapShapesAndAncestors(theBlock, TopAbs_EDGE, TopAbs_FACE, MEF);
-  if (MEF.Extent() != NBEDGES) {
-    Standard_TypeMismatch::Raise("Block has wrong number of edges");
-  }
-  const TopTools_ListOfShape& aFacesOfE1 = MEF.FindFromKey(theEdge1);
-  const TopTools_ListOfShape& aFacesOfE3 = MEF.FindFromKey(theEdge3);
-
-  Standard_Boolean isFound = Standard_False;
-  TopTools_ListIteratorOfListOfShape anIterF1 (aFacesOfE1);
-  for (; anIterF1.More() && !isFound; anIterF1.Next()) {
-
-    TopTools_ListIteratorOfListOfShape anIterF3 (aFacesOfE3);
-    for (; anIterF3.More() && !isFound; anIterF3.Next()) {
-
-      if (anIterF1.Value().IsSame(anIterF3.Value())) {
-        isFound = Standard_True;
-
-        // Store the face, defined by two opposite edges
-        myFaces(1) = anIterF1.Value();
-      }
-    }
-  }
-  if (!isFound) {
-    Standard_ConstructionError::Raise
-      ("Edges 1 and 2 do not belong to one face of the block");
-  }
-
-  // 1.3. Make vertices of the first edge the first and the
-  //      second vertices of the first face. Order is free.
-  TopoDS_Edge E = TopoDS::Edge(theEdge1);
-  TopoDS_Vertex V1, V2;
-  TopExp::Vertices(E, V1, V2, Standard_True);
-  myVertices(vertex_id(1,1)) = V1;
-  myVertices(vertex_id(1,2)) = V2;
-
-  // Init maps vertex->list_of_edges for the face
-  TopTools_IndexedDataMapOfShapeListOfShape M1;
-  MapShapesAndAncestors(myFaces(1), TopAbs_VERTEX, TopAbs_EDGE, M1);
-  if (M1.Extent() != 4) {
-    Standard_TypeMismatch::Raise("The first face of block has wrong number of vertices");
-  }
-
-  // 1.4. Find and store others elements of the first face
-
-  // edges of the first vertex
-  TopoDS_Shape E1_f = M1.FindFromKey(V1).First();
-  TopoDS_Shape E1_l = M1.FindFromKey(V1).Last();
-
-  if (E1_f.IsSame(theEdge1)) {
-    myEdges(edge_id(1, 4)) = E1_l;
-  } else {
-    myEdges(edge_id(1, 4)) = E1_f;
-  }
-
-  // fourth vertex
-  TopoDS_Edge E4 = TopoDS::Edge(myEdges(edge_id(1, 4)));
-  TopoDS_Vertex V41, V42;
-  TopExp::Vertices(E4, V41, V42, Standard_True);
-  if (V41.IsSame(V1)) {
-    myVertices(vertex_id(1,4)) = V42;
-  } else {
-    myVertices(vertex_id(1,4)) = V41;
-  }
-
-  // edges of the second vertex
-  TopoDS_Shape E2_f = M1.FindFromKey(V2).First();
-  TopoDS_Shape E2_l = M1.FindFromKey(V2).Last();
-
-  if (E2_f.IsSame(theEdge1)) {
-    myEdges(edge_id(1, 2)) = E2_l;
-  } else {
-    myEdges(edge_id(1, 2)) = E2_f;
-  }
-
-  // fird vertex
-  TopoDS_Edge E2 = TopoDS::Edge(myEdges(edge_id(1, 2)));
-  TopoDS_Vertex V21, V22;
-  TopExp::Vertices(E2, V21, V22, Standard_True);
-  if (V21.IsSame(V2)) {
-    myVertices(vertex_id(1,3)) = V22;
-  } else {
-    myVertices(vertex_id(1,3)) = V21;
-  }
-
-  // 2. Store all other elements of the block
-  InitByBlockAndVertices (theBlock,
-                          myVertices(vertex_id(1,1)),
-                          myVertices(vertex_id(1,2)),
-                          myVertices(vertex_id(1,3)));
-}
-
-//=======================================================================
-//function : InitByBlockAndVertices
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::InitByBlockAndVertices (const TopoDS_Shape& theBlock,
-                                                      const TopoDS_Shape& theVertex1,
-                                                      const TopoDS_Shape& theVertex2,
-                                                      const TopoDS_Shape& theVertex3)
-{
-  // Here we suppose, that vertices are ordered, i.e. exists edge between
-  // theVertex1 and theVertex2 and edge between theVertex2 and theVertex3
-
-  // 1. Store vertices and edges of the first face.
-  //    If the first face is initialized, it means, that this
-  //    method is called from another initialization method, and all
-  //    vertices and edges of the first face are also initialized
-  if (myFaces(1).IsNull()) {
-
-    // 1.1. Store first three vertices
-    myVertices(vertex_id(1, 1)) = theVertex1;
-    myVertices(vertex_id(1, 2)) = theVertex2;
-    myVertices(vertex_id(1, 3)) = theVertex3;
-
-    // 1.2. Find and store the first face
-    TopTools_IndexedDataMapOfShapeListOfShape MVF;
-    MapShapesAndAncestors(theBlock, TopAbs_VERTEX, TopAbs_FACE, MVF);
-    if (MVF.Extent() != NBVERTS) {
-      Standard_TypeMismatch::Raise("Block has wrong number of vertices");
-    }
-    const TopTools_ListOfShape& aFacesOfV1 = MVF.FindFromKey(theVertex1);
-    const TopTools_ListOfShape& aFacesOfV3 = MVF.FindFromKey(theVertex3);
-
-    Standard_Boolean isFound = Standard_False;
-    TopTools_ListIteratorOfListOfShape anIterF1 (aFacesOfV1);
-    for (; anIterF1.More() && !isFound; anIterF1.Next()) {
-
-      TopTools_ListIteratorOfListOfShape anIterF3 (aFacesOfV3);
-      for (; anIterF3.More() && !isFound; anIterF3.Next()) {
-
-        if (anIterF1.Value().IsSame(anIterF3.Value())) {
-          isFound = Standard_True;
-
-          // Store the face, defined by two opposite vertices
-          myFaces(1) = anIterF1.Value();
-        }
-      }
-    }
-    if (!isFound) {
-      Standard_ConstructionError::Raise
-        ("Vertices 1 and 3 do not belong to one face of the block");
-    }
-
-    // Init maps vertex->list_of_edges for the face
-    TopTools_IndexedDataMapOfShapeListOfShape M1;
-    MapShapesAndAncestors(myFaces(1), TopAbs_VERTEX, TopAbs_EDGE, M1);
-    if (M1.Extent() != 4) {
-      Standard_TypeMismatch::Raise("The first face of block has wrong number of vertices");
-    }
-
-    // 1.3. Find and store edges and last vertex of the first face
-    const TopTools_ListOfShape& anEdgesOfV1 = M1.FindFromKey(theVertex1);
-    const TopTools_ListOfShape& anEdgesOfV2 = M1.FindFromKey(theVertex2);
-    const TopTools_ListOfShape& anEdgesOfV3 = M1.FindFromKey(theVertex3);
-
-    TopTools_ListIteratorOfListOfShape anIterE2 (anEdgesOfV2);
-    for (; anIterE2.More(); anIterE2.Next()) {
-
-      TopTools_ListIteratorOfListOfShape anIterE1 (anEdgesOfV1);
-      for (; anIterE1.More(); anIterE1.Next()) {
-
-        if (anIterE1.Value().IsSame(anIterE2.Value())) {
-          // Store the first edge, defined by two vertices
-          myEdges(edge_id(1,1)) = anIterE1.Value();
-
-        } else {
-          // Store the last edge
-          myEdges(edge_id(1,4)) = anIterE1.Value();
-
-          // Find and store the last vertex
-          TopoDS_Edge E = TopoDS::Edge(myEdges(4));
-          TopoDS_Vertex V1, V2;
-          TopExp::Vertices(E, V1, V2, Standard_True);
-
-          if (V1.IsSame(theVertex1)) {
-            myVertices(vertex_id(1,4)) = V2;
-          } else {
-            myVertices(vertex_id(1,4)) = V1;
-          }
-        }
-      }
-
-      TopTools_ListIteratorOfListOfShape anIterE3 (anEdgesOfV3);
-      for (; anIterE3.More(); anIterE3.Next()) {
-
-        if (anIterE3.Value().IsSame(anIterE2.Value())) {
-          // Store the second edge, defined by two vertices
-          myEdges(edge_id(1,2)) = anIterE3.Value();
-
-        } else {
-          // Store the fird edge
-          myEdges(edge_id(1,3)) = anIterE3.Value();
-        }
-      }
-    }
-  }
-
-  // Init map vertex->list_of_edges for the block
-  TopTools_IndexedDataMapOfShapeListOfShape MB;
-  MapShapesAndAncestors(theBlock, TopAbs_VERTEX, TopAbs_EDGE, MB);
-  if (MB.Extent() != NBVERTS) {
-    Standard_TypeMismatch::Raise("Block has wrong number of vertices");
-  }
-
-  // 2. Store edges, linking the first face with the second one
-  //    and vertices of the second face
-  TopTools_IndexedMapOfShape aFaceEdges;
-  TopExp::MapShapes(myFaces(1), TopAbs_EDGE, aFaceEdges);
-
-  Standard_Integer i = 1;
-  for (; i <= 4; i++) {
-    // Get i-th vertex of the face 1
-    TopoDS_Shape Vi = myVertices(vertex_id(1, i));
-    if (!MB.Contains(Vi)) {
-      Standard_ConstructionError::Raise("Face does not belong to the block");
-    }
-
-    // Get list of block's edges, sharing this Vertex
-    const TopTools_ListOfShape& anEdgesOfVi = MB.FindFromKey(Vi);
-    TopTools_ListIteratorOfListOfShape anEdgesIter (anEdgesOfVi);
-
-    // Get Edge (from the List), not belonging to the face 1
-    Standard_Boolean isFound = Standard_False;
-    for (; anEdgesIter.More() && !isFound; anEdgesIter.Next()) {
-      if (!aFaceEdges.Contains(anEdgesIter.Value())) {
-        isFound = Standard_True;
-
-        // Store the linking edge
-        TopoDS_Shape aLinkEdge = anEdgesIter.Value();
-        myEdges(side_edge_id(i)) = aLinkEdge;
-
-        // Get another vertex of the linking edge
-        TopoDS_Edge E = TopoDS::Edge(aLinkEdge);
-        TopoDS_Vertex V1, V2;
-        TopExp::Vertices(E, V1, V2, Standard_True);
-
-        // Store the i-th vertex of the second (opposite to the first) face
-        if (V1.IsSame(Vi)) {
-          myVertices(vertex_id(2, i)) = V2;
-        } else {
-          myVertices(vertex_id(2, i)) = V1;
-        }
-      }
-    }
-  }
-
-  // 3. Store edges of the second (opposite to the first) face
-  for (i = 1; i <= 4; i++) {
-    // Get i-th and (i+1)-th vertices of the face 2
-    TopoDS_Shape Vi = myVertices(vertex_id(2, i));
-    TopoDS_Shape Vj = myVertices(vertex_id(2, mod4(i + 1)));
-
-    // Get list of block's edges, sharing Vi
-    const TopTools_ListOfShape& anEdgesOfVi = MB.FindFromKey(Vi);
-    // Get list of block's edges, sharing Vj
-    const TopTools_ListOfShape& anEdgesOfVj = MB.FindFromKey(Vj);
-
-    // Get Edge (from the List), linking this vertex with the next one
-    Standard_Boolean isFound = Standard_False;
-    TopTools_ListIteratorOfListOfShape anEdgesIteri (anEdgesOfVi);
-    for (; anEdgesIteri.More() && !isFound; anEdgesIteri.Next()) {
-
-      TopTools_ListIteratorOfListOfShape anEdgesIterj (anEdgesOfVj);
-      for (; anEdgesIterj.More() && !isFound; anEdgesIterj.Next()) {
-
-        if (anEdgesIteri.Value().IsSame(anEdgesIterj.Value())) {
-          isFound = Standard_True;
-
-          // Store the linking edge
-          myEdges(edge_id(2, i)) = anEdgesIteri.Value();
-        }
-      }
-    }
-  }
-
-  // 4. Store faces of the block
-  TopTools_IndexedDataMapOfShapeListOfShape MBE;
-  MapShapesAndAncestors(theBlock, TopAbs_EDGE, TopAbs_FACE, MBE);
-  if (MBE.Extent() != NBEDGES) {
-    Standard_TypeMismatch::Raise("Block has wrong number of edges");
-  }
-
-  for (i = 2; i <= NBFACES; i++) {
-    TopoDS_Shape Ei1 = myEdges(edge_id(i, 1));
-    TopoDS_Shape Ei2 = myEdges(edge_id(i, 2));
-    const TopTools_ListOfShape& aFacesOfEi1 = MBE.FindFromKey(Ei1);
-    const TopTools_ListOfShape& aFacesOfEi2 = MBE.FindFromKey(Ei2);
-
-    Standard_Boolean isFound = Standard_False;
-    TopTools_ListIteratorOfListOfShape anIterEi1 (aFacesOfEi1);
-    for (; anIterEi1.More() && !isFound; anIterEi1.Next()) {
-
-      TopTools_ListIteratorOfListOfShape anIterEi2 (aFacesOfEi2);
-      for (; anIterEi2.More() && !isFound; anIterEi2.Next()) {
-
-        if (anIterEi1.Value().IsSame(anIterEi2.Value())) {
-          isFound = Standard_True;
-
-          // Store the face, defined by two edges
-          myFaces(i) = anIterEi1.Value();
-        }
-      }
-    }
-  }
-}
-
-//=======================================================================
-//function : InitByTwoFaces
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::InitByTwoFaces (const TopoDS_Shape& theFace1,
-                                              const TopoDS_Shape& theFace2)
-{
-  if (theFace1.IsSame(theFace2)) {
-    Standard_ConstructionError::Raise("The faces must be different");
-  }
-
-  // Add two given faces in the structure
-  myFaces(1) = theFace1;
-  myFaces(2) = theFace2;
-
-  // Step 1. Order vertices (and edges)
-
-  // 1.1. Ordered vertices and edges of the first face we put in <myVertices>
-
-  // Get wire of the first face
-  TopExp_Explorer wires1 (myFaces(1), TopAbs_WIRE);
-  if (!wires1.More()) {
-    Standard_ConstructionError::Raise("A face for the block has no wires");
-  }
-  TopoDS_Shape aWire1 = wires1.Current();
-  wires1.Next();
-  if (wires1.More()) {
-    Standard_ConstructionError::Raise("A face for the block has more than one wire");
-  }
-
-  BRepTools_WireExplorer aWE1 (TopoDS::Wire(aWire1), TopoDS::Face(myFaces(1)));
-  Standard_Integer nb;
-  for (nb = 1; aWE1.More(); aWE1.Next(), nb++) {
-    if (nb > 4) {
-      Standard_ConstructionError::Raise("A face for the block has more than four edges");
-    }
-    myEdges(edge_id(1, nb)) = aWE1.Current();
-    myVertices(vertex_id(1, nb)) = aWE1.CurrentVertex();
-  }
-  if (nb < 5) {
-    Standard_ConstructionError::Raise("A face for the block has less than four edges");
-  }
-
-  // 1.2. Ordered vertices and edges of the second face we temporarily store
-  // in arrays, to find for them rigth location in <myVertices> on the Step 2.
-
-  // declare arrays
-  TopTools_Array1OfShape aVertis2(1,4); // ordered vertices of the second face
-  TopTools_Array1OfShape anEdges2(1,4); // anEdges2(i) links aVertis2(i) and aVertis2(i+1)
-
-  // Get wire of the second face
-  TopExp_Explorer wires2 (myFaces(2), TopAbs_WIRE);
-  if (!wires2.More()) {
-    Standard_ConstructionError::Raise("A face for the block has no wires");
-  }
-  TopoDS_Shape aWire2 = wires2.Current();
-  wires2.Next();
-  if (wires2.More()) {
-    Standard_ConstructionError::Raise("A face for the block has more than one wire");
-  }
-
-  BRepTools_WireExplorer aWE2 (TopoDS::Wire(aWire2), TopoDS::Face(myFaces(2)));
-  for (nb = 1; aWE2.More(); aWE2.Next(), nb++) {
-    if (nb > 4) {
-      Standard_ConstructionError::Raise("A face for the block has more than four edges");
-    }
-    anEdges2(nb) = aWE2.Current();
-    aVertis2(nb) = aWE2.CurrentVertex();
-  }
-  if (nb < 5) {
-    Standard_ConstructionError::Raise("A face for the block has less than four edges");
-  }
-
-  // Step 2. Find right place in <myVertices> for the <aVertis2>,
-  //         so as to minimize common length of linking edges
-  //         between face 1 and face 2.
-  //         Each linking edge (of four) will link vertices of the
-  //         faces 1 and 2 with equal local numbers.
-  // The right place is defined by:
-  //  - vertex <aVertis2(i_min)>, which will become the first vertex
-  //         of the second face <myVertices(vertex_id(2,1))>
-  //  - orientation of <aVertis2> relatively their future location
-  //         in <myVertices> (s_min = 1 if direct, s_min = -1 if reversed)
-  Standard_Integer i_min = 0, s_min = 0;
-
-  TColgp_Array1OfPnt aPnts1 (1,4); // points of the first face
-  aPnts1(1) = BRep_Tool::Pnt(TopoDS::Vertex(myVertices(vertex_id(1, 1))));
-  aPnts1(2) = BRep_Tool::Pnt(TopoDS::Vertex(myVertices(vertex_id(1, 2))));
-  aPnts1(3) = BRep_Tool::Pnt(TopoDS::Vertex(myVertices(vertex_id(1, 3))));
-  aPnts1(4) = BRep_Tool::Pnt(TopoDS::Vertex(myVertices(vertex_id(1, 4))));
-
-  TColgp_Array1OfPnt aPnts2 (1,4); // points of the second face
-  aPnts2(1) = BRep_Tool::Pnt(TopoDS::Vertex(aVertis2(1)));
-  aPnts2(2) = BRep_Tool::Pnt(TopoDS::Vertex(aVertis2(2)));
-  aPnts2(3) = BRep_Tool::Pnt(TopoDS::Vertex(aVertis2(3)));
-  aPnts2(4) = BRep_Tool::Pnt(TopoDS::Vertex(aVertis2(4)));
-
-  Standard_Real Dist_min = RealLast();
-  // try all possible locations to find the best (with minimum sum distance)
-  Standard_Integer i = 1;
-  for (; i <= 4; i++) {
-    // try direct orientation
-    Standard_Real Dist_plus = aPnts1(1).Distance(aPnts2(i)) +
-                              aPnts1(2).Distance(aPnts2(mod4(i + 1))) +
-                              aPnts1(3).Distance(aPnts2(mod4(i + 2))) +
-                              aPnts1(4).Distance(aPnts2(mod4(i + 3)));
-    if (Dist_plus < Dist_min) {
-      Dist_min = Dist_plus;
-      i_min = i;
-      s_min = 1;
-    }
-
-    // try reversed orientation
-    Standard_Real Dist_minus = aPnts1(1).Distance(aPnts2(i)) +
-                               aPnts1(2).Distance(aPnts2(mod4(i - 1))) +
-                               aPnts1(3).Distance(aPnts2(mod4(i - 2))) +
-                               aPnts1(4).Distance(aPnts2(mod4(i - 3)));
-    if (Dist_minus < Dist_min) {
-      Dist_min = Dist_minus;
-      i_min = i;
-      s_min = - 1;
-    }
-  }
-
-  // 3. Put vertices and edges of the second face to they
-  //    permanent location in <myVertices> and <myEdges>
-  for (i = 1; i <= 4; i++) {
-    Standard_Integer nb = mod4(i_min + s_min*(i - 1));
-
-    if (aPnts1(i).Distance(aPnts2(nb)) < Precision::Confusion()) {
-      Standard_ConstructionError::Raise("The faces are too close");
-    }
-
-    myVertices(vertex_id(2, i)) = aVertis2(nb);
-
-    if (s_min == -1) nb = mod4(nb - 1);
-    myEdges(edge_id(2, i)) = anEdges2(nb);
-  }
-
-  // 4. Generate side surface
-  if (!aWire1.Closed() || !aWire2.Closed()) {
-    // BRepOffsetAPI_ThruSections is not applicable on not closed wires
-    GetFace(3, Standard_True);
-    GetFace(4, Standard_True);
-    GetFace(5, Standard_True);
-    GetFace(6, Standard_True);
-  } else {
-    // try to build faces on native surfaces of edges or planar
-    Standard_Boolean tryThru = Standard_False;
-    for (Standard_Integer i = 3; i <= 6 && !tryThru; i++) {
-      Standard_Boolean doMake = Standard_True;
-      TopoDS_Shape E1 = GetEdge(edge_id(i, 1), doMake);
-      TopoDS_Shape E2 = GetEdge(edge_id(i, 2), doMake);
-      TopoDS_Shape E3 = GetEdge(edge_id(i, 3), doMake);
-      TopoDS_Shape E4 = GetEdge(edge_id(i, 4), doMake);
-
-      BRepBuilderAPI_MakeWire MW (TopoDS::Edge(E1),
-                                  TopoDS::Edge(E2),
-                                  TopoDS::Edge(E3),
-                                  TopoDS::Edge(E4));
-      if (!MW.IsDone()) {
-        Standard_ConstructionError::Raise("Wire construction failed");
-      }
-
-      BRepBuilderAPI_MakeFace MF (MW, Standard_False);
-      if (MF.IsDone()) {
-        myFaces(i) = MF.Shape();
-      } else {
-        tryThru = Standard_True;
-      }
-    }
-
-    // Build side surface by ThruSections algorithm
-    if (tryThru) {
-      BRepOffsetAPI_ThruSections THS;
-      THS.AddWire(TopoDS::Wire(aWire1));
-      THS.AddWire(TopoDS::Wire(aWire2));
-      THS.Build();
-      if (!THS.IsDone()) {
-        StdFail_NotDone::Raise("Side surface generation failed");
-      }
-      for (Standard_Integer i = 1; i <= 4; i++) {
-        // fill face
-        myFaces(i+2) = THS.GeneratedFace(myEdges(i));
-
-        // fill edge
-        Standard_Integer ee = side_edge_id(i);
-        TopTools_IndexedDataMapOfShapeListOfShape MVE;
-        MapShapesAndAncestors(myFaces(i+2), TopAbs_VERTEX, TopAbs_EDGE, MVE);
-        FindEdge(myEdges(ee),
-                 myVertices(vertex_id_edge(ee, 1)),
-                 myVertices(vertex_id_edge(ee, 2)),
-                 MVE);
-      }
-    }
-  }
-}
-
-//=======================================================================
-//function : MapShapesAndAncestors
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::MapShapesAndAncestors (const TopoDS_Shape& S,
-                                                     const TopAbs_ShapeEnum TS,
-                                                     const TopAbs_ShapeEnum TA,
-                                                     TopTools_IndexedDataMapOfShapeListOfShape& M)
-{
-  TopTools_ListOfShape empty;
-  TopTools_MapOfShape mapA;
-
-  // visit ancestors
-  TopExp_Explorer exa (S,TA);
-  for (; exa.More(); exa.Next()) {
-    // visit shapes
-    const TopoDS_Shape& anc = exa.Current();
-    if (mapA.Add(anc)) {
-      TopExp_Explorer exs (anc,TS);
-      TopTools_MapOfShape mapS;
-      for (; exs.More(); exs.Next()) {
-        if (mapS.Add(exs.Current())) {
-          Standard_Integer index = M.FindIndex(exs.Current());
-          if (index == 0) index = M.Add(exs.Current(),empty);
-          M(index).Append(anc);
-        }
-      }
-    }
-  }
-
-  // visit shapes not under ancestors
-  TopExp_Explorer ex (S,TS,TA);
-  for (; ex.More(); ex.Next()) {
-    Standard_Integer index = M.FindIndex(ex.Current());
-    if (index == 0) index = M.Add(ex.Current(),empty);
-  }
-}
-
-//=======================================================================
-//function : IsSimilarEdges
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarEdges (const TopoDS_Shape& E1,
-                                                          const TopoDS_Shape& E2)
-{
-  TopoDS_Edge E1e = TopoDS::Edge(E1);
-  TopoDS_Edge E2e = TopoDS::Edge(E2);
-  TopoDS_Vertex V11, V12, V21, V22;
-  TopExp::Vertices(E1e, V11, V12, Standard_True);
-  TopExp::Vertices(E2e, V21, V22, Standard_True);
-  if (BRepTools::Compare(V11, V21) && BRepTools::Compare(V12, V22))
-    return Standard_True;
-  if (BRepTools::Compare(V11, V22) && BRepTools::Compare(V12, V21))
-    return Standard_True;
-
-  return Standard_False;
-}
-
-//=======================================================================
-//function : FindEdge
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::FindEdge
-                   (TopoDS_Shape&       theResult,
-                    const TopoDS_Shape& V1,
-                    const TopoDS_Shape& V2,
-                    const TopTools_IndexedDataMapOfShapeListOfShape& MVE,
-                    const Standard_Boolean findAll)
-{
-  Standard_Integer isFound = 0;
-
-  const TopTools_ListOfShape& anEdgesOfV1 = MVE.FindFromKey(V1);
-  const TopTools_ListOfShape& anEdgesOfV2 = MVE.FindFromKey(V2);
-
-  TopTools_ListIteratorOfListOfShape it1 (anEdgesOfV1);
-  for (; it1.More(); it1.Next()) {
-    TopTools_ListIteratorOfListOfShape it2 (anEdgesOfV2);
-    for (; it2.More(); it2.Next()) {
-      if (it1.Value().IsSame(it2.Value())) {
-        isFound++;
-        theResult = it1.Value();
-        if (!findAll) return isFound;
-      }
-    }
-  }
-
-  return isFound;
-}
-
-//=======================================================================
-//function : FindFace
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_Block6Explorer::FindFace
-                   (TopoDS_Shape&       theResult,
-                    const TopoDS_Shape& V1,
-                    const TopoDS_Shape& V2,
-                    const TopoDS_Shape& V3,
-                    const TopoDS_Shape& V4,
-                    const TopTools_IndexedDataMapOfShapeListOfShape& MVF,
-                    const Standard_Boolean findAll)
-{
-  Standard_Integer isFound = Standard_False;
-
-  const TopTools_ListOfShape& aFacesOfV1 = MVF.FindFromKey(V1);
-  const TopTools_ListOfShape& aFacesOfV2 = MVF.FindFromKey(V2);
-  const TopTools_ListOfShape& aFacesOfV3 = MVF.FindFromKey(V3);
-  const TopTools_ListOfShape& aFacesOfV4 = MVF.FindFromKey(V4);
-
-  TopTools_ListIteratorOfListOfShape it1 (aFacesOfV1);
-  for (; it1.More(); it1.Next()) {
-    TopTools_ListIteratorOfListOfShape it2 (aFacesOfV2);
-    for (; it2.More(); it2.Next()) {
-      if (it1.Value().IsSame(it2.Value())) {
-        TopTools_ListIteratorOfListOfShape it3 (aFacesOfV3);
-        for (; it3.More(); it3.Next()) {
-          if (it1.Value().IsSame(it3.Value())) {
-            TopTools_ListIteratorOfListOfShape it4 (aFacesOfV4);
-            for (; it4.More(); it4.Next()) {
-              if (it1.Value().IsSame(it4.Value())) {
-                isFound++;
-                theResult = it1.Value();
-                if (!findAll) return isFound;
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-
-  return isFound;
-}
-
-//=======================================================================
-//function : MakeFace
-//purpose  :
-//=======================================================================
-void GEOMImpl_Block6Explorer::MakeFace (const TopoDS_Wire&     theWire,
-                                        const Standard_Boolean isPlanarWanted,
-                                        TopoDS_Shape&          theResult)
-{
-  // try to build face on plane or on any surface under the edges of the wire
-  BRepBuilderAPI_MakeFace MK (theWire, isPlanarWanted);
-  if (MK.IsDone()) {
-    theResult = MK.Shape();
-    return;
-  }
-
-  // try to construct filling surface
-  if (!isPlanarWanted) {
-    BRepOffsetAPI_MakeFilling MF;
-
-    Standard_Integer nbEdges = 0;
-    BRepTools_WireExplorer aWE (theWire);
-    for (; aWE.More(); aWE.Next(), nbEdges++) {
-      MF.Add(TopoDS::Edge(aWE.Current()), GeomAbs_C0);
-    }
-
-    MF.Build();
-    if (MF.IsDone()) {
-      // Result of filling
-      TopoDS_Shape aFace = MF.Shape();
-
-      // Update tolerance
-      Standard_Real aTol = MF.G0Error();
-
-      TColgp_Array1OfPnt aPnts (1,nbEdges); // points of the given wire
-      BRepTools_WireExplorer aWE1 (theWire);
-      Standard_Integer vi = 1;
-      for (; aWE1.More() && vi <= nbEdges; aWE1.Next(), vi++) {
-        aPnts(vi) = BRep_Tool::Pnt(TopoDS::Vertex(aWE1.CurrentVertex()));
-      }
-
-      // Find maximum deviation in vertices
-      TopExp_Explorer exp (aFace, TopAbs_VERTEX);
-      TopTools_MapOfShape mapShape;
-      for (; exp.More(); exp.Next()) {
-        if (mapShape.Add(exp.Current())) {
-          TopoDS_Vertex aV = TopoDS::Vertex(exp.Current());
-          Standard_Real aTolV = BRep_Tool::Tolerance(aV);
-          gp_Pnt aP = BRep_Tool::Pnt(aV);
-          Standard_Real min_dist = aP.Distance(aPnts(1));
-          for (vi = 2; vi <= nbEdges; vi++) {
-            min_dist = Min(min_dist, aP.Distance(aPnts(vi)));
-          }
-          aTol = Max(aTol, aTolV);
-          aTol = Max(aTol, min_dist);
-        }
-      }
-
-      if ((*((Handle(BRep_TFace)*)&aFace.TShape()))->Tolerance() < aTol) {
-        (*((Handle(BRep_TFace)*)&aFace.TShape()))->Tolerance(aTol);
-      }
-      theResult = aFace;
-    }
-  }
-}
diff --git a/src/GEOMImpl/GEOMImpl_Block6Explorer.hxx b/src/GEOMImpl/GEOMImpl_Block6Explorer.hxx
deleted file mode 100644 (file)
index d7d09c1..0000000
+++ /dev/null
@@ -1,207 +0,0 @@
-//  File   : GEOMImpl_Block6Explorer.hxx
-//  Module : GEOMImpl
-
-#ifndef GEOMImpl_Block6Explorer_HeaderFile
-#define GEOMImpl_Block6Explorer_HeaderFile
-
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopTools_Array1OfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <gp_Trsf.hxx>
-
-  //  Class GEOMImpl_Block6Explorer gives easy and fast access to a certain sub-elements of hexahedral solid
-  //  Each face   can be accessed by its global ID [1-6]
-  //  Each edge   can be accessed by its global ID [1-12] or by its local NB [1-4] inside certain face
-  //  Each vertex can be accessed by its global ID [1-8] or  by its local NB [1-4] inside certain face
-  //  Numeration of the sub-shapes is defined in constructors, see they comments
-  //
-  //                  face 2       face 4          |           4 face     2 face                   |
-  //                       |           /           |            \         |                        |
-  //                      \|/        |/_           |            _\|      \|/                       |
-  //                       '         '             |              '       '                        |
-  //                    8_______7__7               |               7__7_______8                    |
-  //                   /|         /|               |               |\         |\                   |
-  //                  8 12       6 11              |              11 6       12 8                  |
-  //                 /  |       /  |               |               |  \       |  \                 |
-  //               5/______5__6/   |               |               |   \6__5______\5               |
-  //  face 5 --->  |    |     |    |  <--- 6 face  |  face 6 --->  |    |     |    |  <--- 5 face  |
-  //               |    |__3__|____|               |               |____|__3__|    |               |
-  //               |   /4     |   /3               |               3\   |     4\   |               |
-  //               |  /       |  /                 |                 \  |       \  |               |
-  //               9 4       10 2                  |                  2 10       4 9               |
-  //               |/__1______|/                   |                   \|______1__\|               |
-  //               1          2                    |                    2          1               |
-  //            _.        .                        |                        .       ._             |
-  //            /|       /|\                       |                       /|\      |\             |
-  //           /          |                        |                        |         \            |
-  //          3 face      1 face                   |                   face 1     face 3           |
-  //                                               |                                               |
-  //  Picture 1 (right orientation)                |  Picture 2 (left orientation)                 |
-  //                                                                                               |
-  //  For the moment, the orientation of numbering is not controlled
-
-  // Faces: 1 - bottom, 2 - top, 3 - front, 4 - back, 5 - left (right), 6 - right (left)
-
-  //
-  //                             4_______3__3         2 ______2__3
-  //                            /          /          |          |
-  //                           4          2           1          3
-  //                          /          /            |          |
-  //                        1/______1__2/             |          |
-  //                                                  |          |
-  //                                                  | __4______|
-  //                           face 2       face 4    1          4
-  //                                |           /
-  //                               \|/        |/_
-  //                                '         '
-  //        3                    8_______7__7                    3
-  //       /|                   /|         /|                   /|
-  //      3 2                  8 12       6 11                 3 2
-  //     /  |                 /  |       /  |                 /  |
-  //   4/   |               5/______5__6/   |               4/   |
-  //   |    |  face 5 --->  |    |     |    |  <--- 6 face  |    |
-  //   |    |               |    |__3__|____|               |    |
-  //   |   /2               |   /4     |   /3               |   /2
-  //   |  /                 |  /       |  /                 |  /
-  //   4 1                  9 4       10 2                  4 1
-  //   |/                   |/__1______|/                   |/
-  //   1                    1          2                    1
-  //                     _.        .
-  //                     /|       /|\
-  //                    /          |
-  //   2 ______2__3    3 face      1 face
-  //   |          |
-  //   |          |               __3_______
-  //   |          |             /4         /3
-  //   |          |            /          /
-  //   1          3           4          2
-  //   | __4______|          /__1______ /
-  //   1          4         1          2
-  //
-  //  Picture 3 (On periferal pictures the local
-  //  numeration of edges and vertices is shown)
-
-class GEOMImpl_Block6Explorer
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  GEOMImpl_Block6Explorer ();
-  // Constructor.
-
-  // Initialization by existing solid,
-  // sub-elements regulate numeration
-
-  void InitByBlock (const TopoDS_Shape& theBlock);
-  // Init by hexahedral solid. First face, edge and vertex is defined randomly
-
-  void InitByBlockAndFace (const TopoDS_Shape& theBlock,
-                           const TopoDS_Shape& theFace);
-  // Constructor from hexahedral solid, making theFace the first face.
-  // First edge and vertex is defined randomly from theFace entities
-
-  void InitByBlockAndEdges (const TopoDS_Shape& theBlock,
-                            const TopoDS_Shape& theEdge1,
-                            const TopoDS_Shape& theEdge2);
-  // Init by hexahedral solid, making theEdge1 the first, theEdge2 the fird.
-  // First vertex is defined randomly from theEdge1 vertices
-  // (Picture 1 and Picture 2 shows two possible cases)
-
-  void InitByBlockAndVertices (const TopoDS_Shape& theBlock,
-                               const TopoDS_Shape& theVertex1,
-                               const TopoDS_Shape& theVertex2,
-                               const TopoDS_Shape& theVertex3);
-  // Init by hexahedral solid, making theVertex1 the first,
-  // theVertex2 the second and theVertex3 the fird vertices.
-
-  // Initialization by parts of solid to be built
-
-  void InitByTwoFaces (const TopoDS_Shape& theFace1,
-                       const TopoDS_Shape& theFace2);
-  // Init by two faces. TheFace1 will be the first,
-  // theFace2 will be the second.
-  // First edge and vertex is defined randomly from theFace1 entities.
-
-  // Access to vertices
-  TopoDS_Shape GetVertex (const Standard_Integer theVertexID); // [1-8]
-
-  Standard_Integer GetVertexID (const TopoDS_Shape& theVertex);
-
-  Standard_Integer GetVertexID (const Standard_Integer theFaceID, // [1-6]
-                                const Standard_Integer theVertexNB); // [1-4]
-
-  Standard_Integer GetVertexOnEdgeID (const Standard_Integer theEdgeID, // [1-12]
-                                      const Standard_Integer theVertexNB); // [1-2]
-
-  // Access to edges
-  TopoDS_Shape GetEdge (const Standard_Integer theEdgeID, // [1-12]
-                        const Standard_Boolean doMake = Standard_False);
-
-  Standard_Integer GetEdgeID (const TopoDS_Shape& theEdge);
-
-  Standard_Integer GetEdgeID (const Standard_Integer theFaceID, // [1-6]
-                              const Standard_Integer theEdgeNB); // [1-4]
-
-  Standard_Integer FindEdgeID (const Standard_Integer theVertex1ID,
-                               const Standard_Integer theVertex2ID);
-
-  Standard_Integer FindCommonEdgeID (const Standard_Integer theFace1ID,
-                                     const Standard_Integer theFace2ID);
-
-  // Access to faces
-  TopoDS_Shape GetFace (const Standard_Integer theFaceID, // [1-6]
-                        const Standard_Boolean doMake = Standard_False);
-
-  Standard_Integer GetFaceID (const TopoDS_Shape& theFace);
-
-  Standard_Integer FindFaceID (const Standard_Integer theEdge1ID,
-                               const Standard_Integer theEdge2ID);
-
-  Standard_Integer GetOppositeFaceID (const Standard_Integer theFaceID);
-
-  // Check Block
-  Standard_Boolean IsSimilarFaces (const Standard_Integer theFace1ID,
-                                   const Standard_Integer theFace2ID,
-                                   const gp_Trsf          theTransformation);
-  // returns true, if theFace1, transformed
-  // by theTransformation, coincides with theFace2
- public:
-  // ---------- STATIC PUBLIC METHODS ----------
-  static void MapShapesAndAncestors (const TopoDS_Shape& S,
-                                     const TopAbs_ShapeEnum TS,
-                                     const TopAbs_ShapeEnum TA,
-                                     TopTools_IndexedDataMapOfShapeListOfShape& M);
-
-  static Standard_Boolean IsSimilarEdges (const TopoDS_Shape& E1, 
-                                          const TopoDS_Shape& E2);
-
-  static Standard_Integer FindEdge (TopoDS_Shape&       theResult,
-                                    const TopoDS_Shape& V1,
-                                    const TopoDS_Shape& V2,
-                                    const TopTools_IndexedDataMapOfShapeListOfShape& MVE,
-                                    const Standard_Boolean findAll = Standard_False);
-  // returns number of found edges
-
-  static Standard_Integer FindFace (TopoDS_Shape&       theResult,
-                                    const TopoDS_Shape& V1,
-                                    const TopoDS_Shape& V2,
-                                    const TopoDS_Shape& V3,
-                                    const TopoDS_Shape& V4,
-                                    const TopTools_IndexedDataMapOfShapeListOfShape& MVF,
-                                    const Standard_Boolean findAll = Standard_False);
-  // returns number of found faces
-
-  static void MakeFace (const TopoDS_Wire&     theWire,
-                        const Standard_Boolean isPlanarWanted,
-                        TopoDS_Shape&          theResult);
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  TopTools_Array1OfShape myFaces;
-  TopTools_Array1OfShape myEdges;
-  TopTools_Array1OfShape myVertices;
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_BlockDriver.cxx b/src/GEOMImpl/GEOMImpl_BlockDriver.cxx
deleted file mode 100644 (file)
index c6527f7..0000000
+++ /dev/null
@@ -1,986 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <BRepOffsetAPI_MakeFilling.hxx>
-
-#include <GEOMImpl_BlockDriver.hxx>
-#include <GEOMImpl_IBlocks.hxx>
-#include <GEOMImpl_IBlockTrsf.hxx>
-#include <GEOMImpl_GlueDriver.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_ILocalOperations.hxx>
-#include <GEOMImpl_Block6Explorer.hxx>
-#include <GEOMImpl_IBlocksOperations.hxx>
-
-#include <GEOM_Function.hxx>
-
-#include <ShHealOper_Sewing.hxx>
-#include <NMTAlgo_Splitter1.hxx>
-#include <BlockFix_BlockFixAPI.hxx>
-
-#include "utilities.h"
-
-#include <TNaming_CopyShape.hxx>
-
-#include <BRepLib.hxx>
-#include <BRep_Tool.hxx>
-#include <BRepTools.hxx>
-#include <BRepGProp.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepTools_Quilt.hxx>
-#include <BRepTools_WireExplorer.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepBuilderAPI_MakePolygon.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRepClass_FaceClassifier.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-#include <BRepExtrema_ExtPF.hxx>
-#include <BRepExtrema_DistShapeShape.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_Array1OfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-#include <GProp_GProps.hxx>
-
-#include <gp.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Ax3.hxx>
-#include <Precision.hxx>
-#include <TColgp_Array1OfPnt.hxx>
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
-#include <StdFail_NotDone.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_BlockDriver::GetID()
-{
-  static Standard_GUID aBlockDriver("FF1BBB67-5D14-4df2-980B-3A668264EA16");
-  return aBlockDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_BlockDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_BlockDriver::GEOMImpl_BlockDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_BlockDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-  BRep_Builder B;
-
-  Standard_Real prec = Precision::Confusion();
-
-  Standard_Integer aNbSub = 0;
-  if (aType == BLOCK_COMPOUND_GLUE) {
-
-    aNbSub = 1;
-
-  } else if (aType == BLOCK_FACE_TWO_EDGES ||
-             aType == BLOCK_TWO_FACES) {
-
-    aNbSub = 2;
-
-  } else if (aType == BLOCK_FACE_FOUR_PNT ||
-             aType == BLOCK_FACE_FOUR_EDGES) {
-
-    aNbSub = 4;
-
-  } else if (aType == BLOCK_SIX_FACES) {
-
-    aNbSub = 6;
-
-  } else {
-  }
-
-  if (aNbSub > 0) {
-    GEOMImpl_IBlocks aCI (aFunction);
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-    Standard_Integer nbshapes = aShapes->Length();
-
-    if (nbshapes != aNbSub) {
-      Standard_TypeMismatch::Raise
-        ("Number of elements for object construction does not correspond to the used constructor");
-    }
-
-    TopTools_Array1OfShape anArgs (1, aNbSub);
-    Standard_Integer argi;
-    for (argi = 1; argi <= aNbSub; argi++) {
-      Handle(GEOM_Function) aRef = Handle(GEOM_Function)::DownCast(aShapes->Value(argi));
-      TopoDS_Shape anArg = aRef->GetValue();
-      if (anArg.IsNull()) {
-        Standard_NullObject::Raise("Null shape is given as argument");
-      }
-      anArgs(argi) = anArg;
-    }
-
-    if (aType == BLOCK_FACE_FOUR_EDGES) {
-
-      // Make face from four edges
-      if (anArgs(1).ShapeType() != TopAbs_EDGE || anArgs(2).ShapeType() != TopAbs_EDGE ||
-          anArgs(3).ShapeType() != TopAbs_EDGE || anArgs(4).ShapeType() != TopAbs_EDGE) {
-        Standard_TypeMismatch::Raise("Shape for face construction is not an edge");
-      }
-
-      // count corner vertices
-      TopTools_MapOfShape aVertMap;
-      for (Standard_Integer ii = 1; ii <= 4; ii++) {
-        TopoDS_Edge anEdge = TopoDS::Edge(anArgs(ii));
-        TopoDS_Vertex V1, V2;
-        TopExp::Vertices(anEdge, V1, V2, Standard_True);
-        if (V1.IsNull() || V2.IsNull()) {
-          Standard_NullObject::Raise("Bad edge for face construction: vertex is not defined");
-        }
-        if (BRepTools::Compare(V1,V2)) {
-          Standard_ConstructionError::Raise("Edge ends are too close");
-        }
-        Standard_Boolean isCoin1 = Standard_False, isCoin2 = Standard_False;
-        TopTools_MapIteratorOfMapOfShape anIter (aVertMap);
-        for (; anIter.More(); anIter.Next()) {
-          TopoDS_Vertex V = TopoDS::Vertex(anIter.Key());
-          if (BRepTools::Compare(V,V1)) isCoin1 = Standard_True;
-          if (BRepTools::Compare(V,V2)) isCoin2 = Standard_True;
-        }
-        if (!isCoin1) aVertMap.Add(V1);
-        if (!isCoin2) aVertMap.Add(V2);
-      }
-      if (aVertMap.Extent() != 4) {
-        Standard_ConstructionError::Raise("The edges must form a closed wire");
-      }
-
-      TopoDS_Edge anEdge1 = TopoDS::Edge(anArgs(1));
-      TopoDS_Edge anEdge2 = TopoDS::Edge(anArgs(2));
-      TopoDS_Edge anEdge3 = TopoDS::Edge(anArgs(3));
-      TopoDS_Edge anEdge4 = TopoDS::Edge(anArgs(4));
-
-      // check, if anEdge1 has common/coincident vertex with anEdge2,
-      Standard_Boolean isConnected12 = Standard_False;
-      TopoDS_Vertex V11, V12, V21, V22;
-      TopExp::Vertices(anEdge1, V11, V12, Standard_True);
-      TopExp::Vertices(anEdge2, V21, V22, Standard_True);
-      if (BRepTools::Compare(V11,V21) || BRepTools::Compare(V11,V22) ||
-          BRepTools::Compare(V12,V21) || BRepTools::Compare(V12,V22)) {
-        // the edges have common vertex
-        isConnected12 = Standard_True;
-      }
-
-      // build wire in right order, corresponding to edges connexity
-      BRepBuilderAPI_MakeWire* MW;
-      if (isConnected12)
-        MW = new BRepBuilderAPI_MakeWire(anEdge1, anEdge2, anEdge3, anEdge4);
-      else
-        MW = new BRepBuilderAPI_MakeWire(anEdge1, anEdge3, anEdge2, anEdge4);
-
-      if (!MW->IsDone()) {
-        Standard_ConstructionError::Raise
-          ("Impossible to build a connected wire from the given edges");
-      }
-      TopoDS_Wire aWire = *MW;
-      delete MW; 
-      if (!aWire.Closed()) {
-        Standard_ConstructionError::Raise
-          ("Impossible to build a closed wire from the given edges");
-      }
-
-      // try to build face on the wire
-      GEOMImpl_Block6Explorer::MakeFace(aWire, Standard_False, aShape);
-      if (aShape.IsNull()) {
-        Standard_ConstructionError::Raise("Face construction failed");
-      }
-
-    } else if (aType == BLOCK_FACE_TWO_EDGES) {
-
-      // Make face from two opposite edges
-      if (anArgs(1).ShapeType() != TopAbs_EDGE ||
-          anArgs(2).ShapeType() != TopAbs_EDGE) {
-        Standard_TypeMismatch::Raise("Shape for face construction is not an edge");
-      }
-
-      TopoDS_Edge anEdge1 = TopoDS::Edge(anArgs(1));
-      TopoDS_Edge anEdge2 = TopoDS::Edge(anArgs(2));
-
-      if (anEdge1.IsSame(anEdge2)) {
-        Standard_ConstructionError::Raise("The edges must be different");
-      }
-
-      // create two edges, linking ends of the given edges
-      TopoDS_Vertex V11, V12, V21, V22;
-      TopExp::Vertices(anEdge1, V11, V12, Standard_True);
-      TopExp::Vertices(anEdge2, V21, V22, Standard_True);
-      if (V11.IsNull() || V12.IsNull() ||
-          V21.IsNull() || V22.IsNull()) {
-        Standard_NullObject::Raise("Bad edge for face construction: vertex is not defined");
-      }
-      gp_Pnt P11 = BRep_Tool::Pnt(V11);
-      gp_Pnt P12 = BRep_Tool::Pnt(V12);
-      gp_Pnt P21 = BRep_Tool::Pnt(V21);
-      gp_Pnt P22 = BRep_Tool::Pnt(V22);
-
-      if (P11.Distance(P21) < prec || P12.Distance(P22) < prec ||
-          P11.Distance(P22) < prec || P12.Distance(P21) < prec) {
-        Standard_ConstructionError::Raise("Given edges have too close ends");
-      }
-
-      Standard_Real per11 = P11.Distance(P21) + P12.Distance(P22);
-      Standard_Real per12 = P11.Distance(P22) + P12.Distance(P21);
-
-      TopoDS_Edge anEdge3;
-      TopoDS_Edge anEdge4;
-      if (per11 < per12) {
-        anEdge3 = BRepBuilderAPI_MakeEdge(V11, V21);
-        anEdge4 = BRepBuilderAPI_MakeEdge(V12, V22);
-      } else {
-        anEdge3 = BRepBuilderAPI_MakeEdge(V11, V22);
-        anEdge4 = BRepBuilderAPI_MakeEdge(V12, V21);
-      }
-
-      // build a wire
-      BRepBuilderAPI_MakeWire MW (anEdge1, anEdge3, anEdge2, anEdge4);
-      if (!MW.IsDone()) {
-        Standard_ConstructionError::Raise("Wire construction failed");
-      }
-
-      // try to build face on the wire
-      GEOMImpl_Block6Explorer::MakeFace(MW, Standard_False, aShape);
-      if (aShape.IsNull()) {
-        Standard_ConstructionError::Raise("Face construction failed");
-      }
-
-    } else if (aType == BLOCK_FACE_FOUR_PNT) {
-
-      // Make face from four corner vertices
-      if (anArgs(1).ShapeType() != TopAbs_VERTEX ||
-          anArgs(2).ShapeType() != TopAbs_VERTEX ||
-          anArgs(3).ShapeType() != TopAbs_VERTEX ||
-          anArgs(4).ShapeType() != TopAbs_VERTEX) {
-        Standard_TypeMismatch::Raise("Shape for face construction is not a vertex");
-      }
-
-      TopoDS_Vertex V1 = TopoDS::Vertex(anArgs(1));
-      TopoDS_Vertex V2 = TopoDS::Vertex(anArgs(2));
-      TopoDS_Vertex V3 = TopoDS::Vertex(anArgs(3));
-      TopoDS_Vertex V4 = TopoDS::Vertex(anArgs(4));
-
-      gp_Pnt P1 = BRep_Tool::Pnt(V1);
-      gp_Pnt P2 = BRep_Tool::Pnt(V2);
-      gp_Pnt P3 = BRep_Tool::Pnt(V3);
-      gp_Pnt P4 = BRep_Tool::Pnt(V4);
-
-      if (P1.Distance(P2) < prec || P1.Distance(P3) < prec ||
-          P1.Distance(P4) < prec || P2.Distance(P3) < prec ||
-          P2.Distance(P4) < prec || P3.Distance(P4) < prec) {
-        Standard_ConstructionError::Raise("Four not coincident points must be given");
-      }
-
-      // calculate perimeters
-      Standard_Real per1234 = P1.Distance(P2) + P2.Distance(P3) +
-                              P3.Distance(P4) + P4.Distance(P1);
-      Standard_Real per1243 = P1.Distance(P2) + P2.Distance(P4) +
-                              P4.Distance(P3) + P3.Distance(P1);
-      Standard_Real per1324 = P1.Distance(P3) + P3.Distance(P2) +
-                              P2.Distance(P4) + P4.Distance(P1);
-
-      // order vertices
-      if (per1243 < per1234 && per1243 < per1324) {
-        TopoDS_Vertex Vtmp = V3;
-        V3 = V4;
-        V4 = Vtmp;
-      } else if (per1324 < per1234 && per1324 < per1243) {
-        TopoDS_Vertex Vtmp = V3;
-        V3 = V2;
-        V2 = Vtmp;
-      } else {
-      }
-
-      // build wire
-      BRepBuilderAPI_MakePolygon aMkPoly (V1, V2, V3, V4, Standard_True);
-      if (!aMkPoly.IsDone()) {
-        Standard_ConstructionError::Raise("Polygon construction failed");
-      }
-
-      // try to build face on the wire
-      GEOMImpl_Block6Explorer::MakeFace(aMkPoly, Standard_False, aShape);
-      if (aShape.IsNull()) {
-        Standard_ConstructionError::Raise("Face construction failed");
-      }
-
-    } else if (aType == BLOCK_SIX_FACES || aType == BLOCK_TWO_FACES) {
-
-      BRepTools_Quilt Glue;
-
-      if (aType == BLOCK_SIX_FACES) {
-
-        // Make block (hexahedral solid) from six faces
-        for (Standard_Integer ind = 1; ind <= nbshapes; ind++) {
-          if (anArgs(ind).ShapeType() != TopAbs_FACE) {
-            Standard_TypeMismatch::Raise("Shape for block construction is not a face");
-          }
-          Glue.Add(anArgs(ind));
-        }
-
-      } else {
-
-        // Make block (hexahedral solid) from two opposite faces
-        if (anArgs(1).ShapeType() != TopAbs_FACE ||
-            anArgs(2).ShapeType() != TopAbs_FACE) {
-          Standard_TypeMismatch::Raise("Shape for block construction is not a face");
-        }
-
-        // Get wires of the given faces
-        TopExp_Explorer wires1 (anArgs(1), TopAbs_WIRE);
-        TopExp_Explorer wires2 (anArgs(2), TopAbs_WIRE);
-        if (!wires1.More() || !wires2.More()) {
-          Standard_ConstructionError::Raise("A face for the block has no wires");
-        }
-        TopoDS_Shape aWire1 = wires1.Current();
-        TopoDS_Shape aWire2 = wires2.Current();
-        wires1.Next();
-        wires2.Next();
-        if (wires1.More() || wires2.More()) {
-          Standard_ConstructionError::Raise("A face for the block has more than one wire");
-        }
-
-        GEOMImpl_Block6Explorer aBlockTool;
-        aBlockTool.InitByTwoFaces(anArgs(1), anArgs(2));
-
-        // Construct the linking faces and add them in the gluing tool
-        Glue.Add(anArgs(1));
-        Glue.Add(aBlockTool.GetFace(3, Standard_True));
-        Glue.Add(aBlockTool.GetFace(4, Standard_True));
-        Glue.Add(aBlockTool.GetFace(5, Standard_True));
-        Glue.Add(aBlockTool.GetFace(6, Standard_True));
-        Glue.Add(anArgs(2));
-      }
-
-      TopExp_Explorer exp (Glue.Shells(), TopAbs_SHELL);
-      Standard_Integer ish = 0;
-      TopTools_MapOfShape mapShape;
-      for (; exp.More(); exp.Next()) {
-        if (mapShape.Add(exp.Current())) {
-          aShape = exp.Current();
-          ish++;
-        }
-      }
-
-      if (ish > 1) {
-        aShape = Glue.Shells();
-        Standard_Real aTol = prec; // Precision::Confusion()
-        TopExp_Explorer expF (aShape, TopAbs_FACE);
-        TopTools_MapOfShape mapF;
-        TopoDS_Shell Shell;
-        B.MakeShell(Shell);
-        for (; expF.More(); expF.Next()) {
-          if (mapF.Add(expF.Current())) {
-            B.Add(Shell, expF.Current());
-            Standard_Real aToler = BRep_Tool::Tolerance(TopoDS::Face(expF.Current()));
-            if (aToler > aTol)
-              aTol = aToler;
-          }
-        }
-        ShHealOper_Sewing aHealer (Shell, aTol);
-        if (aHealer.Perform())
-          aShape = aHealer.GetResultShape();
-        else
-          Standard_ConstructionError::Raise
-            ("Impossible to build a connected shell on the given faces");
-      }
-
-      if (aType == BLOCK_SIX_FACES) {
-        if (!aShape.Closed()) {
-          Standard_ConstructionError::Raise
-            ("Impossible to build a closed shell on the given faces");
-        }
-      }
-
-      TopoDS_Solid Sol;
-      B.MakeSolid(Sol);
-      B.Add(Sol, aShape);
-      BRepClass3d_SolidClassifier SC (Sol);
-      SC.PerformInfinitePoint(prec);
-      if (SC.State() == TopAbs_IN) {
-        B.MakeSolid(Sol);
-        B.Add(Sol, aShape.Reversed());
-      }
-      aShape = Sol;
-      BRepLib::SameParameter(aShape, 1.E-5, Standard_True);
-
-    } else if (aType == BLOCK_COMPOUND_GLUE) {
-
-      // Make blocks compound from a compound
-      if (anArgs(1).ShapeType() != TopAbs_COMPOUND &&
-          anArgs(2).ShapeType() != TopAbs_COMPSOLID) {
-        Standard_TypeMismatch::Raise("Not a compound given");
-      }
-
-      TopoDS_Shape aCompound = anArgs(1);
-
-      // Glue coincident faces and edges (with Partition algorithm).
-      NMTAlgo_Splitter1 PS;
-      PS.AddShape(aCompound);
-      PS.Compute();
-      PS.SetRemoveWebs(Standard_False);
-//      PS.Build(aCompound.ShapeType());
-      PS.Build(TopAbs_SOLID);
-
-      aShape = PS.Shape();
-    } else {
-    }
-
-  } else { // Multi-transformations and compound improving
-
-    if (aType == BLOCK_REMOVE_EXTRA ||
-        aType == BLOCK_COMPOUND_IMPROVE) {
-
-      GEOMImpl_IBlockTrsf aCI (aFunction);
-      Handle(GEOM_Function) aRefShape = aCI.GetOriginal();
-      TopoDS_Shape aBlockOrComp = aRefShape->GetValue();
-      if (aBlockOrComp.IsNull()) {
-        Standard_NullObject::Raise("Null Shape given");
-      }
-
-      // 1. Improve solids with seam and/or degenerated edges
-      BlockFix_BlockFixAPI aTool;
-      //aTool.Tolerance() = toler;
-      aTool.SetShape(aBlockOrComp);
-      aTool.Perform();
-
-      if (aType == BLOCK_REMOVE_EXTRA) {
-
-        aShape = aTool.Shape();
-        if (aShape == aBlockOrComp) {
-          MESSAGE("No modifications have been done");
-        }
-
-      } else { // aType == BLOCK_COMPOUND_IMPROVE
-
-        TopoDS_Shape aFixedExtra = aTool.Shape();
-
-        // 2. Separate non-blocks
-        TopTools_ListOfShape BLO; // All blocks from the given compound
-        TopTools_ListOfShape NOT; // Not blocks
-        TopTools_ListOfShape EXT; // Hexahedral solids, having degenerated and/or seam edges
-        GEOMImpl_IBlocksOperations::AddBlocksFrom(aFixedExtra, BLO, NOT, EXT);
-
-        if (NOT.Extent() > 0) {
-          MESSAGE("Some non-blocks have been removed");
-        }
-
-        // 3. Warn about staying extra-edges
-        if (EXT.Extent() > 0) {
-          MESSAGE("Warning: Not all seam or degenerated edges was removed");
-        }
-
-        // ??? Throw away standalone blocks ???
-
-        // 4. Create compound of all blocks
-        TopoDS_Compound aComp;
-        BRep_Builder BB;
-        BB.MakeCompound(aComp);
-        TopTools_ListIteratorOfListOfShape BLOit (BLO);
-        for (; BLOit.More(); BLOit.Next()) {
-          BB.Add(aComp, BLOit.Value());
-        }
-
-        // 5. Glue Faces
-        aShape = GEOMImpl_GlueDriver::GlueFaces(aComp, Precision::Confusion());
-      }
-
-    } else if (aType == BLOCK_MULTI_TRANSFORM_1D ||
-               aType == BLOCK_MULTI_TRANSFORM_2D) {
-
-      TopoDS_Shape aMulti;
-      GEOMImpl_IBlockTrsf aCI (aFunction);
-      Handle(GEOM_Function) aRefShape = aCI.GetOriginal();
-      TopoDS_Shape aBlockIni = aRefShape->GetValue();
-      if (aBlockIni.IsNull()) {
-        Standard_NullObject::Raise("Null Block");
-      }
-
-      // Copy block to avoid problems (PAL6706)
-      TColStd_IndexedDataMapOfTransientTransient aMap;
-      TopoDS_Shape aBlock;
-      TNaming_CopyShape::CopyTool(aBlockIni, aMap, aBlock);
-
-      // Block tolerance in vertices
-      Standard_Real aTol = prec;
-      TopExp_Explorer expV (aBlock, TopAbs_VERTEX);
-      TopTools_MapOfShape mapShape;
-      for (; expV.More(); expV.Next()) {
-        if (mapShape.Add(expV.Current())) {
-          TopoDS_Vertex aV = TopoDS::Vertex(expV.Current());
-          aTol = Max(BRep_Tool::Tolerance(aV), aTol);
-        }
-      }
-
-      if (aType == BLOCK_MULTI_TRANSFORM_1D) {
-        // Retrieve a faces by Ids
-        Standard_Integer aFace1Id = aCI.GetFace1U();
-        Standard_Integer aFace2Id = aCI.GetFace2U();
-        TopoDS_Shape aFace1, aFace2;
-        if (!GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace1Id, aFace1)) {
-          Standard_NullObject::Raise("Can not retrieve a sub-shape with given Id");
-        }
-        if (aFace1.ShapeType() != TopAbs_FACE) {
-          Standard_TypeMismatch::Raise("Sub-shape with given Id is not a face");
-        }
-
-        if (aFace2Id > 0) {
-          if (!GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace2Id, aFace2)) {
-            Standard_NullObject::Raise("Can not retrieve a sub-shape with given Id");
-          }
-          if (aFace2.ShapeType() != TopAbs_FACE) {
-            Standard_TypeMismatch::Raise("Sub-shape with given Id is not a face");
-          }
-        }
-
-        Standard_Integer aNbIter = aCI.GetNbIterU();
-
-        MultiTransformate1D(aBlock, aFace1, aFace2, aNbIter, aMulti);
-
-      } else { // aType == BLOCK_MULTI_TRANSFORM_2D
-        // Retrieve a faces by Ids
-        Standard_Integer aFace1UId = aCI.GetFace1U();
-        Standard_Integer aFace2UId = aCI.GetFace2U();
-        Standard_Integer aFace1VId = aCI.GetFace1V();
-        Standard_Integer aFace2VId = aCI.GetFace2V();
-
-        TopoDS_Shape aFace1U, aFace2U, aFace1V, aFace2V;
-        if (!GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace1UId, aFace1U) ||
-            !GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace1VId, aFace1V)) {
-          Standard_NullObject::Raise("Can not retrieve a sub-shape with given Id");
-        }
-
-        if (aFace1U.ShapeType() != TopAbs_FACE ||
-            aFace1V.ShapeType() != TopAbs_FACE) {
-          Standard_TypeMismatch::Raise("Sub-shape with given Id is not a face");
-        }
-
-        if (aFace2UId > 0) {
-          if (!GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace2UId, aFace2U)) {
-            Standard_NullObject::Raise("Can not retrieve a sub-shape with given Id");
-          }
-
-          if (aFace2U.ShapeType() != TopAbs_FACE) {
-            Standard_TypeMismatch::Raise("Sub-shape with given Id is not a face");
-          }
-        }
-
-        if (aFace2VId > 0) {
-          if (!GEOMImpl_ILocalOperations::GetSubShape(aBlock, aFace2VId, aFace2V)) {
-            Standard_NullObject::Raise("Can not retrieve a sub-shape with given Id");
-          }
-
-          if (aFace2V.ShapeType() != TopAbs_FACE) {
-            Standard_TypeMismatch::Raise("Sub-shape with given Id is not a face");
-          }
-        }
-
-        Standard_Integer aNbIterU = aCI.GetNbIterU();
-        Standard_Integer aNbIterV = aCI.GetNbIterV();
-
-        MultiTransformate2D(aBlock,
-                            aFace1U, aFace2U, aNbIterU,
-                            aFace1V, aFace2V, aNbIterV, aMulti);
-      }
-
-      if (aMulti.IsNull()) {
-        StdFail_NotDone::Raise("Multi-transformation failed");
-      }
-
-      // Glue faces of the multi-block
-      aShape = GEOMImpl_GlueDriver::GlueFaces(aMulti, aTol);
-
-    } else { // unknown function type
-      return 0;
-    }
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-//=======================================================================
-//function :  MultiTransformate1D
-//purpose  :
-//=======================================================================
-void GEOMImpl_BlockDriver::MultiTransformate1D (const TopoDS_Shape&    theBlock,
-                                                const TopoDS_Shape&    theFace1,
-                                                const TopoDS_Shape&    theFace2,
-                                                const Standard_Integer theNbIter,
-                                                TopoDS_Shape&          theResult) const
-{
-  // Construct Tool, where <theFace1> will be the first face,
-  // and a face, opposite to <theFace1>, will be the second face
-  GEOMImpl_Block6Explorer aBlockTool;
-  aBlockTool.InitByBlockAndFace(theBlock, theFace1);
-
-  // Find IDs of the faces
-  Standard_Integer dir_face1 = 1, dir_face2 = 2;
-  if (!theFace2.IsNull()) {
-    dir_face2 = aBlockTool.GetFaceID(theFace2);
-  }
-
-  // Find three pairs of points
-  Standard_Integer v11_id = 0, v12_id = 0, v13_id = 0; // vertices of the first face
-  Standard_Integer v21_id = 0, v22_id = 0, v23_id = 0; // vertices of the second face
-
-  if (dir_face2 == 2) { // <theFace2> is opposite to <theFace1>
-
-    // We will take vertices with equal local numbers on the faces,
-    // as the Block6Explorer gives equal local numbers
-    // to the linked vertices on the opposite faces,
-    // i.e. v1* is linked with the v2* by an edge:
-
-    //          _________
-    //        /|v23     /|
-    //       / |       / |    dir_face1 - bottom
-    //      /  |      /  |
-    //     /________ /   |    dir_face2 - top
-    //    |v21 |    |v22 |
-    //    |    |____|____|
-    //    |   / v13 |   /
-    //    |  /      |  /
-    //    | /       | /
-    //    |/________|/
-    //     v11       v12
-
-    v11_id = aBlockTool.GetVertexID(dir_face1, 1);
-    v12_id = aBlockTool.GetVertexID(dir_face1, 2);
-    v13_id = aBlockTool.GetVertexID(dir_face1, 4);
-
-    v21_id = aBlockTool.GetVertexID(dir_face2, 1);
-    v22_id = aBlockTool.GetVertexID(dir_face2, 2);
-    v23_id = aBlockTool.GetVertexID(dir_face2, 4);
-
-  } else {
-
-    //          _________
-    //        /|        /|
-    //       / |       / |    dir_face1 - bottom
-    //      /  |      /  |
-    //     /________ /   |    dir_face2 - right (for example)
-    //    |    |    |v23 |
-    //    |    |____|____|
-    //    |   /     |   /v12 = v22 (common_vertex2)
-    //    |  /      |  /
-    //    | /       | /
-    //    |/________|/
-    //     v13       v11 = v21 (common_vertex1)
-
-    Standard_Integer common_edge_id = aBlockTool.FindCommonEdgeID(dir_face1, dir_face2);
-    Standard_Integer common_vertex1 = aBlockTool.GetVertexOnEdgeID(common_edge_id, 1);
-    Standard_Integer common_vertex2 = aBlockTool.GetVertexOnEdgeID(common_edge_id, 2);
-
-    Standard_Integer not_common_v1 = 0;
-    Standard_Integer vid = 1;
-    Standard_Boolean isFound = Standard_False;
-    while (!isFound && vid <= 4) {
-      not_common_v1 = aBlockTool.GetVertexID(dir_face1, vid);
-      isFound = (not_common_v1 != common_vertex2 &&
-                 aBlockTool.FindEdgeID(not_common_v1, common_vertex1) != 0);
-      vid++;
-    }
-
-    Standard_Integer not_common_v2 = 0;
-    vid = 1;
-    isFound = Standard_False;
-    while (!isFound && vid <= 4) {
-      not_common_v2 = aBlockTool.GetVertexID(dir_face2, vid);
-      isFound = (not_common_v2 != common_vertex2 &&
-                 aBlockTool.FindEdgeID(not_common_v2, common_vertex1) != 0);
-      vid++;
-    }
-
-    v11_id = common_vertex1;
-    v12_id = common_vertex2;
-    v13_id = not_common_v1;
-
-    v21_id = common_vertex1;
-    v22_id = common_vertex2;
-    v23_id = not_common_v2;
-  }
-
-  // Construct a transformation operator
-  TopoDS_Vertex V11 = TopoDS::Vertex(aBlockTool.GetVertex(v11_id));
-  TopoDS_Vertex V12 = TopoDS::Vertex(aBlockTool.GetVertex(v12_id));
-  TopoDS_Vertex V13 = TopoDS::Vertex(aBlockTool.GetVertex(v13_id));
-
-  TopoDS_Vertex V21 = TopoDS::Vertex(aBlockTool.GetVertex(v21_id));
-  TopoDS_Vertex V22 = TopoDS::Vertex(aBlockTool.GetVertex(v22_id));
-  TopoDS_Vertex V23 = TopoDS::Vertex(aBlockTool.GetVertex(v23_id));
-
-  // Axes of the first direction face
-  gp_Pnt P1 = BRep_Tool::Pnt(V11);
-  gp_Vec VecN1 (P1, BRep_Tool::Pnt(V12));
-  gp_Vec VecX1 (P1, BRep_Tool::Pnt(V13));
-  gp_Ax3 Ax1 (P1, VecN1, VecX1);
-
-  // Axes of the second direction face
-  gp_Pnt P2 = BRep_Tool::Pnt(V21);
-  gp_Vec VecN2 (P2, BRep_Tool::Pnt(V22));
-  gp_Vec VecX2 (P2, BRep_Tool::Pnt(V23));
-  gp_Ax3 Ax2 (P2, VecN2, VecX2);
-
-  gp_Trsf aTrsf;
-  aTrsf.SetDisplacement(Ax1, Ax2);
-
-  // Check, that <theFace2> is similar to <theFace1>.
-  // Actually, we need only to check right position of one
-  // vertex, not involved into the transformation construction.
-  if (!aBlockTool.IsSimilarFaces(dir_face1, dir_face2, aTrsf)) {
-    Standard_ConstructionError::Raise("The direction faces are not similar");
-  }
-
-  // Perform multi-transformation
-  TopoDS_Compound aCompound;
-  BRep_Builder B;
-  B.MakeCompound(aCompound);
-
-  TopoDS_Shape aPrevShape = theBlock;
-  for (Standard_Integer i = 0; i < theNbIter; i++) {
-    B.Add(aCompound, aPrevShape);
-    BRepBuilderAPI_Transform aTransformation (aPrevShape, aTrsf, Standard_False);
-    aPrevShape = aTransformation.Shape();
-  }
-  theResult = aCompound;
-}
-
-//=======================================================================
-//function :  MultiTransformate2D
-//purpose  :
-//=======================================================================
-void GEOMImpl_BlockDriver::MultiTransformate2D (const TopoDS_Shape&    theBlock,
-                                                const TopoDS_Shape&    theFace1U,
-                                                const TopoDS_Shape&    theFace2U,
-                                                const Standard_Integer theNbIterU,
-                                                const TopoDS_Shape&    theFace1V,
-                                                const TopoDS_Shape&    theFace2V,
-                                                const Standard_Integer theNbIterV,
-                                                TopoDS_Shape&          theResult) const
-{
-  // Construct Tool, where <theFace1U> will be the first face,
-  // and a face, opposite to <theFace1U>, will be the second face
-  GEOMImpl_Block6Explorer aBlockTool;
-  aBlockTool.InitByBlockAndFace(theBlock, theFace1U);
-
-  gp_Trsf aTrsfU, aTrsfV;
-  gp_Ax3 Ax1V, Ax2V;
-  for (Standard_Integer uv = 1; uv <= 2; uv++) {
-    // U transformation
-    TopoDS_Shape theFace1 = theFace1U;
-    TopoDS_Shape theFace2 = theFace2U;
-    if (uv == 2) {
-      // V transformation
-      theFace1 = theFace1V;
-      theFace2 = theFace2V;
-    }
-
-    // Find IDs of the faces
-    Standard_Integer dir_face1 = aBlockTool.GetFaceID(theFace1);
-    Standard_Integer dir_face2 = 0;
-    Standard_Integer opp_face1 = aBlockTool.GetOppositeFaceID(dir_face1);
-    if (theFace2.IsNull()) {
-      dir_face2 = opp_face1;
-    } else {
-      dir_face2 = aBlockTool.GetFaceID(theFace2);
-    }
-
-    // Find three pairs of points
-    Standard_Integer v11_id = 0, v12_id = 0, v13_id = 0; // vertices of the first face
-    Standard_Integer v21_id = 0, v22_id = 0, v23_id = 0; // vertices of the second face
-
-    if (dir_face2 == opp_face1) { // <theFace2> is opposite to <theFace1>
-
-      // We will take vertices with equal local numbers on the faces,
-      // as the Block6Explorer gives equal local numbers
-      // to the linked vertices on the opposite faces,
-      // i.e. v1* is linked with the v2* by an edge:
-
-      v11_id = aBlockTool.GetVertexID(dir_face1, 1);
-      v12_id = aBlockTool.GetVertexID(dir_face1, 2);
-      v13_id = aBlockTool.GetVertexID(dir_face1, 4);
-
-      v21_id = aBlockTool.GetVertexID(dir_face2, 1);
-      v22_id = aBlockTool.GetVertexID(dir_face2, 2);
-      v23_id = aBlockTool.GetVertexID(dir_face2, 4);
-
-    } else {
-
-      Standard_Integer common_edge_id = aBlockTool.FindCommonEdgeID(dir_face1, dir_face2);
-      Standard_Integer common_vertex1 = aBlockTool.GetVertexOnEdgeID(common_edge_id, 1);
-      Standard_Integer common_vertex2 = aBlockTool.GetVertexOnEdgeID(common_edge_id, 2);
-
-      Standard_Integer not_common_v1 = 0;
-      Standard_Integer vid = 1;
-      Standard_Boolean isFound = Standard_False;
-      while (!isFound && vid <= 4) {
-        not_common_v1 = aBlockTool.GetVertexID(dir_face1, vid);
-        isFound = (not_common_v1 != common_vertex2 &&
-                   aBlockTool.FindEdgeID(not_common_v1, common_vertex1) != 0);
-        vid++;
-      }
-
-      Standard_Integer not_common_v2 = 0;
-      vid = 1;
-      isFound = Standard_False;
-      while (!isFound && vid <= 4) {
-        not_common_v2 = aBlockTool.GetVertexID(dir_face2, vid);
-        isFound = (not_common_v2 != common_vertex2 &&
-                   aBlockTool.FindEdgeID(not_common_v2, common_vertex1) != 0);
-        vid++;
-      }
-
-      v11_id = common_vertex1;
-      v12_id = common_vertex2;
-      v13_id = not_common_v1;
-
-      v21_id = common_vertex1;
-      v22_id = common_vertex2;
-      v23_id = not_common_v2;
-    }
-
-    // Construct a transformation operator
-    TopoDS_Vertex V11 = TopoDS::Vertex(aBlockTool.GetVertex(v11_id));
-    TopoDS_Vertex V12 = TopoDS::Vertex(aBlockTool.GetVertex(v12_id));
-    TopoDS_Vertex V13 = TopoDS::Vertex(aBlockTool.GetVertex(v13_id));
-
-    TopoDS_Vertex V21 = TopoDS::Vertex(aBlockTool.GetVertex(v21_id));
-    TopoDS_Vertex V22 = TopoDS::Vertex(aBlockTool.GetVertex(v22_id));
-    TopoDS_Vertex V23 = TopoDS::Vertex(aBlockTool.GetVertex(v23_id));
-
-    // Axes of the first direction face
-    gp_Pnt P1 = BRep_Tool::Pnt(V11);
-    gp_Vec VecN1 (P1, BRep_Tool::Pnt(V12));
-    gp_Vec VecX1 (P1, BRep_Tool::Pnt(V13));
-    gp_Ax3 Ax1 (P1, VecN1, VecX1);
-
-    // Axes of the second direction face
-    gp_Pnt P2 = BRep_Tool::Pnt(V21);
-    gp_Vec VecN2 (P2, BRep_Tool::Pnt(V22));
-    gp_Vec VecX2 (P2, BRep_Tool::Pnt(V23));
-    gp_Ax3 Ax2 (P2, VecN2, VecX2);
-
-    gp_Trsf aTrsf;
-    aTrsf.SetDisplacement(Ax1, Ax2);
-    if (uv == 1) {
-      aTrsfU = aTrsf;
-    } else {
-      aTrsfV = aTrsf;
-      Ax1V = Ax1;
-      Ax2V = Ax2;
-    }
-
-    // Check, that <theFace2> is similar to <theFace1>.
-    // Actually, we need only to check right position of one
-    // vertex, not involved into the transformation construction.
-    if (!aBlockTool.IsSimilarFaces(dir_face1, dir_face2, aTrsf)) {
-      Standard_ConstructionError::Raise("The direction faces are not similar");
-    }
-  }
-
-  // Perform multi-transformation
-  TopoDS_Compound aCompound;
-  BRep_Builder B;
-  B.MakeCompound(aCompound);
-
-  TopoDS_Shape aPrevShapeU = theBlock;
-  for (int i = 0; i < theNbIterU; i++) {
-    TopoDS_Shape aPrevShapeV = aPrevShapeU;
-    for (int j = 0; j < theNbIterV; j++) {
-      B.Add(aCompound, aPrevShapeV);
-      BRepBuilderAPI_Transform aTransformationV (aPrevShapeV, aTrsfV, Standard_False);
-      aPrevShapeV = aTransformationV.Shape();
-    }
-    BRepBuilderAPI_Transform aTransformationU (aPrevShapeU, aTrsfU, Standard_False);
-    aPrevShapeU = aTransformationU.Shape();
-    // Correction of the second transformation according to the first transformation
-    Ax1V.Transform(aTrsfU);
-    Ax2V.Transform(aTrsfU);
-    aTrsfV.SetDisplacement(Ax1V, Ax2V);
-    // Correction done
-  }
-  theResult = aCompound;
-}
-
-//=======================================================================
-//function :  GEOMImpl_BlockDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_BlockDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_BlockDriver",
-                                                         sizeof(GEOMImpl_BlockDriver),
-                                                         1,
-                                                         (Standard_Address)_Ancestors,
-                                                         (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_BlockDriver) Handle(GEOMImpl_BlockDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_BlockDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_BlockDriver))) {
-       _anOtherObject = Handle(GEOMImpl_BlockDriver)((Handle(GEOMImpl_BlockDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_BlockDriver.hxx b/src/GEOMImpl/GEOMImpl_BlockDriver.hxx
deleted file mode 100644 (file)
index 8d78a46..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-//  File   : GEOMImpl_BlockDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_BlockDriver_HeaderFile
-#define _GEOMImpl_BlockDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_BlockDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_BlockDriver);
-
-class Handle(GEOMImpl_BlockDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
-    Handle(GEOMImpl_BlockDriver)():Handle(TFunction_Driver)() {}
-    Handle(GEOMImpl_BlockDriver)(const Handle(GEOMImpl_BlockDriver)& aHandle) : Handle(TFunction_Driver)(aHandle)
-     {
-     }
-
-    Handle(GEOMImpl_BlockDriver)(const GEOMImpl_BlockDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem)
-     {
-     }
-
-    Handle(GEOMImpl_BlockDriver)& operator=(const Handle(GEOMImpl_BlockDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_BlockDriver)& operator=(const GEOMImpl_BlockDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_BlockDriver* operator->()
-     {
-      return (GEOMImpl_BlockDriver *)ControlAccess();
-     }
-
-    GEOMImpl_BlockDriver* operator->() const
-     {
-      return (GEOMImpl_BlockDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_BlockDriver)() {};
-
-   Standard_EXPORT static const Handle(GEOMImpl_BlockDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-#include <TopoDS_Shape.hxx>
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_BlockDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
- // Methods PUBLIC
- //
-Standard_EXPORT GEOMImpl_BlockDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const;
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_BlockDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_BlockDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_BlockDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_BlockDriver) == AType || TFunction_Driver::IsKind(AType)); }
-
-private:
-    void MultiTransformate1D (const TopoDS_Shape&    theBlock,
-                              const TopoDS_Shape&    theFace1,
-                              const TopoDS_Shape&    theFace2,
-                              const Standard_Integer theNbIter,
-                              TopoDS_Shape&          theResult) const;
-
-    void MultiTransformate2D (const TopoDS_Shape&    theBlock,
-                              const TopoDS_Shape&    theFace1U,
-                              const TopoDS_Shape&    theFace2U,
-                              const Standard_Integer theNbIterU,
-                              const TopoDS_Shape&    theFace1V,
-                              const TopoDS_Shape&    theFace2V,
-                              const Standard_Integer theNbIterV,
-                              TopoDS_Shape&          theResult) const;
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_BooleanDriver.cxx b/src/GEOMImpl/GEOMImpl_BooleanDriver.cxx
deleted file mode 100644 (file)
index 53be70d..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_BooleanDriver.hxx>
-#include <GEOMImpl_IBoolean.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepAlgo.hxx>
-#include <BRepAlgoAPI_Common.hxx>
-#include <BRepAlgoAPI_Cut.hxx>
-#include <BRepAlgoAPI_Fuse.hxx>
-#include <BRepAlgoAPI_Section.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <Standard_ConstructionError.hxx>
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_BooleanDriver::GetID()
-{
-  static Standard_GUID aBooleanDriver("FF1BBB21-5D14-4df2-980B-3A668264EA16");
-  return aBooleanDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_BooleanDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_BooleanDriver::GEOMImpl_BooleanDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_BooleanDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IBoolean aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  Handle(GEOM_Function) aRefShape1 = aCI.GetShape1();
-  Handle(GEOM_Function) aRefShape2 = aCI.GetShape2();
-  TopoDS_Shape aShape1 = aRefShape1->GetValue();
-  TopoDS_Shape aShape2 = aRefShape2->GetValue();
-  if (!aShape1.IsNull() && !aShape2.IsNull()) {
-    if (aType == BOOLEAN_COMMON) {
-      BRepAlgoAPI_Common BO (aShape1, aShape2);
-//      BO.Build();
-      if (!BO.IsDone()) {
-        StdFail_NotDone::Raise("Requested boolean operation can not be performed on the given shapes");
-      }
-      aShape = BO.Shape();
-    } else if (aType == BOOLEAN_CUT) {
-      BRepAlgoAPI_Cut BO (aShape1, aShape2);
-      if (!BO.IsDone()) {
-        StdFail_NotDone::Raise("Requested boolean operation can not be performed on the given shapes");
-      }
-      aShape = BO.Shape();
-    } else if (aType == BOOLEAN_FUSE) {
-      BRepAlgoAPI_Fuse BO (aShape1, aShape2);
-      if (!BO.IsDone()) {
-        StdFail_NotDone::Raise("Requested boolean operation can not be performed on the given shapes");
-      }
-      aShape = BO.Shape();
-    } else if (aType == BOOLEAN_SECTION) {
-      BRepAlgoAPI_Section BO (aShape1, aShape2);
-      if (!BO.IsDone()) {
-        StdFail_NotDone::Raise("Requested boolean operation can not be performed on the given shapes");
-      }
-      aShape = BO.Shape();
-    } else {
-    }
-  }
-
-  if (aShape.IsNull()) return 0;
-  if (!BRepAlgo::IsValid(aShape)) {
-    Standard_ConstructionError::Raise("Boolean aborted : non valid shape result");
-  }
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_BooleanDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_BooleanDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_BooleanDriver",
-                                                        sizeof(GEOMImpl_BooleanDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_BooleanDriver) Handle(GEOMImpl_BooleanDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_BooleanDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_BooleanDriver))) {
-       _anOtherObject = Handle(GEOMImpl_BooleanDriver)((Handle(GEOMImpl_BooleanDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_BooleanDriver.hxx b/src/GEOMImpl/GEOMImpl_BooleanDriver.hxx
deleted file mode 100644 (file)
index 72163fb..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_BooleanDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_BooleanDriver_HeaderFile
-#define _GEOMImpl_BooleanDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_BooleanDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_BooleanDriver);
-
-class Handle(GEOMImpl_BooleanDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_BooleanDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_BooleanDriver)(const Handle(GEOMImpl_BooleanDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_BooleanDriver)(const GEOMImpl_BooleanDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_BooleanDriver)& operator=(const Handle(GEOMImpl_BooleanDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_BooleanDriver)& operator=(const GEOMImpl_BooleanDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_BooleanDriver* operator->() 
-     {
-      return (GEOMImpl_BooleanDriver *)ControlAccess();
-     }
-
-    GEOMImpl_BooleanDriver* operator->() const 
-     {
-      return (GEOMImpl_BooleanDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_BooleanDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_BooleanDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_BooleanDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_BooleanDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_BooleanDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_BooleanDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_BooleanDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_BooleanDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_BoxDriver.cxx b/src/GEOMImpl/GEOMImpl_BoxDriver.cxx
deleted file mode 100644 (file)
index 0ea8ec5..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_BoxDriver.hxx>
-#include <GEOMImpl_IBox.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeBox.hxx>
-#include <BRep_Tool.hxx>
-#include <gp_Pnt.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_BoxDriver::GetID()
-{
-  static Standard_GUID aBoxDriver("FF1BBB13-5D14-4df2-980B-3A668264EA16");
-  return aBoxDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_BoxDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_BoxDriver::GEOMImpl_BoxDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_BoxDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IBox aBI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == BOX_DX_DY_DZ) {
-    BRepPrimAPI_MakeBox MB (aBI.GetDX(), aBI.GetDY(), aBI.GetDZ());
-    MB.Build();
-
-    if (!MB.IsDone()) {
-      StdFail_NotDone::Raise("Box with the given dimensions can not be computed");
-    }
-    aShape = MB.Shape();
-  }
-  else if (aType == BOX_TWO_PNT) {
-    Handle(GEOM_Function) aRefPoint1 = aBI.GetRef1();
-    Handle(GEOM_Function) aRefPoint2 = aBI.GetRef2();
-    TopoDS_Shape aShape1 = aRefPoint1->GetValue();
-    TopoDS_Shape aShape2 = aRefPoint2->GetValue();
-    if (aShape1.ShapeType() == TopAbs_VERTEX &&
-        aShape2.ShapeType() == TopAbs_VERTEX) {
-      gp_Pnt P1 = BRep_Tool::Pnt(TopoDS::Vertex(aShape1));
-      gp_Pnt P2 = BRep_Tool::Pnt(TopoDS::Vertex(aShape2));
-      BRepPrimAPI_MakeBox MB (P1,P2);
-      MB.Build();
-
-      if (!MB.IsDone()) {
-        StdFail_NotDone::Raise("Box can not be computed from the given point");
-      }
-      aShape = MB.Shape();
-    }
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_BoxDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_BoxDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_BoxDriver",
-                                                        sizeof(GEOMImpl_BoxDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_BoxDriver) Handle(GEOMImpl_BoxDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_BoxDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_BoxDriver))) {
-       _anOtherObject = Handle(GEOMImpl_BoxDriver)((Handle(GEOMImpl_BoxDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_BoxDriver.hxx b/src/GEOMImpl/GEOMImpl_BoxDriver.hxx
deleted file mode 100644 (file)
index 104bff7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_BoxDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_BoxDriver_HeaderFile
-#define _GEOMImpl_BoxDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_BoxDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_BoxDriver);
-
-class Handle(GEOMImpl_BoxDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_BoxDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_BoxDriver)(const Handle(GEOMImpl_BoxDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_BoxDriver)(const GEOMImpl_BoxDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_BoxDriver)& operator=(const Handle(GEOMImpl_BoxDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_BoxDriver)& operator=(const GEOMImpl_BoxDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_BoxDriver* operator->() 
-     {
-      return (GEOMImpl_BoxDriver *)ControlAccess();
-     }
-
-    GEOMImpl_BoxDriver* operator->() const 
-     {
-      return (GEOMImpl_BoxDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_BoxDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_BoxDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_BoxDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_BoxDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_BoxDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_BoxDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_BoxDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_BoxDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ChamferDriver.cxx b/src/GEOMImpl/GEOMImpl_ChamferDriver.cxx
deleted file mode 100644 (file)
index 2d17149..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ChamferDriver.hxx>
-#include <GEOMImpl_IChamfer.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_ILocalOperations.hxx>
-#include <GEOM_Function.hxx>
-#include <GEOMImpl_Block6Explorer.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepTools.hxx>
-#include <BRepFilletAPI_MakeChamfer.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_ChamferDriver::GetID()
-{
-  static Standard_GUID aChamferDriver("FF1BBB42-5D14-4df2-980B-3A668264EA16");
-  return aChamferDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ChamferDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_ChamferDriver::GEOMImpl_ChamferDriver()
-{
-}
-
-//=======================================================================
-//function : isGoodForChamfer
-//purpose  :
-//=======================================================================
-static Standard_Boolean isGoodForChamfer (const TopoDS_Shape& theShape)
-{
-  if (theShape.ShapeType() == TopAbs_SHELL ||
-      theShape.ShapeType() == TopAbs_SOLID ||
-      theShape.ShapeType() == TopAbs_COMPSOLID) {
-    return Standard_True;
-  }
-
-  if (theShape.ShapeType() == TopAbs_COMPOUND) {
-    TopTools_MapOfShape mapShape;
-    TopoDS_Iterator It (theShape, Standard_False, Standard_False);
-    for (; It.More(); It.Next()) {
-      if (mapShape.Add(It.Value())) {
-        if (!isGoodForChamfer(It.Value())) {
-          return Standard_False;
-        }
-      }
-    }
-    return Standard_True;
-  }
-
-  return Standard_False;
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_ChamferDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IChamfer aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  Handle(GEOM_Function) aRefShape = aCI.GetShape();
-  TopoDS_Shape aShapeBase = aRefShape->GetValue();
-
-  // Check the shape type. It have to be shell
-  // or solid, or compsolid, or compound of these shapes.
-  if (!isGoodForChamfer(aShapeBase)) {
-    StdFail_NotDone::Raise
-      ("Wrong shape. Must be shell or solid, or compsolid or compound of these shapes");
-  }
-
-  BRepFilletAPI_MakeChamfer fill (aShapeBase);
-
-  if (aType == CHAMFER_SHAPE_ALL) {
-    // symmetric chamfer on all edges
-    double aD = aCI.GetD();
-    TopTools_IndexedDataMapOfShapeListOfShape M;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors(aShapeBase, TopAbs_EDGE, TopAbs_FACE, M);
-    for (int i = 1; i <= M.Extent(); i++) {
-      TopoDS_Edge E = TopoDS::Edge(M.FindKey(i));
-      TopoDS_Face F = TopoDS::Face(M.FindFromIndex(i).First());
-      if (!BRepTools::IsReallyClosed(E, F) &&
-          !BRep_Tool::Degenerated(E) &&
-          M.FindFromIndex(i).Extent() == 2)
-        fill.Add(aD, E, F);
-    }
-  } else if (aType == CHAMFER_SHAPE_EDGE) {
-    // chamfer on edges, common to two faces, with D1 on the first face
-    double aD1 = aCI.GetD1();
-    double aD2 = aCI.GetD2();
-    TopoDS_Shape aFace1, aFace2;
-    if (GEOMImpl_ILocalOperations::GetSubShape(aShapeBase, aCI.GetFace1(), aFace1) &&
-        GEOMImpl_ILocalOperations::GetSubShape(aShapeBase, aCI.GetFace2(), aFace2)) {
-      TopoDS_Face F = TopoDS::Face(aFace1);
-
-      // fill map of edges of the second face
-      TopTools_MapOfShape aMap;
-      TopExp_Explorer Exp2 (aFace2, TopAbs_EDGE);
-      for (; Exp2.More(); Exp2.Next()) {
-        aMap.Add(Exp2.Current());
-      }
-
-      // find edges of the first face, common with the second face
-      TopExp_Explorer Exp (aFace1, TopAbs_EDGE);
-      for (; Exp.More(); Exp.Next()) {
-        if (aMap.Contains(Exp.Current())) {
-          TopoDS_Edge E = TopoDS::Edge(Exp.Current());
-          if (!BRepTools::IsReallyClosed(E, F) && !BRep_Tool::Degenerated(E))
-            fill.Add(aD1, aD2, E, F);
-        }
-      }
-    }
-  } else if (aType == CHAMFER_SHAPE_FACES) {
-    // chamfer on all edges of the selected faces, with D1 on the selected face
-    // (on first selected face, if the edge belongs to two selected faces)
-    double aD1 = aCI.GetD1();
-    double aD2 = aCI.GetD2();
-    int aLen = aCI.GetLength();
-    int ind = 1;
-    TopTools_MapOfShape aMap;
-    TopTools_IndexedDataMapOfShapeListOfShape M;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors(aShapeBase, TopAbs_EDGE, TopAbs_FACE, M);
-    for (; ind <= aLen; ind++)
-    {
-      TopoDS_Shape aShapeFace;
-      if (GEOMImpl_ILocalOperations::GetSubShape
-          (aShapeBase, aCI.GetFace(ind), aShapeFace)) {
-        TopoDS_Face F = TopoDS::Face(aShapeFace);
-        TopExp_Explorer Exp (F, TopAbs_EDGE);
-        for (; Exp.More(); Exp.Next()) {
-          if (!aMap.Contains(Exp.Current())) {
-            TopoDS_Edge E = TopoDS::Edge(Exp.Current());
-            if (!BRepTools::IsReallyClosed(E, F) &&
-                !BRep_Tool::Degenerated(E) &&
-                M.FindFromKey(E).Extent() == 2)
-              fill.Add(aD1, aD2, E, F);
-          }
-        }
-      }
-    }
-  } else {
-  }
-
-  fill.Build();
-  if (!fill.IsDone()) {
-    StdFail_NotDone::Raise("Chamfer can not be computed on the given shape with the given parameters");
-  }
-  aShape = fill.Shape();
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ChamferDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ChamferDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ChamferDriver",
-                                                        sizeof(GEOMImpl_ChamferDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_ChamferDriver) Handle(GEOMImpl_ChamferDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ChamferDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ChamferDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ChamferDriver)((Handle(GEOMImpl_ChamferDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ChamferDriver.hxx b/src/GEOMImpl/GEOMImpl_ChamferDriver.hxx
deleted file mode 100644 (file)
index 72e2ef4..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ChamferDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ChamferDriver_HeaderFile
-#define _GEOMImpl_ChamferDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ChamferDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ChamferDriver);
-
-class Handle(GEOMImpl_ChamferDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ChamferDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ChamferDriver)(const Handle(GEOMImpl_ChamferDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ChamferDriver)(const GEOMImpl_ChamferDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ChamferDriver)& operator=(const Handle(GEOMImpl_ChamferDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ChamferDriver)& operator=(const GEOMImpl_ChamferDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ChamferDriver* operator->() 
-     {
-      return (GEOMImpl_ChamferDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ChamferDriver* operator->() const 
-     {
-      return (GEOMImpl_ChamferDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ChamferDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ChamferDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ChamferDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ChamferDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ChamferDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ChamferDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ChamferDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ChamferDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_CircleDriver.cxx b/src/GEOMImpl/GEOMImpl_CircleDriver.cxx
deleted file mode 100644 (file)
index 998c638..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_CircleDriver.hxx>
-#include <GEOMImpl_ICircle.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <GC_MakeCircle.hxx>
-#include <Geom_Circle.hxx>
-
-#include <Standard_ConstructionError.hxx>
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec.hxx>
-#include <gp_Circ.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_CircleDriver::GetID()
-{
-  static Standard_GUID aCircleDriver("FF1BBB32-5D14-4df2-980B-3A668264EA16");
-  return aCircleDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_CircleDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_CircleDriver::GEOMImpl_CircleDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_CircleDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ICircle aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == CIRCLE_PNT_VEC_R) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetCenter();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapePnt.ShapeType() == TopAbs_VERTEX &&
-        aShapeVec.ShapeType() == TopAbs_EDGE) {
-      gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-      TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-      TopoDS_Vertex V1, V2;
-      TopExp::Vertices(anE, V1, V2, Standard_True);
-      if (!V1.IsNull() && !V2.IsNull()) {
-        gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-        gp_Ax2 anAxes (aP, aV);
-        gp_Circ aCirc (anAxes, aCI.GetRadius());
-        aShape = BRepBuilderAPI_MakeEdge(aCirc).Edge();
-      }
-    }
-  }
-  else if (aType == CIRCLE_THREE_PNT) {
-    Handle(GEOM_Function) aRefPoint1 = aCI.GetPoint1();
-    Handle(GEOM_Function) aRefPoint2 = aCI.GetPoint2();
-    Handle(GEOM_Function) aRefPoint3 = aCI.GetPoint3();
-    TopoDS_Shape aShapePnt1 = aRefPoint1->GetValue();
-    TopoDS_Shape aShapePnt2 = aRefPoint2->GetValue();
-    TopoDS_Shape aShapePnt3 = aRefPoint3->GetValue();
-    if (aShapePnt1.ShapeType() == TopAbs_VERTEX &&
-        aShapePnt2.ShapeType() == TopAbs_VERTEX &&
-        aShapePnt3.ShapeType() == TopAbs_VERTEX) {
-      gp_Pnt aP1 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt1));
-      gp_Pnt aP2 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt2));
-      gp_Pnt aP3 = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt3));
-      if (aP1.Distance(aP2) < gp::Resolution() ||
-          aP1.Distance(aP3) < gp::Resolution() ||
-          aP2.Distance(aP3) < gp::Resolution())
-        Standard_ConstructionError::Raise("Circle creation aborted: coincident points given");
-      if (gp_Vec(aP1, aP2).IsParallel(gp_Vec(aP1, aP3), Precision::Angular()))
-        Standard_ConstructionError::Raise("Circle creation aborted: points lay on one line");
-      Handle(Geom_Circle) aCirc = GC_MakeCircle(aP1, aP2, aP3).Value();
-      aShape = BRepBuilderAPI_MakeEdge(aCirc).Edge();
-    }
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_CircleDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_CircleDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_CircleDriver",
-                                                        sizeof(GEOMImpl_CircleDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_CircleDriver) Handle(GEOMImpl_CircleDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_CircleDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_CircleDriver))) {
-       _anOtherObject = Handle(GEOMImpl_CircleDriver)((Handle(GEOMImpl_CircleDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_CircleDriver.hxx b/src/GEOMImpl/GEOMImpl_CircleDriver.hxx
deleted file mode 100644 (file)
index f28cadc..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_CircleDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_CircleDriver_HeaderFile
-#define _GEOMImpl_CircleDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_CircleDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_CircleDriver);
-
-class Handle(GEOMImpl_CircleDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_CircleDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_CircleDriver)(const Handle(GEOMImpl_CircleDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_CircleDriver)(const GEOMImpl_CircleDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_CircleDriver)& operator=(const Handle(GEOMImpl_CircleDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_CircleDriver)& operator=(const GEOMImpl_CircleDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_CircleDriver* operator->() 
-     {
-      return (GEOMImpl_CircleDriver *)ControlAccess();
-     }
-
-    GEOMImpl_CircleDriver* operator->() const 
-     {
-      return (GEOMImpl_CircleDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_CircleDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_CircleDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_CircleDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_CircleDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_CircleDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_CircleDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_CircleDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_CircleDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ConeDriver.cxx b/src/GEOMImpl/GEOMImpl_ConeDriver.cxx
deleted file mode 100644 (file)
index 57e8f53..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ConeDriver.hxx>
-#include <GEOMImpl_ICone.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeCone.hxx>
-#include <BRepPrimAPI_MakeCylinder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_NullObject.hxx>
-#include <StdFail_NotDone.hxx>
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <gp.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_ConeDriver::GetID()
-{
-  static Standard_GUID aConeDriver("FF1BBB15-5D14-4df2-980B-3A668264EA16");
-  return aConeDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ConeDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_ConeDriver::GEOMImpl_ConeDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_ConeDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ICone aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  gp_Pnt aP;
-  gp_Vec aV;
-
-  Standard_Real aR1 = aCI.GetR1();
-  Standard_Real aR2 = aCI.GetR2();
-
-  if (aType == CONE_R1_R2_H) {
-    aP = gp::Origin();
-    aV = gp::DZ();
-
-  } else if (aType == CONE_PNT_VEC_R1_R2_H) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetPoint();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapePnt.IsNull() || aShapeVec.IsNull()) {
-      Standard_NullObject::Raise
-        ("Cone creation aborted: point or vector is not defined");
-    }
-    if (aShapePnt.ShapeType() != TopAbs_VERTEX ||
-        aShapeVec.ShapeType() != TopAbs_EDGE) {
-      Standard_TypeMismatch::Raise
-        ("Cone creation aborted: point or vector shapes has wrong type");
-    }
-
-    aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-
-    TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (V1.IsNull() || V2.IsNull()) {
-      Standard_NullObject::Raise
-        ("Cylinder creation aborted: vector is not defined");
-    }
-    aV = gp_Vec(BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-
-  } else {
-    return 0;
-  }
-
-  if (aCI.GetH() < 0.0) aV.Reverse();
-  gp_Ax2 anAxes (aP, aV);
-
-  TopoDS_Shape aShape;
-  // Cone does not work if same radius
-  if (fabs(aR1 - aR2) <= Precision::Confusion()) {
-    BRepPrimAPI_MakeCylinder MC (anAxes, (aR1 + aR2)/2.0, Abs(aCI.GetH()));
-    MC.Build();
-    if (!MC.IsDone()) {
-      StdFail_NotDone::Raise("Cylinder can't be computed from the given parameters");
-    }
-    aShape = MC.Shape();
-  } else {
-    BRepPrimAPI_MakeCone MC (anAxes, aCI.GetR1(), aCI.GetR2(), Abs(aCI.GetH()));
-    MC.Build();
-    if (!MC.IsDone()) {
-      StdFail_NotDone::Raise("Cylinder can't be computed from the given parameters");
-    }
-    aShape = MC.Shape();
-  }
-  if (aShape.IsNull()) return 0;
-
-  log.SetTouched(Label());
-
-  aFunction->SetValue(aShape);
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ConeDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ConeDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ConeDriver",
-                                                        sizeof(GEOMImpl_ConeDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_ConeDriver) Handle(GEOMImpl_ConeDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ConeDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ConeDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ConeDriver)((Handle(GEOMImpl_ConeDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ConeDriver.hxx b/src/GEOMImpl/GEOMImpl_ConeDriver.hxx
deleted file mode 100644 (file)
index 86332dc..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ConeDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ConeDriver_HeaderFile
-#define _GEOMImpl_ConeDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ConeDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ConeDriver);
-
-class Handle(GEOMImpl_ConeDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ConeDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ConeDriver)(const Handle(GEOMImpl_ConeDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ConeDriver)(const GEOMImpl_ConeDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ConeDriver)& operator=(const Handle(GEOMImpl_ConeDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ConeDriver)& operator=(const GEOMImpl_ConeDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ConeDriver* operator->() 
-     {
-      return (GEOMImpl_ConeDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ConeDriver* operator->() const 
-     {
-      return (GEOMImpl_ConeDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ConeDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ConeDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ConeDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ConeDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ConeDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ConeDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ConeDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ConeDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_CopyDriver.cxx b/src/GEOMImpl/GEOMImpl_CopyDriver.cxx
deleted file mode 100644 (file)
index 92ded20..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_CopyDriver.hxx>
-#include <GEOMImpl_ICopy.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <gp_Pnt.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TNaming_CopyShape.hxx>
-#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_CopyDriver::GetID()
-{
-  static Standard_GUID aCopyDriver("FF1BBB53-5D14-4df2-980B-3A668264EA16");
-  return aCopyDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_CopyDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_CopyDriver::GEOMImpl_CopyDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_CopyDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  Standard_Integer aType = aFunction->GetType();
-
-  GEOMImpl_ICopy aCI (aFunction);
-  TopoDS_Shape aCopy;
-  
-  if(aType == COPY_WITH_REF) {
-  
-    Handle(GEOM_Function) aRefFunction = aCI.GetOriginal();
-    if (aRefFunction.IsNull()) return 0;
-    TopoDS_Shape anOriginal = aRefFunction->GetValue();
-
-    TColStd_IndexedDataMapOfTransientTransient aMap;
-  
-    TNaming_CopyShape::CopyTool(anOriginal, aMap, aCopy);
-  }
-  else if(aType == COPY_WITHOUT_REF) {
-    aCopy = aFunction->GetValue();
-  }
-  
-  if (aCopy.IsNull()) return 0;
-
-  aFunction->SetValue(aCopy);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_CopyDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_CopyDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_CopyDriver",
-                                                        sizeof(GEOMImpl_CopyDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_CopyDriver) Handle(GEOMImpl_CopyDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_CopyDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_CopyDriver))) {
-       _anOtherObject = Handle(GEOMImpl_CopyDriver)((Handle(GEOMImpl_CopyDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_CopyDriver.hxx b/src/GEOMImpl/GEOMImpl_CopyDriver.hxx
deleted file mode 100644 (file)
index 5fab4d5..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_CopyDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_CopyDriver_HeaderFile
-#define _GEOMImpl_CopyDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_CopyDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_CopyDriver);
-
-class Handle(GEOMImpl_CopyDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_CopyDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_CopyDriver)(const Handle(GEOMImpl_CopyDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_CopyDriver)(const GEOMImpl_CopyDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_CopyDriver)& operator=(const Handle(GEOMImpl_CopyDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_CopyDriver)& operator=(const GEOMImpl_CopyDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_CopyDriver* operator->() 
-     {
-      return (GEOMImpl_CopyDriver *)ControlAccess();
-     }
-
-    GEOMImpl_CopyDriver* operator->() const 
-     {
-      return (GEOMImpl_CopyDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_CopyDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_CopyDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_CopyDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_CopyDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_CopyDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_CopyDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_CopyDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_CopyDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_CylinderDriver.cxx b/src/GEOMImpl/GEOMImpl_CylinderDriver.cxx
deleted file mode 100644 (file)
index 50e69d2..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_CylinderDriver.hxx>
-#include <GEOMImpl_ICylinder.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeCylinder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_NullObject.hxx>
-#include <StdFail_NotDone.hxx>
-#include <gp_Pnt.hxx>
-#include <gp.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_CylinderDriver::GetID()
-{
-  static Standard_GUID aCylinderDriver("FF1BBB14-5D14-4df2-980B-3A668264EA16");
-  return aCylinderDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_CylinderDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_CylinderDriver::GEOMImpl_CylinderDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_CylinderDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ICylinder aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  gp_Pnt aP;
-  gp_Vec aV;
-
-  if (aType == CYLINDER_R_H) {
-    aP = gp::Origin();
-    aV = gp::DZ();
-  }
-  else if (aType == CYLINDER_PNT_VEC_R_H) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetPoint();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapePnt.IsNull() || aShapeVec.IsNull()) {
-      Standard_NullObject::Raise("Cylinder creation aborted: point or vector is not defined");
-    }
-    if (aShapePnt.ShapeType() != TopAbs_VERTEX ||
-        aShapeVec.ShapeType() != TopAbs_EDGE) {
-      Standard_TypeMismatch::Raise("Cylinder creation aborted: point or vector shapes has wrong type");
-    }
-
-    aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-
-    TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (V1.IsNull() || V2.IsNull()) {
-      Standard_NullObject::Raise("Cylinder creation aborted: vector is not defined");
-    }
-    aV = gp_Vec(BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-  }
-  else {
-    return 0;
-  }
-
-  if (aCI.GetH() < 0.0) aV.Reverse();
-  gp_Ax2 anAxes (aP, aV);
-
-  BRepPrimAPI_MakeCylinder MC (anAxes, aCI.GetR(), Abs(aCI.GetH()));
-  MC.Build();
-  if (!MC.IsDone()) {
-    StdFail_NotDone::Raise("Cylinder can't be computed from the given parameters");
-  }
-
-  TopoDS_Shape aShape = MC.Shape();
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_CylinderDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_CylinderDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_CylinderDriver",
-                                                        sizeof(GEOMImpl_CylinderDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_CylinderDriver) Handle(GEOMImpl_CylinderDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_CylinderDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_CylinderDriver))) {
-       _anOtherObject = Handle(GEOMImpl_CylinderDriver)((Handle(GEOMImpl_CylinderDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_CylinderDriver.hxx b/src/GEOMImpl/GEOMImpl_CylinderDriver.hxx
deleted file mode 100644 (file)
index 20a5778..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_CylinderDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_CylinderDriver_HeaderFile
-#define _GEOMImpl_CylinderDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_CylinderDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_CylinderDriver);
-
-class Handle(GEOMImpl_CylinderDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_CylinderDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_CylinderDriver)(const Handle(GEOMImpl_CylinderDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_CylinderDriver)(const GEOMImpl_CylinderDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_CylinderDriver)& operator=(const Handle(GEOMImpl_CylinderDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_CylinderDriver)& operator=(const GEOMImpl_CylinderDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_CylinderDriver* operator->() 
-     {
-      return (GEOMImpl_CylinderDriver *)ControlAccess();
-     }
-
-    GEOMImpl_CylinderDriver* operator->() const 
-     {
-      return (GEOMImpl_CylinderDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_CylinderDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_CylinderDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_CylinderDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_CylinderDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_CylinderDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_CylinderDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_CylinderDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_CylinderDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_EllipseDriver.cxx b/src/GEOMImpl/GEOMImpl_EllipseDriver.cxx
deleted file mode 100644 (file)
index a38b6b8..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_EllipseDriver.hxx>
-#include <GEOMImpl_IEllipse.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Elips.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_EllipseDriver::GetID()
-{
-  static Standard_GUID aEllipseDriver("FF1BBB34-5D14-4df2-980B-3A668264EA16");
-  return aEllipseDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_EllipseDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_EllipseDriver::GEOMImpl_EllipseDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_EllipseDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IEllipse aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == ELLIPSE_PNT_VEC_RR) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetCenter();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapePnt.ShapeType() == TopAbs_VERTEX &&
-        aShapeVec.ShapeType() == TopAbs_EDGE) {
-      gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-      TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-      TopoDS_Vertex V1, V2;
-      TopExp::Vertices(anE, V1, V2, Standard_True);
-      if (!V1.IsNull() && !V2.IsNull()) {
-        gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-        gp_Ax2 anAxes (aP, aV);
-        gp_Elips anEll (anAxes, aCI.GetRMajor(), aCI.GetRMinor());
-        aShape = BRepBuilderAPI_MakeEdge(anEll).Edge();
-      }
-    }
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_EllipseDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_EllipseDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_EllipseDriver",
-                                                        sizeof(GEOMImpl_EllipseDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_EllipseDriver) Handle(GEOMImpl_EllipseDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_EllipseDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_EllipseDriver))) {
-       _anOtherObject = Handle(GEOMImpl_EllipseDriver)((Handle(GEOMImpl_EllipseDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_EllipseDriver.hxx b/src/GEOMImpl/GEOMImpl_EllipseDriver.hxx
deleted file mode 100644 (file)
index 9fcc9e2..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_EllipseDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_EllipseDriver_HeaderFile
-#define _GEOMImpl_EllipseDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_EllipseDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_EllipseDriver);
-
-class Handle(GEOMImpl_EllipseDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_EllipseDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_EllipseDriver)(const Handle(GEOMImpl_EllipseDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_EllipseDriver)(const GEOMImpl_EllipseDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_EllipseDriver)& operator=(const Handle(GEOMImpl_EllipseDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_EllipseDriver)& operator=(const GEOMImpl_EllipseDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_EllipseDriver* operator->() 
-     {
-      return (GEOMImpl_EllipseDriver *)ControlAccess();
-     }
-
-    GEOMImpl_EllipseDriver* operator->() const 
-     {
-      return (GEOMImpl_EllipseDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_EllipseDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_EllipseDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_EllipseDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_EllipseDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_EllipseDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_EllipseDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_EllipseDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_EllipseDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ExportDriver.cxx b/src/GEOMImpl/GEOMImpl_ExportDriver.cxx
deleted file mode 100644 (file)
index 19a2593..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ExportDriver.hxx>
-#include <GEOMImpl_IImportExport.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <TopoDS_Shape.hxx>
-#include <TCollection_AsciiString.hxx>
-
-#include <Standard_ConstructionError.hxx>
-
-#ifdef WNT
-#include <windows.h>
-#else
-#include <dlfcn.h>
-#endif
-
-#ifdef WNT
-#define LibHandle HMODULE
-#define LoadLib( name ) LoadLibrary( name )
-#define GetProc GetProcAddress
-#define UnLoadLib( handle ) FreeLibrary( handle );
-#else
-#define LibHandle void*
-#define LoadLib( name ) dlopen( name, RTLD_LAZY )
-#define GetProc dlsym
-#define UnLoadLib( handle ) dlclose( handle );
-#endif
-
-typedef int (*funcPoint)(const TopoDS_Shape&, const TCollection_AsciiString&);
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_ExportDriver::GetID()
-{
-  static Standard_GUID aExportDriver("FF1BBB58-5D14-4df2-980B-3A668264EA16");
-  return aExportDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ExportDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_ExportDriver::GEOMImpl_ExportDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_ExportDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IImportExport aCI (aFunction);
-
-  // retrieve the being exported shape
-  TopoDS_Shape aShape;
-  Handle(GEOM_Function) aRefFunction = aCI.GetOriginal();
-  if (aRefFunction.IsNull()) return 0;
-  aShape = aRefFunction->GetValue();
-  if (aShape.IsNull()) return 0;
-  // !!! set the result of function to be used by next operations
-  aFunction->SetValue(aShape);
-
-  // retrieve the file and format names
-  TCollection_AsciiString aFileName = aCI.GetFileName();
-  TCollection_AsciiString aLibName  = aCI.GetPluginName();
-  if (aFileName.IsEmpty() || aLibName.IsEmpty())
-    return 0;
-
-  // load plugin library
-  LibHandle anExportLib = LoadLib( aLibName.ToCString() );
-  funcPoint fp = 0;
-  if ( anExportLib )
-    fp = (funcPoint)GetProc( anExportLib, "Export" );
-
-  if ( !fp )
-    return 0;
-
-  // perform the export
-  int res = fp( aShape, aFileName );
-
-  // unload plugin library
-  UnLoadLib( anExportLib );
-  if ( res )
-    log.SetTouched(Label()); 
-
-  return res;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ExportDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ExportDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ExportDriver",
-                                                        sizeof(GEOMImpl_ExportDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_ExportDriver) Handle(GEOMImpl_ExportDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ExportDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ExportDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ExportDriver)((Handle(GEOMImpl_ExportDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ExportDriver.hxx b/src/GEOMImpl/GEOMImpl_ExportDriver.hxx
deleted file mode 100644 (file)
index 795e525..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ExportDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ExportDriver_HeaderFile
-#define _GEOMImpl_ExportDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ExportDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ExportDriver);
-
-class Handle(GEOMImpl_ExportDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ExportDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ExportDriver)(const Handle(GEOMImpl_ExportDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ExportDriver)(const GEOMImpl_ExportDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ExportDriver)& operator=(const Handle(GEOMImpl_ExportDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ExportDriver)& operator=(const GEOMImpl_ExportDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ExportDriver* operator->() 
-     {
-      return (GEOMImpl_ExportDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ExportDriver* operator->() const 
-     {
-      return (GEOMImpl_ExportDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ExportDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ExportDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ExportDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ExportDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ExportDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ExportDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ExportDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ExportDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_FilletDriver.cxx b/src/GEOMImpl/GEOMImpl_FilletDriver.cxx
deleted file mode 100644 (file)
index 33cd764..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_FilletDriver.hxx>
-#include <GEOMImpl_IFillet.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_ILocalOperations.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepFilletAPI_MakeFillet.hxx>
-#include <BRepCheck_Analyzer.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopAbs.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_FilletDriver::GetID()
-{
-  static Standard_GUID aFilletDriver("FF1BBB41-5D14-4df2-980B-3A668264EA16");
-  return aFilletDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_FilletDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_FilletDriver::GEOMImpl_FilletDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_FilletDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IFillet aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  Handle(GEOM_Function) aRefShape = aCI.GetShape();
-  TopoDS_Shape aShapeBase = aRefShape->GetValue();
-  BRepFilletAPI_MakeFillet fill (aShapeBase);
-
-  if (aType == FILLET_SHAPE_ALL) {
-    TopExp_Explorer Exp (aShapeBase, TopAbs_EDGE);
-    for (; Exp.More(); Exp.Next()) {
-      TopoDS_Edge E = TopoDS::Edge(Exp.Current());
-      fill.Add(E);
-    }
-  } else if (aType == FILLET_SHAPE_EDGES) {
-    int aLen = aCI.GetLength();
-    int ind = 1;
-    for (; ind <= aLen; ind++) {
-      TopoDS_Shape aShapeEdge;
-      if (GEOMImpl_ILocalOperations::GetSubShape
-          (aShapeBase, aCI.GetEdge(ind), aShapeEdge)) {
-        fill.Add(TopoDS::Edge(aShapeEdge));
-      }
-    }
-  } else if (aType == FILLET_SHAPE_FACES) {
-    int aLen = aCI.GetLength();
-    int ind = 1;
-    for (; ind <= aLen; ind++) {
-      TopoDS_Shape aShapeFace;
-      if (GEOMImpl_ILocalOperations::GetSubShape
-          (aShapeBase, aCI.GetFace(ind), aShapeFace)) {
-        TopExp_Explorer Exp (aShapeFace, TopAbs_EDGE);
-        for (; Exp.More(); Exp.Next()) {
-          fill.Add(TopoDS::Edge(Exp.Current()));
-        }
-      }
-    }
-  } else {
-  }
-
-  for (int i = 1; i <= fill.NbContours(); i++) {
-    fill.SetRadius(aCI.GetR(), i, i);
-  }
-  fill.Build();
-  if (!fill.IsDone()) {
-    StdFail_NotDone::Raise("Fillet can't be computed on the given shape with the given radius");
-  }
-  aShape = fill.Shape();
-
-  if (aShape.IsNull()) return 0;
-
-  // Check shape validity
-  BRepCheck_Analyzer ana (aShape, false);
-  if (!ana.IsValid()) {
-    StdFail_NotDone::Raise("Fillet algorithm have produced an invalid shape result");
-  }
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_FilletDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_FilletDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_FilletDriver",
-                                                        sizeof(GEOMImpl_FilletDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_FilletDriver) Handle(GEOMImpl_FilletDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_FilletDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_FilletDriver))) {
-       _anOtherObject = Handle(GEOMImpl_FilletDriver)((Handle(GEOMImpl_FilletDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_FilletDriver.hxx b/src/GEOMImpl/GEOMImpl_FilletDriver.hxx
deleted file mode 100644 (file)
index c6a3f9e..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_FilletDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_FilletDriver_HeaderFile
-#define _GEOMImpl_FilletDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_FilletDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_FilletDriver);
-
-class Handle(GEOMImpl_FilletDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_FilletDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_FilletDriver)(const Handle(GEOMImpl_FilletDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_FilletDriver)(const GEOMImpl_FilletDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_FilletDriver)& operator=(const Handle(GEOMImpl_FilletDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_FilletDriver)& operator=(const GEOMImpl_FilletDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_FilletDriver* operator->() 
-     {
-      return (GEOMImpl_FilletDriver *)ControlAccess();
-     }
-
-    GEOMImpl_FilletDriver* operator->() const 
-     {
-      return (GEOMImpl_FilletDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_FilletDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_FilletDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_FilletDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_FilletDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_FilletDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_FilletDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_FilletDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_FilletDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_FillingDriver.cxx b/src/GEOMImpl/GEOMImpl_FillingDriver.cxx
deleted file mode 100644 (file)
index 43e206e..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_FillingDriver.hxx>
-#include <GEOM_Function.hxx>
-#include <GEOMImpl_IFilling.hxx>
-#include <GEOMImpl_Types.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepAlgo.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <Geom_BSplineSurface.hxx>
-#include <GeomFill_Line.hxx>
-#include <GeomFill_AppSurf.hxx>
-#include <GeomFill_SectionGenerator.hxx>
-
-#include <Precision.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_FillingDriver::GetID()
-{
-  static Standard_GUID aFillingDriver ("FF1BBB62-5D14-4df2-980B-3A668264EA16");
-  return aFillingDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_FillingDriver
-//purpose  :
-//=======================================================================
-
-GEOMImpl_FillingDriver::GEOMImpl_FillingDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_FillingDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-  if (aFunction.IsNull()) return 0;
-
-  if (aFunction->GetType() != BASIC_FILLING) return 0;
-
-  GEOMImpl_IFilling IF (aFunction);
-  Handle(GEOM_Function) aShapeFunction = IF.GetShape();
-  if (aShapeFunction.IsNull()) return 0;
-  TopoDS_Shape aShape = aShapeFunction->GetValue();
-  if (aShape.IsNull() || aShape.ShapeType() != TopAbs_COMPOUND) return 0;
-
-  Standard_Integer mindeg = IF.GetMinDeg();
-  Standard_Integer maxdeg = IF.GetMaxDeg();
-  Standard_Real tol3d = IF.GetTol2D();
-  Standard_Real tol2d = IF.GetTol3D();
-  Standard_Integer nbiter = IF.GetNbIter();
-
-  if (mindeg > maxdeg) {
-    Standard_RangeError::Raise("Minimal degree can not be more than maximal degree");
-  }
-
-  /* we verify the contents of the shape */
-  TopExp_Explorer Ex;
-  TopoDS_Shape Scurrent;
-  Standard_Real First, Last;
-  Handle(Geom_Curve) C;
-  GeomFill_SectionGenerator Section;
-
-  Standard_Integer i = 0;
-  for (Ex.Init(aShape, TopAbs_EDGE); Ex.More(); Ex.Next()) {
-    Scurrent = Ex.Current() ;
-    if (Scurrent.IsNull() || Scurrent.ShapeType() != TopAbs_EDGE) return 0;
-    C = BRep_Tool::Curve(TopoDS::Edge(Scurrent), First, Last);
-    C = new Geom_TrimmedCurve(C, First, Last);
-    Section.AddCurve(C);
-    i++;
-  }
-
-  /* a 'tolerance' is used to compare 2 knots : see GeomFill_Generator.cdl */
-  Section.Perform(Precision::Confusion());
-  Handle(GeomFill_Line) Line = new GeomFill_Line(i);
-
-  GeomFill_AppSurf App (mindeg, maxdeg, tol3d, tol2d, nbiter); /* user parameters */
-  App.Perform(Line, Section);
-
-  if (!App.IsDone()) return 0;
-  Standard_Integer UDegree, VDegree, NbUPoles, NbVPoles, NbUKnots, NbVKnots;
-  App.SurfShape(UDegree, VDegree, NbUPoles, NbVPoles, NbUKnots, NbVKnots);
-  Handle(Geom_BSplineSurface) GBS = new Geom_BSplineSurface
-    (App.SurfPoles(), App.SurfWeights(), App.SurfUKnots(), App.SurfVKnots(),
-     App.SurfUMults(), App.SurfVMults(), App.UDegree(), App.VDegree());
-
-  if (GBS.IsNull()) return 0;
-  aShape = BRepBuilderAPI_MakeFace(GBS);
-
-  /* We test the validity of resulting shape */
-  if (!BRepAlgo::IsValid((aShape))) {
-    Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
-    return 0;
-  }
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_FillingDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_FillingDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_FillingDriver",
-                                                        sizeof(GEOMImpl_FillingDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-
-const Handle(GEOMImpl_FillingDriver) Handle(GEOMImpl_FillingDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_FillingDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_FillingDriver))) {
-       _anOtherObject = Handle(GEOMImpl_FillingDriver)((Handle(GEOMImpl_FillingDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_FillingDriver.hxx b/src/GEOMImpl/GEOMImpl_FillingDriver.hxx
deleted file mode 100644 (file)
index 89ac7ce..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_FillingDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_FillingDriver_HeaderFile
-#define _GEOMImpl_FillingDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_FillingDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_FillingDriver);
-
-class Handle(GEOMImpl_FillingDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_FillingDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_FillingDriver)(const Handle(GEOMImpl_FillingDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_FillingDriver)(const GEOMImpl_FillingDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_FillingDriver)& operator=(const Handle(GEOMImpl_FillingDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_FillingDriver)& operator=(const GEOMImpl_FillingDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_FillingDriver* operator->() 
-     {
-      return (GEOMImpl_FillingDriver *)ControlAccess();
-     }
-
-    GEOMImpl_FillingDriver* operator->() const 
-     {
-      return (GEOMImpl_FillingDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_FillingDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_FillingDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_FillingDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_FillingDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_FillingDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_FillingDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_FillingDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_FillingDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_Gen.cxx b/src/GEOMImpl/GEOMImpl_Gen.cxx
deleted file mode 100644 (file)
index 2420f7f..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_Gen.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_Driver.hxx>
-#include <TFunction_DriverTable.hxx>
-
-#include <GEOMImpl_PointDriver.hxx>
-#include <GEOMImpl_VectorDriver.hxx>
-#include <GEOMImpl_LineDriver.hxx>
-#include <GEOMImpl_PlaneDriver.hxx>
-#include <GEOMImpl_MarkerDriver.hxx>
-#include <GEOMImpl_ArcDriver.hxx>
-#include <GEOMImpl_CircleDriver.hxx>
-#include <GEOMImpl_EllipseDriver.hxx>
-#include <GEOMImpl_PolylineDriver.hxx>
-#include <GEOMImpl_SplineDriver.hxx>
-#include <GEOMImpl_SketcherDriver.hxx>
-#include <GEOMImpl_BoxDriver.hxx>
-#include <GEOMImpl_ConeDriver.hxx>
-#include <GEOMImpl_CylinderDriver.hxx>
-#include <GEOMImpl_PrismDriver.hxx>
-#include <GEOMImpl_PipeDriver.hxx>
-#include <GEOMImpl_RevolutionDriver.hxx>
-#include <GEOMImpl_ShapeDriver.hxx>
-#include <GEOMImpl_BlockDriver.hxx>
-#include <GEOMImpl_SphereDriver.hxx>
-#include <GEOMImpl_TorusDriver.hxx>
-#include <GEOMImpl_BooleanDriver.hxx>
-#include <GEOMImpl_ChamferDriver.hxx>
-#include <GEOMImpl_FilletDriver.hxx>
-#include <GEOMImpl_TranslateDriver.hxx>
-#include <GEOMImpl_RotateDriver.hxx>
-#include <GEOMImpl_MirrorDriver.hxx>
-#include <GEOMImpl_OffsetDriver.hxx>
-#include <GEOMImpl_ScaleDriver.hxx>
-#include <GEOMImpl_PositionDriver.hxx>
-#include <GEOMImpl_PartitionDriver.hxx>
-#include <GEOMImpl_CopyDriver.hxx>
-#include <GEOMImpl_ExportDriver.hxx>
-#include <GEOMImpl_ImportDriver.hxx>
-#include <GEOMImpl_ArchimedeDriver.hxx>
-#include <GEOMImpl_HealingDriver.hxx>
-#include <GEOMImpl_FillingDriver.hxx>
-#include <GEOMImpl_GlueDriver.hxx>
-#include <GEOMImpl_MeasureDriver.hxx>
-
-//=============================================================================
-/*!
- *  default constructor:
- */
-//=============================================================================
-
-GEOMImpl_Gen::GEOMImpl_Gen()
-{
-   MESSAGE("GEOMImpl_Gen::GEOMImpl_Gen");
-   _mapOfBasicOperations.clear();
-
-   // Basic elements
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PointDriver::GetID(), new GEOMImpl_PointDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_VectorDriver::GetID(), new GEOMImpl_VectorDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_LineDriver::GetID(), new GEOMImpl_LineDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PlaneDriver::GetID(), new GEOMImpl_PlaneDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_MarkerDriver::GetID(), new GEOMImpl_MarkerDriver());
-
-   // Curves
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ArcDriver::GetID(), new GEOMImpl_ArcDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_CircleDriver::GetID(), new GEOMImpl_CircleDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_EllipseDriver::GetID(), new GEOMImpl_EllipseDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PolylineDriver::GetID(), new GEOMImpl_PolylineDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_SplineDriver::GetID(), new GEOMImpl_SplineDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_SketcherDriver::GetID(), new GEOMImpl_SketcherDriver());
-
-   // 3D Primitives
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_BoxDriver::GetID(), new GEOMImpl_BoxDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ConeDriver::GetID(), new GEOMImpl_ConeDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_CylinderDriver::GetID(), new GEOMImpl_CylinderDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PrismDriver::GetID(), new GEOMImpl_PrismDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PipeDriver::GetID(), new GEOMImpl_PipeDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_RevolutionDriver::GetID(), new GEOMImpl_RevolutionDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_SphereDriver::GetID(), new GEOMImpl_SphereDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_TorusDriver::GetID(), new GEOMImpl_TorusDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_FillingDriver::GetID(), new GEOMImpl_FillingDriver());
-
-   // Shapes Operations
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ShapeDriver::GetID(), new GEOMImpl_ShapeDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_GlueDriver::GetID(), new GEOMImpl_GlueDriver());
-
-   // Blocks Operations
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_BlockDriver::GetID(), new GEOMImpl_BlockDriver());
-
-   // Boolean Operations, Partition
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_BooleanDriver::GetID(), new GEOMImpl_BooleanDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PartitionDriver::GetID(), new GEOMImpl_PartitionDriver());
-
-   // Local Operations
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ChamferDriver::GetID(), new GEOMImpl_ChamferDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_FilletDriver::GetID(), new GEOMImpl_FilletDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ArchimedeDriver::GetID(), new GEOMImpl_ArchimedeDriver());
-
-   // Geometrical Transformations, Offset, Scale
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_TranslateDriver::GetID(), new GEOMImpl_TranslateDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_RotateDriver::GetID(), new GEOMImpl_RotateDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_MirrorDriver::GetID(), new GEOMImpl_MirrorDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_OffsetDriver::GetID(), new GEOMImpl_OffsetDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ScaleDriver::GetID(), new GEOMImpl_ScaleDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_PositionDriver::GetID(), new GEOMImpl_PositionDriver());
-
-   // Insert Operations (Copy, Import/Export)
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_CopyDriver::GetID(), new GEOMImpl_CopyDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ImportDriver::GetID(), new GEOMImpl_ImportDriver());
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_ExportDriver::GetID(), new GEOMImpl_ExportDriver());
-
-   // Shape Healing
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_HealingDriver::GetID(), new GEOMImpl_HealingDriver());
-
-   // Measurements
-   TFunction_DriverTable::Get()->AddDriver(GEOMImpl_MeasureDriver::GetID(), new GEOMImpl_MeasureDriver());
-
-   SetEngine(this);
-}
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-GEOMImpl_Gen::~GEOMImpl_Gen()
-{
-  MESSAGE("GEOMImpl_Gen::~GEOMImpl_Gen");
-
-  std::map<int, GEOMImpl_IBasicOperations*>::iterator aBasicIter = _mapOfBasicOperations.begin();
-  for (; aBasicIter != _mapOfBasicOperations.end(); aBasicIter++)
-    delete (*aBasicIter).second;
-
-  std::map<int, GEOMImpl_ITransformOperations*>::iterator aTransformIter = _mapOfTransformOperations.begin();
-  for (; aTransformIter != _mapOfTransformOperations.end(); aTransformIter++)
-    delete (*aTransformIter).second;
-
-  std::map<int, GEOMImpl_I3DPrimOperations*>::iterator a3DPrimIter = _mapOf3DPrimOperations.begin();
-  for (; a3DPrimIter != _mapOf3DPrimOperations.end(); a3DPrimIter++)
-    delete (*a3DPrimIter).second;
-
-  std::map<int, GEOMImpl_IShapesOperations*>::iterator aShapesIter = _mapOfShapesOperations.begin();
-  for (; aShapesIter != _mapOfShapesOperations.end(); aShapesIter++)
-    delete (*aShapesIter).second;
-
-  std::map<int, GEOMImpl_IBlocksOperations*>::iterator aBlocksIter = _mapOfBlocksOperations.begin();
-  for (; aBlocksIter != _mapOfBlocksOperations.end(); aBlocksIter++)
-    delete (*aBlocksIter).second;
-
-  std::map<int, GEOMImpl_IBooleanOperations*>::iterator aBooleanIter = _mapOfBooleanOperations.begin();
-  for (; aBooleanIter != _mapOfBooleanOperations.end(); aBooleanIter++)
-    delete (*aBooleanIter).second;
-
-  std::map<int, GEOMImpl_IHealingOperations*>::iterator aHealingIter = _mapOfHealingOperations.begin();
-  for (; aHealingIter != _mapOfHealingOperations.end(); aHealingIter++)
-    delete (*aHealingIter).second;
-
-  std::map<int, GEOMImpl_ICurvesOperations*>::iterator aCurvesIter = _mapOfCurvesOperations.begin();
-  for (; aCurvesIter != _mapOfCurvesOperations.end(); aCurvesIter++)
-    delete (*aCurvesIter).second;
-
-  std::map<int, GEOMImpl_ILocalOperations*>::iterator aLocalIter = _mapOfLocalOperations.begin();
-  for (; aLocalIter != _mapOfLocalOperations.end(); aLocalIter++)
-    delete (*aLocalIter).second;
-
-  std::map<int, GEOMImpl_IInsertOperations*>::iterator aInsertIter = _mapOfInsertOperations.begin();
-  for (; aInsertIter != _mapOfInsertOperations.end(); aInsertIter++)
-    delete (*aInsertIter).second;
-
-  std::map<int, GEOMImpl_IMeasureOperations*>::iterator aMeasureIter = _mapOfMeasureOperations.begin();
-  for (; aMeasureIter != _mapOfMeasureOperations.end(); aMeasureIter++)
-    delete (*aMeasureIter).second;
-
-  std::map<int, GEOMImpl_IGroupOperations*>::iterator aGroupIter = _mapOfGroupOperations.begin();
-  for (; aGroupIter != _mapOfGroupOperations.end(); aGroupIter++)
-    delete (*aGroupIter).second;
-}
-
-//=============================================================================
-/*!
- * GetIBasicOperations
- */
-//=============================================================================
-GEOMImpl_IBasicOperations* GEOMImpl_Gen::GetIBasicOperations(int theDocID)
-{
-  if(_mapOfBasicOperations.find(theDocID) == _mapOfBasicOperations.end()) {
-    _mapOfBasicOperations[theDocID] = new GEOMImpl_IBasicOperations(this, theDocID);
-  }
-
-  return _mapOfBasicOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetITransformOperations
- */
-//=============================================================================
-GEOMImpl_ITransformOperations* GEOMImpl_Gen::GetITransformOperations(int theDocID)
-{
-  if(_mapOfTransformOperations.find(theDocID) == _mapOfTransformOperations.end()) {
-    _mapOfTransformOperations[theDocID] = new GEOMImpl_ITransformOperations(this, theDocID);
-  }
-
-  return _mapOfTransformOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIBooleanOperations
- */
-//=============================================================================
-GEOMImpl_IBooleanOperations* GEOMImpl_Gen::GetIBooleanOperations(int theDocID)
-{
-  if(_mapOfBooleanOperations.find(theDocID) == _mapOfBooleanOperations.end()) {
-    _mapOfBooleanOperations[theDocID] = new GEOMImpl_IBooleanOperations(this, theDocID);
-  }
-
-  return _mapOfBooleanOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIHealingOperations
- */
-//=============================================================================
-GEOMImpl_IHealingOperations* GEOMImpl_Gen::GetIHealingOperations(int theDocID)
-{
-  if(_mapOfHealingOperations.find(theDocID) == _mapOfHealingOperations.end()) {
-    _mapOfHealingOperations[theDocID] = new GEOMImpl_IHealingOperations(this, theDocID);
-  }
-
-  return _mapOfHealingOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetI3DPrimOperations
- */
-//=============================================================================
-GEOMImpl_I3DPrimOperations* GEOMImpl_Gen::GetI3DPrimOperations(int theDocID)
-{
-  if(_mapOf3DPrimOperations.find(theDocID) == _mapOf3DPrimOperations.end()) {
-    _mapOf3DPrimOperations[theDocID] = new GEOMImpl_I3DPrimOperations(this, theDocID);
-  }
-
-  return _mapOf3DPrimOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIShapesOperations
- */
-//=============================================================================
-GEOMImpl_IShapesOperations* GEOMImpl_Gen::GetIShapesOperations(int theDocID)
-{
-  if(_mapOfShapesOperations.find(theDocID) == _mapOfShapesOperations.end()) {
-    _mapOfShapesOperations[theDocID] = new GEOMImpl_IShapesOperations(this, theDocID);
-  }
-
-  return _mapOfShapesOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIBlocksOperations
- */
-//=============================================================================
-GEOMImpl_IBlocksOperations* GEOMImpl_Gen::GetIBlocksOperations(int theDocID)
-{
-  if(_mapOfBlocksOperations.find(theDocID) == _mapOfBlocksOperations.end()) {
-    _mapOfBlocksOperations[theDocID] = new GEOMImpl_IBlocksOperations(this, theDocID);
-  }
-
-  return _mapOfBlocksOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetICurvesOperations
- */
-//=============================================================================
-GEOMImpl_ICurvesOperations* GEOMImpl_Gen::GetICurvesOperations(int theDocID)
-{
-  if(_mapOfCurvesOperations.find(theDocID) == _mapOfCurvesOperations.end()) {
-    _mapOfCurvesOperations[theDocID] = new GEOMImpl_ICurvesOperations(this, theDocID);
-  }
-
-  return _mapOfCurvesOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetILocalOperations
- */
-//=============================================================================
-GEOMImpl_ILocalOperations* GEOMImpl_Gen::GetILocalOperations(int theDocID)
-{
-  if(_mapOfLocalOperations.find(theDocID) == _mapOfLocalOperations.end()) {
-    _mapOfLocalOperations[theDocID] = new GEOMImpl_ILocalOperations(this, theDocID);
-  }
-
-  return _mapOfLocalOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIInsertOperations
- */
-//=============================================================================
-GEOMImpl_IInsertOperations* GEOMImpl_Gen::GetIInsertOperations(int theDocID)
-{
-  if(_mapOfInsertOperations.find(theDocID) == _mapOfInsertOperations.end()) {
-    _mapOfInsertOperations[theDocID] = new GEOMImpl_IInsertOperations(this, theDocID);
-  }
-
-  return _mapOfInsertOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIMeasureOperations
- */
-//=============================================================================
-GEOMImpl_IMeasureOperations* GEOMImpl_Gen::GetIMeasureOperations(int theDocID)
-{
-  if(_mapOfMeasureOperations.find(theDocID) == _mapOfMeasureOperations.end()) {
-    _mapOfMeasureOperations[theDocID] = new GEOMImpl_IMeasureOperations(this, theDocID);
-  }
-
-  return _mapOfMeasureOperations[theDocID];
-}
-
-//=============================================================================
-/*!
- * GetIGroupOperations
- */
-//=============================================================================
-GEOMImpl_IGroupOperations* GEOMImpl_Gen::GetIGroupOperations(int theDocID)
-{
-  if(_mapOfGroupOperations.find(theDocID) == _mapOfGroupOperations.end()) {
-    _mapOfGroupOperations[theDocID] = new GEOMImpl_IGroupOperations(this, theDocID);
-  }
-
-  return _mapOfGroupOperations[theDocID];
-}
diff --git a/src/GEOMImpl/GEOMImpl_Gen.hxx b/src/GEOMImpl/GEOMImpl_Gen.hxx
deleted file mode 100644 (file)
index 8b1b072..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-
-#ifndef _GEOMImpl_GEN_HXX_
-#define _GEOMImpl_GEN_HXX_
-
-#include <map>
-
-#include "GEOMImpl_IBasicOperations.hxx"
-#include "GEOMImpl_ITransformOperations.hxx"
-#include "GEOMImpl_I3DPrimOperations.hxx"
-#include "GEOMImpl_IShapesOperations.hxx"
-#include "GEOMImpl_IBlocksOperations.hxx"
-#include "GEOMImpl_IBooleanOperations.hxx"
-#include "GEOMImpl_IHealingOperations.hxx"
-#include "GEOMImpl_ICurvesOperations.hxx"
-#include "GEOMImpl_ILocalOperations.hxx"
-#include "GEOMImpl_IInsertOperations.hxx"
-#include "GEOMImpl_IMeasureOperations.hxx"
-#include "GEOMImpl_IGroupOperations.hxx"
-#include "GEOM_Engine.hxx"
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT 
-#endif
-
-class SALOME_WNT_EXPORT GEOMImpl_Gen : public GEOM_Engine
-{
- public:
-  GEOMImpl_Gen();
-  ~GEOMImpl_Gen();
-
-  GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
-
-  GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
-
-  GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
-
-  GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
-
-  GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
-
-  GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
-
-  GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
-
-  GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
-
-  GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
-
-  GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
-
-  GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
-
-  GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
-
- private:
-
-  std::map <int, GEOMImpl_IBasicOperations*>     _mapOfBasicOperations;
-  std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
-  std::map <int, GEOMImpl_I3DPrimOperations*>    _mapOf3DPrimOperations;
-  std::map <int, GEOMImpl_IShapesOperations*>    _mapOfShapesOperations;
-  std::map <int, GEOMImpl_IBlocksOperations*>    _mapOfBlocksOperations;
-  std::map <int, GEOMImpl_IBooleanOperations*>   _mapOfBooleanOperations;
-  std::map <int, GEOMImpl_IHealingOperations*>   _mapOfHealingOperations;
-  std::map <int, GEOMImpl_ICurvesOperations*>    _mapOfCurvesOperations;
-  std::map <int, GEOMImpl_ILocalOperations*>     _mapOfLocalOperations;
-  std::map <int, GEOMImpl_IInsertOperations*>    _mapOfInsertOperations;
-  std::map <int, GEOMImpl_IMeasureOperations*>   _mapOfMeasureOperations;
-  std::map <int, GEOMImpl_IGroupOperations*>   _mapOfGroupOperations;
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_GlueDriver.cxx b/src/GEOMImpl/GEOMImpl_GlueDriver.cxx
deleted file mode 100644 (file)
index d9ed674..0000000
+++ /dev/null
@@ -1,313 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_GlueDriver.hxx>
-#include <GEOMImpl_IGlue.hxx>
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOM_Object.hxx>
-#include <GEOM_Function.hxx>
-
-#include <GEOMAlgo_Gluer.hxx>
-
-#include "utilities.h"
-
-#include <TDataStd_IntegerArray.hxx>
-
-#include <TopExp.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <Standard_NullObject.hxx>
-#include <Standard_Failure.hxx>
-
-#define MSG_BAD_TOLERANCE "Tolerance is too big"
-#define MSG_BAD_ARG_SHAPE "Argument shape is not a compound of hexahedral solids"
-
-//=======================================================================
-//function : GEOMImpl_GlueDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_GlueDriver::GEOMImpl_GlueDriver()
-{
-}
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_GlueDriver::GetID()
-{
-  static Standard_GUID aGlueDriver("FF1BBB63-5D14-4df2-980B-3A668264EA16");
-  return aGlueDriver;
-}
-
-//=======================================================================
-//function : GlueFacesWithWarnings
-//purpose  :
-//=======================================================================
-TopoDS_Shape GEOMImpl_GlueDriver::GlueFacesWithWarnings (const TopoDS_Shape& theShape,
-                                                         const Standard_Real theTolerance,
-                                                         TCollection_AsciiString& theWarning) const
-{
-  Standard_Integer iErr, iWrn;
-  TopoDS_Shape aRes;
-  GEOMAlgo_Gluer aGluer;
-
-  aGluer.SetShape(theShape);
-  aGluer.SetTolerance(theTolerance);
-  aGluer.SetCheckGeometry(Standard_True);
-
-  aGluer.Perform();
-
-  iErr = aGluer.ErrorStatus();
-  if (iErr) {
-    switch (iErr) {
-    case 2:
-      Standard_Failure::Raise("No vertices found in source shape");
-      break;
-    case 3:
-    case 4:
-      Standard_Failure::Raise(MSG_BAD_TOLERANCE " or " MSG_BAD_ARG_SHAPE);
-      break;
-    case 5:
-      Standard_Failure::Raise("Source shape is Null");
-      break;
-    case 6:
-      Standard_Failure::Raise("Result shape is Null");
-      break;
-    case 100:
-      Standard_Failure::Raise(MSG_BAD_TOLERANCE);
-      break;
-    case 101:
-    case 102:
-      Standard_Failure::Raise(MSG_BAD_ARG_SHAPE);
-      break;
-    case 200:
-      Standard_Failure::Raise("Error occured during check of geometric coincidence");
-      break;
-    default:
-      {
-        // description of all errors see in GEOMAlgo_Gluer.cxx
-        TCollection_AsciiString aMsg ("Error in GEOMAlgo_Gluer with code ");
-        aMsg += TCollection_AsciiString(iErr);
-        Standard_Failure::Raise(aMsg.ToCString());
-        break;
-      }
-    }
-    return aRes;
-  }
-
-  iWrn = aGluer.WarningStatus();
-  if (iWrn) {
-    switch (iWrn) {
-    case 1:
-      {
-        Standard_Integer nbAlone = aGluer.AloneShapes();
-        theWarning = TCollection_AsciiString(nbAlone);
-        theWarning += " solid(s) can not be glued by faces";
-      }
-      break;
-    default:
-      // description of all warnings see in GEOMAlgo_Gluer.cxx
-      theWarning = "Warning in GEOMAlgo_Gluer with code ";
-      theWarning += TCollection_AsciiString(iWrn);
-      break;
-    }
-  }
-
-  aRes = aGluer.Result();
-
-  // Fill history to be used by GetInPlace functionality
-  TopTools_IndexedMapOfShape aResIndices;
-  TopExp::MapShapes(aRes, aResIndices);
-
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  // history for all argument shapes
-  TDF_LabelSequence aLabelSeq;
-  aFunction->GetDependency(aLabelSeq);
-  Standard_Integer nbArg = aLabelSeq.Length();
-
-  for (Standard_Integer iarg = 1; iarg <= nbArg; iarg++) {
-
-    TDF_Label anArgumentRefLabel = aLabelSeq.Value(iarg);
-
-    Handle(GEOM_Object) anArgumentObject = GEOM_Object::GetReferencedObject(anArgumentRefLabel);
-    TopoDS_Shape anArgumentShape = anArgumentObject->GetValue();
-
-    TopTools_IndexedMapOfShape anArgumentIndices;
-    TopExp::MapShapes(anArgumentShape, anArgumentIndices);
-    Standard_Integer nbArgumentEntities = anArgumentIndices.Extent();
-
-    // Find corresponding label in history
-    TDF_Label anArgumentHistoryLabel =
-      aFunction->GetArgumentHistoryEntry(anArgumentRefLabel, Standard_True);
-
-    for (Standard_Integer ie = 1; ie <= nbArgumentEntities; ie++) {
-      TopoDS_Shape anEntity = anArgumentIndices.FindKey(ie);
-      const TopTools_ListOfShape& aModified = aGluer.Modified(anEntity);
-      Standard_Integer nbModified = aModified.Extent();
-
-      if (nbModified > 0) {
-        TDF_Label aWhatHistoryLabel = anArgumentHistoryLabel.FindChild(ie, Standard_True);
-        Handle(TDataStd_IntegerArray) anAttr =
-          TDataStd_IntegerArray::Set(aWhatHistoryLabel, 1, nbModified);
-
-        TopTools_ListIteratorOfListOfShape itM (aModified);
-        for (int im = 1; itM.More(); itM.Next(), ++im) {
-          int id = aResIndices.FindIndex(itM.Value());
-          anAttr->SetValue(im, id);
-        }
-      }
-    }
-  }
-
-  return aRes;
-}
-
-//=======================================================================
-//function : GlueFaces
-//purpose  :
-//=======================================================================
-TopoDS_Shape GEOMImpl_GlueDriver::GlueFaces (const TopoDS_Shape& theShape,
-                                             const Standard_Real theTolerance)
-{
-  Standard_Integer iErr, iWrn;
-  TopoDS_Shape aRes;
-  GEOMAlgo_Gluer aGluer;
-
-  aGluer.SetShape(theShape);
-  aGluer.SetTolerance(theTolerance);
-  aGluer.SetCheckGeometry(Standard_True);
-
-  aGluer.Perform();
-
-  iErr = aGluer.ErrorStatus();
-  if (iErr) {
-    switch (iErr) {
-    case 2:
-      Standard_Failure::Raise("No vertices found in source shape");
-      break;
-    case 5:
-      Standard_Failure::Raise("Source shape is Null");
-      break;
-    case 6:
-      Standard_Failure::Raise("Result shape is Null");
-      break;
-    case 200:
-      Standard_Failure::Raise("Error occured during check of geometric coincidence");
-      break;
-    default:
-      {
-        // description of all errors see in GEOMAlgo_Gluer.cxx
-        TCollection_AsciiString aMsg ("Error in GEOMAlgo_Gluer with code ");
-        aMsg += TCollection_AsciiString(iErr);
-        Standard_Failure::Raise(aMsg.ToCString());
-        break;
-      }
-    }
-    return aRes;
-  }
-
-  iWrn = aGluer.WarningStatus();
-  if (iWrn) {
-    switch (iWrn) {
-    case 1:
-      MESSAGE("Some shapes can not be glued by faces");
-      break;
-    default:
-      // description of all warnings see in GEOMAlgo_Gluer.cxx
-      MESSAGE("Warning in GEOMAlgo_Gluer with code " << iWrn);
-      break;
-    }
-  }
-
-  aRes = aGluer.Result();
-
-  return aRes;
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_GlueDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IGlue aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-  TCollection_AsciiString aWrn;
-
-  if (aType == GLUE_FACES) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    if (aShapeBase.IsNull()) {
-      Standard_NullObject::Raise("Shape for gluing is null");
-    }
-
-    Standard_Real tol3d = aCI.GetTolerance();
-    aShape = GlueFacesWithWarnings(aShapeBase, tol3d, aWrn);
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  if (!aWrn.IsEmpty()) {
-    Standard_Failure::Raise(aWrn.ToCString());
-  }
-
-  return 1;
-}
-
-//=======================================================================
-//function :  GEOMImpl_GlueDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_GlueDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_GlueDriver",
-                                                        sizeof(GEOMImpl_GlueDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_GlueDriver) Handle(GEOMImpl_GlueDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_GlueDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_GlueDriver))) {
-       _anOtherObject = Handle(GEOMImpl_GlueDriver)((Handle(GEOMImpl_GlueDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_GlueDriver.hxx b/src/GEOMImpl/GEOMImpl_GlueDriver.hxx
deleted file mode 100644 (file)
index c8f2679..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-//  File   : GEOMImpl_GlueDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_GlueDriver_HeaderFile
-#define _GEOMImpl_GlueDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_GlueDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_GlueDriver);
-
-class Handle(GEOMImpl_GlueDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_GlueDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_GlueDriver)(const Handle(GEOMImpl_GlueDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_GlueDriver)(const GEOMImpl_GlueDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_GlueDriver)& operator=(const Handle(GEOMImpl_GlueDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_GlueDriver)& operator=(const GEOMImpl_GlueDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_GlueDriver* operator->() 
-     {
-      return (GEOMImpl_GlueDriver *)ControlAccess();
-     }
-
-    GEOMImpl_GlueDriver* operator->() const 
-     {
-      return (GEOMImpl_GlueDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_GlueDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_GlueDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-#include <TopoDS_Shape.hxx>
-#include <TCollection_AsciiString.hxx>
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_GlueDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_GlueDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_GlueDriver() {};
-
-Standard_EXPORT static TopoDS_Shape GlueFaces (const TopoDS_Shape& theShape,
-                                               const Standard_Real theTolerance);
-
-Standard_EXPORT TopoDS_Shape GlueFacesWithWarnings (const TopoDS_Shape& theShape,
-                                                    const Standard_Real theTolerance,
-                                                    TCollection_AsciiString& theWarning) const;
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_GlueDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_GlueDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_GlueDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_HealingDriver.cxx b/src/GEOMImpl/GEOMImpl_HealingDriver.cxx
deleted file mode 100644 (file)
index b1fc5e4..0000000
+++ /dev/null
@@ -1,406 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_HealingDriver.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_IHealing.hxx>
-#include <GEOM_Function.hxx>
-
-#include <ShHealOper_ShapeProcess.hxx>
-#include <ShHealOper_RemoveFace.hxx>
-#include <ShHealOper_CloseContour.hxx>
-#include <ShHealOper_RemoveInternalWires.hxx>
-#include <ShHealOper_FillHoles.hxx>
-#include <ShHealOper_Sewing.hxx>
-#include <ShHealOper_EdgeDivide.hxx>
-
-#include <TopoDS.hxx>
-#include <TopExp.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function :  raiseNotDoneExeption
-//purpose  :  global function: forms error message and raises exeption
-//=======================================================================
-void raiseNotDoneExeption( const int theErrorStatus )
-{
-  switch ( theErrorStatus )
-  {
-  case ShHealOper_NotError:           StdFail_NotDone::Raise( "ShHealOper_NotError_msg" );
-  case ShHealOper_InvalidParameters:  StdFail_NotDone::Raise( "ShHealOper_InvalidParameters_msg" );
-  case ShHealOper_ErrorExecution:
-  default:                            StdFail_NotDone::Raise( "ShHealOper_ErrorExecution_msg" );
-  }
-}
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_HealingDriver::GetID()
-{
-  static Standard_GUID aHealingDriver("FF1BBB61-5D14-4df2-980B-3A668264EA16");
-  return aHealingDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_HealingDriver
-//purpose  :
-//=======================================================================
-
-GEOMImpl_HealingDriver::GEOMImpl_HealingDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_HealingDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  if (aFunction.IsNull()) return 0;
-
-  GEOMImpl_IHealing HI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-  Handle(GEOM_Function) anOriginalFunction = HI.GetOriginal();
-  if (anOriginalFunction.IsNull()) return 0;
-  TopoDS_Shape aShape, anOriginalShape = anOriginalFunction->GetValue();
-  if (anOriginalShape.IsNull()) return 0;
-
-  switch (aType)
-  {
-  case SHAPE_PROCESS:
-    ShapeProcess(&HI, anOriginalShape, aShape);
-    break;
-  case SUPPRESS_FACES:
-    SuppressFaces(&HI, anOriginalShape, aShape);
-    break;
-  case CLOSE_CONTOUR:
-    CloseContour(&HI, anOriginalShape, aShape);
-    break;
-  case REMOVE_INT_WIRES:
-    RemoveIntWires(&HI, anOriginalShape, aShape);
-    break;
-  case FILL_HOLES:
-    RemoveHoles(&HI, anOriginalShape, aShape);
-    break;
-  case SEWING:
-    Sew(&HI, anOriginalShape, aShape);
-    break;
-  case DIVIDE_EDGE:
-    AddPointOnEdge(&HI, anOriginalShape, aShape);
-    break;
-  default:
-    return 0;
-  }
-
-  if (aShape.IsNull())
-    raiseNotDoneExeption( ShHealOper_ErrorExecution );
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-  return 1;
-}
-
-//=======================================================================
-//function :  ShapeProcess
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::ShapeProcess (GEOMImpl_IHealing* theHI,
-                                                       const TopoDS_Shape& theOriginalShape,
-                                                       TopoDS_Shape& theOutShape) const
-{
-  Handle(TColStd_HArray1OfExtendedString) anOperators = theHI->GetOperators();
-  Handle(TColStd_HArray1OfExtendedString) aParams = theHI->GetParameters();
-  Handle(TColStd_HArray1OfExtendedString) aValues = theHI->GetValues();
-
-  if (anOperators.IsNull() || anOperators->Length() <= 0)
-    return Standard_False;
-
-  Standard_Integer nbParams = 0, nbValues = 0;
-  if (!aParams.IsNull()) {
-    nbParams = aParams->Length();
-  }
-  if (!aValues.IsNull()) {
-    nbValues = aValues->Length();
-  }
-  if (nbParams != nbValues)
-    return Standard_False;
-
-  ShHealOper_ShapeProcess aHealer;
-  TColStd_SequenceOfAsciiString anOperatorsAS, aParamsAS, aValuesAS;
-  int i;
-  for (i = 1; i <= anOperators->Length(); i++)
-    anOperatorsAS.Append(TCollection_AsciiString(anOperators->Value(i)));
-
-  aHealer.SetOperators(anOperatorsAS);
-
-  for (i = 1; i <= nbParams; i++) {
-    aHealer.SetParameter(TCollection_AsciiString(aParams->Value(i)),
-                         TCollection_AsciiString(aValues->Value(i)));
-  }
-
-  aHealer.Perform(theOriginalShape, theOutShape);
-
-  if (!aHealer.isDone())
-    raiseNotDoneExeption( ShHealOper_NotError );
-
-  return Standard_True;
-}
-
-//=======================================================================
-//function :  SupressFaces
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::SuppressFaces (GEOMImpl_IHealing* theHI,
-                                                        const TopoDS_Shape& theOriginalShape,
-                                                        TopoDS_Shape& theOutShape) const
-{
-  Handle(TColStd_HArray1OfInteger) aFaces = theHI->GetFaces();
-
-  ShHealOper_RemoveFace aHealer (theOriginalShape);
-
-  Standard_Boolean aResult = Standard_False;
-  if (aFaces.IsNull()) // remove all faces
-  {
-    aResult = aHealer.Perform();
-  } else {
-    TopTools_SequenceOfShape aShapesFaces;
-    TopTools_IndexedMapOfShape aShapes;
-    TopExp::MapShapes(theOriginalShape, aShapes);
-    for (int i = 1; i <= aFaces->Length(); i++) {
-      int indexOfFace = aFaces->Value(i);
-      TopoDS_Shape aFace = aShapes.FindKey(indexOfFace);
-      aShapesFaces.Append(aFace);
-    }
-
-    aResult = aHealer.Perform(aShapesFaces);
-  }
-
-  if ( aResult )
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-//=======================================================================
-//function :  CloseContour
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::CloseContour (GEOMImpl_IHealing* theHI,
-                                                       const TopoDS_Shape& theOriginalShape,
-                                                       TopoDS_Shape& theOutShape) const
-{
-  Standard_Boolean isByVertex = theHI->GetIsCommonVertex();
-  Handle(TColStd_HArray1OfInteger) aWires = theHI->GetWires();
-
-  ShHealOper_CloseContour aHealer (theOriginalShape);
-
-  Standard_Boolean aResult = Standard_False;
-  if ( aWires.IsNull() ) {
-    if ( theOriginalShape.ShapeType() == TopAbs_WIRE )
-      aResult = aHealer.Perform(TopoDS::Wire(theOriginalShape), isByVertex, !isByVertex);
-  }
-  else {
-    TopTools_SequenceOfShape aShapesWires;
-    TopTools_IndexedMapOfShape aShapes;
-    TopExp::MapShapes(theOriginalShape, aShapes);
-    for (int i = 1; i <= aWires->Length(); i++) {
-      int indexOfWire = aWires->Value(i);
-      TopoDS_Shape aWire = aShapes.FindKey(indexOfWire);
-      aShapesWires.Append(aWire);
-    }
-
-    aResult = aHealer.Perform( aShapesWires, isByVertex, !isByVertex );
-  }
-
-  if (aResult)
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-//=======================================================================
-//function :  RemoveIntWires
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::RemoveIntWires (GEOMImpl_IHealing* theHI,
-                                                         const TopoDS_Shape& theOriginalShape,
-                                                         TopoDS_Shape& theOutShape) const
-{
-  Handle(TColStd_HArray1OfInteger) aWires = theHI->GetWires();
-
-  ShHealOper_RemoveInternalWires aHealer(theOriginalShape);
-
-  Standard_Boolean aResult = Standard_False;
-  if (aWires.IsNull()) { // remove all faces
-    aResult = aHealer.Remove();
-  } else {
-    TopTools_SequenceOfShape aShapesWires;
-    TopTools_IndexedMapOfShape aShapes;
-    TopExp::MapShapes(theOriginalShape, aShapes);
-    for (int i = 1; i <= aWires->Length(); i++) {
-      int indexOfWire = aWires->Value(i);
-      TopoDS_Shape aWire = aShapes.FindKey(indexOfWire);
-      aShapesWires.Append(aWire);
-    }
-
-    aResult = aHealer.Remove(aShapesWires);
-  }
-
-  if (aResult)
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-//=======================================================================
-//function :  RemoveHoles
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::RemoveHoles (GEOMImpl_IHealing* theHI,
-                                                      const TopoDS_Shape& theOriginalShape,
-                                                      TopoDS_Shape& theOutShape) const
-{
-  Handle(TColStd_HArray1OfInteger) aWires = theHI->GetWires();
-
-  ShHealOper_FillHoles aHealer (theOriginalShape);
-
-  Standard_Boolean aResult = Standard_False;
-  if (aWires.IsNull()) { // remove all faces
-    aResult = aHealer.Fill();
-  } else {
-    TopTools_SequenceOfShape aShapesWires;
-    TopTools_IndexedMapOfShape aShapes;
-    TopExp::MapShapes(theOriginalShape, aShapes);
-    for (int i = 1; i <= aWires->Length(); i++) {
-      int indexOfWire = aWires->Value(i);
-      TopoDS_Shape aWire = aShapes.FindKey(indexOfWire);
-      aShapesWires.Append(aWire);
-    }
-
-    aResult = aHealer.Fill(aShapesWires);
-  }
-
-  if (aResult)
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-//=======================================================================
-//function :  Sew
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::Sew (GEOMImpl_IHealing* theHI,
-                                              const TopoDS_Shape& theOriginalShape,
-                                              TopoDS_Shape& theOutShape) const
-{
-  Standard_Real aTol = theHI->GetTolerance();
-
-  ShHealOper_Sewing aHealer (theOriginalShape, aTol);
-
-  Standard_Boolean aResult = aHealer.Perform();
-
-  if (aResult)
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-//=======================================================================
-//function :  AddPointOnEdge
-//purpose  :
-//=======================================================================
-Standard_Boolean GEOMImpl_HealingDriver::AddPointOnEdge (GEOMImpl_IHealing* theHI,
-                                                         const TopoDS_Shape& theOriginalShape,
-                                                         TopoDS_Shape& theOutShape) const
-{
-  Standard_Boolean isByParameter = theHI->GetIsByParameter();
-  Standard_Integer anIndex = theHI->GetIndex();
-  Standard_Real aValue = theHI->GetDevideEdgeValue();
-
-  ShHealOper_EdgeDivide aHealer (theOriginalShape);
-
-  Standard_Boolean aResult = Standard_False;
-  if (anIndex == -1) { // apply algorythm for the whole shape which is EDGE
-    if (theOriginalShape.ShapeType() == TopAbs_EDGE)
-      aResult = aHealer.Perform(TopoDS::Edge(theOriginalShape), aValue, isByParameter);
-  } else {
-    TopTools_IndexedMapOfShape aShapes;
-    TopExp::MapShapes(theOriginalShape, aShapes);
-    TopoDS_Shape aEdgeShape = aShapes.FindKey(anIndex);
-    if (aEdgeShape.ShapeType() == TopAbs_EDGE)
-      aResult = aHealer.Perform(TopoDS::Edge(aEdgeShape), aValue, isByParameter);
-  }
-
-  if (aResult)
-    theOutShape = aHealer.GetResultShape();
-  else
-    raiseNotDoneExeption( aHealer.GetErrorStatus() );
-
-  return aResult;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_HealingDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_HealingDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_HealingDriver",
-                                                        sizeof(GEOMImpl_HealingDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-
-const Handle(GEOMImpl_HealingDriver) Handle(GEOMImpl_HealingDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_HealingDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_HealingDriver))) {
-       _anOtherObject = Handle(GEOMImpl_HealingDriver)((Handle(GEOMImpl_HealingDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_HealingDriver.hxx b/src/GEOMImpl/GEOMImpl_HealingDriver.hxx
deleted file mode 100644 (file)
index 97390d6..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-//  File   : GEOMImpl_HealingDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_HealingDriver_HeaderFile
-#define _GEOMImpl_HealingDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_HealingDriver;
-
-class GEOMImpl_IHealing;
-#include <TopoDS_Shape.hxx>
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_HealingDriver);
-
-class Handle(GEOMImpl_HealingDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
-    Handle(GEOMImpl_HealingDriver)():Handle(TFunction_Driver)() {}
-    Handle(GEOMImpl_HealingDriver)(const Handle(GEOMImpl_HealingDriver)& aHandle) : Handle(TFunction_Driver)(aHandle)
-     {
-     }
-
-    Handle(GEOMImpl_HealingDriver)(const GEOMImpl_HealingDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem)
-     {
-     }
-
-    Handle(GEOMImpl_HealingDriver)& operator=(const Handle(GEOMImpl_HealingDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_HealingDriver)& operator=(const GEOMImpl_HealingDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_HealingDriver* operator->()
-     {
-      return (GEOMImpl_HealingDriver *)ControlAccess();
-     }
-
-    GEOMImpl_HealingDriver* operator->() const
-     {
-      return (GEOMImpl_HealingDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_HealingDriver)() {};
-
-   Standard_EXPORT static const Handle(GEOMImpl_HealingDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_HealingDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
- // Methods PUBLIC
- //
-Standard_EXPORT GEOMImpl_HealingDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const;
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_HealingDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_HealingDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_HealingDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_HealingDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-private:
-Standard_Boolean ShapeProcess  ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean SuppressFaces ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean CloseContour  ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean RemoveIntWires( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean RemoveHoles   ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean Sew           ( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-Standard_Boolean AddPointOnEdge( GEOMImpl_IHealing*, const TopoDS_Shape&, TopoDS_Shape& ) const;
-
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_I3DPrimOperations.cxx b/src/GEOMImpl/GEOMImpl_I3DPrimOperations.cxx
deleted file mode 100644 (file)
index 38439fe..0000000
+++ /dev/null
@@ -1,916 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_I3DPrimOperations.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_BoxDriver.hxx>
-#include <GEOMImpl_CylinderDriver.hxx>
-#include <GEOMImpl_ConeDriver.hxx>
-#include <GEOMImpl_SphereDriver.hxx>
-#include <GEOMImpl_TorusDriver.hxx>
-#include <GEOMImpl_PrismDriver.hxx>
-#include <GEOMImpl_PipeDriver.hxx>
-#include <GEOMImpl_RevolutionDriver.hxx>
-#include <GEOMImpl_ShapeDriver.hxx>
-#include <GEOMImpl_FillingDriver.hxx>
-
-#include <GEOMImpl_IBox.hxx>
-#include <GEOMImpl_ICylinder.hxx>
-#include <GEOMImpl_ICone.hxx>
-#include <GEOMImpl_ISphere.hxx>
-#include <GEOMImpl_ITorus.hxx>
-#include <GEOMImpl_IPrism.hxx>
-#include <GEOMImpl_IPipe.hxx>
-#include <GEOMImpl_IRevolution.hxx>
-#include <GEOMImpl_IShapes.hxx>
-#include <GEOMImpl_IFilling.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_I3DPrimOperations::GEOMImpl_I3DPrimOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_I3DPrimOperations::GEOMImpl_I3DPrimOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_I3DPrimOperations::~GEOMImpl_I3DPrimOperations()
-{
-  MESSAGE("GEOMImpl_I3DPrimOperations::~GEOMImpl_I3DPrimOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakeBoxDXDYDZ
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeBoxDXDYDZ (double theDX, double theDY, double theDZ)
-{
-  SetErrorCode(KO);
-
-  //Add a new Box object
-  Handle(GEOM_Object) aBox = GetEngine()->AddObject(GetDocID(), GEOM_BOX);
-
-  //Add a new Box function with DX_DY_DZ parameters
-  Handle(GEOM_Function) aFunction = aBox->AddFunction(GEOMImpl_BoxDriver::GetID(), BOX_DX_DY_DZ);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BoxDriver::GetID()) return NULL;
-
-  GEOMImpl_IBox aBI (aFunction);
-
-  aBI.SetDX(theDX);
-  aBI.SetDY(theDY);
-  aBI.SetDZ(theDZ);
-
-  //Compute the box value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Box driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aBox << " = geompy.MakeBoxDXDYDZ("
-    << theDX << ", " << theDY << ", " << theDZ << ")";
-
-  SetErrorCode(OK);
-  return aBox;
-}
-
-
-//=============================================================================
-/*!
- *  MakeBoxTwoPnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeBoxTwoPnt (Handle(GEOM_Object) thePnt1,
-                                                               Handle(GEOM_Object) thePnt2)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull()) return NULL;
-
-  //Add a new Box object
-  Handle(GEOM_Object) aBox = GetEngine()->AddObject(GetDocID(), GEOM_BOX);
-
-  //Add a new Box function for creation a box relatively to two points
-  Handle(GEOM_Function) aFunction = aBox->AddFunction(GEOMImpl_BoxDriver::GetID(), BOX_TWO_PNT);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BoxDriver::GetID()) return aBox;
-
-  GEOMImpl_IBox aBI (aFunction);
-
-  Handle(GEOM_Function) aRefFunction1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRefFunction2 = thePnt2->GetLastFunction();
-
-  if (aRefFunction1.IsNull() || aRefFunction2.IsNull()) return aBox;
-
-  aBI.SetRef1(aRefFunction1);
-  aBI.SetRef2(aRefFunction2);
-
-  //Compute the Box value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Box driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aBox << " = geompy.MakeBoxTwoPnt("
-    << thePnt1 << ", " << thePnt2 << ")";
-
-  SetErrorCode(OK);
-  return aBox;
-}
-
-
-//=============================================================================
-/*!
- *  MakeCylinderRH
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeCylinderRH (double theR, double theH)
-{
-  SetErrorCode(KO);
-
-  //Add a new Cylinder object
-  Handle(GEOM_Object) aCylinder = GetEngine()->AddObject(GetDocID(), GEOM_CYLINDER);
-
-  //Add a new Cylinder function with R and H parameters
-  Handle(GEOM_Function) aFunction = aCylinder->AddFunction(GEOMImpl_CylinderDriver::GetID(), CYLINDER_R_H);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_CylinderDriver::GetID()) return NULL;
-
-  GEOMImpl_ICylinder aCI (aFunction);
-
-  aCI.SetR(theR);
-  aCI.SetH(theH);
-
-  //Compute the Cylinder value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Cylinder driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCylinder
-    << " = geompy.MakeCylinderRH(" << theR << ", " << theH << ")";
-
-  SetErrorCode(OK);
-  return aCylinder;
-}
-
-
-//=============================================================================
-/*!
- *  MakeCylinderPntVecRH
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeCylinderPntVecRH (Handle(GEOM_Object) thePnt,
-                                                                      Handle(GEOM_Object) theVec,
-                                                                      double theR, double theH)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Cylinder object
-  Handle(GEOM_Object) aCylinder = GetEngine()->AddObject(GetDocID(), GEOM_CYLINDER);
-
-  //Add a new Cylinder function for creation a cylinder relatively to point and vector
-  Handle(GEOM_Function) aFunction =
-    aCylinder->AddFunction(GEOMImpl_CylinderDriver::GetID(), CYLINDER_PNT_VEC_R_H);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_CylinderDriver::GetID()) return NULL;
-
-  GEOMImpl_ICylinder aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetPoint(aRefPnt);
-  aCI.SetVector(aRefVec);
-  aCI.SetR(theR);
-  aCI.SetH(theH);
-
-  //Compute the Cylinder value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Cylinder driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCylinder << " = geompy.MakeCylinder("
-    << thePnt << ", " << theVec << ", " << theR << ", " << theH << ")";
-
-  SetErrorCode(OK);
-  return aCylinder;
-}
-
-
-//=============================================================================
-/*!
- *  MakeConeR1R2H
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeConeR1R2H (double theR1, double theR2,
-                                                               double theH)
-{
-  SetErrorCode(KO);
-
-  //Add a new Cone object
-  Handle(GEOM_Object) aCone = GetEngine()->AddObject(GetDocID(), GEOM_CONE);
-
-  //Add a new Cone function with R and H parameters
-  Handle(GEOM_Function) aFunction =
-    aCone->AddFunction(GEOMImpl_ConeDriver::GetID(), CONE_R1_R2_H);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ConeDriver::GetID()) return NULL;
-
-  GEOMImpl_ICone aCI (aFunction);
-
-  aCI.SetR1(theR1);
-  aCI.SetR2(theR2);
-  aCI.SetH(theH);
-
-  //Compute the Cone value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Cone driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCone << " = geompy.MakeConeR1R2H("
-    << theR1 << ", " << theR2 << ", " << theH << ")";
-
-  SetErrorCode(OK);
-  return aCone;
-}
-
-
-//=============================================================================
-/*!
- *  MakeConePntVecR1R2H
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeConePntVecR1R2H (Handle(GEOM_Object) thePnt,
-                                                                     Handle(GEOM_Object) theVec,
-                                                                     double theR1, double theR2,
-                                                                     double theH)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Cone object
-  Handle(GEOM_Object) aCone = GetEngine()->AddObject(GetDocID(), GEOM_CONE);
-
-  //Add a new Cone function for creation a cone relatively to point and vector
-  Handle(GEOM_Function) aFunction =
-    aCone->AddFunction(GEOMImpl_ConeDriver::GetID(), CONE_PNT_VEC_R1_R2_H);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ConeDriver::GetID()) return NULL;
-
-  GEOMImpl_ICone aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetPoint(aRefPnt);
-  aCI.SetVector(aRefVec);
-  aCI.SetR1(theR1);
-  aCI.SetR2(theR2);
-  aCI.SetH(theH);
-
-  //Compute the Cone value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Cone driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCone << " = geompy.MakeCone(" << thePnt
-    << ", " << theVec << ", " << theR1 << ", " << theR2 << ", " << theH << ")";
-
-  SetErrorCode(OK);
-  return aCone;
-}
-
-
-//=============================================================================
-/*!
- *  MakeSphereR
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeSphereR (double theR)
-{
-  SetErrorCode(KO);
-
-  //Add a new Sphere object
-  Handle(GEOM_Object) aSphere = GetEngine()->AddObject(GetDocID(), GEOM_SPHERE);
-
-  //Add a new Sphere function with R parameter
-  Handle(GEOM_Function) aFunction = aSphere->AddFunction(GEOMImpl_SphereDriver::GetID(), SPHERE_R);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SphereDriver::GetID()) return NULL;
-
-  GEOMImpl_ISphere aCI (aFunction);
-
-  aCI.SetR(theR);
-
-  //Compute the Sphere value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Sphere driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aSphere << " = geompy.MakeSphereR(" << theR << ")";
-
-  SetErrorCode(OK);
-  return aSphere;
-}
-
-
-//=============================================================================
-/*!
- *  MakeSpherePntR
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeSpherePntR (Handle(GEOM_Object) thePnt,
-                                                                double theR)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull()) return NULL;
-
-  //Add a new Point object
-  Handle(GEOM_Object) aSphere = GetEngine()->AddObject(GetDocID(), GEOM_SPHERE);
-
-  //Add a new Sphere function for creation a sphere relatively to point
-  Handle(GEOM_Function) aFunction = aSphere->AddFunction(GEOMImpl_SphereDriver::GetID(), SPHERE_PNT_R);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SphereDriver::GetID()) return NULL;
-
-  GEOMImpl_ISphere aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-
-  if (aRefPnt.IsNull()) return NULL;
-
-  aCI.SetPoint(aRefPnt);
-  aCI.SetR(theR);
-
-  //Compute the Sphere value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Sphere driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aSphere
-    << " = geompy.MakeSpherePntR(" << thePnt << ", " << theR << ")";
-
-  SetErrorCode(OK);
-  return aSphere;
-}
-
-
-//=============================================================================
-/*!
- *  MakeTorusRR
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeTorusRR
-                                           (double theRMajor, double theRMinor)
-{
-  SetErrorCode(KO);
-
-  //Add a new Torus object
-  Handle(GEOM_Object) anEll = GetEngine()->AddObject(GetDocID(), GEOM_TORUS);
-
-  //Add a new Torus function
-  Handle(GEOM_Function) aFunction =
-    anEll->AddFunction(GEOMImpl_TorusDriver::GetID(), TORUS_RR);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TorusDriver::GetID()) return NULL;
-
-  GEOMImpl_ITorus aCI (aFunction);
-
-  aCI.SetRMajor(theRMajor);
-  aCI.SetRMinor(theRMinor);
-
-  //Compute the Torus value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Torus driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anEll << " = geompy.MakeTorusRR("
-    << theRMajor << ", " << theRMinor << ")";
-
-  SetErrorCode(OK);
-  return anEll;
-}
-
-//=============================================================================
-/*!
- *  MakeTorusPntVecRR
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeTorusPntVecRR
-                       (Handle(GEOM_Object) thePnt, Handle(GEOM_Object) theVec,
-                        double theRMajor, double theRMinor)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Torus object
-  Handle(GEOM_Object) anEll = GetEngine()->AddObject(GetDocID(), GEOM_TORUS);
-
-  //Add a new Torus function
-  Handle(GEOM_Function) aFunction =
-    anEll->AddFunction(GEOMImpl_TorusDriver::GetID(), TORUS_PNT_VEC_RR);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TorusDriver::GetID()) return NULL;
-
-  GEOMImpl_ITorus aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetCenter(aRefPnt);
-  aCI.SetVector(aRefVec);
-  aCI.SetRMajor(theRMajor);
-  aCI.SetRMinor(theRMinor);
-
-  //Compute the Torus value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Torus driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anEll << " = geompy.MakeTorus(" << thePnt
-    << ", " << theVec << ", " << theRMajor << ", " << theRMinor << ")";
-
-  SetErrorCode(OK);
-  return anEll;
-}
-
-
-//=============================================================================
-/*!
- *  MakePrismVecH
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakePrismVecH (Handle(GEOM_Object) theBase,
-                                                               Handle(GEOM_Object) theVec,
-                                                               double theH)
-{
-  SetErrorCode(KO);
-
-  if (theBase.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Prism object
-  Handle(GEOM_Object) aPrism = GetEngine()->AddObject(GetDocID(), GEOM_PRISM);
-
-  //Add a new Prism function for creation a Prism relatively to vector
-  Handle(GEOM_Function) aFunction =
-    aPrism->AddFunction(GEOMImpl_PrismDriver::GetID(), PRISM_BASE_VEC_H);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PrismDriver::GetID()) return NULL;
-
-  GEOMImpl_IPrism aCI (aFunction);
-
-  Handle(GEOM_Function) aRefBase = theBase->GetLastFunction();
-  Handle(GEOM_Function) aRefVec  = theVec->GetLastFunction();
-
-  if (aRefBase.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetBase(aRefBase);
-  aCI.SetVector(aRefVec);
-  aCI.SetH(theH);
-
-  //Compute the Prism value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Prism driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPrism << " = geompy.MakePrismVecH("
-    << theBase << ", " << theVec << ", " << theH << ")";
-
-  SetErrorCode(OK);
-  return aPrism;
-}
-
-//=============================================================================
-/*!
- *  MakePrismTwoPnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakePrismTwoPnt
-       (Handle(GEOM_Object) theBase,
-        Handle(GEOM_Object) thePoint1, Handle(GEOM_Object) thePoint2)
-{
-  SetErrorCode(KO);
-
-  if (theBase.IsNull() || thePoint1.IsNull() || thePoint2.IsNull()) return NULL;
-
-  //Add a new Prism object
-  Handle(GEOM_Object) aPrism = GetEngine()->AddObject(GetDocID(), GEOM_PRISM);
-
-  //Add a new Prism function for creation a Prism relatively to two points
-  Handle(GEOM_Function) aFunction =
-    aPrism->AddFunction(GEOMImpl_PrismDriver::GetID(), PRISM_BASE_TWO_PNT);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PrismDriver::GetID()) return NULL;
-
-  GEOMImpl_IPrism aCI (aFunction);
-
-  Handle(GEOM_Function) aRefBase = theBase->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt1 = thePoint1->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt2 = thePoint2->GetLastFunction();
-
-  if (aRefBase.IsNull() || aRefPnt1.IsNull() || aRefPnt2.IsNull()) return NULL;
-
-  aCI.SetBase(aRefBase);
-  aCI.SetFirstPoint(aRefPnt1);
-  aCI.SetLastPoint(aRefPnt2);
-
-  //Compute the Prism value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Prism driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPrism << " = geompy.MakePrism("
-    << theBase << ", " << thePoint1 << ", " << thePoint2 << ")";
-
-  SetErrorCode(OK);
-  return aPrism;
-}
-
-
-//=============================================================================
-/*!
- *  MakePipe
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakePipe (Handle(GEOM_Object) theBase,
-                                                          Handle(GEOM_Object) thePath)
-{
-  SetErrorCode(KO);
-
-  if (theBase.IsNull() || thePath.IsNull()) return NULL;
-
-  //Add a new Pipe object
-  Handle(GEOM_Object) aPipe = GetEngine()->AddObject(GetDocID(), GEOM_PIPE);
-
-  //Add a new Pipe function
-  Handle(GEOM_Function) aFunction =
-    aPipe->AddFunction(GEOMImpl_PipeDriver::GetID(), PIPE_BASE_PATH);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PipeDriver::GetID()) return NULL;
-
-  GEOMImpl_IPipe aCI (aFunction);
-
-  Handle(GEOM_Function) aRefBase = theBase->GetLastFunction();
-  Handle(GEOM_Function) aRefPath = thePath->GetLastFunction();
-
-  if (aRefBase.IsNull() || aRefPath.IsNull()) return NULL;
-
-  aCI.SetBase(aRefBase);
-  aCI.SetPath(aRefPath);
-
-  //Compute the Pipe value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Pipe driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPipe << " = geompy.MakePipe("
-    << theBase << ", " << thePath << ")";
-
-  SetErrorCode(OK);
-  return aPipe;
-}
-
-
-//=============================================================================
-/*!
- *  MakeRevolutionAxisAngle
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeRevolutionAxisAngle (Handle(GEOM_Object) theBase,
-                                                                         Handle(GEOM_Object) theAxis,
-                                                                         double theAngle)
-{
-  SetErrorCode(KO);
-
-  if (theBase.IsNull() || theAxis.IsNull()) return NULL;
-
-  //Add a new Revolution object
-  Handle(GEOM_Object) aRevolution = GetEngine()->AddObject(GetDocID(), GEOM_REVOLUTION);
-
-  //Add a new Revolution function for creation a revolution relatively to axis
-  Handle(GEOM_Function) aFunction =
-    aRevolution->AddFunction(GEOMImpl_RevolutionDriver::GetID(), REVOLUTION_BASE_AXIS_ANGLE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_RevolutionDriver::GetID()) return NULL;
-
-  GEOMImpl_IRevolution aCI (aFunction);
-
-  Handle(GEOM_Function) aRefBase = theBase->GetLastFunction();
-  Handle(GEOM_Function) aRefAxis = theAxis->GetLastFunction();
-
-  if (aRefBase.IsNull() || aRefAxis.IsNull()) return NULL;
-
-  aCI.SetBase(aRefBase);
-  aCI.SetAxis(aRefAxis);
-  aCI.SetAngle(theAngle);
-
-  //Compute the Revolution value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Revolution driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aRevolution << " = geompy.MakeRevolution("
-    << theBase << ", " << theAxis << ", " << theAngle * 180.0 / PI << "*math.pi/180.0)";
-
-  SetErrorCode(OK);
-  return aRevolution;
-}
-
-
-//=============================================================================
-/*!
- *  MakeSolidShell
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeSolidShell (Handle(GEOM_Object) theShell)
-{
-  SetErrorCode(KO);
-
-  if (theShell.IsNull()) return NULL;
-
-  //Add a new Solid object
-  Handle(GEOM_Object) aSolid = GetEngine()->AddObject(GetDocID(), GEOM_SOLID);
-
-  //Add a new Solid function for creation a solid from a shell
-  Handle(GEOM_Function) aFunction =
-    aSolid->AddFunction(GEOMImpl_ShapeDriver::GetID(), SOLID_SHELL);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShell = theShell->GetLastFunction();
-
-  if (aRefShell.IsNull()) return NULL;
-
-  aCI.SetBase(aRefShell);
-
-  //Compute the Solid value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Solid driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aSolid << " = geompy.MakeSolid(" << theShell << ")";
-
-  SetErrorCode(OK);
-  return aSolid;
-}
-
-//=============================================================================
-/*!
- *  MakeFilling
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_I3DPrimOperations::MakeFilling
-       (Handle(GEOM_Object) theShape, int theMinDeg, int theMaxDeg,
-        double theTol2D, double theTol3D, int theNbIter)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-
-  //Add a new Filling object
-  Handle(GEOM_Object) aFilling = GetEngine()->AddObject(GetDocID(), GEOM_FILLING);
-
-  //Add a new Filling function for creation a filling  from a compound
-  Handle(GEOM_Function) aFunction = aFilling->AddFunction(GEOMImpl_FillingDriver::GetID(), BASIC_FILLING);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_FillingDriver::GetID()) return NULL;
-
-  GEOMImpl_IFilling aFI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-
-  if (aRefShape.IsNull()) return NULL;
-
-  aFI.SetShape(aRefShape);
-  aFI.SetMinDeg(theMinDeg);
-  aFI.SetMaxDeg(theMaxDeg);
-  aFI.SetTol2D(theTol2D);
-  aFI.SetTol3D(theTol3D);
-  aFI.SetNbIter(theNbIter);
-
-  //Compute the Solid value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Filling driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    if (strcmp(aFail->GetMessageString(), "Geom_BSplineSurface") == 0)
-      SetErrorCode("B-Spline surface construction failed");
-    else
-      SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFilling << " = geompy.MakeFilling("
-    << theShape << ", " << theMinDeg << ", " << theMaxDeg << ", "
-      << theTol2D << ", " << theTol3D << ", " << theNbIter << ")";
-
-  SetErrorCode(OK);
-  return aFilling;
-}
diff --git a/src/GEOMImpl/GEOMImpl_I3DPrimOperations.hxx b/src/GEOMImpl/GEOMImpl_I3DPrimOperations.hxx
deleted file mode 100644 (file)
index 7cbf817..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-
-#ifndef _GEOMImpl_I3DPrimOperations_HXX_
-#define _GEOMImpl_I3DPrimOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-
-class GEOMImpl_I3DPrimOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_I3DPrimOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_I3DPrimOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) MakeBoxDXDYDZ (double theDX, double theDY, double theDZ);
-  Standard_EXPORT Handle(GEOM_Object) MakeBoxTwoPnt (Handle(GEOM_Object) thePnt1,
-                                     Handle(GEOM_Object) thePnt2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeCylinderRH       (double theR, double theH);
-  Standard_EXPORT Handle(GEOM_Object) MakeCylinderPntVecRH (Handle(GEOM_Object) thePnt,
-                                            Handle(GEOM_Object) theVec,
-                                            double theR, double theH);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeConeR1R2H       (double theR1, double theR2, double theH);
-  Standard_EXPORT Handle(GEOM_Object) MakeConePntVecR1R2H (Handle(GEOM_Object) thePnt,
-                                           Handle(GEOM_Object) theVec,
-                                           double theR1, double theR2, double theH);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSphereR    (double theR);
-  Standard_EXPORT Handle(GEOM_Object) MakeSpherePntR (Handle(GEOM_Object) thePnt, double theR);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeTorusRR (double theRMajor, double theRMinor);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeTorusPntVecRR (Handle(GEOM_Object) thePnt,
-                                         Handle(GEOM_Object) theVec,
-                                         double theRMajor, double theRMinor);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePrismVecH (Handle(GEOM_Object) theBase,
-                                     Handle(GEOM_Object) theVec, double theH);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePrismTwoPnt (Handle(GEOM_Object) theBase,
-                                       Handle(GEOM_Object) thePoint1,
-                                       Handle(GEOM_Object) thePoint2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePipe (Handle(GEOM_Object) theBase,
-                                Handle(GEOM_Object) thePath);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeRevolutionAxisAngle (Handle(GEOM_Object) theBase,
-                                               Handle(GEOM_Object) theAxis,
-                                               double theAngle);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSolidShell (Handle(GEOM_Object) theShell);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeFilling (Handle(GEOM_Object) theShape, int theMinDeg, int theMaxDeg, double theTol2D, double theTol3D, int theNbIter);
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IArc.hxx b/src/GEOMImpl/GEOMImpl_IArc.hxx
deleted file mode 100644 (file)
index 0c8c75d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-//NOTE: This is an intreface to a function for the Arc creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define ARC_ARG_PI  1
-#define ARC_ARG_PC  2
-#define ARC_ARG_PE  3
-
-class GEOMImpl_IArc
-{
- public:
-
-  GEOMImpl_IArc(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetPoint1(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PI, theP); }
-  void SetPoint2(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PC, theP); }
-  void SetPoint3(Handle(GEOM_Function) theP) { _func->SetReference(ARC_ARG_PE, theP); }
-
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(ARC_ARG_PI); }
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(ARC_ARG_PC); }
-  Handle(GEOM_Function) GetPoint3() { return _func->GetReference(ARC_ARG_PE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IArchimede.hxx b/src/GEOMImpl/GEOMImpl_IArchimede.hxx
deleted file mode 100644 (file)
index 0b298a0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-//NOTE: This is an intreface to a function for the Archimede operation.
-
-
-#include "GEOM_Function.hxx"
-
-#define ARG_WEIGHT   1  
-#define ARG_DENSITY  2
-#define ARG_DEFLECT  3 
-#define ARG_SHAPE    4
-
-class GEOMImpl_IArchimede
-{
- public:
-  
-  GEOMImpl_IArchimede(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-  
-  void SetWeight(Standard_Real theWeight) { _func->SetReal(ARG_WEIGHT, theWeight); }
-  
-  Standard_Real GetWeight() { return _func->GetReal(ARG_WEIGHT); }
-  
-  void SetDensity(Standard_Real theDensity) { _func->SetReal(ARG_DENSITY, theDensity); }
-  
-  Standard_Real GetDensity() { return _func->GetReal(ARG_DENSITY); } 
-  
-  void SetDeflection(Standard_Real theDeflection) { _func->SetReal(ARG_DEFLECT, theDeflection); }
-  
-  Standard_Real GetDeflection() { return _func->GetReal(ARG_DEFLECT); }
-  
-  void SetBasicShape(Handle(GEOM_Function) theShape) { _func->SetReference(ARG_SHAPE, theShape); }
-
-  Handle(GEOM_Function) GetBasicShape() { return _func->GetReference(ARG_SHAPE); }
-  
- private:
-  
-  Handle(GEOM_Function) _func;  
-};
diff --git a/src/GEOMImpl/GEOMImpl_IBasicOperations.cxx b/src/GEOMImpl/GEOMImpl_IBasicOperations.cxx
deleted file mode 100644 (file)
index d252f6e..0000000
+++ /dev/null
@@ -1,624 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IBasicOperations.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_PointDriver.hxx>
-#include <GEOMImpl_VectorDriver.hxx>
-#include <GEOMImpl_LineDriver.hxx>
-#include <GEOMImpl_PlaneDriver.hxx>
-#include <GEOMImpl_MarkerDriver.hxx>
-
-#include <GEOMImpl_IPoint.hxx>
-#include <GEOMImpl_IVector.hxx>
-#include <GEOMImpl_ILine.hxx>
-#include <GEOMImpl_IPlane.hxx>
-#include <GEOMImpl_IMarker.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IBasicOperations::GEOMImpl_IBasicOperations(GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IBasicOperations::GEOMImpl_IBasicOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IBasicOperations::~GEOMImpl_IBasicOperations()
-{
-  MESSAGE("GEOMImpl_IBasicOperations::~GEOMImpl_IBasicOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakePointXYZ
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointXYZ
-                                        (double theX, double theY, double theZ)
-{
-  SetErrorCode(KO);
-
-  //Add a new Point object
-  Handle(GEOM_Object) aPoint = GetEngine()->AddObject(GetDocID(), GEOM_POINT);
-
-  //Add a new Point function with XYZ parameters
-  Handle(GEOM_Function) aFunction =
-    aPoint->AddFunction(GEOMImpl_PointDriver::GetID(), POINT_XYZ);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PointDriver::GetID()) return NULL;
-
-  GEOMImpl_IPoint aPI(aFunction);
-
-  aPI.SetX(theX);
-  aPI.SetY(theY);
-  aPI.SetZ(theZ);
-
-  //Compute the point value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Point driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPoint << " = geompy.MakeVertex("
-    << theX << ", " << theY << ", " << theZ << ")";
-
-  SetErrorCode(OK);
-  return aPoint;
-}
-
-//=============================================================================
-/*!
- *  MakePointWithReference
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointWithReference
-      (Handle(GEOM_Object) theReference, double theX, double theY, double theZ)
-{
-  SetErrorCode(KO);
-
-  if (theReference.IsNull()) return NULL;
-
-  //Add a new Point object
-  Handle(GEOM_Object) aPoint = GetEngine()->AddObject(GetDocID(), GEOM_POINT);
-
-  //Add a new Point function for creation a point relativley another point
-  Handle(GEOM_Function) aFunction = aPoint->AddFunction(GEOMImpl_PointDriver::GetID(), POINT_XYZ_REF);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PointDriver::GetID()) return NULL;
-
-  GEOMImpl_IPoint aPI(aFunction);
-
-  Handle(GEOM_Function) aRefFunction = theReference->GetLastFunction();
-  if (aRefFunction.IsNull()) return NULL;
-
-  aPI.SetRef(aRefFunction);
-  aPI.SetX(theX);
-  aPI.SetY(theY);
-  aPI.SetZ(theZ);
-
-  //Compute the point value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Point driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPoint << " = geompy.MakeVertexWithRef("
-    << theReference << ", " << theX << ", " << theY << ", " << theZ << ")";
-
-  SetErrorCode(OK);
-  return aPoint;
-}
-
-//=============================================================================
-/*!
- *  MakePointOnCurve
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePointOnCurve
-                            (Handle(GEOM_Object) theCurve, double theParameter)
-{
-  SetErrorCode(KO);
-
-  if (theCurve.IsNull()) return NULL;
-
-  //Add a new Point object
-  Handle(GEOM_Object) aPoint = GetEngine()->AddObject(GetDocID(), GEOM_POINT);
-
-  //Add a new Point function for creation a point relativley another point
-  Handle(GEOM_Function) aFunction = aPoint->AddFunction(GEOMImpl_PointDriver::GetID(), POINT_CURVE_PAR);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PointDriver::GetID()) return NULL;
-
-  GEOMImpl_IPoint aPI (aFunction);
-
-  Handle(GEOM_Function) aRefFunction = theCurve->GetLastFunction();
-  if (aRefFunction.IsNull()) return NULL;
-
-  aPI.SetCurve(aRefFunction);
-  aPI.SetParameter(theParameter);
-
-  //Compute the point value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Point driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPoint << " = geompy.MakeVertexOnCurve("
-                               << theCurve << ", " << theParameter << ")";
-
-  SetErrorCode(OK);
-  return aPoint;
-}
-
-
-//=============================================================================
-/*!
- *  MakeVectorDXDYDZ
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakeVectorDXDYDZ
-                                     (double theDX, double theDY, double theDZ)
-{
-  SetErrorCode(KO);
-
-  //Add a new Vector object
-  Handle(GEOM_Object) aVector = GetEngine()->AddObject(GetDocID(), GEOM_VECTOR);
-
-  //Add a new Vector function with DXDYDZ parameters
-  Handle(GEOM_Function) aFunction =
-    aVector->AddFunction(GEOMImpl_VectorDriver::GetID(), VECTOR_DX_DY_DZ);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_VectorDriver::GetID()) return NULL;
-
-  GEOMImpl_IVector aPI (aFunction);
-
-  aPI.SetDX(theDX);
-  aPI.SetDY(theDY);
-  aPI.SetDZ(theDZ);
-
-  //Compute the Vector value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Vector driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aVector << " = geompy.MakeVectorDXDYDZ("
-    << theDX << ", " << theDY << ", " << theDZ << ")";
-
-  SetErrorCode(OK);
-  return aVector;
-}
-
-//=============================================================================
-/*!
- *  MakeVectorTwoPnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakeVectorTwoPnt
-                     (Handle(GEOM_Object) thePnt1, Handle(GEOM_Object) thePnt2)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull()) return NULL;
-
-  //Add a new Vector object
-  Handle(GEOM_Object) aVector = GetEngine()->AddObject(GetDocID(), GEOM_VECTOR);
-
-  //Add a new Vector function
-  Handle(GEOM_Function) aFunction =
-    aVector->AddFunction(GEOMImpl_VectorDriver::GetID(), VECTOR_TWO_PNT);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_VectorDriver::GetID()) return NULL;
-
-  GEOMImpl_IVector aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePnt2->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aPI.SetPoint1(aRef1);
-  aPI.SetPoint2(aRef2);
-
-  //Compute the Vector value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Vector driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aVector << " = geompy.MakeVector("
-                               << thePnt1 << ", " << thePnt2 << ")";
-
-  SetErrorCode(OK);
-  return aVector;
-}
-
-
-//=============================================================================
-/*!
- *  MakeLine
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakeLine
-                     (Handle(GEOM_Object) thePnt, Handle(GEOM_Object) theDir)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theDir.IsNull()) return NULL;
-
-  //Add a new Line object
-  Handle(GEOM_Object) aLine = GetEngine()->AddObject(GetDocID(), GEOM_LINE);
-
-  //Add a new Line function
-  Handle(GEOM_Function) aFunction =
-    aLine->AddFunction(GEOMImpl_LineDriver::GetID(), LINE_PNT_DIR);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_LineDriver::GetID()) return NULL;
-
-  GEOMImpl_ILine aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theDir->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aPI.SetPoint1(aRef1);
-  aPI.SetPoint2(aRef2);
-
-  //Compute the Line value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Line driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aLine << " = geompy.MakeLine("
-                               << thePnt << ", " << theDir << ")";
-
-  SetErrorCode(OK);
-  return aLine;
-}
-
-//=============================================================================
-/*!
- *  MakeLineTwoPnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakeLineTwoPnt
-                     (Handle(GEOM_Object) thePnt1, Handle(GEOM_Object) thePnt2)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull()) return NULL;
-
-  //Add a new Line object
-  Handle(GEOM_Object) aLine = GetEngine()->AddObject(GetDocID(), GEOM_LINE);
-
-  //Add a new Line function
-  Handle(GEOM_Function) aFunction =
-    aLine->AddFunction(GEOMImpl_LineDriver::GetID(), LINE_TWO_PNT);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_LineDriver::GetID()) return NULL;
-
-  GEOMImpl_ILine aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePnt2->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aPI.SetPoint1(aRef1);
-  aPI.SetPoint2(aRef2);
-
-  //Compute the Line value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Line driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aLine << " = geompy.MakeLineTwoPnt("
-                               << thePnt1 << ", " << thePnt2 << ")";
-
-  SetErrorCode(OK);
-  return aLine;
-}
-
-
-//=============================================================================
-/*!
- *  MakePlaneThreePnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePlaneThreePnt
-                     (Handle(GEOM_Object) thePnt1, Handle(GEOM_Object) thePnt2,
-                      Handle(GEOM_Object) thePnt3, double theSize)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull() || thePnt3.IsNull()) return NULL;
-
-  //Add a new Plane object
-  Handle(GEOM_Object) aPlane = GetEngine()->AddObject(GetDocID(), GEOM_PLANE);
-
-  //Add a new Plane function
-  Handle(GEOM_Function) aFunction =
-    aPlane->AddFunction(GEOMImpl_PlaneDriver::GetID(), PLANE_THREE_PNT);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PlaneDriver::GetID()) return NULL;
-
-  GEOMImpl_IPlane aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePnt2->GetLastFunction();
-  Handle(GEOM_Function) aRef3 = thePnt3->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull() || aRef3.IsNull()) return NULL;
-
-  aPI.SetPoint1(aRef1);
-  aPI.SetPoint2(aRef2);
-  aPI.SetPoint3(aRef3);
-  aPI.SetSize(theSize);
-
-  //Compute the Plane value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Plane driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPlane << " = geompy.MakePlaneThreePnt("
-    << thePnt1 << ", " << thePnt2 << ", " << thePnt3 << ", " << theSize << ")";
-
-  SetErrorCode(OK);
-  return aPlane;
-}
-
-//=============================================================================
-/*!
- *  MakePlanePntVec
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePlanePntVec
-                       (Handle(GEOM_Object) thePnt, Handle(GEOM_Object) theVec,
-                        double theSize)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Plane object
-  Handle(GEOM_Object) aPlane = GetEngine()->AddObject(GetDocID(), GEOM_PLANE);
-
-  //Add a new Plane function
-  Handle(GEOM_Function) aFunction =
-    aPlane->AddFunction(GEOMImpl_PlaneDriver::GetID(), PLANE_PNT_VEC);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PlaneDriver::GetID()) return NULL;
-
-  GEOMImpl_IPlane aPI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aPI.SetPoint(aRefPnt);
-  aPI.SetVector(aRefVec);
-  aPI.SetSize(theSize);
-
-  //Compute the Plane value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Plane driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPlane << " = geompy.MakePlane("
-    << thePnt << ", " << theVec << ", " << theSize << ")";
-
-  SetErrorCode(OK);
-  return aPlane;
-}
-
-//=============================================================================
-/*!
- *  MakePlaneFace
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakePlaneFace
-                       (Handle(GEOM_Object) theFace, double theSize)
-{
-  SetErrorCode(KO);
-
-  if (theFace.IsNull()) return NULL;
-
-  //Add a new Plane object
-  Handle(GEOM_Object) aPlane = GetEngine()->AddObject(GetDocID(), GEOM_PLANE);
-
-  //Add a new Plane function
-  Handle(GEOM_Function) aFunction =
-    aPlane->AddFunction(GEOMImpl_PlaneDriver::GetID(), PLANE_FACE);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PlaneDriver::GetID()) return NULL;
-
-  GEOMImpl_IPlane aPI (aFunction);
-
-  Handle(GEOM_Function) aRef = theFace->GetLastFunction();
-  if (aRef.IsNull()) return NULL;
-
-  aPI.SetFace(aRef);
-  aPI.SetSize(theSize);
-
-  //Compute the Plane value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Plane driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aPlane << " = geompy.MakePlaneFace("
-                               << theFace << ", " << theSize << ")";
-
-  SetErrorCode(OK);
-  return aPlane;
-}
-
-
-//=============================================================================
-/*!
- *  MakeMarker
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBasicOperations::MakeMarker
-                                  (double theOX,  double theOY,  double theOZ,
-                                   double theXDX, double theXDY, double theXDZ,
-                                   double theYDX, double theYDY, double theYDZ)
-{
-  SetErrorCode(KO);
-
-  //Add a new Marker object
-  Handle(GEOM_Object) aMarker = GetEngine()->AddObject(GetDocID(), GEOM_MARKER);
-
-  //Add a new Marker function
-  Handle(GEOM_Function) aFunction =
-    aMarker->AddFunction(GEOMImpl_MarkerDriver::GetID(), MARKER_CS);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MarkerDriver::GetID()) return NULL;
-
-  GEOMImpl_IMarker aPI(aFunction);
-
-  aPI.SetOrigin(theOX, theOY, theOZ);
-  aPI.SetXDir(theXDX, theXDY, theXDZ);
-  aPI.SetYDir(theYDX, theYDY, theYDZ);
-
-  //Compute the marker value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Marker driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aMarker << " = geompy.MakeMarker("
-    << theOX << ", " << theOY << ", " << theOZ << ", "
-      << theXDX << ", " << theXDY << ", " << theXDZ << ", "
-        << theYDX << ", " << theYDY << ", " << theYDZ << ")";
-
-  SetErrorCode(OK);
-  return aMarker;
-}
diff --git a/src/GEOMImpl/GEOMImpl_IBasicOperations.hxx b/src/GEOMImpl/GEOMImpl_IBasicOperations.hxx
deleted file mode 100644 (file)
index 631559b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-
-#ifndef _GEOMImpl_IBasicOperations_HXX_
-#define _GEOMImpl_IBasicOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-
-class GEOMImpl_IBasicOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IBasicOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IBasicOperations();
-
-  // Point
-  Standard_EXPORT Handle(GEOM_Object) MakePointXYZ (double theX, double theY, double theZ);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePointWithReference (Handle(GEOM_Object) theReference,
-                                              double theX, double theY, double theZ);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePointOnCurve (Handle(GEOM_Object) theCurve,
-                                        double theParameter);
-
-  // Vector
-  Standard_EXPORT Handle(GEOM_Object) MakeVectorDXDYDZ (double theDX, double theDY, double theDZ);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeVectorTwoPnt (Handle(GEOM_Object) thePnt1,
-                                        Handle(GEOM_Object) thePnt2);
-
-  // Line
-  Standard_EXPORT Handle(GEOM_Object) MakeLineTwoPnt (Handle(GEOM_Object) thePnt1,
-                                      Handle(GEOM_Object) thePnt2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeLine (Handle(GEOM_Object) thePnt,
-                                Handle(GEOM_Object) theDir);
-
-  // Plane
-  Standard_EXPORT Handle(GEOM_Object) MakePlaneThreePnt (Handle(GEOM_Object) thePnt1,
-                                         Handle(GEOM_Object) thePnt2,
-                                         Handle(GEOM_Object) thePnt3,
-                                         double theSize);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePlanePntVec (Handle(GEOM_Object) thePnt,
-                                       Handle(GEOM_Object) theVec,
-                                       double theSize);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePlaneFace (Handle(GEOM_Object) theFace, double theSize);
-
-  // Marker
-  Standard_EXPORT Handle(GEOM_Object) MakeMarker (double theOX,  double theOY,  double theOZ,
-                                  double theXDX, double theXDY, double theXDZ,
-                                  double theYDX, double theYDY, double theYDZ);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IBlockTrsf.hxx b/src/GEOMImpl/GEOMImpl_IBlockTrsf.hxx
deleted file mode 100644 (file)
index 205f740..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-//NOTE: This is an interface to a function for the Blocks Multi-Transformations.
-
-
-#include "GEOM_Function.hxx"
-
-#define TRSF_ORIGIN  1
-
-#define TRSF_FACE_1_U  2
-#define TRSF_FACE_2_U  3
-#define TRSF_NBITER_U  4
-#define TRSF_FACE_1_V  5
-#define TRSF_FACE_2_V  6
-#define TRSF_NBITER_V  7
-
-class GEOMImpl_IBlockTrsf
-{
- public:
-
-  GEOMImpl_IBlockTrsf (Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOriginal (Handle(GEOM_Function) theOriginal) { _func->SetReference(TRSF_ORIGIN, theOriginal); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(TRSF_ORIGIN); }
-
-  void SetFace1U  (int theFaceId) { _func->SetInteger(TRSF_FACE_1_U, theFaceId); }
-  void SetFace2U  (int theFaceId) { _func->SetInteger(TRSF_FACE_2_U, theFaceId); }
-  void SetFace1V  (int theFaceId) { _func->SetInteger(TRSF_FACE_1_V, theFaceId); }
-  void SetFace2V  (int theFaceId) { _func->SetInteger(TRSF_FACE_2_V, theFaceId); }
-  void SetNbIterU (int theNbIter) { _func->SetInteger(TRSF_NBITER_U, theNbIter); }
-  void SetNbIterV (int theNbIter) { _func->SetInteger(TRSF_NBITER_V, theNbIter); }
-
-  int GetFace1U () { return _func->GetInteger(TRSF_FACE_1_U); }
-  int GetFace2U () { return _func->GetInteger(TRSF_FACE_2_U); }
-  int GetFace1V () { return _func->GetInteger(TRSF_FACE_1_V); }
-  int GetFace2V () { return _func->GetInteger(TRSF_FACE_2_V); }
-  int GetNbIterU() { return _func->GetInteger(TRSF_NBITER_U); }
-  int GetNbIterV() { return _func->GetInteger(TRSF_NBITER_V); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IBlocks.hxx b/src/GEOMImpl/GEOMImpl_IBlocks.hxx
deleted file mode 100644 (file)
index a98c9d3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// NOTE: This is an interface to a function for the Blocks
-// creation and transformation.
-
-
-#include "GEOM_Function.hxx"
-
-#include "TColStd_HSequenceOfTransient.hxx"
-
-#define BLOCK_ARG_SHAPES 1 // Arguments for creation of block or face of block
-
-class GEOMImpl_IBlocks
-{
- public:
-
-  GEOMImpl_IBlocks(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShapes(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(BLOCK_ARG_SHAPES, theShapes); }
-
-  Handle(TColStd_HSequenceOfTransient) GetShapes()
-  { return _func->GetReferenceList(BLOCK_ARG_SHAPES); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx b/src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx
deleted file mode 100644 (file)
index 9f0bcc9..0000000
+++ /dev/null
@@ -1,3129 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IBlocksOperations.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_BlockDriver.hxx>
-#include <GEOMImpl_IBlocks.hxx>
-#include <GEOMImpl_IBlockTrsf.hxx>
-#include <GEOMImpl_CopyDriver.hxx>
-#include <GEOMImpl_Block6Explorer.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMAlgo_GlueAnalyser.hxx>
-#include <GEOMAlgo_CoupleOfShapes.hxx>
-#include <GEOMAlgo_ListOfCoupleOfShapes.hxx>
-#include <GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx>
-#include <BlockFix_CheckTool.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDF_Tool.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepTools.hxx>
-#include <BRepTools_WireExplorer.hxx>
-#include <BRepGProp.hxx>
-#include <BRepBndLib.hxx>
-#include <BRepAdaptor_Surface.hxx>
-#include <BRepClass_FaceClassifier.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-#include <BRepExtrema_DistShapeShape.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_Array1OfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeInteger.hxx>
-
-#include <Bnd_Box.hxx>
-#include <GProp_GProps.hxx>
-
-#include <Geom_Surface.hxx>
-#include <ShapeAnalysis_Surface.hxx>
-
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_Array1OfReal.hxx>
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_Array2OfInteger.hxx>
-
-//#include <OSD_Timer.hxx>
-
-#include <Precision.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IBlocksOperations::GEOMImpl_IBlocksOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IBlocksOperations::GEOMImpl_IBlocksOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IBlocksOperations::~GEOMImpl_IBlocksOperations()
-{
-  MESSAGE("GEOMImpl_IBlocksOperations::~GEOMImpl_IBlocksOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakeQuad
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeQuad
-                     (Handle(GEOM_Object) theEdge1, Handle(GEOM_Object) theEdge2,
-                      Handle(GEOM_Object) theEdge3, Handle(GEOM_Object) theEdge4)
-{
-  SetErrorCode(KO);
-
-  if (theEdge1.IsNull() || theEdge2.IsNull() ||
-      theEdge3.IsNull() || theEdge4.IsNull()) return NULL;
-
-  //Add a new Face object
-  Handle(GEOM_Object) aFace = GetEngine()->AddObject(GetDocID(), GEOM_FACE);
-
-  //Add a new Face function
-  Handle(GEOM_Function) aFunction =
-    aFace->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_FACE_FOUR_EDGES);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = theEdge1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theEdge2->GetLastFunction();
-  Handle(GEOM_Function) aRef3 = theEdge3->GetLastFunction();
-  Handle(GEOM_Function) aRef4 = theEdge4->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull() ||
-      aRef3.IsNull() || aRef4.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-  aShapesSeq->Append(aRef2);
-  aShapesSeq->Append(aRef3);
-  aShapesSeq->Append(aRef4);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Face value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a face");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFace << " = geompy.MakeQuad("
-    << theEdge1 << ", " << theEdge2 << ", " << theEdge3 << ", " << theEdge4 << ")";
-
-  SetErrorCode(OK);
-  return aFace;
-}
-
-//=============================================================================
-/*!
- *  MakeQuad2Edges
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeQuad2Edges
-                     (Handle(GEOM_Object) theEdge1, Handle(GEOM_Object) theEdge2)
-{
-  SetErrorCode(KO);
-
-  if (theEdge1.IsNull() || theEdge2.IsNull()) return NULL;
-
-  //Add a new Face object
-  Handle(GEOM_Object) aFace = GetEngine()->AddObject(GetDocID(), GEOM_FACE);
-
-  //Add a new Face function
-  Handle(GEOM_Function) aFunction =
-    aFace->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_FACE_TWO_EDGES);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = theEdge1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theEdge2->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-  aShapesSeq->Append(aRef2);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Face value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a face");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFace << " = geompy.MakeQuad2Edges("
-                               << theEdge1 << ", " << theEdge2 << ")";
-
-  SetErrorCode(OK);
-  return aFace;
-}
-
-//=============================================================================
-/*!
- *  MakeQuad4Vertices
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeQuad4Vertices
-                     (Handle(GEOM_Object) thePnt1, Handle(GEOM_Object) thePnt2,
-                      Handle(GEOM_Object) thePnt3, Handle(GEOM_Object) thePnt4)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull() ||
-      thePnt3.IsNull() || thePnt4.IsNull()) return NULL;
-
-  //Add a new Face object
-  Handle(GEOM_Object) aFace = GetEngine()->AddObject(GetDocID(), GEOM_FACE);
-
-  //Add a new Face function
-  Handle(GEOM_Function) aFunction =
-    aFace->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_FACE_FOUR_PNT);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePnt2->GetLastFunction();
-  Handle(GEOM_Function) aRef3 = thePnt3->GetLastFunction();
-  Handle(GEOM_Function) aRef4 = thePnt4->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull() ||
-      aRef3.IsNull() || aRef4.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-  aShapesSeq->Append(aRef2);
-  aShapesSeq->Append(aRef3);
-  aShapesSeq->Append(aRef4);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Face value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a face");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFace << " = geompy.MakeQuad4Vertices("
-    << thePnt1 << ", " << thePnt2 << ", " << thePnt3 << ", " << thePnt4 << ")";
-
-  SetErrorCode(OK);
-  return aFace;
-}
-
-//=============================================================================
-/*!
- *  MakeHexa
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeHexa
-                     (Handle(GEOM_Object) theFace1, Handle(GEOM_Object) theFace2,
-                      Handle(GEOM_Object) theFace3, Handle(GEOM_Object) theFace4,
-                      Handle(GEOM_Object) theFace5, Handle(GEOM_Object) theFace6)
-{
-  SetErrorCode(KO);
-
-  if (theFace1.IsNull() || theFace2.IsNull() ||
-      theFace3.IsNull() || theFace4.IsNull() ||
-      theFace5.IsNull() || theFace6.IsNull()) return NULL;
-
-  //Add a new Solid object
-  Handle(GEOM_Object) aBlock = GetEngine()->AddObject(GetDocID(), GEOM_BLOCK);
-
-  //Add a new Block function
-  Handle(GEOM_Function) aFunction =
-    aBlock->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_SIX_FACES);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = theFace1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theFace2->GetLastFunction();
-  Handle(GEOM_Function) aRef3 = theFace3->GetLastFunction();
-  Handle(GEOM_Function) aRef4 = theFace4->GetLastFunction();
-  Handle(GEOM_Function) aRef5 = theFace5->GetLastFunction();
-  Handle(GEOM_Function) aRef6 = theFace6->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull() ||
-      aRef3.IsNull() || aRef4.IsNull() ||
-      aRef5.IsNull() || aRef6.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-  aShapesSeq->Append(aRef2);
-  aShapesSeq->Append(aRef3);
-  aShapesSeq->Append(aRef4);
-  aShapesSeq->Append(aRef5);
-  aShapesSeq->Append(aRef6);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Block value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a block");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aBlock << " = geompy.MakeHexa("
-    << theFace1 << ", " << theFace2 << ", " << theFace3 << ", "
-      << theFace4 << ", " << theFace5 << ", " << theFace6 << ")";
-
-  SetErrorCode(OK);
-  return aBlock;
-}
-
-//=============================================================================
-/*!
- *  MakeHexa2Faces
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeHexa2Faces
-                   (Handle(GEOM_Object) theFace1, Handle(GEOM_Object) theFace2)
-{
-  SetErrorCode(KO);
-
-  if (theFace1.IsNull() || theFace2.IsNull()) return NULL;
-
-  //Add a new Solid object
-  Handle(GEOM_Object) aBlock = GetEngine()->AddObject(GetDocID(), GEOM_BLOCK);
-
-  //Add a new Block function
-  Handle(GEOM_Function) aFunction =
-    aBlock->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_TWO_FACES);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = theFace1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theFace2->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-  aShapesSeq->Append(aRef2);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Block value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a block");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aBlock << " = geompy.MakeHexa2Faces("
-                               << theFace1 << ", " << theFace2 << ")";
-
-  SetErrorCode(OK);
-  return aBlock;
-}
-
-//=============================================================================
-/*!
- *  MakeBlockCompound
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeBlockCompound
-                                              (Handle(GEOM_Object) theCompound)
-{
-  SetErrorCode(KO);
-
-  if (theCompound.IsNull()) return NULL;
-
-  //Add a new object
-  Handle(GEOM_Object) aBlockComp = GetEngine()->AddObject(GetDocID(), GEOM_COMPOUND);
-
-  //Add a new BlocksComp function
-  Handle(GEOM_Function) aFunction =
-    aBlockComp->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_COMPOUND_GLUE);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlocks aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = theCompound->GetLastFunction();
-  if (aRef1.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-  aShapesSeq->Append(aRef1);
-
-  aPI.SetShapes(aShapesSeq);
-
-  //Compute the Blocks Compound value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to compute a blocks compound");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aBlockComp
-    << " = geompy.MakeBlockCompound(" << theCompound << ")";
-
-  SetErrorCode(OK);
-  return aBlockComp;
-}
-
-//=============================================================================
-/*!
- *  GetEdge
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetPoint
-                                               (Handle(GEOM_Object) theShape,
-                                                const Standard_Real theX,
-                                                const Standard_Real theY,
-                                                const Standard_Real theZ,
-                                                const Standard_Real theEpsilon)
-{
-  SetErrorCode(KO);
-
-  //New Point object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  //Compute the Vertex value
-  gp_Pnt P (theX, theY, theZ);
-  Standard_Real eps = Max(theEpsilon, Precision::Confusion());
-
-  TopoDS_Shape V;
-  Standard_Integer isFound = 0;
-  TopTools_MapOfShape mapShape;
-  TopExp_Explorer exp (aBlockOrComp, TopAbs_VERTEX);
-
-  for (; exp.More(); exp.Next()) {
-    if (mapShape.Add(exp.Current())) {
-      TopoDS_Vertex aVi = TopoDS::Vertex(exp.Current());
-      gp_Pnt aPi = BRep_Tool::Pnt(aVi);
-      if (aPi.Distance(P) < eps) {
-        V = aVi;
-        isFound++;
-      }
-    }
-  }
-
-  if (isFound == 0) {
-    SetErrorCode("Vertex has not been found");
-    return NULL;
-  } else if (isFound > 1) {
-    SetErrorCode("Multiple vertices found by the given coordinates and epsilon");
-    return NULL;
-  } else {
-    TopTools_IndexedMapOfShape anIndices;
-    TopExp::MapShapes(aBlockOrComp, anIndices);
-    Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, anIndices.FindIndex(V));
-    aResult = GetEngine()->AddSubShape(theShape, anArray);
-  }
-
-  //The GetPoint() doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t"
-    << aResult << " = geompy.GetPoint(" << theShape << ", "
-      << theX << ", " << theY << ", " << theZ << ", " << theEpsilon << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetEdge
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetEdge
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) thePoint1,
-                                                 Handle(GEOM_Object) thePoint2)
-{
-  SetErrorCode(KO);
-
-  //New Edge object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || thePoint1.IsNull() || thePoint2.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg1 = thePoint1->GetValue();
-  TopoDS_Shape anArg2 = thePoint2->GetValue();
-  if (anArg1.IsNull() || anArg2.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg1.ShapeType() != TopAbs_VERTEX ||
-      anArg2.ShapeType() != TopAbs_VERTEX) {
-    SetErrorCode("Element for edge identification is not a vertex");
-    return NULL;
-  }
-
-  //Compute the Edge value
-  try {
-    TopTools_IndexedDataMapOfShapeListOfShape MVE;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors
-      (aBlockOrComp, TopAbs_VERTEX, TopAbs_EDGE, MVE);
-
-    TopoDS_Shape V1,V2;
-    Standard_Integer ish, ext = MVE.Extent();
-
-    if (MVE.Contains(anArg1)) {
-      V1 = anArg1;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVE.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg1), TopoDS::Vertex(aShi))) {
-          V1 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (MVE.Contains(anArg2)) {
-      V2 = anArg2;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVE.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg2), TopoDS::Vertex(aShi))) {
-          V2 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (V1.IsNull() || V2.IsNull()) {
-      SetErrorCode("The given vertex does not belong to the shape");
-      return NULL;
-    }
-
-    TopoDS_Shape anEdge;
-    Standard_Integer isFound =
-      GEOMImpl_Block6Explorer::FindEdge(anEdge, V1, V2, MVE, Standard_True);
-    if (isFound == 0) {
-      SetErrorCode("The given vertices do not belong to one edge of the given shape");
-      return NULL;
-    } else if (isFound > 1) {
-      SetErrorCode("Multiple edges found by the given vertices of the shape");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(anEdge));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  } catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetEdge("
-    << theShape << ", " << thePoint1 << ", " << thePoint2 << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetEdgeNearPoint
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetEdgeNearPoint
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) thePoint)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || thePoint.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg = thePoint->GetValue();
-  if (anArg.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg.ShapeType() != TopAbs_VERTEX) {
-    SetErrorCode("Element for edge identification is not a vertex");
-    return NULL;
-  }
-
-  //Compute the Edge value
-  try {
-    TopoDS_Shape aShape;
-
-    TopoDS_Vertex aVert = TopoDS::Vertex(anArg);
-
-    // 1. Explode blocks on edges
-    TopTools_MapOfShape mapShape;
-    Standard_Integer nbEdges = 0;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_EDGE);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        nbEdges++;
-      }
-    }
-
-    mapShape.Clear();
-    Standard_Integer ind = 1;
-    TopTools_Array1OfShape anEdges (1, nbEdges);
-    TColStd_Array1OfReal aDistances (1, nbEdges);
-    for (exp.Init(aBlockOrComp, TopAbs_EDGE); exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Shape anEdge = exp.Current();
-        anEdges(ind) = anEdge;
-
-        // 2. Classify the point relatively each edge
-        BRepExtrema_DistShapeShape aDistTool (aVert, anEdges(ind));
-        if (!aDistTool.IsDone()) {
-          SetErrorCode("Can not find a distance from the given point to one of edges");
-          return NULL;
-        }
-        aDistances(ind) = aDistTool.Value();
-        ind++;
-      }
-    }
-
-    // 3. Define edge, having minimum distance to the point
-    Standard_Real nearest = RealLast(), nbFound = 0;
-    Standard_Real prec = Precision::Confusion();
-    for (ind = 1; ind <= nbEdges; ind++) {
-      if (Abs(aDistances(ind) - nearest) < prec) {
-        nbFound++;
-      } else if (aDistances(ind) < nearest) {
-        nearest = aDistances(ind);
-        aShape = anEdges(ind);
-        nbFound = 1;
-      } else {
-      }
-    }
-    if (nbFound > 1) {
-      SetErrorCode("Multiple edges near the given point are found");
-      return NULL;
-    } else if (nbFound == 0) {
-      SetErrorCode("There are no edges near the given point");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetEdgeNearPoint("
-                               << theShape << ", " << thePoint << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetFaceByPoints
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetFaceByPoints
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) thePoint1,
-                                                 Handle(GEOM_Object) thePoint2,
-                                                 Handle(GEOM_Object) thePoint3,
-                                                 Handle(GEOM_Object) thePoint4)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() ||
-      thePoint1.IsNull() || thePoint2.IsNull() ||
-      thePoint3.IsNull() || thePoint4.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg1 = thePoint1->GetValue();
-  TopoDS_Shape anArg2 = thePoint2->GetValue();
-  TopoDS_Shape anArg3 = thePoint3->GetValue();
-  TopoDS_Shape anArg4 = thePoint4->GetValue();
-  if (anArg1.IsNull() || anArg2.IsNull() ||
-      anArg3.IsNull() || anArg4.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg1.ShapeType() != TopAbs_VERTEX ||
-      anArg2.ShapeType() != TopAbs_VERTEX ||
-      anArg3.ShapeType() != TopAbs_VERTEX ||
-      anArg4.ShapeType() != TopAbs_VERTEX) {
-    SetErrorCode("Element for face identification is not a vertex");
-    return NULL;
-  }
-
-  //Compute the Face value
-  try {
-    TopoDS_Shape aShape;
-
-    TopTools_IndexedDataMapOfShapeListOfShape MVF;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors(aBlockOrComp, TopAbs_VERTEX, TopAbs_FACE, MVF);
-
-    TopoDS_Shape V1,V2,V3,V4;
-    Standard_Integer ish, ext = MVF.Extent();
-
-    if (MVF.Contains(anArg1)) {
-      V1 = anArg1;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVF.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg1), TopoDS::Vertex(aShi))) {
-          V1 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (MVF.Contains(anArg2)) {
-      V2 = anArg2;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVF.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg2), TopoDS::Vertex(aShi))) {
-          V2 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (MVF.Contains(anArg3)) {
-      V3 = anArg3;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVF.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg3), TopoDS::Vertex(aShi))) {
-          V3 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (MVF.Contains(anArg4)) {
-      V4 = anArg4;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MVF.FindKey(ish);
-        if (BRepTools::Compare(TopoDS::Vertex(anArg4), TopoDS::Vertex(aShi))) {
-          V4 = aShi;
-          break;
-        }
-      }
-    }
-
-    if (V1.IsNull() || V2.IsNull() || V3.IsNull() || V4.IsNull()) {
-      SetErrorCode("The given vertex does not belong to the shape");
-      return NULL;
-    }
-
-    Standard_Integer isFound =
-      GEOMImpl_Block6Explorer::FindFace(aShape, V1, V2, V3, V4, MVF, Standard_True);
-    if (isFound == 0) {
-      SetErrorCode("The given vertices do not belong to one face of the given shape");
-      return NULL;
-    } else if (isFound > 1) {
-      SetErrorCode("The given vertices belong to several faces of the given shape");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetFaceByPoints("
-    << theShape << ", " << thePoint1 << ", " << thePoint2
-      << ", " << thePoint3 << ", " << thePoint4 << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetFaceByEdges
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetFaceByEdges
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) theEdge1,
-                                                 Handle(GEOM_Object) theEdge2)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || theEdge1.IsNull() || theEdge2.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg1 = theEdge1->GetValue();
-  TopoDS_Shape anArg2 = theEdge2->GetValue();
-  if (anArg1.IsNull() || anArg2.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg1.ShapeType() != TopAbs_EDGE ||
-      anArg2.ShapeType() != TopAbs_EDGE) {
-    SetErrorCode("Element for face identification is not an edge");
-    return NULL;
-  }
-
-  //Compute the Face value
-  try {
-    TopoDS_Shape aShape;
-
-    TopTools_IndexedDataMapOfShapeListOfShape MEF;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors(aBlockOrComp, TopAbs_EDGE, TopAbs_FACE, MEF);
-
-    TopoDS_Shape E1,E2;
-    Standard_Integer ish, ext = MEF.Extent();
-
-    if (MEF.Contains(anArg1)) {
-      E1 = anArg1;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MEF.FindKey(ish);
-        if (GEOMImpl_Block6Explorer::IsSimilarEdges(anArg1, aShi)) {
-          E1 = aShi;
-        }
-      }
-    }
-
-    if (MEF.Contains(anArg2)) {
-      E2 = anArg2;
-    } else {
-      for (ish = 1; ish <= ext; ish++) {
-        TopoDS_Shape aShi = MEF.FindKey(ish);
-        if (GEOMImpl_Block6Explorer::IsSimilarEdges(anArg2, aShi)) {
-          E2 = aShi;
-        }
-      }
-    }
-
-    if (E1.IsNull() || E2.IsNull()) {
-      SetErrorCode("The given edge does not belong to the shape");
-      return NULL;
-    }
-
-    const TopTools_ListOfShape& aFacesOfE1 = MEF.FindFromKey(E1);
-    const TopTools_ListOfShape& aFacesOfE2 = MEF.FindFromKey(E2);
-
-    Standard_Integer isFound = 0;
-    TopTools_ListIteratorOfListOfShape anIterF1 (aFacesOfE1);
-    for (; anIterF1.More(); anIterF1.Next()) {
-
-      TopTools_ListIteratorOfListOfShape anIterF2 (aFacesOfE2);
-      for (; anIterF2.More(); anIterF2.Next()) {
-
-        if (anIterF1.Value().IsSame(anIterF2.Value())) {
-          isFound++;
-
-          // Store the face, defined by two edges
-          aShape = anIterF1.Value();
-        }
-      }
-    }
-    if (isFound == 0) {
-      SetErrorCode("The given edges do not belong to one face of the given shape");
-      return NULL;
-    } else if (isFound > 1) {
-      SetErrorCode("The given edges belong to several faces of the given shape");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetFaceByEdges("
-    << theShape << ", " << theEdge1 << ", " << theEdge2 << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetOppositeFace
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetOppositeFace
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) theFace)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || theFace.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID) {
-    SetErrorCode("Shape is not a block");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg = theFace->GetValue();
-  if (anArg.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg.ShapeType() != TopAbs_FACE) {
-    SetErrorCode("Element for face identification is not a face");
-    return NULL;
-  }
-
-  //Compute the Face value
-  try {
-    TopoDS_Shape aShape;
-
-    GEOMImpl_Block6Explorer aBlockTool;
-    aBlockTool.InitByBlockAndFace(aBlockOrComp, anArg);
-    aShape = aBlockTool.GetFace(2);
-
-    TopTools_IndexedMapOfShape anIndices;
-    TopExp::MapShapes(aBlockOrComp, anIndices);
-    Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, anIndices.FindIndex(aShape));
-    aResult = GetEngine()->AddSubShape(theShape, anArray);
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetOppositeFace("
-                               << theShape << ", " << theFace << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetFaceNearPoint
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetFaceNearPoint
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) thePoint)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || thePoint.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg = thePoint->GetValue();
-  if (anArg.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg.ShapeType() != TopAbs_VERTEX) {
-    SetErrorCode("Element for face identification is not a vertex");
-    return NULL;
-  }
-
-  //Compute the Face value
-  try {
-    TopoDS_Shape aShape;
-
-    TopoDS_Vertex aVert = TopoDS::Vertex(anArg);
-    gp_Pnt aPnt = BRep_Tool::Pnt(aVert);
-    Standard_Real PX, PY, PZ;
-    aPnt.Coord(PX, PY, PZ);
-
-    // 1. Classify the point relatively each face
-    Standard_Integer nearest = 2, nbFound = 0;
-    TopTools_DataMapOfShapeInteger mapShapeDist;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_FACE);
-    for (; exp.More(); exp.Next()) {
-      TopoDS_Shape aFace = exp.Current();
-
-      if (!mapShapeDist.IsBound(aFace)) {
-        Standard_Integer aDistance = 2;
-
-        // 1.a. Classify relatively Surface
-        Handle(Geom_Surface) aSurf = BRep_Tool::Surface(TopoDS::Face(aFace));
-        Handle(ShapeAnalysis_Surface) aSurfAna = new ShapeAnalysis_Surface (aSurf);
-        gp_Pnt2d p2dOnSurf = aSurfAna->ValueOfUV(aPnt, Precision::Confusion());
-        gp_Pnt p3dOnSurf = aSurfAna->Value(p2dOnSurf);
-        Standard_Real aDist = p3dOnSurf.Distance(aPnt);
-        if (aDist > Precision::Confusion()) {
-          // OUT of Surface
-          aDistance = 1;
-        } else {
-          // 1.b. Classify relatively the face itself
-          BRepClass_FaceClassifier FC (TopoDS::Face(aFace), p2dOnSurf, Precision::Confusion());
-          if (FC.State() == TopAbs_IN) {
-            aDistance = -1;
-          } else if (FC.State() == TopAbs_ON) {
-            aDistance = 0;
-          } else { // OUT
-            aDistance = 1;
-          }
-        }
-
-        if (aDistance < nearest) {
-          nearest = aDistance;
-          aShape = aFace;
-          nbFound = 1;
-
-          // A first found face, containing the point inside, will be returned.
-          // It is the solution, if there are no
-          // coincident or intersecting faces in the compound.
-          if (nearest == -1) break;
-
-        } else if (aDistance == nearest) {
-          nbFound++;
-        } else {
-        }
-
-        mapShapeDist.Bind(aFace, aDistance);
-      } // if (!mapShapeDist.IsBound(aFace))
-    }
-
-    // 2. Define face, containing the point or having minimum distance to it
-    if (nbFound > 1) {
-      if (nearest == 0) {
-        // The point is on boundary of some faces and there are
-        // no faces, having the point inside
-        SetErrorCode("Multiple faces near the given point are found");
-        return NULL;
-
-      } else if (nearest == 1) {
-        // The point is outside some faces and there are
-        // no faces, having the point inside or on boundary.
-        // We will get a nearest face
-        Standard_Real bigReal = RealLast();
-        Standard_Real minDist = bigReal;
-        TopTools_DataMapIteratorOfDataMapOfShapeInteger mapShapeDistIter (mapShapeDist);
-        for (; mapShapeDistIter.More(); mapShapeDistIter.Next()) {
-          if (mapShapeDistIter.Value() == 1) {
-            TopoDS_Shape aFace = mapShapeDistIter.Key();
-            Standard_Real aDist = bigReal;
-
-            // 2.a. Fast check of distance - if point projection on surface is on face
-            Handle(Geom_Surface) aSurf = BRep_Tool::Surface(TopoDS::Face(aFace));
-            Handle(ShapeAnalysis_Surface) aSurfAna = new ShapeAnalysis_Surface (aSurf);
-            gp_Pnt2d p2dOnSurf = aSurfAna->ValueOfUV(aPnt, Precision::Confusion());
-            gp_Pnt p3dOnSurf = aSurfAna->Value(p2dOnSurf);
-            aDist = p3dOnSurf.Distance(aPnt);
-
-            BRepClass_FaceClassifier FC (TopoDS::Face(aFace), p2dOnSurf, Precision::Confusion());
-            if (FC.State() == TopAbs_OUT) {
-              if (aDist < minDist) {
-                // 2.b. Slow check - if point projection on surface is outside of face
-                BRepExtrema_DistShapeShape aDistTool (aVert, aFace);
-                if (!aDistTool.IsDone()) {
-                  SetErrorCode("Can not find a distance from the given point to one of faces");
-                  return NULL;
-                }
-                aDist = aDistTool.Value();
-              } else {
-                aDist = bigReal;
-              }
-            }
-
-            if (aDist < minDist) {
-              minDist = aDist;
-              aShape = aFace;
-            }
-          }
-        }
-      } else { // nearest == -1
-//        // The point is inside some faces.
-//        // We will get a face with nearest center
-//        Standard_Real minDist = RealLast();
-//        TopTools_DataMapIteratorOfDataMapOfShapeInteger mapShapeDistIter (mapShapeDist);
-//        for (; mapShapeDistIter.More(); mapShapeDistIter.Next()) {
-//          if (mapShapeDistIter.Value() == -1) {
-//            TopoDS_Shape aFace = mapShapeDistIter.Key();
-//            GProp_GProps aSystem;
-//            BRepGProp::SurfaceProperties(aFace, aSystem);
-//            gp_Pnt aCenterMass = aSystem.CentreOfMass();
-//
-//            Standard_Real aDist = aCenterMass.Distance(aPnt);
-//            if (aDist < minDist) {
-//              minDist = aDist;
-//              aShape = aFace;
-//            }
-//          }
-//        }
-      }
-    } // if (nbFound > 1)
-
-    if (nbFound == 0) {
-      SetErrorCode("There are no faces near the given point");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetFaceNearPoint("
-                               << theShape << ", " << thePoint << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetFaceByNormale
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetFaceByNormale
-                                                (Handle(GEOM_Object) theShape,
-                                                 Handle(GEOM_Object) theVector)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theShape.IsNull() || theVector.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theShape->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Block or compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_SOLID &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape is neither a block, nor a compound of blocks");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg = theVector->GetValue();
-  if (anArg.IsNull()) {
-    SetErrorCode("Null shape is given as argument");
-    return NULL;
-  }
-  if (anArg.ShapeType() != TopAbs_EDGE) {
-    SetErrorCode("Element for normale identification is not an edge");
-    return NULL;
-  }
-
-  //Compute the Face value
-  try {
-    TopoDS_Shape aShape;
-
-    TopoDS_Edge anEdge = TopoDS::Edge(anArg);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anEdge, V1, V2, Standard_True);
-    gp_Pnt P1 = BRep_Tool::Pnt(V1);
-    gp_Pnt P2 = BRep_Tool::Pnt(V2);
-    gp_Vec aVec (P1, P2);
-    if (aVec.Magnitude() < Precision::Confusion()) {
-      SetErrorCode("Vector with null magnitude is given");
-      return NULL;
-    }
-
-    Standard_Real minAngle = RealLast();
-    TopTools_MapOfShape mapShape;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_FACE);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Face aFace = TopoDS::Face(exp.Current());
-        BRepAdaptor_Surface SF (aFace);
-
-        Standard_Real u, v, x;
-
-        // find a point on the surface to get normal direction in
-        u = SF.FirstUParameter();
-        x = SF.LastUParameter();
-        if (Precision::IsInfinite(u)) {
-          u =  (Precision::IsInfinite(x)) ? 0. : x;
-        } else if (!Precision::IsInfinite(x)) {
-          u = (u+x) / 2.;
-        }
-
-        v = SF.FirstVParameter();
-        x = SF.LastVParameter();
-        if (Precision::IsInfinite(v)) {
-          v =  (Precision::IsInfinite(x)) ? 0. : x;
-        } else if (!Precision::IsInfinite(x)) {
-          v = (v+x) / 2.;
-        }
-
-        // compute the normal direction
-        gp_Vec Vec1,Vec2;
-        SF.D1(u,v,P1,Vec1,Vec2);
-        gp_Vec V = Vec1.Crossed(Vec2);
-        x = V.Magnitude();
-        if (V.Magnitude() < Precision::Confusion()) {
-          SetErrorCode("Normal vector of a face has null magnitude");
-          return NULL;
-        }
-
-        // consider the face orientation
-        if (aFace.Orientation() == TopAbs_REVERSED ||
-            aFace.Orientation() == TopAbs_INTERNAL) {
-          V = - V;
-        }
-
-        // compute the angle and compare with the minimal one
-        Standard_Real anAngle = aVec.Angle(V);
-        if (anAngle < minAngle) {
-          minAngle = anAngle;
-          aShape = aFace;
-        }
-      }
-    }
-
-    if (aShape.IsNull()) {
-      SetErrorCode("Failed to find a face by the given normale");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theShape, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetFaceByNormale("
-    << theShape << ", " << theVector << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  IsCompoundOfBlocks
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IBlocksOperations::IsCompoundOfBlocks
-                                                (Handle(GEOM_Object)    theCompound,
-                                                 const Standard_Integer theMinNbFaces,
-                                                 const Standard_Integer theMaxNbFaces,
-                                                 Standard_Integer&      theNbBlocks)
-{
-  SetErrorCode(KO);
-  Standard_Boolean isCompOfBlocks = Standard_False;
-  theNbBlocks = 0;
-
-  if (theCompound.IsNull()) return isCompOfBlocks;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-
-  //Check
-  isCompOfBlocks = Standard_True;
-  try {
-    TopTools_MapOfShape mapShape;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_SOLID);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Shape aSolid = exp.Current();
-
-        TopTools_MapOfShape mapFaces;
-        TopExp_Explorer expF (aSolid, TopAbs_FACE);
-        Standard_Integer nbFaces = 0;
-        for (; expF.More(); expF.Next()) {
-          if (mapFaces.Add(expF.Current())) {
-            nbFaces++;
-            if (nbFaces > theMaxNbFaces) {
-              isCompOfBlocks = Standard_False;
-              break;
-            }
-          }
-        }
-        if (nbFaces < theMinNbFaces || theMaxNbFaces < nbFaces) {
-          isCompOfBlocks = Standard_False;
-        } else {
-          theNbBlocks++;
-        }
-      }
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return isCompOfBlocks;
-  }
-
-  SetErrorCode(OK);
-  return isCompOfBlocks;
-}
-
-//=============================================================================
-/*!
- *  Set of functions, used by CheckCompoundOfBlocks() method
- */
-//=============================================================================
-void GEOMImpl_IBlocksOperations::AddBlocksFrom (const TopoDS_Shape&   theShape,
-                                                TopTools_ListOfShape& BLO,
-                                                TopTools_ListOfShape& NOT,
-                                                TopTools_ListOfShape& EXT)
-{
-  TopAbs_ShapeEnum aType = theShape.ShapeType();
-  switch (aType) {
-  case TopAbs_COMPOUND:
-  case TopAbs_COMPSOLID:
-    {
-      TopoDS_Iterator It (theShape);
-      for (; It.More(); It.Next()) {
-        AddBlocksFrom(It.Value(), BLO, NOT, EXT);
-      }
-    }
-    break;
-  case TopAbs_SOLID:
-    {
-      // Check, if there are seam or degenerated edges
-      BlockFix_CheckTool aTool;
-      aTool.SetShape(theShape);
-      aTool.Perform();
-      if (aTool.NbPossibleBlocks() > 0) {
-        EXT.Append(theShape);
-      } else {
-        // Count faces and edges in each face to recognize blocks
-        TopTools_MapOfShape mapFaces;
-        Standard_Integer nbFaces = 0;
-        Standard_Boolean hasNonQuadr = Standard_False;
-        TopExp_Explorer expF (theShape, TopAbs_FACE);
-
-        for (; expF.More(); expF.Next()) {
-          if (mapFaces.Add(expF.Current())) {
-            nbFaces++;
-            if (nbFaces > 6) break;
-
-            // get wire
-            TopoDS_Shape aF = expF.Current();
-            TopExp_Explorer wires (aF, TopAbs_WIRE);
-            if (!wires.More()) {
-              // no wire in the face
-              hasNonQuadr = Standard_True;
-              break;
-            }
-            TopoDS_Shape aWire = wires.Current();
-            wires.Next();
-            if (wires.More()) {
-              // multiple wires in the face
-              hasNonQuadr = Standard_True;
-              break;
-            }
-
-            // Check number of edges in the face
-            Standard_Integer nbEdges = 0;
-            TopTools_MapOfShape mapEdges;
-            TopExp_Explorer expW (aWire, TopAbs_EDGE);
-            for (; expW.More(); expW.Next()) {
-              if (mapEdges.Add(expW.Current())) {
-                nbEdges++;
-                if (nbEdges > 4) break;
-              }
-            }
-            if (nbEdges != 4) {
-              hasNonQuadr = Standard_True;
-            }
-          }
-        }
-
-        if (nbFaces == 6 && !hasNonQuadr) {
-          BLO.Append(theShape);
-        } else {
-          NOT.Append(theShape);
-        }
-      }
-    }
-    break;
-  default:
-    NOT.Append(theShape);
-  }
-}
-
-void AddBlocksFromOld (const TopoDS_Shape&   theShape,
-                       TopTools_ListOfShape& BLO,
-                       TopTools_ListOfShape& NOT,
-                       TopTools_ListOfShape& DEG,
-                       TopTools_ListOfShape& SEA)
-{
-  TopAbs_ShapeEnum aType = theShape.ShapeType();
-  switch (aType) {
-  case TopAbs_COMPOUND:
-  case TopAbs_COMPSOLID:
-    {
-      TopoDS_Iterator It (theShape);
-      for (; It.More(); It.Next()) {
-        AddBlocksFromOld(It.Value(), BLO, NOT, DEG, SEA);
-      }
-    }
-    break;
-  case TopAbs_SOLID:
-    {
-      TopTools_MapOfShape mapFaces;
-      TopExp_Explorer expF (theShape, TopAbs_FACE);
-      Standard_Integer nbFaces = 0;
-      Standard_Boolean hasNonQuadr = Standard_False;
-      Standard_Boolean hasDegenerated = Standard_False;
-      Standard_Boolean hasSeam = Standard_False;
-      for (; expF.More(); expF.Next()) {
-        if (mapFaces.Add(expF.Current())) {
-          nbFaces++;
-          if (nbFaces > 6) break;
-
-          // Check number of edges in the face
-          Standard_Integer nbEdges = 0;
-          TopTools_MapOfShape mapEdges;
-
-          // get wire
-          TopoDS_Shape aF = expF.Current();
-          TopExp_Explorer wires (aF, TopAbs_WIRE);
-          if (!wires.More()) {
-            // no wire in the face
-            hasNonQuadr = Standard_True;
-            break;
-          }
-          TopoDS_Shape aWire = wires.Current();
-          wires.Next();
-          if (wires.More()) {
-            // multiple wires in the face
-            hasNonQuadr = Standard_True;
-            break;
-          }
-
-          // iterate on wire
-          BRepTools_WireExplorer aWE (TopoDS::Wire(aWire), TopoDS::Face(aF));
-          for (; aWE.More(); aWE.Next(), nbEdges++) {
-            if (BRep_Tool::Degenerated(aWE.Current())) {
-              // degenerated edge found
-              hasDegenerated = Standard_True;
-//              break;
-            }
-            if (mapEdges.Contains(aWE.Current())) {
-              // seam edge found
-              hasSeam = Standard_True;
-//              break;
-            }
-            mapEdges.Add(aWE.Current());
-          }
-          if (nbEdges != 4) {
-            hasNonQuadr = Standard_True;
-          }
-        }
-      }
-      if (nbFaces == 6) {
-        if (hasDegenerated || hasSeam) {
-          if (hasDegenerated) {
-            DEG.Append(theShape);
-          }
-          if (hasSeam) {
-            SEA.Append(theShape);
-          }
-        } else if (hasNonQuadr) {
-          NOT.Append(theShape);
-        } else {
-          BLO.Append(theShape);
-        }
-      } else {
-        NOT.Append(theShape);
-      }
-    }
-    break;
-  default:
-    NOT.Append(theShape);
-  }
-}
-
-#define REL_NOT_CONNECTED 0
-#define REL_OK            1
-#define REL_NOT_GLUED     2
-#define REL_COLLISION_VV  3
-#define REL_COLLISION_FF  4
-#define REL_COLLISION_EE  5
-#define REL_UNKNOWN       6
-
-Standard_Integer BlocksRelation (const TopoDS_Shape& theBlock1,
-                                 const TopoDS_Shape& theBlock2)
-{
-  // Compare bounding boxes before calling BRepExtrema_DistShapeShape
-  Standard_Real Xmin1, Ymin1, Zmin1, Xmax1, Ymax1, Zmax1;
-  Standard_Real Xmin2, Ymin2, Zmin2, Xmax2, Ymax2, Zmax2;
-  Bnd_Box B1, B2;
-  BRepBndLib::Add(theBlock1, B1);
-  BRepBndLib::Add(theBlock2, B2);
-  B1.Get(Xmin1, Ymin1, Zmin1, Xmax1, Ymax1, Zmax1);
-  B2.Get(Xmin2, Ymin2, Zmin2, Xmax2, Ymax2, Zmax2);
-  if (Xmax2 < Xmin1 || Xmax1 < Xmin2 ||
-      Ymax2 < Ymin1 || Ymax1 < Ymin2 ||
-      Zmax2 < Zmin1 || Zmax1 < Zmin2) {
-    return REL_NOT_CONNECTED;
-  }
-
-  BRepExtrema_DistShapeShape dst (theBlock1, theBlock2);
-  if (!dst.IsDone()) {
-    return REL_UNKNOWN;
-  }
-
-  if (dst.Value() > Precision::Confusion()) {
-    return REL_NOT_CONNECTED;
-  }
-
-  if (dst.InnerSolution()) {
-    return REL_COLLISION_VV;
-  }
-
-  Standard_Integer nbSol = dst.NbSolution();
-  Standard_Integer relation = REL_OK;
-  Standard_Integer nbVerts = 0;
-  Standard_Integer nbEdges = 0;
-  Standard_Integer sol = 1;
-  for (; sol <= nbSol; sol++) {
-    BRepExtrema_SupportType supp1 = dst.SupportTypeShape1(sol);
-    BRepExtrema_SupportType supp2 = dst.SupportTypeShape2(sol);
-    if (supp1 == BRepExtrema_IsVertex && supp2 == BRepExtrema_IsVertex) {
-      nbVerts++;
-    } else if (supp1 == BRepExtrema_IsInFace || supp2 == BRepExtrema_IsInFace) {
-      return REL_COLLISION_FF;
-    } else if (supp1 == BRepExtrema_IsOnEdge && supp2 == BRepExtrema_IsOnEdge) {
-      nbEdges++;
-    } else if ((supp1 == BRepExtrema_IsOnEdge && supp2 == BRepExtrema_IsVertex) ||
-               (supp2 == BRepExtrema_IsOnEdge && supp1 == BRepExtrema_IsVertex)) {
-      relation = REL_COLLISION_EE;
-    } else {
-    }
-  }
-
-  if (relation != REL_OK) {
-    return relation;
-  }
-
-  TColStd_Array1OfInteger vertSol (1, nbVerts);
-  TopTools_Array1OfShape V1 (1, nbVerts);
-  TopTools_Array1OfShape V2 (1, nbVerts);
-  Standard_Integer ivs = 0;
-  for (sol = 1; sol <= nbSol; sol++) {
-    if (dst.SupportTypeShape1(sol) == BRepExtrema_IsVertex &&
-        dst.SupportTypeShape2(sol) == BRepExtrema_IsVertex) {
-      TopoDS_Vertex Vcur = TopoDS::Vertex(dst.SupportOnShape1(sol));
-      // Check, that this vertex is far enough from other solution vertices.
-      Standard_Integer ii = 1;
-      for (; ii <= ivs; ii++) {
-        if (BRepTools::Compare(TopoDS::Vertex(V1(ii)), Vcur)) {
-          continue;
-        }
-      }
-      ivs++;
-      vertSol(ivs) = sol;
-      V1(ivs) = Vcur;
-      V2(ivs) = dst.SupportOnShape2(sol);
-    }
-  }
-
-  // As we deal only with quadrangles,
-  // 2, 3 or 4 vertex solutions can be found.
-  if (ivs <= 1) {
-    if (nbEdges > 0) {
-      return REL_COLLISION_FF;
-    }
-    return REL_NOT_CONNECTED;
-  }
-  if (ivs > 4) {
-    return REL_UNKNOWN;
-  }
-
-  // Check sharing of coincident entities.
-  if (ivs == 2 || ivs == 3) {
-    // Map vertices and edges of the blocks
-    TopTools_IndexedDataMapOfShapeListOfShape MVE1, MVE2;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors
-      (theBlock1, TopAbs_VERTEX, TopAbs_EDGE, MVE1);
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors
-      (theBlock2, TopAbs_VERTEX, TopAbs_EDGE, MVE2);
-
-    if (ivs == 2) {
-      // Find common edge
-      TopoDS_Shape anEdge1, anEdge2;
-      GEOMImpl_Block6Explorer::FindEdge(anEdge1, V1(1), V1(2), MVE1);
-      if (anEdge1.IsNull()) return REL_UNKNOWN;
-
-      GEOMImpl_Block6Explorer::FindEdge(anEdge2, V2(1), V2(2), MVE2);
-      if (anEdge2.IsNull()) return REL_UNKNOWN;
-
-      if (!anEdge1.IsSame(anEdge2)) return REL_NOT_GLUED;
-
-    } else { // ivs == 3
-      // Find common edges
-      Standard_Integer e1_v1 = 1;
-      Standard_Integer e1_v2 = 2;
-      Standard_Integer e2_v1 = 3;
-      Standard_Integer e2_v2 = 1;
-
-      TopoDS_Shape anEdge11, anEdge12;
-      GEOMImpl_Block6Explorer::FindEdge(anEdge11, V1(e1_v1), V1(e1_v2), MVE1);
-      if (anEdge11.IsNull()) {
-        e1_v2 = 3;
-        e2_v1 = 2;
-        GEOMImpl_Block6Explorer::FindEdge(anEdge11, V1(e1_v1), V1(e1_v2), MVE1);
-        if (anEdge11.IsNull()) return REL_UNKNOWN;
-      }
-      GEOMImpl_Block6Explorer::FindEdge(anEdge12, V1(e2_v1), V1(e2_v2), MVE1);
-      if (anEdge12.IsNull()) {
-        e2_v2 = 5 - e2_v1;
-        GEOMImpl_Block6Explorer::FindEdge(anEdge12, V1(e2_v1), V1(e2_v2), MVE1);
-        if (anEdge12.IsNull()) return REL_UNKNOWN;
-      }
-
-      TopoDS_Shape anEdge21, anEdge22;
-      GEOMImpl_Block6Explorer::FindEdge(anEdge21, V2(e1_v1), V2(e1_v2), MVE2);
-      if (anEdge21.IsNull()) return REL_UNKNOWN;
-      GEOMImpl_Block6Explorer::FindEdge(anEdge22, V2(e2_v1), V2(e2_v2), MVE2);
-      if (anEdge22.IsNull()) return REL_UNKNOWN;
-
-      // Check of edges coincidence (with some precision) have to be done here
-      // if (!anEdge11.IsEqual(anEdge21)) return REL_UNKNOWN;
-      // if (!anEdge12.IsEqual(anEdge22)) return REL_UNKNOWN;
-
-      // Check of edges sharing
-      if (!anEdge11.IsSame(anEdge21)) return REL_NOT_GLUED;
-      if (!anEdge12.IsSame(anEdge22)) return REL_NOT_GLUED;
-    }
-  }
-
-  if (ivs == 4) {
-    // Map vertices and faces of the blocks
-    TopTools_IndexedDataMapOfShapeListOfShape MVF1, MVF2;
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors
-      (theBlock1, TopAbs_VERTEX, TopAbs_FACE, MVF1);
-    GEOMImpl_Block6Explorer::MapShapesAndAncestors
-      (theBlock2, TopAbs_VERTEX, TopAbs_FACE, MVF2);
-
-    TopoDS_Shape aFace1, aFace2;
-    GEOMImpl_Block6Explorer::FindFace(aFace1, V1(1), V1(2), V1(3), V1(4), MVF1);
-    if (aFace1.IsNull()) return REL_UNKNOWN;
-    GEOMImpl_Block6Explorer::FindFace(aFace2, V2(1), V2(2), V2(3), V2(4), MVF2);
-    if (aFace2.IsNull()) return REL_UNKNOWN;
-
-    // Check of faces coincidence (with some precision) have to be done here
-    // if (!aFace1.IsEqual(aFace2)) return REL_UNKNOWN;
-
-    // Check of faces sharing
-    if (!aFace1.IsSame(aFace2)) return REL_NOT_GLUED;
-  }
-
-  return REL_OK;
-}
-
-void FindConnected (const Standard_Integer         theBlockIndex,
-                    const TColStd_Array2OfInteger& theRelations,
-                    TColStd_MapOfInteger&          theProcessedMap,
-                    TColStd_MapOfInteger&          theConnectedMap)
-{
-  theConnectedMap.Add(theBlockIndex);
-  theProcessedMap.Add(theBlockIndex);
-
-  Standard_Integer nbBlocks = theRelations.ColLength();
-  Standard_Integer col = 1;
-  for (; col <= nbBlocks; col++) {
-    if (theRelations(theBlockIndex, col) == REL_OK ||
-        theRelations(theBlockIndex, col) == REL_NOT_GLUED) {
-      if (!theProcessedMap.Contains(col)) {
-        FindConnected(col, theRelations, theProcessedMap, theConnectedMap);
-      }
-    }
-  }
-}
-
-Standard_Boolean HasAnyConnection (const Standard_Integer         theBlockIndex,
-                                   const TColStd_MapOfInteger&    theWith,
-                                   const TColStd_Array2OfInteger& theRelations,
-                                   TColStd_MapOfInteger&          theProcessedMap)
-{
-  theProcessedMap.Add(theBlockIndex);
-
-  Standard_Integer nbBlocks = theRelations.ColLength();
-  Standard_Integer col = 1;
-  for (; col <= nbBlocks; col++) {
-    if (theRelations(theBlockIndex, col) != REL_NOT_CONNECTED) {
-      if (!theProcessedMap.Contains(col)) {
-        if (theWith.Contains(col))
-          return Standard_True;
-        if (HasAnyConnection(col, theWith, theRelations, theProcessedMap))
-          return Standard_True;
-      }
-    }
-  }
-
-  return Standard_False;
-}
-
-//=============================================================================
-/*!
- *  CheckCompoundOfBlocksOld
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocksOld
-                                                (Handle(GEOM_Object) theCompound,
-                                                 list<BCError>&      theErrors)
-{
-  SetErrorCode(KO);
-
-  if (theCompound.IsNull()) return Standard_False;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-
-  Standard_Boolean isCompOfBlocks = Standard_True;
-
-  // Map sub-shapes and their indices
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aBlockOrComp, anIndices);
-
-  // 1. Report non-blocks
-  TopTools_ListOfShape NOT; // Not blocks
-  TopTools_ListOfShape DEG; // Hexahedral solids, having degenerated edges
-  TopTools_ListOfShape SEA; // Hexahedral solids, having seam edges
-  TopTools_ListOfShape BLO; // All blocks from the given compound
-  AddBlocksFromOld(aBlockOrComp, BLO, NOT, DEG, SEA);
-
-  if (NOT.Extent() > 0) {
-    isCompOfBlocks = Standard_False;
-    BCError anErr;
-    anErr.error = NOT_BLOCK;
-    TopTools_ListIteratorOfListOfShape it (NOT);
-    for (; it.More(); it.Next()) {
-      anErr.incriminated.push_back(anIndices.FindIndex(it.Value()));
-    }
-    theErrors.push_back(anErr);
-  }
-
-  if (DEG.Extent() > 0 || SEA.Extent() > 0) {
-    isCompOfBlocks = Standard_False;
-    BCError anErr;
-    anErr.error = EXTRA_EDGE;
-
-    TopTools_ListIteratorOfListOfShape itDEG (DEG);
-    for (; itDEG.More(); itDEG.Next()) {
-      anErr.incriminated.push_back(anIndices.FindIndex(itDEG.Value()));
-    }
-
-    TopTools_ListIteratorOfListOfShape itSEA (SEA);
-    for (; itSEA.More(); itSEA.Next()) {
-      anErr.incriminated.push_back(anIndices.FindIndex(itSEA.Value()));
-    }
-
-    theErrors.push_back(anErr);
-  }
-
-  Standard_Integer nbBlocks = BLO.Extent();
-  if (nbBlocks == 0) {
-    isCompOfBlocks = Standard_False;
-    SetErrorCode(OK);
-    return isCompOfBlocks;
-  }
-  if (nbBlocks == 1) {
-    SetErrorCode(OK);
-    return isCompOfBlocks;
-  }
-
-  // Convert list of blocks into array for easy and fast access
-  Standard_Integer ibl = 1;
-  TopTools_Array1OfShape aBlocks (1, nbBlocks);
-  TopTools_ListIteratorOfListOfShape BLOit (BLO);
-  for (; BLOit.More(); BLOit.Next(), ibl++) {
-    aBlocks.SetValue(ibl, BLOit.Value());
-  }
-
-  // 2. Find relations between all blocks,
-  //    report connection errors (NOT_GLUED and INVALID_CONNECTION)
-  TColStd_Array2OfInteger aRelations (1, nbBlocks, 1, nbBlocks);
-  aRelations.Init(REL_NOT_CONNECTED);
-
-  Standard_Integer row = 1;
-  for (row = 1; row <= nbBlocks; row++) {
-    TopoDS_Shape aBlock = aBlocks.Value(row);
-
-    Standard_Integer col = row + 1;
-    for (; col <= nbBlocks; col++) {
-      Standard_Integer aRel = BlocksRelation(aBlock, aBlocks.Value(col));
-      if (aRel != REL_NOT_CONNECTED) {
-        aRelations.SetValue(row, col, aRel);
-        aRelations.SetValue(col, row, aRel);
-        if (aRel == REL_NOT_GLUED) {
-          // report connection error
-          isCompOfBlocks = Standard_False;
-          BCError anErr;
-          anErr.error = NOT_GLUED;
-          anErr.incriminated.push_back(anIndices.FindIndex(aBlocks.Value(row)));
-          anErr.incriminated.push_back(anIndices.FindIndex(aBlocks.Value(col)));
-          theErrors.push_back(anErr);
-        } else if (aRel == REL_COLLISION_VV ||
-                   aRel == REL_COLLISION_FF ||
-                   aRel == REL_COLLISION_EE ||
-                   aRel == REL_UNKNOWN) {
-          // report connection error
-          isCompOfBlocks = Standard_False;
-          BCError anErr;
-          anErr.error = INVALID_CONNECTION;
-          anErr.incriminated.push_back(anIndices.FindIndex(aBlocks.Value(row)));
-          anErr.incriminated.push_back(anIndices.FindIndex(aBlocks.Value(col)));
-          theErrors.push_back(anErr);
-        } else {
-        }
-      }
-    }
-  }
-
-  // 3. Find largest set of connected (good connection or not glued) blocks
-  TColStd_MapOfInteger aProcessedMap;
-  TColStd_MapOfInteger aLargestSet;
-  TColStd_MapOfInteger aCurrentSet;
-  for (ibl = 1; ibl <= nbBlocks; ibl++) {
-    if (!aProcessedMap.Contains(ibl)) {
-      aCurrentSet.Clear();
-      FindConnected(ibl, aRelations, aProcessedMap, aCurrentSet);
-      if (aCurrentSet.Extent() > aLargestSet.Extent()) {
-        aLargestSet = aCurrentSet;
-      }
-    }
-  }
-
-  // 4. Report all blocks, isolated from <aLargestSet>
-  BCError anErr;
-  anErr.error = NOT_CONNECTED;
-  Standard_Boolean hasIsolated = Standard_False;
-  for (ibl = 1; ibl <= nbBlocks; ibl++) {
-    if (!aLargestSet.Contains(ibl)) {
-      aProcessedMap.Clear();
-      if (!HasAnyConnection(ibl, aLargestSet, aRelations, aProcessedMap)) {
-        // report connection absence
-        hasIsolated = Standard_True;
-        anErr.incriminated.push_back(anIndices.FindIndex(aBlocks.Value(ibl)));
-      }
-    }
-  }
-  if (hasIsolated) {
-    isCompOfBlocks = Standard_False;
-    theErrors.push_back(anErr);
-  }
-
-  SetErrorCode(OK);
-  return isCompOfBlocks;
-}
-
-//=============================================================================
-/*!
- *  PrintBCErrors
- */
-//=============================================================================
-TCollection_AsciiString GEOMImpl_IBlocksOperations::PrintBCErrors
-                                                (Handle(GEOM_Object)  theCompound,
-                                                 const list<BCError>& theErrors)
-{
-  TCollection_AsciiString aDescr;
-
-  list<BCError>::const_iterator errIt = theErrors.begin();
-  int i = 0;
-  for (; errIt != theErrors.end(); i++, errIt++) {
-    BCError errStruct = *errIt;
-
-    switch (errStruct.error) {
-    case NOT_BLOCK:
-      aDescr += "\n\tNot a Blocks: ";
-      break;
-    case EXTRA_EDGE:
-      aDescr += "\n\tHexahedral solids with degenerated and/or seam edges: ";
-      break;
-    case INVALID_CONNECTION:
-      aDescr += "\n\tInvalid connection between two blocks: ";
-      break;
-    case NOT_CONNECTED:
-      aDescr += "\n\tBlocks, not connected with main body: ";
-      break;
-    case NOT_GLUED:
-      aDescr += "\n\tNot glued blocks: ";
-      break;
-    default:
-      break;
-    }
-
-    list<int> sshList = errStruct.incriminated;
-    list<int>::iterator sshIt = sshList.begin();
-    int jj = 0;
-    for (; sshIt != sshList.end(); jj++, sshIt++) {
-      if (jj > 0)
-        aDescr += ", ";
-      aDescr += TCollection_AsciiString(*sshIt);
-    }
-  }
-
-  return aDescr;
-}
-
-//=============================================================================
-/*!
- *  CheckCompoundOfBlocks
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks
-                                              (Handle(GEOM_Object) theCompound,
-                                               list<BCError>&      theErrors)
-{
-  SetErrorCode(KO);
-
-  if (theCompound.IsNull()) return Standard_False;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-
-  Standard_Boolean isCompOfBlocks = Standard_True;
-
-  // Map sub-shapes and their indices
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aBlockOrComp, anIndices);
-
-  // 1. Separate blocks from non-blocks
-  TopTools_ListOfShape NOT; // Not blocks
-  TopTools_ListOfShape EXT; // Hexahedral solids, having degenerated and/or seam edges
-  TopTools_ListOfShape BLO; // All blocks from the given compound
-  AddBlocksFrom(aBlockOrComp, BLO, NOT, EXT);
-
-  // Report non-blocks
-  if (NOT.Extent() > 0) {
-    isCompOfBlocks = Standard_False;
-    BCError anErr;
-    anErr.error = NOT_BLOCK;
-    TopTools_ListIteratorOfListOfShape it (NOT);
-    for (; it.More(); it.Next()) {
-      anErr.incriminated.push_back(anIndices.FindIndex(it.Value()));
-    }
-    theErrors.push_back(anErr);
-  }
-
-  // Report solids, having degenerated and/or seam edges
-  if (EXT.Extent() > 0) {
-    isCompOfBlocks = Standard_False;
-    BCError anErr;
-    anErr.error = EXTRA_EDGE;
-    TopTools_ListIteratorOfListOfShape it (EXT);
-    for (; it.More(); it.Next()) {
-      anErr.incriminated.push_back(anIndices.FindIndex(it.Value()));
-    }
-    theErrors.push_back(anErr);
-  }
-
-  Standard_Integer nbBlocks = BLO.Extent();
-  if (nbBlocks == 0) {
-    isCompOfBlocks = Standard_False;
-    SetErrorCode(OK);
-    return isCompOfBlocks;
-  }
-  if (nbBlocks == 1) {
-    SetErrorCode(OK);
-    return isCompOfBlocks;
-  }
-
-  // Prepare data for 2. and 3.
-  TColStd_Array2OfInteger aRelations (1, nbBlocks, 1, nbBlocks);
-  aRelations.Init(REL_NOT_CONNECTED);
-
-  TopTools_IndexedMapOfShape mapBlocks;
-
-  BRep_Builder BB;
-  TopoDS_Compound aComp;
-  BB.MakeCompound(aComp);
-
-  TopTools_ListIteratorOfListOfShape BLOit (BLO);
-  for (; BLOit.More(); BLOit.Next()) {
-    mapBlocks.Add(BLOit.Value());
-    BB.Add(aComp, BLOit.Value());
-  }
-
-  // 2. Find glued blocks (having shared faces)
-  TopTools_IndexedDataMapOfShapeListOfShape mapFaceBlocks;
-  GEOMImpl_Block6Explorer::MapShapesAndAncestors
-    (aComp, TopAbs_FACE, TopAbs_SOLID, mapFaceBlocks);
-
-  Standard_Integer prevInd = 0, curInd = 0;
-  Standard_Integer ind = 1, nbFaces = mapFaceBlocks.Extent();
-  for (; ind <= nbFaces; ind++) {
-    const TopTools_ListOfShape& aGluedBlocks = mapFaceBlocks.FindFromIndex(ind);
-    if (aGluedBlocks.Extent() > 1) { // Shared face found
-      TopTools_ListIteratorOfListOfShape aGluedBlocksIt (aGluedBlocks);
-      TopoDS_Shape prevBlock, curBlock;
-      for (; aGluedBlocksIt.More(); aGluedBlocksIt.Next()) {
-        curBlock = aGluedBlocksIt.Value();
-        if (!prevBlock.IsNull()) {
-          prevInd = mapBlocks.FindIndex(prevBlock);
-          curInd  = mapBlocks.FindIndex(curBlock);
-          aRelations.SetValue(prevInd, curInd, REL_OK);
-          aRelations.SetValue(curInd, prevInd, REL_OK);
-        }
-        prevBlock = curBlock;
-      }
-    }
-  }
-
-  // 3. Find not glued blocks
-  GEOMAlgo_GlueAnalyser aGD; 
-
-  aGD.SetShape(aComp);
-  aGD.SetTolerance(Precision::Confusion());
-  aGD.SetCheckGeometry(Standard_True);
-  aGD.Perform();
-
-  Standard_Integer iErr, iWrn;
-  iErr = aGD.ErrorStatus();
-  if (iErr) {
-    SetErrorCode("Error in GEOMAlgo_GlueAnalyser");
-    return isCompOfBlocks;
-  }
-  iWrn = aGD.WarningStatus();
-  if (iWrn) {
-    MESSAGE("Warning in GEOMAlgo_GlueAnalyser");
-  }
-
-  // Report not glued blocks
-  if (aGD.HasSolidsToGlue()) {
-    isCompOfBlocks = Standard_False;
-    Standard_Integer aSx1Ind, aSx2Ind;
-
-    const GEOMAlgo_ListOfCoupleOfShapes& aLCS = aGD.SolidsToGlue();
-    GEOMAlgo_ListIteratorOfListOfCoupleOfShapes aItCS (aLCS);
-    for (; aItCS.More(); aItCS.Next()) {
-      const GEOMAlgo_CoupleOfShapes& aCS = aItCS.Value();
-      const TopoDS_Shape& aSx1 = aCS.Shape1();
-      const TopoDS_Shape& aSx2 = aCS.Shape2();
-
-      aSx1Ind = mapBlocks.FindIndex(aSx1);
-      aSx2Ind = mapBlocks.FindIndex(aSx2);
-      aRelations.SetValue(aSx1Ind, aSx2Ind, NOT_GLUED);
-      aRelations.SetValue(aSx2Ind, aSx1Ind, NOT_GLUED);
-
-      BCError anErr;
-      anErr.error = NOT_GLUED;
-      anErr.incriminated.push_back(anIndices.FindIndex(aSx1));
-      anErr.incriminated.push_back(anIndices.FindIndex(aSx2));
-      theErrors.push_back(anErr);
-    }
-  }
-
-  // 4. Find largest set of connected (good connection or not glued) blocks
-  Standard_Integer ibl = 1;
-  TColStd_MapOfInteger aProcessedMap;
-  TColStd_MapOfInteger aLargestSet;
-  TColStd_MapOfInteger aCurrentSet;
-  for (ibl = 1; ibl <= nbBlocks; ibl++) {
-    if (!aProcessedMap.Contains(ibl)) {
-      aCurrentSet.Clear();
-      FindConnected(ibl, aRelations, aProcessedMap, aCurrentSet);
-      if (aCurrentSet.Extent() > aLargestSet.Extent()) {
-        aLargestSet = aCurrentSet;
-      }
-    }
-  }
-
-  // 5. Report all blocks, isolated from <aLargestSet>
-  BCError anErr;
-  anErr.error = NOT_CONNECTED;
-  Standard_Boolean hasIsolated = Standard_False;
-  for (ibl = 1; ibl <= nbBlocks; ibl++) {
-    if (!aLargestSet.Contains(ibl)) {
-      aProcessedMap.Clear();
-      if (!HasAnyConnection(ibl, aLargestSet, aRelations, aProcessedMap)) {
-        // report connection absence
-        hasIsolated = Standard_True;
-        anErr.incriminated.push_back(anIndices.FindIndex(mapBlocks.FindKey(ibl)));
-      }
-    }
-  }
-  if (hasIsolated) {
-    isCompOfBlocks = Standard_False;
-    theErrors.push_back(anErr);
-  }
-
-  SetErrorCode(OK);
-  return isCompOfBlocks;
-}
-
-//=============================================================================
-/*!
- *  RemoveExtraEdges
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::RemoveExtraEdges
-                                             (Handle(GEOM_Object) theObject)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be fixed
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), GEOM_COPY);
-
-  //Add a function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_REMOVE_EXTRA);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlockTrsf aTI (aFunction);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the fixed shape
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to remove extra edges of the given shape");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy
-    << " = geompy.RemoveExtraEdges(" << theObject << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  CheckAndImprove
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::CheckAndImprove
-                                             (Handle(GEOM_Object) theObject)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be fixed
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), GEOM_COPY);
-
-  //Add a function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_COMPOUND_IMPROVE);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlockTrsf aTI (aFunction);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the fixed shape
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to improve the given blocks compound");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy
-    << " = geompy.CheckAndImprove(" << theObject << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  ExplodeCompoundOfBlocks
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IBlocksOperations::ExplodeCompoundOfBlocks
-                                                (Handle(GEOM_Object)    theCompound,
-                                                 const Standard_Integer theMinNbFaces,
-                                                 const Standard_Integer theMaxNbFaces)
-{
-  SetErrorCode(KO);
-
-  if (theCompound.IsNull()) return NULL;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-  if (aBlockOrComp.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aBlocks = new TColStd_HSequenceOfTransient;
-  Handle(GEOM_Object) anObj;
-  Handle(GEOM_Function) aFunction;
-
-  TopTools_MapOfShape mapShape;
-  TCollection_AsciiString anAsciiList, anEntry;
-
-  // Map shapes
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aBlockOrComp, anIndices);
-  Handle(TColStd_HArray1OfInteger) anArray;
-
-  // Explode
-  try {
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_SOLID);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Shape aSolid = exp.Current();
-
-        TopTools_MapOfShape mapFaces;
-        TopExp_Explorer expF (aSolid, TopAbs_FACE);
-        Standard_Integer nbFaces = 0;
-        for (; expF.More(); expF.Next()) {
-          if (mapFaces.Add(expF.Current())) {
-            nbFaces++;
-          }
-        }
-
-        if (theMinNbFaces <= nbFaces && nbFaces <= theMaxNbFaces) {
-          anArray = new TColStd_HArray1OfInteger(1,1);
-          anArray->SetValue(1, anIndices.FindIndex(aSolid));
-          anObj = GetEngine()->AddSubShape(theCompound, anArray);
-          aBlocks->Append(anObj);
-
-          //Make a Python command
-          TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-          anAsciiList += anEntry + ", ";
-        }
-      }
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return aBlocks;
-  }
-
-  if (aBlocks->IsEmpty()) {
-    SetErrorCode("There are no specified blocks in the given shape");
-    return aBlocks;
-  }
-
-  anAsciiList.Trunc(anAsciiList.Length() - 2);
-
-  //The explode doesn't change object so no new function is required.
-  aFunction = theCompound->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t["
-    << anAsciiList.ToCString() << "] = geompy.MakeBlockExplode("
-      << theCompound << ", " << theMinNbFaces << ", " << theMaxNbFaces << ")";
-
-  SetErrorCode(OK);
-  return aBlocks;
-}
-
-//=============================================================================
-/*!
- *  GetBlockNearPoint
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetBlockNearPoint
-                                                (Handle(GEOM_Object) theCompound,
-                                                 Handle(GEOM_Object) thePoint)
-{
-  SetErrorCode(KO);
-
-  //New object
-  Handle(GEOM_Object) aResult;
-
-  // Arguments
-  if (theCompound.IsNull() || thePoint.IsNull()) return NULL;
-
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-  if (aBlockOrComp.IsNull()) {
-    SetErrorCode("Compound is null");
-    return NULL;
-  }
-  if (aBlockOrComp.ShapeType() != TopAbs_COMPOUND &&
-      aBlockOrComp.ShapeType() != TopAbs_COMPSOLID) {
-    SetErrorCode("Shape to find block in is not a compound");
-    return NULL;
-  }
-
-  TopoDS_Shape anArg = thePoint->GetValue();
-  if (anArg.IsNull()) {
-    SetErrorCode("Point is null");
-    return NULL;
-  }
-  if (anArg.ShapeType() != TopAbs_VERTEX) {
-    SetErrorCode("Shape for block identification is not a vertex");
-    return NULL;
-  }
-
-  //Compute the Block value
-  try {
-    TopoDS_Shape aShape;
-
-    TopoDS_Vertex aVert = TopoDS::Vertex(anArg);
-    gp_Pnt aPnt = BRep_Tool::Pnt(aVert);
-    Standard_Real PX, PY, PZ;
-    aPnt.Coord(PX, PY, PZ);
-
-    // 1. Classify the point relatively each block
-    Standard_Integer nearest = 2, nbFound = 0;
-    TopTools_DataMapOfShapeInteger mapShapeDist;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_SOLID);
-    for (; exp.More(); exp.Next()) {
-      TopoDS_Shape aSolid = exp.Current();
-
-      if (!mapShapeDist.IsBound(aSolid)) {
-        Standard_Integer aDistance = 2;
-
-        // 1.a. Classify relatively Bounding box
-        Standard_Real Xmin, Ymin, Zmin, Xmax, Ymax, Zmax;
-        Bnd_Box BB;
-        BRepBndLib::Add(aSolid, BB);
-        BB.Get(Xmin, Ymin, Zmin, Xmax, Ymax, Zmax);
-        if (PX < Xmin || Xmax < PX ||
-            PY < Ymin || Ymax < PY ||
-            PZ < Zmin || Zmax < PZ) {
-          // OUT of bounding box
-          aDistance = 1;
-        } else {
-          // 1.b. Classify relatively the solid itself
-          BRepClass3d_SolidClassifier SC (aSolid, aPnt, Precision::Confusion());
-          if (SC.State() == TopAbs_IN) {
-            aDistance = -1;
-          } else if (SC.State() == TopAbs_ON) {
-            aDistance = 0;
-          } else { // OUT
-            aDistance = 1;
-          }
-        }
-
-        if (aDistance < nearest) {
-          nearest = aDistance;
-          aShape = aSolid;
-          nbFound = 1;
-
-          // A first found block, containing the point inside, will be returned.
-          // It is the solution, if there are no intersecting blocks in the compound.
-          if (nearest == -1) break;
-
-        } else if (aDistance == nearest) {
-          nbFound++;
-        } else {
-        }
-
-        mapShapeDist.Bind(aSolid, aDistance);
-      } // if (!mapShapeDist.IsBound(aSolid))
-    }
-
-    // 2. Define block, containing the point or having minimum distance to it
-    if (nbFound > 1) {
-      if (nearest == 0) {
-        // The point is on boundary of some blocks and there are
-        // no blocks, having the point inside their volume
-        SetErrorCode("Multiple blocks near the given point are found");
-        return NULL;
-
-      } else if (nearest == 1) {
-        // The point is outside some blocks and there are
-        // no blocks, having the point inside or on boundary.
-        // We will get a nearest block
-        Standard_Real minDist = RealLast();
-        TopTools_DataMapIteratorOfDataMapOfShapeInteger mapShapeDistIter (mapShapeDist);
-        for (; mapShapeDistIter.More(); mapShapeDistIter.Next()) {
-          if (mapShapeDistIter.Value() == 1) {
-            TopoDS_Shape aSolid = mapShapeDistIter.Key();
-            BRepExtrema_DistShapeShape aDistTool (aVert, aSolid);
-            if (!aDistTool.IsDone()) {
-              SetErrorCode("Can not find a distance from the given point to one of blocks");
-              return NULL;
-            }
-            Standard_Real aDist = aDistTool.Value();
-            if (aDist < minDist) {
-              minDist = aDist;
-              aShape = aSolid;
-            }
-          }
-        }
-      } else { // nearest == -1
-//        // The point is inside some blocks.
-//        // We will get a block with nearest center
-//        Standard_Real minDist = RealLast();
-//        TopTools_DataMapIteratorOfDataMapOfShapeInteger mapShapeDistIter (mapShapeDist);
-//        for (; mapShapeDistIter.More(); mapShapeDistIter.Next()) {
-//          if (mapShapeDistIter.Value() == -1) {
-//            TopoDS_Shape aSolid = mapShapeDistIter.Key();
-//            GProp_GProps aSystem;
-//            BRepGProp::VolumeProperties(aSolid, aSystem);
-//            gp_Pnt aCenterMass = aSystem.CentreOfMass();
-//
-//            Standard_Real aDist = aCenterMass.Distance(aPnt);
-//            if (aDist < minDist) {
-//              minDist = aDist;
-//              aShape = aSolid;
-//            }
-//          }
-//        }
-      }
-    } // if (nbFound > 1)
-
-    if (nbFound == 0) {
-      SetErrorCode("There are no blocks near the given point");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theCompound, anArray);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetBlockNearPoint("
-                               << theCompound << ", " << thePoint << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetBlockByParts
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::GetBlockByParts
-                      (Handle(GEOM_Object)                         theCompound,
-                       const Handle(TColStd_HSequenceOfTransient)& theParts)
-{
-  SetErrorCode(KO);
-
-  Handle(GEOM_Object) aResult;
-
-  if (theCompound.IsNull() || theParts.IsNull()) return NULL;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-  if (aBlockOrComp.IsNull()) return NULL;
-
-  //Get the parts
-  Standard_Integer argi, aLen = theParts->Length();
-  TopTools_Array1OfShape anArgs (1, aLen);
-  TCollection_AsciiString anEntry, aPartsDescr;
-  for (argi = 1; argi <= aLen; argi++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theParts->Value(argi));
-    Handle(GEOM_Function) aRef = anObj->GetLastFunction();
-    if (aRef.IsNull()) return NULL;
-
-    TopoDS_Shape anArg = aRef->GetValue();
-    if (anArg.IsNull()) {
-      SetErrorCode("Null shape is given as argument");
-      return NULL;
-    }
-    anArgs(argi) = anArg;
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    if (argi > 1) aPartsDescr += ", ";
-    aPartsDescr += anEntry;
-  }
-
-  //Compute the Block value
-  try {
-    // 1. Explode compound on solids
-    TopTools_MapOfShape mapShape;
-    Standard_Integer nbSolids = 0;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_SOLID);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        nbSolids++;
-      }
-    }
-
-    mapShape.Clear();
-    Standard_Integer ind = 1;
-    TopTools_Array1OfShape aSolids (1, nbSolids);
-    TColStd_Array1OfInteger aNbParts (1, nbSolids);
-    for (exp.Init(aBlockOrComp, TopAbs_SOLID); exp.More(); exp.Next(), ind++) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Shape aSolid = exp.Current();
-        aSolids(ind) = aSolid;
-        aNbParts(ind) = 0;
-
-        // 2. Define quantity of parts, contained in each solid
-        TopTools_IndexedMapOfShape aSubShapes;
-        TopExp::MapShapes(aSolid, aSubShapes);
-        for (argi = 1; argi <= aLen; argi++) {
-          if (aSubShapes.Contains(anArgs(argi))) {
-            aNbParts(ind)++;
-          }
-        }
-      }
-    }
-
-    // 3. Define solid, containing maximum quantity of parts
-    Standard_Integer maxNb = 0, nbFound = 0;
-    TopoDS_Shape aShape;
-    for (ind = 1; ind <= nbSolids; ind++) {
-      if (aNbParts(ind) > maxNb) {
-        maxNb = aNbParts(ind);
-        aShape = aSolids(ind);
-        nbFound = 1;
-      } else if (aNbParts(ind) == maxNb) {
-        nbFound++;
-      } else {
-      }
-    }
-    if (nbFound > 1) {
-      SetErrorCode("Multiple blocks, containing maximum quantity of the given parts, are found");
-      return NULL;
-    } else if (nbFound == 0) {
-      SetErrorCode("There are no blocks, containing the given parts");
-      return NULL;
-    } else {
-      TopTools_IndexedMapOfShape anIndices;
-      TopExp::MapShapes(aBlockOrComp, anIndices);
-      Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aShape));
-      aResult = GetEngine()->AddSubShape(theCompound, anArray);
-    }
-  } catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = aResult->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetBlockByParts("
-    << theCompound << ", [" << aPartsDescr.ToCString() << "])";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=============================================================================
-/*!
- *  GetBlocksByParts
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IBlocksOperations::GetBlocksByParts
-                      (Handle(GEOM_Object)                         theCompound,
-                       const Handle(TColStd_HSequenceOfTransient)& theParts)
-{
-  SetErrorCode(KO);
-
-  if (theCompound.IsNull() || theParts.IsNull()) return NULL;
-  TopoDS_Shape aBlockOrComp = theCompound->GetValue();
-  if (aBlockOrComp.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aBlocks = new TColStd_HSequenceOfTransient;
-  Handle(GEOM_Object) anObj;
-  Handle(GEOM_Function) aFunction;
-
-  //Get the parts
-  Standard_Integer argi, aLen = theParts->Length();
-  TopTools_Array1OfShape anArgs (1, aLen);
-  TCollection_AsciiString anEntry, aPartsDescr, anAsciiList;
-
-  for (argi = 1; argi <= aLen; argi++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theParts->Value(argi));
-    Handle(GEOM_Function) aRef = anObj->GetLastFunction();
-    if (aRef.IsNull()) return NULL;
-
-    TopoDS_Shape anArg = aRef->GetValue();
-    if (anArg.IsNull()) {
-      SetErrorCode("Null shape is given as argument");
-      return NULL;
-    }
-    anArgs(argi) = anArg;
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    aPartsDescr += anEntry + ", ";
-  }
-
-  //Get the Blocks
-  try {
-    TopTools_MapOfShape mapShape;
-    Standard_Integer nbSolids = 0;
-    TopExp_Explorer exp (aBlockOrComp, TopAbs_SOLID);
-    for (; exp.More(); exp.Next()) {
-      if (mapShape.Add(exp.Current())) {
-        nbSolids++;
-      }
-    }
-
-    mapShape.Clear();
-    Standard_Integer ind = 1;
-    TopTools_Array1OfShape aSolids (1, nbSolids);
-    TColStd_Array1OfInteger aNbParts (1, nbSolids);
-    for (exp.Init(aBlockOrComp, TopAbs_SOLID); exp.More(); exp.Next(), ind++) {
-      if (mapShape.Add(exp.Current())) {
-        TopoDS_Shape aSolid = exp.Current();
-        aSolids(ind) = aSolid;
-        aNbParts(ind) = 0;
-
-        // 2. Define quantity of parts, contained in each solid
-        TopTools_IndexedMapOfShape aSubShapes;
-        TopExp::MapShapes(aSolid, aSubShapes);
-        for (argi = 1; argi <= aLen; argi++) {
-          if (aSubShapes.Contains(anArgs(argi))) {
-            aNbParts(ind)++;
-          }
-        }
-      }
-    }
-
-    // 3. Define solid, containing maximum quantity of parts
-    Standard_Integer maxNb = 0, nbFound = 0;
-    for (ind = 1; ind <= nbSolids; ind++) {
-      if (aNbParts(ind) > maxNb) {
-        maxNb = aNbParts(ind);
-        nbFound = 1;
-      } else if (aNbParts(ind) == maxNb) {
-        nbFound++;
-      } else {
-      }
-    }
-    if (nbFound == 0) {
-      SetErrorCode("There are no blocks, containing the given parts");
-      return NULL;
-    }
-
-    // Map shapes
-    TopTools_IndexedMapOfShape anIndices;
-    TopExp::MapShapes(aBlockOrComp, anIndices);
-    Handle(TColStd_HArray1OfInteger) anArray;
-
-    for (ind = 1; ind <= nbSolids; ind++) {
-      if (aNbParts(ind) == maxNb) {
-        anArray = new TColStd_HArray1OfInteger(1,1);
-        anArray->SetValue(1, anIndices.FindIndex(aSolids(ind)));
-        anObj = GetEngine()->AddSubShape(theCompound, anArray);
-        aBlocks->Append(anObj);
-
-        // For Python command
-        TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-        anAsciiList += anEntry + ", ";
-        if (aFunction.IsNull())
-          aFunction = anObj->GetLastFunction();
-      }
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  aPartsDescr.Trunc(aPartsDescr.Length() - 2);
-  anAsciiList.Trunc(anAsciiList.Length() - 2);
-
-  GEOM::TPythonDump(aFunction) << "[" << anAsciiList.ToCString()
-    << "] = geompy.GetBlocksByParts(" << theCompound
-      << ", [" << aPartsDescr.ToCString() << "])";
-
-  SetErrorCode(OK);
-  return aBlocks;
-}
-
-//=============================================================================
-/*!
- *  MakeMultiTransformation1D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeMultiTransformation1D
-                                             (Handle(GEOM_Object)    theObject,
-                                              const Standard_Integer theDirFace1,
-                                              const Standard_Integer theDirFace2,
-                                              const Standard_Integer theNbTimes)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), GEOM_COPY);
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_MULTI_TRANSFORM_1D);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlockTrsf aTI (aFunction);
-  aTI.SetOriginal(aLastFunction);
-  aTI.SetFace1U(theDirFace1);
-  aTI.SetFace2U(theDirFace2);
-  aTI.SetNbIterU(theNbTimes);
-
-  //Compute the transformation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to make multi-transformation");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMultiTransformation1D("
-    << theObject << ", " << theDirFace1 << ", " << theDirFace2 << ", " << theNbTimes << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  MakeMultiTransformation2D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBlocksOperations::MakeMultiTransformation2D
-                                             (Handle(GEOM_Object)    theObject,
-                                              const Standard_Integer theDirFace1U,
-                                              const Standard_Integer theDirFace2U,
-                                              const Standard_Integer theNbTimesU,
-                                              const Standard_Integer theDirFace1V,
-                                              const Standard_Integer theDirFace2V,
-                                              const Standard_Integer theNbTimesV)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), GEOM_COPY);
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_BlockDriver::GetID(), BLOCK_MULTI_TRANSFORM_2D);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BlockDriver::GetID()) return NULL;
-
-  GEOMImpl_IBlockTrsf aTI (aFunction);
-  aTI.SetOriginal(aLastFunction);
-  aTI.SetFace1U(theDirFace1U);
-  aTI.SetFace2U(theDirFace2U);
-  aTI.SetNbIterU(theNbTimesU);
-  aTI.SetFace1V(theDirFace1V);
-  aTI.SetFace2V(theDirFace2V);
-  aTI.SetNbIterV(theNbTimesV);
-
-  //Compute the transformation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Block driver failed to make multi-transformation");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMultiTransformation2D("
-    << theObject << ", " << theDirFace1U << ", " << theDirFace2U << ", " << theNbTimesU
-      << ", " << theDirFace1V << ", " << theDirFace2V << ", " << theNbTimesV << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Propagate
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IBlocksOperations::Propagate
-                                                 (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return NULL;
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  TopTools_IndexedDataMapOfShapeListOfShape MEW;
-  GEOMImpl_Block6Explorer::MapShapesAndAncestors
-    (aShape, TopAbs_EDGE, TopAbs_WIRE, MEW);
-  Standard_Integer ie, nbEdges = MEW.Extent();
-
-  // Result
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-
-  TopTools_MapOfShape mapAcceptedEdges;
-  TCollection_AsciiString aListRes, anEntry;
-
-  for (ie = 1; ie <= nbEdges; ie++) {
-    TopoDS_Shape curE = MEW.FindKey(ie);
-
-    if (mapAcceptedEdges.Contains(curE)) continue;
-
-    // Build the chain
-    TopTools_ListOfShape currentChain;
-    TopTools_ListOfShape listPrevEdges;
-
-    currentChain.Append(curE);
-    listPrevEdges.Append(curE);
-    mapAcceptedEdges.Add(curE);
-
-    // Collect all edges pass by pass
-    while (listPrevEdges.Extent() > 0) {
-      // List of edges, added to chain on this cycle pass
-      TopTools_ListOfShape listCurEdges;
-
-      // Find the next portion of edges
-      TopTools_ListIteratorOfListOfShape itE (listPrevEdges);
-      for (; itE.More(); itE.Next()) {
-        TopoDS_Shape anE = itE.Value();
-
-        // Iterate on faces, having edge <anE>
-        TopTools_ListIteratorOfListOfShape itW (MEW.FindFromKey(anE));
-        for (; itW.More(); itW.Next()) {
-          TopoDS_Shape aW = itW.Value();
-          TopoDS_Shape anOppE;
-
-          BRepTools_WireExplorer aWE (TopoDS::Wire(aW));
-          Standard_Integer nb = 1, found = 0;
-          TopTools_Array1OfShape anEdges (1,4);
-          for (; aWE.More(); aWE.Next(), nb++) {
-            if (nb > 4) {
-              found = 0;
-              break;
-            }
-            anEdges(nb) = aWE.Current();
-            if (anEdges(nb).IsSame(anE)) found = nb;
-          }
-
-          if (nb == 5 && found > 0) {
-            // Quadrangle face found, get an opposite edge
-            Standard_Integer opp = found + 2;
-            if (opp > 4) opp -= 4;
-            anOppE = anEdges(opp);
-
-            if (!mapAcceptedEdges.Contains(anOppE)) {
-              // Add found edge to the chain
-              currentChain.Append(anOppE);
-              listCurEdges.Append(anOppE);
-              mapAcceptedEdges.Add(anOppE);
-            }
-          } // if (nb == 5 && found > 0)
-        } // for (; itF.More(); itF.Next())
-      } // for (; itE.More(); itE.Next())
-
-      listPrevEdges = listCurEdges;
-    } // while (listPrevEdges.Extent() > 0)
-
-    // Store the chain in the document
-    Handle(TColStd_HArray1OfInteger) anArray =
-      new TColStd_HArray1OfInteger (1, currentChain.Extent());
-
-    // Fill array of sub-shape indices
-    TopTools_ListIteratorOfListOfShape itSub (currentChain);
-    for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-      int id = anIndices.FindIndex(itSub.Value());
-      anArray->SetValue(index, id);
-    }
-
-    // Add a new group object
-    Handle(GEOM_Object) aChain = GetEngine()->AddSubShape(theShape, anArray);
-
-    // Set a GROUP type
-    aChain->SetType(GEOM_GROUP);
-
-    // Set a sub shape type
-    TDF_Label aFreeLabel = aChain->GetFreeLabel();
-    TDataStd_Integer::Set(aFreeLabel, (Standard_Integer)TopAbs_EDGE);
-
-    // Add the chain to the result
-    aSeq->Append(aChain);
-
-    //Make a Python command
-    TDF_Tool::Entry(aChain->GetEntry(), anEntry);
-    aListRes += anEntry + ", ";
-  }
-
-  if (aSeq->IsEmpty()) {
-    SetErrorCode("There are no quadrangle faces in the shape");
-    return aSeq;
-  }
-
-  aListRes.Trunc(aListRes.Length() - 2);
-
-  // The Propagation doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  // Make a Python command
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t["
-    << aListRes.ToCString() << "] = geompy.Propagate(" << theShape << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
diff --git a/src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx b/src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx
deleted file mode 100644 (file)
index 1b41e95..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-
-#ifndef _GEOMImpl_IBlocksOperations_HXX_
-#define _GEOMImpl_IBlocksOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-
-#include <TopTools_ListOfShape.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-
-#include <list>
-
-class GEOM_Engine;
-class Handle(GEOM_Object);
-class Handle(TColStd_HArray1OfInteger);
-
-class GEOMImpl_IBlocksOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IBlocksOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IBlocksOperations();
-
-  // Creation of blocks and block faces
-  Standard_EXPORT Handle(GEOM_Object) MakeQuad (Handle(GEOM_Object) theEdge1,
-                                Handle(GEOM_Object) theEdge2,
-                                Handle(GEOM_Object) theEdge3,
-                                Handle(GEOM_Object) theEdge4);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeQuad2Edges (Handle(GEOM_Object) theEdge1,
-                                      Handle(GEOM_Object) theEdge2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeQuad4Vertices (Handle(GEOM_Object) thePoint1,
-                                         Handle(GEOM_Object) thePoint2,
-                                         Handle(GEOM_Object) thePoint3,
-                                         Handle(GEOM_Object) thePoint4);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeHexa (Handle(GEOM_Object) theFace1,
-                                Handle(GEOM_Object) theFace2,
-                                Handle(GEOM_Object) theFace3,
-                                Handle(GEOM_Object) theFace4,
-                                Handle(GEOM_Object) theFace5,
-                                Handle(GEOM_Object) theFace6);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeHexa2Faces (Handle(GEOM_Object) theFace1,
-                                      Handle(GEOM_Object) theFace2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeBlockCompound (Handle(GEOM_Object) theCompound);
-
-  // Extract elements of blocks and blocks compounds
-  Standard_EXPORT Handle(GEOM_Object) GetPoint (Handle(GEOM_Object) theShape,
-                                const Standard_Real theX,
-                                const Standard_Real theY,
-                                const Standard_Real theZ,
-                                const Standard_Real theEpsilon);
-
-  Standard_EXPORT Handle(GEOM_Object) GetEdge (Handle(GEOM_Object) theShape,
-                               Handle(GEOM_Object) thePoint1,
-                               Handle(GEOM_Object) thePoint2);
-
-  Standard_EXPORT Handle(GEOM_Object) GetEdgeNearPoint (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) thePoint);
-
-  Standard_EXPORT Handle(GEOM_Object) GetFaceByPoints (Handle(GEOM_Object) theShape,
-                                       Handle(GEOM_Object) thePoint1,
-                                       Handle(GEOM_Object) thePoint2,
-                                       Handle(GEOM_Object) thePoint3,
-                                       Handle(GEOM_Object) thePoint4);
-
-  Standard_EXPORT Handle(GEOM_Object) GetFaceByEdges (Handle(GEOM_Object) theShape,
-                                      Handle(GEOM_Object) theEdge1,
-                                      Handle(GEOM_Object) theEdge2);
-
-  Standard_EXPORT Handle(GEOM_Object) GetOppositeFace (Handle(GEOM_Object) theBlock,
-                                       Handle(GEOM_Object) theFace);
-
-  Standard_EXPORT Handle(GEOM_Object) GetFaceNearPoint (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) thePoint);
-
-  Standard_EXPORT Handle(GEOM_Object) GetFaceByNormale (Handle(GEOM_Object) theBlock,
-                                        Handle(GEOM_Object) theVector);
-
-  // Check blocks compounds
-  Standard_EXPORT Standard_Boolean IsCompoundOfBlocks (Handle(GEOM_Object)    theCompound,
-                                       const Standard_Integer theMinNbFaces,
-                                       const Standard_Integer theMaxNbFaces,
-                                       Standard_Integer&      theNbBlocks);
-
-  enum BCErrorType {
-    NOT_BLOCK,
-    EXTRA_EDGE,
-    INVALID_CONNECTION,
-    NOT_CONNECTED,
-    NOT_GLUED
-  };
-
-  struct BCError {
-    BCErrorType error;
-    list<int>   incriminated;
-  };
-
-  Standard_EXPORT Standard_Boolean CheckCompoundOfBlocksOld (Handle(GEOM_Object) theCompound,
-                                             list<BCError>&      theErrors);
-
-  Standard_EXPORT Standard_Boolean CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound,
-                                          list<BCError>&      theErrors);
-
-  Standard_EXPORT TCollection_AsciiString PrintBCErrors (Handle(GEOM_Object)  theCompound,
-                                         const list<BCError>& theErrors);
-
-  Standard_EXPORT Handle(GEOM_Object) RemoveExtraEdges (Handle(GEOM_Object) theShape);
-
-  Standard_EXPORT Handle(GEOM_Object) CheckAndImprove (Handle(GEOM_Object) theCompound);
-
-  Standard_EXPORT static void AddBlocksFrom (const TopoDS_Shape&   theShape,
-                             TopTools_ListOfShape& BLO,
-                             TopTools_ListOfShape& NOT,
-                             TopTools_ListOfShape& EXT);
-
-  // Extract blocks from blocks compounds
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) ExplodeCompoundOfBlocks
-                                      (Handle(GEOM_Object)    theCompound,
-                                       const Standard_Integer theMinNbFaces,
-                                       const Standard_Integer theMaxNbFaces);
-
-  Standard_EXPORT Handle(GEOM_Object) GetBlockNearPoint (Handle(GEOM_Object) theCompound,
-                                         Handle(GEOM_Object) thePoint);
-
-  Standard_EXPORT Handle(GEOM_Object) GetBlockByParts
-                     (Handle(GEOM_Object)                         theCompound,
-                      const Handle(TColStd_HSequenceOfTransient)& theParts);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetBlocksByParts
-                     (Handle(GEOM_Object)                         theCompound,
-                      const Handle(TColStd_HSequenceOfTransient)& theParts);
-
-  // Operations on blocks with gluing of result
-  Standard_EXPORT Handle(GEOM_Object) MakeMultiTransformation1D (Handle(GEOM_Object)    theBlock,
-                                                 const Standard_Integer theDirFace1,
-                                                 const Standard_Integer theDirFace2,
-                                                 const Standard_Integer theNbTimes);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeMultiTransformation2D (Handle(GEOM_Object)    theBlock,
-                                                 const Standard_Integer theDirFace1U,
-                                                 const Standard_Integer theDirFace2U,
-                                                 const Standard_Integer theNbTimesU,
-                                                 const Standard_Integer theDirFace1V,
-                                                 const Standard_Integer theDirFace2V,
-                                                 const Standard_Integer theNbTimesV);
-
-  // Build groups for Propagation of 1D hypotheses
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) Propagate (Handle(GEOM_Object) theShape);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IBoolean.hxx b/src/GEOMImpl/GEOMImpl_IBoolean.hxx
deleted file mode 100644 (file)
index 8668bf9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//NOTE: This is an intreface to a function for the Common, Cut and Fuse creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define BOOL_ARG_SHAPE1  1
-#define BOOL_ARG_SHAPE2  2
-
-class GEOMImpl_IBoolean
-{
- public:
-
-  GEOMImpl_IBoolean(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape1(Handle(GEOM_Function) theRef) { _func->SetReference(BOOL_ARG_SHAPE1, theRef); }
-  void SetShape2(Handle(GEOM_Function) theRef) { _func->SetReference(BOOL_ARG_SHAPE2, theRef); }
-
-  Handle(GEOM_Function) GetShape1() { return _func->GetReference(BOOL_ARG_SHAPE1); }
-  Handle(GEOM_Function) GetShape2() { return _func->GetReference(BOOL_ARG_SHAPE2); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx b/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx
deleted file mode 100644 (file)
index cd635df..0000000
+++ /dev/null
@@ -1,330 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IBooleanOperations.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_BooleanDriver.hxx>
-#include <GEOMImpl_IBoolean.hxx>
-
-#include <GEOMImpl_PartitionDriver.hxx>
-#include <GEOMImpl_IPartition.hxx>
-
-#include <TDF_Tool.hxx>
-
-#include "utilities.h"
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IBooleanOperations::GEOMImpl_IBooleanOperations (GEOM_Engine* theEngine, int theDocID) 
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IBooleanOperations::GEOMImpl_IBooleanOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IBooleanOperations::~GEOMImpl_IBooleanOperations()
-{
-  MESSAGE("GEOMImpl_IBooleanOperations::~GEOMImpl_IBooleanOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakeBoolean
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBooleanOperations::MakeBoolean (Handle(GEOM_Object) theShape1,
-                                                              Handle(GEOM_Object) theShape2,
-                                                              Standard_Integer    theOp)
-{
-  SetErrorCode(KO);
-
-  if (theShape1.IsNull() || theShape2.IsNull()) return NULL;
-  //Add a new Boolean object  
-  Handle(GEOM_Object) aBool = GetEngine()->AddObject(GetDocID(), GEOM_BOOLEAN);
-  //Add a new Boolean function
-  Handle(GEOM_Function) aFunction;
-  if (theOp == 1) {
-    aFunction = aBool->AddFunction(GEOMImpl_BooleanDriver::GetID(), BOOLEAN_COMMON);
-  } else if (theOp == 2) {
-    aFunction = aBool->AddFunction(GEOMImpl_BooleanDriver::GetID(), BOOLEAN_CUT);
-  } else if (theOp == 3) {
-    aFunction = aBool->AddFunction(GEOMImpl_BooleanDriver::GetID(), BOOLEAN_FUSE);
-  } else if (theOp == 4) {
-    aFunction = aBool->AddFunction(GEOMImpl_BooleanDriver::GetID(), BOOLEAN_SECTION);
-  } else {
-  }
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_BooleanDriver::GetID()) return NULL; 
-
-  GEOMImpl_IBoolean aCI (aFunction);
-  
-  Handle(GEOM_Function) aRef1 = theShape1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = theShape2->GetLastFunction();
-
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aCI.SetShape1(aRef1);
-  aCI.SetShape2(aRef2);
-
-  //Compute the Boolean value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Boolean driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aBool;
-  if      (theOp == 1) pd << " = geompy.MakeCommon(";
-  else if (theOp == 2) pd << " = geompy.MakeCut(";
-  else if (theOp == 3) pd << " = geompy.MakeFuse(";
-  else if (theOp == 4) pd << " = geompy.MakeSection(";
-  else {}
-  pd << theShape1 << ", " << theShape2 << ")";
-
-  SetErrorCode(OK);
-  return aBool; 
-}
-
-//=============================================================================
-/*!
- *  MakePartition
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBooleanOperations::MakePartition
-                             (const Handle(TColStd_HSequenceOfTransient)& theShapes, 
-                              const Handle(TColStd_HSequenceOfTransient)& theTools,
-                              const Handle(TColStd_HSequenceOfTransient)& theKeepIns,
-                              const Handle(TColStd_HSequenceOfTransient)& theRemoveIns,
-                              const Standard_Integer           theLimit,
-                              const Standard_Boolean           theRemoveWebs,
-                              const Handle(TColStd_HArray1OfInteger)& theMaterials)
-{
-  SetErrorCode(KO);
-
-  //Add a new Partition object  
-  Handle(GEOM_Object) aPartition = GetEngine()->AddObject(GetDocID(), GEOM_PARTITION);
-  //Add a new Partition function
-  Handle(GEOM_Function) aFunction =
-    aPartition->AddFunction(GEOMImpl_PartitionDriver::GetID(), PARTITION_PARTITION);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PartitionDriver::GetID()) return NULL; 
-
-  GEOMImpl_IPartition aCI (aFunction);
-  
-//  int aLen = theShapes.size();
-//  aCI.SetLength(aLen);
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq  = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aToolsSeq   = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aKeepInsSeq = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aRemInsSeq  = new TColStd_HSequenceOfTransient;
-
-  Standard_Integer ind, aLen;
-  TCollection_AsciiString anEntry;
-  TCollection_AsciiString aShapesDescr, aToolsDescr, aKeepInsDescr, aRemoveInsDescr;
-
-  // Shapes
-  aLen = theShapes->Length();
-  for (ind = 1; ind <= aLen; ind++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theShapes->Value(ind));
-    Handle(GEOM_Function) aRefSh = anObj->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL shape for Partition");
-      return NULL;
-    }
-    aShapesSeq->Append(aRefSh);
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    if (ind > 1) aShapesDescr += ", ";
-    aShapesDescr += anEntry;
-  }
-  aCI.SetShapes(aShapesSeq);
-
-  // Tools
-  aLen = theTools->Length();
-  for (ind = 1; ind <= aLen; ind++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theTools->Value(ind));
-    Handle(GEOM_Function) aRefSh = anObj->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL tool shape for Partition");
-      return NULL;
-    }
-    aToolsSeq->Append(aRefSh);
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    if (ind > 1) aToolsDescr += ", ";
-    aToolsDescr += anEntry;
-  }
-  aCI.SetTools(aToolsSeq);
-
-  // Keep Inside
-  aLen = theKeepIns->Length();
-  for (ind = 1; ind <= aLen; ind++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theKeepIns->Value(ind));
-    Handle(GEOM_Function) aRefSh = anObj->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL <keep inside> shape for Partition");
-      return NULL;
-    }
-    aKeepInsSeq->Append(aRefSh);
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    if (ind > 1) aKeepInsDescr += ", ";
-    aKeepInsDescr += anEntry;
-  }
-  aCI.SetKeepIns(aKeepInsSeq);
-
-  // Remove Inside
-  aLen = theRemoveIns->Length();
-  for (ind = 1; ind <= aLen; ind++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(theRemoveIns->Value(ind));
-    Handle(GEOM_Function) aRefSh = anObj->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL <remove inside> shape for Partition");
-      return NULL;
-    }
-    aRemInsSeq->Append(aRefSh);
-
-    // For Python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    if (ind > 1) aRemoveInsDescr += ", ";
-    aRemoveInsDescr += anEntry;
-  }
-  aCI.SetRemoveIns(aRemInsSeq);
-
-  // Limit
-  aCI.SetLimit(theLimit);
-
-  // Materials
-  if (theRemoveWebs) {
-    if (theMaterials.IsNull()) {
-      Handle(TColStd_HArray1OfInteger) aMaterials =
-        new TColStd_HArray1OfInteger (1, aShapesSeq->Length());
-      aCI.SetMaterials(aMaterials);
-    } else {
-      aCI.SetMaterials(theMaterials);
-    }
-  }
-
-  //Compute the Partition
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Partition driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command 
-  GEOM::TPythonDump pd (aFunction);
-  pd << aPartition << " = geompy.MakePartition([";
-  // Shapes, Tools
-  pd << aShapesDescr.ToCString() << "], [" << aToolsDescr.ToCString() << "], [";
-  // Keep Ins, Remove Ins
-  pd << aKeepInsDescr.ToCString() << "], [" << aRemoveInsDescr.ToCString() << "], ";
-  // Limit, Remove Webs
-  pd << theLimit << ", " << (int)theRemoveWebs << ", [";
-  // Materials
-  if (theMaterials->Length() > 0) {
-    int i = theMaterials->Lower();
-    pd << theMaterials->Value(i);
-    i++;
-    for (; i <= theMaterials->Upper(); i++) {
-      pd << ", " << theMaterials->Value(i);
-    }
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aPartition; 
-}
-
-//=============================================================================
-/*!
- *  MakeHalfPartition
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IBooleanOperations::MakeHalfPartition
-       (Handle(GEOM_Object) theShape, Handle(GEOM_Object) thePlane)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || thePlane.IsNull()) return NULL;
-  //Add a new Boolean object  
-  Handle(GEOM_Object) aPart = GetEngine()->AddObject(GetDocID(), GEOM_BOOLEAN);
-  //Add a new Partition function
-  Handle(GEOM_Function) aFunction =
-    aPart->AddFunction(GEOMImpl_PartitionDriver::GetID(), PARTITION_HALF);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PartitionDriver::GetID()) return NULL; 
-
-  GEOMImpl_IPartition aCI (aFunction);
-  
-  Handle(GEOM_Function) aRef1 = theShape->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePlane->GetLastFunction();
-
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aCI.SetShape(aRef1);
-  aCI.SetPlane(aRef2);
-
-  //Compute the Partition value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Partition driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command 
-  GEOM::TPythonDump(aFunction) << aPart << " = geompy.MakeHalfPartition("
-                               << theShape << ", " << thePlane << ")";
-
-  SetErrorCode(OK);
-  return aPart; 
-}
diff --git a/src/GEOMImpl/GEOMImpl_IBooleanOperations.hxx b/src/GEOMImpl/GEOMImpl_IBooleanOperations.hxx
deleted file mode 100644 (file)
index 336911d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-
-#ifndef _GEOMImpl_IBooleanOperations_HXX_
-#define _GEOMImpl_IBooleanOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-
-//#include "TColStd_HSequenceOfTransient.hxx"
-
-#include "list"
-
-class GEOM_Engine;
-class Handle(GEOM_Object);
-class Handle(TColStd_HArray1OfInteger);
-
-class GEOMImpl_IBooleanOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IBooleanOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IBooleanOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) MakeBoolean (Handle(GEOM_Object) theShape1,
-                                   Handle(GEOM_Object) theShape2,
-                                   Standard_Integer    theOp);
-
-  Standard_EXPORT Handle(GEOM_Object) MakePartition (const Handle(TColStd_HSequenceOfTransient)& theShapes, 
-                                     const Handle(TColStd_HSequenceOfTransient)& theTools,
-                                     const Handle(TColStd_HSequenceOfTransient)& theKeepInside,
-                                     const Handle(TColStd_HSequenceOfTransient)& theRemoveInside,
-                                     const Standard_Integer           theLimit,
-                                     const Standard_Boolean           theRemoveWebs,
-                                     const Handle(TColStd_HArray1OfInteger)& theMaterials);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeHalfPartition (Handle(GEOM_Object) theShape,
-                                         Handle(GEOM_Object) thePlane);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IBox.hxx b/src/GEOMImpl/GEOMImpl_IBox.hxx
deleted file mode 100644 (file)
index 45a33b5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//NOTE: This is an intreface to a function for the Box creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define BOX_ARG_DX   1
-#define BOX_ARG_DY   2
-#define BOX_ARG_DZ   3
-#define BOX_ARG_REF1 4
-#define BOX_ARG_REF2 5
-
-class GEOMImpl_IBox
-{
- public:
-
-  GEOMImpl_IBox(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetDX(double theX) { _func->SetReal(BOX_ARG_DX, theX); }
-
-  double GetDX() { return _func->GetReal(BOX_ARG_DX); }
-
-  void SetDY(double theY) { _func->SetReal(BOX_ARG_DY, theY); }
-
-  double GetDY() { return _func->GetReal(BOX_ARG_DY); }
-
-  void SetDZ(double theZ) { _func->SetReal(BOX_ARG_DZ, theZ); }
-
-  double GetDZ() { return _func->GetReal(BOX_ARG_DZ); }
-
-  void SetRef1(Handle(GEOM_Function) theRefPoint1) { _func->SetReference(BOX_ARG_REF1, theRefPoint1); }
-
-  Handle(GEOM_Function) GetRef1() { return _func->GetReference(BOX_ARG_REF1); }
-
-  void SetRef2(Handle(GEOM_Function) theRefPoint2) { _func->SetReference(BOX_ARG_REF2, theRefPoint2); }
-
-  Handle(GEOM_Function) GetRef2() { return _func->GetReference(BOX_ARG_REF2); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IChamfer.hxx b/src/GEOMImpl/GEOMImpl_IChamfer.hxx
deleted file mode 100644 (file)
index c2b0d4e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//NOTE: This is an interface to a function for the Chamfer and creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define CHAM_ARG_SH   1
-#define CHAM_ARG_D1   2
-#define CHAM_ARG_D2   3
-#define CHAM_ARG_LENG 4
-#define CHAM_ARG_LAST 4
-
-class GEOMImpl_IChamfer
-{
- public:
-
-  GEOMImpl_IChamfer(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape(Handle(GEOM_Function) theRef) { _func->SetReference(CHAM_ARG_SH, theRef); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(CHAM_ARG_SH); }
-
-  void SetD (double theD) { _func->SetReal(CHAM_ARG_D1, theD); }
-  void SetD1(double theD) { _func->SetReal(CHAM_ARG_D1, theD); }
-  void SetD2(double theD) { _func->SetReal(CHAM_ARG_D2, theD); }
-
-  double GetD () { return _func->GetReal(CHAM_ARG_D1); }
-  double GetD1() { return _func->GetReal(CHAM_ARG_D1); }
-  double GetD2() { return _func->GetReal(CHAM_ARG_D2); }
-
-  void SetLength(int theLen) { _func->SetInteger(CHAM_ARG_LENG, theLen); }
-
-  int GetLength() { return _func->GetInteger(CHAM_ARG_LENG); }
-
-  void SetFace(int theInd, int theFace)
-              { _func->SetInteger(CHAM_ARG_LAST + theInd, theFace); }
-  void SetFace1(int theFace)
-              { _func->SetInteger(CHAM_ARG_LAST + 1, theFace); }
-  void SetFace2(int theFace)
-              { _func->SetInteger(CHAM_ARG_LAST + 2, theFace); }
-
-  int GetFace(int theInd) { return _func->GetInteger(CHAM_ARG_LAST + theInd); }
-  int GetFace1() { return _func->GetInteger(CHAM_ARG_LAST + 1); }
-  int GetFace2() { return _func->GetInteger(CHAM_ARG_LAST + 2); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ICircle.hxx b/src/GEOMImpl/GEOMImpl_ICircle.hxx
deleted file mode 100644 (file)
index 3f7e0b9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//NOTE: This is an intreface to a function for the Circle creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define CIRC_ARG_P1  1
-#define CIRC_ARG_P2  2
-#define CIRC_ARG_P3  3
-
-#define CIRC_ARG_CC  4
-#define CIRC_ARG_VV  5
-#define CIRC_ARG_RR  6
-
-class GEOMImpl_ICircle
-{
- public:
-
-  GEOMImpl_ICircle(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetPoint1(Handle(GEOM_Function) theP) { _func->SetReference(CIRC_ARG_P1, theP); }
-  void SetPoint2(Handle(GEOM_Function) theP) { _func->SetReference(CIRC_ARG_P2, theP); }
-  void SetPoint3(Handle(GEOM_Function) theP) { _func->SetReference(CIRC_ARG_P3, theP); }
-
-  void SetCenter(Handle(GEOM_Function) theP) { _func->SetReference(CIRC_ARG_CC, theP); }
-  void SetVector(Handle(GEOM_Function) theV) { _func->SetReference(CIRC_ARG_VV, theV); }
-
-  void SetRadius(double theR) { _func->SetReal(CIRC_ARG_RR, theR); }
-
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(CIRC_ARG_P1); }
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(CIRC_ARG_P2); }
-  Handle(GEOM_Function) GetPoint3() { return _func->GetReference(CIRC_ARG_P3); }
-
-  Handle(GEOM_Function) GetCenter() { return _func->GetReference(CIRC_ARG_CC); }
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(CIRC_ARG_VV); }
-
-  double GetRadius() { return _func->GetReal(CIRC_ARG_RR); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ICone.hxx b/src/GEOMImpl/GEOMImpl_ICone.hxx
deleted file mode 100644 (file)
index cd622eb..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//NOTE: This is an intreface to a function for the Cone creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define CONE_ARG_R1  1
-#define CONE_ARG_R2  2
-#define CONE_ARG_H   3
-#define CONE_ARG_PNT 4
-#define CONE_ARG_VEC 5
-
-class GEOMImpl_ICone
-{
- public:
-
-  GEOMImpl_ICone(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetR1(double theR) { _func->SetReal(CONE_ARG_R1, theR); }
-
-  double GetR1() { return _func->GetReal(CONE_ARG_R1); }
-
-  void SetR2(double theR) { _func->SetReal(CONE_ARG_R2, theR); }
-
-  double GetR2() { return _func->GetReal(CONE_ARG_R2); }
-
-  void SetH(double theH) { _func->SetReal(CONE_ARG_H, theH); }
-
-  double GetH() { return _func->GetReal(CONE_ARG_H); }
-
-  void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(CONE_ARG_PNT, theRefPoint); }
-
-  Handle(GEOM_Function) GetPoint() { return _func->GetReference(CONE_ARG_PNT); }
-
-  void SetVector(Handle(GEOM_Function) theRefVector) { _func->SetReference(CONE_ARG_VEC, theRefVector); }
-
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(CONE_ARG_VEC); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ICopy.hxx b/src/GEOMImpl/GEOMImpl_ICopy.hxx
deleted file mode 100644 (file)
index fad03bb..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-//NOTE: This is an intreface to a function for the Copy operation.
-
-
-#include "GEOM_Function.hxx"
-
-#define COPY_ARG_REF  1
-
-class GEOMImpl_ICopy
-{
- public:
-
-  GEOMImpl_ICopy(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(COPY_ARG_REF, theOriginal); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(COPY_ARG_REF); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx
deleted file mode 100644 (file)
index f1c9e80..0000000
+++ /dev/null
@@ -1,581 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ICurvesOperations.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_PolylineDriver.hxx>
-#include <GEOMImpl_CircleDriver.hxx>
-#include <GEOMImpl_SplineDriver.hxx>
-#include <GEOMImpl_EllipseDriver.hxx>
-#include <GEOMImpl_ArcDriver.hxx>
-#include <GEOMImpl_SketcherDriver.hxx>
-
-#include <GEOMImpl_IPolyline.hxx>
-#include <GEOMImpl_ICircle.hxx>
-#include <GEOMImpl_ISpline.hxx>
-#include <GEOMImpl_IEllipse.hxx>
-#include <GEOMImpl_IArc.hxx>
-#include <GEOMImpl_ISketcher.hxx>
-
-#include "utilities.h"
-
-#include <TDF_Tool.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_ICurvesOperations::GEOMImpl_ICurvesOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_ICurvesOperations::GEOMImpl_ICurvesOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_ICurvesOperations::~GEOMImpl_ICurvesOperations()
-{
-  MESSAGE("GEOMImpl_ICurvesOperations::~GEOMImpl_ICurvesOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakePolyline
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakePolyline (list<Handle(GEOM_Object)> thePoints)
-{
-  SetErrorCode(KO);
-
-  //Add a new Polyline object
-  Handle(GEOM_Object) aPolyline = GetEngine()->AddObject(GetDocID(), GEOM_POLYLINE);
-
-  //Add a new Polyline function for creation a polyline relatively to points set
-  Handle(GEOM_Function) aFunction =
-    aPolyline->AddFunction(GEOMImpl_PolylineDriver::GetID(), POLYLINE_POINTS);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PolylineDriver::GetID()) return NULL;
-
-  GEOMImpl_IPolyline aCI (aFunction);
-
-  int aLen = thePoints.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
-  for (; it != thePoints.end(); it++, ind++) {
-    Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
-    if (aRefPnt.IsNull()) {
-      SetErrorCode("NULL point for Polyline");
-      return NULL;
-    }
-    aCI.SetPoint(ind, aRefPnt);
-  }
-
-  //Compute the Polyline value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Polyline driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aPolyline << " = geompy.MakePolyline([";
-
-  it = thePoints.begin();
-  pd << (*it++);
-  while (it != thePoints.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aPolyline;
-}
-
-//=============================================================================
-/*!
- *  MakeCircleThreePnt
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
-                                                                    Handle(GEOM_Object) thePnt2,
-                                                                    Handle(GEOM_Object) thePnt3)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull() || thePnt3.IsNull()) return NULL;
-
-  //Add a new Circle object
-  Handle(GEOM_Object) aCircle = GetEngine()->AddObject(GetDocID(), GEOM_CIRCLE);
-
-  //Add a new Circle function for creation a circle relatively to three points
-  Handle(GEOM_Function) aFunction =
-    aCircle->AddFunction(GEOMImpl_CircleDriver::GetID(), CIRCLE_THREE_PNT);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_CircleDriver::GetID()) return NULL;
-
-  GEOMImpl_ICircle aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt2 = thePnt2->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt3 = thePnt3->GetLastFunction();
-
-  if (aRefPnt1.IsNull() || aRefPnt2.IsNull() || aRefPnt3.IsNull()) return NULL;
-
-  aCI.SetPoint1(aRefPnt1);
-  aCI.SetPoint2(aRefPnt2);
-  aCI.SetPoint3(aRefPnt3);
-
-  //Compute the Circle value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Circle driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCircle << " = geompy.MakeCircleThreePnt("
-    << thePnt1 << ", " << thePnt2 << ", " << thePnt3 << ")";
-
-  SetErrorCode(OK);
-  return aCircle;
-}
-
-//=============================================================================
-/*!
- *  MakeCirclePntVecR
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCirclePntVecR
-       (Handle(GEOM_Object) thePnt, Handle(GEOM_Object) theVec, double theR)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Circle object
-  Handle(GEOM_Object) aCircle = GetEngine()->AddObject(GetDocID(), GEOM_CIRCLE);
-
-  //Add a new Circle function for creation a circle relatively to point and vector
-  Handle(GEOM_Function) aFunction =
-    aCircle->AddFunction(GEOMImpl_CircleDriver::GetID(), CIRCLE_PNT_VEC_R);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_CircleDriver::GetID()) return NULL;
-
-  GEOMImpl_ICircle aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetCenter(aRefPnt);
-  aCI.SetVector(aRefVec);
-  aCI.SetRadius(theR);
-
-  //Compute the Circle value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Circle driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCircle << " = geompy.MakeCircle("
-    << thePnt << ", " << theVec << ", " << theR << ")";
-
-  SetErrorCode(OK);
-  return aCircle;
-}
-
-//=============================================================================
-/*!
- *  MakeEllipse
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeEllipse
-                       (Handle(GEOM_Object) thePnt, Handle(GEOM_Object) theVec,
-                        double theRMajor, double theRMinor)
-{
-  SetErrorCode(KO);
-
-  if (thePnt.IsNull() || theVec.IsNull()) return NULL;
-
-  //Add a new Ellipse object
-  Handle(GEOM_Object) anEll = GetEngine()->AddObject(GetDocID(), GEOM_ELLIPSE);
-
-  //Add a new Ellipse function
-  Handle(GEOM_Function) aFunction =
-    anEll->AddFunction(GEOMImpl_EllipseDriver::GetID(), ELLIPSE_PNT_VEC_RR);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_EllipseDriver::GetID()) return NULL;
-
-  GEOMImpl_IEllipse aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt = thePnt->GetLastFunction();
-  Handle(GEOM_Function) aRefVec = theVec->GetLastFunction();
-
-  if (aRefPnt.IsNull() || aRefVec.IsNull()) return NULL;
-
-  aCI.SetCenter(aRefPnt);
-  aCI.SetVector(aRefVec);
-  aCI.SetRMajor(theRMajor);
-  aCI.SetRMinor(theRMinor);
-
-  //Compute the Ellipse value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Ellipse driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anEll << " = geompy.MakeEllipse("
-    << thePnt << ", " << theVec << ", " << theRMajor << ", " << theRMinor << ")";
-
-  SetErrorCode(OK);
-  return anEll;
-}
-
-//=============================================================================
-/*!
- *  MakeArc
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeArc (Handle(GEOM_Object) thePnt1,
-                                                         Handle(GEOM_Object) thePnt2,
-                                                         Handle(GEOM_Object) thePnt3)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull() || thePnt3.IsNull()) return NULL;
-
-  //Add a new Circle Arc object
-  Handle(GEOM_Object) anArc = GetEngine()->AddObject(GetDocID(), GEOM_CIRC_ARC);
-
-  //Add a new Circle Arc function
-  Handle(GEOM_Function) aFunction =
-    anArc->AddFunction(GEOMImpl_ArcDriver::GetID(), CIRC_ARC_THREE_PNT);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ArcDriver::GetID()) return NULL;
-
-  GEOMImpl_IArc aCI (aFunction);
-
-  Handle(GEOM_Function) aRefPnt1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt2 = thePnt2->GetLastFunction();
-  Handle(GEOM_Function) aRefPnt3 = thePnt3->GetLastFunction();
-
-  if (aRefPnt1.IsNull() || aRefPnt2.IsNull() || aRefPnt3.IsNull()) return NULL;
-
-  aCI.SetPoint1(aRefPnt1);
-  aCI.SetPoint2(aRefPnt2);
-  aCI.SetPoint3(aRefPnt3);
-
-  //Compute the Arc value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Arc driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anArc << " = geompy.MakeArc("
-    << thePnt1 << ", " << thePnt2 << ", " << thePnt3 << ")";
-
-  SetErrorCode(OK);
-  return anArc;
-}
-
-//=============================================================================
-/*!
- *  MakeSplineBezier
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineBezier
-                                          (list<Handle(GEOM_Object)> thePoints)
-{
-  SetErrorCode(KO);
-
-  //Add a new Spline object
-  Handle(GEOM_Object) aSpline = GetEngine()->AddObject(GetDocID(), GEOM_SPLINE);
-
-  //Add a new Spline function for creation a bezier curve relatively to points set
-  Handle(GEOM_Function) aFunction =
-    aSpline->AddFunction(GEOMImpl_SplineDriver::GetID(), SPLINE_BEZIER);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SplineDriver::GetID()) return NULL;
-
-  GEOMImpl_ISpline aCI (aFunction);
-
-  int aLen = thePoints.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
-  for (; it != thePoints.end(); it++, ind++) {
-    Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
-
-    if (aRefPnt.IsNull()) return NULL;
-
-    aCI.SetPoint(ind, aRefPnt);
-  }
-
-  //Compute the Spline value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Spline driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aSpline << " = geompy.MakeBezier([";
-
-  it = thePoints.begin();
-  pd << (*it++);
-  while (it != thePoints.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aSpline;
-}
-
-//=============================================================================
-/*!
- *  MakeSplineInterpolation
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineInterpolation
-                                          (list<Handle(GEOM_Object)> thePoints)
-{
-  SetErrorCode(KO);
-
-  //Add a new Spline object
-  Handle(GEOM_Object) aSpline = GetEngine()->AddObject(GetDocID(), GEOM_SPLINE);
-
-  //Add a new Spline function for creation a bezier curve relatively to points set
-  Handle(GEOM_Function) aFunction =
-    aSpline->AddFunction(GEOMImpl_SplineDriver::GetID(), SPLINE_INTERPOLATION);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SplineDriver::GetID()) return NULL;
-
-  GEOMImpl_ISpline aCI (aFunction);
-
-  int aLen = thePoints.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
-  for (; it != thePoints.end(); it++, ind++) {
-    Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
-
-    if (aRefPnt.IsNull()) return NULL;
-
-    aCI.SetPoint(ind, aRefPnt);
-  }
-
-  //Compute the Spline value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Spline driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aSpline << " = geompy.MakeInterpol([";
-
-  it = thePoints.begin();
-  pd << (*it++);
-  while (it != thePoints.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aSpline;
-}
-
-//=============================================================================
-/*!
- *  MakeSketcher
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSketcher
-                               (const TCollection_AsciiString& theCommand,
-                                list<double>                   theWorkingPlane)
-{
-  SetErrorCode(KO);
-
-  if (theCommand.IsEmpty()) return NULL;
-
-  //Add a new Sketcher object
-  Handle(GEOM_Object) aSketcher = GetEngine()->AddObject(GetDocID(), GEOM_SKETCHER);
-
-  //Add a new Sketcher function
-  Handle(GEOM_Function) aFunction =
-    aSketcher->AddFunction(GEOMImpl_SketcherDriver::GetID(), SKETCHER_NINE_DOUBLS);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SketcherDriver::GetID()) return NULL;
-
-  GEOMImpl_ISketcher aCI (aFunction);
-
-  aCI.SetCommand(theCommand);
-
-  int ind = 1;
-  list<double>::iterator it = theWorkingPlane.begin();
-  for (; it != theWorkingPlane.end(); it++, ind++)
-    aCI.SetWorkingPlane(ind, *it);
-
-  //Compute the Sketcher value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Sketcher driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aSketcher << " = geompy.MakeSketcher(\"" << theCommand.ToCString() << "\", [";
-
-  it = theWorkingPlane.begin();
-  pd << (*it++);
-  while (it != theWorkingPlane.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aSketcher;
-}
-
-//=============================================================================
-/*!
- *  MakeSketcherOnPlane
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSketcherOnPlane
-                               (const TCollection_AsciiString& theCommand,
-                                Handle(GEOM_Object)            theWorkingPlane)
-{
-  SetErrorCode(KO);
-
-  if (theCommand.IsEmpty()) return NULL;
-
-  //Add a new Sketcher object
-  Handle(GEOM_Object) aSketcher = GetEngine()->AddObject(GetDocID(), GEOM_SKETCHER);
-
-  //Add a new Sketcher function
-  Handle(GEOM_Function) aFunction =
-    aSketcher->AddFunction(GEOMImpl_SketcherDriver::GetID(), SKETCHER_PLANE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_SketcherDriver::GetID()) return NULL;
-
-  GEOMImpl_ISketcher aCI (aFunction);
-  aCI.SetCommand(theCommand);
-
-  Handle(GEOM_Function) aRefPlane = theWorkingPlane->GetLastFunction();
-  if (aRefPlane.IsNull()) return NULL;
-  aCI.SetWorkingPlane( aRefPlane );
-
-  //Compute the Sketcher value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Sketcher driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump (aFunction) << aSketcher << " = geompy.MakeSketcherOnPlane(\""
-    << theCommand.ToCString() << "\", " << theWorkingPlane << " )";
-
-  SetErrorCode(OK);
-  return aSketcher;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ICurvesOperations.hxx b/src/GEOMImpl/GEOMImpl_ICurvesOperations.hxx
deleted file mode 100644 (file)
index 5ba6afb..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-using namespace std;
-
-#ifndef _GEOMImpl_ICurvesOperations_HXX_
-#define _GEOMImpl_ICurvesOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-
-#include <TCollection_AsciiString.hxx>
-
-#include <list>
-
-class GEOM_Engine;
-class Handle(GEOM_Object);
-
-class GEOMImpl_ICurvesOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_ICurvesOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_ICurvesOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) MakePolyline (list<Handle(GEOM_Object)> thePoints);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
-                                                          Handle(GEOM_Object) thePnt2,
-                                                          Handle(GEOM_Object) thePnt3);
-  Standard_EXPORT Handle(GEOM_Object) MakeCirclePntVecR  (Handle(GEOM_Object) thePnt,
-                                                          Handle(GEOM_Object) theVec, double theR);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeEllipse (Handle(GEOM_Object) thePnt,
-                                                   Handle(GEOM_Object) theVec,
-                                                   double theRMajor, double theRMinor);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeArc (Handle(GEOM_Object) thePnt1,
-                                               Handle(GEOM_Object) thePnt2,
-                                               Handle(GEOM_Object) thePnt3);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSplineBezier        (list<Handle(GEOM_Object)> thePoints);
-  Standard_EXPORT Handle(GEOM_Object) MakeSplineInterpolation (list<Handle(GEOM_Object)> thePoints);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSketcher (const TCollection_AsciiString& theCommand,
-                                                    list<double> theWorkingPlane);
-  Standard_EXPORT Handle(GEOM_Object) MakeSketcherOnPlane (const TCollection_AsciiString& theCommand,
-                                                           Handle(GEOM_Object) theWorkingPlane);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ICylinder.hxx b/src/GEOMImpl/GEOMImpl_ICylinder.hxx
deleted file mode 100644 (file)
index 4a76fd8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-//NOTE: This is an intreface to a function for the Cylinder creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define CYL_ARG_R   1
-#define CYL_ARG_H   2
-#define CYL_ARG_PNT 3
-#define CYL_ARG_VEC 4
-
-class GEOMImpl_ICylinder
-{
- public:
-
-  GEOMImpl_ICylinder(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetR(double theR) { _func->SetReal(CYL_ARG_R, theR); }
-
-  double GetR() { return _func->GetReal(CYL_ARG_R); }
-
-  void SetH(double theH) { _func->SetReal(CYL_ARG_H, theH); }
-
-  double GetH() { return _func->GetReal(CYL_ARG_H); }
-
-  void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(CYL_ARG_PNT, theRefPoint); }
-
-  Handle(GEOM_Function) GetPoint() { return _func->GetReference(CYL_ARG_PNT); }
-
-  void SetVector(Handle(GEOM_Function) theRefVector) { _func->SetReference(CYL_ARG_VEC, theRefVector); }
-
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(CYL_ARG_VEC); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IEllipse.hxx b/src/GEOMImpl/GEOMImpl_IEllipse.hxx
deleted file mode 100644 (file)
index b3f0659..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//NOTE: This is an intreface to a function for the Ellipse creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define ELLIPS_ARG_CC   1
-#define ELLIPS_ARG_VV   2
-#define ELLIPS_ARG_RMAJ 3
-#define ELLIPS_ARG_RMIN 4
-
-class GEOMImpl_IEllipse
-{
- public:
-
-  GEOMImpl_IEllipse(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetCenter(Handle(GEOM_Function) theP) { _func->SetReference(ELLIPS_ARG_CC, theP); }
-  void SetVector(Handle(GEOM_Function) theV) { _func->SetReference(ELLIPS_ARG_VV, theV); }
-
-  void SetRMajor(double theR) { _func->SetReal(ELLIPS_ARG_RMAJ, theR); }
-  void SetRMinor(double theR) { _func->SetReal(ELLIPS_ARG_RMIN, theR); }
-
-  Handle(GEOM_Function) GetCenter() { return _func->GetReference(ELLIPS_ARG_CC); }
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(ELLIPS_ARG_VV); }
-
-  double GetRMajor() { return _func->GetReal(ELLIPS_ARG_RMAJ); }
-  double GetRMinor() { return _func->GetReal(ELLIPS_ARG_RMIN); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IFillet.hxx b/src/GEOMImpl/GEOMImpl_IFillet.hxx
deleted file mode 100644 (file)
index 9f6d3b9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-//NOTE: This is an interface to a function for the Fillet and creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define FILLET_ARG_SH   1
-#define FILLET_ARG_R    2
-#define FILLET_ARG_LENG 3
-#define FILLET_ARG_LAST 3
-
-class GEOMImpl_IFillet
-{
- public:
-
-  GEOMImpl_IFillet(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape(Handle(GEOM_Function) theRef) { _func->SetReference(FILLET_ARG_SH, theRef); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(FILLET_ARG_SH); }
-
-  void SetR(double theR) { _func->SetReal(FILLET_ARG_R, theR); }
-
-  double GetR() { return _func->GetReal(FILLET_ARG_R); }
-
-  void SetLength(int theLen) { _func->SetInteger(FILLET_ARG_LENG, theLen); }
-
-  int GetLength() { return _func->GetInteger(FILLET_ARG_LENG); }
-
-  void SetEdge(int theInd, int theEdge)
-              { _func->SetInteger(FILLET_ARG_LAST + theInd, theEdge); }
-  void SetFace(int theInd, int theFace)
-              { _func->SetInteger(FILLET_ARG_LAST + theInd, theFace); }
-
-  int GetEdge(int theInd) { return _func->GetInteger(FILLET_ARG_LAST + theInd); }
-  int GetFace(int theInd) { return _func->GetInteger(FILLET_ARG_LAST + theInd); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IFilling.hxx b/src/GEOMImpl/GEOMImpl_IFilling.hxx
deleted file mode 100644 (file)
index e9ab36a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-//NOTE: This is an intreface to a function for the Filling operation.
-
-
-#include "GEOM_Function.hxx"
-
-#define FILL_ARG_MINDEG   1
-#define FILL_ARG_MAXDEG   2
-#define FILL_ARG_TOL2D    3
-#define FILL_ARG_TOL3D    4
-#define FILL_ARG_SHAPE    5
-#define FILL_ARG_NBITER   6
-
-class GEOMImpl_IFilling
-{
- public:
-
-  GEOMImpl_IFilling(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-  void SetTol2D(double theTol2D) { _func->SetReal(FILL_ARG_TOL2D, theTol2D); }
-  void SetTol3D(double theTol3D) { _func->SetReal(FILL_ARG_TOL3D, theTol3D); }   
-  double GetTol2D() { return _func->GetReal(FILL_ARG_TOL2D); }
-  double GetTol3D() { return _func->GetReal(FILL_ARG_TOL3D); } 
-  
-  void SetMinDeg(int theMinDeg) { _func->SetInteger(FILL_ARG_MINDEG, theMinDeg); }
-  void SetMaxDeg(int theMaxDeg) { _func->SetInteger(FILL_ARG_MAXDEG, theMaxDeg); }
-  int GetMinDeg() { return _func->GetInteger(FILL_ARG_MINDEG); }
-  int GetMaxDeg() { return _func->GetInteger(FILL_ARG_MAXDEG); }
-  void SetNbIter(int theNbIter) { _func->SetInteger(FILL_ARG_NBITER, theNbIter); }
-  int GetNbIter() { return _func->GetInteger(FILL_ARG_NBITER); } 
-
-  void SetShape(Handle(GEOM_Function) theShape) { _func->SetReference(FILL_ARG_SHAPE, theShape); }
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(FILL_ARG_SHAPE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IGlue.hxx b/src/GEOMImpl/GEOMImpl_IGlue.hxx
deleted file mode 100644 (file)
index 1cf51c9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// NOTE: This is an interface to a function for the Glueing of faces
-
-
-#include "GEOM_Function.hxx"
-
-#define GLUE_ARG_BASE   1
-#define GLUE_ARG_TOLER  2
-
-class GEOMImpl_IGlue
-{
- public:
-
-  GEOMImpl_IGlue(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetBase(Handle(GEOM_Function) theRefBase)
-  { _func->SetReference(GLUE_ARG_BASE, theRefBase); }
-
-  Handle(GEOM_Function) GetBase() { return _func->GetReference(GLUE_ARG_BASE); }
-
-  void SetTolerance(const Standard_Real theTolerance)
-  { _func->SetReal(GLUE_ARG_TOLER, theTolerance); }
-
-  Standard_Real GetTolerance() { return _func->GetReal(GLUE_ARG_TOLER); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx b/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx
deleted file mode 100644 (file)
index 07a634d..0000000
+++ /dev/null
@@ -1,709 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IGroupOperations.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_ISubShape.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-#include <TDataStd_Integer.hxx>
-
-#include <TopExp.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_ListOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IGroupOperations::GEOMImpl_IGroupOperations (GEOM_Engine* theEngine, int theDocID) 
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IGroupOperations::GEOMImpl_IGroupOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IGroupOperations::~GEOMImpl_IGroupOperations()
-{
-  MESSAGE("GEOMImpl_IGroupOperations::~GEOMImpl_IGroupOperations");
-}
-
-
-//=============================================================================
-/*!
- *  CreateGroup
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IGroupOperations::CreateGroup
-       (Handle(GEOM_Object) theMainShape, TopAbs_ShapeEnum  theShapeType)
-{
-  SetErrorCode(KO);
-
-  Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-  anArray->SetValue(1, -1);
-
-  //Add a new Fillet object
-  Handle(GEOM_Object) aGroup = GetEngine()->AddSubShape(theMainShape, anArray);
-
-  //Set a GROUP type
-  aGroup->SetType(GEOM_GROUP);
-
-  //Set a sub shape type
-  TDF_Label aFreeLabel = aGroup->GetFreeLabel();
-  TDataStd_Integer::Set(aFreeLabel, (Standard_Integer)theShapeType);
-
-  //Make a Python command
-  Handle(GEOM_Function) aFunction = aGroup->GetFunction(1);
-  //TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  //GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t" << aGroup
-  GEOM::TPythonDump(aFunction) << aGroup
-    << " = geompy.CreateGroup(" << theMainShape << ", " << (int)theShapeType << ")";
-
-  SetErrorCode(OK);
-  return aGroup; 
-}
-
-//=============================================================================
-/*!
- *  AddObject
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::AddObject(Handle(GEOM_Object) theGroup, int theSubShapeID)
-{
-  SetErrorCode(KO);
-  if(theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if(aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI(aFunction);
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if(aSeq.IsNull()) return;
-  if(aSeq->Length() == 1 && aSeq->Value(1) == -1) {
-    aSeq->SetValue(1, theSubShapeID);
-  }
-  else {
-    Standard_Integer aLength = aSeq->Length();
-    Handle(TColStd_HArray1OfInteger) aNewSeq = new TColStd_HArray1OfInteger(1, aLength+1);
-    for(Standard_Integer i = 1; i<=aLength; i++) {
-      aNewSeq->SetValue(i, aSeq->Value(i));
-      if(aSeq->Value(i) == theSubShapeID) {
-       SetErrorCode(ALREADY_PRESENT);
-       return; //
-      }
-    }
-    aNewSeq->SetValue(aLength+1, theSubShapeID);
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  //Make a Python command 
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t"
-    << "geompy.AddObject(" << theGroup << ", " << theSubShapeID << ")";
-
-  SetErrorCode(OK);
-  return; 
-}
-
-//=============================================================================
-/*!
- *  RemoveObject
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::RemoveObject (Handle(GEOM_Object) theGroup, int theSubShapeID)
-{
-  SetErrorCode(KO);
-  if(theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if(aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI(aFunction);
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if(aSeq.IsNull()) return;
-  if(aSeq->Length() == 1 && aSeq->Value(1) == -1) {
-    SetErrorCode(NOT_EXISTS);
-    return;
-  }
-  else {
-    Handle(TColStd_HArray1OfInteger) aNewSeq;
-    Standard_Integer aLength = aSeq->Length();
-    if(aLength == 1) {
-      if(aSeq->Value(1) != theSubShapeID) {
-       SetErrorCode(NOT_EXISTS);
-       return;         
-      }
-      aNewSeq = new TColStd_HArray1OfInteger(1,1);
-      aNewSeq->SetValue(1, -1);
-    }
-    else {
-      aNewSeq = new TColStd_HArray1OfInteger(1, aLength-1);
-      Standard_Boolean isFound = Standard_False;
-      for(Standard_Integer i = 1, k=1; i<=aLength; i++) {
-       if(i == aLength && !isFound) {
-         SetErrorCode(NOT_EXISTS);
-         return; 
-       }
-       if(aSeq->Value(i) == theSubShapeID) {
-         isFound = Standard_True;
-         continue;
-       }
-       aNewSeq->SetValue(k, aSeq->Value(i));
-       k++;
-      }
-
-      if(!isFound) {
-       SetErrorCode(NOT_EXISTS);
-       return; 
-      }
-    }
-
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  //Make a Python command 
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString() << "\n\t"
-    << "geompy.RemoveObject(" << theGroup << ", " << theSubShapeID << ")";
-
-  SetErrorCode(OK);
-  return; 
-}
-
-//=============================================================================
-/*!
- *  UnionList
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::UnionList (Handle(GEOM_Object) theGroup,
-                                           const Handle(TColStd_HSequenceOfTransient)& theSubShapes)
-{
-  SetErrorCode(KO);
-  if (theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if (aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI (aFunction);
-
-  // New contents of the group
-  TColStd_ListOfInteger aNewIDs;
-  TColStd_MapOfInteger mapIDs;
-
-  // Add current IDs to the list
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if (aSeq.IsNull()) return;
-  Standard_Integer val_j, aLength = aSeq->Length();
-
-  for (Standard_Integer j = 1; j <= aLength; j++) {
-    val_j = aSeq->Value(j);
-    if (val_j > 0 && mapIDs.Add(val_j)) {
-      aNewIDs.Append(val_j);
-    }
-  }
-
-  // Get Main Shape
-  Handle(GEOM_Function) aMainShapeFunc = aSSI.GetMainShape();
-  if (aMainShapeFunc.IsNull()) return;
-  TDF_Label aLabel = aMainShapeFunc->GetOwnerEntry();
-  if (aLabel.IsRoot()) return;
-  Handle(GEOM_Object) aMainObj = GEOM_Object::GetObject(aLabel);
-  if (aMainObj.IsNull()) return;
-  TopoDS_Shape aMainShape = aMainObj->GetValue();
-  if (aMainShape.IsNull()) return;
-
-  TopTools_IndexedMapOfShape mapIndices;
-  TopExp::MapShapes(aMainShape, mapIndices);
-
-  // Get IDs of sub-shapes to add
-  Standard_Integer i, new_id, aLen = theSubShapes->Length();
-  for (i = 1; i <= aLen; i++) {
-    Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theSubShapes->Value(i));
-
-    if (anObj_i->IsMainShape()) {
-      TopoDS_Shape aShape_i = anObj_i->GetValue();
-      if (mapIndices.Contains(aShape_i)) {
-        new_id = mapIndices.FindIndex(aShape_i);
-        if (mapIDs.Add(new_id)) {
-          aNewIDs.Append(new_id);
-        }
-      } else {
-        SetErrorCode("One of given objects can not be added to the group, because it is not a sub-shape of the group's main shape");
-        return;
-      }
-    } else {
-      // Check main shape of sub-shape to add
-      Handle(GEOM_Function) aFunc_i = anObj_i->GetFunction(1);
-      if (aFunc_i.IsNull()) return;
-
-      GEOM_ISubShape aSSI_i (aFunc_i);
-
-      Handle(GEOM_Function) aMainShapeFunc_i = aSSI_i.GetMainShape();
-      if (aMainShapeFunc_i.IsNull()) return;
-      TDF_Label aLabel_i = aMainShapeFunc_i->GetOwnerEntry();
-      if (aLabel_i.IsRoot()) return;
-      Handle(GEOM_Object) aMainObj_i = GEOM_Object::GetObject(aLabel);
-      if (aMainObj_i.IsNull()) return;
-      TopoDS_Shape aMainShape_i = aMainObj_i->GetValue();
-      if (aMainShape_i.IsNull()) return;
-
-      if (aMainShape_i.IsSame(aMainShape)) {
-        // add all sub-shape IDs to the list
-
-        // Get IDs
-        Handle(TColStd_HArray1OfInteger) aSeq_i = aSSI_i.GetIndices();
-        if (aSeq_i.IsNull()) return;
-        Standard_Integer aLength_i = aSeq_i->Length();
-
-        for (Standard_Integer i_j = 1; i_j <= aLength_i; i_j++) {
-          new_id = aSeq_i->Value(i_j);
-          if (new_id > 0) {
-            if (mapIDs.Add(new_id)) {
-              aNewIDs.Append(new_id);
-            }
-          }
-        }
-
-      } else if (mapIndices.Contains(aMainShape_i)) {
-        // compute new IDs and add them to the list
-        TopTools_IndexedMapOfShape mapIndices_i;
-        TopExp::MapShapes(aMainShape_i, mapIndices_i);
-
-        // Get IDs
-        Handle(TColStd_HArray1OfInteger) aSeq_i = aSSI_i.GetIndices();
-        if (aSeq_i.IsNull()) return;
-        Standard_Integer aLength_i = aSeq_i->Length();
-
-        for (Standard_Integer i_j = 1; i_j <= aLength_i; i_j++) {
-          if (aSeq_i->Value(i_j) > 0) {
-            TopoDS_Shape aShape_i_j = mapIndices_i.FindKey(i_j);
-            new_id = mapIndices.FindIndex(aShape_i_j);
-            if (mapIDs.Add(new_id)) {
-              aNewIDs.Append(new_id);
-            }
-          }
-        }
-
-      } else {
-        SetErrorCode("One of given objects can not be added to the group, because it is not a sub-shape of the group's main shape");
-        return;
-      }
-    }
-  }
-
-  if (aNewIDs.Extent() > 0) {
-    Standard_Integer k = 1;
-    TColStd_ListIteratorOfListOfInteger aNewIDsIter (aNewIDs);
-    Handle(TColStd_HArray1OfInteger) aNewSeq = new TColStd_HArray1OfInteger(1, aNewIDs.Extent());
-    for (; aNewIDsIter.More(); aNewIDsIter.Next(), k++) {
-      aNewSeq->SetValue(k, aNewIDsIter.Value());
-    }
-
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  //Make a Python command 
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  GEOM::TPythonDump pd (aFunction);
-  pd << anOldDescr.ToCString() << "\n\t" << "geompy.UnionList(" << theGroup << ", [";
-
-  for (i = 1; i <= aLen; i++) {
-    Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theSubShapes->Value(i));
-    pd << anObj_i << (( i < aLen ) ? ", " : "])");
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  DifferenceList
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::DifferenceList (Handle(GEOM_Object) theGroup,
-                                                const Handle(TColStd_HSequenceOfTransient)& theSubShapes)
-{
-  SetErrorCode(KO);
-  if (theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if (aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI (aFunction);
-
-  // Map of IDs to be removed
-  TColStd_MapOfInteger mapIDsToRemove;
-
-  // Map of current IDs
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if (aSeq.IsNull()) return;
-  Standard_Integer aLength = aSeq->Length();
-
-  if (aLength == 1 && aSeq->Value(1) == -1) // empty group
-    return;
-
-  TColStd_MapOfInteger mapIDsCurrent;
-  Standard_Integer j = 1;
-  for (; j <= aLength; j++) {
-    mapIDsCurrent.Add(aSeq->Value(j));
-  }
-
-  // Get Main Shape
-  Handle(GEOM_Function) aMainShapeFunc = aSSI.GetMainShape();
-  if (aMainShapeFunc.IsNull()) return;
-  TDF_Label aLabel = aMainShapeFunc->GetOwnerEntry();
-  if (aLabel.IsRoot()) return;
-  Handle(GEOM_Object) aMainObj = GEOM_Object::GetObject(aLabel);
-  if (aMainObj.IsNull()) return;
-  TopoDS_Shape aMainShape = aMainObj->GetValue();
-  if (aMainShape.IsNull()) return;
-
-  TopTools_IndexedMapOfShape mapIndices;
-  TopExp::MapShapes(aMainShape, mapIndices);
-
-  // Get IDs of sub-shapes to be removed
-  Standard_Integer i, rem_id, aLen = theSubShapes->Length();
-  for (i = 1; i <= aLen; i++) {
-    Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theSubShapes->Value(i));
-
-    if (anObj_i->IsMainShape()) {
-      TopoDS_Shape aShape_i = anObj_i->GetValue();
-      if (mapIndices.Contains(aShape_i)) {
-        rem_id = mapIndices.FindIndex(aShape_i);
-        if (mapIDsCurrent.Contains(rem_id)) {
-          mapIDsToRemove.Add(rem_id);
-        }
-      } else {
-        SetErrorCode("One of given objects can not be removed from the group, because it is not a sub-shape of the group's main shape");
-        return;
-      }
-    } else {
-      // Check main shape of sub-shape to be removed
-      Handle(GEOM_Function) aFunc_i = anObj_i->GetFunction(1);
-      if (aFunc_i.IsNull()) return;
-
-      GEOM_ISubShape aSSI_i (aFunc_i);
-
-      Handle(GEOM_Function) aMainShapeFunc_i = aSSI_i.GetMainShape();
-      if (aMainShapeFunc_i.IsNull()) return;
-      TDF_Label aLabel_i = aMainShapeFunc_i->GetOwnerEntry();
-      if (aLabel_i.IsRoot()) return;
-      Handle(GEOM_Object) aMainObj_i = GEOM_Object::GetObject(aLabel);
-      if (aMainObj_i.IsNull()) return;
-      TopoDS_Shape aMainShape_i = aMainObj_i->GetValue();
-      if (aMainShape_i.IsNull()) return;
-
-      if (aMainShape_i.IsSame(aMainShape)) {
-        // remove all sub-shapes
-
-        // Get IDs
-        Handle(TColStd_HArray1OfInteger) aSeq_i = aSSI_i.GetIndices();
-        if (aSeq_i.IsNull()) return;
-        Standard_Integer aLength_i = aSeq_i->Length();
-
-        for (Standard_Integer i_j = 1; i_j <= aLength_i; i_j++) {
-          rem_id = aSeq_i->Value(i_j);
-          if (rem_id > 0) {
-            if (mapIDsCurrent.Contains(rem_id)) {
-              mapIDsToRemove.Add(rem_id);
-            }
-          }
-        }
-
-      } else if (mapIndices.Contains(aMainShape_i)) {
-        // compute new IDs and add them to the map of ids to be removed
-        TopTools_IndexedMapOfShape mapIndices_i;
-        TopExp::MapShapes(aMainShape_i, mapIndices_i);
-
-        // Get IDs
-        Handle(TColStd_HArray1OfInteger) aSeq_i = aSSI_i.GetIndices();
-        if (aSeq_i.IsNull()) return;
-        Standard_Integer aLength_i = aSeq_i->Length();
-
-        for (Standard_Integer i_j = 1; i_j <= aLength_i; i_j++) {
-          if (aSeq_i->Value(i_j) > 0) {
-            TopoDS_Shape aShape_i_j = mapIndices_i.FindKey(i_j);
-            rem_id = mapIndices.FindIndex(aShape_i_j);
-            if (mapIDsCurrent.Contains(rem_id)) {
-              mapIDsToRemove.Add(rem_id);
-            }
-          }
-        }
-
-      } else {
-        SetErrorCode("One of given objects can not be removed from the group, because it is not a sub-shape of the group's main shape");
-        return;
-      }
-    }
-  }
-
-  if (mapIDsToRemove.Extent() > 0) {
-    Standard_Integer k = 1, aRemLength = mapIDsToRemove.Extent();
-    Handle(TColStd_HArray1OfInteger) aNewSeq = new TColStd_HArray1OfInteger(1, aLength - aRemLength);
-
-    for (j = 1; j <= aLength; j++) {
-      if (!mapIDsToRemove.Contains(aSeq->Value(j))) {
-        aNewSeq->SetValue(k, aSeq->Value(j));
-        k++;
-      }
-    }
-
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  //Make a Python command
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  GEOM::TPythonDump pd (aFunction);
-  pd << anOldDescr.ToCString() << "\n\t" << "geompy.DifferenceList(" << theGroup << ", [";
-
-  for (i = 1; i <= aLen; i++) {
-    Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theSubShapes->Value(i));
-    pd << anObj_i << (( i < aLen ) ? ", " : "])");
-  }
-
-  SetErrorCode(OK);
-}
-//=============================================================================
-/*!
- *  UnionIDs
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::UnionIDs (Handle(GEOM_Object) theGroup,
-                                          const Handle(TColStd_HSequenceOfInteger)& theSubShapes)
-{
-  SetErrorCode(KO);
-  if (theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if (aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI (aFunction);
-
-  // New contents of the group
-  TColStd_ListOfInteger aNewIDs;
-  TColStd_MapOfInteger mapIDs;
-
-  // Add current IDs to the list
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if (aSeq.IsNull()) return;
-  Standard_Integer val_j, aLength = aSeq->Length();
-
-  for (Standard_Integer j = 1; j <= aLength; j++) {
-    val_j = aSeq->Value(j);
-    if (val_j > 0 && mapIDs.Add(val_j)) {
-      aNewIDs.Append(val_j);
-    }
-  }
-
-  // Get Main Shape
-  Handle(GEOM_Function) aMainShapeFunc = aSSI.GetMainShape();
-  if (aMainShapeFunc.IsNull()) return;
-  TDF_Label aLabel = aMainShapeFunc->GetOwnerEntry();
-  if (aLabel.IsRoot()) return;
-  Handle(GEOM_Object) aMainObj = GEOM_Object::GetObject(aLabel);
-  if (aMainObj.IsNull()) return;
-  TopoDS_Shape aMainShape = aMainObj->GetValue();
-  if (aMainShape.IsNull()) return;
-
-  TopTools_IndexedMapOfShape mapIndices;
-  TopExp::MapShapes(aMainShape, mapIndices);
-
-  // Get IDs of sub-shapes to add
-  Standard_Integer i, new_id, aLen = theSubShapes->Length();
-  for (i = 1; i <= aLen; i++) {
-    new_id = theSubShapes->Value(i);
-
-    if (0 < new_id && new_id <= mapIndices.Extent()) {
-      if (mapIDs.Add(new_id)) {
-        aNewIDs.Append(new_id);
-      }
-    }
-  }
-
-  if (aNewIDs.Extent() > 0) {
-    Standard_Integer k = 1;
-    TColStd_ListIteratorOfListOfInteger aNewIDsIter (aNewIDs);
-    Handle(TColStd_HArray1OfInteger) aNewSeq = new TColStd_HArray1OfInteger(1, aNewIDs.Extent());
-    for (; aNewIDsIter.More(); aNewIDsIter.Next(), k++) {
-      aNewSeq->SetValue(k, aNewIDsIter.Value());
-    }
-
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  DifferenceIDs
- */
-//=============================================================================
-void GEOMImpl_IGroupOperations::DifferenceIDs (Handle(GEOM_Object) theGroup,
-                                               const Handle(TColStd_HSequenceOfInteger)& theSubShapes)
-{
-  SetErrorCode(KO);
-  if (theGroup.IsNull()) return;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if (aFunction.IsNull()) return;
-
-  GEOM_ISubShape aSSI (aFunction);
-
-  // Map of IDs to be removed
-  TColStd_MapOfInteger mapIDsToRemove;
-
-  // Map of current IDs
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if (aSeq.IsNull()) return;
-  Standard_Integer aLength = aSeq->Length();
-
-  if (aLength == 1 && aSeq->Value(1) == -1) // empty group
-    return;
-
-  TColStd_MapOfInteger mapIDsCurrent;
-  Standard_Integer j = 1;
-  for (; j <= aLength; j++) {
-    mapIDsCurrent.Add(aSeq->Value(j));
-  }
-
-  // Get Main Shape
-  Handle(GEOM_Function) aMainShapeFunc = aSSI.GetMainShape();
-  if (aMainShapeFunc.IsNull()) return;
-  TDF_Label aLabel = aMainShapeFunc->GetOwnerEntry();
-  if (aLabel.IsRoot()) return;
-  Handle(GEOM_Object) aMainObj = GEOM_Object::GetObject(aLabel);
-  if (aMainObj.IsNull()) return;
-  TopoDS_Shape aMainShape = aMainObj->GetValue();
-  if (aMainShape.IsNull()) return;
-
-  TopTools_IndexedMapOfShape mapIndices;
-  TopExp::MapShapes(aMainShape, mapIndices);
-
-  // Get IDs of sub-shapes to be removed
-  Standard_Integer i, rem_id, aLen = theSubShapes->Length();
-  for (i = 1; i <= aLen; i++) {
-    rem_id = theSubShapes->Value(i);
-    if (mapIDsCurrent.Contains(rem_id)) {
-      mapIDsToRemove.Add(rem_id);
-    }
-  }
-
-  if (mapIDsToRemove.Extent() > 0) {
-    Standard_Integer k = 1, aRemLength = mapIDsToRemove.Extent();
-    Handle(TColStd_HArray1OfInteger) aNewSeq = new TColStd_HArray1OfInteger(1, aLength - aRemLength);
-
-    for (j = 1; j <= aLength; j++) {
-      if (!mapIDsToRemove.Contains(aSeq->Value(j))) {
-        aNewSeq->SetValue(k, aSeq->Value(j));
-        k++;
-      }
-    }
-
-    aSSI.SetIndices(aNewSeq);
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  GetType
- */
-//=============================================================================
-TopAbs_ShapeEnum GEOMImpl_IGroupOperations::GetType(Handle(GEOM_Object) theGroup)
-{
-  SetErrorCode(KO);
-
-  TDF_Label aFreeLabel = theGroup->GetFreeLabel();
-  Handle(TDataStd_Integer) anAttrib;
-  if(!aFreeLabel.FindAttribute(TDataStd_Integer::GetID(), anAttrib)) return TopAbs_SHAPE;
-  SetErrorCode(OK);
-  return (TopAbs_ShapeEnum) anAttrib->Get(); 
-}
-
-//=============================================================================
-/*!
- *  GetMainShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IGroupOperations::GetMainShape (Handle(GEOM_Object) theGroup)
-{
-  SetErrorCode(KO);
-
-  if(theGroup.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aGroupFunction = theGroup->GetFunction(1);
-  if (aGroupFunction.IsNull()) return NULL;
-
-  GEOM_ISubShape aSSI (aGroupFunction);
-  Handle(GEOM_Function) aMainShapeFunction = aSSI.GetMainShape();
-  if (aMainShapeFunction.IsNull()) return NULL;
-
-  TDF_Label aLabel = aMainShapeFunction->GetOwnerEntry();
-  Handle(GEOM_Object) aMainShape = GEOM_Object::GetObject(aLabel);
-  if (aMainShape.IsNull()) return NULL;
-
-  //Make a Python command
-  TCollection_AsciiString anOldDescr = aGroupFunction->GetDescription();
-
-  GEOM::TPythonDump(aGroupFunction) << anOldDescr.ToCString() << "\n\t"
-    << aMainShape << " = geompy.GetMainShape(" << theGroup << ")";
-
-  SetErrorCode(OK);
-  return aMainShape; 
-}
-
-//=============================================================================
-/*!
- *  GetObjects
- */
-//=============================================================================
-Handle(TColStd_HArray1OfInteger) GEOMImpl_IGroupOperations::GetObjects(Handle(GEOM_Object) theGroup)
-{
-  SetErrorCode(KO);
-  
-   if(theGroup.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction = theGroup->GetFunction(1);
-  if(aFunction.IsNull()) return NULL;
-  
-  GEOM_ISubShape aSSI(aFunction);
-  Handle(TColStd_HArray1OfInteger) aSeq = aSSI.GetIndices();
-  if(aSeq.IsNull()) return NULL;
-
-  if(aSeq->Length() == 1 && aSeq->Value(1) == -1) {
-    SetErrorCode(OK);
-    return NULL;
-  }
-
-  SetErrorCode(OK);
-  return aSeq;
-}
diff --git a/src/GEOMImpl/GEOMImpl_IGroupOperations.hxx b/src/GEOMImpl/GEOMImpl_IGroupOperations.hxx
deleted file mode 100644 (file)
index a5566d2..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#ifndef _GEOMImpl_IGroupOperations_HXX_
-#define _GEOMImpl_IGroupOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-#include <TColStd_HArray1OfInteger.hxx> 
-#include <TColStd_HSequenceOfInteger.hxx>
-#include <TopAbs.hxx>
-
-class GEOMImpl_IGroupOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IGroupOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IGroupOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) CreateGroup(Handle(GEOM_Object) theMainShape, TopAbs_ShapeEnum  theShapeType);
-
-  Standard_EXPORT void AddObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
-
-  Standard_EXPORT void RemoveObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
-
-  Standard_EXPORT void UnionList (Handle(GEOM_Object) theGroup,
-                  const Handle(TColStd_HSequenceOfTransient)& theSubShapes);
-
-  Standard_EXPORT void DifferenceList (Handle(GEOM_Object) theGroup,
-                       const Handle(TColStd_HSequenceOfTransient)& theSubShapes);
-
-  Standard_EXPORT void UnionIDs (Handle(GEOM_Object) theGroup,
-                 const Handle(TColStd_HSequenceOfInteger)& theSubShapes);
-
-  Standard_EXPORT void DifferenceIDs (Handle(GEOM_Object) theGroup,
-                      const Handle(TColStd_HSequenceOfInteger)& theSubShapes);
-
-  Standard_EXPORT TopAbs_ShapeEnum GetType(Handle(GEOM_Object) theGroup);
-
-  Standard_EXPORT Handle(GEOM_Object) GetMainShape(Handle(GEOM_Object) theGroup);
-
-  Standard_EXPORT Handle(TColStd_HArray1OfInteger) GetObjects(Handle(GEOM_Object) theGroup);
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IHealing.hxx b/src/GEOMImpl/GEOMImpl_IHealing.hxx
deleted file mode 100755 (executable)
index e6d486c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-//NOTE: This is an intreface to a function for the Healing creation.
-
-
-#include "GEOM_Function.hxx"
-
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_HArray1OfExtendedString.hxx>
-
-#define ARG_SHAPE_PROCESS_OPERATORS   1
-#define ARG_SHAPE_PROCESS_PARAMS      2
-#define ARG_SHAPE_PROCESS_VALUES      3
-#define ARG_ORIGINAL                  4
-#define ARG_LIST_ARGUMENTS            5
-#define ARG_IS_COMMON_VERTEX          6
-#define ARG_TOLERANCE                 7
-#define ARG_DEV_EDGE_VALUE            8
-#define ARG_IS_BY_PARAMETER           9
-#define ARG_SUBSHAPE_INDEX           10
-
-
-class GEOMImpl_IHealing
-{
-public:
-  GEOMImpl_IHealing(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOperators( const Handle(TColStd_HArray1OfExtendedString)& arr ) {  if ( !arr.IsNull() ) _func->SetStringArray(ARG_SHAPE_PROCESS_OPERATORS, arr); }
-  Handle(TColStd_HArray1OfExtendedString) GetOperators() { return _func->GetStringArray(ARG_SHAPE_PROCESS_OPERATORS); }
-
-  void SetParameters( const Handle(TColStd_HArray1OfExtendedString)& arr ) {  if ( !arr.IsNull() ) _func->SetStringArray(ARG_SHAPE_PROCESS_PARAMS, arr); }
-  Handle(TColStd_HArray1OfExtendedString) GetParameters() { return _func->GetStringArray(ARG_SHAPE_PROCESS_PARAMS); }
-
-  void SetValues( const Handle(TColStd_HArray1OfExtendedString)& arr ) {  if ( !arr.IsNull() ) _func->SetStringArray(ARG_SHAPE_PROCESS_VALUES, arr); }
-  Handle(TColStd_HArray1OfExtendedString) GetValues() { return _func->GetStringArray(ARG_SHAPE_PROCESS_VALUES); }
-
-  void SetOriginal( Handle(GEOM_Function)& f ) { _func->SetReference(ARG_ORIGINAL, f); }
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(ARG_ORIGINAL); }
-
-  void SetFaces( const Handle(TColStd_HArray1OfInteger)& arr ) { if ( !arr.IsNull() ) _func->SetIntegerArray(ARG_LIST_ARGUMENTS, arr); }
-  Handle(TColStd_HArray1OfInteger) GetFaces() { return _func->GetIntegerArray(ARG_LIST_ARGUMENTS); }
-
-  void SetWires( const Handle(TColStd_HArray1OfInteger)& arr ) { if ( !arr.IsNull() ) _func->SetIntegerArray(ARG_LIST_ARGUMENTS, arr); }
-  Handle(TColStd_HArray1OfInteger) GetWires() { return _func->GetIntegerArray(ARG_LIST_ARGUMENTS); }
-
-  void SetIsCommonVertex( Standard_Boolean val ) { _func->SetInteger(ARG_IS_COMMON_VERTEX, val ? 1 : 0 ); }
-  Standard_Boolean GetIsCommonVertex() { return (_func->GetInteger(ARG_IS_COMMON_VERTEX) != 0 ); }
-
-  void SetIsByParameter( Standard_Boolean val ) { _func->SetInteger(ARG_IS_BY_PARAMETER, val ? 1 : 0 ); }
-  Standard_Boolean GetIsByParameter() { return (_func->GetInteger(ARG_IS_BY_PARAMETER) != 0 ); }
-
-  void SetTolerance( Standard_Real val ) { _func->SetReal(ARG_TOLERANCE, val); }
-  Standard_Real GetTolerance() { return _func->GetReal(ARG_TOLERANCE); }
-
-  void SetDevideEdgeValue( Standard_Real val ) { _func->SetReal(ARG_DEV_EDGE_VALUE, val); }
-  Standard_Real GetDevideEdgeValue() { return _func->GetReal(ARG_DEV_EDGE_VALUE); }
-
-  void SetIndex( Standard_Integer val ) { _func->SetInteger(ARG_SUBSHAPE_INDEX, val); }
-  Standard_Integer GetIndex() { return _func->GetInteger(ARG_SUBSHAPE_INDEX); }
-            
-private:
-  Handle(GEOM_Function) _func;  
-};
diff --git a/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx b/src/GEOMImpl/GEOMImpl_IHealingOperations.cxx
deleted file mode 100644 (file)
index 5e86fba..0000000
+++ /dev/null
@@ -1,756 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IHealingOperations.hxx>
-
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_HealingDriver.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_IHealing.hxx>
-#include <GEOMImpl_CopyDriver.hxx>
-
-#include <ShHealOper_ShapeProcess.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <ShapeAnalysis_FreeBounds.hxx>
-
-#include <TopoDS_Compound.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TColStd_HArray1OfExtendedString.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <TCollection_AsciiString.hxx>
-
-#include <TDF_Tool.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOMImpl_IHealingOperations::GEOMImpl_IHealingOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IHealingOperations::GEOMImpl_IHealingOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOMImpl_IHealingOperations::~GEOMImpl_IHealingOperations()
-{
-  MESSAGE("GEOMImpl_IHealingOperations::~GEOMImpl_IHealingOperations");
-}
-
-
-//=============================================================================
-/*!
- *  ShapeProcess
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::ShapeProcess (Handle(GEOM_Object) theObject,
-                                  const Handle(TColStd_HArray1OfExtendedString)& theOperators,
-                                  const Handle(TColStd_HArray1OfExtendedString)& theParams,
-                                  const Handle(TColStd_HArray1OfExtendedString)& theValues)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull())
-    return NULL;
-
-  if (theOperators.IsNull() || theOperators->Length() <= 0) {
-    SetErrorCode("No operators requested");
-    return NULL;
-  }
-
-  Standard_Integer nbParams = 0, nbValues = 0;
-  if (!theParams.IsNull()) {
-    nbParams = theParams->Length();
-  }
-  if (!theValues.IsNull()) {
-    nbValues = theValues->Length();
-  }
-
-  if (nbParams != nbValues) {
-    SetErrorCode("Number of parameter values must be equal to the number of parameters");
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), SHAPE_PROCESS);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetOriginal(aLastFunction);
-  HI.SetOperators( theOperators );
-  if (nbParams > 0) {
-    HI.SetParameters( theParams );
-    HI.SetValues( theValues );
-  }
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Shape Healing algorithm failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aNewObject << " = geompy.ProcessShape(" << theObject << ", [";
-
-  // list of operators
-  int i = theOperators->Lower(), nb = theOperators->Upper();
-  for ( ; i <= nb; i++) {
-    pd << "\"" << TCollection_AsciiString(theOperators->Value( i )).ToCString()
-      << (( i < nb ) ? "\", " : "\"");
-  }
-  pd << "], [";
-  // list of parameters
-  i = theParams->Lower(); nb = theParams->Upper();
-  for ( ; i <= nb; i++) {
-    pd << "\"" << TCollection_AsciiString(theParams->Value( i )).ToCString()
-      << (( i < nb ) ? "\", " : "\"");
-  }
-  pd << "], [";
-  // list of values
-  i = theValues->Lower(); nb = theValues->Upper();
-  for ( ; i <= nb; i++) {
-    pd << "\"" << TCollection_AsciiString(theValues->Value( i )).ToCString()
-      << (( i < nb ) ? "\", " : "\"");
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  ShapeProcess
- */
-//=============================================================================
-void GEOMImpl_IHealingOperations::GetShapeProcessParameters (list<string>& theOperations,
-                                                             list<string>& theParams,
-                                                             list<string>& theValues)
-{
-  ShHealOper_ShapeProcess aHealer;
-  TColStd_SequenceOfAsciiString anOperators;
-  int nbOperatorErrors( 0 );
-  if ( aHealer.GetOperators( anOperators ) )
-  {
-    for ( Standard_Integer i = 1; i <= anOperators.Length(); i++ )
-    {
-      string anOperation = anOperators.Value( i ).ToCString();
-      if ( GetOperatorParameters( anOperation, theParams, theValues ) )
-       theOperations.push_back( anOperation );
-      else
-        nbOperatorErrors++;
-    }
-  }
-  else
-  {
-    SetErrorCode("ERROR retrieving operators (GEOMImpl_IHealingOperations)");
-  }
-
-  if ( nbOperatorErrors ) {
-    TCollection_AsciiString aMsg ("ERRORS retrieving ShapeProcess parameters (GEOMImpl_IHealingOperations): nbOperatorErrors = ");
-    aMsg += TCollection_AsciiString( nbOperatorErrors );
-    MESSAGE(aMsg.ToCString());
-  }
-}
-
-//=============================================================================
-/*!
- *  GetOperatorParameters
- */
-//=============================================================================
-bool GEOMImpl_IHealingOperations::GetOperatorParameters( const string theOperation, 
-                                                        list<string>& theParams,
-                                                        list<string>& theValues )
-{
-  ShHealOper_ShapeProcess aHealer;
-  int nbParamValueErrors( 0 );
-  list<string> aParams;
-  if ( GetParameters( theOperation, aParams ) ) {
-    for ( list<string>::iterator it = aParams.begin(); it != aParams.end(); ++it ) {
-      TCollection_AsciiString aParam( (Standard_CString)(*it).c_str() );
-      TCollection_AsciiString aValue;
-      if ( aHealer.GetParameter( aParam, aValue ) ) {
-       theParams.push_back( aParam.ToCString() );
-       theValues.push_back( aValue.ToCString() );
-      }
-      else
-       nbParamValueErrors++;
-    }
-  }
-  else
-    return false;
-
-  if ( nbParamValueErrors ) {
-    TCollection_AsciiString aMsg ("ERRORS retrieving ShapeProcess parameter values (GEOMImpl_IHealingOperations): nbParamValueErrors = ");
-    aMsg += TCollection_AsciiString( nbParamValueErrors );
-    MESSAGE(aMsg.ToCString());
-  }
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  GetParameters
- */
-//=============================================================================
-bool GEOMImpl_IHealingOperations::GetParameters (const string theOperation,
-                                                 list<string>& theParams)
-{
-  if ( theOperation == "SplitAngle" ) {
-    theParams.push_back( "SplitAngle.Angle" );
-    theParams.push_back( "SplitAngle.MaxTolerance" );
-
-  } else if ( theOperation == "SplitClosedFaces" ) {
-    theParams.push_back( "SplitClosedFaces.NbSplitPoints" );
-
-  } else if ( theOperation == "FixFaceSize" ) {
-    theParams.push_back( "FixFaceSize.Tolerance" );
-
-  } else if( theOperation == "DropSmallEdges" ) {
-    theParams.push_back( "DropSmallEdges.Tolerance3d" );
-
-  } else if( theOperation == "BSplineRestriction" ) {
-    theParams.push_back( "BSplineRestriction.SurfaceMode" );
-    theParams.push_back( "BSplineRestriction.Curve3dMode" );
-    theParams.push_back( "BSplineRestriction.Curve2dMode" );
-    theParams.push_back( "BSplineRestriction.Tolerance3d" );
-    theParams.push_back( "BSplineRestriction.Tolerance2d" );
-    theParams.push_back( "BSplineRestriction.RequiredDegree" );
-    theParams.push_back( "BSplineRestriction.RequiredNbSegments" );
-    theParams.push_back( "BSplineRestriction.Continuity3d" );
-    theParams.push_back( "BSplineRestriction.Continuity2d" );
-
-  } else if( theOperation == "SplitContinuity" ) {
-    theParams.push_back( "SplitContinuity.Tolerance3d" );
-    theParams.push_back( "SplitContinuity.SurfaceContinuity" );
-    theParams.push_back( "SplitContinuity.CurveContinuity" );
-
-  } else if( theOperation == "ToBezier" ) {
-    theParams.push_back( "ToBezier.SurfaceMode" );
-    theParams.push_back( "ToBezier.Curve3dMode" );
-    theParams.push_back( "ToBezier.Curve2dMode" );
-    theParams.push_back( "ToBezier.MaxTolerance" );
-
-  } else if( theOperation == "SameParameter" ) {
-    theParams.push_back( "SameParameter.Tolerance3d" );
-
-  } else if( theOperation == "FixShape" ) {
-    theParams.push_back( "FixShape.Tolerance3d" );
-    theParams.push_back( "FixShape.MaxTolerance3d" );
-
-  } else {
-    return false;
-  }
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  SuppressFaces
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::SuppressFaces
-       (Handle(GEOM_Object) theObject, const Handle(TColStd_HArray1OfInteger)& theFaces)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if ( theObject.IsNull() ) // if theFaces.IsNull() - it's OK, it means that ALL faces must be removed..
-    return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if(aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), SUPPRESS_FACES);
-
-  if(aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if(aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetFaces( theFaces );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-       Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aNewObject << " = geompy.SuppressFaces(" << theObject << ", [";
-
-  // list of face ids
-  int i = theFaces->Lower(), nb = theFaces->Upper();
-  for ( ; i <= nb; i++)
-    pd << theFaces->Value( i ) << (( i < nb ) ? ", " : "])");
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-
-//=============================================================================
-/*!
- *  CloseContour
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::CloseContour
-                    (Handle(GEOM_Object) theObject,
-                     const Handle(TColStd_HArray1OfInteger)& theWires,
-                     bool isCommonVertex)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull())
-  {
-    SetErrorCode("NULL object given");
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), CLOSE_CONTOUR);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if(aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetWires( theWires );
-  HI.SetIsCommonVertex( isCommonVertex );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-       Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aNewObject << " = geompy.CloseContour(" << theObject << ", [";
-
-  // list of wire ids
-  if (!theWires.IsNull())
-  {
-    int i = theWires->Lower(), nb = theWires->Upper();
-    pd << theWires->Value(i++);
-    while (i <= nb)
-      pd << ", " << theWires->Value(i++);
-  }
-  pd << "], " << (int)isCommonVertex << ")";
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  RemoveIntWires
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::RemoveIntWires
-       (Handle(GEOM_Object) theObject, const Handle(TColStd_HArray1OfInteger)& theWires)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) // if theWires is NULL it's OK, it means that ALL wires must be removed
-    return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), REMOVE_INT_WIRES);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetWires( theWires );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aNewObject << " = geompy.SuppressInternalWires(" << theObject << ", [";
-
-  // list of wire ids
-  if (!theWires.IsNull()) {
-    int i = theWires->Lower(), nb = theWires->Upper();
-    for ( ; i <= nb; i++)
-      pd << theWires->Value( i ) << (( i < nb ) ? ", " : "])");
-  } else {
-    pd << "])";
-  }
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  FillHoles
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::FillHoles (Handle(GEOM_Object) theObject,
-                                                            const Handle(TColStd_HArray1OfInteger)& theWires)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) // if theWires is NULL it's OK, it means that ALL holes must be removed
-    return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), FILL_HOLES);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetWires( theWires );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-       Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aNewObject << " = geompy.SuppressHoles(" << theObject << ", [";
-
-  // list of wire ids
-  if ( theWires.IsNull() )
-    pd << "])";
-  else {
-    int i = theWires->Lower(), nb = theWires->Upper();
-    for ( ; i <= nb; i++)
-      pd << theWires->Value( i ) << (( i < nb ) ? ", " : "])");
-  }
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  Sew
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::Sew (Handle(GEOM_Object) theObject,
-                                                      double theTolerance)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull())
-    return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), SEWING);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetTolerance( theTolerance );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-       Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.Sew("
-                               << theObject << ", " << theTolerance << ")";
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  DivideEdge
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IHealingOperations::DivideEdge (Handle(GEOM_Object) theObject,
-                                                             int theIndex,
-                                                             double theValue,
-                                                             bool isByParameter)
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if (theObject.IsNull())
-    return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be processed
-
-  // Add a new object
-  Handle(GEOM_Object) aNewObject = GetEngine()->AddObject( GetDocID(), GEOM_COPY );
-
-  //Add the function
-  aFunction = aNewObject->AddFunction(GEOMImpl_HealingDriver::GetID(), DIVIDE_EDGE);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_HealingDriver::GetID()) return NULL;
-
-  // prepare "data container" class IHealing
-  GEOMImpl_IHealing HI(aFunction);
-  HI.SetIndex( theIndex );
-  HI.SetDevideEdgeValue( theValue );
-  HI.SetIsByParameter( isByParameter );
-  HI.SetOriginal( aLastFunction );
-
-  //Compute the translation
-  try
-  {
-    if (!GetSolver()->ComputeFunction(aFunction))
-    {
-      SetErrorCode("Healing driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure)
-  {
-       Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aNewObject << " = geompy.DivideEdge(" << theObject
-    << ", " << theIndex << ", " << theValue << ", " << (int)isByParameter << ")";
-
-  SetErrorCode(OK);
-  return aNewObject;
-}
-
-//=============================================================================
-/*!
- *  GetFreeBoundary
- */
-//=============================================================================
-bool GEOMImpl_IHealingOperations::GetFreeBoundary (Handle(GEOM_Object) theObject,
-                                                  Handle(TColStd_HSequenceOfTransient)& theClosed,
-                                                  Handle(TColStd_HSequenceOfTransient)& theOpen )
-{
-  // set error code, check parameters
-  SetErrorCode(KO);
-
-  if ( theObject.IsNull() || theClosed.IsNull() || theOpen.IsNull() )
-    return false;
-
-  TopoDS_Shape aShape = theObject->GetValue();
-  if ( aShape.IsNull() )
-    return false;
-
-  // get free boundary shapes
-  ShapeAnalysis_FreeBounds anAnalizer( aShape );
-  TopoDS_Compound aClosed = anAnalizer.GetClosedWires();
-  TopoDS_Compound anOpen = anAnalizer.GetOpenWires();
-
-  // iterate through shapes and append them to the return sequence
-  Handle(GEOM_Object) anObj;
-  Handle(GEOM_Function) aFunction;
-  TopExp_Explorer anExp;
-  for ( anExp.Init( aClosed, TopAbs_WIRE ); anExp.More(); anExp.Next() )
-  {
-    anObj = GetEngine()->AddObject( GetDocID(), GEOM_FREE_BOUNDS );
-    aFunction = anObj->AddFunction( GEOMImpl_CopyDriver::GetID(), COPY_WITHOUT_REF );
-    TopoDS_Shape aValueShape = anExp.Current();
-    aFunction->SetValue( aValueShape );
-    theClosed->Append(anObj);
-  }
-  for ( anExp.Init( anOpen, TopAbs_WIRE ); anExp.More(); anExp.Next() )
-  {
-    anObj = GetEngine()->AddObject( GetDocID(), GEOM_FREE_BOUNDS );
-    aFunction = anObj->AddFunction( GEOMImpl_CopyDriver::GetID(), COPY_WITHOUT_REF );
-    TopoDS_Shape aValueShape = anExp.Current();
-    aFunction->SetValue( aValueShape );
-    theOpen->Append(anObj);
-  }
-
-  if(!aFunction.IsNull()) {
-
-    //Make a Python command
-    GEOM::TPythonDump pd (aFunction);
-
-    Standard_Integer i, aLen = theClosed->Length();
-    if (aLen > 0) {
-      pd << "(isDone, [";
-      for (i = 1; i <= aLen; i++) {
-        Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theClosed->Value(i));
-        pd << anObj_i << ((i < aLen) ? ", " : "");
-      }
-      pd << "], ";
-    } else {
-      pd << "(isDone, empty_list, ";
-    }
-
-    aLen = theOpen->Length();
-    if (aLen > 0) {
-      pd << "[";
-      for (i = 1; i <= aLen; i++) {
-        Handle(GEOM_Object) anObj_i = Handle(GEOM_Object)::DownCast(theOpen->Value(i));
-        pd << anObj_i << ((i < aLen) ? ", " : "");
-      }
-      pd << "]";
-    } else {
-      pd << "empty_list";
-    }
-
-    pd << ") = geompy.GetFreeBoundary(" << theObject << ")";
-  }
-
-  SetErrorCode(OK);
-  return true;
-}
diff --git a/src/GEOMImpl/GEOMImpl_IHealingOperations.hxx b/src/GEOMImpl/GEOMImpl_IHealingOperations.hxx
deleted file mode 100644 (file)
index c74403e..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-
-#ifndef _GEOMImpl_IHealingOperations_HXX_
-#define _GEOMImpl_IHealingOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HArray1OfExtendedString.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-#include <list>
-
-class GEOMImpl_IHealingOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IHealingOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IHealingOperations();
-
-  // Apply Shape Processing to the selected Object
-  Standard_EXPORT Handle(GEOM_Object) ShapeProcess( Handle(GEOM_Object) theObject,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theOperations,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theParams,
-                                    const Handle(TColStd_HArray1OfExtendedString)& theValues );
-
-  // Retrieve default Shape Process parameters (from resource file)
-  Standard_EXPORT void GetShapeProcessParameters( list<string>& theOperations,
-                                  list<string>& theParams,
-                                  list<string>& theValues );
-
-  // Retrieve default Shape Process parameters for given operator
-  Standard_EXPORT bool GetOperatorParameters( const string theOperation, 
-                              list<string>& theParams,
-                              list<string>& theValues );
-
-  // returns all parameters that are valid for the given operation (Shape Process operator)
-  Standard_EXPORT static bool GetParameters( const string theOperation, list<string>& theParams );                                      
-
-  Standard_EXPORT Handle(GEOM_Object) SuppressFaces( Handle(GEOM_Object) theObject,
-                                     const Handle(TColStd_HArray1OfInteger)& theFaces);
-
-  Standard_EXPORT Handle(GEOM_Object) CloseContour( Handle(GEOM_Object) theObject,
-                                    const Handle(TColStd_HArray1OfInteger)& theWires,
-                                    bool isCommonVertex );
-
-  Standard_EXPORT Handle(GEOM_Object) RemoveIntWires( Handle(GEOM_Object) theObject,
-                                      const Handle(TColStd_HArray1OfInteger)& theWires);
-
-  Standard_EXPORT Handle(GEOM_Object) FillHoles( Handle(GEOM_Object) theObject,
-                                 const Handle(TColStd_HArray1OfInteger)& theWires);
-                                      
-  Standard_EXPORT Handle(GEOM_Object) Sew( Handle(GEOM_Object) theObject,
-                           double theTolerance );
-
-  Standard_EXPORT Handle(GEOM_Object) DivideEdge( Handle(GEOM_Object) theObject,
-                                  int theIndex,  
-                                  double theValue,
-                                  bool isByParameter );
-
-  // this function does not use Function-Driver mechanism, it just computes the free
-  // boundary edges and returns them in the sequence.  It is called just for information reasons
-  // and it's not intended for history/undo/redo/etc..
-  Standard_EXPORT bool GetFreeBoundary ( Handle(GEOM_Object) theObject, 
-                         Handle(TColStd_HSequenceOfTransient)& theOutClosedWires, 
-                         Handle(TColStd_HSequenceOfTransient)& theOutOpenWires );
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IImportExport.hxx b/src/GEOMImpl/GEOMImpl_IImportExport.hxx
deleted file mode 100644 (file)
index d70a033..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//NOTE: This is an intreface to a function for the Import Export operation.
-
-
-#include "GEOM_Function.hxx"
-
-#define EXP_ARG_REF  1
-#define EXP_ARG_FILE 2
-#define EXP_ARG_PLUG 3
-
-class GEOMImpl_IImportExport
-{
- public:
-
-  GEOMImpl_IImportExport(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(EXP_ARG_REF, theOriginal); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(EXP_ARG_REF); }
-
-  void SetFileName(const TCollection_AsciiString& theFileName) { _func->SetString(EXP_ARG_FILE, theFileName); }
-
-  TCollection_AsciiString GetFileName() { return _func->GetString(EXP_ARG_FILE); }
-
-  void SetPluginName(const TCollection_AsciiString& theFormatName)
-  { _func->SetString(EXP_ARG_PLUG, theFormatName); }
-
-  TCollection_AsciiString GetPluginName() { return _func->GetString(EXP_ARG_PLUG); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
deleted file mode 100644 (file)
index 9affafa..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IInsertOperations.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_CopyDriver.hxx>
-#include <GEOMImpl_ExportDriver.hxx>
-#include <GEOMImpl_ImportDriver.hxx>
-
-#include <GEOMImpl_ICopy.hxx>
-#include <GEOMImpl_IImportExport.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOMImpl_IInsertOperations::GEOMImpl_IInsertOperations(GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IInsertOperations::GEOMImpl_IInsertOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOMImpl_IInsertOperations::~GEOMImpl_IInsertOperations()
-{
-  MESSAGE("GEOMImpl_IInsertOperations::~GEOMImpl_IInsertOperations");
-}
-
-
-
-//=============================================================================
-/*!
- *  MakeCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IInsertOperations::MakeCopy(Handle(GEOM_Object) theOriginal)
-{
-  SetErrorCode(KO);
-
-  if (theOriginal.IsNull()) return NULL;
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), GEOM_COPY);
-
-  //Add a Copy function for creation a copy object
-  Handle(GEOM_Function) aFunction = aCopy->AddFunction(GEOMImpl_CopyDriver::GetID(), COPY_WITH_REF);
-
-  //Check if the function is set correctly
-  if(aFunction->GetDriverGUID() != GEOMImpl_CopyDriver::GetID()) return NULL;
-
-  GEOMImpl_ICopy aCI(aFunction);
-
-  Handle(GEOM_Function) aRefFunction = theOriginal->GetLastFunction();
-  if (aRefFunction.IsNull()) return NULL;
-
-  aCI.SetOriginal(aRefFunction);
-
-  //Compute the Copy value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Copy driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeCopy(" << theOriginal << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Export
- */
-//=============================================================================
-void GEOMImpl_IInsertOperations::Export
-                     (const Handle(GEOM_Object)      theOriginal,
-                     const TCollection_AsciiString& theFileName,
-                     const TCollection_AsciiString& theFormatName)
-{
-  SetErrorCode(KO);
-
-  if (theOriginal.IsNull()) return;
-
-  Handle(GEOM_Function) aRefFunction = theOriginal->GetLastFunction();
-  if (aRefFunction.IsNull()) return;  //There is no function which creates an object to be exported
-
-  //Add an Export function
-  Handle(GEOM_Function) aFunction = theOriginal->AddFunction(GEOMImpl_ExportDriver::GetID(), EXPORT_SHAPE);
-  if (aFunction.IsNull()) return;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ExportDriver::GetID()) return;
-
-  //Set parameters
-  GEOMImpl_IImportExport aCI (aFunction);
-  aCI.SetOriginal(aRefFunction);
-  aCI.SetFileName(theFileName);
-
-  Handle(TCollection_HAsciiString) aHLibName;
-  if (!IsSupported(Standard_False, theFormatName, aHLibName)) {
-    return;
-  }
-  TCollection_AsciiString aLibName = aHLibName->String();
-  aCI.SetPluginName(aLibName);
-
-  //Perform the Export
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Export driver failed");
-      return;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.Export(" << theOriginal << ", \""
-    << theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  Import
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IInsertOperations::Import
-                                 (const TCollection_AsciiString& theFileName,
-                                 const TCollection_AsciiString& theFormatName)
-{
-  SetErrorCode(KO);
-
-  if (theFileName.IsEmpty() || theFormatName.IsEmpty()) return NULL;
-
-  //Add a new result object
-  Handle(GEOM_Object) result = GetEngine()->AddObject(GetDocID(), GEOM_IMPORT);
-
-  //Add an Import function
-  Handle(GEOM_Function) aFunction = result->AddFunction(GEOMImpl_ImportDriver::GetID(), IMPORT_SHAPE);
-  if (aFunction.IsNull()) return result;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ImportDriver::GetID()) return result;
-
-  //Set parameters
-  GEOMImpl_IImportExport aCI (aFunction);
-  aCI.SetFileName(theFileName);
-
-  Handle(TCollection_HAsciiString) aHLibName;
-  if (!IsSupported(Standard_True, theFormatName, aHLibName)) {
-    return result;
-  }
-  TCollection_AsciiString aLibName = aHLibName->String();
-  aCI.SetPluginName(aLibName);
-
-  //Perform the Import
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Import driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
-    << theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
-
-  SetErrorCode(OK);
-  return result;
-}
-
-//=============================================================================
-/*!
- *  ImportTranslators
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IInsertOperations::ImportTranslators
-                     (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
-                     Handle(TColStd_HSequenceOfAsciiString)& thePatterns)
-{
-  if (theFormats.IsNull())
-    theFormats = new TColStd_HSequenceOfAsciiString;
-  else
-    theFormats->Clear();
-
-  if (thePatterns.IsNull())
-    thePatterns = new TColStd_HSequenceOfAsciiString;
-  else
-    thePatterns->Clear();
-
-  if (!InitResMgr()) return Standard_False;
-
-  // Read Import formats list
-  if (myResMgr->Find("Import")) {
-    TCollection_AsciiString aFormats (myResMgr->Value("Import"));
-    TCollection_AsciiString aToken = aFormats.Token("| \t", 1);
-    int i = 1;
-    for (; !aToken.IsEmpty(); aToken = aFormats.Token("| \t", ++i)) {
-      theFormats->Append(aToken);
-    }
-  }
-
-  // Read Patterns for each supported format
-  int j = 1, len = theFormats->Length();
-  for (; j <= len; j++) {
-    TCollection_AsciiString aPattern;
-    TCollection_AsciiString aKey (theFormats->Value(j));
-    aKey += ".Pattern";
-    if (myResMgr->Find(aKey.ToCString()))
-      aPattern = myResMgr->Value(aKey.ToCString());
-    else {
-      aPattern = theFormats->Value(j);
-      aPattern += " Files ( *.* )";
-    }
-    thePatterns->Append(aPattern);
-  }
-
-  return (!theFormats->IsEmpty());
-}
-
-//=============================================================================
-/*!
- *  ExportTranslators
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IInsertOperations::ExportTranslators
-                     (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
-                     Handle(TColStd_HSequenceOfAsciiString)& thePatterns)
-{
-  if (theFormats.IsNull())
-    theFormats = new TColStd_HSequenceOfAsciiString;
-  else
-    theFormats->Clear();
-
-  if (thePatterns.IsNull())
-    thePatterns = new TColStd_HSequenceOfAsciiString;
-  else
-    thePatterns->Clear();
-
-  if (!InitResMgr()) return Standard_False;
-
-  // Read Export formats list
-  if (myResMgr->Find("Export")) {
-    TCollection_AsciiString aFormats (myResMgr->Value("Export"));
-    TCollection_AsciiString aToken = aFormats.Token("| \t", 1);
-    int i = 1;
-    for (; !aToken.IsEmpty(); aToken = aFormats.Token("| \t", ++i)) {
-      theFormats->Append(aToken);
-    }
-  }
-
-  // Read Patterns for each supported format
-  int j = 1, len = theFormats->Length();
-  for (; j <= len; j++) {
-    TCollection_AsciiString aPattern;
-    TCollection_AsciiString aKey (theFormats->Value(j));
-    aKey += ".Pattern";
-    if (myResMgr->Find(aKey.ToCString()))
-      aPattern = myResMgr->Value(aKey.ToCString());
-    else {
-      aPattern = theFormats->Value(j);
-      aPattern += " Files ( *.* )";
-    }
-    thePatterns->Append(aPattern);
-  }
-
-  return (!theFormats->IsEmpty());
-}
-
-//=============================================================================
-/*!
- *  IsSupported
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IInsertOperations::IsSupported
-                            (const Standard_Boolean isImport,
-                             const TCollection_AsciiString& theFormat,
-                             Handle(TCollection_HAsciiString)& theLibName)
-{
-  if (!InitResMgr()) return Standard_False;
-
-  // Import/Export mode
-  TCollection_AsciiString aMode;
-  //Standard_CString aMode;
-  if (isImport) aMode = "Import";
-  else aMode = "Export";
-
-  // Read supported formats for the certain mode
-  if (myResMgr->Find(aMode.ToCString())) {
-    TCollection_AsciiString aFormats (myResMgr->Value(aMode.ToCString()));
-    if (aFormats.Search(theFormat) > -1) {
-      // Read library name for the supported format
-      TCollection_AsciiString aKey (theFormat);
-      aKey += ".";
-      aKey += aMode;
-      if (myResMgr->Find(aKey.ToCString())) {
-        TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString()));
-        theLibName = new TCollection_HAsciiString (aLibName);
-        return Standard_True;
-      }
-    }
-  }
-
-  return Standard_False;
-}
-
-//=============================================================================
-/*!
- *  InitResMgr
- */
-//=============================================================================
-Standard_Boolean GEOMImpl_IInsertOperations::InitResMgr()
-{
-  if (myResMgr.IsNull()) {
-    // Initialize the Resource Manager
-    TCollection_AsciiString aResDir (getenv("GEOM_ROOT_DIR"));
-#ifdef WNT
-    aResDir += "\\share\\salome\\resources";
-#else
-    aResDir += "/share/salome/resources";
-#endif
-    char * dir = getenv("GEOM_ENGINE_RESOURCES_DIR");
-    TCollection_AsciiString aUserResDir;
-    if ( dir )
-    {
-      aUserResDir = dir;
-    }
-    else
-    {
-      aUserResDir = getenv("HOME");
-#ifdef WNT
-      aUserResDir += "\\.salome\\resources";
-#else
-      aUserResDir += "/.salome/resources";
-#endif
-    }
-    myResMgr = new Resource_Manager ("ImportExport", aResDir, aUserResDir, Standard_False);
-
-    if (!myResMgr->Find("Import") && !myResMgr->Find("Export")) {
-      // instead of complains in Resource_Manager
-      INFOS("No valid file \"ImportExport\" found in " << aResDir.ToCString() <<
-            " and in " << aUserResDir.ToCString() );
-    }
-  }
-
-  return ( myResMgr->Find("Import") || myResMgr->Find("Export") );
-}
diff --git a/src/GEOMImpl/GEOMImpl_IInsertOperations.hxx b/src/GEOMImpl/GEOMImpl_IInsertOperations.hxx
deleted file mode 100644 (file)
index 543070d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-
-#ifndef _GEOMImpl_IInsertOperations_HXX_
-#define _GEOMImpl_IInsertOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-#include <TColStd_HSequenceOfAsciiString.hxx>
-#include <TCollection_HAsciiString.hxx>
-#include <Resource_Manager.hxx>
-
-class GEOMImpl_IInsertOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IInsertOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IInsertOperations();
-
-
-  Standard_EXPORT Handle(GEOM_Object) MakeCopy (Handle(GEOM_Object) theOriginal);
-
-  Standard_EXPORT Handle(GEOM_Object) Import (const TCollection_AsciiString& theFileName,
-                                              const TCollection_AsciiString& theFormatType);
-
-  Standard_EXPORT void Export (const Handle(GEOM_Object)      theOriginal,
-                               const TCollection_AsciiString& theFileName,
-                               const TCollection_AsciiString& theFormatType);
-
-  Standard_EXPORT Standard_Boolean ImportTranslators (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
-                                                      Handle(TColStd_HSequenceOfAsciiString)& thePatterns);
-
-  Standard_EXPORT Standard_Boolean ExportTranslators (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
-                                                      Handle(TColStd_HSequenceOfAsciiString)& thePatterns);
-
-  Standard_EXPORT Standard_Boolean IsSupported (const Standard_Boolean isImport,
-                                                const TCollection_AsciiString& theFormat,
-                                                Handle(TCollection_HAsciiString)& theLibName);
-
- private:
-  Standard_Boolean InitResMgr ();
-
- private:
-  Handle(Resource_Manager) myResMgr;
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ILine.hxx b/src/GEOMImpl/GEOMImpl_ILine.hxx
deleted file mode 100644 (file)
index 7834a57..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//NOTE: This is an intreface to a function for the vector creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define LINE_ARG_PNT1 1
-#define LINE_ARG_PNT2 2
-
-class GEOMImpl_ILine
-{
- public:
-
-  GEOMImpl_ILine(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetPoint1(Handle(GEOM_Function) theRef) { _func->SetReference(LINE_ARG_PNT1, theRef); }
-  void SetPoint2(Handle(GEOM_Function) theRef) { _func->SetReference(LINE_ARG_PNT2, theRef); }
-
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(LINE_ARG_PNT1); }
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(LINE_ARG_PNT2); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ILocalOperations.cxx b/src/GEOMImpl/GEOMImpl_ILocalOperations.cxx
deleted file mode 100644 (file)
index 28438e6..0000000
+++ /dev/null
@@ -1,506 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ILocalOperations.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_FilletDriver.hxx>
-#include <GEOMImpl_ChamferDriver.hxx>
-
-#include <GEOMImpl_IFillet.hxx>
-#include <GEOMImpl_IChamfer.hxx>
-
-#include <GEOMImpl_IArchimede.hxx>
-#include <GEOMImpl_ArchimedeDriver.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <TopExp.hxx>
-#include <TopoDS_TShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_ILocalOperations::GEOMImpl_ILocalOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_ILocalOperations::GEOMImpl_ILocalOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_ILocalOperations::~GEOMImpl_ILocalOperations()
-{
-  MESSAGE("GEOMImpl_ILocalOperations::~GEOMImpl_ILocalOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakeFilletAll
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeFilletAll
-                                    (Handle(GEOM_Object) theShape, double theR)
-{
-  SetErrorCode(KO);
-
-  //Add a new Fillet object
-  Handle(GEOM_Object) aFillet = GetEngine()->AddObject(GetDocID(), GEOM_FILLET);
-
-  //Add a new Fillet function
-  Handle(GEOM_Function) aFunction =
-    aFillet->AddFunction(GEOMImpl_FilletDriver::GetID(), FILLET_SHAPE_ALL);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_FilletDriver::GetID()) return NULL;
-
-  GEOMImpl_IFillet aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetR(theR);
-
-  //Compute the Fillet value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Fillet driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFillet << " = geompy.MakeFilletAll("
-                               << theShape << ", " << theR << ")";
-
-  SetErrorCode(OK);
-  return aFillet;
-}
-
-//=============================================================================
-/*!
- *  MakeFilletEdges
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeFilletEdges
-       (Handle(GEOM_Object) theShape, double theR, list<int> theEdges)
-{
-  SetErrorCode(KO);
-
-  //Add a new Fillet object
-  Handle(GEOM_Object) aFillet = GetEngine()->AddObject(GetDocID(), GEOM_FILLET);
-
-  //Add a new Fillet function
-  Handle(GEOM_Function) aFunction =
-    aFillet->AddFunction(GEOMImpl_FilletDriver::GetID(), FILLET_SHAPE_EDGES);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_FilletDriver::GetID()) return NULL;
-
-  GEOMImpl_IFillet aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetR(theR);
-  int aLen = theEdges.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<int>::iterator it = theEdges.begin();
-  for (; it != theEdges.end(); it++, ind++) {
-    aCI.SetEdge(ind, (*it));
-  }
-
-  //Compute the Fillet value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Fillet driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aFillet << " = geompy.MakeFillet(" << theShape
-    << ", " << theR << ", geompy.ShapeType[\"EDGE\"], [";
-
-  it = theEdges.begin();
-  pd << (*it++);
-  while (it != theEdges.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aFillet;
-}
-
-//=============================================================================
-/*!
- *  MakeFilletFaces
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeFilletFaces
-       (Handle(GEOM_Object) theShape, double theR, list<int> theFaces)
-{
-  SetErrorCode(KO);
-
-  //Add a new Fillet object
-  Handle(GEOM_Object) aFillet = GetEngine()->AddObject(GetDocID(), GEOM_FILLET);
-
-  //Add a new Fillet function
-  Handle(GEOM_Function) aFunction =
-    aFillet->AddFunction(GEOMImpl_FilletDriver::GetID(), FILLET_SHAPE_FACES);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_FilletDriver::GetID()) return NULL;
-
-  GEOMImpl_IFillet aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetR(theR);
-  int aLen = theFaces.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<int>::iterator it = theFaces.begin();
-  for (; it != theFaces.end(); it++, ind++) {
-    aCI.SetFace(ind, (*it));
-  }
-
-  //Compute the Fillet value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Fillet driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aFillet << " = geompy.MakeFillet(" << theShape
-    << ", " << theR << ", geompy.ShapeType[\"FACE\"], [";
-
-  it = theFaces.begin();
-  pd << (*it++);
-  while (it != theFaces.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aFillet;
-}
-
-//=============================================================================
-/*!
- *  MakeChamferAll
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeChamferAll (Handle(GEOM_Object) theShape, double theD)
-{
-  SetErrorCode(KO);
-
-  //Add a new Chamfer object
-  Handle(GEOM_Object) aChamfer = GetEngine()->AddObject(GetDocID(), GEOM_CHAMFER);
-
-  //Add a new Chamfer function
-  Handle(GEOM_Function) aFunction =
-    aChamfer->AddFunction(GEOMImpl_ChamferDriver::GetID(), CHAMFER_SHAPE_ALL);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ChamferDriver::GetID()) return NULL;
-
-  GEOMImpl_IChamfer aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetD(theD);
-
-  //Compute the Chamfer value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Chamfer driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aChamfer << " = geompy.MakeChamferAll("
-                               << theShape << ", " << theD << ")";
-
-  SetErrorCode(OK);
-  return aChamfer;
-}
-
-//=============================================================================
-/*!
- *  MakeChamferEdge
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeChamferEdge
-                            (Handle(GEOM_Object) theShape, double theD1, double theD2,
-                             int theFace1, int theFace2)
-{
-  SetErrorCode(KO);
-
-  //Add a new Chamfer object
-  Handle(GEOM_Object) aChamfer = GetEngine()->AddObject(GetDocID(), GEOM_CHAMFER);
-
-  //Add a new Chamfer function
-  Handle(GEOM_Function) aFunction =
-    aChamfer->AddFunction(GEOMImpl_ChamferDriver::GetID(), CHAMFER_SHAPE_EDGE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ChamferDriver::GetID()) return NULL;
-
-  GEOMImpl_IChamfer aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetD1(theD1);
-  aCI.SetD2(theD2);
-  aCI.SetFace1(theFace1);
-  aCI.SetFace2(theFace2);
-
-  //Compute the Chamfer value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Chamfer driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aChamfer
-    << " = geompy.MakeChamferEdge(" << theShape << ", " << theD1
-      << ", " << theD2 << ", " << theFace1 << ", " << theFace2 << ")";
-
-  SetErrorCode(OK);
-  return aChamfer;
-}
-
-//=============================================================================
-/*!
- *  MakeChamferFaces
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeChamferFaces
-                            (Handle(GEOM_Object) theShape, double theD1, double theD2,
-                             list<int> theFaces)
-{
-  SetErrorCode(KO);
-
-  //Add a new Chamfer object
-  Handle(GEOM_Object) aChamfer = GetEngine()->AddObject(GetDocID(), GEOM_CHAMFER);
-
-  //Add a new Chamfer function
-  Handle(GEOM_Function) aFunction =
-    aChamfer->AddFunction(GEOMImpl_ChamferDriver::GetID(), CHAMFER_SHAPE_FACES);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ChamferDriver::GetID()) return NULL;
-
-  GEOMImpl_IChamfer aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetShape(aRefShape);
-  aCI.SetD1(theD1);
-  aCI.SetD2(theD2);
-  int aLen = theFaces.size();
-  aCI.SetLength(aLen);
-
-  int ind = 1;
-  list<int>::iterator it = theFaces.begin();
-  for (; it != theFaces.end(); it++, ind++) {
-    aCI.SetFace(ind, (*it));
-  }
-
-  //Compute the Chamfer value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Chamfer driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aChamfer << " = geompy.MakeChamferFaces(" << theShape
-    << ", " << theD1 << ", " << theD2 << ", [";
-
-  it = theFaces.begin();
-  pd << (*it++);
-  while (it != theFaces.end()) {
-    pd << ", " << (*it++);
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aChamfer;
-}
-
-//=============================================================================
-/*!
- *  Archimede
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeArchimede (Handle(GEOM_Object) theShape,
-                                                              double theWeight,
-                                                              double theWaterDensity,
-                                                              double theMeshingDeflection)
-{
-  SetErrorCode(KO);
-
-  //Add a new Archimede object
-  Handle(GEOM_Object) aChamfer = GetEngine()->AddObject(GetDocID(), GEOM_ARCHIMEDE);
-
-  //Add a new Archimede function
-  Handle(GEOM_Function) aFunction = aChamfer->AddFunction(GEOMImpl_ArchimedeDriver::GetID(), ARCHIMEDE_TYPE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ArchimedeDriver::GetID()) return NULL;
-
-  GEOMImpl_IArchimede aAI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aAI.SetBasicShape(aRefShape);
-  aAI.SetWeight(theWeight);
-  aAI.SetDensity(theWaterDensity);
-  aAI.SetDeflection(theMeshingDeflection);
-
-  //Compute the Archimede value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Archimede driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aChamfer
-    << " = geompy.Archimede(" << theShape << ", " << theWeight << ", "
-      << theWaterDensity << ", " << theMeshingDeflection << ")";
-
-  SetErrorCode(OK);
-  return aChamfer;
-}
-
-//=============================================================================
-/*!
- *  GetSubShape
- */
-//=============================================================================
-bool GEOMImpl_ILocalOperations::GetSubShape (const TopoDS_Shape& theShape, const int theIndex,
-                                             TopoDS_Shape& theSubShape)
-{
-  if (theShape.IsNull() || theIndex < 1)
-    return false;
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(theShape, anIndices);
-  if (theIndex > anIndices.Extent()) return false;
-  theSubShape = anIndices.FindKey(theIndex);
-
-  return true;
-}
-
-//=============================================================================
-/*!
- *  GetSubShapeIndex
- */
-//=============================================================================
-Standard_Integer GEOMImpl_ILocalOperations::GetSubShapeIndex (Handle(GEOM_Object) theShape,
-                                                              Handle(GEOM_Object) theSubShape)
-{
-  SetErrorCode(KO);
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  TopoDS_Shape aSubShape = theSubShape->GetValue();
-
-  if (aShape.IsNull() || aSubShape.IsNull()) return -1;
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-  if (anIndices.Contains(aSubShape)) {
-    SetErrorCode(OK);
-    return anIndices.FindIndex(aSubShape);
-  }
-
-  return -1;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ILocalOperations.hxx b/src/GEOMImpl/GEOMImpl_ILocalOperations.hxx
deleted file mode 100644 (file)
index 597e319..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-
-#ifndef _GEOMImpl_ILocalOperations_HXX_
-#define _GEOMImpl_ILocalOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-
-#include <list>
-
-class GEOMImpl_ILocalOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_ILocalOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_ILocalOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) MakeFilletAll   (Handle(GEOM_Object) theShape, double theR);
-  Standard_EXPORT Handle(GEOM_Object) MakeFilletEdges (Handle(GEOM_Object) theShape, double theR,
-                                       list<int> theEdges);
-  Standard_EXPORT Handle(GEOM_Object) MakeFilletFaces (Handle(GEOM_Object) theShape, double theR,
-                                       list<int> theFaces);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeChamferAll   (Handle(GEOM_Object) theShape, double theD);
-  Standard_EXPORT Handle(GEOM_Object) MakeChamferEdge  (Handle(GEOM_Object) theShape,
-                                        double theD1, double theD2,
-                                        int theFace1, int theFace2);
-  Standard_EXPORT Handle(GEOM_Object) MakeChamferFaces (Handle(GEOM_Object) theShape,
-                                        double theD1, double theD2,
-                                        list<int> theFaces);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeArchimede (Handle(GEOM_Object) theShape,
-                                     double theWeight, double theWaterDensity,
-                                     double theMeshingDeflection);
-
-  Standard_EXPORT Standard_Integer GetSubShapeIndex (Handle(GEOM_Object) theShape,
-                                     Handle(GEOM_Object) theSubShape);
-
-  Standard_EXPORT static bool GetSubShape (const TopoDS_Shape& theShape,
-                           const int theIndex,
-                           TopoDS_Shape& theSubShape);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IMarker.hxx b/src/GEOMImpl/GEOMImpl_IMarker.hxx
deleted file mode 100644 (file)
index a29e01c..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-//NOTE: This is an interface to a function for the local coordinate system creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define CS_ARG_O_X   1
-#define CS_ARG_O_Y   2
-#define CS_ARG_O_Z   3
-
-#define CS_ARG_X_DX  4
-#define CS_ARG_X_DY  5
-#define CS_ARG_X_DZ  6
-
-#define CS_ARG_Y_DX  7
-#define CS_ARG_Y_DY  8
-#define CS_ARG_Y_DZ  9
-
-class GEOMImpl_IMarker
-{
- public:
-
-  GEOMImpl_IMarker(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOrigin (const double theX, const double theY, const double theZ)
-  {
-    _func->SetReal(CS_ARG_O_X, theX);
-    _func->SetReal(CS_ARG_O_Y, theY);
-    _func->SetReal(CS_ARG_O_Z, theZ);
-  }
-
-  void SetXDir (const double theDX, const double theDY, const double theDZ)
-  {
-    _func->SetReal(CS_ARG_X_DX, theDX);
-    _func->SetReal(CS_ARG_X_DY, theDY);
-    _func->SetReal(CS_ARG_X_DZ, theDZ);
-  }
-
-  void SetYDir (const double theDX, const double theDY, const double theDZ)
-  {
-    _func->SetReal(CS_ARG_Y_DX, theDX);
-    _func->SetReal(CS_ARG_Y_DY, theDY);
-    _func->SetReal(CS_ARG_Y_DZ, theDZ);
-  }
-
-  void GetOrigin (double& theX, double& theY, double& theZ)
-  {
-    theX = _func->GetReal(CS_ARG_O_X);
-    theY = _func->GetReal(CS_ARG_O_Y);
-    theZ = _func->GetReal(CS_ARG_O_Z);
-  }
-
-  void GetXDir (double& theDX, double& theDY, double& theDZ)
-  {
-    theDX = _func->GetReal(CS_ARG_X_DX);
-    theDY = _func->GetReal(CS_ARG_X_DY);
-    theDZ = _func->GetReal(CS_ARG_X_DZ);
-  }
-
-  void GetYDir (double& theDX, double& theDY, double& theDZ)
-  {
-    theDX = _func->GetReal(CS_ARG_Y_DX);
-    theDY = _func->GetReal(CS_ARG_Y_DY);
-    theDZ = _func->GetReal(CS_ARG_Y_DZ);
-  }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IMeasure.hxx b/src/GEOMImpl/GEOMImpl_IMeasure.hxx
deleted file mode 100644 (file)
index f5b07cc..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// NOTE: This is an interface to a functions for the Measurement
-
-
-#include "GEOM_Function.hxx"
-
-#define MEASURE_ARG_BASE 1
-
-class GEOMImpl_IMeasure
-{
- public:
-
-  GEOMImpl_IMeasure(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetBase(Handle(GEOM_Function) theRefBase)
-  { _func->SetReference(MEASURE_ARG_BASE, theRefBase); }
-
-  Handle(GEOM_Function) GetBase() { return _func->GetReference(MEASURE_ARG_BASE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx b/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
deleted file mode 100644 (file)
index bd91bc5..0000000
+++ /dev/null
@@ -1,907 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IMeasureOperations.hxx>
-
-#include <GEOMImpl_Types.hxx>
-#include <GEOMImpl_MeasureDriver.hxx>
-#include <GEOMImpl_IMeasure.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepCheck.hxx>
-#include <BRepCheck_Result.hxx>
-#include <BRepCheck_ListIteratorOfListOfStatus.hxx>
-#include <BRepGProp.hxx>
-#include <BRepBndLib.hxx>
-#include <BRepExtrema_DistShapeShape.hxx>
-
-#include <Bnd_Box.hxx>
-
-#include <GProp_GProps.hxx>
-#include <GProp_PrincipalProps.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IMeasureOperations::GEOMImpl_IMeasureOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IMeasureOperations::GEOMImpl_IMeasureOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IMeasureOperations::~GEOMImpl_IMeasureOperations()
-{
-  MESSAGE("GEOMImpl_IMeasureOperations::~GEOMImpl_IMeasureOperations");
-}
-
-
-//=============================================================================
-/*!
- *  GetCentreOfMass
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IMeasureOperations::GetCentreOfMass
-                                                (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-
-  //Add a new CentreOfMass object
-  Handle(GEOM_Object) aCDG = GetEngine()->AddObject(GetDocID(), GEOM_CDG);
-
-  //Add a new CentreOfMass function
-  Handle(GEOM_Function) aFunction =
-    aCDG->AddFunction(GEOMImpl_MeasureDriver::GetID(), CDG_MEASURE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MeasureDriver::GetID()) return NULL;
-
-  GEOMImpl_IMeasure aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetBase(aRefShape);
-
-  //Compute the CentreOfMass value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Measure driver failed to compute centre of mass");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCDG << " = geompy.MakeCDG(" << theShape << ")";
-
-  SetErrorCode(OK);
-  return aCDG;
-}
-
-//=============================================================================
-/*!
- *  GetBasicProperties
- */
-//=============================================================================
-void GEOMImpl_IMeasureOperations::GetBasicProperties (Handle(GEOM_Object) theShape,
-                                                      Standard_Real& theLength,
-                                                      Standard_Real& theSurfArea,
-                                                      Standard_Real& theVolume)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return;
-  }
-
-  //Compute the parameters
-  GProp_GProps LProps, SProps;
-  try {
-    BRepGProp::LinearProperties(aShape, LProps);
-    theLength = LProps.Mass();
-
-    BRepGProp::SurfaceProperties(aShape, SProps);
-    theSurfArea = SProps.Mass();
-
-    theVolume = 0.0;
-    if (aShape.ShapeType() < TopAbs_SHELL) {
-      for (TopExp_Explorer Exp (aShape, TopAbs_SOLID); Exp.More(); Exp.Next()) {
-       GProp_GProps VProps;
-       BRepGProp::VolumeProperties(Exp.Current(), VProps);
-       theVolume += VProps.Mass();
-      }
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return;
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  GetInertia
- */
-//=============================================================================
-void GEOMImpl_IMeasureOperations::GetInertia
-                   (Handle(GEOM_Object) theShape,
-                    Standard_Real& I11, Standard_Real& I12, Standard_Real& I13,
-                    Standard_Real& I21, Standard_Real& I22, Standard_Real& I23,
-                    Standard_Real& I31, Standard_Real& I32, Standard_Real& I33,
-                    Standard_Real& Ix , Standard_Real& Iy , Standard_Real& Iz)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return;
-  }
-
-  //Compute the parameters
-  GProp_GProps System;
-
-  try {
-    if (aShape.ShapeType() == TopAbs_VERTEX ||
-        aShape.ShapeType() == TopAbs_EDGE ||
-        aShape.ShapeType() == TopAbs_WIRE) {
-      BRepGProp::LinearProperties(aShape, System);
-    } else if (aShape.ShapeType() == TopAbs_FACE ||
-               aShape.ShapeType() == TopAbs_SHELL) {
-      BRepGProp::SurfaceProperties(aShape, System);
-    } else {
-      BRepGProp::VolumeProperties(aShape, System);
-    }
-    gp_Mat I = System.MatrixOfInertia();
-
-    I11 = I(1,1);
-    I12 = I(1,2);
-    I13 = I(1,3);
-
-    I21 = I(2,1);
-    I22 = I(2,2);
-    I23 = I(2,3);
-
-    I31 = I(3,1);
-    I32 = I(3,2);
-    I33 = I(3,3);
-
-    GProp_PrincipalProps Pr = System.PrincipalProperties();
-    Pr.Moments(Ix,Iy,Iz);
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return;
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  GetBoundingBox
- */
-//=============================================================================
-void GEOMImpl_IMeasureOperations::GetBoundingBox
-                                     (Handle(GEOM_Object) theShape,
-                                      Standard_Real& Xmin, Standard_Real& Xmax,
-                                      Standard_Real& Ymin, Standard_Real& Ymax,
-                                      Standard_Real& Zmin, Standard_Real& Zmax)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return;
-  }
-
-  //Compute the parameters
-  Bnd_Box B;
-
-  try {
-    BRepBndLib::Add(aShape, B);
-    B.Get(Xmin, Ymin, Zmin, Xmax, Ymax, Zmax);
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return;
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  GetTolerance
- */
-//=============================================================================
-void GEOMImpl_IMeasureOperations::GetTolerance
-                               (Handle(GEOM_Object) theShape,
-                                Standard_Real& FaceMin, Standard_Real& FaceMax,
-                                Standard_Real& EdgeMin, Standard_Real& EdgeMax,
-                                Standard_Real& VertMin, Standard_Real& VertMax)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return;
-  }
-
-  //Compute the parameters
-  Standard_Real T;
-  FaceMin = EdgeMin = VertMin = RealLast();
-  FaceMax = EdgeMax = VertMax = -RealLast();
-
-  try {
-    for (TopExp_Explorer ExF (aShape, TopAbs_FACE); ExF.More(); ExF.Next()) {
-      TopoDS_Face Face = TopoDS::Face(ExF.Current());
-      T = BRep_Tool::Tolerance(Face);
-      if (T > FaceMax)
-       FaceMax = T;
-      if (T < FaceMin)
-       FaceMin = T;
-    }
-    for (TopExp_Explorer ExE (aShape, TopAbs_EDGE); ExE.More(); ExE.Next()) {
-      TopoDS_Edge Edge = TopoDS::Edge(ExE.Current());
-      T = BRep_Tool::Tolerance(Edge);
-      if (T > EdgeMax)
-       EdgeMax = T;
-      if (T < EdgeMin)
-       EdgeMin = T;
-    }
-    for (TopExp_Explorer ExV (aShape, TopAbs_VERTEX); ExV.More(); ExV.Next()) {
-      TopoDS_Vertex Vertex = TopoDS::Vertex(ExV.Current());
-      T = BRep_Tool::Tolerance(Vertex);
-      if (T > VertMax)
-       VertMax = T;
-      if (T < VertMin)
-       VertMin = T;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return;
-  }
-
-  SetErrorCode(OK);
-}
-
-//=============================================================================
-/*!
- *  CheckShape
- */
-//=============================================================================
-bool GEOMImpl_IMeasureOperations::CheckShape (Handle(GEOM_Object)      theShape,
-                                              TCollection_AsciiString& theDump)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return false;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return false;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return false;
-  }
-
-  //Compute the parameters
-  bool isValid = false;
-  try {
-    BRepCheck_Analyzer ana (aShape, false);
-    if (ana.IsValid()) {
-      theDump.Clear();
-      isValid = true;
-    } else {
-      StructuralDump(ana, aShape, theDump);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return false;
-  }
-
-  SetErrorCode(OK);
-  return isValid;
-}
-
-//=============================================================================
-/*!
- *  WhatIs
- */
-//=============================================================================
-TCollection_AsciiString GEOMImpl_IMeasureOperations::WhatIs (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  TCollection_AsciiString Astr;
-
-  if (theShape.IsNull()) return Astr;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return Astr;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if (aShape.IsNull()) {
-    SetErrorCode("The Objects has NULL Shape");
-    return Astr;
-  }
-
-  //Compute the parameters
-  if (aShape.ShapeType() == TopAbs_EDGE) {
-    if (BRep_Tool::Degenerated(TopoDS::Edge(aShape))) {
-      Astr = Astr + " It is a degenerated edge \n";
-    }
-  }
-
-  Astr = Astr + " Number of sub-shapes : \n";
-
-  try {
-    int iType, nbTypes [TopAbs_SHAPE];
-    for (iType = 0; iType < TopAbs_SHAPE; ++iType)
-      nbTypes[iType] = 0;
-    nbTypes[aShape.ShapeType()]++;
-
-    TopTools_MapOfShape aMapOfShape;
-    aMapOfShape.Add(aShape);
-    TopTools_ListOfShape aListOfShape;
-    aListOfShape.Append(aShape);
-
-    TopTools_ListIteratorOfListOfShape itL (aListOfShape);
-    for (; itL.More(); itL.Next()) {
-      TopoDS_Iterator it (itL.Value());
-      for (; it.More(); it.Next()) {
-        TopoDS_Shape s = it.Value();
-        if (aMapOfShape.Add(s)) {
-          aListOfShape.Append(s);
-          nbTypes[s.ShapeType()]++;
-        }
-      }
-    }
-
-    Astr = Astr + " VERTEX : " + TCollection_AsciiString(nbTypes[TopAbs_VERTEX]) + "\n";
-    Astr = Astr + " EDGE : " + TCollection_AsciiString(nbTypes[TopAbs_EDGE]) + "\n";
-    Astr = Astr + " WIRE : " + TCollection_AsciiString(nbTypes[TopAbs_WIRE]) + "\n";
-    Astr = Astr + " FACE : " + TCollection_AsciiString(nbTypes[TopAbs_FACE]) + "\n";
-    Astr = Astr + " SHELL : " + TCollection_AsciiString(nbTypes[TopAbs_SHELL]) + "\n";
-    Astr = Astr + " SOLID : " + TCollection_AsciiString(nbTypes[TopAbs_SOLID]) + "\n";
-    Astr = Astr + " COMPSOLID : " + TCollection_AsciiString(nbTypes[TopAbs_COMPSOLID]) + "\n";
-    Astr = Astr + " COMPOUND : " + TCollection_AsciiString(nbTypes[TopAbs_COMPOUND]) + "\n";
-    Astr = Astr + " SHAPE : " + TCollection_AsciiString(aMapOfShape.Extent());
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return Astr;
-  }
-
-  SetErrorCode(OK);
-  return Astr;
-}
-
-//=============================================================================
-/*!
- *  GetMinDistance
- */
-//=============================================================================
-Standard_Real GEOMImpl_IMeasureOperations::GetMinDistance
-  (Handle(GEOM_Object) theShape1, Handle(GEOM_Object) theShape2,
-   Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1,
-   Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2)
-{
-  SetErrorCode(KO);
-  Standard_Real MinDist = 1.e9;
-
-  if (theShape1.IsNull() || theShape2.IsNull()) return MinDist;
-
-  Handle(GEOM_Function) aRefShape1 = theShape1->GetLastFunction();
-  Handle(GEOM_Function) aRefShape2 = theShape2->GetLastFunction();
-  if (aRefShape1.IsNull() || aRefShape2.IsNull()) return MinDist;
-
-  TopoDS_Shape aShape1 = aRefShape1->GetValue();
-  TopoDS_Shape aShape2 = aRefShape2->GetValue();
-  if (aShape1.IsNull() || aShape2.IsNull()) {
-    SetErrorCode("One of Objects has NULL Shape");
-    return MinDist;
-  }
-
-  //Compute the parameters
-  try {
-    BRepExtrema_DistShapeShape dst (aShape1, aShape2);
-    if (dst.IsDone()) {
-      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;
-        }
-      }
-
-      PMin1.Coord(X1, Y1, Z1);
-      PMin2.Coord(X2, Y2, Z2);
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return MinDist;
-  }
-
-  SetErrorCode(OK);
-  return MinDist;
-}
-
-//=======================================================================
-//function : PointCoordinates
-//purpose  : Get coordinates of point
-//=======================================================================
-void GEOMImpl_IMeasureOperations::PointCoordinates( Handle(GEOM_Object) theShape,
-                        Standard_Real& theX, Standard_Real& theY, Standard_Real& theZ )
-{
-  SetErrorCode( KO );
-
-  if ( theShape.IsNull() )
-    return;
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if ( aRefShape.IsNull() )
-    return;
-
-  TopoDS_Shape aShape = aRefShape->GetValue();
-  if ( aShape.IsNull() || aShape.ShapeType() != TopAbs_VERTEX )
-  {
-    SetErrorCode( "Shape must be a vertex" );
-    return;
-  }
-
-  try
-  {
-    gp_Pnt aPnt = BRep_Tool::Pnt( TopoDS::Vertex( aShape ) );
-    theX = aPnt.X();
-    theY = aPnt.Y();
-    theZ = aPnt.Z();
-    SetErrorCode( OK );
-  }
-  catch ( Standard_Failure )
-  {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode( aFail->GetMessageString() );
-  }
-}
-
-//=======================================================================
-//function : StructuralDump
-//purpose  : Structural (data exchange) style of output.
-//=======================================================================
-void GEOMImpl_IMeasureOperations::StructuralDump (const BRepCheck_Analyzer& theAna,
-                                                  const TopoDS_Shape&       theShape,
-                                                  TCollection_AsciiString&  theDump)
-{
-  Standard_Integer i;
-  theDump.Clear();
-  theDump += " -- The Shape has problems :\n";
-  theDump += "  Check                                    Count\n";
-  theDump += " ------------------------------------------------\n";
-
-  Standard_Integer last_stat = (Standard_Integer)BRepCheck_CheckFail;
-  Handle(TColStd_HArray1OfInteger) NbProblems =
-    new TColStd_HArray1OfInteger(1, last_stat);
-  for (i = 1; i <= last_stat; i++)
-    NbProblems->SetValue(i,0);
-
-  Handle(TopTools_HSequenceOfShape) sl;
-  sl = new TopTools_HSequenceOfShape();
-  TopTools_DataMapOfShapeListOfShape theMap;
-  theMap.Clear();
-  GetProblemShapes(theAna, theShape, sl, NbProblems, theMap);
-  theMap.Clear();
-
-  Standard_Integer count = 0;
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidPointOnCurve);
-  if (count > 0) {
-    theDump += "  Invalid Point on Curve ................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidPointOnCurveOnSurface);
-  if (count > 0) {
-    theDump += "  Invalid Point on CurveOnSurface .......... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidPointOnSurface);
-  if (count > 0) {
-    theDump += "  Invalid Point on Surface ................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_No3DCurve);
-  if (count > 0) {
-    theDump += "  No 3D Curve .............................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_Multiple3DCurve);
-  if (count > 0) {
-    theDump += "  Multiple 3D Curve ........................ ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_Invalid3DCurve);
-  if (count > 0) {
-    theDump += "  Invalid 3D Curve ......................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_NoCurveOnSurface);
-  if (count > 0) {
-    theDump += "  No Curve on Surface ...................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidCurveOnSurface);
-  if (count > 0) {
-    theDump += "  Invalid Curve on Surface ................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidCurveOnClosedSurface);
-  if (count > 0) {
-    theDump += "  Invalid Curve on closed Surface .......... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidSameRangeFlag);
-  if (count > 0) {
-    theDump += "  Invalid SameRange Flag ................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidSameParameterFlag);
-  if (count > 0) {
-    theDump += "  Invalid SameParameter Flag ............... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidDegeneratedFlag);
-  if (count > 0) {
-    theDump += "  Invalid Degenerated Flag ................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_FreeEdge);
-  if (count > 0) {
-    theDump += "  Free Edge ................................ ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidMultiConnexity);
-  if (count > 0) {
-    theDump += "  Invalid MultiConnexity ................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidRange);
-  if (count > 0) {
-    theDump += "  Invalid Range ............................ ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_EmptyWire);
-  if (count > 0) {
-    theDump += "  Empty Wire ............................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_RedundantEdge);
-  if (count > 0) {
-    theDump += "  Redundant Edge ........................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_SelfIntersectingWire);
-  if (count > 0) {
-    theDump += "  Self Intersecting Wire ................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_NoSurface);
-  if (count > 0) {
-    theDump += "  No Surface ............................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidWire);
-  if (count > 0) {
-    theDump += "  Invalid Wire ............................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_RedundantWire);
-  if (count > 0) {
-    theDump += "  Redundant Wire ........................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_IntersectingWires);
-  if (count > 0) {
-    theDump += "  Intersecting Wires ....................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_InvalidImbricationOfWires);
-  if (count > 0) {
-    theDump += "  Invalid Imbrication of Wires ............. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_EmptyShell);
-  if (count > 0) {
-    theDump += "  Empty Shell .............................. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_RedundantFace);
-  if (count > 0) {
-    theDump += "  Redundant Face ........................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_UnorientableShape);
-  if (count > 0) {
-    theDump += "  Unorientable Shape ....................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_NotClosed);
-  if (count > 0) {
-    theDump += "  Not Closed ............................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_NotConnected);
-  if (count > 0) {
-    theDump += "  Not Connected ............................ ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_SubshapeNotInShape);
-  if (count > 0) {
-    theDump += "  Subshape not in Shape .................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_BadOrientation);
-  if (count > 0) {
-    theDump += "  Bad Orientation .......................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_BadOrientationOfSubshape);
-  if (count > 0) {
-    theDump += "  Bad Orientation of Subshape .............. ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-  count = NbProblems->Value((Standard_Integer)BRepCheck_CheckFail);
-  if (count > 0) {
-    theDump += "  checkshape failure ....................... ";
-    theDump += TCollection_AsciiString(count) + "\n";
-  }
-
-  theDump += " ------------------------------------------------\n";
-  theDump += "*** Shapes with problems : ";
-  theDump += TCollection_AsciiString(sl->Length()) + "\n";
-
-  Standard_Integer nbv, nbe, nbw, nbf, nbs, nbo;
-  nbv = nbe = nbw = nbf = nbs = nbo = 0;
-
-  for (i = 1; i <= sl->Length(); i++) {
-    TopoDS_Shape shi = sl->Value(i);
-    TopAbs_ShapeEnum sti = shi.ShapeType();
-    switch (sti) {
-      case TopAbs_VERTEX : nbv++; break;
-      case TopAbs_EDGE   : nbe++; break;
-      case TopAbs_WIRE   : nbw++; break;
-      case TopAbs_FACE   : nbf++; break;
-      case TopAbs_SHELL  : nbs++; break;
-      case TopAbs_SOLID  : nbo++; break;
-      default            : break;
-    }
-  }
-
-  if (nbv > 0) {
-    theDump += "VERTEX : ";
-    if (nbv < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbv) + "\n";
-  }
-  if (nbe > 0) {
-    theDump += "EDGE   : ";
-    if (nbe < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbe) + "\n";
-  }
-  if (nbw > 0) {
-    theDump += "WIRE   : ";
-    if (nbw < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbw) + "\n";
-  }
-  if (nbf > 0) {
-    theDump += "FACE   : ";
-    if (nbf < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbf) + "\n";
-  }
-  if (nbs > 0) {
-    theDump += "SHELL  : ";
-    if (nbs < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbs) + "\n";
-  }
-  if (nbo > 0) {
-    theDump += "SOLID  : ";
-    if (nbo < 10) theDump += " ";
-    theDump += TCollection_AsciiString(nbo) + "\n";
-  }
-}
-
-//=======================================================================
-//function : GetProblemShapes
-// purpose : for StructuralDump
-//=======================================================================
-void GEOMImpl_IMeasureOperations::GetProblemShapes (const BRepCheck_Analyzer&           theAna,
-                                                    const TopoDS_Shape&                 theShape,
-                                                    Handle(TopTools_HSequenceOfShape)&  sl,
-                                                    Handle(TColStd_HArray1OfInteger)&   NbProblems,
-                                                    TopTools_DataMapOfShapeListOfShape& theMap)
-{
-  for (TopoDS_Iterator iter(theShape); iter.More(); iter.Next()) {
-    GetProblemShapes(theAna, iter.Value(), sl, NbProblems, theMap);
-  }
-  TopAbs_ShapeEnum styp = theShape.ShapeType();
-  BRepCheck_ListIteratorOfListOfStatus itl;
-  TopTools_ListOfShape empty;
-  if (!theMap.IsBound(theShape)) {
-    theMap.Bind(theShape,empty);
-
-    if (!theAna.Result(theShape).IsNull()) {
-      itl.Initialize(theAna.Result(theShape)->Status());
-      // !!! May be, we have to print all the problems, not only the first one ?
-      if (itl.Value() != BRepCheck_NoError) {
-        sl->Append(theShape);
-        BRepCheck_Status stat = itl.Value();
-        NbProblems->SetValue((Standard_Integer)stat,
-                             NbProblems->Value((Standard_Integer)stat) + 1);
-      }
-    }
-  }
-
-  switch (styp) {
-  case TopAbs_EDGE:
-    GetProblemSub(theAna, theShape, sl, NbProblems, TopAbs_VERTEX, theMap);
-    break;
-  case TopAbs_FACE:
-    GetProblemSub(theAna, theShape, sl, NbProblems, TopAbs_WIRE, theMap);
-    GetProblemSub(theAna, theShape, sl, NbProblems, TopAbs_EDGE, theMap);
-    GetProblemSub(theAna, theShape, sl, NbProblems, TopAbs_VERTEX, theMap);
-    break;
-  case TopAbs_SHELL:
-    break;
-  case TopAbs_SOLID:
-    GetProblemSub(theAna, theShape, sl, NbProblems, TopAbs_SHELL, theMap);
-    break;
-  default:
-    break;
-  }
-}
-
-//=======================================================================
-//function : Contains
-//=======================================================================
-static Standard_Boolean Contains (const TopTools_ListOfShape& L,
-                                  const TopoDS_Shape& S)
-{
-  TopTools_ListIteratorOfListOfShape it;
-  for (it.Initialize(L); it.More(); it.Next()) {
-    if (it.Value().IsSame(S)) {
-      return Standard_True;
-    }
-  }
-  return Standard_False;
-}
-
-//=======================================================================
-//function : GetProblemSub
-// purpose : for StructuralDump
-//=======================================================================
-void GEOMImpl_IMeasureOperations::GetProblemSub (const BRepCheck_Analyzer&           theAna,
-                                                 const TopoDS_Shape&                 theShape,
-                                                 Handle(TopTools_HSequenceOfShape)&  sl,
-                                                 Handle(TColStd_HArray1OfInteger)&   NbProblems,
-                                                 const TopAbs_ShapeEnum              Subtype,
-                                                 TopTools_DataMapOfShapeListOfShape& theMap)
-{
-  BRepCheck_ListIteratorOfListOfStatus itl;
-  TopExp_Explorer exp;
-  for (exp.Init(theShape, Subtype); exp.More(); exp.Next()) {
-    const TopoDS_Shape& sub = exp.Current();
-
-    const Handle(BRepCheck_Result)& res = theAna.Result(sub);
-    for (res->InitContextIterator();
-        res->MoreShapeInContext();
-        res->NextShapeInContext()) {
-      if (res->ContextualShape().IsSame(theShape) && !Contains(theMap(sub), theShape)) {
-       theMap(sub).Append(theShape);
-       itl.Initialize(res->StatusOnShape());
-
-       if (itl.Value() != BRepCheck_NoError) {
-         Standard_Integer ii = 0;
-
-          for (ii = 1; ii <= sl->Length(); ii++)
-            if (sl->Value(ii).IsSame(sub)) break;
-
-          if (ii > sl->Length()) {
-            sl->Append(sub);
-            BRepCheck_Status stat = itl.Value();
-            NbProblems->SetValue((Standard_Integer)stat,
-                                 NbProblems->Value((Standard_Integer)stat) + 1);
-          }
-          for (ii = 1; ii <= sl->Length(); ii++)
-            if (sl->Value(ii).IsSame(theShape)) break;
-          if (ii > sl->Length()) {
-            sl->Append(theShape);
-            BRepCheck_Status stat = itl.Value();
-            NbProblems->SetValue((Standard_Integer)stat,
-                                 NbProblems->Value((Standard_Integer)stat) + 1);
-          }
-       }
-       break;
-      }
-    }
-  }
-}
diff --git a/src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx b/src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx
deleted file mode 100644 (file)
index 675590d..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-
-#ifndef _GEOMImpl_IMeasureOperations_HXX_
-#define _GEOMImpl_IMeasureOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-
-#include <BRepCheck_Analyzer.hxx>
-#include <TopTools_HSequenceOfShape.hxx>
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#include <TCollection_AsciiString.hxx>
-
-class GEOM_Engine;
-class Handle(GEOM_Object);
-
-class GEOMImpl_IMeasureOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IMeasureOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IMeasureOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) GetCentreOfMass (Handle(GEOM_Object) theShape);
-
-  Standard_EXPORT void GetBasicProperties (Handle(GEOM_Object) theShape,
-                           Standard_Real& theLength,
-                           Standard_Real& theSurfArea,
-                           Standard_Real& theVolume);
-
-  Standard_EXPORT void GetInertia (Handle(GEOM_Object) theShape,
-                   Standard_Real& I11, Standard_Real& I12, Standard_Real& I13,
-                   Standard_Real& I21, Standard_Real& I22, Standard_Real& I23,
-                   Standard_Real& I31, Standard_Real& I32, Standard_Real& I33,
-                   Standard_Real& Ix , Standard_Real& Iy , Standard_Real& Iz);
-
-  Standard_EXPORT void GetBoundingBox (Handle(GEOM_Object) theShape,
-                       Standard_Real& Xmin, Standard_Real& Xmax,
-                       Standard_Real& Ymin, Standard_Real& Ymax,
-                       Standard_Real& Zmin, Standard_Real& Zmax);
-
-  Standard_EXPORT void GetTolerance (Handle(GEOM_Object) theShape,
-                     Standard_Real& FaceMin, Standard_Real& FaceMax,
-                     Standard_Real& EdgeMin, Standard_Real& EdgeMax,
-                     Standard_Real& VertMin, Standard_Real& VertMax);
-
-  Standard_EXPORT bool CheckShape (Handle(GEOM_Object)      theShape,
-                   TCollection_AsciiString& theDump);
-
-  Standard_EXPORT TCollection_AsciiString WhatIs (Handle(GEOM_Object) theShape);
-
-  Standard_EXPORT Standard_Real GetMinDistance (Handle(GEOM_Object) theShape1, Handle(GEOM_Object) theShape2,
-                                Standard_Real& X1, Standard_Real& Y1, Standard_Real& Z1,
-                                Standard_Real& X2, Standard_Real& Y2, Standard_Real& Z2);
-
- Standard_EXPORT void PointCoordinates( Handle(GEOM_Object) theShape,
-                        Standard_Real& theX, Standard_Real& theY, Standard_Real& theZ );
- private:
-  void StructuralDump (const BRepCheck_Analyzer& theAna,
-                       const TopoDS_Shape&       theShape,
-                       TCollection_AsciiString&  theDump);
-
-  void GetProblemShapes (const BRepCheck_Analyzer&           theAna,
-                         const TopoDS_Shape&                 theShape,
-                         Handle(TopTools_HSequenceOfShape)&  sl,
-                         Handle(TColStd_HArray1OfInteger)&   NbProblems,
-                         TopTools_DataMapOfShapeListOfShape& theMap);
-
-  void GetProblemSub (const BRepCheck_Analyzer&           theAna,
-                      const TopoDS_Shape&                 theShape,
-                      Handle(TopTools_HSequenceOfShape)&  sl,
-                      Handle(TColStd_HArray1OfInteger)&   NbProblems,
-                      const TopAbs_ShapeEnum              Subtype,
-                      TopTools_DataMapOfShapeListOfShape& theMap);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_IMirror.hxx b/src/GEOMImpl/GEOMImpl_IMirror.hxx
deleted file mode 100644 (file)
index dcaff0d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-//NOTE: This is an intreface to a function for the Mirror creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define MIRROR_ARG_ORIGINAL 1
-#define MIRROR_ARG_PLANE    2
-#define MIRROR_ARG_AXIS     3
-#define MIRROR_ARG_POINT    4
-
-class GEOMImpl_IMirror
-{
- public:
-
-  GEOMImpl_IMirror(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetOriginal(Handle(GEOM_Function) theShape) { _func->SetReference(MIRROR_ARG_ORIGINAL, theShape); }
-  void SetPlane   (Handle(GEOM_Function) thePlane) { _func->SetReference(MIRROR_ARG_PLANE, thePlane); }
-  void SetAxis    (Handle(GEOM_Function) theAxis ) { _func->SetReference(MIRROR_ARG_AXIS , theAxis ); }
-  void SetPoint   (Handle(GEOM_Function) thePoint) { _func->SetReference(MIRROR_ARG_POINT, thePoint); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(MIRROR_ARG_ORIGINAL); }
-  Handle(GEOM_Function) GetPlane()    { return _func->GetReference(MIRROR_ARG_PLANE); }
-  Handle(GEOM_Function) GetAxis ()    { return _func->GetReference(MIRROR_ARG_AXIS ); }
-  Handle(GEOM_Function) GetPoint()    { return _func->GetReference(MIRROR_ARG_POINT); }
-  
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IOffset.hxx b/src/GEOMImpl/GEOMImpl_IOffset.hxx
deleted file mode 100644 (file)
index 9143424..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//NOTE: This is an intreface to a function for the Offset creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define OFF_ARG_SHAPE 1
-#define OFF_ARG_VALUE 2
-
-class GEOMImpl_IOffset
-{
- public:
-
-  GEOMImpl_IOffset(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape(Handle(GEOM_Function) theShape) { _func->SetReference(OFF_ARG_SHAPE, theShape); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(OFF_ARG_SHAPE); }
-
-  void SetValue(double theValue) { _func->SetReal(OFF_ARG_VALUE, theValue); }
-
-  double GetValue() { return _func->GetReal(OFF_ARG_VALUE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPartition.hxx b/src/GEOMImpl/GEOMImpl_IPartition.hxx
deleted file mode 100644 (file)
index d89e779..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//NOTE: This is an intreface to a function for the Partition creation.
-
-
-#include "GEOM_Function.hxx"
-
-#include "TColStd_HSequenceOfTransient.hxx"
-#include "TColStd_HArray1OfInteger.hxx"
-
-#define PART_ARG_LIMIT   1
-#define PART_ARG_SHAPES  2
-#define PART_ARG_TOOLS   3
-#define PART_ARG_KEEP_IN 4
-#define PART_ARG_REM_IN  5
-
-#define PART_ARG_MATERIALS 6
-
-#define PART_ARG_SHAPE 7
-#define PART_ARG_PLANE 8
-
-class GEOMImpl_IPartition
-{
- public:
-
-  GEOMImpl_IPartition(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetLimit(int theLimit) { _func->SetInteger(PART_ARG_LIMIT, theLimit); }
-
-  void SetShapes(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(PART_ARG_SHAPES, theShapes); }
-
-  void SetTools(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(PART_ARG_TOOLS, theShapes); }
-
-  void SetKeepIns(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(PART_ARG_KEEP_IN, theShapes); }
-
-  void SetRemoveIns(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(PART_ARG_REM_IN, theShapes); }
-
-  void SetMaterials(const Handle(TColStd_HArray1OfInteger)& theMaterials)
-  { _func->SetIntegerArray(PART_ARG_MATERIALS, theMaterials); }
-
-
-  int GetLimit() { return _func->GetInteger(PART_ARG_LIMIT); }
-
-  Handle(TColStd_HSequenceOfTransient) GetShapes()    { return _func->GetReferenceList(PART_ARG_SHAPES); }
-  Handle(TColStd_HSequenceOfTransient) GetTools()     { return _func->GetReferenceList(PART_ARG_TOOLS); }
-  Handle(TColStd_HSequenceOfTransient) GetKeepIns()   { return _func->GetReferenceList(PART_ARG_KEEP_IN); }
-  Handle(TColStd_HSequenceOfTransient) GetRemoveIns() { return _func->GetReferenceList(PART_ARG_REM_IN); }
-
-  Handle(TColStd_HArray1OfInteger) GetMaterials() { return _func->GetIntegerArray(PART_ARG_MATERIALS); }
-
-
-  void SetShape(Handle(GEOM_Function) theShape) { _func->SetReference(PART_ARG_SHAPE, theShape); }
-  void SetPlane(Handle(GEOM_Function) thePlane) { _func->SetReference(PART_ARG_PLANE, thePlane); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(PART_ARG_SHAPE); }
-  Handle(GEOM_Function) GetPlane() { return _func->GetReference(PART_ARG_PLANE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPipe.hxx b/src/GEOMImpl/GEOMImpl_IPipe.hxx
deleted file mode 100644 (file)
index 4c104c5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//NOTE: This is an intreface to a function for the Pipe creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define PIPE_ARG_BASE 1
-#define PIPE_ARG_PATH 2
-
-class GEOMImpl_IPipe
-{
- public:
-
-  GEOMImpl_IPipe(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetBase (Handle(GEOM_Function) theBase) { _func->SetReference(PIPE_ARG_BASE, theBase); }
-  void SetPath (Handle(GEOM_Function) thePath) { _func->SetReference(PIPE_ARG_PATH, thePath); }
-
-  Handle(GEOM_Function) GetBase() { return _func->GetReference(PIPE_ARG_BASE); }
-  Handle(GEOM_Function) GetPath() { return _func->GetReference(PIPE_ARG_PATH); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPlane.hxx b/src/GEOMImpl/GEOMImpl_IPlane.hxx
deleted file mode 100644 (file)
index 2353dec..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-//NOTE: This is an intreface to a function for the vector creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define PLN_ARG_SIZE 1
-
-#define PLN_ARG_PNT1 2
-#define PLN_ARG_PNT2 3
-#define PLN_ARG_PNT3 4
-
-#define PLN_ARG_VEC 5
-
-#define PLN_ARG_REF 6
-
-class GEOMImpl_IPlane
-{
- public:
-
-  GEOMImpl_IPlane(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetSize(double theSize) { _func->SetReal(PLN_ARG_SIZE, theSize); }
-
-  double GetSize() { return _func->GetReal(PLN_ARG_SIZE); }
-
-  void SetPoint (Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_PNT1, theRef); }
-  void SetVector(Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_VEC , theRef); }
-
-  void SetFace  (Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_REF , theRef); }
-
-  void SetPoint1(Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_PNT1, theRef); }
-  void SetPoint2(Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_PNT2, theRef); }
-  void SetPoint3(Handle(GEOM_Function) theRef) { _func->SetReference(PLN_ARG_PNT3, theRef); }
-
-  Handle(GEOM_Function) GetPoint () { return _func->GetReference(PLN_ARG_PNT1); }
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(PLN_ARG_VEC ); }
-
-  Handle(GEOM_Function) GetFace  () { return _func->GetReference(PLN_ARG_REF ); }
-
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(PLN_ARG_PNT1); }
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(PLN_ARG_PNT2); }
-  Handle(GEOM_Function) GetPoint3() { return _func->GetReference(PLN_ARG_PNT3); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPoint.hxx b/src/GEOMImpl/GEOMImpl_IPoint.hxx
deleted file mode 100755 (executable)
index 61c424e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-//NOTE: This is an intreface to a function for the point creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define ARG_X     1
-#define ARG_Y     2
-#define ARG_Z     3
-
-#define ARG_REF   4
-
-#define ARG_PARAM 5
-#define ARG_CURVE 6
-
-class GEOMImpl_IPoint
-{
- public:
-
-  GEOMImpl_IPoint(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetX(double theX) { _func->SetReal(ARG_X, theX); }
-  void SetY(double theY) { _func->SetReal(ARG_Y, theY); }
-  void SetZ(double theZ) { _func->SetReal(ARG_Z, theZ); }
-
-  double GetX() { return _func->GetReal(ARG_X); }
-  double GetY() { return _func->GetReal(ARG_Y); }
-  double GetZ() { return _func->GetReal(ARG_Z); }
-
-  void SetRef(Handle(GEOM_Function) theRefPoint) { _func->SetReference(ARG_REF, theRefPoint); }
-
-  Handle(GEOM_Function) GetRef() { return _func->GetReference(ARG_REF); }
-
-  void SetCurve(Handle(GEOM_Function) theRef) { _func->SetReference(ARG_CURVE, theRef); }
-
-  Handle(GEOM_Function) GetCurve() { return _func->GetReference(ARG_CURVE); }
-
-  void SetParameter(double theParam) { _func->SetReal(ARG_PARAM, theParam); }
-
-  double GetParameter() { return _func->GetReal(ARG_PARAM); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPolyline.hxx b/src/GEOMImpl/GEOMImpl_IPolyline.hxx
deleted file mode 100644 (file)
index 89f4248..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//NOTE: This is an intreface to a function for the Polyline creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define POLY_ARG_LENG 1
-#define POLY_ARG_LAST 1
-
-class GEOMImpl_IPolyline
-{
- public:
-
-  GEOMImpl_IPolyline(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetLength(int theLen) { _func->SetInteger(POLY_ARG_LENG, theLen); }
-
-  void SetPoint(int theId, Handle(GEOM_Function) theP) { _func->SetReference(POLY_ARG_LAST + theId, theP); }
-
-  int GetLength() { return _func->GetInteger(POLY_ARG_LENG); }
-
-  Handle(GEOM_Function) GetPoint(int theId) { return _func->GetReference(POLY_ARG_LAST + theId); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPosition.hxx b/src/GEOMImpl/GEOMImpl_IPosition.hxx
deleted file mode 100644 (file)
index 1e745a7..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-//NOTE: This is an intreface to a function for the Setting In Position.
-
-
-#include "GEOM_Function.hxx"
-
-#define POSITION_ARG_SHAPE 1
-#define POSITION_ARG_START_LCS 2
-#define POSITION_ARG_END_LCS 3
-
-class GEOMImpl_IPosition
-{
- public:
-
-  GEOMImpl_IPosition(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape(Handle(GEOM_Function) theShape) { _func->SetReference(POSITION_ARG_SHAPE, theShape); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(POSITION_ARG_SHAPE); }
-
-  void SetStartLCS(Handle(GEOM_Function) theStartLCS)
-  { _func->SetReference(POSITION_ARG_START_LCS, theStartLCS); }
-
-  Handle(GEOM_Function) GetStartLCS() { return _func->GetReference(POSITION_ARG_START_LCS); }
-
-  void SetEndLCS(Handle(GEOM_Function) theEndLCS)
-  { _func->SetReference(POSITION_ARG_END_LCS, theEndLCS); }
-
-  Handle(GEOM_Function) GetEndLCS() { return _func->GetReference(POSITION_ARG_END_LCS); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IPrism.hxx b/src/GEOMImpl/GEOMImpl_IPrism.hxx
deleted file mode 100644 (file)
index a3da6d3..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-//NOTE: This is an intreface to a function for the Prism creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define PRISM_ARG_H     1
-#define PRISM_ARG_VEC   2
-#define PRISM_ARG_BASE  3
-#define PRISM_ARG_PNT_F 4
-#define PRISM_ARG_PNT_L 5
-
-class GEOMImpl_IPrism
-{
- public:
-
-  GEOMImpl_IPrism(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetBase  (Handle(GEOM_Function) theRefBase  ) { _func->SetReference(PRISM_ARG_BASE, theRefBase); }
-  void SetVector(Handle(GEOM_Function) theRefVector) { _func->SetReference(PRISM_ARG_VEC , theRefVector); }
-  void SetFirstPoint(Handle(GEOM_Function) thePoint) { _func->SetReference(PRISM_ARG_PNT_F, thePoint); }
-  void SetLastPoint (Handle(GEOM_Function) thePoint) { _func->SetReference(PRISM_ARG_PNT_L, thePoint); }
-
-  Handle(GEOM_Function) GetBase  () { return _func->GetReference(PRISM_ARG_BASE); }
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(PRISM_ARG_VEC ); }
-  Handle(GEOM_Function) GetFirstPoint() { return _func->GetReference(PRISM_ARG_PNT_F ); }
-  Handle(GEOM_Function) GetLastPoint () { return _func->GetReference(PRISM_ARG_PNT_L ); }
-
-  void SetH(double theH) { _func->SetReal(PRISM_ARG_H, theH); }
-
-  double GetH() { return _func->GetReal(PRISM_ARG_H); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IRevolution.hxx b/src/GEOMImpl/GEOMImpl_IRevolution.hxx
deleted file mode 100644 (file)
index e630a62..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//NOTE: This is an intreface to a function for the Revolution creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define REVOL_ARG_ANGLE 1
-#define REVOL_ARG_AXIS  2
-#define REVOL_ARG_BASE  3
-
-class GEOMImpl_IRevolution
-{
- public:
-
-  GEOMImpl_IRevolution(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetAngle(double theAngle) { _func->SetReal(REVOL_ARG_ANGLE, theAngle); }
-
-  double GetAngle() { return _func->GetReal(REVOL_ARG_ANGLE); }
-
-  void SetAxis(Handle(GEOM_Function) theRefAxis) { _func->SetReference(REVOL_ARG_AXIS, theRefAxis); }
-
-  Handle(GEOM_Function) GetAxis() { return _func->GetReference(REVOL_ARG_AXIS); }
-
-  void SetBase(Handle(GEOM_Function) theRefBase) { _func->SetReference(REVOL_ARG_BASE, theRefBase); }
-
-  Handle(GEOM_Function) GetBase() { return _func->GetReference(REVOL_ARG_BASE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IRotate.hxx b/src/GEOMImpl/GEOMImpl_IRotate.hxx
deleted file mode 100644 (file)
index 8b38e4d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-//NOTE: This is an intreface to a function for the Rotate operation.
-
-
-#include "GEOM_Function.hxx"
-
-#define ROTATE_ANGLE    1  
-#define ROTATE_AXIS     2
-#define ROTATE_ORGN     3
-#define ROTATE_STEP1      4
-#define ROTATE_NBITER1   5
-#define ROTATE_NBITER2   6
-
-class GEOMImpl_IRotate
-{
- public:
-  
-  GEOMImpl_IRotate(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-  
-  void SetAngle(Standard_Real theAngle) { _func->SetReal(ROTATE_ANGLE, theAngle); }
-  
-  Standard_Real GetAngle() { return _func->GetReal(ROTATE_ANGLE); }
-  
-  void SetAxis(Handle(GEOM_Function) theVector) { _func->SetReference(ROTATE_AXIS, theVector); }
-  
-  Handle(GEOM_Function) GetAxis() { return _func->GetReference(ROTATE_AXIS); } 
-  
-  void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(ROTATE_ORGN, theOriginal); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(ROTATE_ORGN); }
-
-  void SetStep(double theStep) { return _func->SetReal(ROTATE_STEP1, theStep); }
-
-  double GetStep() { return _func->GetReal(ROTATE_STEP1); }
-
-  void SetNbIter1(int theNbIter) { _func->SetInteger(ROTATE_NBITER1, theNbIter); }
-
-  int GetNbIter1() { return _func->GetInteger(ROTATE_NBITER1); } 
-
-  void SetNbIter2(int theNbIter) { _func->SetInteger(ROTATE_NBITER2, theNbIter); }
-
-  int GetNbIter2() { return _func->GetInteger(ROTATE_NBITER2); } 
-
-  
- private:
-  
-  Handle(GEOM_Function) _func;  
-};
diff --git a/src/GEOMImpl/GEOMImpl_IScale.hxx b/src/GEOMImpl/GEOMImpl_IScale.hxx
deleted file mode 100644 (file)
index 15905e7..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//NOTE: This is an intreface to a function for the Scale creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define SCALE_ARG_SHAPE 1
-#define SCALE_ARG_VALUE 2
-#define SCALE_ARG_POINT 3
-
-class GEOMImpl_IScale
-{
- public:
-
-  GEOMImpl_IScale(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShape(Handle(GEOM_Function) theShape) { _func->SetReference(SCALE_ARG_SHAPE, theShape); }
-
-  Handle(GEOM_Function) GetShape() { return _func->GetReference(SCALE_ARG_SHAPE); }
-
-  void SetFactor(double theValue) { _func->SetReal(SCALE_ARG_VALUE, theValue); }
-
-  double GetFactor() { return _func->GetReal(SCALE_ARG_VALUE); }
-
-  void SetPoint(Handle(GEOM_Function) thePoint) { _func->SetReference(SCALE_ARG_POINT, thePoint); }
-
-  Handle(GEOM_Function) GetPoint() { return _func->GetReference(SCALE_ARG_POINT); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IShapes.hxx b/src/GEOMImpl/GEOMImpl_IShapes.hxx
deleted file mode 100644 (file)
index 64845e7..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// NOTE: This is an intreface to a function for the Shapes
-// (Wire, Face, Shell, Solid and Compound) creation.
-
-
-#include "GEOM_Function.hxx"
-
-#include "TColStd_HSequenceOfTransient.hxx"
-#include "TColStd_HArray1OfInteger.hxx"
-
-#define SHAPE_ARG_SHAPES  1 // for Wire, Shell, Solid and Compound
-
-#define SHAPE_ARG_BASE    2 // for Face, Solid and Sub-shape
-
-#define SHAPE_ARG_PLANAR  3 // for Face
-
-#define SHAPE_ARG_SUBTYPE 4 // for Sub-shape
-#define SHAPE_ARG_INDICES 5 // for Sub-shape
-
-class GEOMImpl_IShapes
-{
- public:
-
-  GEOMImpl_IShapes(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetShapes(const Handle(TColStd_HSequenceOfTransient)& theShapes)
-  { _func->SetReferenceList(SHAPE_ARG_SHAPES, theShapes); }
-
-  Handle(TColStd_HSequenceOfTransient) GetShapes()
-  { return _func->GetReferenceList(SHAPE_ARG_SHAPES); }
-
-  void SetBase(Handle(GEOM_Function) theRefBase)
-  { _func->SetReference(SHAPE_ARG_BASE, theRefBase); }
-
-  Handle(GEOM_Function) GetBase() { return _func->GetReference(SHAPE_ARG_BASE); }
-
-  void SetIsPlanar(const Standard_Boolean isPlanarWanted)
-  { _func->SetInteger(SHAPE_ARG_PLANAR, isPlanarWanted ? 1 : 0); }
-
-  Standard_Boolean GetIsPlanar() { return (_func->GetInteger(SHAPE_ARG_PLANAR) == 1); }
-
-  void SetSubShapeType(const Standard_Integer theType)
-  { _func->SetInteger(SHAPE_ARG_SUBTYPE, theType); }
-
-  Standard_Integer GetSubShapeType() { return _func->GetInteger(SHAPE_ARG_SUBTYPE); }
-
-  void SetIndices(const Handle(TColStd_HArray1OfInteger)& theIndices)
-  { _func->SetIntegerArray(SHAPE_ARG_INDICES, theIndices); }
-
-  Handle(TColStd_HArray1OfInteger) GetIndices()
-  { return _func->GetIntegerArray(SHAPE_ARG_INDICES); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
deleted file mode 100644 (file)
index 84e8bf3..0000000
+++ /dev/null
@@ -1,1957 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_IShapesOperations.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOMImpl_VectorDriver.hxx>
-#include <GEOMImpl_ShapeDriver.hxx>
-#include <GEOMImpl_CopyDriver.hxx>
-#include <GEOMImpl_GlueDriver.hxx>
-
-#include <GEOMImpl_IVector.hxx>
-#include <GEOMImpl_IShapes.hxx>
-#include <GEOMImpl_IGlue.hxx>
-
-#include <GEOMImpl_Block6Explorer.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMAlgo_FinderShapeOn1.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDataStd_Integer.hxx>
-#include <TDataStd_IntegerArray.hxx>
-#include <TDF_Tool.hxx>
-
-#include <BRepExtrema_ExtCF.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepGProp.hxx>
-#include <BRepAdaptor_Curve.hxx>
-#include <BRepBndLib.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-#include <BRepMesh_IncrementalMesh.hxx>
-
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopLoc_Location.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_Array1OfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <Geom_Surface.hxx>
-#include <Geom_Plane.hxx>
-#include <Geom_SphericalSurface.hxx>
-#include <Geom_CylindricalSurface.hxx>
-#include <GeomAdaptor_Surface.hxx>
-
-#include <Geom2d_Curve.hxx>
-
-#include <Bnd_Box.hxx>
-#include <GProp_GProps.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Lin.hxx>
-#include <TColStd_Array1OfReal.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TColStd_ListOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-//#include <OSD_Timer.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOMImpl_IShapesOperations::GEOMImpl_IShapesOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_IShapesOperations::GEOMImpl_IShapesOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOMImpl_IShapesOperations::~GEOMImpl_IShapesOperations()
-{
-  MESSAGE("GEOMImpl_IShapesOperations::~GEOMImpl_IShapesOperations");
-}
-
-
-//=============================================================================
-/*!
- *  MakeEdge
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeEdge
-                     (Handle(GEOM_Object) thePnt1, Handle(GEOM_Object) thePnt2)
-{
-  SetErrorCode(KO);
-
-  if (thePnt1.IsNull() || thePnt2.IsNull()) return NULL;
-
-  //Add a new Edge object
-  Handle(GEOM_Object) anEdge = GetEngine()->AddObject(GetDocID(), GEOM_EDGE);
-
-  //Add a new Vector function
-  Handle(GEOM_Function) aFunction =
-    anEdge->AddFunction(GEOMImpl_VectorDriver::GetID(), VECTOR_TWO_PNT);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_VectorDriver::GetID()) return NULL;
-
-  GEOMImpl_IVector aPI (aFunction);
-
-  Handle(GEOM_Function) aRef1 = thePnt1->GetLastFunction();
-  Handle(GEOM_Function) aRef2 = thePnt2->GetLastFunction();
-  if (aRef1.IsNull() || aRef2.IsNull()) return NULL;
-
-  aPI.SetPoint1(aRef1);
-  aPI.SetPoint2(aRef2);
-
-  //Compute the Edge value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Vector driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anEdge << " = geompy.MakeEdge("
-                               << thePnt1 << ", " << thePnt2 << ")";
-
-  SetErrorCode(OK);
-  return anEdge;
-}
-
-//=============================================================================
-/*!
- *  MakeWire
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeWire
-                             (list<Handle(GEOM_Object)> theShapes)
-{
-  return MakeShape(theShapes, GEOM_WIRE, WIRE_EDGES, "MakeWire");
-}
-
-//=============================================================================
-/*!
- *  MakeFace
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeFace (Handle(GEOM_Object) theWire,
-                                                          const bool isPlanarWanted)
-{
-  SetErrorCode(KO);
-
-  if (theWire.IsNull()) return NULL;
-
-  //Add a new Face object
-  Handle(GEOM_Object) aFace = GetEngine()->AddObject(GetDocID(), GEOM_FACE);
-
-  //Add a new Shape function for creation of a face from a wire
-  Handle(GEOM_Function) aFunction =
-    aFace->AddFunction(GEOMImpl_ShapeDriver::GetID(), FACE_WIRE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aCI (aFunction);
-
-  Handle(GEOM_Function) aRefWire = theWire->GetLastFunction();
-
-  if (aRefWire.IsNull()) return NULL;
-
-  aCI.SetBase(aRefWire);
-  aCI.SetIsPlanar(isPlanarWanted);
-
-  //Compute the Face value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Shape driver failed to compute a face");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aFace << " = geompy.MakeFace("
-    << theWire << ", " << (int)isPlanarWanted << ")";
-
-  SetErrorCode(OK);
-  return aFace;
-}
-
-//=============================================================================
-/*!
- *  MakeFaceWires
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeFaceWires
-                             (list<Handle(GEOM_Object)> theShapes,
-                              const bool isPlanarWanted)
-{
-  SetErrorCode(KO);
-
-  //Add a new object
-  Handle(GEOM_Object) aShape = GetEngine()->AddObject(GetDocID(), GEOM_FACE);
-
-  //Add a new function
-  Handle(GEOM_Function) aFunction =
-    aShape->AddFunction(GEOMImpl_ShapeDriver::GetID(), FACE_WIRES);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aCI (aFunction);
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-
-  // Shapes
-  list<Handle(GEOM_Object)>::iterator it = theShapes.begin();
-  for (; it != theShapes.end(); it++) {
-    Handle(GEOM_Function) aRefSh = (*it)->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL argument shape for the face construction");
-      return NULL;
-    }
-    aShapesSeq->Append(aRefSh);
-  }
-  aCI.SetShapes(aShapesSeq);
-
-  aCI.SetIsPlanar(isPlanarWanted);
-
-  //Compute the shape
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Shape driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aShape << " = geompy.MakeFaceWires([";
-
-  // Shapes
-  it = theShapes.begin();
-  if (it != theShapes.end()) {
-    pd << (*it++);
-    while (it != theShapes.end()) {
-      pd << ", " << (*it++);
-    }
-  }
-  pd << "], " << (int)isPlanarWanted << ")";
-
-  SetErrorCode(OK);
-  return aShape;
-}
-
-//=============================================================================
-/*!
- *  MakeShell
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeShell
-                             (list<Handle(GEOM_Object)> theShapes)
-{
-  return MakeShape(theShapes, GEOM_SHELL, SHELL_FACES, "MakeShell");
-}
-
-//=============================================================================
-/*!
- *  MakeSolidShells
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeSolidShells
-                             (list<Handle(GEOM_Object)> theShapes)
-{
-  return MakeShape(theShapes, GEOM_SOLID, SOLID_SHELLS, "MakeSolidShells");
-}
-
-//=============================================================================
-/*!
- *  MakeSolidShell
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeSolidShell (Handle(GEOM_Object) theShell)
-{
-  SetErrorCode(KO);
-
-  if (theShell.IsNull()) return NULL;
-
-  //Add a new Solid object
-  Handle(GEOM_Object) aSolid = GetEngine()->AddObject(GetDocID(), GEOM_SOLID);
-
-  //Add a new Solid function for creation of a solid from a shell
-  Handle(GEOM_Function) aFunction =
-    aSolid->AddFunction(GEOMImpl_ShapeDriver::GetID(), SOLID_SHELL);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShell = theShell->GetLastFunction();
-
-  if (aRefShell.IsNull()) return NULL;
-
-  aCI.SetBase(aRefShell);
-
-  //Compute the Solid value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Solid driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aSolid
-    << " = geompy.MakeSolid(" << theShell << ")";
-
-  SetErrorCode(OK);
-  return aSolid;
-}
-
-//=============================================================================
-/*!
- *  MakeCompound
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeCompound
-                             (list<Handle(GEOM_Object)> theShapes)
-{
-  return MakeShape(theShapes, GEOM_COMPOUND, COMPOUND_SHAPES, "MakeCompound");
-}
-
-//=============================================================================
-/*!
- *  MakeShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeShape
-                             (list<Handle(GEOM_Object)>      theShapes,
-                              const Standard_Integer         theObjectType,
-                              const Standard_Integer         theFunctionType,
-                              const TCollection_AsciiString& theMethodName)
-{
-  SetErrorCode(KO);
-
-  //Add a new object
-  Handle(GEOM_Object) aShape = GetEngine()->AddObject(GetDocID(), theObjectType);
-
-  //Add a new function
-  Handle(GEOM_Function) aFunction =
-    aShape->AddFunction(GEOMImpl_ShapeDriver::GetID(), theFunctionType);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aCI (aFunction);
-
-  Handle(TColStd_HSequenceOfTransient) aShapesSeq = new TColStd_HSequenceOfTransient;
-
-  // Shapes
-  list<Handle(GEOM_Object)>::iterator it = theShapes.begin();
-  for (; it != theShapes.end(); it++) {
-    Handle(GEOM_Function) aRefSh = (*it)->GetLastFunction();
-    if (aRefSh.IsNull()) {
-      SetErrorCode("NULL argument shape for the shape construction");
-      return NULL;
-    }
-    aShapesSeq->Append(aRefSh);
-  }
-  aCI.SetShapes(aShapesSeq);
-
-  //Compute the shape
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Shape driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << aShape << " = geompy." << theMethodName.ToCString() << "([";
-
-  // Shapes
-  it = theShapes.begin();
-  if (it != theShapes.end()) {
-    pd << (*it++);
-    while (it != theShapes.end()) {
-      pd << ", " << (*it++);
-    }
-  }
-  pd << "])";
-
-  SetErrorCode(OK);
-  return aShape;
-}
-
-//=============================================================================
-/*!
- *  MakeGlueFaces
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::MakeGlueFaces
-                                                (Handle(GEOM_Object) theShape,
-                                                 const Standard_Real theTolerance)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-
-  //Add a new Glued object
-  Handle(GEOM_Object) aGlued = GetEngine()->AddObject(GetDocID(), GEOM_GLUED);
-
-  //Add a new Glue function
-  Handle(GEOM_Function) aFunction;
-  aFunction = aGlued->AddFunction(GEOMImpl_GlueDriver::GetID(), GLUE_FACES);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_GlueDriver::GetID()) return NULL;
-
-  GEOMImpl_IGlue aCI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aCI.SetBase(aRefShape);
-  aCI.SetTolerance(theTolerance);
-
-  //Compute the sub-shape value
-  Standard_Boolean isWarning = Standard_False;
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Shape driver failed to glue faces");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    // to provide warning
-    if (!aFunction->GetValue().IsNull()) {
-      isWarning = Standard_True;
-    } else {
-      return NULL;
-    }
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aGlued << " = geompy.MakeGlueFaces("
-    << theShape << ", " << theTolerance << ")";
-
-  // to provide warning
-  if (!isWarning) SetErrorCode(OK);
-  return aGlued;
-}
-
-//=============================================================================
-/*!
- *  MakeExplode
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::MakeExplode
-                                          (Handle(GEOM_Object)    theShape,
-                                           const Standard_Integer theShapeType,
-                                           const Standard_Boolean isSorted)
-{
-//  OSD_Timer timer1, timer2, timer3, timer4;
-//  timer1.Start();
-
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-  Handle(GEOM_Object) anObj;
-  Handle(GEOM_Function) aFunction;
-  TopTools_MapOfShape mapShape;
-  TopTools_ListOfShape listShape;
-
-  if (aShape.ShapeType() == TopAbs_COMPOUND &&
-      (TopAbs_ShapeEnum(theShapeType) == TopAbs_SHAPE ||
-       TopAbs_ShapeEnum(theShapeType) == TopAbs_COMPSOLID ||
-       TopAbs_ShapeEnum(theShapeType) == TopAbs_COMPOUND)) {
-    TopoDS_Iterator It (aShape, Standard_True, Standard_True);
-    for (; It.More(); It.Next()) {
-      if (mapShape.Add(It.Value())) {
-        if (TopAbs_ShapeEnum(theShapeType) == TopAbs_SHAPE ||
-            TopAbs_ShapeEnum(theShapeType) == It.Value().ShapeType()) {
-          listShape.Append(It.Value());
-        }
-      }
-    }
-  } else {
-    TopExp_Explorer exp (aShape, TopAbs_ShapeEnum(theShapeType));
-    for (; exp.More(); exp.Next())
-      if (mapShape.Add(exp.Current()))
-       listShape.Append(exp.Current());
-  }
-
-  if (listShape.IsEmpty()) {
-    SetErrorCode("The given shape has no sub-shapes of the requested type");
-    return aSeq;
-  }
-
-//  timer1.Stop();
-//  timer2.Start();
-
-  if (isSorted)
-    SortShapes(listShape);
-
-//  timer2.Stop();
-//  timer3.Start();
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-  Handle(TColStd_HArray1OfInteger) anArray;
-
-  TopTools_ListIteratorOfListOfShape itSub (listShape);
-  TCollection_AsciiString anAsciiList, anEntry;
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    TopoDS_Shape aValue = itSub.Value();
-    anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, anIndices.FindIndex(aValue));
-    anObj = GetEngine()->AddSubShape(theShape, anArray);
-    aSeq->Append(anObj);
-
-    // for python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    anAsciiList += anEntry;
-    anAsciiList += ",";
-  }
-
-  //Make a Python command
-  anAsciiList.Trunc(anAsciiList.Length() - 1);
-
-  aFunction = theShape->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  GEOM::TPythonDump pd (aFunction);
-  pd << anOldDescr.ToCString() << "\n\t[" << anAsciiList.ToCString();
-  pd << "] = geompy.SubShapeAll" << (isSorted ? "Sorted(" : "(");
-  pd << theShape << ", " << theShapeType << ")";
-
-  SetErrorCode(OK);
-
-//  timer4.Stop();
-
-//  cout << "Explosure takes:" << endl;
-//  timer1.Show();
-//  cout << "Sorting takes:" << endl;
-//  timer2.Show();
-//  cout << "Sub-shapes addition takes:" << endl;
-//  timer3.Show();
-//  cout << "Update Description takes:" << endl;
-//  timer4.Show();
-
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetSubShapeAllIDs
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::SubShapeAllIDs
-                                          (Handle(GEOM_Object)    theShape,
-                                           const Standard_Integer theShapeType,
-                                           const Standard_Boolean isSorted)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-  TopTools_MapOfShape mapShape;
-  TopTools_ListOfShape listShape;
-
-  if (aShape.ShapeType() == TopAbs_COMPOUND &&
-      (TopAbs_ShapeEnum(theShapeType) == TopAbs_SHAPE ||
-       TopAbs_ShapeEnum(theShapeType) == TopAbs_COMPSOLID ||
-       TopAbs_ShapeEnum(theShapeType) == TopAbs_COMPOUND)) {
-    TopoDS_Iterator It (aShape, Standard_True, Standard_True);
-    for (; It.More(); It.Next()) {
-      if (mapShape.Add(It.Value())) {
-        if (TopAbs_ShapeEnum(theShapeType) == TopAbs_SHAPE ||
-            TopAbs_ShapeEnum(theShapeType) == It.Value().ShapeType()) {
-          listShape.Append(It.Value());
-        }
-      }
-    }
-  } else {
-    TopExp_Explorer exp (aShape, TopAbs_ShapeEnum(theShapeType));
-    for (; exp.More(); exp.Next())
-      if (mapShape.Add(exp.Current()))
-       listShape.Append(exp.Current());
-  }
-
-  if (listShape.IsEmpty()) {
-    SetErrorCode("The given shape has no sub-shapes of the requested type");
-    return aSeq;
-  }
-
-  if (isSorted)
-    SortShapes(listShape);
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-  Handle(TColStd_HArray1OfInteger) anArray;
-
-  TopTools_ListIteratorOfListOfShape itSub (listShape);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    TopoDS_Shape aValue = itSub.Value();
-    aSeq->Append(anIndices.FindIndex(aValue));
-  }
-
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  //Make a Python command
-  GEOM::TPythonDump pd (aFunction);
-  pd << anOldDescr.ToCString() << "\n\tlistSubShapeIDs = geompy.SubShapeAll";
-  pd << (isSorted ? "SortedIDs(" : "IDs(");
-  pd << theShape << ", " << theShapeType << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetSubShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetSubShape
-                                          (Handle(GEOM_Object)    theMainShape,
-                                           const Standard_Integer theID)
-{
-  SetErrorCode(KO);
-
-  if (theMainShape.IsNull()) return NULL;
-
-  Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1,1);
-  anArray->SetValue(1, theID);
-  Handle(GEOM_Object) anObj = GetEngine()->AddSubShape(theMainShape, anArray,true);
-  if (anObj.IsNull()) {
-    SetErrorCode("Can not get a sub-shape with the given ID");
-    return NULL;
-  }
-
-  Handle(GEOM_Function) aFunction = anObj->GetLastFunction();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anObj << " = geompy.GetSubShape("
-                               << theMainShape << ", [" << theID << "])";
-
-  SetErrorCode(OK);
-  return anObj;
-}
-
-
-//=============================================================================
-/*!
- *  NumberOfFaces
- */
-//=============================================================================
-Standard_Integer GEOMImpl_IShapesOperations::NumberOfFaces (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  Standard_Integer nb = 0;
-
-  if (theShape.IsNull()) return -1;
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return -1;
-
-  TopTools_MapOfShape mapShape;
-
-  TopExp_Explorer exp (aShape, TopAbs_FACE);
-  for (; exp.More(); exp.Next())
-    if (mapShape.Add(exp.Current()))
-      nb++;
-
-  SetErrorCode(OK);
-  return nb;
-}
-
-//=============================================================================
-/*!
- *  NumberOfEdges
- */
-//=============================================================================
-Standard_Integer GEOMImpl_IShapesOperations::NumberOfEdges (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  Standard_Integer nb = 0;
-
-  if (theShape.IsNull()) return -1;
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return -1;
-
-  TopTools_MapOfShape mapShape;
-
-  TopExp_Explorer exp (aShape, TopAbs_EDGE);
-  for (; exp.More(); exp.Next())
-    if (mapShape.Add(exp.Current()))
-      nb++;
-
-  SetErrorCode(OK);
-  return nb;
-}
-
-//=============================================================================
-/*!
- *  ReverseShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::ReverseShape(Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-
-  //Add a new reversed object
-  Handle(GEOM_Object) aReversed = GetEngine()->AddObject(GetDocID(), theShape->GetType());
-
-  //Add a new Revese function
-  Handle(GEOM_Function) aFunction;
-  aFunction = aReversed->AddFunction(GEOMImpl_ShapeDriver::GetID(), REVERSE_ORIENTATION);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ShapeDriver::GetID()) return NULL;
-
-  GEOMImpl_IShapes aSI (aFunction);
-
-  Handle(GEOM_Function) aRefShape = theShape->GetLastFunction();
-  if (aRefShape.IsNull()) return NULL;
-
-  aSI.SetBase(aRefShape);
-
-  //Compute the sub-shape value
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Shape driver failed to reverse shape");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aReversed
-    << " = geompy.ChangeOrientation(" << theShape << ")";
-
-  SetErrorCode(OK);
-  return aReversed;
-}
-
-//=============================================================================
-/*!
- *  GetFreeFacesIDs
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetFreeFacesIDs
-                                                 (Handle(GEOM_Object) theShape)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull()) return NULL;
-  TopoDS_Shape aShape = theShape->GetValue();
-  if (aShape.IsNull()) return NULL;
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-
-  TopTools_IndexedDataMapOfShapeListOfShape mapFaceBlocks;
-  GEOMImpl_Block6Explorer::MapShapesAndAncestors
-    (aShape, TopAbs_FACE, TopAbs_SOLID, mapFaceBlocks);
-
-  Standard_Integer ind = 1, nbFaces = mapFaceBlocks.Extent();
-
-  if (nbFaces == 0) {
-    SetErrorCode("The given shape has no faces");
-    return aSeq;
-  }
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Standard_Integer id;
-  for (; ind <= nbFaces; ind++) {
-    if (mapFaceBlocks.FindFromIndex(ind).Extent() != 2) {
-      id = anIndices.FindIndex(mapFaceBlocks.FindKey(ind));
-      aSeq->Append(id);
-    }
-  }
-
-  //The explode doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << anOldDescr.ToCString()
-    << "\n\tlistFreeFacesIDs = geompy.GetFreeFacesIDs(" << theShape << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetSharedShapes
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetSharedShapes
-                                                (Handle(GEOM_Object)    theShape1,
-                                                 Handle(GEOM_Object)    theShape2,
-                                                 const Standard_Integer theShapeType)
-{
-  SetErrorCode(KO);
-
-  if (theShape1.IsNull() || theShape2.IsNull()) return NULL;
-
-  TopoDS_Shape aShape1 = theShape1->GetValue();
-  TopoDS_Shape aShape2 = theShape2->GetValue();
-
-  if (aShape1.IsNull() || aShape2.IsNull()) return NULL;
-
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape1, anIndices);
-  Handle(TColStd_HArray1OfInteger) anArray;
-
-  TopTools_IndexedMapOfShape mapShape1;
-  TopExp::MapShapes(aShape1, TopAbs_ShapeEnum(theShapeType), mapShape1);
-
-  Handle(GEOM_Object) anObj;
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-  TCollection_AsciiString anAsciiList, anEntry;
-
-  TopTools_MapOfShape mapShape2;
-  TopExp_Explorer exp (aShape2, TopAbs_ShapeEnum(theShapeType));
-  for (; exp.More(); exp.Next()) {
-    TopoDS_Shape aSS = exp.Current();
-    if (mapShape2.Add(aSS) && mapShape1.Contains(aSS)) {
-      anArray = new TColStd_HArray1OfInteger(1,1);
-      anArray->SetValue(1, anIndices.FindIndex(aSS));
-      anObj = GetEngine()->AddSubShape(theShape1, anArray);
-      aSeq->Append(anObj);
-
-      // for python command
-      TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-      anAsciiList += anEntry;
-      anAsciiList += ",";
-    }
-  }
-
-  if (aSeq->IsEmpty()) {
-    SetErrorCode("The given shapes have no shared sub-shapes of the requested type");
-    return aSeq;
-  }
-
-  //Make a Python command
-  anAsciiList.Trunc(anAsciiList.Length() - 1);
-
-  Handle(GEOM_Function) aFunction = anObj->GetLastFunction();
-
-  GEOM::TPythonDump(aFunction) << "[" << anAsciiList.ToCString()
-    << "] = geompy.GetSharedShapes(" << theShape1 << ", "
-      << theShape2 << ", " << theShapeType << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  
- */
-//=============================================================================
-static GEOM::TPythonDump& operator<< (GEOM::TPythonDump&   theDump,
-                                      const GEOMAlgo_State theState)
-{
-  switch (theState) {
-  case GEOMAlgo_ST_IN:
-    theDump << "geompy.GEOM.ST_IN";
-    break;
-  case GEOMAlgo_ST_OUT:
-    theDump << "geompy.GEOM.ST_OUT";
-    break;
-  case GEOMAlgo_ST_ON:
-    theDump << "geompy.GEOM.ST_ON";
-    break;
-  case GEOMAlgo_ST_ONIN:
-    theDump << "geompy.GEOM.ST_ONIN";
-    break;
-  case GEOMAlgo_ST_ONOUT:
-    theDump << "geompy.GEOM.ST_ONOUT";
-    break;
-  default:
-    theDump << "geompy.GEOM.ST_UNKNOWN";
-    break;
-  }
-  return theDump;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnPlane
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetShapesOnPlane
-                                        (const Handle(GEOM_Object)& theShape,
-                                         const Standard_Integer     theShapeType,
-                                         const Handle(GEOM_Object)& theAx1,
-                                         const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-//  MESSAGE("--------------------------- GetShapesOnPlane phase 1 takes:");
-//  OSD_Timer timer1;
-//  timer1.Start();
-
-  if (theShape.IsNull() || theAx1.IsNull()) return NULL;
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  TopoDS_Shape anAx1  = theAx1->GetValue();
-
-  if (aShape.IsNull() || anAx1.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  // Create plane
-  if (anAx1.ShapeType() != TopAbs_EDGE) return NULL;
-  TopoDS_Edge anEdge = TopoDS::Edge(anAx1);
-  TopoDS_Vertex V1, V2;
-  TopExp::Vertices(anEdge, V1, V2, Standard_True);
-  if (V1.IsNull() || V2.IsNull()) {
-    SetErrorCode("Bad edge given for the plane normal vector");
-    return NULL;
-  }
-  gp_Pnt aLoc = BRep_Tool::Pnt(V1);
-  gp_Vec aVec (aLoc, BRep_Tool::Pnt(V2));
-  if (aVec.Magnitude() < Precision::Confusion()) {
-    SetErrorCode("Vector with null magnitude given");
-    return NULL;
-  }
-
-  Handle(Geom_Plane) aPlane = new Geom_Plane(aLoc, aVec);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aPlane);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  // Sets the minimal number of inner points for the faces that do not have own
-  // inner points at all (for e.g. rectangular planar faces have just 2 triangles).
-  // Default value=3
-  aFinder.SetNbPntsMin(3);
-  // Sets the maximal number of inner points for edges or faces.
-  // It is usefull for the cases when this number is very big (e.g =2000) to improve
-  // the performance. If this value =0, all inner points will be taken into account.
-  // Default value=0
-  aFinder.SetNbPntsMax(100);
-
-//  timer1.Stop();
-//  timer1.Show();
-
-//  MESSAGE("--------------------------- Perform on Plane takes:");
-//  timer1.Reset();
-//  timer1.Start();
-  aFinder.Perform();
-//  timer1.Stop();
-//  timer1.Show();
-
-//  MESSAGE("--------------------------- GetShapesOnPlane phase 3 takes:");
-//  timer1.Reset();
-//  timer1.Start();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given plane");
-    return NULL;
-  }
-
-//  timer1.Stop();
-//  timer1.Show();
-
-//  MESSAGE("--------------------------- GetShapesOnPlane phase 4 takes:");
-//  timer1.Reset();
-//  timer1.Start();
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(GEOM_Object) anObj;
-  Handle(TColStd_HArray1OfInteger) anArray;
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-  TCollection_AsciiString anAsciiList, anEntry;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, id);
-    anObj = GetEngine()->AddSubShape(theShape, anArray);
-    aSeq->Append(anObj);
-
-    // for python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    anAsciiList += anEntry;
-    anAsciiList += ",";
-  }
-
-//  timer1.Stop();
-//  timer1.Show();
-
-//  MESSAGE("--------------------------- GetShapesOnPlane phase 5 takes:");
-//  timer1.Reset();
-//  timer1.Start();
-  
-  // Make a Python command
-  anAsciiList.Trunc(anAsciiList.Length() - 1);
-
-  Handle(GEOM_Function) aFunction = anObj->GetLastFunction();
-
-  GEOM::TPythonDump(aFunction) << "[" << anAsciiList.ToCString()
-    << "] = geompy.GetShapesOnPlane(" << theShape << ", "
-      << theShapeType << ", " << theAx1 << ", " << theState << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnCylinder
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetShapesOnCylinder
-                                          (const Handle(GEOM_Object)& theShape,
-                                           const Standard_Integer     theShapeType,
-                                           const Handle(GEOM_Object)& theAxis,
-                                           const Standard_Real        theRadius,
-                                           const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || theAxis.IsNull()) return NULL;
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  TopoDS_Shape anAxis = theAxis->GetValue();
-
-  if (aShape.IsNull() || anAxis.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  //Axis of the cylinder
-  if (anAxis.ShapeType() != TopAbs_EDGE) {
-    SetErrorCode("Not an edge given for the axis");
-    return NULL;
-  }
-  TopoDS_Edge anEdge = TopoDS::Edge(anAxis);
-  TopoDS_Vertex V1, V2;
-  TopExp::Vertices(anEdge, V1, V2, Standard_True);
-  if (V1.IsNull() || V2.IsNull()) {
-    SetErrorCode("Bad edge given for the axis");
-    return NULL;
-  }
-  gp_Pnt aLoc = BRep_Tool::Pnt(V1);
-  gp_Vec aVec (aLoc, BRep_Tool::Pnt(V2));
-  if (aVec.Magnitude() < Precision::Confusion()) {
-    SetErrorCode("Vector with null magnitude given");
-    return NULL;
-  }
-
-  gp_Ax3 anAx3 (aLoc, aVec);
-  Handle(Geom_CylindricalSurface) aCylinder =
-    new Geom_CylindricalSurface(anAx3, theRadius);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aCylinder);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  aFinder.SetNbPntsMin(3);
-  aFinder.SetNbPntsMax(100);
-
-  aFinder.Perform();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given cylinder");
-    return NULL;
-  }
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(GEOM_Object) anObj;
-  Handle(TColStd_HArray1OfInteger) anArray;
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-  TCollection_AsciiString anAsciiList, anEntry;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, id);
-    anObj = GetEngine()->AddSubShape(theShape, anArray);
-    aSeq->Append(anObj);
-
-    // for python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    anAsciiList += anEntry;
-    anAsciiList += ",";
-  }
-  
-  // Make a Python command
-  anAsciiList.Trunc(anAsciiList.Length() - 1);
-
-  Handle(GEOM_Function) aFunction = anObj->GetLastFunction();
-
-  GEOM::TPythonDump(aFunction) << "[" << anAsciiList.ToCString()
-    << "] = geompy.GetShapesOnCylinder(" << theShape << ", " << theShapeType
-      << ", " << theAxis << ", " << theRadius << ", " << theState << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnSphere
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetShapesOnSphere
-                                          (const Handle(GEOM_Object)& theShape,
-                                           const Standard_Integer     theShapeType,
-                                           const Handle(GEOM_Object)& theCenter,
-                                           const Standard_Real        theRadius,
-                                           const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || theCenter.IsNull()) return NULL;
-
-  TopoDS_Shape aShape  = theShape->GetValue();
-  TopoDS_Shape aCenter = theCenter->GetValue();
-
-  if (aShape.IsNull() || aCenter.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  // Center of the sphere
-  if (aCenter.ShapeType() != TopAbs_VERTEX) return NULL;
-  gp_Pnt aLoc = BRep_Tool::Pnt(TopoDS::Vertex(aCenter));
-
-  gp_Ax3 anAx3 (aLoc, gp::DZ());
-  Handle(Geom_SphericalSurface) aSphere =
-    new Geom_SphericalSurface(anAx3, theRadius);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aSphere);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  aFinder.SetNbPntsMin(3);
-  aFinder.SetNbPntsMax(100);
-
-  aFinder.Perform();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given sphere");
-    return NULL;
-  }
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(GEOM_Object) anObj;
-  Handle(TColStd_HArray1OfInteger) anArray;
-  Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
-  TCollection_AsciiString anAsciiList, anEntry;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    anArray = new TColStd_HArray1OfInteger(1,1);
-    anArray->SetValue(1, id);
-    anObj = GetEngine()->AddSubShape(theShape, anArray);
-    aSeq->Append(anObj);
-
-    // for python command
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    anAsciiList += anEntry;
-    anAsciiList += ",";
-  }
-  
-  // Make a Python command
-  anAsciiList.Trunc(anAsciiList.Length() - 1);
-
-  Handle(GEOM_Function) aFunction = anObj->GetLastFunction();
-
-  GEOM::TPythonDump(aFunction) << "[" << anAsciiList.ToCString()
-    << "] = geompy.GetShapesOnSphere(" << theShape << ", " << theShapeType
-      << ", " << theCenter << ", " << theRadius << ", " << theState << ")";
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-//=============================================================================
-/*!
- *  GetShapesOnPlaneIDs
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetShapesOnPlaneIDs
-                                        (const Handle(GEOM_Object)& theShape,
-                                         const Standard_Integer     theShapeType,
-                                         const Handle(GEOM_Object)& theAx1,
-                                         const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || theAx1.IsNull()) return NULL;
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  TopoDS_Shape anAx1  = theAx1->GetValue();
-
-  if (aShape.IsNull() || anAx1.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  // Create plane
-  if (anAx1.ShapeType() != TopAbs_EDGE) return NULL;
-  TopoDS_Edge anEdge = TopoDS::Edge(anAx1);
-  TopoDS_Vertex V1, V2;
-  TopExp::Vertices(anEdge, V1, V2, Standard_True);
-  if (V1.IsNull() || V2.IsNull()) {
-    SetErrorCode("Bad edge given for the plane normal vector");
-    return NULL;
-  }
-  gp_Pnt aLoc = BRep_Tool::Pnt(V1);
-  gp_Vec aVec (aLoc, BRep_Tool::Pnt(V2));
-  if (aVec.Magnitude() < Precision::Confusion()) {
-    SetErrorCode("Vector with null magnitude given");
-    return NULL;
-  }
-
-  Handle(Geom_Plane) aPlane = new Geom_Plane(aLoc, aVec);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aPlane);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  aFinder.SetNbPntsMin(3);
-  aFinder.SetNbPntsMax(100);
-
-  aFinder.Perform();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given plane");
-    return NULL;
-  }
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    aSeq->Append(id);
-  }
-
-  // The GetShapesOnPlane() doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-
-  // Make a Python command
-  TCollection_AsciiString anEntry, aDescr
-    ("\nlistShapesOnPlane = IShapesOperations.GetShapesOnPlaneIDs(");
-  TDF_Tool::Entry(theShape->GetEntry(), anEntry);
-  aDescr += anEntry + TCollection_AsciiString(theShapeType) + ",";
-  TDF_Tool::Entry(theAx1->GetEntry(), anEntry);
-  aDescr += anEntry + ",";
-  aDescr += TCollection_AsciiString(theState) + ")";
-
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-  anOldDescr += aDescr;
-  aFunction->SetDescription(anOldDescr);
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnCylinderIDs
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetShapesOnCylinderIDs
-                                          (const Handle(GEOM_Object)& theShape,
-                                           const Standard_Integer     theShapeType,
-                                           const Handle(GEOM_Object)& theAxis,
-                                           const Standard_Real        theRadius,
-                                           const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || theAxis.IsNull()) return NULL;
-
-  TopoDS_Shape aShape = theShape->GetValue();
-  TopoDS_Shape anAxis = theAxis->GetValue();
-
-  if (aShape.IsNull() || anAxis.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  //Axis of the cylinder
-  if (anAxis.ShapeType() != TopAbs_EDGE) {
-    SetErrorCode("Not an edge given for the axis");
-    return NULL;
-  }
-  TopoDS_Edge anEdge = TopoDS::Edge(anAxis);
-  TopoDS_Vertex V1, V2;
-  TopExp::Vertices(anEdge, V1, V2, Standard_True);
-  if (V1.IsNull() || V2.IsNull()) {
-    SetErrorCode("Bad edge given for the axis");
-    return NULL;
-  }
-  gp_Pnt aLoc = BRep_Tool::Pnt(V1);
-  gp_Vec aVec (aLoc, BRep_Tool::Pnt(V2));
-  if (aVec.Magnitude() < Precision::Confusion()) {
-    SetErrorCode("Vector with null magnitude given");
-    return NULL;
-  }
-
-  gp_Ax3 anAx3 (aLoc, aVec);
-  Handle(Geom_CylindricalSurface) aCylinder =
-    new Geom_CylindricalSurface(anAx3, theRadius);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aCylinder);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  aFinder.SetNbPntsMin(3);
-  aFinder.SetNbPntsMax(100);
-
-  aFinder.Perform();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given cylinder");
-    return NULL;
-  }
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    aSeq->Append(id);
-  }
-  
-  // The GetShapesOnCylinder() doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-
-  // Make a Python command
-  TCollection_AsciiString anEntry, aDescr
-    ("\nlistShapesOnCylinder = IShapesOperations.GetShapesOnCylinderIDs(");
-  TDF_Tool::Entry(theShape->GetEntry(), anEntry);
-  aDescr += anEntry + TCollection_AsciiString(theShapeType) + ",";
-  TDF_Tool::Entry(theAxis->GetEntry(), anEntry);
-  aDescr += anEntry + ",";
-  aDescr += TCollection_AsciiString(theRadius) + ",";
-  aDescr += TCollection_AsciiString(theState) + ")";
-
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-  anOldDescr += aDescr;
-  aFunction->SetDescription(anOldDescr);
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnSphereIDs
- */
-//=============================================================================
-Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::GetShapesOnSphereIDs
-                                          (const Handle(GEOM_Object)& theShape,
-                                           const Standard_Integer     theShapeType,
-                                           const Handle(GEOM_Object)& theCenter,
-                                           const Standard_Real        theRadius,
-                                           const GEOMAlgo_State       theState)
-{
-  SetErrorCode(KO);
-
-  if (theShape.IsNull() || theCenter.IsNull()) return NULL;
-
-  TopoDS_Shape aShape  = theShape->GetValue();
-  TopoDS_Shape aCenter = theCenter->GetValue();
-
-  if (aShape.IsNull() || aCenter.IsNull()) return NULL;
-
-  TopAbs_ShapeEnum aShapeType = TopAbs_ShapeEnum(theShapeType);
-  if (aShapeType != TopAbs_VERTEX &&
-      aShapeType != TopAbs_EDGE &&
-      aShapeType != TopAbs_FACE &&
-      aShapeType != TopAbs_SOLID) {
-    SetErrorCode("Only solids, vertices, edges or faces can be found by this method");
-    return NULL;
-  }
-
-  // Center of the sphere
-  if (aCenter.ShapeType() != TopAbs_VERTEX) return NULL;
-  gp_Pnt aLoc = BRep_Tool::Pnt(TopoDS::Vertex(aCenter));
-
-  gp_Ax3 anAx3 (aLoc, gp::DZ());
-  Handle(Geom_SphericalSurface) aSphere =
-    new Geom_SphericalSurface(anAx3, theRadius);
-
-  // Check presence of triangulation, build if need
-  if (!CheckTriangulation(aShape))
-    return NULL;
-
-  // Call algo
-  GEOMAlgo_FinderShapeOn1 aFinder;
-  Standard_Real aTol = 0.0001; // default value
-
-  aFinder.SetShape(aShape);
-  aFinder.SetTolerance(aTol);
-  aFinder.SetSurface(aSphere);
-  aFinder.SetShapeType(aShapeType);
-  aFinder.SetState(theState);
-
-  aFinder.SetNbPntsMin(3);
-  aFinder.SetNbPntsMax(100);
-
-  aFinder.Perform();
-
-  // Interprete results
-  Standard_Integer iErr = aFinder.ErrorStatus();
-  // the detailed description of error codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iErr) {
-    MESSAGE(" iErr : " << iErr);
-    TCollection_AsciiString aMsg (" iErr : ");
-    aMsg += TCollection_AsciiString(iErr);
-    SetErrorCode(aMsg);
-    return NULL;
-  }
-  Standard_Integer iWrn = aFinder.WarningStatus();
-  // the detailed description of warning codes is in GEOMAlgo_FinderShapeOn1.cxx
-  if (iWrn) {
-    MESSAGE(" *** iWrn : " << iWrn);
-  }
-
-  const TopTools_ListOfShape& listSS = aFinder.Shapes(); // the result
-
-  if (listSS.Extent() < 1) {
-    SetErrorCode("Not a single sub-shape of the requested type found on the given sphere");
-    return NULL;
-  }
-
-  // Fill sequence of objects
-  TopTools_IndexedMapOfShape anIndices;
-  TopExp::MapShapes(aShape, anIndices);
-
-  Handle(TColStd_HSequenceOfInteger) aSeq = new TColStd_HSequenceOfInteger;
-
-  TopTools_ListIteratorOfListOfShape itSub (listSS);
-  for (int index = 1; itSub.More(); itSub.Next(), ++index) {
-    int id = anIndices.FindIndex(itSub.Value());
-    aSeq->Append(id);
-  }
-  
-  // The GetShapesOnSphere() doesn't change object so no new function is required.
-  Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
-
-  // Make a Python command
-  TCollection_AsciiString anEntry, aDescr
-    ("\nlistShapesOnSphere = IShapesOperations.GetShapesOnSphereIDs(");
-  TDF_Tool::Entry(theShape->GetEntry(), anEntry);
-  aDescr += anEntry + TCollection_AsciiString(theShapeType) + ",";
-  TDF_Tool::Entry(theCenter->GetEntry(), anEntry);
-  aDescr += anEntry + ",";
-  aDescr += TCollection_AsciiString(theRadius) + ",";
-  aDescr += TCollection_AsciiString(theState) + ")";
-
-  TCollection_AsciiString anOldDescr = aFunction->GetDescription();
-  anOldDescr += aDescr;
-  aFunction->SetDescription(anOldDescr);
-
-  SetErrorCode(OK);
-  return aSeq;
-}
-
-//=============================================================================
-/*!
- *  GetInPlace
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlace
-                                          (Handle(GEOM_Object) theShapeWhere,
-                                           Handle(GEOM_Object) theShapeWhat)
-{
-  SetErrorCode(KO);
-
-  if (theShapeWhere.IsNull() || theShapeWhat.IsNull()) return NULL;
-
-  TopoDS_Shape aWhere = theShapeWhere->GetValue();
-  TopoDS_Shape aWhat  = theShapeWhat->GetValue();
-
-  if (aWhere.IsNull() || aWhat.IsNull()) return NULL;
-
-  //Fill array of indices
-  Handle(TColStd_HArray1OfInteger) aModifiedArray;
-
-  Handle(GEOM_Function) aWhereFunction = theShapeWhere->GetLastFunction();
-
-  TopTools_IndexedMapOfShape aWhereIndices;
-  TopExp::MapShapes(aWhere, aWhereIndices);
-
-  if (aWhereIndices.Contains(aWhat)) {
-
-    // entity was not changed by the operation
-    Standard_Integer aWhatIndex = aWhereIndices.FindIndex(aWhat);
-    aModifiedArray = new TColStd_HArray1OfInteger(1,1);
-    aModifiedArray->SetValue(1, aWhatIndex);
-
-  } else {
-
-    TDF_Label aHistoryLabel = aWhereFunction->GetHistoryEntry(Standard_False);
-    if (aHistoryLabel.IsNull()) {
-      SetErrorCode("Modifications history does not exist for the shape under consideration.");
-      return NULL;
-    }
-
-    // search in history for all argument shapes
-    Standard_Boolean isFound = Standard_False;
-
-    TDF_LabelSequence aLabelSeq;
-    aWhereFunction->GetDependency(aLabelSeq);
-    Standard_Integer nbArg = aLabelSeq.Length();
-
-    for (Standard_Integer iarg = 1; iarg <= nbArg && !isFound; iarg++) {
-
-      TDF_Label anArgumentRefLabel = aLabelSeq.Value(iarg);
-
-      Handle(GEOM_Object) anArgumentObject = GEOM_Object::GetReferencedObject(anArgumentRefLabel);
-      TopoDS_Shape anArgumentShape = anArgumentObject->GetValue();
-
-      TopTools_IndexedMapOfShape anArgumentIndices;
-      TopExp::MapShapes(anArgumentShape, anArgumentIndices);
-
-      if (anArgumentIndices.Contains(aWhat)) {
-        isFound = Standard_True;
-        Standard_Integer aWhatIndex = anArgumentIndices.FindIndex(aWhat);
-
-        // Find corresponding label in history
-        TDF_Label anArgumentHistoryLabel =
-          aWhereFunction->GetArgumentHistoryEntry(anArgumentRefLabel, Standard_False);
-        if (anArgumentHistoryLabel.IsNull()) {
-          // Lost History of operation argument. Possibly, all its entities was removed.
-          SetErrorCode(OK);
-          return NULL;
-        }
-
-        TDF_Label aWhatHistoryLabel = anArgumentHistoryLabel.FindChild(aWhatIndex, Standard_False);
-        if (aWhatHistoryLabel.IsNull()) {
-          // Removed entity
-          SetErrorCode(OK);
-          return NULL;
-        }
-
-        Handle(TDataStd_IntegerArray) anIntegerArray;
-        if (!aWhatHistoryLabel.FindAttribute(TDataStd_IntegerArray::GetID(), anIntegerArray)) {
-          SetErrorCode("Error: Empty modifications history for the sought shape.");
-          return NULL;
-        }
-
-        aModifiedArray = anIntegerArray->Array();
-        if (aModifiedArray->Length() == 0) {
-          SetErrorCode("Error: Empty modifications history for the sought shape.");
-          return NULL;
-        }
-      }
-    }
-
-    if (!isFound) {
-      SetErrorCode("The sought shape does not belong to any operation argument.");
-      return NULL;
-    }
-  }
-
-  //Add a new object
-  Handle(GEOM_Object) aResult = GetEngine()->AddSubShape(theShapeWhere, aModifiedArray);
-
-  if (aModifiedArray->Length() > 1) {
-    //Set a GROUP type
-    aResult->SetType(GEOM_GROUP);
-
-    //Set a sub shape type
-    TDF_Label aFreeLabel = aResult->GetFreeLabel();
-    TopAbs_ShapeEnum aShapeType = aWhat.ShapeType();
-    TDataStd_Integer::Set(aFreeLabel, (Standard_Integer)aShapeType);
-  }
-
-  //Make a Python command
-  Handle(GEOM_Function) aFunction = aResult->GetFunction(1);
-
-  GEOM::TPythonDump(aFunction) << aResult << " = geompy.GetInPlace("
-    << theShapeWhere << ", " << theShapeWhat << ")";
-
-  SetErrorCode(OK);
-  return aResult;
-}
-
-//=======================================================================
-//function : SortShapes
-//purpose  :
-//=======================================================================
-void GEOMImpl_IShapesOperations::SortShapes(TopTools_ListOfShape& SL)
-{
-  Standard_Integer MaxShapes = SL.Extent();
-  TopTools_Array1OfShape  aShapes (1,MaxShapes);
-  TColStd_Array1OfInteger OrderInd(1,MaxShapes);
-  TColStd_Array1OfReal    MidXYZ  (1,MaxShapes); //X,Y,Z;
-  TColStd_Array1OfReal    Length  (1,MaxShapes); //X,Y,Z;
-
-  // Computing of CentreOfMass
-  Standard_Integer Index;
-  GProp_GProps GPr;
-  gp_Pnt GPoint;
-  TopTools_ListIteratorOfListOfShape it(SL);
-  for (Index=1;  it.More();  Index++)
-  {
-    TopoDS_Shape S = it.Value();
-    SL.Remove( it ); // == it.Next()
-    aShapes(Index) = S;
-    OrderInd.SetValue (Index, Index);
-    if (S.ShapeType() == TopAbs_VERTEX)
-    {
-      GPoint = BRep_Tool::Pnt( TopoDS::Vertex( S ));
-      Length.SetValue( Index, (Standard_Real) S.Orientation());
-    }
-    else
-    {
-      BRepGProp::LinearProperties (S, GPr);
-      GPoint = GPr.CentreOfMass();
-      Length.SetValue( Index, GPr.Mass() );
-    }
-    MidXYZ.SetValue(Index,
-                   GPoint.X()*999 + GPoint.Y()*99 + GPoint.Z()*0.9);
-  }
-  // Sorting
-  Standard_Integer aTemp;
-  Standard_Boolean exchange, Sort = Standard_True;
-  while (Sort)
-  {
-    Sort = Standard_False;
-    for (Index=1; Index < MaxShapes; Index++)
-    {
-      if (MidXYZ(OrderInd(Index)) > MidXYZ(OrderInd(Index+1)))
-       exchange = Standard_True;
-      else if (MidXYZ(OrderInd(Index)) == MidXYZ(OrderInd(Index+1)) &&
-              Length(OrderInd(Index)) >  Length(OrderInd(Index+1)) )
-       exchange = Standard_True;
-      else
-       exchange = Standard_False;
-      if (exchange)
-      {
-        aTemp = OrderInd(Index);
-        OrderInd(Index) = OrderInd(Index+1);
-        OrderInd(Index+1) = aTemp;
-        Sort = Standard_True;
-      }
-    }
-  }
-  for (Index=1; Index <= MaxShapes; Index++)
-    SL.Append( aShapes( OrderInd(Index) ));
-}
-
-//=======================================================================
-//function : CheckTriangulation
-//purpose  :
-//=======================================================================
-bool GEOMImpl_IShapesOperations::CheckTriangulation (const TopoDS_Shape& aShape)
-{
-//  MESSAGE("CheckTriangulation");
-//
-//  OSD_Timer timer1;
-//  timer1.Start();
-
-  TopExp_Explorer exp (aShape, TopAbs_FACE);
-  if (!exp.More()) {
-    SetErrorCode("Shape without faces given");
-    return false;
-  }
-
-  TopLoc_Location aTopLoc;
-  Handle(Poly_Triangulation) aTRF;
-  aTRF = BRep_Tool::Triangulation(TopoDS::Face(exp.Current()), aTopLoc);
-  if (aTRF.IsNull()) {
-    // calculate deflection
-    Standard_Real aDeviationCoefficient = 0.001;
-
-    Bnd_Box B;
-    BRepBndLib::Add(aShape, B);
-    Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax;
-    B.Get(aXmin, aYmin, aZmin, aXmax, aYmax, aZmax);
-
-    Standard_Real dx = aXmax - aXmin, dy = aYmax - aYmin, dz = aZmax - aZmin;
-    Standard_Real aDeflection = Max(Max(dx, dy), dz) * aDeviationCoefficient * 4;
-
-//    MESSAGE("Deflection = " << aDeflection);
-
-    Standard_Real aHLRAngle = 0.349066;
-
-    BRepMesh_IncrementalMesh Inc (aShape, aDeflection, Standard_False, aHLRAngle);
-  }
-//  timer1.Stop();
-//  timer1.Show();
-
-  return true;
-}
diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.hxx
deleted file mode 100644 (file)
index 46c0f85..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-
-#ifndef _GEOMImpl_IShapesOperations_HXX_
-#define _GEOMImpl_IShapesOperations_HXX_
-
-#include "GEOM_IOperations.hxx"
-
-#include "GEOMAlgo_State.hxx"
-
-#include <TopTools_ListOfShape.hxx>
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <TColStd_HSequenceOfInteger.hxx>
-
-#include <list>
-
-class GEOM_Engine;
-class Handle(GEOM_Object);
-class Handle(TColStd_HArray1OfInteger);
-
-class GEOMImpl_IShapesOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_IShapesOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_IShapesOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
-                                Handle(GEOM_Object) thePoint2);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeWire (list<Handle(GEOM_Object)> theEdgesAndWires);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeFace (Handle(GEOM_Object) theWire, const bool isPlanarWanted);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeFaceWires (list<Handle(GEOM_Object)> theWires,
-                                     const bool isPlanarWanted);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeShell (list<Handle(GEOM_Object)> theShapes);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSolidShell (Handle(GEOM_Object) theShell);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeSolidShells (list<Handle(GEOM_Object)> theShells);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeCompound (list<Handle(GEOM_Object)> theShapes);
-
-  Standard_EXPORT Handle(GEOM_Object) MakeGlueFaces (Handle(GEOM_Object) theShape,
-                                     const Standard_Real theTolerance);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode (Handle(GEOM_Object)    theShape,
-                                                    const Standard_Integer theShapeType,
-                                                    const Standard_Boolean isSorted);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfInteger) SubShapeAllIDs (Handle(GEOM_Object)    theShape,
-                                                     const Standard_Integer theShapeType,
-                                                     const Standard_Boolean isSorted);
-
-  Standard_EXPORT Handle(GEOM_Object) GetSubShape (Handle(GEOM_Object)    theMainShape,
-                                   const Standard_Integer theID);
-
-  Standard_EXPORT Standard_Integer NumberOfFaces (Handle(GEOM_Object) theShape);
-  Standard_EXPORT Standard_Integer NumberOfEdges (Handle(GEOM_Object) theShape);
-
-  Standard_EXPORT Handle(GEOM_Object) ReverseShape(Handle(GEOM_Object) theShapes);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetFreeFacesIDs (Handle(GEOM_Object) theShape);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetSharedShapes (Handle(GEOM_Object)    theShape1,
-                                                        Handle(GEOM_Object)    theShape2,
-                                                        const Standard_Integer theShapeType);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetShapesOnPlane (const Handle(GEOM_Object)& theShape,
-                                                         const Standard_Integer     theShapeType,
-                                                         const Handle(GEOM_Object)& theAx1,
-                                                         const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetShapesOnCylinder (const Handle(GEOM_Object)& theShape,
-                                                            const Standard_Integer     theShapeType,
-                                                            const Handle(GEOM_Object)& theAxis,
-                                                            const Standard_Real        theRadius,
-                                                            const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetShapesOnSphere (const Handle(GEOM_Object)& theShape,
-                                                          const Standard_Integer     theShapeType,
-                                                          const Handle(GEOM_Object)& theCenter,
-                                                          const Standard_Real        theRadius,
-                                                          const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetShapesOnPlaneIDs (const Handle(GEOM_Object)& theShape,
-                                                          const Standard_Integer     theShapeType,
-                                                          const Handle(GEOM_Object)& theAx1,
-                                                          const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetShapesOnCylinderIDs (const Handle(GEOM_Object)& theShape,
-                                                             const Standard_Integer     theShapeType,
-                                                             const Handle(GEOM_Object)& theAxis,
-                                                             const Standard_Real        theRadius,
-                                                             const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetShapesOnSphereIDs (const Handle(GEOM_Object)& theShape,
-                                                           const Standard_Integer     theShapeType,
-                                                           const Handle(GEOM_Object)& theCenter,
-                                                           const Standard_Real        theRadius,
-                                                           const GEOMAlgo_State       theState);
-
-  Standard_EXPORT Handle(GEOM_Object) GetShapesOnCylinderOld (Handle(GEOM_Object)    theShape,
-                                              const Standard_Integer theShapeType,
-                                              Handle(GEOM_Object)    theAxis,
-                                              const Standard_Real    theRadius);
-
-  Standard_EXPORT Handle(GEOM_Object) GetShapesOnSphereOld (Handle(GEOM_Object)    theShape,
-                                            const Standard_Integer theShapeType,
-                                            Handle(GEOM_Object)    theCenter,
-                                            const Standard_Real    theRadius);
-
-  Standard_EXPORT Handle(GEOM_Object) GetInPlace (Handle(GEOM_Object) theShapeWhere,
-                                  Handle(GEOM_Object) theShapeWhat);
-
-  Standard_EXPORT static void SortShapes (TopTools_ListOfShape& SL);
-
- private:
-  Handle(GEOM_Object) MakeShape (list<Handle(GEOM_Object)>      theShapes,
-                                 const Standard_Integer         theObjectType,
-                                 const Standard_Integer         theFunctionType,
-                                 const TCollection_AsciiString& theMethodName);
-
-  bool CheckTriangulation (const TopoDS_Shape& aShape);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ISketcher.hxx b/src/GEOMImpl/GEOMImpl_ISketcher.hxx
deleted file mode 100644 (file)
index b32dab4..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-//NOTE: This is an interface to a function for the Sketcher creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define SKETCH_ARG_CMD 1
-#define SKETCH_ARG_DOUBLE 2
-#define SKETCH_ARG_WPLANE 12
-
-class GEOMImpl_ISketcher
-{
- public:
-
-  GEOMImpl_ISketcher(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetCommand(const TCollection_AsciiString& theCommand)
-  { _func->SetString(SKETCH_ARG_CMD, theCommand); }
-
-  TCollection_AsciiString GetCommand() { return _func->GetString(SKETCH_ARG_CMD); }
-
-  void SetWorkingPlane(int theInd, double theValue)
-              { _func->SetReal(SKETCH_ARG_DOUBLE + theInd, theValue); }
-
-  double GetWorkingPlane(int theInd) { return _func->GetReal(SKETCH_ARG_DOUBLE + theInd); }
-
-  void SetWorkingPlane(Handle(GEOM_Function) thePlane)
-              { _func->SetReference(SKETCH_ARG_WPLANE, thePlane); }
-
-  Handle(GEOM_Function) GetWorkingPlane() { return _func->GetReference(SKETCH_ARG_WPLANE); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ISphere.hxx b/src/GEOMImpl/GEOMImpl_ISphere.hxx
deleted file mode 100644 (file)
index 048e56c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//NOTE: This is an intreface to a function for the Sphere creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define SPH_ARG_R   1
-#define SPH_ARG_PNT 4
-
-class GEOMImpl_ISphere
-{
- public:
-
-  GEOMImpl_ISphere(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetR(double theR) { _func->SetReal(SPH_ARG_R, theR); }
-
-  double GetR() { return _func->GetReal(SPH_ARG_R); }
-
-  void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(SPH_ARG_PNT, theRefPoint); }
-
-  Handle(GEOM_Function) GetPoint() { return _func->GetReference(SPH_ARG_PNT); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ISpline.hxx b/src/GEOMImpl/GEOMImpl_ISpline.hxx
deleted file mode 100644 (file)
index 19880be..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//NOTE: This is an intreface to a function for the Spline creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define SPL_ARG_LENG 1
-#define SPL_ARG_LAST 1
-
-class GEOMImpl_ISpline
-{
- public:
-
-  GEOMImpl_ISpline(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetLength(int theLen) { _func->SetInteger(SPL_ARG_LENG, theLen); }
-
-  void SetPoint(int theId, Handle(GEOM_Function) theP) { _func->SetReference(SPL_ARG_LAST + theId, theP); }
-
-  int GetLength() { return _func->GetInteger(SPL_ARG_LENG); }
-
-  Handle(GEOM_Function) GetPoint(int theId) { return _func->GetReference(SPL_ARG_LAST + theId); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ITorus.hxx b/src/GEOMImpl/GEOMImpl_ITorus.hxx
deleted file mode 100644 (file)
index 8bbca42..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//NOTE: This is an intreface to a function for the Torus creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define TORUS_ARG_CC   1
-#define TORUS_ARG_VV   2
-#define TORUS_ARG_RMAJ 3
-#define TORUS_ARG_RMIN 4
-
-class GEOMImpl_ITorus
-{
- public:
-
-  GEOMImpl_ITorus(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetCenter(Handle(GEOM_Function) theP) { _func->SetReference(TORUS_ARG_CC, theP); }
-  void SetVector(Handle(GEOM_Function) theV) { _func->SetReference(TORUS_ARG_VV, theV); }
-
-  void SetRMajor(double theR) { _func->SetReal(TORUS_ARG_RMAJ, theR); }
-  void SetRMinor(double theR) { _func->SetReal(TORUS_ARG_RMIN, theR); }
-
-  Handle(GEOM_Function) GetCenter() { return _func->GetReference(TORUS_ARG_CC); }
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(TORUS_ARG_VV); }
-
-  double GetRMajor() { return _func->GetReal(TORUS_ARG_RMAJ); }
-  double GetRMinor() { return _func->GetReal(TORUS_ARG_RMIN); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ITransformOperations.cxx b/src/GEOMImpl/GEOMImpl_ITransformOperations.cxx
deleted file mode 100644 (file)
index 7d6c5c7..0000000
+++ /dev/null
@@ -1,1310 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ITransformOperations.hxx>
-
-#include "utilities.h"
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-
-#include <TFunction_DriverTable.hxx>
-#include <TFunction_Driver.hxx>
-#include <TFunction_Logbook.hxx>
-#include <TDF_Tool.hxx>
-
-#include <GEOM_Function.hxx>
-#include <GEOM_PythonDump.hxx>
-
-#include <GEOMImpl_TranslateDriver.hxx>
-#include <GEOMImpl_MirrorDriver.hxx>
-#include <GEOMImpl_OffsetDriver.hxx>
-#include <GEOMImpl_ScaleDriver.hxx>
-#include <GEOMImpl_RotateDriver.hxx>
-#include <GEOMImpl_PositionDriver.hxx>
-
-#include <GEOMImpl_ITranslate.hxx>
-#include <GEOMImpl_IMirror.hxx>
-#include <GEOMImpl_IOffset.hxx>
-#include <GEOMImpl_IScale.hxx>
-#include <GEOMImpl_IRotate.hxx>
-#include <GEOMImpl_IPosition.hxx>
-
-#include <GEOMImpl_Types.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOMImpl_ITransformOperations::GEOMImpl_ITransformOperations (GEOM_Engine* theEngine, int theDocID)
-: GEOM_IOperations(theEngine, theDocID)
-{
-  MESSAGE("GEOMImpl_ITransformOperations::GEOMImpl_ITransformOperations");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOMImpl_ITransformOperations::~GEOMImpl_ITransformOperations()
-{
-  MESSAGE("GEOMImpl_ITransformOperations::~GEOMImpl_ITransformOperations");
-}
-
-
-//=============================================================================
-/*!
- *  TranslateTwoPoints
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateTwoPoints
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint1, Handle(GEOM_Object) thePoint2)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint1.IsNull() || thePoint2.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aP1F = thePoint1->GetLastFunction();
-  Handle(GEOM_Function) aP2F = thePoint2->GetLastFunction();
-
-  //Add a translate function
-  aFunction = theObject->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_TWO_POINTS);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI (aFunction);
-  aTI.SetPoint1(aP1F);
-  aTI.SetPoint2(aP2F);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.TranslateTwoPoints("
-    << theObject << ", " << thePoint1 << ", " << thePoint2 << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  TranslateDXDYDZ
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateDXDYDZ
-       (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a translate function
-  aFunction = theObject->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_XYZ);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetDX(theX);
-  aTI.SetDY(theY);
-  aTI.SetDZ(theZ);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.TranslateDXDYDZ("
-    << theObject << ", " << theX << ", " << theY << ", " << theZ << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-
-//=============================================================================
-/*!
- *  TranslateTwoPointsCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateTwoPointsCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint1, Handle(GEOM_Object) thePoint2)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint1.IsNull() || thePoint2.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_TWO_POINTS_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetPoint1(thePoint1->GetLastFunction());
-  aTI.SetPoint2(thePoint2->GetLastFunction());
-  //aTI.SetShape(theObject->GetValue());
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeTranslationTwoPoints("
-    << theObject << ", " << thePoint1 << ", " << thePoint2 << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  TranslateDXDYDZCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateDXDYDZCopy
-       (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_XYZ_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetDX(theX);
-  aTI.SetDY(theY);
-  aTI.SetDZ(theZ);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeTranslation("
-    << theObject << ", " << theX << ", " << theY << ", " << theZ << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-
-//=============================================================================
-/*!
- *  TranslateVector
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateVector
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theVector.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aVF = theVector->GetLastFunction();
-
-  //Add a translate function
-  aFunction = theObject->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_VECTOR);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI (aFunction);
-  aTI.SetVector(aVF);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.TranslateVector("
-                               << theObject << ", " << theVector << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  TranslateVectorCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::TranslateVectorCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theVector.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_VECTOR_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetVector(theVector->GetLastFunction());
-//  aTI.SetShape(theObject->GetValue());
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeTranslationVector("
-                               << theObject << ", " << theVector << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Translate1D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::Translate1D
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector,
-        double theStep, Standard_Integer theNbTimes)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theVector.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_1D);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetVector(theVector->GetLastFunction());
-  aTI.SetOriginal(aLastFunction);
-  aTI.SetStep1(theStep);
-  aTI.SetNbIter1(theNbTimes);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMultiTranslation1D("
-    << theObject << ", " << theVector << ", " << theStep << ", " << theNbTimes << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Translate2D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::Translate2D (Handle(GEOM_Object) theObject,
-                                                               Handle(GEOM_Object) theVector,
-                                                               double theStep1,
-                                                               Standard_Integer theNbTimes1,
-                                                               Handle(GEOM_Object) theVector2,
-                                                               double theStep2,
-                                                               Standard_Integer theNbTimes2)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theVector.IsNull() || theVector2.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be moved
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a translate function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_TranslateDriver::GetID(), TRANSLATE_2D);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_TranslateDriver::GetID()) return NULL;
-
-  GEOMImpl_ITranslate aTI(aFunction);
-  aTI.SetVector(theVector->GetLastFunction());
-  aTI.SetVector2(theVector2->GetLastFunction());
-  aTI.SetOriginal(aLastFunction);
-  aTI.SetStep1(theStep1);
-  aTI.SetNbIter1(theNbTimes1);
-  aTI.SetStep2(theStep2);
-  aTI.SetNbIter2(theNbTimes2);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Translation driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMultiTranslation2D("
-    << theObject << ", " << theVector  << ", " << theStep1 << ", " << theNbTimes1
-      << ", " << theVector2 << ", " << theStep2 << ", " << theNbTimes2 << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-
-//=============================================================================
-/*!
- *  MirrorPlane
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorPlane
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePlane)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePlane.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be mirrored
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aPF = thePlane->GetLastFunction();
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_PLANE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetPlane(aPF);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.MirrorPlane("
-                               << theObject << ", " << thePlane << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  MirrorPlaneCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorPlaneCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePlane)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePlane.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be mirrored
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_PLANE_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetPlane(thePlane->GetLastFunction());
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMirrorByPlane("
-                               << theObject << ", " << thePlane << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  MirrorPoint
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorPoint
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be mirrored
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aPF = thePoint->GetLastFunction();
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_POINT);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetPoint(aPF);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.MirrorPoint("
-                               << theObject << ", " << thePoint << ")";
-
-  SetErrorCode(OK);
-  return NULL;
-}
-
-//=============================================================================
-/*!
- *  MirrorPointCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorPointCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be mirrored
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_POINT_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetPoint(thePoint->GetLastFunction());
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMirrorByPoint("
-                               << theObject << ", " << thePoint << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  MirrorAxis
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorAxis
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be mirrored
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) anAF = theAxis->GetLastFunction();
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_AXIS);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetAxis(anAF);
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.MirrorAxis("
-                               << theObject << ", " << theAxis << ")";
-
-  SetErrorCode(OK);
-  return NULL;
-}
-
-//=============================================================================
-/*!
- *  MirrorAxisCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::MirrorAxisCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL; //There is no function which creates an object to be mirrored
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a mirror function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_MirrorDriver::GetID(), MIRROR_AXIS_COPY);
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_MirrorDriver::GetID()) return NULL;
-
-  GEOMImpl_IMirror aTI (aFunction);
-  aTI.SetAxis(theAxis->GetLastFunction());
-  aTI.SetOriginal(aLastFunction);
-
-  //Compute the mirror
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Mirror driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeMirrorByAxis("
-                               << theObject << ", " << theAxis << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-
-//=============================================================================
-/*!
- *  OffsetShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::OffsetShape
-                              (Handle(GEOM_Object) theObject, double theOffset)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be offset
-
-  //Add a new Offset function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_OffsetDriver::GetID(), OFFSET_SHAPE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_OffsetDriver::GetID()) return NULL;
-
-  GEOMImpl_IOffset aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetValue(theOffset);
-
-  //Compute the offset
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Offset driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.OffsetShape("
-                               << theObject << ", " << theOffset << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  OffsetShapeCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::OffsetShapeCopy
-                              (Handle(GEOM_Object) theObject, double theOffset)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be offset
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a new Offset function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_OffsetDriver::GetID(), OFFSET_SHAPE_COPY);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_OffsetDriver::GetID()) return NULL;
-
-  GEOMImpl_IOffset aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetValue(theOffset);
-
-  //Compute the offset
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Offset driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeOffset("
-                               << theObject << ", " << theOffset << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-
-//=============================================================================
-/*!
- *  ScaleShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::ScaleShape
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint, double theFactor)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be scaled
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aPF = thePoint->GetLastFunction();
-
-  //Add a scale function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_ScaleDriver::GetID(), SCALE_SHAPE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ScaleDriver::GetID()) return NULL;
-
-  GEOMImpl_IScale aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetPoint(aPF);
-  aTI.SetFactor(theFactor);
-
-  //Compute the scale
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Scale driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.ScaleShape("
-    << theObject << ", " << thePoint << ", " << theFactor << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  ScaleShapeCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::ScaleShapeCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePoint, double theFactor)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || thePoint.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be scaled
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a scale function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_ScaleDriver::GetID(), SCALE_SHAPE_COPY);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_ScaleDriver::GetID()) return NULL;
-
-  GEOMImpl_IScale aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetPoint(thePoint->GetLastFunction());
-  aTI.SetFactor(theFactor);
-
-  //Compute the scale
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Scale driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeScaleTransform("
-    << theObject << ", " << thePoint << ", " << theFactor << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  PositionShape
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::PositionShape
-        (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theStartLCS, Handle(GEOM_Object) theEndLCS)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theStartLCS.IsNull() || theEndLCS.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be set in position
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) aStartLCS = theStartLCS->GetLastFunction();
-  Handle(GEOM_Function) aEndLCS = theEndLCS->GetLastFunction();
-
-  //Add a Position function
-  Handle(GEOM_Function) aFunction =
-    theObject->AddFunction(GEOMImpl_PositionDriver::GetID(), POSITION_SHAPE);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PositionDriver::GetID()) return NULL;
-
-  GEOMImpl_IPosition aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetStartLCS(aStartLCS);
-  aTI.SetEndLCS(aEndLCS);
-
-  //Compute the Position
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Position driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.PositionShape("
-    << theObject << ", " << theStartLCS << ", " << theEndLCS << ")";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  PositionShapeCopy
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::PositionShapeCopy
-       (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theStartLCS, Handle(GEOM_Object) theEndLCS)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theStartLCS.IsNull() || theEndLCS.IsNull()) return NULL;
-
-  Handle(GEOM_Function) anOriginal = theObject->GetLastFunction();
-  if (anOriginal.IsNull()) return NULL; //There is no function which creates an object to be set in position
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a position function
-  Handle(GEOM_Function) aFunction =
-    aCopy->AddFunction(GEOMImpl_PositionDriver::GetID(), POSITION_SHAPE_COPY);
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_PositionDriver::GetID()) return NULL;
-
-  GEOMImpl_IPosition aTI (aFunction);
-  aTI.SetShape(anOriginal);
-  aTI.SetStartLCS(theStartLCS->GetLastFunction());
-  aTI.SetEndLCS(theEndLCS->GetLastFunction());
-
-  //Compute the position
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Position driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakePosition("
-    << theObject << ", " << theStartLCS << ", " << theEndLCS << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Rotate
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::Rotate (Handle(GEOM_Object) theObject,
-                                                           Handle(GEOM_Object) theAxis,
-                                                           double theAngle)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be rotated
-
-  // Get last functions of the arguments
-  Handle(GEOM_Function) anAF = theAxis->GetLastFunction();
-
-  //Add a rotate function
-  aFunction = theObject->AddFunction(GEOMImpl_RotateDriver::GetID(), ROTATE);
-
-  if (aFunction.IsNull()) return NULL;
-
-  //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_RotateDriver::GetID()) return NULL;
-
-  GEOMImpl_IRotate aRI(aFunction);
-  aRI.SetAxis(anAF);
-  aRI.SetOriginal(aLastFunction);
-  aRI.SetAngle(theAngle);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Rotate driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.Rotate(" << theObject
-    << ", " << theAxis << ", " << theAngle * 180.0 / PI << "*math.pi/180.0)";
-
-  SetErrorCode(OK);
-  return theObject;
-}
-
-//=============================================================================
-/*!
- *  Rotate
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::RotateCopy (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be rotated
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a rotate function
-  aFunction = aCopy->AddFunction(GEOMImpl_RotateDriver::GetID(), ROTATE_COPY);
-  if (aFunction.IsNull()) return NULL;
-
-    //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_RotateDriver::GetID()) return NULL;
-
-  GEOMImpl_IRotate aRI(aFunction);
-  aRI.SetAxis(theAxis->GetLastFunction());
-  aRI.SetOriginal(aLastFunction);
-  aRI.SetAngle(theAngle);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Rotate driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeRotation(" << theObject
-    << ", " << theAxis << ", " << theAngle * 180.0 / PI << "*math.pi/180.0)";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Rotate1D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::Rotate1D (Handle(GEOM_Object) theObject,
-                                                             Handle(GEOM_Object) theAxis,
-                                                             Standard_Integer theNbTimes)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be rotated
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a rotate function
-  aFunction = aCopy->AddFunction(GEOMImpl_RotateDriver::GetID(), ROTATE_1D);
-  if (aFunction.IsNull()) return NULL;
-
-    //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_RotateDriver::GetID()) return NULL;
-
-  GEOMImpl_IRotate aRI(aFunction);
-  aRI.SetOriginal(aLastFunction);
-  aRI.SetAxis(theAxis->GetLastFunction());
-  aRI.SetNbIter1(theNbTimes);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Rotate driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MultiRotate1D("
-    << theObject << ", " << theAxis << ", " << theNbTimes << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
-
-//=============================================================================
-/*!
- *  Rotate2D
- */
-//=============================================================================
-Handle(GEOM_Object) GEOMImpl_ITransformOperations::Rotate2D (Handle(GEOM_Object) theObject,
-                                                            Handle(GEOM_Object) theAxis,
-                                                            double theAngle,
-                                                            Standard_Integer theNbTimes1,
-                                                            double theStep,
-                                                            Standard_Integer theNbTimes2)
-{
-  SetErrorCode(KO);
-
-  if (theObject.IsNull() || theAxis.IsNull()) return NULL;
-
-  Handle(GEOM_Function) aFunction, aLastFunction = theObject->GetLastFunction();
-  if (aLastFunction.IsNull()) return NULL;  //There is no function which creates an object to be rotated
-
-  //Add a new Copy object
-  Handle(GEOM_Object) aCopy = GetEngine()->AddObject(GetDocID(), theObject->GetType());
-
-  //Add a rotate function
-  aFunction = aCopy->AddFunction(GEOMImpl_RotateDriver::GetID(), ROTATE_2D);
-  if (aFunction.IsNull()) return NULL;
-
-    //Check if the function is set correctly
-  if (aFunction->GetDriverGUID() != GEOMImpl_RotateDriver::GetID()) return NULL;
-
-  GEOMImpl_IRotate aRI(aFunction);
-  aRI.SetAxis(theAxis->GetLastFunction());
-  aRI.SetOriginal(aLastFunction);
-  aRI.SetNbIter1(theNbTimes1);
-  aRI.SetNbIter2(theNbTimes2);
-  aRI.SetAngle(theAngle);
-  aRI.SetStep(theStep);
-
-  //Compute the translation
-  try {
-    if (!GetSolver()->ComputeFunction(aFunction)) {
-      SetErrorCode("Rotate driver failed");
-      return NULL;
-    }
-  }
-  catch (Standard_Failure) {
-    Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-    SetErrorCode(aFail->GetMessageString());
-    return NULL;
-  }
-
-  //Make a Python command
-  GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MultiRotate2D("
-    << theObject << ", " << theAxis << ", " << theAngle << ", "
-      << theNbTimes1 << ", " << theStep << ", " << theNbTimes2 << ")";
-
-  SetErrorCode(OK);
-  return aCopy;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ITransformOperations.hxx b/src/GEOMImpl/GEOMImpl_ITransformOperations.hxx
deleted file mode 100644 (file)
index fe40e59..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-
-#ifndef _GEOMImpl_ITransformOperations_HXX_
-#define _GEOMImpl_ITransformOperations_HXX_
-
-#include "Utils_SALOME_Exception.hxx"
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-#include <TDocStd_Document.hxx>
-
-class GEOMImpl_ITransformOperations : public GEOM_IOperations {
- public:
-  Standard_EXPORT GEOMImpl_ITransformOperations(GEOM_Engine* theEngine, int theDocID);
-  Standard_EXPORT ~GEOMImpl_ITransformOperations();
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateTwoPoints (Handle(GEOM_Object) theObject,
-                                          Handle(GEOM_Object) thePoint1,
-                                          Handle(GEOM_Object) thePoint2);
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateTwoPointsCopy (Handle(GEOM_Object) theObject,
-                                              Handle(GEOM_Object) thePoint1,
-                                              Handle(GEOM_Object) thePoint2);
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateDXDYDZ (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ);
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateDXDYDZCopy (Handle(GEOM_Object) theObject, double theX, double theY,  double theZ);
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateVector (Handle(GEOM_Object) theObject,
-                                       Handle(GEOM_Object) theVector);
-
-  Standard_EXPORT Handle(GEOM_Object) TranslateVectorCopy (Handle(GEOM_Object) theObject,
-                                           Handle(GEOM_Object) theVector);
-
-  Standard_EXPORT Handle(GEOM_Object) Translate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep, Standard_Integer theNbTimes);
-
-  Standard_EXPORT Handle(GEOM_Object) Translate2D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theVector, double theStep1, Standard_Integer theNbTimes1,
-                                  Handle(GEOM_Object) theVector2, double theStep2, Standard_Integer theNbTimes2);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorPlane (Handle(GEOM_Object) theObject,
-                                   Handle(GEOM_Object) thePlane);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorPlaneCopy (Handle(GEOM_Object) theObject,
-                                       Handle(GEOM_Object) thePlane);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorAxis (Handle(GEOM_Object) theObject,
-                                  Handle(GEOM_Object) theAxis);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorAxisCopy (Handle(GEOM_Object) theObject,
-                                      Handle(GEOM_Object) theAxis);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorPoint (Handle(GEOM_Object) theObject,
-                                   Handle(GEOM_Object) thePoint);
-
-  Standard_EXPORT Handle(GEOM_Object) MirrorPointCopy (Handle(GEOM_Object) theObject,
-                                       Handle(GEOM_Object) thePoint);
-
-  Standard_EXPORT Handle(GEOM_Object) OffsetShape (Handle(GEOM_Object) theObject,
-                                   double theOffset);
-
-  Standard_EXPORT Handle(GEOM_Object) OffsetShapeCopy (Handle(GEOM_Object) theObject,
-                                       double theOffset);
-
-  Standard_EXPORT Handle(GEOM_Object) ScaleShape (Handle(GEOM_Object) theObject,
-                                  Handle(GEOM_Object) thePoint,
-                                  double theFactor);
-
-  Standard_EXPORT Handle(GEOM_Object) ScaleShapeCopy (Handle(GEOM_Object) theObject,
-                                      Handle(GEOM_Object) thePoint,
-                                      double theFactor);
-
-  Standard_EXPORT Handle(GEOM_Object) PositionShape (Handle(GEOM_Object) theObject,
-                                    Handle(GEOM_Object) theStartLCS,
-                                    Handle(GEOM_Object) theEndLCS);
-
-  Standard_EXPORT Handle(GEOM_Object) PositionShapeCopy (Handle(GEOM_Object) theObject,
-                                        Handle(GEOM_Object) theStartLCS,
-                                        Handle(GEOM_Object) theEndLCS);
-
-  Standard_EXPORT Handle(GEOM_Object) Rotate (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
-
-  Standard_EXPORT Handle(GEOM_Object) RotateCopy (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, double theAngle);
-
-  Standard_EXPORT Handle(GEOM_Object) Rotate1D (Handle(GEOM_Object) theObject, Handle(GEOM_Object) theAxis, Standard_Integer theNbTimes);
-  
-  Standard_EXPORT Handle(GEOM_Object) Rotate2D (Handle(GEOM_Object) theObject, 
-                               Handle(GEOM_Object) theAxis, 
-                               double theAngle, 
-                               Standard_Integer theNbTimes1,
-                               double theStep, 
-                               Standard_Integer theNbTimes2);
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ITranslate.hxx b/src/GEOMImpl/GEOMImpl_ITranslate.hxx
deleted file mode 100755 (executable)
index 83566e0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-//NOTE: This is an intreface to a function for the Translate creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define TRANSLATE_ARG_POINT1   1  
-#define TRANSLATE_ARG_POINT2   2
-#define TRANSLATE_ARG_VECTOR   3
-#define TRANSLATE_ARG_ORIGINAL 6
-#define TRANSLATE_ARG_STEP1    7
-#define TRANSLATE_ARG_NBITER1  8
-#define TRANSLATE_ARG_STEP2    9
-#define TRANSLATE_ARG_NBITER2  10
-#define TRANSLATE_ARG_VECTOR2  11
-#define TRANSLATE_ARG_DX  12
-#define TRANSLATE_ARG_DY  13  
-#define TRANSLATE_ARG_DZ  14  
-
-class GEOMImpl_ITranslate
-{
- public:
-  
-  GEOMImpl_ITranslate(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-  
-  void SetPoint1(Handle(GEOM_Function) thePoint1) { _func->SetReference(TRANSLATE_ARG_POINT1, thePoint1); }
-  
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(TRANSLATE_ARG_POINT1); }
-  
-  void SetPoint2(Handle(GEOM_Function) thePoint2) { _func->SetReference(TRANSLATE_ARG_POINT2, thePoint2); }
-  
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(TRANSLATE_ARG_POINT2); }
-  
-  void SetVector(Handle(GEOM_Function) theVector) { _func->SetReference(TRANSLATE_ARG_VECTOR, theVector); }
-  
-  Handle(GEOM_Function) GetVector() { return _func->GetReference(TRANSLATE_ARG_VECTOR); } 
-  
-  void SetOriginal(Handle(GEOM_Function) theOriginal) { _func->SetReference(TRANSLATE_ARG_ORIGINAL, theOriginal); }
-
-  Handle(GEOM_Function) GetOriginal() { return _func->GetReference(TRANSLATE_ARG_ORIGINAL); }
-  
-  void SetStep1(double theStep) { return _func->SetReal(TRANSLATE_ARG_STEP1, theStep); }
-
-  double GetStep1() { return _func->GetReal(TRANSLATE_ARG_STEP1); }
-
-  void SetNbIter1(int theNbIter) { _func->SetInteger(TRANSLATE_ARG_NBITER1, theNbIter); }
-
-  int GetNbIter1() { return _func->GetInteger(TRANSLATE_ARG_NBITER1); } 
-
-  void SetStep2(double theStep) { return _func->SetReal(TRANSLATE_ARG_STEP2, theStep); }
-
-  double GetStep2() { return _func->GetReal(TRANSLATE_ARG_STEP2); }
-
-  void SetNbIter2(int theNbIter) { _func->SetInteger(TRANSLATE_ARG_NBITER2, theNbIter); }
-
-  int GetNbIter2() { return _func->GetInteger(TRANSLATE_ARG_NBITER2); } 
-
-  void SetVector2(Handle(GEOM_Function) theVector) { _func->SetReference(TRANSLATE_ARG_VECTOR2, theVector); }
-  
-  Handle(GEOM_Function) GetVector2() { return _func->GetReference(TRANSLATE_ARG_VECTOR2); } 
-
-  void SetDX(double theDX) { return _func->SetReal(TRANSLATE_ARG_DX, theDX); }
-
-  double GetDX() { return _func->GetReal(TRANSLATE_ARG_DX); }
-
-  void SetDY(double theDY) { return _func->SetReal(TRANSLATE_ARG_DY, theDY); }
-
-  double GetDY() { return _func->GetReal(TRANSLATE_ARG_DY); }
-
-  void SetDZ(double theDZ) { return _func->SetReal(TRANSLATE_ARG_DZ, theDZ); }
-
-  double GetDZ() { return _func->GetReal(TRANSLATE_ARG_DZ); }
-
- private:
-  
-  Handle(GEOM_Function) _func;  
-};
diff --git a/src/GEOMImpl/GEOMImpl_IVector.hxx b/src/GEOMImpl/GEOMImpl_IVector.hxx
deleted file mode 100644 (file)
index e1a344b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-//NOTE: This is an intreface to a function for the vector creation.
-
-
-#include "GEOM_Function.hxx"
-
-#define VEC_ARG_DX   1
-#define VEC_ARG_DY   2
-#define VEC_ARG_DZ   3
-
-#define VEC_ARG_PNT1 4
-#define VEC_ARG_PNT2 5
-
-class GEOMImpl_IVector
-{
- public:
-
-  GEOMImpl_IVector(Handle(GEOM_Function) theFunction): _func(theFunction) {}
-
-  void SetDX(double theDX) { _func->SetReal(VEC_ARG_DX, theDX); }
-  void SetDY(double theDY) { _func->SetReal(VEC_ARG_DY, theDY); }
-  void SetDZ(double theDZ) { _func->SetReal(VEC_ARG_DZ, theDZ); }
-
-  double GetDX() { return _func->GetReal(VEC_ARG_DX); }
-  double GetDY() { return _func->GetReal(VEC_ARG_DY); }
-  double GetDZ() { return _func->GetReal(VEC_ARG_DZ); }
-
-  void SetPoint1(Handle(GEOM_Function) theRef) { _func->SetReference(VEC_ARG_PNT1, theRef); }
-  void SetPoint2(Handle(GEOM_Function) theRef) { _func->SetReference(VEC_ARG_PNT2, theRef); }
-
-  Handle(GEOM_Function) GetPoint1() { return _func->GetReference(VEC_ARG_PNT1); }
-  Handle(GEOM_Function) GetPoint2() { return _func->GetReference(VEC_ARG_PNT2); }
-
- private:
-
-  Handle(GEOM_Function) _func;
-};
diff --git a/src/GEOMImpl/GEOMImpl_ImportDriver.cxx b/src/GEOMImpl/GEOMImpl_ImportDriver.cxx
deleted file mode 100644 (file)
index fb4d4e0..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ImportDriver.hxx>
-#include <GEOMImpl_IImportExport.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include "utilities.h"
-
-#include <TopoDS_Shape.hxx>
-
-#include <Standard_ConstructionError.hxx>
-#include <StdFail_NotDone.hxx>
-
-#ifdef WNT
-#include <windows.h>
-#else
-#include <dlfcn.h>
-#endif
-
-#ifdef WNT
-#define LibHandle HMODULE
-#define LoadLib( name ) LoadLibrary( name )
-#define GetProc GetProcAddress
-#define UnLoadLib( handle ) FreeLibrary( handle );
-#else
-#define LibHandle void*
-#define LoadLib( name ) dlopen( name, RTLD_LAZY )
-#define GetProc dlsym
-#define UnLoadLib( handle ) dlclose( handle );
-#endif
-
-typedef TopoDS_Shape (*funcPoint)(const TCollection_AsciiString&, TCollection_AsciiString&);
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_ImportDriver::GetID()
-{
-  static Standard_GUID aImportDriver("FF1BBB60-5D14-4df2-980B-3A668264EA16");
-  return aImportDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ImportDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_ImportDriver::GEOMImpl_ImportDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_ImportDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IImportExport aCI (aFunction);
-  //Standard_Integer aType = aFunction->GetType();
-
-  // retrieve the file and plugin library names
-  TCollection_AsciiString aFileName = aCI.GetFileName();
-  TCollection_AsciiString aLibName  = aCI.GetPluginName();
-  if (aFileName.IsEmpty() || aLibName.IsEmpty())
-    return 0;
-
-  // load plugin library
-  LibHandle anImportLib = LoadLib( aLibName.ToCString() );
-  funcPoint fp = 0;
-  if ( anImportLib )
-    fp = (funcPoint)GetProc( anImportLib, "Import" );
-
-  if ( !fp )
-    return 0;
-
-  // perform the import
-  TCollection_AsciiString anError;
-  TopoDS_Shape aShape = fp( aFileName, anError );
-
-  // unload plugin library
-  UnLoadLib( anImportLib );
-
-  if ( aShape.IsNull() ) {
-    StdFail_NotDone::Raise(anError.ToCString());
-    return 0;
-  }
-
-  // set the function result
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ImportDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ImportDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ImportDriver",
-                                                        sizeof(GEOMImpl_ImportDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_ImportDriver) Handle(GEOMImpl_ImportDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ImportDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ImportDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ImportDriver)((Handle(GEOMImpl_ImportDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ImportDriver.hxx b/src/GEOMImpl/GEOMImpl_ImportDriver.hxx
deleted file mode 100644 (file)
index 8fcb484..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ImportDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ImportDriver_HeaderFile
-#define _GEOMImpl_ImportDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ImportDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ImportDriver);
-
-class Handle(GEOMImpl_ImportDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ImportDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ImportDriver)(const Handle(GEOMImpl_ImportDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ImportDriver)(const GEOMImpl_ImportDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ImportDriver)& operator=(const Handle(GEOMImpl_ImportDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ImportDriver)& operator=(const GEOMImpl_ImportDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ImportDriver* operator->() 
-     {
-      return (GEOMImpl_ImportDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ImportDriver* operator->() const 
-     {
-      return (GEOMImpl_ImportDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ImportDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ImportDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ImportDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ImportDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ImportDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ImportDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ImportDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ImportDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_LineDriver.cxx b/src/GEOMImpl/GEOMImpl_LineDriver.cxx
deleted file mode 100644 (file)
index b76dd1e..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_LineDriver.hxx>
-#include <GEOMImpl_ILine.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <gp_Pnt.hxx>
-#include <Precision.hxx>
-#include <Standard_ConstructionError.hxx>
-#include <Standard_NullObject.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_LineDriver::GetID()
-{
-  static Standard_GUID aLineDriver("FF1BBB06-5D14-4df2-980B-3A668264EA16");
-  return aLineDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_LineDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_LineDriver::GEOMImpl_LineDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_LineDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ILine aPI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == LINE_TWO_PNT) {
-    Handle(GEOM_Function) aRefPnt1 = aPI.GetPoint1();
-    Handle(GEOM_Function) aRefPnt2 = aPI.GetPoint2();
-    TopoDS_Shape aShape1 = aRefPnt1->GetValue();
-    TopoDS_Shape aShape2 = aRefPnt2->GetValue();
-    if (aShape1.ShapeType() != TopAbs_VERTEX ||
-        aShape2.ShapeType() != TopAbs_VERTEX) return 0;
-    if (aShape1.IsSame(aShape2)) {
-      Standard_ConstructionError::Raise("The end points must be different");
-    }
-    gp_Pnt P1 = BRep_Tool::Pnt(TopoDS::Vertex(aShape1));
-    gp_Pnt P2 = BRep_Tool::Pnt(TopoDS::Vertex(aShape2));
-    if (P1.Distance(P2) < Precision::Confusion()) {
-      Standard_ConstructionError::Raise("The end points are too close");
-    }
-    aShape = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-
-  } else if (aType == LINE_PNT_DIR) {
-    Handle(GEOM_Function) aRefPnt = aPI.GetPoint1();
-    Handle(GEOM_Function) aRefDir = aPI.GetPoint2();
-    TopoDS_Shape aShape1 = aRefPnt->GetValue();
-    TopoDS_Shape aShape2 = aRefDir->GetValue();
-    if (aShape1.ShapeType() != TopAbs_VERTEX ||
-        aShape2.ShapeType() != TopAbs_EDGE) return 0;
-    if (aShape1.IsSame(aShape2)) {
-      Standard_ConstructionError::Raise("The end points must be different");
-    }
-    gp_Pnt P1 = BRep_Tool::Pnt(TopoDS::Vertex(aShape1));
-
-    TopoDS_Edge anE = TopoDS::Edge(aShape2);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (V1.IsNull() || V2.IsNull()) {
-      Standard_NullObject::Raise("Line creation aborted: vector is not defined");
-    }
-    gp_Pnt PV1 = BRep_Tool::Pnt(V1);
-    gp_Pnt PV2 = BRep_Tool::Pnt(V2);
-    if (PV1.Distance(PV2) < Precision::Confusion()) {
-      Standard_ConstructionError::Raise("Vector with null magnitude");
-    }
-
-    gp_Pnt P2 (P1.XYZ() + PV2.XYZ() - PV1.XYZ());
-    aShape = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-  aShape.Infinite(true);
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_LineDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_LineDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_LineDriver",
-                                                        sizeof(GEOMImpl_LineDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_LineDriver) Handle(GEOMImpl_LineDriver)::DownCast
-       (const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_LineDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_LineDriver))) {
-       _anOtherObject = Handle(GEOMImpl_LineDriver)((Handle(GEOMImpl_LineDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_LineDriver.hxx b/src/GEOMImpl/GEOMImpl_LineDriver.hxx
deleted file mode 100644 (file)
index d134835..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  File   : GEOMImpl_LineDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_LineDriver_HeaderFile
-#define _GEOMImpl_LineDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_LineDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_LineDriver);
-
-class Handle(GEOMImpl_LineDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_LineDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_LineDriver)(const Handle(GEOMImpl_LineDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_LineDriver)(const GEOMImpl_LineDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_LineDriver)& operator=(const Handle(GEOMImpl_LineDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_LineDriver)& operator=(const GEOMImpl_LineDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_LineDriver* operator->() 
-     {
-      return (GEOMImpl_LineDriver *)ControlAccess();
-     }
-
-    GEOMImpl_LineDriver* operator->() const 
-     {
-      return (GEOMImpl_LineDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_LineDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_LineDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_LineDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_LineDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_LineDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_LineDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_LineDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_LineDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_MarkerDriver.cxx b/src/GEOMImpl/GEOMImpl_MarkerDriver.cxx
deleted file mode 100644 (file)
index 1f1f653..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_MarkerDriver.hxx>
-#include <GEOMImpl_IMarker.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeFace.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-
-#include <GC_MakePlane.hxx>
-#include <Geom_Surface.hxx>
-
-#include <Precision.hxx>
-#include <gp_Ax3.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pln.hxx>
-#include <gp_Vec.hxx>
-
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_MarkerDriver::GetID()
-{
-  static Standard_GUID aMarkerDriver("FF1BBB07-5D14-4df2-980B-3A668264EA16");
-  return aMarkerDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_MarkerDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_MarkerDriver::GEOMImpl_MarkerDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_MarkerDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IMarker aPI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == MARKER_CS) {
-    double OX, OY, OZ;
-    double XDX, XDY, XDZ;
-    double YDX, YDY, YDZ;
-    aPI.GetOrigin(OX, OY, OZ);
-    aPI.GetXDir(XDX, XDY, XDZ);
-    aPI.GetYDir(YDX, YDY, YDZ);
-
-    gp_Pnt aPO (OX, OY, OZ);
-    gp_Vec aVX (XDX, XDY, XDZ);
-    gp_Vec aVY (YDX, YDY, YDZ);
-    Standard_Real aTol = Precision::Confusion();
-    if (aVX.Magnitude() < aTol ||
-        aVY.Magnitude() < aTol ||
-        aVX.IsParallel(aVY, Precision::Angular())) {
-      Standard_ConstructionError::Raise("Degenerated or parallel directions given");
-    }
-
-    gp_Vec aN = aVX ^ aVY;
-    gp_Ax3 anA (aPO, aN, aVX);
-    gp_Pln aPln (anA);
-
-    double aTrimSize = 100.0;
-    aShape = BRepBuilderAPI_MakeFace(aPln, -aTrimSize, +aTrimSize, -aTrimSize, +aTrimSize).Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_MarkerDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_MarkerDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_MarkerDriver",
-                                                        sizeof(GEOMImpl_MarkerDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_MarkerDriver) Handle(GEOMImpl_MarkerDriver)::DownCast
-       (const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_MarkerDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_MarkerDriver))) {
-       _anOtherObject = Handle(GEOMImpl_MarkerDriver)((Handle(GEOMImpl_MarkerDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_MarkerDriver.hxx b/src/GEOMImpl/GEOMImpl_MarkerDriver.hxx
deleted file mode 100644 (file)
index cf1a069..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  File   : GEOMImpl_MarkerDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_MarkerDriver_HeaderFile
-#define _GEOMImpl_MarkerDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_MarkerDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_MarkerDriver);
-
-class Handle(GEOMImpl_MarkerDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
-    Handle(GEOMImpl_MarkerDriver)():Handle(TFunction_Driver)() {}
-    Handle(GEOMImpl_MarkerDriver)(const Handle(GEOMImpl_MarkerDriver)& aHandle) : Handle(TFunction_Driver)(aHandle)
-     {
-     }
-
-    Handle(GEOMImpl_MarkerDriver)(const GEOMImpl_MarkerDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem)
-     {
-     }
-
-    Handle(GEOMImpl_MarkerDriver)& operator=(const Handle(GEOMImpl_MarkerDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_MarkerDriver)& operator=(const GEOMImpl_MarkerDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_MarkerDriver* operator->()
-     {
-      return (GEOMImpl_MarkerDriver *)ControlAccess();
-     }
-
-    GEOMImpl_MarkerDriver* operator->() const
-     {
-      return (GEOMImpl_MarkerDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_MarkerDriver)() {};
-
-   Standard_EXPORT static const Handle(GEOMImpl_MarkerDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_MarkerDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress)
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size)
-      {
-        return Standard::Allocate(size);
-      }
-    inline void  operator delete(void *anAddress)
-      {
-        if (anAddress) Standard::Free((Standard_Address&)anAddress);
-      }
-
- // Methods PUBLIC
- //
-Standard_EXPORT GEOMImpl_MarkerDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const;
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_MarkerDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_MarkerDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_MarkerDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_MarkerDriver) == AType || TFunction_Driver::IsKind(AType)); }
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_MeasureDriver.cxx b/src/GEOMImpl/GEOMImpl_MeasureDriver.cxx
deleted file mode 100644 (file)
index 79f5fcc..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_MeasureDriver.hxx>
-#include <GEOMImpl_IMeasure.hxx>
-#include <GEOMImpl_IMeasureOperations.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepGProp.hxx>
-#include <BRepBuilderAPI_MakeVertex.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <GProp_GProps.hxx>
-
-#include <gp_Pnt.hxx>
-#include <Precision.hxx>
-#include <Standard_NullObject.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_MeasureDriver::GetID()
-{
-  static Standard_GUID aMeasureDriver("FF1BBB65-5D14-4df2-980B-3A668264EA16");
-  return aMeasureDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_MeasureDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_MeasureDriver::GEOMImpl_MeasureDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_MeasureDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IMeasure aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == CDG_MEASURE) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    if (aShapeBase.IsNull()) {
-      Standard_NullObject::Raise("Shape for centre of mass calculation is null");
-    }
-
-    GProp_GProps aSystem;
-    gp_Pnt aCenterMass;
-
-    if (aShapeBase.ShapeType() == TopAbs_VERTEX) {
-      aCenterMass = BRep_Tool::Pnt(TopoDS::Vertex(aShapeBase));
-    } else if (aShapeBase.ShapeType() == TopAbs_EDGE || aShapeBase.ShapeType() == TopAbs_WIRE) {
-      BRepGProp::LinearProperties(aShapeBase, aSystem);
-      aCenterMass = aSystem.CentreOfMass();
-    } else if (aShapeBase.ShapeType() == TopAbs_FACE || aShapeBase.ShapeType() == TopAbs_SHELL) {
-      BRepGProp::SurfaceProperties(aShapeBase, aSystem);
-      aCenterMass = aSystem.CentreOfMass();
-    } else {
-      BRepGProp::VolumeProperties(aShapeBase, aSystem);
-      aCenterMass = aSystem.CentreOfMass();
-    }
-
-    aShape = BRepBuilderAPI_MakeVertex(aCenterMass).Shape();
-
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_MeasureDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_MeasureDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_MeasureDriver",
-                                                        sizeof(GEOMImpl_MeasureDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_MeasureDriver) Handle(GEOMImpl_MeasureDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_MeasureDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_MeasureDriver))) {
-       _anOtherObject = Handle(GEOMImpl_MeasureDriver)((Handle(GEOMImpl_MeasureDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_MeasureDriver.hxx b/src/GEOMImpl/GEOMImpl_MeasureDriver.hxx
deleted file mode 100644 (file)
index 3286f06..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_MeasureDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_MeasureDriver_HeaderFile
-#define _GEOMImpl_MeasureDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_MeasureDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_MeasureDriver);
-
-class Handle(GEOMImpl_MeasureDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_MeasureDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_MeasureDriver)(const Handle(GEOMImpl_MeasureDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_MeasureDriver)(const GEOMImpl_MeasureDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_MeasureDriver)& operator=(const Handle(GEOMImpl_MeasureDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_MeasureDriver)& operator=(const GEOMImpl_MeasureDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_MeasureDriver* operator->() 
-     {
-      return (GEOMImpl_MeasureDriver *)ControlAccess();
-     }
-
-    GEOMImpl_MeasureDriver* operator->() const 
-     {
-      return (GEOMImpl_MeasureDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_MeasureDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_MeasureDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_MeasureDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_MeasureDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_MeasureDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_MeasureDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_MeasureDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_MeasureDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_MirrorDriver.cxx b/src/GEOMImpl/GEOMImpl_MirrorDriver.cxx
deleted file mode 100644 (file)
index 2030338..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_MirrorDriver.hxx>
-
-#include <GEOMImpl_IMirror.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-
-#include <Geom_Plane.hxx>
-
-#include <gp_Trsf.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_MirrorDriver::GetID()
-{
-  static Standard_GUID aMirrorDriver("FF1BBB57-5D14-4df2-980B-3A668264EA16");
-  return aMirrorDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_MirrorDriver
-//purpose  : 
-//=======================================================================
-
-GEOMImpl_MirrorDriver::GEOMImpl_MirrorDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_MirrorDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  if (aFunction.IsNull()) return 0;
-
-  TopoDS_Shape aShape;
-  gp_Trsf aTrsf;
-
-  GEOMImpl_IMirror TI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  Handle(GEOM_Function) anOriginalFunction = TI.GetOriginal();
-  if (anOriginalFunction.IsNull()) return 0;
-
-  TopoDS_Shape anOriginal = anOriginalFunction->GetValue();
-  if (anOriginal.IsNull()) return 0;
-
-  if (aType == MIRROR_PLANE || aType == MIRROR_PLANE_COPY) {
-    Handle(GEOM_Function) aPlane = TI.GetPlane();
-    if (aPlane.IsNull()) return 0;
-    TopoDS_Shape aFaceShape = aPlane->GetValue();
-    if (aFaceShape.IsNull() || aFaceShape.ShapeType() != TopAbs_FACE) return 0;
-    TopoDS_Face aFace = TopoDS::Face(aFaceShape);
-
-    Handle(Geom_Surface) surf = BRep_Tool::Surface(aFace);
-    Handle(Geom_Plane) myPlane = Handle(Geom_Plane)::DownCast(surf);
-    const gp_Ax3 pos = myPlane->Position();
-    const gp_Pnt loc = pos.Location();  /* location of the plane */
-    const gp_Dir dir = pos.Direction(); /* Main direction of the plane (Z axis) */
-    gp_Ax2 aPln (loc, dir);
-    aTrsf.SetMirror(aPln);
-
-  } else if (aType == MIRROR_AXIS || aType == MIRROR_AXIS_COPY) {
-    Handle(GEOM_Function) anAxis = TI.GetAxis();
-    if (anAxis.IsNull()) return 0;
-    TopoDS_Shape anAxisShape = anAxis->GetValue();
-    if (anAxisShape.IsNull() || anAxisShape.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(anAxisShape);
-
-    gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(anEdge));
-    gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex (anEdge));
-    gp_Vec aV (aP1, aP2);
-    gp_Ax1 anAx1 (aP1, aV);
-    aTrsf.SetMirror(anAx1);
-
-  } else if (aType == MIRROR_POINT || aType == MIRROR_POINT_COPY) {
-    Handle(GEOM_Function) aPoint = TI.GetPoint();
-    if (aPoint.IsNull()) return 0;
-    TopoDS_Shape aVertexShape = aPoint->GetValue();
-    if (aVertexShape.IsNull() || aVertexShape.ShapeType() != TopAbs_VERTEX) return 0;
-    TopoDS_Vertex aVertex = TopoDS::Vertex(aVertexShape);
-
-    gp_Pnt aP = BRep_Tool::Pnt(aVertex);
-    aTrsf.SetMirror(aP);
-  } else {
-    return 0;
-  }
-
-  BRepBuilderAPI_Transform aTransformation (anOriginal, aTrsf, Standard_False);
-  aShape = aTransformation.Shape();
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_MirrorDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_MirrorDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_MirrorDriver",
-                                                        sizeof(GEOMImpl_MirrorDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-
-const Handle(GEOMImpl_MirrorDriver) Handle(GEOMImpl_MirrorDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_MirrorDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_MirrorDriver))) {
-       _anOtherObject = Handle(GEOMImpl_MirrorDriver)((Handle(GEOMImpl_MirrorDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_MirrorDriver.hxx b/src/GEOMImpl/GEOMImpl_MirrorDriver.hxx
deleted file mode 100644 (file)
index b9ad4a3..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_MirrorDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_MirrorDriver_HeaderFile
-#define _GEOMImpl_MirrorDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_MirrorDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_MirrorDriver);
-
-class Handle(GEOMImpl_MirrorDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_MirrorDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_MirrorDriver)(const Handle(GEOMImpl_MirrorDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_MirrorDriver)(const GEOMImpl_MirrorDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_MirrorDriver)& operator=(const Handle(GEOMImpl_MirrorDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_MirrorDriver)& operator=(const GEOMImpl_MirrorDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_MirrorDriver* operator->() 
-     {
-      return (GEOMImpl_MirrorDriver *)ControlAccess();
-     }
-
-    GEOMImpl_MirrorDriver* operator->() const 
-     {
-      return (GEOMImpl_MirrorDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_MirrorDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_MirrorDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_MirrorDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_MirrorDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_MirrorDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_MirrorDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_MirrorDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_MirrorDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_OffsetDriver.cxx b/src/GEOMImpl/GEOMImpl_OffsetDriver.cxx
deleted file mode 100644 (file)
index 5716e5a..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_OffsetDriver.hxx>
-#include <GEOMImpl_IOffset.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepOffsetAPI_MakeOffsetShape.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-
-#include <StdFail_NotDone.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_OffsetDriver::GetID()
-{
-  static Standard_GUID aOffsetDriver("FF1BBB51-5D14-4df2-980B-3A668264EA16");
-  return aOffsetDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_OffsetDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_OffsetDriver::GEOMImpl_OffsetDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_OffsetDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IOffset aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == OFFSET_SHAPE || aType == OFFSET_SHAPE_COPY) {
-    Handle(GEOM_Function) aRefShape = aCI.GetShape();
-    TopoDS_Shape aShapeBase = aRefShape->GetValue();
-    Standard_Real anOffset = aCI.GetValue();
-    Standard_Real aTol = Precision::Confusion();
-
-    if (Abs(anOffset) < aTol) {
-      TCollection_AsciiString aMsg ("Absolute value of offset can not be less than the tolerance value (");
-      aMsg += TCollection_AsciiString(aTol);
-      aMsg += ")";
-      StdFail_NotDone::Raise(aMsg.ToCString());
-    }
-
-    BRepOffsetAPI_MakeOffsetShape MO (aShapeBase,
-                                      aCI.GetValue(),
-                                      aTol);
-    if (MO.IsDone()) {
-      aShape = MO.Shape();
-    } else {
-      StdFail_NotDone::Raise("Offset construction failed");
-    }
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_OffsetDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_OffsetDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_OffsetDriver",
-                                                        sizeof(GEOMImpl_OffsetDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_OffsetDriver) Handle(GEOMImpl_OffsetDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_OffsetDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_OffsetDriver))) {
-       _anOtherObject = Handle(GEOMImpl_OffsetDriver)((Handle(GEOMImpl_OffsetDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_OffsetDriver.hxx b/src/GEOMImpl/GEOMImpl_OffsetDriver.hxx
deleted file mode 100644 (file)
index a9d34d7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_OffsetDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_OffsetDriver_HeaderFile
-#define _GEOMImpl_OffsetDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_OffsetDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_OffsetDriver);
-
-class Handle(GEOMImpl_OffsetDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_OffsetDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_OffsetDriver)(const Handle(GEOMImpl_OffsetDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_OffsetDriver)(const GEOMImpl_OffsetDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_OffsetDriver)& operator=(const Handle(GEOMImpl_OffsetDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_OffsetDriver)& operator=(const GEOMImpl_OffsetDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_OffsetDriver* operator->() 
-     {
-      return (GEOMImpl_OffsetDriver *)ControlAccess();
-     }
-
-    GEOMImpl_OffsetDriver* operator->() const 
-     {
-      return (GEOMImpl_OffsetDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_OffsetDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_OffsetDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_OffsetDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_OffsetDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_OffsetDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_OffsetDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_OffsetDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_OffsetDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx b/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx
deleted file mode 100644 (file)
index 1f44ec4..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PartitionDriver.hxx>
-#include <GEOMImpl_IPartition.hxx>
-#include <GEOMImpl_Types.hxx>
-
-#include <GEOM_Object.hxx>
-#include <GEOM_Function.hxx>
-
-#include <NMTAlgo_Splitter1.hxx>
-
-#include <TDataStd_IntegerArray.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepAlgo.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <TColStd_ListOfInteger.hxx>
-#include <Standard_NullObject.hxx>
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_PartitionDriver::GetID()
-{
-  static Standard_GUID aPartitionDriver("FF1BBB22-5D14-4df2-980B-3A668264EA16");
-  return aPartitionDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PartitionDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_PartitionDriver::GEOMImpl_PartitionDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_PartitionDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPartition aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-  NMTAlgo_Splitter1 PS;
-
-  if (aType == PARTITION_PARTITION) {
-    Handle(TColStd_HSequenceOfTransient) aShapes  = aCI.GetShapes();
-    Handle(TColStd_HSequenceOfTransient) aTools   = aCI.GetTools();
-    Handle(TColStd_HSequenceOfTransient) aKeepIns = aCI.GetKeepIns();
-    Handle(TColStd_HSequenceOfTransient) aRemIns  = aCI.GetRemoveIns();
-    Handle(TColStd_HArray1OfInteger) aMaterials   = aCI.GetMaterials();
-    Standard_Boolean DoRemoveWebs = !aMaterials.IsNull();
-
-    unsigned int ind, nbshapes = 0;
-    nbshapes += aShapes->Length() + aTools->Length();
-    nbshapes += aKeepIns->Length() + aRemIns->Length();
-
-    TopTools_MapOfShape ShapesMap(nbshapes), ToolsMap(nbshapes);
-
-    // add object shapes that are in ListShapes;
-    for (ind = 1; ind <= aShapes->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("In Partition a shape is null");
-      }
-      if (ShapesMap.Add(aShape_i)) {
-        PS.AddShape(aShape_i);
-        if (DoRemoveWebs) {
-          if (aMaterials->Length() >= ind)
-            PS.SetMaterial(aShape_i, aMaterials->Value(ind));
-        }
-      }
-    }
-
-    // add tool shapes that are in ListTools and not in ListShapes;
-    for (ind = 1; ind <= aTools->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aTools->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("In Partition a tool shape is null");
-      }
-      if (!ShapesMap.Contains(aShape_i) && ToolsMap.Add(aShape_i))
-        PS.AddTool(aShape_i);
-    }
-
-    // add shapes that are in ListKeepInside, as object shapes;
-    for (ind = 1; ind <= aKeepIns->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aKeepIns->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("In Partition a Keep Inside shape is null");
-      }
-      if (!ToolsMap.Contains(aShape_i) && ShapesMap.Add(aShape_i))
-        PS.AddShape(aShape_i);
-    }
-
-    // add shapes that are in ListRemoveInside, as object shapes;
-    for (ind = 1; ind <= aRemIns->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aRemIns->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("In Partition a Remove Inside shape is null");
-      }
-      if (!ToolsMap.Contains(aShape_i) && ShapesMap.Add(aShape_i))
-        PS.AddShape(aShape_i);
-    }
-
-    PS.Compute();
-    PS.SetRemoveWebs(DoRemoveWebs);
-    PS.Build((TopAbs_ShapeEnum) aCI.GetLimit());
-
-    // suppress result outside of shapes in KInsideMap
-    for (ind = 1; ind <= aKeepIns->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aKeepIns->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      PS.KeepShapesInside(aShape_i);
-    }
-
-    // suppress result inside of shapes in RInsideMap
-    for (ind = 1; ind <= aRemIns->Length(); ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aRemIns->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      PS.RemoveShapesInside(aShape_i);
-    }
-
-  } else if (aType == PARTITION_HALF) {
-    Handle(GEOM_Function) aRefShape = aCI.GetShape();
-    Handle(GEOM_Function) aRefPlane = aCI.GetPlane();
-    TopoDS_Shape aShapeArg = aRefShape->GetValue();
-    TopoDS_Shape aPlaneArg = aRefPlane->GetValue();
-
-    if (aShapeArg.IsNull() || aPlaneArg.IsNull()) {
-      Standard_NullObject::Raise("In Half Partition a shape or a plane is null");
-    }
-
-    // add object shapes that are in ListShapes;
-    PS.AddShape(aShapeArg);
-
-    // add tool shapes that are in ListTools and not in ListShapes;
-    PS.AddTool(aPlaneArg);
-
-    PS.Compute();
-    PS.SetRemoveWebs(Standard_False);
-    PS.Build(aShapeArg.ShapeType());
-
-  } else {
-  }
-
-  aShape = PS.Shape();
-  if (aShape.IsNull()) return 0;
-
-  if (!BRepAlgo::IsValid(aShape)) {
-    Standard_ConstructionError::Raise("Partition aborted : non valid shape result");
-  }
-
-  aFunction->SetValue(aShape);
-
-  // Fill history to be used by GetInPlace functionality
-  TopTools_IndexedMapOfShape aResIndices;
-  TopExp::MapShapes(aShape, aResIndices);
-
-  // history for all argument shapes
-  TDF_LabelSequence aLabelSeq;
-  aFunction->GetDependency(aLabelSeq);
-  Standard_Integer nbArg = aLabelSeq.Length();
-
-  for (Standard_Integer iarg = 1; iarg <= nbArg; iarg++) {
-
-    TDF_Label anArgumentRefLabel = aLabelSeq.Value(iarg);
-
-    Handle(GEOM_Object) anArgumentObject = GEOM_Object::GetReferencedObject(anArgumentRefLabel);
-    TopoDS_Shape anArgumentShape = anArgumentObject->GetValue();
-
-    TopTools_IndexedMapOfShape anArgumentIndices;
-    TopExp::MapShapes(anArgumentShape, anArgumentIndices);
-    Standard_Integer nbArgumentEntities = anArgumentIndices.Extent();
-
-    // Find corresponding label in history
-    TDF_Label anArgumentHistoryLabel =
-      aFunction->GetArgumentHistoryEntry(anArgumentRefLabel, Standard_True);
-
-    for (Standard_Integer ie = 1; ie <= nbArgumentEntities; ie++) {
-      TopoDS_Shape anEntity = anArgumentIndices.FindKey(ie);
-      const TopTools_ListOfShape& aModified = PS.Modified(anEntity);
-      Standard_Integer nbModified = aModified.Extent();
-
-      if (nbModified > 0) {
-        TDF_Label aWhatHistoryLabel = anArgumentHistoryLabel.FindChild(ie, Standard_True);
-        Handle(TDataStd_IntegerArray) anAttr =
-          TDataStd_IntegerArray::Set(aWhatHistoryLabel, 1, nbModified);
-
-        TopTools_ListIteratorOfListOfShape itM (aModified);
-        for (int im = 1; itM.More(); itM.Next(), ++im) {
-          int id = aResIndices.FindIndex(itM.Value());
-          anAttr->SetValue(im, id);
-        }
-      }
-    }
-  }
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PartitionDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PartitionDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PartitionDriver",
-                                                        sizeof(GEOMImpl_PartitionDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_PartitionDriver) Handle(GEOMImpl_PartitionDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PartitionDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PartitionDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PartitionDriver)((Handle(GEOMImpl_PartitionDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PartitionDriver.hxx b/src/GEOMImpl/GEOMImpl_PartitionDriver.hxx
deleted file mode 100644 (file)
index f71c6a2..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_PartitionDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PartitionDriver_HeaderFile
-#define _GEOMImpl_PartitionDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PartitionDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PartitionDriver);
-
-class Handle(GEOMImpl_PartitionDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PartitionDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PartitionDriver)(const Handle(GEOMImpl_PartitionDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PartitionDriver)(const GEOMImpl_PartitionDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PartitionDriver)& operator=(const Handle(GEOMImpl_PartitionDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PartitionDriver)& operator=(const GEOMImpl_PartitionDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PartitionDriver* operator->() 
-     {
-      return (GEOMImpl_PartitionDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PartitionDriver* operator->() const 
-     {
-      return (GEOMImpl_PartitionDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PartitionDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PartitionDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PartitionDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PartitionDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PartitionDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PartitionDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PartitionDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PartitionDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx
deleted file mode 100644 (file)
index 21c0195..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PipeDriver.hxx>
-#include <GEOMImpl_IPipe.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepCheck_Analyzer.hxx>
-#include <BRepOffsetAPI_MakePipe.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <Standard_NullObject.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_PipeDriver::GetID()
-{
-  static Standard_GUID aPipeDriver("FF1BBB19-5D14-4df2-980B-3A668264EA16");
-  return aPipeDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PipeDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_PipeDriver::GEOMImpl_PipeDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_PipeDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPipe aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == PIPE_BASE_PATH) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    Handle(GEOM_Function) aRefPath = aCI.GetPath();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    TopoDS_Shape aShapePath = aRefPath->GetValue();
-    if (aShapeBase.IsNull() || aShapePath.IsNull()) {
-      Standard_NullObject::Raise("MakePipe aborted : null shape argument");
-    }
-
-    // Get path contour
-    TopoDS_Wire aWire;
-    if (aShapePath.ShapeType() == TopAbs_WIRE) {
-      aWire = TopoDS::Wire(aShapePath);
-    } else {
-      if (aShapePath.ShapeType() == TopAbs_EDGE) {
-        TopoDS_Edge anEdge = TopoDS::Edge(aShapePath);
-        aWire = BRepBuilderAPI_MakeWire(anEdge);
-      } else {
-        Standard_TypeMismatch::Raise("MakePipe aborted : path shape is neither a wire nor an edge");
-      }
-    }
-
-    // Make pipe
-    aShape = BRepOffsetAPI_MakePipe(aWire, aShapeBase);
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  BRepCheck_Analyzer ana (aShape, Standard_False);
-  if (!ana.IsValid()) {
-    Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
-  }
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PipeDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PipeDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PipeDriver",
-                                                        sizeof(GEOMImpl_PipeDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_PipeDriver) Handle(GEOMImpl_PipeDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PipeDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PipeDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PipeDriver)((Handle(GEOMImpl_PipeDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.hxx b/src/GEOMImpl/GEOMImpl_PipeDriver.hxx
deleted file mode 100644 (file)
index 819b5b1..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_PipeDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PipeDriver_HeaderFile
-#define _GEOMImpl_PipeDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PipeDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PipeDriver);
-
-class Handle(GEOMImpl_PipeDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PipeDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PipeDriver)(const Handle(GEOMImpl_PipeDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PipeDriver)(const GEOMImpl_PipeDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PipeDriver)& operator=(const Handle(GEOMImpl_PipeDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PipeDriver)& operator=(const GEOMImpl_PipeDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PipeDriver* operator->() 
-     {
-      return (GEOMImpl_PipeDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PipeDriver* operator->() const 
-     {
-      return (GEOMImpl_PipeDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PipeDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PipeDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PipeDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PipeDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PipeDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PipeDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PipeDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PipeDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PlaneDriver.cxx b/src/GEOMImpl/GEOMImpl_PlaneDriver.cxx
deleted file mode 100644 (file)
index 0fcf0c3..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PlaneDriver.hxx>
-#include <GEOMImpl_IPlane.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeFace.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopExp.hxx>
-
-#include <GC_MakePlane.hxx>
-#include <Geom_Surface.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pln.hxx>
-#include <gp_Vec.hxx>
-
-#include <Standard_ConstructionError.hxx>
-#include <Standard_TypeMismatch.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_PlaneDriver::GetID()
-{
-  static Standard_GUID aPlaneDriver("FF1BBB05-5D14-4df2-980B-3A668264EA16");
-  return aPlaneDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PlaneDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_PlaneDriver::GEOMImpl_PlaneDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_PlaneDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPlane aPI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  double aSize = aPI.GetSize() / 2.0;
-  if (aType == PLANE_PNT_VEC) {
-    Handle(GEOM_Function) aRefPnt = aPI.GetPoint();
-    Handle(GEOM_Function) aRefVec = aPI.GetVector();
-    TopoDS_Shape aShape1 = aRefPnt->GetValue();
-    TopoDS_Shape aShape2 = aRefVec->GetValue();
-    if (aShape1.ShapeType() != TopAbs_VERTEX ||
-        aShape2.ShapeType() != TopAbs_EDGE) return 0;
-    gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShape1));
-    TopoDS_Edge anE = TopoDS::Edge(aShape2);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (!V1.IsNull() && !V2.IsNull()) {
-      gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-      gp_Pln aPln (aP, aV);
-      aShape = BRepBuilderAPI_MakeFace(aPln, -aSize, +aSize, -aSize, +aSize).Shape();
-    }
-  } else if (aType == PLANE_THREE_PNT) {
-    Handle(GEOM_Function) aRefPnt1 = aPI.GetPoint1();
-    Handle(GEOM_Function) aRefPnt2 = aPI.GetPoint2();
-    Handle(GEOM_Function) aRefPnt3 = aPI.GetPoint3();
-    TopoDS_Shape aShape1 = aRefPnt1->GetValue();
-    TopoDS_Shape aShape2 = aRefPnt2->GetValue();
-    TopoDS_Shape aShape3 = aRefPnt3->GetValue();
-    if (aShape1.ShapeType() != TopAbs_VERTEX ||
-        aShape2.ShapeType() != TopAbs_VERTEX ||
-        aShape3.ShapeType() != TopAbs_VERTEX) return 0;
-    gp_Pnt aP1 = BRep_Tool::Pnt(TopoDS::Vertex(aShape1));
-    gp_Pnt aP2 = BRep_Tool::Pnt(TopoDS::Vertex(aShape2));
-    gp_Pnt aP3 = BRep_Tool::Pnt(TopoDS::Vertex(aShape3));
-    if (aP1.Distance(aP2) < gp::Resolution() ||
-        aP1.Distance(aP3) < gp::Resolution() ||
-        aP2.Distance(aP3) < gp::Resolution())
-      Standard_ConstructionError::Raise("Plane creation aborted: coincident points given");
-    if (gp_Vec(aP1, aP2).IsParallel(gp_Vec(aP1, aP3), Precision::Angular()))
-      Standard_ConstructionError::Raise("Plane creation aborted: points lay on one line");
-    GC_MakePlane aMakePlane (aP1, aP2, aP3);
-    aShape = BRepBuilderAPI_MakeFace(aMakePlane, -aSize, +aSize, -aSize, +aSize).Shape();
-  } else if (aType == PLANE_FACE) {
-    Handle(GEOM_Function) aRef = aPI.GetFace();
-    TopoDS_Shape aRefShape = aRef->GetValue();
-    if (aRefShape.ShapeType() != TopAbs_FACE) return 0;
-    Handle(Geom_Surface) aGS = BRep_Tool::Surface(TopoDS::Face(aRefShape));
-    if (!aGS->IsKind(STANDARD_TYPE(Geom_Plane))) {
-      Standard_TypeMismatch::Raise("Plane creation aborted: non-planar face given as argument");
-    }
-    aShape = BRepBuilderAPI_MakeFace(aGS, -aSize, +aSize, -aSize, +aSize).Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PlaneDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PlaneDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PlaneDriver",
-                                                        sizeof(GEOMImpl_PlaneDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_PlaneDriver) Handle(GEOMImpl_PlaneDriver)::DownCast
-       (const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PlaneDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PlaneDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PlaneDriver)((Handle(GEOMImpl_PlaneDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PlaneDriver.hxx b/src/GEOMImpl/GEOMImpl_PlaneDriver.hxx
deleted file mode 100644 (file)
index 8245b28..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  File   : GEOMImpl_PlaneDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PlaneDriver_HeaderFile
-#define _GEOMImpl_PlaneDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PlaneDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PlaneDriver);
-
-class Handle(GEOMImpl_PlaneDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PlaneDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PlaneDriver)(const Handle(GEOMImpl_PlaneDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PlaneDriver)(const GEOMImpl_PlaneDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PlaneDriver)& operator=(const Handle(GEOMImpl_PlaneDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PlaneDriver)& operator=(const GEOMImpl_PlaneDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PlaneDriver* operator->() 
-     {
-      return (GEOMImpl_PlaneDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PlaneDriver* operator->() const 
-     {
-      return (GEOMImpl_PlaneDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PlaneDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PlaneDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PlaneDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PlaneDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PlaneDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PlaneDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PlaneDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PlaneDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PointDriver.cxx b/src/GEOMImpl/GEOMImpl_PointDriver.cxx
deleted file mode 100644 (file)
index e7e529b..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PointDriver.hxx>
-#include <GEOMImpl_IPoint.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepBuilderAPI_MakeVertex.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <Geom_Curve.hxx>
-#include <gp_Pnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_PointDriver::GetID()
-{
-  static Standard_GUID aPointDriver("FF1BBB02-5D14-4df2-980B-3A668264EA16");
-  return aPointDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PointDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_PointDriver::GEOMImpl_PointDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_PointDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPoint aPI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  gp_Pnt aPnt;
-
-  if (aType == POINT_XYZ) {
-    aPnt = gp_Pnt(aPI.GetX(), aPI.GetY(), aPI.GetZ());
-
-  } else if (aType == POINT_XYZ_REF) {
-
-    Handle(GEOM_Function) aRefPoint = aPI.GetRef();
-    TopoDS_Shape aRefShape = aRefPoint->GetValue();
-    if (aRefShape.ShapeType() != TopAbs_VERTEX) {
-      Standard_TypeMismatch::Raise
-        ("Point creation aborted : referenced shape is not a vertex");
-    }
-    gp_Pnt P = BRep_Tool::Pnt(TopoDS::Vertex(aRefShape));
-    aPnt = gp_Pnt(P.X() + aPI.GetX(), P.Y() + aPI.GetY(), P.Z() + aPI.GetZ());
-
-  } else if (aType == POINT_CURVE_PAR) {
-
-    Handle(GEOM_Function) aRefCurve = aPI.GetCurve();
-    TopoDS_Shape aRefShape = aRefCurve->GetValue();
-    if (aRefShape.ShapeType() != TopAbs_EDGE) {
-      Standard_TypeMismatch::Raise
-        ("Point On Curve creation aborted : curve shape is not an edge");
-    }
-    Standard_Real aFP, aLP, aP;
-    Handle(Geom_Curve) aCurve = BRep_Tool::Curve(TopoDS::Edge(aRefShape), aFP, aLP);
-    aP = aFP + (aLP - aFP) * aPI.GetParameter();
-    aPnt = aCurve->Value(aP);
-
-  } else {
-    return 0;
-  }
-
-  BRepBuilderAPI_MakeVertex mkVertex (aPnt);
-  TopoDS_Shape aShape = mkVertex.Shape();
-  aShape.Infinite(Standard_True);
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PointDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PointDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PointDriver",
-                                                        sizeof(GEOMImpl_PointDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-
-const Handle(GEOMImpl_PointDriver) Handle(GEOMImpl_PointDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PointDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PointDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PointDriver)((Handle(GEOMImpl_PointDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_PointDriver.hxx b/src/GEOMImpl/GEOMImpl_PointDriver.hxx
deleted file mode 100644 (file)
index 13bcb99..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  File   : GEOMImpl_PointDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PointDriver_HeaderFile
-#define _GEOMImpl_PointDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PointDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PointDriver);
-
-class Handle(GEOMImpl_PointDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PointDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PointDriver)(const Handle(GEOMImpl_PointDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PointDriver)(const GEOMImpl_PointDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PointDriver)& operator=(const Handle(GEOMImpl_PointDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PointDriver)& operator=(const GEOMImpl_PointDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PointDriver* operator->() 
-     {
-      return (GEOMImpl_PointDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PointDriver* operator->() const 
-     {
-      return (GEOMImpl_PointDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PointDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PointDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PointDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PointDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PointDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PointDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PointDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PointDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx b/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx
deleted file mode 100644 (file)
index 64619ee..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PolylineDriver.hxx>
-#include <GEOMImpl_IPolyline.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakePolygon.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_PolylineDriver::GetID()
-{
-  static Standard_GUID aPolylineDriver("FF1BBB31-5D14-4df2-980B-3A668264EA16");
-  return aPolylineDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PolylineDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_PolylineDriver::GEOMImpl_PolylineDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_PolylineDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPolyline aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == POLYLINE_POINTS) {
-    int aLen = aCI.GetLength();
-    int ind = 1;
-    BRepBuilderAPI_MakePolygon aMakePoly;
-    for (; ind <= aLen; ind++)
-    {
-      Handle(GEOM_Function) aRefPoint = aCI.GetPoint(ind);
-      TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-      if (aShapePnt.ShapeType() == TopAbs_VERTEX) {
-        aMakePoly.Add(TopoDS::Vertex(aShapePnt));
-//        if (!aMakePoly.Added()) return 0;
-      }
-    }
-    if (false) aMakePoly.Close();
-    if (aMakePoly.IsDone()) {
-      aShape = aMakePoly.Wire();
-    }
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PolylineDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PolylineDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PolylineDriver",
-                                                        sizeof(GEOMImpl_PolylineDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_PolylineDriver) Handle(GEOMImpl_PolylineDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PolylineDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PolylineDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PolylineDriver)((Handle(GEOMImpl_PolylineDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PolylineDriver.hxx b/src/GEOMImpl/GEOMImpl_PolylineDriver.hxx
deleted file mode 100644 (file)
index 3a6a2bd..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_PolylineDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PolylineDriver_HeaderFile
-#define _GEOMImpl_PolylineDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PolylineDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PolylineDriver);
-
-class Handle(GEOMImpl_PolylineDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PolylineDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PolylineDriver)(const Handle(GEOMImpl_PolylineDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PolylineDriver)(const GEOMImpl_PolylineDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PolylineDriver)& operator=(const Handle(GEOMImpl_PolylineDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PolylineDriver)& operator=(const GEOMImpl_PolylineDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PolylineDriver* operator->() 
-     {
-      return (GEOMImpl_PolylineDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PolylineDriver* operator->() const 
-     {
-      return (GEOMImpl_PolylineDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PolylineDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PolylineDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PolylineDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PolylineDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PolylineDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PolylineDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PolylineDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PolylineDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PositionDriver.cxx b/src/GEOMImpl/GEOMImpl_PositionDriver.cxx
deleted file mode 100644 (file)
index c28ec1a..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PositionDriver.hxx>
-#include <GEOMImpl_IPosition.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <gp_Pln.hxx>
-#include <Geom_Plane.hxx>
-#include <GProp_GProps.hxx>
-#include <BRepGProp.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_PositionDriver::GetID()
-{
-  static Standard_GUID aPositionDriver("FF1BBB69-5D14-4df2-980B-3A668264EA16");
-  return aPositionDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PositionDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_PositionDriver::GEOMImpl_PositionDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_PositionDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPosition aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == POSITION_SHAPE || aType == POSITION_SHAPE_COPY) {
-    Handle(GEOM_Function) aRefShape = aCI.GetShape();
-    Handle(GEOM_Function) aRefStartLCS = aCI.GetStartLCS();
-    Handle(GEOM_Function) aRefEndLCS = aCI.GetEndLCS();
-
-    TopoDS_Shape aShapeBase = aRefShape->GetValue();
-    TopoDS_Shape aShapeStartLCS = aRefStartLCS->GetValue();
-    TopoDS_Shape aShapeEndLCS = aRefEndLCS->GetValue();
-
-    if (aShapeBase.IsNull() || aShapeStartLCS.IsNull() || 
-       aShapeEndLCS.IsNull() || aShapeEndLCS.ShapeType() != TopAbs_FACE)
-      return 0;
-
-    gp_Trsf aTrsf;
-    gp_Ax3 aStartAx3, aDestAx3;
-    aStartAx3.Transform(aShapeStartLCS.Location().Transformation());
-    aDestAx3.Transform(aShapeEndLCS.Location().Transformation());
-
-    Handle(Geom_Surface) aGS2 = BRep_Tool::Surface( TopoDS::Face( aShapeEndLCS ) );
-    if (!aGS2.IsNull() && aGS2->IsKind( STANDARD_TYPE( Geom_Plane ) ) ) {
-      Handle(Geom_Plane) aGPlane2 = Handle(Geom_Plane)::DownCast( aGS2 );
-      gp_Pln aPln2 = aGPlane2->Pln();
-      aDestAx3 = aPln2.Position();
-    }
-
-    if(aShapeStartLCS.ShapeType() == TopAbs_FACE) {
-      Handle(Geom_Surface) aGS = BRep_Tool::Surface( TopoDS::Face( aShapeStartLCS ) );
-      if (!aGS.IsNull() && aGS->IsKind( STANDARD_TYPE( Geom_Plane ) ) ) {
-       Handle(Geom_Plane) aGPlane = Handle(Geom_Plane)::DownCast( aGS );
-       gp_Pln aPln = aGPlane->Pln();
-       aStartAx3 = aPln.Position();
-      }
-      aTrsf.SetDisplacement(aStartAx3, aDestAx3);
-    }
-    else {
-      gp_Trsf aTrsf1, aTrsf2;
-      aTrsf1.SetDisplacement(aStartAx3, aDestAx3); 
-      BRepBuilderAPI_Transform aBT (aShapeBase, aTrsf1, Standard_False);
-      TopoDS_Shape aNewShape = aBT.Shape();
-
-      gp_Pnt aPnt;
-      if (aNewShape.ShapeType() == TopAbs_VERTEX) {
-       aPnt = BRep_Tool::Pnt(TopoDS::Vertex(aNewShape));
-      } 
-      else {
-       GProp_GProps aSystem;
-       if (aNewShape.ShapeType() == TopAbs_EDGE || aNewShape.ShapeType() == TopAbs_WIRE)
-         BRepGProp::LinearProperties(aNewShape, aSystem);
-       else if (aNewShape.ShapeType() == TopAbs_FACE || aNewShape.ShapeType() == TopAbs_SHELL)
-         BRepGProp::SurfaceProperties(aNewShape, aSystem);
-       else
-         BRepGProp::VolumeProperties(aNewShape, aSystem);
-       
-       aPnt = aSystem.CentreOfMass();
-      }
-
-      gp_Vec aVec(aPnt, aDestAx3.Location());
-      aTrsf2.SetTranslation(aVec);
-      aTrsf = aTrsf2 * aTrsf1;
-    }
-
-    BRepBuilderAPI_Transform aBRepTrsf (aShapeBase, aTrsf, Standard_False);
-    aShape = aBRepTrsf.Shape();
-  }
-  else
-    return 0;
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PositionDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PositionDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PositionDriver",
-                                                        sizeof(GEOMImpl_PositionDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_PositionDriver) Handle(GEOMImpl_PositionDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PositionDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PositionDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PositionDriver)((Handle(GEOMImpl_PositionDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PositionDriver.hxx b/src/GEOMImpl/GEOMImpl_PositionDriver.hxx
deleted file mode 100644 (file)
index 785fed1..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_PositionDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PositionDriver_HeaderFile
-#define _GEOMImpl_PositionDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PositionDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PositionDriver);
-
-class Handle(GEOMImpl_PositionDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PositionDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PositionDriver)(const Handle(GEOMImpl_PositionDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PositionDriver)(const GEOMImpl_PositionDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PositionDriver)& operator=(const Handle(GEOMImpl_PositionDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PositionDriver)& operator=(const GEOMImpl_PositionDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PositionDriver* operator->() 
-     {
-      return (GEOMImpl_PositionDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PositionDriver* operator->() const 
-     {
-      return (GEOMImpl_PositionDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PositionDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PositionDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PositionDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PositionDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PositionDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PositionDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PositionDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PositionDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_PrismDriver.cxx b/src/GEOMImpl/GEOMImpl_PrismDriver.cxx
deleted file mode 100644 (file)
index 5da11dc..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_PrismDriver.hxx>
-#include <GEOMImpl_IPrism.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakePrism.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_PrismDriver::GetID()
-{
-  static Standard_GUID aPrismDriver("FF1BBB17-5D14-4df2-980B-3A668264EA16");
-  return aPrismDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_PrismDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_PrismDriver::GEOMImpl_PrismDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_PrismDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IPrism aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == PRISM_BASE_VEC_H) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapeVec.ShapeType() == TopAbs_EDGE) {
-      TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-      TopoDS_Vertex V1, V2;
-      TopExp::Vertices(anE, V1, V2, Standard_True);
-      if (!V1.IsNull() && !V2.IsNull()) {
-        gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-        if (Abs(aCI.GetH()) < Precision::Confusion()) {
-          Standard_ConstructionError::Raise("Absolute value of prism height is too small");
-        }
-        if (aV.Magnitude() > Precision::Confusion()) {
-          aV.Normalize();
-          aShape = BRepPrimAPI_MakePrism(aShapeBase, aV * aCI.GetH(), Standard_False).Shape();
-        }
-      }
-    }
-  } else if (aType == PRISM_BASE_TWO_PNT) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    Handle(GEOM_Function) aRefPnt1 = aCI.GetFirstPoint();
-    Handle(GEOM_Function) aRefPnt2 = aCI.GetLastPoint();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    TopoDS_Shape aShapePnt1 = aRefPnt1->GetValue();
-    TopoDS_Shape aShapePnt2 = aRefPnt2->GetValue();
-    if (aShapePnt1.ShapeType() == TopAbs_VERTEX &&
-        aShapePnt2.ShapeType() == TopAbs_VERTEX) {
-      TopoDS_Vertex V1 = TopoDS::Vertex(aShapePnt1);
-      TopoDS_Vertex V2 = TopoDS::Vertex(aShapePnt2);
-      if (!V1.IsNull() && !V2.IsNull()) {
-        gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-        if (aV.Magnitude() > gp::Resolution()) {
-          aShape = BRepPrimAPI_MakePrism(aShapeBase, aV, Standard_False).Shape();
-        }
-      }
-    }
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_PrismDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_PrismDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_PrismDriver",
-                                                        sizeof(GEOMImpl_PrismDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_PrismDriver) Handle(GEOMImpl_PrismDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_PrismDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_PrismDriver))) {
-       _anOtherObject = Handle(GEOMImpl_PrismDriver)((Handle(GEOMImpl_PrismDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_PrismDriver.hxx b/src/GEOMImpl/GEOMImpl_PrismDriver.hxx
deleted file mode 100644 (file)
index 7dcb764..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_PrismDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_PrismDriver_HeaderFile
-#define _GEOMImpl_PrismDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_PrismDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_PrismDriver);
-
-class Handle(GEOMImpl_PrismDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_PrismDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_PrismDriver)(const Handle(GEOMImpl_PrismDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_PrismDriver)(const GEOMImpl_PrismDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_PrismDriver)& operator=(const Handle(GEOMImpl_PrismDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_PrismDriver)& operator=(const GEOMImpl_PrismDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_PrismDriver* operator->() 
-     {
-      return (GEOMImpl_PrismDriver *)ControlAccess();
-     }
-
-    GEOMImpl_PrismDriver* operator->() const 
-     {
-      return (GEOMImpl_PrismDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_PrismDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_PrismDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_PrismDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_PrismDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_PrismDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PrismDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_PrismDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_PrismDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_RevolutionDriver.cxx b/src/GEOMImpl/GEOMImpl_RevolutionDriver.cxx
deleted file mode 100644 (file)
index 1eb85b8..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_RevolutionDriver.hxx>
-#include <GEOMImpl_IRevolution.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeRevol.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Lin.hxx>
-#include <gp_Dir.hxx>
-#include <Precision.hxx>
-#include <StdFail_NotDone.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_RevolutionDriver::GetID()
-{
-  static Standard_GUID aRevolutionDriver("FF1BBB18-5D14-4df2-980B-3A668264EA16");
-  return aRevolutionDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_RevolutionDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_RevolutionDriver::GEOMImpl_RevolutionDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_RevolutionDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IRevolution aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == REVOLUTION_BASE_AXIS_ANGLE) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    Handle(GEOM_Function) aRefAxis = aCI.GetAxis();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    TopoDS_Shape aShapeAxis = aRefAxis->GetValue();
-    if (aShapeAxis.ShapeType() != TopAbs_EDGE) {
-      Standard_TypeMismatch::Raise("Revolution Axis must be an edge");
-    }
-
-    TopoDS_Edge anE = TopoDS::Edge(aShapeAxis);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (V1.IsNull() || V2.IsNull()) {
-      Standard_ConstructionError::Raise("Bad edge for the Revolution Axis given");
-    }
-
-    gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-    if (aV.Magnitude() < Precision::Confusion()) {
-      Standard_ConstructionError::Raise
-        ("End vertices of edge, defining the Revolution Axis, are too close");
-    }
-
-    if (aShapeBase.ShapeType() == TopAbs_VERTEX) {
-      gp_Lin aL(BRep_Tool::Pnt(V1), gp_Dir(aV));
-      Standard_Real d = aL.Distance(BRep_Tool::Pnt(TopoDS::Vertex(aShapeBase)));
-      if (d < Precision::Confusion()) {
-       Standard_ConstructionError::Raise("Vertex to be rotated is too close to Revolution Axis");
-      }
-    }
-
-    gp_Ax1 anAxis (BRep_Tool::Pnt(V1), aV);
-    BRepPrimAPI_MakeRevol MR (aShapeBase, anAxis, aCI.GetAngle(), Standard_False);
-    if (!MR.IsDone()) MR.Build();
-    if (!MR.IsDone()) StdFail_NotDone::Raise("Revolution algorithm has failed");
-    aShape = MR.Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_RevolutionDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_RevolutionDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_RevolutionDriver",
-                                                        sizeof(GEOMImpl_RevolutionDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_RevolutionDriver) Handle(GEOMImpl_RevolutionDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_RevolutionDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_RevolutionDriver))) {
-       _anOtherObject = Handle(GEOMImpl_RevolutionDriver)((Handle(GEOMImpl_RevolutionDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_RevolutionDriver.hxx b/src/GEOMImpl/GEOMImpl_RevolutionDriver.hxx
deleted file mode 100644 (file)
index e994b93..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_RevolutionDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_RevolutionDriver_HeaderFile
-#define _GEOMImpl_RevolutionDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_RevolutionDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_RevolutionDriver);
-
-class Handle(GEOMImpl_RevolutionDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_RevolutionDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_RevolutionDriver)(const Handle(GEOMImpl_RevolutionDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_RevolutionDriver)(const GEOMImpl_RevolutionDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_RevolutionDriver)& operator=(const Handle(GEOMImpl_RevolutionDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_RevolutionDriver)& operator=(const GEOMImpl_RevolutionDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_RevolutionDriver* operator->() 
-     {
-      return (GEOMImpl_RevolutionDriver *)ControlAccess();
-     }
-
-    GEOMImpl_RevolutionDriver* operator->() const 
-     {
-      return (GEOMImpl_RevolutionDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_RevolutionDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_RevolutionDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_RevolutionDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_RevolutionDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_RevolutionDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_RevolutionDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_RevolutionDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_RevolutionDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_RotateDriver.cxx b/src/GEOMImpl/GEOMImpl_RotateDriver.cxx
deleted file mode 100644 (file)
index c3ae0ae..0000000
+++ /dev/null
@@ -1,245 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_RotateDriver.hxx>
-#include <GEOMImpl_IRotate.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-#include <gp_Trsf.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Ax1.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Edge.hxx>
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <GeomAPI_ProjectPointOnCurve.hxx>
-#include <Geom_Line.hxx>
-#include <GProp_GProps.hxx>
-#include <BRepGProp.hxx>
-#include <Precision.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_RotateDriver::GetID()
-{
-  static Standard_GUID aRotateDriver("FF1BBB56-5D14-4df2-980B-3A668264EA16");
-  return aRotateDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_RotateDriver
-//purpose  : 
-//=======================================================================
-
-GEOMImpl_RotateDriver::GEOMImpl_RotateDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_RotateDriver::Execute(TFunction_Logbook& log) const
-{
-  if(Label().IsNull())  return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  if(aFunction.IsNull()) return 0;
-
-  GEOMImpl_IRotate RI(aFunction);
-  gp_Trsf aTrsf;
-  Standard_Integer aType = aFunction->GetType();
-  Handle(GEOM_Function) anOriginalFunction = RI.GetOriginal();
-  if(anOriginalFunction.IsNull()) return 0;
-  TopoDS_Shape aShape, anOriginal = anOriginalFunction->GetValue();
-  if(anOriginal.IsNull()) return 0;
-
-  if(aType == ROTATE || aType == ROTATE_COPY) {
-    Handle(GEOM_Function) anAxis = RI.GetAxis();
-    if(anAxis.IsNull()) return 0;
-    TopoDS_Shape A = anAxis->GetValue();
-    if(A.IsNull() || A.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(A);
-
-    gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(anEdge));
-    gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex(anEdge));
-    gp_Dir aDir(gp_Vec(aP1, aP2));
-    gp_Ax1 anAx1(aP1, aDir);
-    Standard_Real anAngle = RI.GetAngle();
-    aTrsf.SetRotation(anAx1, anAngle);
-    
-    BRepBuilderAPI_Transform aTransformation(anOriginal, aTrsf, Standard_False);
-    aShape = aTransformation.Shape();
-  }
-  else if(aType == ROTATE_1D) {
-    //Get direction
-    Handle(GEOM_Function) anAxis = RI.GetAxis();
-    if(anAxis.IsNull()) return 0;
-    TopoDS_Shape A = anAxis->GetValue();
-    if(A.IsNull() || A.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(A);
-
-    gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(anEdge));
-    gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex(anEdge));
-    gp_Dir D(gp_Vec(aP1, aP2)) ;
-
-    gp_Ax1 AX1(aP1, D) ;
-
-    Standard_Integer nbtimes = RI.GetNbIter1();
-    Standard_Real angle = 360.0/nbtimes ;
-
-    TopoDS_Compound aCompound;
-    BRep_Builder B;
-    B.MakeCompound( aCompound );
-    
-    for (int i = 0; i < nbtimes; i++ ) {
-      aTrsf.SetRotation(AX1, i*angle*PI180) ;
-      BRepBuilderAPI_Transform myBRepTransformation(anOriginal, aTrsf, Standard_False) ;
-      B.Add( aCompound, myBRepTransformation.Shape() );
-    }
-
-    aShape = aCompound ;
-  }
-  else if(aType == ROTATE_2D) {
-    Standard_Real DX, DY, DZ ;
-
-    //Get direction
-    Handle(GEOM_Function) anAxis = RI.GetAxis();
-    if(anAxis.IsNull()) return 0;
-    TopoDS_Shape A = anAxis->GetValue();
-    if(A.IsNull() || A.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(A);
-    gp_Pnt aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(anEdge));
-    gp_Pnt aP2 = BRep_Tool::Pnt(TopExp::LastVertex(anEdge));
-    gp_Dir D(gp_Vec(aP1, aP2)) ;
-
-    gp_Ax1 AX1(aP1, D) ;
-
-
-    gp_Trsf theTransformation1 ;
-    gp_Trsf theTransformation2 ;
-    gp_Pnt P1 ;
-    GProp_GProps System ;
-    
-    if ( anOriginal.ShapeType() == TopAbs_VERTEX) {
-      P1 = BRep_Tool::Pnt(TopoDS::Vertex( anOriginal ));
-    } 
-    else if ( anOriginal.ShapeType() == TopAbs_EDGE || anOriginal.ShapeType() == TopAbs_WIRE ) {
-      BRepGProp::LinearProperties(anOriginal, System);
-      P1 = System.CentreOfMass() ;
-    }
-    else if ( anOriginal.ShapeType() == TopAbs_FACE || anOriginal.ShapeType() == TopAbs_SHELL ) {
-      BRepGProp::SurfaceProperties(anOriginal, System);
-      P1 = System.CentreOfMass() ;
-    }
-    else {
-      BRepGProp::VolumeProperties(anOriginal, System);
-      P1 = System.CentreOfMass() ;
-    }
-    
-    Handle(Geom_Line) Line = new Geom_Line(AX1);
-    GeomAPI_ProjectPointOnCurve aPrjTool( P1, Line ) ;
-    gp_Pnt P2 = aPrjTool.NearestPoint();
-    
-    if ( P1.IsEqual(P2, Precision::Confusion() ) ) return 0;
-    
-    gp_Vec Vec(P1.X()-P2.X(), P1.Y()-P2.Y(), P1.Z()-P2.Z()) ;
-    Vec.Normalize();
-    
-    Standard_Integer nbtimes2 = RI.GetNbIter2();
-    Standard_Integer nbtimes1 = RI.GetNbIter1();
-    Standard_Real step = RI.GetStep();
-    Standard_Real ang = RI.GetAngle();
-
-    gp_Vec myVec ;
-    TopoDS_Compound aCompound;
-    BRep_Builder B;
-    B.MakeCompound( aCompound );
-    for (int i = 0; i < nbtimes2; i++ ) {
-      for (int j = 0; j < nbtimes1; j++ ) {
-       DX = i * step * Vec.X() ;
-       DY = i * step * Vec.Y() ;
-       DZ = i * step * Vec.Z() ;
-       myVec.SetCoord( DX, DY, DZ ) ;
-       theTransformation1.SetTranslation(myVec) ;
-       theTransformation2.SetRotation(AX1, j*ang*PI180) ;
-       BRepBuilderAPI_Transform myBRepTransformation1(anOriginal, theTransformation1, Standard_False) ;
-       BRepBuilderAPI_Transform myBRepTransformation2(myBRepTransformation1.Shape(), theTransformation2, Standard_False) ;
-       B.Add( aCompound, myBRepTransformation2.Shape() );
-      }
-    }
-
-    aShape = aCompound;
-
-  }
-  else return 0;
-
-
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_RotateDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_RotateDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_RotateDriver",
-                                                        sizeof(GEOMImpl_RotateDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-
-const Handle(GEOMImpl_RotateDriver) Handle(GEOMImpl_RotateDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_RotateDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_RotateDriver))) {
-       _anOtherObject = Handle(GEOMImpl_RotateDriver)((Handle(GEOMImpl_RotateDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_RotateDriver.hxx b/src/GEOMImpl/GEOMImpl_RotateDriver.hxx
deleted file mode 100644 (file)
index 7db4c00..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_RotateDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_RotateDriver_HeaderFile
-#define _GEOMImpl_RotateDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_RotateDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_RotateDriver);
-
-class Handle(GEOMImpl_RotateDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_RotateDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_RotateDriver)(const Handle(GEOMImpl_RotateDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_RotateDriver)(const GEOMImpl_RotateDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_RotateDriver)& operator=(const Handle(GEOMImpl_RotateDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_RotateDriver)& operator=(const GEOMImpl_RotateDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_RotateDriver* operator->() 
-     {
-      return (GEOMImpl_RotateDriver *)ControlAccess();
-     }
-
-    GEOMImpl_RotateDriver* operator->() const 
-     {
-      return (GEOMImpl_RotateDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_RotateDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_RotateDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_RotateDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_RotateDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_RotateDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_RotateDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_RotateDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_RotateDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ScaleDriver.cxx b/src/GEOMImpl/GEOMImpl_ScaleDriver.cxx
deleted file mode 100644 (file)
index 0110683..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ScaleDriver.hxx>
-#include <GEOMImpl_IScale.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_ScaleDriver::GetID()
-{
-  static Standard_GUID aScaleDriver("FF1BBB52-5D14-4df2-980B-3A668264EA16");
-  return aScaleDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ScaleDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_ScaleDriver::GEOMImpl_ScaleDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_ScaleDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IScale aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == SCALE_SHAPE || aType == SCALE_SHAPE_COPY) {
-    Handle(GEOM_Function) aRefShape = aCI.GetShape();
-    Handle(GEOM_Function) aRefPoint = aCI.GetPoint();
-    TopoDS_Shape aShapeBase = aRefShape->GetValue();
-    TopoDS_Shape aShapePnt  = aRefPoint->GetValue();
-    if (aShapeBase.IsNull() || aShapePnt.IsNull()) return 0;
-    if (aShapePnt.ShapeType() != TopAbs_VERTEX) return 0;
-
-    gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-    gp_Trsf aTrsf;
-    aTrsf.SetScale(aP, aCI.GetFactor());
-    BRepBuilderAPI_Transform aBRepTrsf (aShapeBase, aTrsf, Standard_False);
-    aShape = aBRepTrsf.Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ScaleDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ScaleDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ScaleDriver",
-                                                        sizeof(GEOMImpl_ScaleDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_ScaleDriver) Handle(GEOMImpl_ScaleDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ScaleDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ScaleDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ScaleDriver)((Handle(GEOMImpl_ScaleDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ScaleDriver.hxx b/src/GEOMImpl/GEOMImpl_ScaleDriver.hxx
deleted file mode 100644 (file)
index a2fc590..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ScaleDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ScaleDriver_HeaderFile
-#define _GEOMImpl_ScaleDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ScaleDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ScaleDriver);
-
-class Handle(GEOMImpl_ScaleDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ScaleDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ScaleDriver)(const Handle(GEOMImpl_ScaleDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ScaleDriver)(const GEOMImpl_ScaleDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ScaleDriver)& operator=(const Handle(GEOMImpl_ScaleDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ScaleDriver)& operator=(const GEOMImpl_ScaleDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ScaleDriver* operator->() 
-     {
-      return (GEOMImpl_ScaleDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ScaleDriver* operator->() const 
-     {
-      return (GEOMImpl_ScaleDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ScaleDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ScaleDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ScaleDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ScaleDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ScaleDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ScaleDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ScaleDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ScaleDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx
deleted file mode 100644 (file)
index b2c57e8..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_ShapeDriver.hxx>
-#include <GEOMImpl_IShapes.hxx>
-#include <GEOMImpl_IShapesOperations.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepAlgo_FaceRestrictor.hxx>
-#include <BRepBuilderAPI_Sewing.hxx>
-#include <BRepBuilderAPI_Copy.hxx>
-#include <BRepTools_Quilt.hxx>
-#include <BRepCheck.hxx>
-#include <BRepCheck_Analyzer.hxx>
-#include <BRepCheck_Shell.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <Precision.hxx>
-#include <Standard_NullObject.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_ShapeDriver::GetID()
-{
-  static Standard_GUID aShapeDriver("FF1BBB54-5D14-4df2-980B-3A668264EA16");
-  return aShapeDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_ShapeDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_ShapeDriver::GEOMImpl_ShapeDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IShapes aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-  BRep_Builder B;
-
-  if (aType == WIRE_EDGES) {
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-    unsigned int ind, nbshapes = aShapes->Length();
-
-    // add edges
-    BRepBuilderAPI_MakeWire MW;
-    for (ind = 1; ind <= nbshapes; ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("Shape for wire construction is null");
-      }
-      if (aShape_i.ShapeType() == TopAbs_EDGE)
-       MW.Add(TopoDS::Edge(aShape_i));
-      else if (aShape_i.ShapeType() == TopAbs_WIRE)
-       MW.Add(TopoDS::Wire(aShape_i));
-      else
-        Standard_TypeMismatch::Raise
-          ("Shape for wire construction is neither an edge nor a wire");
-    }
-
-    if (!MW.IsDone()) {
-      Standard_ConstructionError::Raise("Wire construction failed");
-    }
-    aShape = MW;
-
-  } else if (aType == FACE_WIRE) {
-    Handle(GEOM_Function) aRefBase = aCI.GetBase();
-    TopoDS_Shape aShapeBase = aRefBase->GetValue();
-    if (aShapeBase.IsNull() || aShapeBase.ShapeType() != TopAbs_WIRE) {
-      Standard_NullObject::Raise
-        ("Shape for face construction is null or not a wire");
-    }
-    TopoDS_Wire W = TopoDS::Wire(aShapeBase);
-    BRepBuilderAPI_MakeFace MF (W, aCI.GetIsPlanar());
-    if (!MF.IsDone()) {
-      Standard_ConstructionError::Raise("Face construction failed");
-    }
-    aShape = MF.Shape();
-
-  } else if (aType == FACE_WIRES) {
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-
-    // first wire
-    Handle(GEOM_Function) aRefWire = Handle(GEOM_Function)::DownCast(aShapes->Value(1));
-    TopoDS_Shape aWire = aRefWire->GetValue();
-    if (aWire.IsNull() || aWire.ShapeType() != TopAbs_WIRE) {
-      Standard_NullObject::Raise("Shape for face construction is null or not a wire");
-    }
-    TopoDS_Wire W = TopoDS::Wire(aWire);
-
-    // basic face
-    BRepBuilderAPI_MakeFace MF (W, aCI.GetIsPlanar());
-    if (!MF.IsDone()) {
-      Standard_ConstructionError::Raise("Face construction failed");
-    }
-    TopoDS_Shape FFace = MF.Shape();
-    if (!FFace.IsNull()) {
-      unsigned int ind, nbshapes = aShapes->Length();
-      if (nbshapes == 1) {
-       aShape = FFace;
-
-      } else if (nbshapes >= 2) {
-       TopoDS_Compound C;
-       BRep_Builder aBuilder;
-       aBuilder.MakeCompound(C);
-       BRepAlgo_FaceRestrictor FR;
-
-       TopAbs_Orientation OriF = FFace.Orientation();
-       TopoDS_Shape aLocalS = FFace.Oriented(TopAbs_FORWARD);
-       FR.Init(TopoDS::Face(aLocalS), Standard_False, Standard_True);
-
-       for (ind = 1; ind <= nbshapes; ind++) {
-          Handle(GEOM_Function) aRefWire_i =
-            Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-          TopoDS_Shape aWire_i = aRefWire_i->GetValue();
-          if (aWire_i.IsNull() || aWire_i.ShapeType() != TopAbs_WIRE) {
-            Standard_NullObject::Raise("Shape for face construction is null or not a wire");
-          }
-
-         FR.Add(TopoDS::Wire(aWire_i));
-       }
-
-       FR.Perform();
-
-       if (FR.IsDone()) {
-         int k = 0;
-         TopoDS_Shape aFace;
-         for (; FR.More(); FR.Next()) {
-           aFace = FR.Current().Oriented(OriF);
-           aBuilder.Add(C, aFace);
-           k++;
-         }
-         if (k == 1) {
-           aShape = aFace;
-         } else {
-           aShape = C;
-         }
-       }
-      }
-    }
-  } else if (aType == SHELL_FACES) {
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-    unsigned int ind, nbshapes = aShapes->Length();
-
-    // add faces
-    BRepBuilderAPI_Sewing aSewing(Precision::Confusion()*10.0);
-    for (ind = 1; ind <= nbshapes; ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("Face for shell construction is null");
-      }
-      aSewing.Add(aShape_i);
-    }
-
-    aSewing.Perform();
-
-    TopExp_Explorer exp (aSewing.SewedShape(), TopAbs_SHELL);
-    Standard_Integer ish = 0;
-    for (; exp.More(); exp.Next()) {
-      aShape = exp.Current();
-      ish++;
-    }
-
-    if (ish != 1)
-      aShape = aSewing.SewedShape();
-
-  } else if (aType == SOLID_SHELL) {
-    Handle(GEOM_Function) aRefShell = aCI.GetBase();
-    TopoDS_Shape aShapeShell = aRefShell->GetValue();
-    if (aShapeShell.IsNull() || aShapeShell.ShapeType() != TopAbs_SHELL) {
-      Standard_NullObject::Raise("Shape for solid construction is null or not a shell");
-    }
-
-    BRepCheck_Shell chkShell(TopoDS::Shell(aShapeShell));
-    if(chkShell.Closed() == BRepCheck_NotClosed) return 0;
-
-    TopoDS_Solid Sol;
-    B.MakeSolid(Sol);
-    B.Add(Sol, aShapeShell);
-    BRepClass3d_SolidClassifier SC (Sol);
-    SC.PerformInfinitePoint(Precision::Confusion());
-    if (SC.State() == TopAbs_IN) {
-      B.MakeSolid(Sol);
-      B.Add(Sol, aShapeShell.Reversed());
-    }
-
-    aShape = Sol;
-
-  } else if (aType == SOLID_SHELLS) {
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-    unsigned int ind, nbshapes = aShapes->Length();
-    Standard_Integer ish = 0;
-    TopoDS_Solid Sol;
-    B.MakeSolid(Sol);
-
-    // add shapes
-    for (ind = 1; ind <= nbshapes; ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-      TopoDS_Shape aShapeShell = aRefShape->GetValue();
-      if (aShapeShell.IsNull()) {
-        Standard_NullObject::Raise("Shell for solid construction is null");
-      }
-      if (aShapeShell.ShapeType() == TopAbs_SHELL) {
-        B.Add(Sol, aShapeShell);
-        ish++;
-      }
-    }
-    if ( ish == 0 ) return 0;
-    BRepClass3d_SolidClassifier SC (Sol);
-    SC.PerformInfinitePoint(Precision::Confusion());
-    switch (SC.State()) {
-    case TopAbs_IN:
-      aShape = Sol.Reversed(); break;
-    case TopAbs_OUT:
-      aShape = Sol; break;
-    default: // not closed shell?
-      return 0;
-    }
-
-  } else if (aType == COMPOUND_SHAPES) {
-    Handle(TColStd_HSequenceOfTransient) aShapes = aCI.GetShapes();
-    unsigned int ind, nbshapes = aShapes->Length();
-
-    // add shapes
-    TopoDS_Compound C;
-    B.MakeCompound(C);
-    for (ind = 1; ind <= nbshapes; ind++) {
-      Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
-      TopoDS_Shape aShape_i = aRefShape->GetValue();
-      if (aShape_i.IsNull()) {
-        Standard_NullObject::Raise("Shape for compound construction is null");
-      }
-      B.Add(C, aShape_i);
-    }
-
-    aShape = C;
-
-  } else if (aType == REVERSE_ORIENTATION) {
-    Handle(GEOM_Function) aRefShape = aCI.GetBase();
-    TopoDS_Shape aShape_i = aRefShape->GetValue();
-    if (aShape_i.IsNull()) {
-       Standard_NullObject::Raise("Shape for reverse is null");
-    }
-  
-    BRepBuilderAPI_Copy Copy(aShape_i);
-    if( Copy.IsDone() ) {
-      TopoDS_Shape tds = Copy.Shape();
-      if( tds.IsNull() ) {
-       Standard_ConstructionError::Raise("Orientation aborted : Can not reverse the shape");
-      }
-
-      if( tds.Orientation() == TopAbs_FORWARD)
-       tds.Orientation(TopAbs_REVERSED) ;
-      else
-       tds.Orientation(TopAbs_FORWARD) ;
-
-      aShape = tds;
-    } 
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  // Check shape validity
-  BRepCheck_Analyzer ana (aShape, false);
-  if (!ana.IsValid()) {
-    Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
-  }
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_ShapeDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_ShapeDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_ShapeDriver",
-                                                        sizeof(GEOMImpl_ShapeDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_ShapeDriver) Handle(GEOMImpl_ShapeDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_ShapeDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_ShapeDriver))) {
-       _anOtherObject = Handle(GEOMImpl_ShapeDriver)((Handle(GEOMImpl_ShapeDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.hxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.hxx
deleted file mode 100644 (file)
index 191a176..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_ShapeDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_ShapeDriver_HeaderFile
-#define _GEOMImpl_ShapeDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_ShapeDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_ShapeDriver);
-
-class Handle(GEOMImpl_ShapeDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_ShapeDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_ShapeDriver)(const Handle(GEOMImpl_ShapeDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_ShapeDriver)(const GEOMImpl_ShapeDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_ShapeDriver)& operator=(const Handle(GEOMImpl_ShapeDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_ShapeDriver)& operator=(const GEOMImpl_ShapeDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_ShapeDriver* operator->() 
-     {
-      return (GEOMImpl_ShapeDriver *)ControlAccess();
-     }
-
-    GEOMImpl_ShapeDriver* operator->() const 
-     {
-      return (GEOMImpl_ShapeDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_ShapeDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_ShapeDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_ShapeDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_ShapeDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_ShapeDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_ShapeDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_ShapeDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_ShapeDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_SketcherDriver.cxx b/src/GEOMImpl/GEOMImpl_SketcherDriver.cxx
deleted file mode 100644 (file)
index eb34dcb..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_SketcherDriver.hxx>
-#include <GEOMImpl_ISketcher.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Plane.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <gp_Pln.hxx>
-
-#include <Sketcher_Profile.hxx>
-
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_SketcherDriver::GetID()
-{
-  static Standard_GUID aSketcherDriver("FF1BBB64-5D14-4df2-980B-3A668264EA16");
-  return aSketcherDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_SketcherDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_SketcherDriver::GEOMImpl_SketcherDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_SketcherDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ISketcher aCI (aFunction);
-  //Standard_Integer aType = aFunction->GetType();
-
-  // retrieve the command
-  TCollection_AsciiString aCommand = aCI.GetCommand();
-  if (aCommand.IsEmpty())
-    return 0;
-
-  TopoDS_Shape aShape;
-
-  // create sketcher
-  Sketcher_Profile aProfile (aCommand.ToCString());
-
-  if (!aProfile.IsDone()) {
-    Standard_ConstructionError::Raise("Sketcher creation failed");
-  }
-
-  aShape = aProfile.GetShape();
-  if (aShape.IsNull())
-    return 0;
-
-  gp_Ax3 aWPlane;
-  if ( aFunction->GetType() == SKETCHER_NINE_DOUBLS )
-  {
-    gp_Pnt aOrigin =
-      gp_Pnt(aCI.GetWorkingPlane(1), aCI.GetWorkingPlane(2), aCI.GetWorkingPlane(3));
-    gp_Dir aDirZ =
-      gp_Dir(aCI.GetWorkingPlane(4), aCI.GetWorkingPlane(5), aCI.GetWorkingPlane(6));
-    gp_Dir aDirX =
-      gp_Dir(aCI.GetWorkingPlane(7), aCI.GetWorkingPlane(8), aCI.GetWorkingPlane(9));
-    aWPlane = gp_Ax3(aOrigin, aDirZ, aDirX);
-  }
-  else
-  {
-    Handle(GEOM_Function) aRefFace = aCI.GetWorkingPlane();
-    TopoDS_Shape aShape = aRefFace->GetValue();
-    if ( aShape.IsNull() || aShape.ShapeType() != TopAbs_FACE )
-      return 0;
-    Handle(Geom_Surface) aGS = BRep_Tool::Surface( TopoDS::Face( aShape ));
-    if ( aGS.IsNull() || !aGS->IsKind( STANDARD_TYPE( Geom_Plane )))
-      return 0;
-    Handle(Geom_Plane) aGPlane = Handle(Geom_Plane)::DownCast( aGS );
-    aWPlane = aGPlane->Pln().Position();
-  }
-  gp_Trsf aTrans;
-  aTrans.SetTransformation(aWPlane);
-  aTrans.Invert();
-  BRepBuilderAPI_Transform aTransformation (aShape, aTrans, Standard_False);
-  aShape = aTransformation.Shape();
-
-  if (aShape.IsNull())
-    return 0;
-
-  // set the function result
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_SketcherDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_SketcherDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_SketcherDriver",
-                                                        sizeof(GEOMImpl_SketcherDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_SketcherDriver) Handle(GEOMImpl_SketcherDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_SketcherDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_SketcherDriver))) {
-       _anOtherObject = Handle(GEOMImpl_SketcherDriver)((Handle(GEOMImpl_SketcherDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_SketcherDriver.hxx b/src/GEOMImpl/GEOMImpl_SketcherDriver.hxx
deleted file mode 100644 (file)
index de9cfd9..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_SketcherDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_SketcherDriver_HeaderFile
-#define _GEOMImpl_SketcherDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_SketcherDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_SketcherDriver);
-
-class Handle(GEOMImpl_SketcherDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_SketcherDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_SketcherDriver)(const Handle(GEOMImpl_SketcherDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_SketcherDriver)(const GEOMImpl_SketcherDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_SketcherDriver)& operator=(const Handle(GEOMImpl_SketcherDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_SketcherDriver)& operator=(const GEOMImpl_SketcherDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_SketcherDriver* operator->() 
-     {
-      return (GEOMImpl_SketcherDriver *)ControlAccess();
-     }
-
-    GEOMImpl_SketcherDriver* operator->() const 
-     {
-      return (GEOMImpl_SketcherDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_SketcherDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_SketcherDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_SketcherDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_SketcherDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_SketcherDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_SketcherDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_SketcherDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_SketcherDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_SphereDriver.cxx b/src/GEOMImpl/GEOMImpl_SphereDriver.cxx
deleted file mode 100644 (file)
index c5fbb6c..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_SphereDriver.hxx>
-#include <GEOMImpl_ISphere.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeSphere.hxx>
-#include <BRep_Tool.hxx>
-#include <gp_Pnt.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_SphereDriver::GetID()
-{
-  static Standard_GUID aSphereDriver("FF1BBB16-5D14-4df2-980B-3A668264EA16");
-  return aSphereDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_SphereDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_SphereDriver::GEOMImpl_SphereDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_SphereDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ISphere aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == SPHERE_R) {
-    aShape = BRepPrimAPI_MakeSphere(aCI.GetR()).Shape();
-  }
-  else if (aType == SPHERE_PNT_R) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetPoint();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    if (aShapePnt.ShapeType() == TopAbs_VERTEX) {
-      gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-      aShape = BRepPrimAPI_MakeSphere(aP, aCI.GetR()).Shape();
-    }
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_SphereDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_SphereDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_SphereDriver",
-                                                        sizeof(GEOMImpl_SphereDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_SphereDriver) Handle(GEOMImpl_SphereDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_SphereDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_SphereDriver))) {
-       _anOtherObject = Handle(GEOMImpl_SphereDriver)((Handle(GEOMImpl_SphereDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_SphereDriver.hxx b/src/GEOMImpl/GEOMImpl_SphereDriver.hxx
deleted file mode 100644 (file)
index ea5a4b0..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_SphereDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_SphereDriver_HeaderFile
-#define _GEOMImpl_SphereDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_SphereDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_SphereDriver);
-
-class Handle(GEOMImpl_SphereDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_SphereDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_SphereDriver)(const Handle(GEOMImpl_SphereDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_SphereDriver)(const GEOMImpl_SphereDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_SphereDriver)& operator=(const Handle(GEOMImpl_SphereDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_SphereDriver)& operator=(const GEOMImpl_SphereDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_SphereDriver* operator->() 
-     {
-      return (GEOMImpl_SphereDriver *)ControlAccess();
-     }
-
-    GEOMImpl_SphereDriver* operator->() const 
-     {
-      return (GEOMImpl_SphereDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_SphereDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_SphereDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_SphereDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_SphereDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_SphereDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_SphereDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_SphereDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_SphereDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_SplineDriver.cxx b/src/GEOMImpl/GEOMImpl_SplineDriver.cxx
deleted file mode 100644 (file)
index 2bd1c0d..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_SplineDriver.hxx>
-#include <GEOMImpl_ISpline.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <Geom_BezierCurve.hxx>
-//#include <GeomAPI_PointsToBSpline.hxx>
-#include <GeomAPI_Interpolate.hxx>
-
-#include <gp.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Circ.hxx>
-#include <Precision.hxx>
-#include <TColgp_Array1OfPnt.hxx>
-#include <TColgp_HArray1OfPnt.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_SplineDriver::GetID()
-{
-  static Standard_GUID aSplineDriver("FF1BBB33-5D14-4df2-980B-3A668264EA16");
-  return aSplineDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_SplineDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_SplineDriver::GEOMImpl_SplineDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_SplineDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ISpline aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == SPLINE_BEZIER || aType == SPLINE_INTERPOLATION) {
-    int ind, aLen = aCI.GetLength();
-    if (aLen < 2) return 0;
-    Standard_Boolean isSeveral = Standard_False;
-    gp_Pnt aPrevP;
-    TColgp_Array1OfPnt CurvePoints (1, aLen);
-    for (ind = 1; ind <= aLen; ind++) {
-      Handle(GEOM_Function) aRefPoint = aCI.GetPoint(ind);
-      TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-      if (aShapePnt.ShapeType() == TopAbs_VERTEX) {
-        gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-        if (!isSeveral && ind > 1) {
-          if (aP.Distance(aPrevP) > Precision::Confusion()) {
-            isSeveral = Standard_True;
-          }
-        }
-       CurvePoints.SetValue(ind, aP);
-        aPrevP = aP;
-      }
-    }
-    if (aType == SPLINE_BEZIER) {
-      if (!isSeveral) {
-        Standard_ConstructionError::Raise("Points for Bezier Curve are too close");
-      }
-      Handle(Geom_BezierCurve) GBC = new Geom_BezierCurve(CurvePoints);
-      aShape = BRepBuilderAPI_MakeEdge(GBC).Edge();
-    } else {
-//      GeomAPI_PointsToBSpline GBC (CurvePoints);
-//      aShape = BRepBuilderAPI_MakeEdge(GBC).Edge();
-      Handle(TColgp_HArray1OfPnt) aHCurvePoints = new TColgp_HArray1OfPnt(1, aLen);
-      for (ind = 1; ind <= aLen; ind++) {
-       aHCurvePoints->SetValue(ind, CurvePoints.Value(ind));
-      }
-      GeomAPI_Interpolate GBC (aHCurvePoints, Standard_False, gp::Resolution());
-      GBC.Perform();
-      if (GBC.IsDone())
-        aShape = BRepBuilderAPI_MakeEdge(GBC.Curve()).Edge();
-      else
-        return 0;
-    }
-  }
-  else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_SplineDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_SplineDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_SplineDriver",
-                                                        sizeof(GEOMImpl_SplineDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_SplineDriver) Handle(GEOMImpl_SplineDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_SplineDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_SplineDriver))) {
-       _anOtherObject = Handle(GEOMImpl_SplineDriver)((Handle(GEOMImpl_SplineDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_SplineDriver.hxx b/src/GEOMImpl/GEOMImpl_SplineDriver.hxx
deleted file mode 100644 (file)
index c3c7d2d..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_SplineDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_SplineDriver_HeaderFile
-#define _GEOMImpl_SplineDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_SplineDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_SplineDriver);
-
-class Handle(GEOMImpl_SplineDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_SplineDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_SplineDriver)(const Handle(GEOMImpl_SplineDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_SplineDriver)(const GEOMImpl_SplineDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_SplineDriver)& operator=(const Handle(GEOMImpl_SplineDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_SplineDriver)& operator=(const GEOMImpl_SplineDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_SplineDriver* operator->() 
-     {
-      return (GEOMImpl_SplineDriver *)ControlAccess();
-     }
-
-    GEOMImpl_SplineDriver* operator->() const 
-     {
-      return (GEOMImpl_SplineDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_SplineDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_SplineDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_SplineDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_SplineDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_SplineDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_SplineDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_SplineDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_SplineDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_Template.cxx b/src/GEOMImpl/GEOMImpl_Template.cxx
deleted file mode 100644 (file)
index 4bdb571..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_Template.hxx>
-#include <GEOM_Function.hxx>
-#include <TopoDS_Shape.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_Template::GetID()
-{
-  static Standard_GUID aTemplate("Insert the correct GUID here");
-  return aTemplate; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_Template
-//purpose  : 
-//=======================================================================
-
-GEOMImpl_Template::GEOMImpl_Template() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_Template::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label()); 
-  if(aFunction.IsNull()) return 0;
-  
-  //Add implemetation here
-  
-  log.SetTouched(Label());
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_Template_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_Template_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_Template",
-                                                        sizeof(GEOMImpl_Template),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-
-const Handle(GEOMImpl_Template) Handle(GEOMImpl_Template)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_Template) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_Template))) {
-       _anOtherObject = Handle(GEOMImpl_Template)((Handle(GEOMImpl_Template)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_Template.hxx b/src/GEOMImpl/GEOMImpl_Template.hxx
deleted file mode 100644 (file)
index d44f28c..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_Template.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_Template_HeaderFile
-#define _GEOMImpl_Template_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_Template;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_Template);
-
-class Handle(GEOMImpl_Template) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_Template)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_Template)(const Handle(GEOMImpl_Template)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_Template)(const GEOMImpl_Template* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_Template)& operator=(const Handle(GEOMImpl_Template)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_Template)& operator=(const GEOMImpl_Template* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_Template* operator->() 
-     {
-      return (GEOMImpl_Template *)ControlAccess();
-     }
-
-    GEOMImpl_Template* operator->() const 
-     {
-      return (GEOMImpl_Template *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_Template)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_Template) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_Template : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_Template();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_Template() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_Template_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_Template) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_Template) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_TorusDriver.cxx b/src/GEOMImpl/GEOMImpl_TorusDriver.cxx
deleted file mode 100644 (file)
index 9bcfc02..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_TorusDriver.hxx>
-#include <GEOMImpl_ITorus.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRepPrimAPI_MakeTorus.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-
-#include <gp_Pnt.hxx>
-#include <Precision.hxx>
-#include <StdFail_NotDone.hxx>
-#include <Standard_TypeMismatch.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_TorusDriver::GetID()
-{
-  static Standard_GUID aTorusDriver("FF1BBB12-5D14-4df2-980B-3A668264EA16");
-  return aTorusDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_TorusDriver
-//purpose  : 
-//=======================================================================
-GEOMImpl_TorusDriver::GEOMImpl_TorusDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_TorusDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull()) return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_ITorus aCI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-
-  TopoDS_Shape aShape;
-
-  if (aType == TORUS_RR) {
-    aShape = BRepPrimAPI_MakeTorus(aCI.GetRMajor(), aCI.GetRMinor()).Shape();
-
-  } else if (aType == TORUS_PNT_VEC_RR) {
-    Handle(GEOM_Function) aRefPoint  = aCI.GetCenter();
-    Handle(GEOM_Function) aRefVector = aCI.GetVector();
-    TopoDS_Shape aShapePnt = aRefPoint->GetValue();
-    TopoDS_Shape aShapeVec = aRefVector->GetValue();
-    if (aShapePnt.ShapeType() != TopAbs_VERTEX) {
-      Standard_TypeMismatch::Raise("Torus Center must be a vertex");
-    }
-    if (aShapeVec.ShapeType() != TopAbs_EDGE) {
-      Standard_TypeMismatch::Raise("Torus Axis must be an edge");
-    }
-
-    gp_Pnt aP = BRep_Tool::Pnt(TopoDS::Vertex(aShapePnt));
-    TopoDS_Edge anE = TopoDS::Edge(aShapeVec);
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices(anE, V1, V2, Standard_True);
-    if (V1.IsNull() || V2.IsNull()) {
-      Standard_ConstructionError::Raise("Bad edge for the Torus Axis given");
-    }
-
-    gp_Vec aV (BRep_Tool::Pnt(V1), BRep_Tool::Pnt(V2));
-    if (aV.Magnitude() < Precision::Confusion()) {
-      Standard_ConstructionError::Raise
-        ("End vertices of edge, defining the Torus Axis, are too close");
-    }
-
-    gp_Ax2 anAxes (aP, aV);
-    BRepPrimAPI_MakeTorus MT (anAxes, aCI.GetRMajor(), aCI.GetRMinor());
-    if (!MT.IsDone()) MT.Build();
-    if (!MT.IsDone()) StdFail_NotDone::Raise("Torus construction algorithm has failed");
-    aShape = MT.Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;    
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_TorusDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_TorusDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_TorusDriver",
-                                                        sizeof(GEOMImpl_TorusDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-const Handle(GEOMImpl_TorusDriver) Handle(GEOMImpl_TorusDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_TorusDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_TorusDriver))) {
-       _anOtherObject = Handle(GEOMImpl_TorusDriver)((Handle(GEOMImpl_TorusDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_TorusDriver.hxx b/src/GEOMImpl/GEOMImpl_TorusDriver.hxx
deleted file mode 100644 (file)
index d31eadb..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_TorusDriver.ixx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_TorusDriver_HeaderFile
-#define _GEOMImpl_TorusDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_TorusDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_TorusDriver);
-
-class Handle(GEOMImpl_TorusDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_TorusDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_TorusDriver)(const Handle(GEOMImpl_TorusDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_TorusDriver)(const GEOMImpl_TorusDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_TorusDriver)& operator=(const Handle(GEOMImpl_TorusDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_TorusDriver)& operator=(const GEOMImpl_TorusDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_TorusDriver* operator->() 
-     {
-      return (GEOMImpl_TorusDriver *)ControlAccess();
-     }
-
-    GEOMImpl_TorusDriver* operator->() const 
-     {
-      return (GEOMImpl_TorusDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_TorusDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_TorusDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_TorusDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_TorusDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_TorusDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_TorusDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_TorusDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_TorusDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_TranslateDriver.cxx b/src/GEOMImpl/GEOMImpl_TranslateDriver.cxx
deleted file mode 100644 (file)
index 7fc447b..0000000
+++ /dev/null
@@ -1,224 +0,0 @@
-
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_TranslateDriver.hxx>
-#include <GEOMImpl_ITranslate.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-#include <gp_Trsf.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec.hxx>
-#include <BRepBuilderAPI_Transform.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopAbs.hxx>
-#include <TopExp.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Edge.hxx>
-#include <BRep_Tool.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//======================================================================= 
-const Standard_GUID& GEOMImpl_TranslateDriver::GetID()
-{
-  static Standard_GUID aTranslateDriver("FF1BBB03-5D14-4df2-980B-3A668264EA16");
-  return aTranslateDriver; 
-}
-
-
-//=======================================================================
-//function : GEOMImpl_TranslateDriver
-//purpose  : 
-//=======================================================================
-
-GEOMImpl_TranslateDriver::GEOMImpl_TranslateDriver() 
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//======================================================================= 
-Standard_Integer GEOMImpl_TranslateDriver::Execute(TFunction_Logbook& log) const
-{
-  if(Label().IsNull())  return 0;    
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  if(aFunction.IsNull()) return 0;
-
-  GEOMImpl_ITranslate TI(aFunction);
-  gp_Trsf aTrsf;
-  gp_Pnt aP1, aP2;
-  Standard_Integer aType = aFunction->GetType();
-
-  Handle(GEOM_Function) anOriginalFunction = TI.GetOriginal();
-  if(anOriginalFunction.IsNull()) return 0;
-  TopoDS_Shape aShape, anOriginal = anOriginalFunction->GetValue();
-  if(anOriginal.IsNull()) return 0;
-
-  if(aType == TRANSLATE_TWO_POINTS || aType == TRANSLATE_TWO_POINTS_COPY) {
-    Handle(GEOM_Function) aPoint1 = TI.GetPoint1();
-    Handle(GEOM_Function) aPoint2 = TI.GetPoint2();
-    if(aPoint1.IsNull() || aPoint2.IsNull()) return 0;
-    TopoDS_Shape aV1 = aPoint1->GetValue();
-    TopoDS_Shape aV2 = aPoint2->GetValue();
-    if(aV1.IsNull() || aV1.ShapeType() != TopAbs_VERTEX) return 0;
-    if(aV2.IsNull() || aV2.ShapeType() != TopAbs_VERTEX) return 0;
-
-    aP1 = BRep_Tool::Pnt(TopoDS::Vertex(aV1));
-    aP2 = BRep_Tool::Pnt(TopoDS::Vertex(aV2));
-
-    aTrsf.SetTranslation(aP1, aP2);
-    BRepBuilderAPI_Transform aTransformation(anOriginal, aTrsf, Standard_False);
-    aShape = aTransformation.Shape();
-
-  } else if(aType == TRANSLATE_VECTOR || aType == TRANSLATE_VECTOR_COPY) {
-    Handle(GEOM_Function) aVector = TI.GetVector();
-    if(aVector.IsNull()) return 0;
-    TopoDS_Shape aV = aVector->GetValue();
-    if(aV.IsNull() || aV.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(aV);
-
-    aP1 = BRep_Tool::Pnt(TopExp::FirstVertex(anEdge));
-    aP2 = BRep_Tool::Pnt(TopExp::LastVertex(anEdge));
-
-    aTrsf.SetTranslation(aP1, aP2);
-    BRepBuilderAPI_Transform aTransformation(anOriginal, aTrsf, Standard_False);
-    aShape = aTransformation.Shape();
-  }
-  else if(aType == TRANSLATE_XYZ || aType == TRANSLATE_XYZ_COPY) {
-    gp_Vec aVec(TI.GetDX(), TI.GetDY(), TI.GetDZ());
-    aTrsf.SetTranslation(aVec);
-    BRepBuilderAPI_Transform aTransformation(anOriginal, aTrsf, Standard_False);
-    aShape = aTransformation.Shape();
-  }
-  else if(aType == TRANSLATE_1D) {
-    Standard_Real DX, DY, DZ, step = TI.GetStep1();
-    Standard_Integer nbtimes = TI.GetNbIter1();
-    gp_Vec myVec ;
-    TopoDS_Compound aCompound;
-    BRep_Builder B;
-    B.MakeCompound( aCompound );
-
-    Handle(GEOM_Function) aVector = TI.GetVector();
-    if(aVector.IsNull()) return 0;
-    TopoDS_Shape aV = aVector->GetValue();
-    if(aV.IsNull() || aV.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(aV);
-
-    gp_Vec Vec(BRep_Tool::Pnt(TopExp::FirstVertex(anEdge)), BRep_Tool::Pnt(TopExp::LastVertex(anEdge)));
-    Vec.Normalize();
-
-    for (int i = 0; i < nbtimes; i++ ) {
-      DX = i * step * Vec.X() ;
-      DY = i * step * Vec.Y() ;
-      DZ = i * step * Vec.Z() ;
-      myVec.SetCoord( DX, DY, DZ ) ;
-      aTrsf.SetTranslation(myVec) ;
-      BRepBuilderAPI_Transform aTransformation(anOriginal, aTrsf, Standard_False) ;
-      B.Add(aCompound , aTransformation.Shape() );
-    }
-    aShape = aCompound;   
-  }
-  else if(aType == TRANSLATE_2D) {
-    Standard_Integer nbtimes1 = TI.GetNbIter1(), nbtimes2 = TI.GetNbIter2();
-    Standard_Real DX, DY, DZ,  step1 = TI.GetStep1(),  step2 = TI.GetStep2();
-    gp_Vec myVec ;
-    Handle(GEOM_Function) aVector = TI.GetVector();
-    if(aVector.IsNull()) return 0;
-    TopoDS_Shape aV = aVector->GetValue();
-    if(aV.IsNull() || aV.ShapeType() != TopAbs_EDGE) return 0;
-    TopoDS_Edge anEdge = TopoDS::Edge(aV);
-
-    gp_Vec Vec1(BRep_Tool::Pnt(TopExp::FirstVertex(anEdge)), BRep_Tool::Pnt(TopExp::LastVertex(anEdge)));
-    Vec1.Normalize();
-
-    Handle(GEOM_Function) aVector2 = TI.GetVector2();
-    if(aVector2.IsNull()) return 0;
-    aV = aVector2->GetValue();
-    if(aV.IsNull() || aV.ShapeType() != TopAbs_EDGE) return 0;
-    anEdge = TopoDS::Edge(aV);
-
-    gp_Vec Vec2(BRep_Tool::Pnt(TopExp::FirstVertex(anEdge)), BRep_Tool::Pnt(TopExp::LastVertex(anEdge)));
-    Vec2.Normalize();
-
-    TopoDS_Compound aCompound;
-    BRep_Builder B;
-    B.MakeCompound( aCompound );
-    
-    for (int i = 0; i < nbtimes1; i++ ) {
-      for (int j = 0; j < nbtimes2; j++ ) {
-       DX = i * step1 * Vec1.X() + j * step2 * Vec2.X() ;
-       DY = i * step1 * Vec1.Y() + j * step2 * Vec2.Y() ;
-       DZ = i * step1 * Vec1.Z() + j * step2 * Vec2.Z() ;
-       myVec.SetCoord( DX, DY, DZ ) ;
-       aTrsf.SetTranslation(myVec) ;
-       BRepBuilderAPI_Transform myBRepTransformation(anOriginal, aTrsf, Standard_False) ;
-       B.Add(aCompound , myBRepTransformation.Shape() );
-      }
-    }
-   aShape = aCompound;  
-  }
-  else return 0;
-
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label()); 
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_TranslateDriver_Type_
-//purpose  :
-//======================================================================= 
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_TranslateDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_TranslateDriver",
-                                                        sizeof(GEOMImpl_TranslateDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//======================================================================= 
-
-const Handle(GEOMImpl_TranslateDriver) Handle(GEOMImpl_TranslateDriver)::DownCast(const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_TranslateDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_TranslateDriver))) {
-       _anOtherObject = Handle(GEOMImpl_TranslateDriver)((Handle(GEOMImpl_TranslateDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-
-
diff --git a/src/GEOMImpl/GEOMImpl_TranslateDriver.hxx b/src/GEOMImpl/GEOMImpl_TranslateDriver.hxx
deleted file mode 100644 (file)
index baceff7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-//  File   : GEOMImpl_TranslateDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_TranslateDriver_HeaderFile
-#define _GEOMImpl_TranslateDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_TranslateDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_TranslateDriver);
-
-class Handle(GEOMImpl_TranslateDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_TranslateDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_TranslateDriver)(const Handle(GEOMImpl_TranslateDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_TranslateDriver)(const GEOMImpl_TranslateDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_TranslateDriver)& operator=(const Handle(GEOMImpl_TranslateDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_TranslateDriver)& operator=(const GEOMImpl_TranslateDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_TranslateDriver* operator->() 
-     {
-      return (GEOMImpl_TranslateDriver *)ControlAccess();
-     }
-
-    GEOMImpl_TranslateDriver* operator->() const 
-     {
-      return (GEOMImpl_TranslateDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_TranslateDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_TranslateDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_TranslateDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_TranslateDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_TranslateDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_TranslateDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_TranslateDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_TranslateDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GEOMImpl_Types.hxx b/src/GEOMImpl/GEOMImpl_Types.hxx
deleted file mode 100755 (executable)
index d3ede4b..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-//GEOM_Object types
-
-#define GEOM_COPY    0
-#define GEOM_IMPORT  1
-
-#define GEOM_POINT   2
-#define GEOM_VECTOR  3
-#define GEOM_PLANE   4
-#define GEOM_LINE    5
-
-#define GEOM_TORUS    6
-#define GEOM_BOX      7
-#define GEOM_CYLINDER 8
-#define GEOM_CONE     9
-#define GEOM_SPHERE   10
-
-#define GEOM_PRISM      11
-#define GEOM_REVOLUTION 12
-
-#define GEOM_BOOLEAN   13
-#define GEOM_PARTITION 14
-
-#define GEOM_POLYLINE 15
-#define GEOM_CIRCLE   16
-#define GEOM_SPLINE   17
-#define GEOM_ELLIPSE  18
-#define GEOM_CIRC_ARC 19
-
-#define GEOM_FILLET  20
-#define GEOM_CHAMFER 21
-
-#define GEOM_EDGE  22
-#define GEOM_WIRE  23
-#define GEOM_FACE  24
-#define GEOM_SHELL 25
-#define GEOM_SOLID 26
-#define GEOM_COMPOUND 27
-
-#define GEOM_SUBSHAPE 28
-
-#define GEOM_PIPE 29
-
-#define GEOM_ARCHIMEDE 30
-
-#define GEOM_FILLING 31
-
-#define GEOM_EXPLODE 32
-
-#define GEOM_GLUED 33
-
-#define GEOM_SKETCHER 34
-
-#define GEOM_CDG 35
-
-#define GEOM_FREE_BOUNDS 36
-
-#define GEOM_GROUP 37
-
-#define GEOM_BLOCK 38
-
-#define GEOM_MARKER 39
-
-//GEOM_Function types
-
-#define COPY_WITH_REF    1
-#define COPY_WITHOUT_REF 2
-
-#define EXPORT_SHAPE 1
-#define IMPORT_SHAPE 1
-
-#define POINT_XYZ       1
-#define POINT_XYZ_REF   2
-#define POINT_CURVE_PAR 3
-
-#define VECTOR_TWO_PNT  1
-#define VECTOR_DX_DY_DZ 2
-
-#define PLANE_PNT_VEC   1
-#define PLANE_FACE      2
-#define PLANE_THREE_PNT 3
-
-#define LINE_TWO_PNT 1
-#define LINE_PNT_DIR 2
-
-#define TRANSLATE_TWO_POINTS      1
-#define TRANSLATE_VECTOR          2
-#define TRANSLATE_TWO_POINTS_COPY 3
-#define TRANSLATE_VECTOR_COPY     4
-#define TRANSLATE_1D              5
-#define TRANSLATE_2D              6
-#define TRANSLATE_XYZ             7
-#define TRANSLATE_XYZ_COPY        8
-
-#define ROTATE      1
-#define ROTATE_COPY 2
-#define ROTATE_1D   3
-#define ROTATE_2D   4
-
-#define MIRROR_PLANE      1
-#define MIRROR_PLANE_COPY 2
-#define MIRROR_AXIS       3
-#define MIRROR_AXIS_COPY  4
-#define MIRROR_POINT      5
-#define MIRROR_POINT_COPY 6
-
-#define OFFSET_SHAPE      1
-#define OFFSET_SHAPE_COPY 2
-
-#define SCALE_SHAPE      1
-#define SCALE_SHAPE_COPY 2
-
-#define POSITION_SHAPE      1
-#define POSITION_SHAPE_COPY 2
-
-#define TORUS_RR         1
-#define TORUS_PNT_VEC_RR 2
-
-#define BOX_DX_DY_DZ  1
-#define BOX_TWO_PNT   2
-
-#define CYLINDER_R_H         1
-#define CYLINDER_PNT_VEC_R_H 2
-
-#define CONE_R1_R2_H         1
-#define CONE_PNT_VEC_R1_R2_H 2
-
-#define SPHERE_R     1
-#define SPHERE_PNT_R 2
-
-#define PRISM_BASE_VEC_H   1
-#define PRISM_BASE_TWO_PNT 2
-
-#define REVOLUTION_BASE_AXIS_ANGLE 1
-
-#define PIPE_BASE_PATH 1
-
-#define BOOLEAN_COMMON  1
-#define BOOLEAN_CUT     2
-#define BOOLEAN_FUSE    3
-#define BOOLEAN_SECTION 4
-
-#define PARTITION_PARTITION 1
-#define PARTITION_HALF      2
-
-#define POLYLINE_POINTS 1
-
-#define CIRCLE_THREE_PNT 1
-#define CIRCLE_PNT_VEC_R 2
-
-#define SPLINE_BEZIER        1
-#define SPLINE_INTERPOLATION 2
-
-#define ELLIPSE_PNT_VEC_RR 1
-
-#define CIRC_ARC_THREE_PNT 1
-
-#define FILLET_SHAPE_ALL   1
-#define FILLET_SHAPE_EDGES 2
-#define FILLET_SHAPE_FACES 3
-
-#define CHAMFER_SHAPE_ALL   1
-#define CHAMFER_SHAPE_EDGE  2
-#define CHAMFER_SHAPE_FACES 3
-
-#define WIRE_EDGES          1
-#define FACE_WIRE           2
-#define SHELL_FACES         3
-#define SOLID_SHELL         4
-#define SOLID_SHELLS        5
-#define COMPOUND_SHAPES     6
-#define SUBSHAPE_SORTED     7
-#define SUBSHAPE_NOT_SORTED 8
-#define FACE_WIRES          9
-#define REVERSE_ORIENTATION 10
-
-#define ARCHIMEDE_TYPE 1
-
-// Shape Healing operators
-#define SHAPE_PROCESS     1
-#define SUPPRESS_FACES    2
-#define CLOSE_CONTOUR     3
-#define REMOVE_INT_WIRES  4
-#define FILL_HOLES        5
-#define SEWING            6
-#define DIVIDE_EDGE       7
-
-#define BASIC_FILLING 1
-
-#define GLUE_FACES 1
-
-#define SKETCHER_NINE_DOUBLS 1
-#define SKETCHER_PLANE 2
-
-#define CDG_MEASURE 1
-
-#define GROUP_FUNCTION 1
-
-// Blocks
-#define BLOCK_FACE_FOUR_PNT       1
-#define BLOCK_FACE_FOUR_EDGES     2
-#define BLOCK_FACE_TWO_EDGES      3
-#define BLOCK_SIX_FACES           4
-#define BLOCK_TWO_FACES           5
-#define BLOCK_MULTI_TRANSFORM_1D  6
-#define BLOCK_MULTI_TRANSFORM_2D  7
-#define BLOCK_COMPOUND_GLUE       8
-#define BLOCK_REMOVE_EXTRA        9
-#define BLOCK_COMPOUND_IMPROVE    10
-
-// Marker
-#define MARKER_CS 1
diff --git a/src/GEOMImpl/GEOMImpl_VectorDriver.cxx b/src/GEOMImpl/GEOMImpl_VectorDriver.cxx
deleted file mode 100644 (file)
index 1c9602c..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <GEOMImpl_VectorDriver.hxx>
-#include <GEOMImpl_IVector.hxx>
-#include <GEOMImpl_Types.hxx>
-#include <GEOM_Function.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-
-#include <TopAbs.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <gp_Pnt.hxx>
-#include <Precision.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : GetID
-//purpose  :
-//=======================================================================
-const Standard_GUID& GEOMImpl_VectorDriver::GetID()
-{
-  static Standard_GUID aVectorDriver("FF1BBB04-5D14-4df2-980B-3A668264EA16");
-  return aVectorDriver;
-}
-
-
-//=======================================================================
-//function : GEOMImpl_VectorDriver
-//purpose  :
-//=======================================================================
-GEOMImpl_VectorDriver::GEOMImpl_VectorDriver()
-{
-}
-
-//=======================================================================
-//function : Execute
-//purpose  :
-//=======================================================================
-Standard_Integer GEOMImpl_VectorDriver::Execute(TFunction_Logbook& log) const
-{
-  if (Label().IsNull())  return 0;
-  Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
-
-  GEOMImpl_IVector aPI (aFunction);
-  Standard_Integer aType = aFunction->GetType();
-  if (aType != VECTOR_DX_DY_DZ && aType != VECTOR_TWO_PNT) return 0;
-
-  TopoDS_Shape aShape;
-
-  if (aType == VECTOR_DX_DY_DZ) {
-    gp_Pnt P1 = gp::Origin();
-    gp_Pnt P2 (aPI.GetDX(), aPI.GetDY(), aPI.GetDZ());
-    if (P1.Distance(P2) < Precision::Confusion()) {
-      TCollection_AsciiString aMsg ("Can not build vector with length, less than ");
-      aMsg += TCollection_AsciiString(Precision::Confusion());
-      Standard_ConstructionError::Raise(aMsg.ToCString());
-    }
-    aShape = BRepBuilderAPI_MakeEdge(P1, P2).Shape();
-  } else if (aType == VECTOR_TWO_PNT) {
-    Handle(GEOM_Function) aRefPnt1 = aPI.GetPoint1();
-    Handle(GEOM_Function) aRefPnt2 = aPI.GetPoint2();
-    TopoDS_Shape aShape1 = aRefPnt1->GetValue();
-    TopoDS_Shape aShape2 = aRefPnt2->GetValue();
-    if (aShape1.ShapeType() != TopAbs_VERTEX ||
-        aShape2.ShapeType() != TopAbs_VERTEX) return 0;
-    if (aShape1.IsSame(aShape2)) {
-      Standard_ConstructionError::Raise("The end points must be different");
-    }
-    TopoDS_Vertex V1 = TopoDS::Vertex(aShape1);
-    TopoDS_Vertex V2 = TopoDS::Vertex(aShape2);
-    gp_Pnt P1 = BRep_Tool::Pnt(V1);
-    gp_Pnt P2 = BRep_Tool::Pnt(V2);
-    if (P1.Distance(P2) < Precision::Confusion()) {
-      Standard_ConstructionError::Raise("The end points are too close");
-    }
-    aShape = BRepBuilderAPI_MakeEdge(V1, V2).Shape();
-  } else {
-  }
-
-  if (aShape.IsNull()) return 0;
-
-  aFunction->SetValue(aShape);
-
-  log.SetTouched(Label());
-
-  return 1;
-}
-
-
-//=======================================================================
-//function :  GEOMImpl_VectorDriver_Type_
-//purpose  :
-//=======================================================================
-Standard_EXPORT Handle_Standard_Type& GEOMImpl_VectorDriver_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(TFunction_Driver);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TFunction_Driver);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOMImpl_VectorDriver",
-                                                        sizeof(GEOMImpl_VectorDriver),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-//=======================================================================
-//function : DownCast
-//purpose  :
-//=======================================================================
-const Handle(GEOMImpl_VectorDriver) Handle(GEOMImpl_VectorDriver)::DownCast
-       (const Handle(Standard_Transient)& AnObject)
-{
-  Handle(GEOMImpl_VectorDriver) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOMImpl_VectorDriver))) {
-       _anOtherObject = Handle(GEOMImpl_VectorDriver)((Handle(GEOMImpl_VectorDriver)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
diff --git a/src/GEOMImpl/GEOMImpl_VectorDriver.hxx b/src/GEOMImpl/GEOMImpl_VectorDriver.hxx
deleted file mode 100644 (file)
index 7802c12..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  File   : GEOMImpl_VectorDriver.hxx
-//  Module : GEOMImpl
-
-#ifndef _GEOMImpl_VectorDriver_HeaderFile
-#define _GEOMImpl_VectorDriver_HeaderFile
-
-#ifndef _TColStd_SequenceOfExtendedString_HeaderFile
-#include <TColStd_SequenceOfExtendedString.hxx>
-#endif
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_GUID_HeaderFile
-#include <Standard_GUID.hxx>
-#endif 
-
-#ifndef _Handle_TFunction_Driver_HeaderFile
-#include <Handle_TFunction_Driver.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TFunction_Driver);
-class GEOMImpl_VectorDriver;
-
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOMImpl_VectorDriver);
-
-class Handle(GEOMImpl_VectorDriver) : public Handle(TFunction_Driver) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
-    Handle(GEOMImpl_VectorDriver)():Handle(TFunction_Driver)() {} 
-    Handle(GEOMImpl_VectorDriver)(const Handle(GEOMImpl_VectorDriver)& aHandle) : Handle(TFunction_Driver)(aHandle) 
-     {
-     }
-
-    Handle(GEOMImpl_VectorDriver)(const GEOMImpl_VectorDriver* anItem) : Handle(TFunction_Driver)((TFunction_Driver *)anItem) 
-     {
-     }
-
-    Handle(GEOMImpl_VectorDriver)& operator=(const Handle(GEOMImpl_VectorDriver)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOMImpl_VectorDriver)& operator=(const GEOMImpl_VectorDriver* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOMImpl_VectorDriver* operator->() 
-     {
-      return (GEOMImpl_VectorDriver *)ControlAccess();
-     }
-
-    GEOMImpl_VectorDriver* operator->() const 
-     {
-      return (GEOMImpl_VectorDriver *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOMImpl_VectorDriver)() {};
-   Standard_EXPORT static const Handle(GEOMImpl_VectorDriver) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-
-#ifndef _TFunction_Driver_HeaderFile
-#include <TFunction_Driver.hxx>
-#endif
-#ifndef _TFunction_Logbook_HeaderFile
-#include <TFunction_Logbook.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-
-class TColStd_SequenceOfExtendedString;
-
-
-class GEOMImpl_VectorDriver : public TFunction_Driver {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOMImpl_VectorDriver();
-Standard_EXPORT virtual  Standard_Integer Execute(TFunction_Logbook& log) const; 
-Standard_EXPORT virtual void Validate(TFunction_Logbook&) const {}
-Standard_EXPORT Standard_Boolean MustExecute(const TFunction_Logbook&) const { return Standard_True; }
-Standard_EXPORT static const Standard_GUID& GetID();
-Standard_EXPORT ~GEOMImpl_VectorDriver() {};
-
-
- // Type management
- //
-Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_VectorDriver_Type_();
-Standard_EXPORT const Handle(Standard_Type)& DynamicType() const  { return STANDARD_TYPE(GEOMImpl_VectorDriver) ; }
-Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)& AType) const { return (STANDARD_TYPE(GEOMImpl_VectorDriver) == AType || TFunction_Driver::IsKind(AType)); } 
-
-};
-
-#endif
diff --git a/src/GEOMImpl/GUID.txt b/src/GEOMImpl/GUID.txt
deleted file mode 100755 (executable)
index 285d047..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-FF1BBB02-5D14-4df2-980B-3A668264EA16 // Point
-
-FF1BBB03-5D14-4df2-980B-3A668264EA16 // Translation
-
-FF1BBB04-5D14-4df2-980B-3A668264EA16 // Vector
-FF1BBB05-5D14-4df2-980B-3A668264EA16 // Plane
-FF1BBB06-5D14-4df2-980B-3A668264EA16 // Line
-FF1BBB07-5D14-4df2-980B-3A668264EA16 // Marker
-
-FF1BBB00-5D14-4df2-980B-3A668264EA16 // GUID for Functions tree
-FF1BBB10-5D14-4df2-980B-3A668264EA16 // GUID for References tree
-
-FF1BBB12-5D14-4df2-980B-3A668264EA16 // Torus
-FF1BBB13-5D14-4df2-980B-3A668264EA16 // Box
-FF1BBB14-5D14-4df2-980B-3A668264EA16 // Cylinder
-FF1BBB15-5D14-4df2-980B-3A668264EA16 // Cone
-FF1BBB16-5D14-4df2-980B-3A668264EA16 // Sphere
-FF1BBB17-5D14-4df2-980B-3A668264EA16 // Prism (Extrusion)
-FF1BBB18-5D14-4df2-980B-3A668264EA16 // Revolution
-FF1BBB19-5D14-4df2-980B-3A668264EA16 // Pipe
-
-FF1BBB21-5D14-4df2-980B-3A668264EA16 // Boolean
-FF1BBB22-5D14-4df2-980B-3A668264EA16 // Partition
-
-FF1BBB31-5D14-4df2-980B-3A668264EA16 // Polyline
-FF1BBB32-5D14-4df2-980B-3A668264EA16 // Circle
-FF1BBB33-5D14-4df2-980B-3A668264EA16 // Spline
-FF1BBB34-5D14-4df2-980B-3A668264EA16 // Ellipse
-FF1BBB35-5D14-4df2-980B-3A668264EA16 // Arc of circle
-
-FF1BBB41-5D14-4df2-980B-3A668264EA16 // Fillet
-FF1BBB42-5D14-4df2-980B-3A668264EA16 // Chamfer
-
-FF1BBB51-5D14-4df2-980B-3A668264EA16 // Offset
-FF1BBB52-5D14-4df2-980B-3A668264EA16 // Scale
-
-FF1BBB53-5D14-4df2-980B-3A668264EA16 // Copy
-
-FF1BBB54-5D14-4df2-980B-3A668264EA16 // Shape (Wire, Face, Shell, Solid, Compound)
-
-FF1BBB55-5D14-4df2-980B-3A668264EA16 // Subshape
-
-FF1BBB56-5D14-4df2-980B-3A668264EA16 // Rotate
-
-FF1BBB57-5D14-4df2-980B-3A668264EA16 // Mirror
-
-FF1BBB58-5D14-4df2-980B-3A668264EA16 // Export
-
-FF1BBB59-5D14-4df2-980B-3A668264EA16 // Archimede
-
-FF1BBB60-5D14-4df2-980B-3A668264EA16 // Import
-
-FF1BBB61-5D14-4df2-980B-3A668264EA16 // Shape Healing
-
-FF1BBB62-5D14-4df2-980B-3A668264EA16 // Filling
-
-FF1BBB63-5D14-4df2-980B-3A668264EA16 // Glue Faces
-
-FF1BBB64-5D14-4df2-980B-3A668264EA16 // Sketcher
-
-FF1BBB65-5D14-4df2-980B-3A668264EA16 // Measurements
-
-FF1BBB66-5D14-4df2-980B-3A668264EA16 // Group
-
-FF1BBB67-5D14-4df2-980B-3A668264EA16 // Blocks
-
-FF1BBB68-5D14-4df2-980B-3A668264EA16 // Sub shape GUID
-
-FF1BBB69-5D14-4df2-980B-3A668264EA16 // Modify the Location
diff --git a/src/GEOMImpl/Makefile.in b/src/GEOMImpl/Makefile.in
deleted file mode 100644 (file)
index d715111..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOMimpl.la
-LIB_SRC = GEOMImpl_IBasicOperations.cxx \
-         GEOMImpl_ITransformOperations.cxx \
-          GEOMImpl_IHealingOperations.cxx \
-         GEOMImpl_I3DPrimOperations.cxx \
-         GEOMImpl_IShapesOperations.cxx \
-         GEOMImpl_IBlocksOperations.cxx \
-         GEOMImpl_IBooleanOperations.cxx \
-         GEOMImpl_ICurvesOperations.cxx \
-         GEOMImpl_ILocalOperations.cxx \
-         GEOMImpl_IInsertOperations.cxx \
-         GEOMImpl_IMeasureOperations.cxx \
-         GEOMImpl_IGroupOperations.cxx \
-         GEOMImpl_Gen.cxx \
-         GEOMImpl_PointDriver.cxx \
-         GEOMImpl_VectorDriver.cxx \
-         GEOMImpl_LineDriver.cxx \
-         GEOMImpl_PlaneDriver.cxx \
-         GEOMImpl_MarkerDriver.cxx \
-         GEOMImpl_TranslateDriver.cxx \
-         GEOMImpl_MirrorDriver.cxx \
-         GEOMImpl_OffsetDriver.cxx \
-         GEOMImpl_ScaleDriver.cxx \
-         GEOMImpl_PositionDriver.cxx \
-         GEOMImpl_BoxDriver.cxx \
-         GEOMImpl_ConeDriver.cxx \
-         GEOMImpl_CylinderDriver.cxx \
-         GEOMImpl_SphereDriver.cxx \
-         GEOMImpl_TorusDriver.cxx \
-         GEOMImpl_PrismDriver.cxx \
-         GEOMImpl_PipeDriver.cxx \
-         GEOMImpl_RevolutionDriver.cxx \
-         GEOMImpl_ShapeDriver.cxx \
-         GEOMImpl_BlockDriver.cxx \
-         GEOMImpl_Block6Explorer.cxx \
-         GEOMImpl_MeasureDriver.cxx \
-         GEOMImpl_PolylineDriver.cxx \
-         GEOMImpl_CircleDriver.cxx \
-         GEOMImpl_EllipseDriver.cxx \
-         GEOMImpl_ArcDriver.cxx \
-         GEOMImpl_SplineDriver.cxx \
-         GEOMImpl_SketcherDriver.cxx \
-         GEOMImpl_FilletDriver.cxx \
-         GEOMImpl_ChamferDriver.cxx \
-         GEOMImpl_BooleanDriver.cxx \
-         GEOMImpl_PartitionDriver.cxx \
-         GEOMImpl_CopyDriver.cxx \
-         GEOMImpl_ExportDriver.cxx \
-         GEOMImpl_ImportDriver.cxx \
-         GEOMImpl_RotateDriver.cxx \
-         GEOMImpl_ArchimedeDriver.cxx \
-         GEOMImpl_HealingDriver.cxx \
-         GEOMImpl_FillingDriver.cxx \
-         GEOMImpl_GlueDriver.cxx
-
-LIB_CLIENT_IDL =
-LIB_SERVER_IDL =
-
-# Executables targets
-BIN =
-BIN_SRC =
-BIN_CLIENT_IDL =
-BIN_SERVER_IDL =
-
-# header files
-EXPORT_HEADERS= GEOMImpl_Gen.hxx \
-               GEOMImpl_IBasicOperations.hxx \
-               GEOMImpl_ITransformOperations.hxx \
-                GEOMImpl_IHealingOperations.hxx \
-               GEOMImpl_I3DPrimOperations.hxx \
-               GEOMImpl_IShapesOperations.hxx \
-               GEOMImpl_IBlocksOperations.hxx \
-               GEOMImpl_IBooleanOperations.hxx \
-               GEOMImpl_ICurvesOperations.hxx \
-               GEOMImpl_ILocalOperations.hxx \
-               GEOMImpl_IInsertOperations.hxx \
-               GEOMImpl_IMeasureOperations.hxx \
-               GEOMImpl_IGroupOperations.hxx \
-               GEOMImpl_CopyDriver.hxx \
-               GEOMImpl_Types.hxx
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += -L${KERNEL_ROOT_DIR}/lib/salome $(CAS_LDPATH) -lTKCAF -lTKFillet -lTKOffset -lCASCatch -lGEOMbasic -lNMTAlgo -lGEOMAlgo -lShHealOper
-
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
-
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.cxx b/src/GEOMToolsGUI/GEOMToolsGUI.cxx
deleted file mode 100644 (file)
index aced45d..0000000
+++ /dev/null
@@ -1,649 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GEOMBase_Tools.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "GEOMToolsGUI.h"
-
-#include "GeometryGUI.h"
-#include "GEOM_Actor.h"
-#include "GEOMBase.h"
-#include "GEOM_Operation.h"
-#include "GEOM_Displayer.h"
-
-#include <SUIT_Session.h>
-#include <SUIT_Application.h>
-#include <SUIT_OverrideCursor.h>
-#include <SUIT_MessageBox.h>
-#include <SUIT_Tools.h>
-#include <SUIT_FileDlg.h>
-#include <SUIT_Desktop.h>
-#include <SUIT_ViewModel.h>
-
-#include <SalomeApp_Application.h>
-#include <SalomeApp_Study.h>
-#include <SalomeApp_SelectionMgr.h>
-
-#include <SALOME_ListIteratorOfListIO.hxx>
-#include <SALOME_Prs.h>
-
-#include "utilities.h"
-
-// QT Includes
-#include <qapplication.h>
-#include <qmap.h>
-
-// OCCT Includes
-#include <TCollection_AsciiString.hxx>
-
-using namespace std;
-
-typedef QMap<QString, QString> FilterMap;
-
-//=======================================================================
-// function : getFileName
-// purpose  : Selection of a file name for Import/Export. Returns also
-//            the selected file type code through <filter> argument.
-//=======================================================================
-static QString getFileName( QWidget*           parent,
-                           const QString&     initial,
-                           const FilterMap&   filterMap,
-                           const QString&     caption,
-                           bool               open,
-                           QString&           format )
-{
-  static QString lastUsedFilter;
-  QStringList filters;
-  for ( FilterMap::const_iterator it = filterMap.begin(); it != filterMap.end(); ++it )
-    filters.push_back( it.key() );
-
-  SUIT_FileDlg* fd = new SUIT_FileDlg( parent, open, true, true );
-  if ( !caption.isEmpty() )
-    fd->setCaption( caption );
-
-  if ( !initial.isEmpty() )
-    fd->setSelection( initial );
-
-  if ( !lastUsedFilter.isEmpty() && filterMap.contains( lastUsedFilter ) )
-    fd->setSelectedFilter( lastUsedFilter );
-
-  fd->setFilters( filters );
-
-  fd->exec();
-  QString filename = fd->selectedFile();
-  format = filterMap[fd->selectedFilter()];
-  lastUsedFilter = fd->selectedFilter();
-  delete fd;
-  qApp->processEvents();
-  return filename;
-}
-
-//=======================================================================
-// function : GEOMToolsGUI()
-// purpose  : Constructor
-//=======================================================================
-GEOMToolsGUI::GEOMToolsGUI( GeometryGUI* parent )
-: GEOMGUI( parent )
-{
-}
-
-
-//=======================================================================
-// function : ~GEOMToolsGUI()
-// purpose  : Destructor
-//=======================================================================
-GEOMToolsGUI::~GEOMToolsGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  :
-//=======================================================================
-bool GEOMToolsGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-
-  switch (theCommandID)
-    {
-    case 31: // COPY
-      {
-       OnEditCopy();
-       break;
-      }
-    case 33: // DELETE
-      {
-       OnEditDelete();
-       break;
-      }
-    case 111: // IMPORT BREP
-    case 112: // IMPORT IGES
-    case 113: // IMPORT STEP
-      {
-       Import();
-       break;
-      }
-    case 121: // EXPORT BREP
-    case 122: // EXPORT IGES
-    case 123: // EXPORT STEP
-      {
-       Export();
-       break;
-      }
-    case 411: // SETTINGS - ADD IN STUDY
-      {
-       // SAN -- TO BE REMOVED !!!
-       break;
-      }
-    case 412: // SETTINGS - SHADING COLOR
-      {
-       OnSettingsColor();
-       break;
-      }
-    case 413: // SETTINGS - ISOS
-      {
-       OnSettingsIsos();
-       break;
-      }
-    case 414: // SETTINGS : STEP VALUE FOR SPIN BOXES
-      {
-       OnSettingsStep();
-       break;
-      }
-    case 804: // ADD IN STUDY - POPUP VIEWER
-      {
-       // SAN -- TO BE REMOVED !!!!
-       break;
-      }
-    case 901: // RENAME
-      {
-       OnRename();
-       break;
-      }
-    case 5103: // CHECK GEOMETRY
-      {
-       OnCheckGeometry();
-       break;
-      }
-    case 8032: // COLOR - POPUP VIEWER
-      {
-       OnColor();
-       break;
-      }
-    case 8033: // TRANSPARENCY - POPUP VIEWER
-      {
-       OnTransparency();
-       break;
-      }
-    case 8034: // ISOS - POPUP VIEWER
-      {
-       OnNbIsos();
-       break;
-      }
-    case 9024 : // OPEN - OBJBROSER POPUP
-      {
-       OnOpen();
-       break;
-      }
-    default:
-      {
-       SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-       break;
-      }
-    }
-  return true;
-}
-
-
-
-//===============================================================================
-// function : OnEditDelete()
-// purpose  :
-//===============================================================================
-void GEOMToolsGUI::OnEditDelete()
-{
-  SALOME_ListIO selected;
-  SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( SUIT_Session::session()->activeApplication() );
-  if ( app ) {
-    SalomeApp_SelectionMgr* aSelMgr = app->selectionMgr();
-    SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( app->activeStudy() );
-    if ( aSelMgr && appStudy ) {
-      aSelMgr->selectedObjects( selected );
-      if ( !selected.IsEmpty() ) {
-       _PTR(Study) aStudy = appStudy->studyDS();
-
-       bool aLocked = (_PTR(AttributeStudyProperties)(aStudy->GetProperties()))->IsLocked();
-       if ( aLocked ) {
-         SUIT_MessageBox::warn1 ( app->desktop(),
-                                  QObject::tr("WRN_WARNING"),
-                                  QObject::tr("WRN_STUDY_LOCKED"),
-                                  QObject::tr("BUT_OK") );
-         return;
-       }
-
-       // VSR 17/11/04: check if all objects selected belong to GEOM component --> start
-       // modifications of ASV 01.06.05
-       QString parentComp = getParentComponent( aStudy, selected );
-       const char* geomIOR = app->orb()->object_to_string( GeometryGUI::GetGeomGen() );
-       QString geomComp = getParentComponent( aStudy->FindObjectIOR( geomIOR ) );
-
-       if ( parentComp != geomComp )  {
-         SUIT_MessageBox::warn1 ( app->desktop(),
-                                 QObject::tr("ERR_ERROR"),
-                                 QObject::tr("NON_GEOM_OBJECTS_SELECTED").arg( getGeometryGUI()->moduleName() ),
-                                 QObject::tr("BUT_OK") );
-         return;
-       }
-       // VSR 17/11/04: check if all objects selected belong to GEOM component <-- finish
-
-       if ( SUIT_MessageBox::warn2( app->desktop(),
-                                    QObject::tr( "GEOM_WRN_WARNING" ),
-                                    QObject::tr( "GEOM_REALLY_DELETE" ),
-                                    QObject::tr( "GEOM_BUT_YES" ),
-                                    QObject::tr( "GEOM_BUT_NO" ), 1, 0, 0 ) != 1 )
-         return;
-
-       //      QAD_Operation* op = new SALOMEGUI_ImportOperation(.....);
-       //      op->start();
-
-       // prepare list of SALOME_Views
-       QPtrList<SALOME_View> views;
-       SALOME_View* view;
-       // fill the list
-       ViewManagerList vmans = app->viewManagers();
-       SUIT_ViewManager* vman;
-       for ( vman = vmans.first(); vman; vman = vmans.next() ) {
-         SUIT_ViewModel* vmod = vman->getViewModel();
-         view = dynamic_cast<SALOME_View*> ( vmod ); // must work for OCC and VTK views
-         if ( view )
-           views.append( view );
-       }
-
-       _PTR(StudyBuilder) aStudyBuilder (aStudy->NewBuilder());
-       _PTR(GenericAttribute) anAttr;
-       GEOM_Displayer* disp = new GEOM_Displayer( appStudy );
-
-       // MAIN LOOP OF SELECTED OBJECTS
-       for ( SALOME_ListIteratorOfListIO It( selected ); It.More(); It.Next() ) {
-
-         Handle(SALOME_InteractiveObject) io = It.Value();
-         if ( !io->hasEntry() )
-           continue;
-
-         _PTR(SObject) obj ( aStudy->FindObjectID( io->getEntry() ) );
-
-         // disable removal of "Geometry" component object
-         if ( !strcmp( obj->GetIOR().c_str(), geomIOR ) )
-           continue;
-
-         // iterate through all children of obj, find IOR attributes on children
-         // and remove shapes that correspond to these IORs
-         for (_PTR(ChildIterator) it (aStudy->NewChildIterator(obj)); it->More(); it->Next()) {
-           _PTR(SObject) child (it->Value());
-           if (child->FindAttribute(anAttr, "AttributeIOR")) {
-             _PTR(AttributeIOR) anIOR (anAttr);
-
-             // Delete child( s ) shape in Client :
-             const TCollection_AsciiString ASCior ((char*)anIOR->Value().c_str());
-             getGeometryGUI()->GetShapeReader().RemoveShapeFromBuffer(ASCior);
-
-              CORBA::Object_var corbaObj = GeometryGUI::ClientSObjectToObject(child);
-              GEOM::GEOM_Object_var geomObj = GEOM::GEOM_Object::_narrow(corbaObj);
-              if (!CORBA::is_nil(geomObj)) {
-                for (view = views.first(); view; view = views.next()) {
-                 disp->Erase(geomObj, true, view);
-                }
-              }
-           }
-         } // for ( children of obj )
-
-         // Erase main graphical object
-         for ( view = views.first(); view; view = views.next() )
-           disp->Erase( io, true, view );
-
-         // Delete main shape in Client :
-         if ( obj->FindAttribute( anAttr, "AttributeIOR" ) ) {
-           _PTR(AttributeIOR) anIOR( anAttr );
-           const TCollection_AsciiString ASCIor( (char*)anIOR->Value().c_str() );
-           getGeometryGUI()->GetShapeReader().RemoveShapeFromBuffer( ASCIor );
-         }
-
-          CORBA::Object_var corbaObj = GeometryGUI::ClientSObjectToObject(obj);
-         GEOM::GEOM_Object_var geomObj = GEOM::GEOM_Object::_narrow( corbaObj );
-         if ( !CORBA::is_nil( geomObj ) )
-           GeometryGUI::GetGeomGen()->RemoveObject( geomObj );
-
-         // Remove objects from Study
-         aStudyBuilder->RemoveObject( obj );
-
-         //deleted = true;
-       } // MAIN LOOP of selected
-
-       selected.Clear();
-       aSelMgr->setSelectedObjects( selected );
-       getGeometryGUI()->updateObjBrowser();
-      } // if ( selected not empty )
-    } // if ( selMgr && appStudy )
-
-    app->updateActions(); //SRN: To update a Save button in the toolbar 
-
-  } // if ( app )
-
-
-  //  if ( deleted )
-  //    op->finish();
-  //  else
-  //    op->abort();
-}
-
-
-//==============================================================================
-// function : OnEditCopy()
-// purpose  :
-//==============================================================================
-void GEOMToolsGUI::OnEditCopy()
-{
-/*
- SALOME_Selection* Sel = SALOME_Selection::Selection(QAD_Application::getDesktop()->getActiveStudy()->getSelection() );
-  GEOM::string_array_var listIOR = new GEOM::string_array;
-
-  const SALOME_ListIO& List = Sel->StoredIObjects();
-
-  myGeomBase->ConvertListOfIOInListOfIOR(List, listIOR);
-
-  Sel->ClearIObjects();
-
-  SALOMEDS::Study_var aStudy = QAD_Application::getDesktop()->getActiveStudy()->getStudyDocument();
-  int aStudyID = aStudy->StudyId();
-
-  for (unsigned int ind = 0; ind < listIOR->length();ind++) {
-    GEOM::GEOM_Object_var aShapeInit = myGeom->GetIORFromString(listIOR[ind]);
-    try {
-      GEOM::GEOM_IInsertOperations_var IOp =  myGeom->GetIInsertOperations(aStudyID);
-      GEOM::GEOM_Object_var result = IOp->MakeCopy(aShapeInit);
-      myGeomBase->Display(result);
-    }
-    catch  (const SALOME::SALOME_Exception& S_ex) {
-      QtCatchCorbaException(S_ex);
-    }
-  }
-
-  QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_READY"));
-*/
-}
-
-
-//=====================================================================================
-// function : Import
-// purpose  : BRep, Iges, Step
-//=====================================================================================
-bool GEOMToolsGUI::Import()
-{
-  SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( getGeometryGUI()->getApp() ); 
-  //SUIT_Application* app = getGeometryGUI()->getApp();
-  if (! app) return false;
-
-  SalomeApp_Study* stud = dynamic_cast<SalomeApp_Study*> ( app->activeStudy() );
-  if ( !stud ) {
-    cout << "FAILED to cast active study to SalomeApp_Study" << endl;
-    return false;
-  }
-  _PTR(Study) aStudy = stud->studyDS();
-
-  bool aLocked = (_PTR(AttributeStudyProperties)(aStudy->GetProperties()))->IsLocked();
-  if ( aLocked ) {
-    SUIT_MessageBox::warn1 ( app->desktop(),
-                           QObject::tr("WRN_WARNING"),
-                           QObject::tr("WRN_STUDY_LOCKED"),
-                           QObject::tr("BUT_OK") );
-    return false;
-  }
-
-  GEOM::GEOM_Gen_var eng = GeometryGUI::GetGeomGen();
-  if ( CORBA::is_nil( eng ) ) {
-    SUIT_MessageBox::error1( app->desktop(),
-                           QObject::tr("WRN_WARNING"),
-                           QObject::tr( "GEOM Engine is not started" ),
-                           QObject::tr("BUT_OK") );
-      return false;
-    }
-
-  GEOM::GEOM_IInsertOperations_var aInsOp = eng->GetIInsertOperations( aStudy->StudyId() );
-  if ( aInsOp->_is_nil() )
-    return false;
-
-  GEOM::GEOM_Object_var anObj;
-
-  // Obtain a list of available import formats
-  FilterMap aMap;
-  GEOM::string_array_var aFormats, aPatterns;
-  aInsOp->ImportTranslators( aFormats, aPatterns );
-
-  for ( int i = 0, n = aFormats->length(); i < n; i++ )
-    aMap.insert( (char*)aPatterns[i], (char*)aFormats[i] );
-
-  QString fileType;
-
-  QString file = getFileName(app->desktop(), "", aMap, tr("GEOM_MEN_IMPORT"), true, fileType );
-  if( file.isEmpty() || fileType.isEmpty() )
-    return false;
-
-  GEOM_Operation* anOp = new GEOM_Operation( app, aInsOp.in() );
-  try {
-    SUIT_OverrideCursor wc;
-
-    app->putInfo( tr("GEOM_PRP_LOADING").arg(SUIT_Tools::file( file, /*withExten=*/true )) );
-
-    anOp->start();
-
-    anObj = aInsOp->Import( file.latin1(), fileType.latin1() );
-
-    if ( !anObj->_is_nil() && aInsOp->IsDone() ) {
-      anObj->SetName( GEOMBase::GetDefaultName( QObject::tr( "GEOM_IMPORT" ) ).latin1() );
-      QString aPublishObjName = GEOMBase::GetDefaultName( SUIT_Tools::file( file, /*withExten=*/true ));
-
-      SALOMEDS::Study_var aDSStudy = GeometryGUI::ClientStudyToStudy(aStudy);
-      GeometryGUI::GetGeomGen()->PublishInStudy(aDSStudy,
-                                               SALOMEDS::SObject::_nil(),
-                                               anObj,
-                                               aPublishObjName);
-
-      GEOM_Displayer( stud ).Display( anObj.in() );
-
-      // update data model and object browser
-      getGeometryGUI()->updateObjBrowser( true );
-
-      anOp->commit();
-    }
-    else {
-      anOp->abort();
-      wc.suspend();
-      SUIT_MessageBox::error1( app->desktop(),
-                             QObject::tr( "GEOM_ERROR" ),
-                             QObject::tr("GEOM_PRP_ABORT") + "\n" + QString( aInsOp->GetErrorCode() ),
-                             QObject::tr("BUT_OK") );
-    }
-  }
-  catch( const SALOME::SALOME_Exception& S_ex ) {
-    //QtCatchCorbaException(S_ex);
-    anOp->abort();
-    return false;
-  }
-
-  app->updateActions(); //SRN: To update a Save button in the toolbar
-
-  return true;
-}
-
-
-//=====================================================================================
-// function : Export
-// purpose  : BRep, Iges, Step
-//=====================================================================================
-bool GEOMToolsGUI::Export()
-{
-  SalomeApp_Application* app = getGeometryGUI()->getApp();
-  if (!app) return false;
-
-  SalomeApp_Study* stud = dynamic_cast<SalomeApp_Study*> ( app->activeStudy() );
-  if ( !stud ) {
-    cout << "FAILED to cast active study to SalomeApp_Study" << endl;
-    return false;
-  }
-  _PTR(Study) aStudy = stud->studyDS();
-
-  GEOM::GEOM_Gen_var eng = GeometryGUI::GetGeomGen();
-  if ( CORBA::is_nil( eng ) ) {
-    SUIT_MessageBox::error1( app->desktop(),
-                            QObject::tr("WRN_WARNING"),
-                            QObject::tr( "GEOM Engine is not started" ),
-                            QObject::tr("BUT_OK") );
-    return false;
-  }
-
-  GEOM::GEOM_IInsertOperations_var aInsOp = eng->GetIInsertOperations( aStudy->StudyId() );
-  if ( aInsOp->_is_nil() )
-    return false;
-
-  // Obtain a list of available export formats
-  FilterMap aMap;
-  GEOM::string_array_var aFormats, aPatterns;
-  aInsOp->ExportTranslators( aFormats, aPatterns );
-  for ( int i = 0, n = aFormats->length(); i < n; i++ )
-    aMap.insert( (char*)aPatterns[i], (char*)aFormats[i] );
-
-  // Get selected objects
-  SalomeApp_SelectionMgr* sm = app->selectionMgr();
-  if ( !sm )
-    return false;
-
-  SALOME_ListIO selectedObjects;
-  sm->selectedObjects( selectedObjects );
-
-  SALOME_ListIteratorOfListIO It( selectedObjects );
-  for(;It.More();It.Next()) {
-    Handle(SALOME_InteractiveObject) IObject = It.Value();
-    Standard_Boolean found;
-    GEOM::GEOM_Object_var anObj = GEOMBase::ConvertIOinGEOMObject(IObject, found);
-
-    if ( !found || anObj->_is_nil() )
-      continue;
-
-    QString fileType;
-    QString file = getFileName(app->desktop(), QString( IObject->getName() ), aMap,
-                              tr("GEOM_MEN_EXPORT"), false, fileType);
-
-    // User has pressed "Cancel" --> stop the operation
-    if ( file.isEmpty() || fileType.isEmpty() )
-      return false;
-
-    GEOM_Operation* anOp = new GEOM_Operation( app, aInsOp.in() );
-    try {
-      SUIT_OverrideCursor wc;
-
-      app->putInfo( tr("GEOM_PRP_EXPORT").arg(SUIT_Tools::file( file, /*withExten=*/true )) );
-
-      anOp->start();
-
-
-      aInsOp->Export( anObj, file, fileType.latin1() );
-
-      if ( aInsOp->IsDone() )
-       anOp->commit();
-      else
-       {
-         anOp->abort();
-         wc.suspend();
-         SUIT_MessageBox::error1( app->desktop(),
-                                  QObject::tr( "GEOM_ERROR" ),
-                                  QObject::tr("GEOM_PRP_ABORT") + "\n" + QString( aInsOp->GetErrorCode() ),
-                                  QObject::tr("BUT_OK") );
-         return false;
-       }
-    }
-    catch (const SALOME::SALOME_Exception& S_ex) {
-      //QtCatchCorbaException(S_ex);
-      anOp->abort();
-      return false;
-    }
-  }
-
-  return true;
-}
-
-
-QString GEOMToolsGUI::getParentComponent( _PTR( Study ) study, const SALOME_ListIO& iobjs )
-{
-  QString parentComp;
-
-  for ( SALOME_ListIteratorOfListIO it( iobjs ); it.More(); it.Next() ) {
-
-    Handle(SALOME_InteractiveObject) io = it.Value();
-    if ( !io->hasEntry() )
-      continue;
-
-    QString compName = getParentComponent( study->FindObjectID( io->getEntry() ) );
-
-    if ( parentComp.isNull() )
-      parentComp = compName;
-    else if ( parentComp.compare( compName) != 0 ) { // objects belonging to different components are selected
-      parentComp = QString::null;
-      break;
-    }
-  }
-
-  return parentComp;
-}
-
-QString GEOMToolsGUI::getParentComponent( _PTR( SObject ) obj )
-{
-  if ( obj ) {
-    _PTR(SComponent) comp = obj->GetFatherComponent();
-    if ( comp ) {
-      _PTR(GenericAttribute) anAttr;
-      if ( comp->FindAttribute( anAttr, "AttributeName") ) {
-       _PTR(AttributeName) aName( anAttr );
-       return QString( aName->Value().c_str() );
-      }
-    }
-  }
-  return QString();
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return new GEOMToolsGUI( parent );
-  }
-}
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.h b/src/GEOMToolsGUI/GEOMToolsGUI.h
deleted file mode 100644 (file)
index 0ac2924..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GEOMToolsGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOMTOOLSGUI_H
-#define GEOMTOOLSGUI_H
-
-#include "GEOMGUI.h"
-
-#include <SALOMEDSClient.hxx>
-#include <SALOME_ListIO.hxx>
-
-#include <CORBA.h>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMTOOLSGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMTOOLSGUI_WNT_EXPORT
-#endif
-//=================================================================================
-// class    : GEOMToolsGUI
-// purpose  :
-//=================================================================================
-class GEOMTOOLSGUI_WNT_EXPORT GEOMToolsGUI : public GEOMGUI
-{
-public :
-  GEOMToolsGUI( GeometryGUI* ); // hide constructor to avoid direct creation
-  ~GEOMToolsGUI();
-
-  bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
-
-private:
-  // Import and export topology methods
-  bool Import();
-  bool Export();
-
-  void OnEditCopy();
-  void OnEditDelete();
-
-  void OnSettingsColor();
-  void OnSettingsIsos();
-  void OnSettingsStep();
-  void OnRename();
-  void OnCheckGeometry();
-
-  // Popup commands
-  void OnColor();
-  void OnTransparency();
-  void OnNbIsos();
-  void OnOpen();
-
-  // returns name of Module (Component) of given objects (usually selected objects)
-  // if objects belong to different Components, a NULL string is returned.
-  QString getParentComponent( _PTR( Study ), const SALOME_ListIO& );
-  QString getParentComponent( _PTR(SObject) );
-};
-
-#endif
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.cxx
deleted file mode 100644 (file)
index b4876de..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-//  SALOME GEOMToolsGUI : implementation of desktop and GUI kernel
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : GEOMToolsGUI_NameDlg.cxx
-//  Author : Vadim SANDLER
-//  Module : SALOME
-//  $Header$
-
-
-#include "GEOMToolsGUI_NameDlg.h"
-#include <SUIT_Session.h>
-#include <SUIT_Application.h>
-#include <SUIT_Desktop.h>
-#include <SUIT_Tools.h>
-
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-
-//using namespace std;
-/*!
-  Constructor
-*/
-GEOMToolsGUI_NameDlg::GEOMToolsGUI_NameDlg( QWidget* parent )
-    : QDialog( parent ? parent : SUIT_Session::session()->activeApplication()->desktop(), 
-              "GEOMToolsGUI_NameDlg", 
-              true, 
-              WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu )
-{
-  setCaption( tr("TLT_RENAME") );
-  setSizeGripEnabled( TRUE );
-  
-  QVBoxLayout* topLayout = new QVBoxLayout( this );
-  topLayout->setMargin( 11 ); topLayout->setSpacing( 6 );
-
-  /***************************************************************/
-  QGroupBox* GroupC1 = new QGroupBox( this, "GroupC1" );
-  GroupC1->setColumnLayout(0, Qt::Vertical );
-  GroupC1->layout()->setMargin( 0 ); GroupC1->layout()->setSpacing( 0 );
-  QHBoxLayout* GroupC1Layout = new QHBoxLayout( GroupC1->layout() );
-  GroupC1Layout->setAlignment( Qt::AlignTop );
-  GroupC1Layout->setMargin( 11 ); GroupC1Layout->setSpacing( 6 );
-  
-  QLabel* TextLabel = new QLabel( GroupC1, "TextLabel1" );
-  TextLabel->setText( tr( "NAME_LBL" ) );
-  GroupC1Layout->addWidget( TextLabel );
-  
-  myLineEdit = new QLineEdit( GroupC1, "LineEdit1" );
-  myLineEdit->setMinimumSize( 250, 0 );
-  GroupC1Layout->addWidget( myLineEdit );
-  
-  /***************************************************************/
-  QGroupBox* GroupButtons = new QGroupBox( this, "GroupButtons" );
-  GroupButtons->setColumnLayout(0, Qt::Vertical );
-  GroupButtons->layout()->setMargin( 0 ); GroupButtons->layout()->setSpacing( 0 ); 
-  QHBoxLayout* GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
-  GroupButtonsLayout->setAlignment( Qt::AlignTop );
-  GroupButtonsLayout->setMargin( 11 ); GroupButtonsLayout->setSpacing( 6 );
-  
-  myButtonOk = new QPushButton( GroupButtons, "buttonOk" );
-  myButtonOk->setText( tr( "GEOM_BUT_OK"  ) );
-  myButtonOk->setAutoDefault( TRUE ); 
-  myButtonOk->setDefault( TRUE );
-  GroupButtonsLayout->addWidget( myButtonOk );
-
-  GroupButtonsLayout->addStretch();
-  
-  myButtonCancel = new QPushButton( GroupButtons, "buttonCancel" );
-  myButtonCancel->setText( tr( "GEOM_BUT_CANCEL"  ) );
-  myButtonCancel->setAutoDefault( TRUE );
-  GroupButtonsLayout->addWidget( myButtonCancel );
-  /***************************************************************/
-  
-  topLayout->addWidget( GroupC1 );
-  topLayout->addWidget( GroupButtons );
-  
-  // signals and slots connections
-  connect( myButtonOk,     SIGNAL( clicked() ), this, SLOT( accept() ) );
-  connect( myButtonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
-  
-  /* Move widget on the botton right corner of main widget */
-  SUIT_Tools::centerWidget( this, parent );
-}
-
-/*!
-  Destructor
-*/
-GEOMToolsGUI_NameDlg::~GEOMToolsGUI_NameDlg()
-{
-}
-
-/*!
-  Sets name
-*/
-void GEOMToolsGUI_NameDlg::setName( const QString& name )
-{
-  myLineEdit->setText( name );
-  myLineEdit->end(false);
-  myLineEdit->home(true);
-}
-
-/*!
-  Returns name entered by user
-*/
-QString GEOMToolsGUI_NameDlg::name()
-{
-  return myLineEdit->text();
-}
-
-void GEOMToolsGUI_NameDlg::accept()
-{
-  if ( name().stripWhiteSpace().isEmpty() )
-    return;
-  QDialog::accept();
-}
-
-/*!
-  Creates modal <Rename> dialog and returns name entered [ static ]
-*/
-QString GEOMToolsGUI_NameDlg::getName( QWidget* parent, const QString& oldName )
-{
-  QString n;
-  GEOMToolsGUI_NameDlg* dlg = new GEOMToolsGUI_NameDlg( parent );
-  if ( !oldName.isNull() )
-    dlg->setName( oldName );
-  if ( dlg->exec() == QDialog::Accepted ) 
-    n = dlg->name();
-  delete dlg;
-  return n;
-}
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.h b/src/GEOMToolsGUI/GEOMToolsGUI_NameDlg.h
deleted file mode 100644 (file)
index e9071d6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-//  SALOME GEOMToolsGUI : implementation of desktop and GUI kernel
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : GEOMToolsGUI_NameDlg.h
-//  Author : Vadim SANDLER
-//  Module : SALOME
-//  $Header$
-
-#ifndef GEOMToolsGUI_NAMEDLG_H
-#define GEOMToolsGUI_NAMEDLG_H
-
-#include <qdialog.h>
-
-class QLineEdit;
-class QPushButton;
-
-//=================================================================================
-// class    : GEOMToolsGUI_NameDlg
-// purpose  : Common <Rename> dialog box class
-//=================================================================================
-class GEOMToolsGUI_NameDlg : public QDialog
-{ 
-  Q_OBJECT
-
-public:
-  GEOMToolsGUI_NameDlg( QWidget* parent = 0 );
-  ~GEOMToolsGUI_NameDlg();
-    
-  void            setName( const QString& name );
-  QString         name();
-    
-  static QString  getName( QWidget* parent = 0, const QString& oldName = QString::null );
-    
-protected slots:
-  void accept();
-  
-private:
-  QPushButton*    myButtonOk;
-  QPushButton*    myButtonCancel;
-  QLineEdit*      myLineEdit;
-};
-
-#endif // GEOMToolsGUI_NAMEDLG_H
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx
deleted file mode 100644 (file)
index 0a66148..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_NbIsosDlg.cxx
-//  Author : 
-//  Module : GEOM
-//  $Header: 
-
-
-#include "GEOMToolsGUI_NbIsosDlg.h"
-#include <SUIT_Tools.h>
-
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qgroupbox.h>
-#include <qlayout.h>
-#include <qspinbox.h>
-//using namespace std;
-
-//=================================================================================
-// class    : GEOMToolsGUI_NbIsosDlg()
-// purpose  : Constructs a GEOMToolsGUI_NbIsosDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GEOMToolsGUI_NbIsosDlg::GEOMToolsGUI_NbIsosDlg(QWidget* parent )
-  :QDialog( parent, "GEOMToolsGUI_NbIsosDlg", true, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  setCaption( tr( "GEOM_MEN_ISOS" ) );
-  setSizeGripEnabled(TRUE);
-  QGridLayout* MyDialogLayout = new QGridLayout(this); 
-  MyDialogLayout->setSpacing(6);
-  MyDialogLayout->setMargin(11);
-  
-  /***************************************************************/
-  QGroupBox* GroupC1 = new QGroupBox( this, "GroupC1" );
-  GroupC1->setColumnLayout(0, Qt::Vertical );
-  GroupC1->layout()->setSpacing( 0 );
-  GroupC1->layout()->setMargin( 0 );
-  QGridLayout* GroupC1Layout = new QGridLayout( GroupC1->layout() );
-  GroupC1Layout->setAlignment( Qt::AlignTop );
-  GroupC1Layout->setSpacing( 6 );
-  GroupC1Layout->setMargin( 11 );
-  
-  QLabel* TextLabel1 = new QLabel( GroupC1, "TextLabel1" );
-  TextLabel1->setText( tr( "GEOM_MEN_ISOU") );
-  GroupC1Layout->addWidget( TextLabel1, 0, 0 );
-  
-  SpinBoxU = new QSpinBox( GroupC1, "SpinBoxU" );
-  SpinBoxU->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
-  SpinBoxU->setMinValue( 0 );
-  SpinBoxU->setValue( 1 );
-  GroupC1Layout->addWidget( SpinBoxU, 0, 1 );
-
-  QLabel* TextLabel2 = new QLabel( GroupC1, "TextLabel2" );
-  TextLabel2->setText( tr( "GEOM_MEN_ISOV") ) ;
-  GroupC1Layout->addWidget( TextLabel2, 0, 2 );
-
-  SpinBoxV = new QSpinBox( GroupC1, "SpinBoxV");
-  SpinBoxV->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
-  SpinBoxV->setValue( 1 );
-  SpinBoxV->setMinValue( 0 );
-  GroupC1Layout->addWidget( SpinBoxV, 0, 3 );
-  
-  /***************************************************************/
-  QGroupBox* GroupButtons = new QGroupBox( this, "GroupButtons" );
-  GroupButtons->setColumnLayout(0, Qt::Vertical );
-  GroupButtons->layout()->setSpacing( 0 );
-  GroupButtons->layout()->setMargin( 0 );
-  QGridLayout* GroupButtonsLayout = new QGridLayout( GroupButtons->layout() );
-  GroupButtonsLayout->setAlignment( Qt::AlignTop );
-  GroupButtonsLayout->setSpacing( 6 );
-  GroupButtonsLayout->setMargin( 11 );
-  
-  QPushButton* buttonOk = new QPushButton( GroupButtons, "buttonOk" );
-  buttonOk->setText( tr( "GEOM_BUT_OK" ) ) ;
-  buttonOk->setAutoDefault( TRUE );
-  buttonOk->setDefault( TRUE );
-  GroupButtonsLayout->addWidget( buttonOk, 0, 0 );
-  
-  GroupButtonsLayout->addItem( new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ), 0, 1 );
-  
-  QPushButton* buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
-  buttonCancel->setText( tr( "GEOM_BUT_CANCEL" ) ) ;
-  buttonCancel->setAutoDefault( TRUE );
-  GroupButtonsLayout->addWidget( buttonCancel, 0, 2 );
-  /***************************************************************/
-  
-  MyDialogLayout->addWidget(GroupC1, 0, 0);
-  MyDialogLayout->addWidget(GroupButtons, 1, 0);
-  
-  // signals and slots connections
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
-  
-  /* Move widget on the botton right corner of main widget */
-  SUIT_Tools::centerWidget(this, parent);
-}
-
-
-//=================================================================================
-// function : ~GEOMToolsGUI_NbIsosDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GEOMToolsGUI_NbIsosDlg::~GEOMToolsGUI_NbIsosDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-int GEOMToolsGUI_NbIsosDlg::getU() const
-{
-  return SpinBoxU->text().toInt();
-}
-
-int GEOMToolsGUI_NbIsosDlg::getV() const
-{
-  return SpinBoxV->text().toInt();
-}
-
-void GEOMToolsGUI_NbIsosDlg::setU( const int v )
-{
-  SpinBoxU->setValue( v );
-}
-
-void GEOMToolsGUI_NbIsosDlg::setV( const int v )
-{
-  SpinBoxV->setValue( v );
-}
-
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.h b/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.h
deleted file mode 100644 (file)
index 943dbdc..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMToolsGUI_NbIsosDlg.h
-//  Author : 
-//  Module : GEOM
-//  $Header: 
-
-#ifndef GEOMTOOLSGUI_NBISOSDLG_H
-#define GEOMTOOLSGUI_NBISOSDLG_H
-
-#include <qdialog.h>
-
-class QSpinBox;
-
-//=================================================================================
-// class    : GEOMToolsGUI_NbIsosDlg
-// purpose  :
-//=================================================================================
-class GEOMToolsGUI_NbIsosDlg : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-    GEOMToolsGUI_NbIsosDlg( QWidget* parent );
-    ~GEOMToolsGUI_NbIsosDlg();
-    
-    int       getU() const;
-    int       getV() const;
-
-    void      setU( const int );
-    void      setV( const int );
-
-private:
-    QSpinBox* SpinBoxU;
-    QSpinBox* SpinBoxV;
-
-};
-
-#endif // GEOMTOOLSGUI_NBISOSDLG_H
diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_TransparencyDlg.h b/src/GEOMToolsGUI/GEOMToolsGUI_TransparencyDlg.h
deleted file mode 100644 (file)
index a63b514..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOMBase_TransparencyDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_TRANSPARENCYDLG_H
-#define DIALOGBOX_TRANSPARENCYDLG_H
-
-#include <qdialog.h>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMTOOLSGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMTOOLSGUI_WNT_EXPORT
-#endif
-class QSlider;
-
-//=================================================================================
-// class    : GEOMBase_TransparencyDlg
-// purpose  :
-//          : WARNING : that is a MODAL dialog.
-//=================================================================================
-class GEOMTOOLSGUI_WNT_EXPORT GEOMToolsGUI_TransparencyDlg : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-  GEOMToolsGUI_TransparencyDlg( QWidget* parent );    
-  ~GEOMToolsGUI_TransparencyDlg();
-
-private :
-  bool      myFirstInit ;   /* Inform for the first init  */
-  QSlider*  mySlider; 
-
-private slots: 
-  void      ClickOnOk();
-  void      ClickOnClose();
-  void      ValueHasChanged( int ) ;
-    
-};
-
-#endif // DIALOGBOX_TRANSPARENCYDLG_H
-
diff --git a/src/GEOMToolsGUI/Makefile.in b/src/GEOMToolsGUI/Makefile.in
deleted file mode 100644 (file)
index 1dac4b1..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#  GEOM GEOMTOOLSGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMToolsGUI.la
-
-# header files 
-EXPORT_HEADERS= 
-
-LIB_SRC =      GEOMToolsGUI.cxx \
-               GEOMToolsGUI_1.cxx \
-               GEOMToolsGUI_TransparencyDlg.cxx \
-               GEOMToolsGUI_NbIsosDlg.cxx \
-               GEOMToolsGUI_NameDlg.cxx
-
-LIB_MOC =      GEOMToolsGUI_TransparencyDlg.h \
-               GEOMToolsGUI_NbIsosDlg.h \
-               GEOMToolsGUI_NameDlg.h
-
-LIB_CLIENT_IDL = SALOMEDS_Attributes.idl \
-                SALOME_GenericObj.idl \
-                SALOME_Exception.idl \
-                SALOME_Component.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
-CXXFLAGS += $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome -I$(GUI_ROOT_DIR)/include/salome
-
-LDFLAGS += -L$(KERNEL_ROOT_DIR)/lib/salome -L$(GUI_ROOT_DIR)/lib/salome -lGEOMBase -lVTKViewer -lOCCViewer -lsuit -lSalomeApp
-
-@CONCLUDE@
diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc
deleted file mode 100644 (file)
index 6b71e15..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include "GEOM_Gen_i.hh"
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_ExtendedString.hxx>
-#include <TColStd_HSequenceOfAsciiString.hxx>
-#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
-
-//=======================================================================
-//function : DumpPython
-//purpose  : 
-//=======================================================================
-
-Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy, 
-                                        CORBA::Boolean isPublished, 
-                                        CORBA::Boolean& isValidScript)
-{
-  SALOMEDS::Study_var aStudy = SALOMEDS::Study::_narrow(theStudy);
-  if(CORBA::is_nil(aStudy))
-    return new Engines::TMPFile(0);   
-
-  SALOMEDS::SObject_var aSO = aStudy->FindComponent(ComponentDataType());
-  if(CORBA::is_nil(aSO))
-    return new Engines::TMPFile(0);  
-
-  Resource_DataMapOfAsciiStringAsciiString aMap;
-
-  SALOMEDS::ChildIterator_var Itr = aStudy->NewChildIterator(aSO);
-  for(Itr->InitEx(true); Itr->More(); Itr->Next()) {
-    SALOMEDS::SObject_var aValue = Itr->Value();
-    CORBA::String_var IOR = aValue->GetIOR();
-    if(strlen(IOR.in()) > 0) {
-      CORBA::Object_var obj = _orb->string_to_object(IOR);
-      GEOM::GEOM_Object_var GO = GEOM::GEOM_Object::_narrow(obj);
-      if(!CORBA::is_nil(GO)) {
-        CORBA::String_var aName = aValue->GetName();
-        CORBA::String_var anEntry = GO->GetEntry();
-       aMap.Bind( (char*)anEntry.in(), (char*)aName.in() );
-      }
-    }
-  }
-
-  TCollection_AsciiString aScript =
-    "### This file is generated by SALOME automatically by dump python funcitonality\n"
-      "### of GEOM component\n\n";
-  aScript += _impl->DumpPython(aStudy->StudyId(), aMap, isPublished, isValidScript);
-
-  int aLen = aScript.Length(); 
-  unsigned char* aBuffer = new unsigned char[aLen+1];
-  strcpy((char*)aBuffer, aScript.ToCString());
-
-  CORBA::Octet* anOctetBuf =  (CORBA::Octet*)aBuffer;
-  Engines::TMPFile_var aStreamFile = new Engines::TMPFile(aLen+1, aLen+1, anOctetBuf, 1); 
-
-  return aStreamFile._retn(); 
-}
-
-//=======================================================================
-//function : GetDumpName
-//purpose  : 
-//=======================================================================
-
-char* GEOM_Gen_i::GetDumpName (const char* theStudyEntry)
-{
-  const char* name = _impl->GetDumpName( theStudyEntry );
-  if ( name && strlen( name ) > 0 )
-    return strdup( name );
-
-  return NULL;
-}
-
-//=======================================================================
-//function : GetAllDumpNames
-//purpose  : 
-//=======================================================================
-
-GEOM::string_array* GEOM_Gen_i::GetAllDumpNames()
-{
-  Handle(TColStd_HSequenceOfAsciiString) aHSeq = _impl->GetAllDumpNames();
-  int i = 0, aLen = aHSeq->Length();
-
-  GEOM::string_array_var seq = new GEOM::string_array();
-  seq->length(aLen);
-
-  for (; i < aLen; i++) {
-    seq[i] = CORBA::string_dup(aHSeq->Value(i + 1).ToCString());
-  }
-
-  return seq._retn();
-}
diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc
deleted file mode 100644 (file)
index 0a2e9dc..0000000
+++ /dev/null
@@ -1,868 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include "GEOM_Gen_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include <strstream>
-
-#include "Utils_CorbaException.hxx"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-#include "utilities.h"
-
-#include "GEOM_Object_i.hh"
-#include "GEOM_Object.hxx"
-#include "GEOM_Function.hxx"
-#include "GEOMImpl_Types.hxx"
-#include "GEOMImpl_CopyDriver.hxx"
-
-// Cascade headers
-#include <BRep_Builder.hxx>
-#include <BRepTools.hxx>
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-
-#include "SALOMEDS_Tool.hxx"
-
-//============================================================================
-// function : GEOM_Gen_i()
-// purpose  : constructor to be called for servant creation.
-//============================================================================
-GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
-                      PortableServer::POA_ptr poa,
-                      PortableServer::ObjectId * contId,
-                      const char *instanceName,
-                      const char *interfaceName) :
-  Engines_Component_i(orb, poa, contId, instanceName, interfaceName)
-{
-  _thisObj = this;
-  _id = _poa->activate_object(_thisObj);
-  name_service = new SALOME_NamingService(_orb);
-
-  _impl = new ::GEOMImpl_Gen;
-
-}
-
-
-
-//============================================================================
-// function : ~GEOM_Gen_i()
-// purpose  : destructor
-//============================================================================
-GEOM_Gen_i::~GEOM_Gen_i() {
-  delete name_service;
-  delete _impl;
-}
-
-
-//============================================================================
-// function : IORToLocalPersistentID()
-// purpose  :
-//============================================================================
-char* GEOM_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
-                                        const char* IORString,
-                                        CORBA::Boolean isMultiFile,
-                                        CORBA::Boolean isASCII)
-{
-  GEOM::GEOM_Object_var anObject = GEOM::GEOM_Object::_narrow(_orb->string_to_object(IORString));
-  if (!CORBA::is_nil(anObject)) {
-    return strdup(anObject->GetEntry());
-  }
-  return 0;
-}
-
-
-//============================================================================
-// function : LocalPersistentIDToIOR()
-// purpose  : Create/Load CORBA object from a persistent ref (an entry)
-//          : Used when a study is loaded
-//          : The IOR (IORName) of object created is returned
-//============================================================================
-char* GEOM_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
-                                        const char* aLocalPersistentID,
-                                        CORBA::Boolean isMultiFile,
-                                        CORBA::Boolean isASCII)
-{
-  SALOMEDS::Study_var aStudy = theSObject->GetStudy();
-
-  Handle(GEOM_Object) anObject = _impl->GetObject(aStudy->StudyId(), const_cast<char*>(aLocalPersistentID));
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(anObject->GetEntry(), anEntry);
-  GEOM::GEOM_Object_var obj = GetObject(anObject->GetDocID(), anEntry.ToCString());
-
-  CORBA::String_var aPersRefString = _orb->object_to_string(obj);
-  return strdup(aPersRefString);
-}
-
-//============================================================================
-// function : CanPublishInStudy
-// purpose  :
-//============================================================================
-bool GEOM_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
-{
-  GEOM::GEOM_Object_var anObject = GEOM::GEOM_Object::_narrow(theIOR);
-  return !(anObject->_is_nil());
-}
-
-
-//============================================================================
-// function : PublishInStudy
-// purpose  :
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
-                                                SALOMEDS::SObject_ptr theSObject,
-                                                CORBA::Object_ptr theObject,
-                                                const char* theName) throw (SALOME::SALOME_Exception)
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  SALOMEDS::SObject_var aResultSO;
-  if(CORBA::is_nil(theObject) || theStudy->_is_nil()) return aResultSO;
-
-  GEOM::GEOM_Object_var aShape = GEOM::GEOM_Object::_narrow(theObject);
-  if(aShape->_is_nil()) return aResultSO;
-
-  SALOMEDS::GenericAttribute_var anAttr;
-  SALOMEDS::StudyBuilder_var     aStudyBuilder = theStudy->NewBuilder();
-
-  SALOMEDS::SComponent_var       aFather = theStudy->FindComponent("GEOM");
-  if (aFather->_is_nil()) {
-    aFather = aStudyBuilder->NewComponent("GEOM");
-    anAttr = aStudyBuilder->FindOrCreateAttribute(aFather, "AttributeName");
-    SALOMEDS::AttributeName_var aName = SALOMEDS::AttributeName::_narrow(anAttr);
-    aName->SetValue("Geometry");
-    anAttr = aStudyBuilder->FindOrCreateAttribute(aFather, "AttributePixMap");
-    SALOMEDS::AttributePixMap::_narrow(anAttr)->SetPixMap("ICON_OBJBROWSER_Geometry");
-    aStudyBuilder->DefineComponentInstance(aFather, GEOM_Gen::_this());
-  }
-  if (aFather->_is_nil()) return aResultSO;
-
-  if (CORBA::is_nil(theSObject)) {
-    aResultSO = aStudyBuilder->NewObject(aFather);
-  } else {
-    if (!theSObject->ReferencedObject(aResultSO))
-      aResultSO = SALOMEDS::SObject::_duplicate(theSObject); //SRN: Added Aug 24,2004 : for  the method AddInStudy with theFather argumenet != NULL
-      //THROW_SALOME_CORBA_EXCEPTION("Publish in study supervision graph error",SALOME::BAD_PARAM);
-  }
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributeIOR");
-  SALOMEDS::AttributeIOR_var anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-  char *aGeomObjIOR = _orb->object_to_string(theObject);
-  anIOR->SetValue(strdup(aGeomObjIOR));
-
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributePixMap");
-  SALOMEDS::AttributePixMap_var aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
-  TCollection_AsciiString aShapeName("Shape_");
-
-  if ( aShape->GetType() == GEOM_GROUP ) {
-    GEOM::GEOM_IGroupOperations_var anOp = GetIGroupOperations( theStudy->StudyId() );
-    switch ( (TopAbs_ShapeEnum)anOp->GetType( aShape ) ) {
-    case TopAbs_VERTEX:
-      aPixmap->SetPixMap( "ICON_OBJBROWSER_GROUP_PNT" );
-      aShapeName = "Group_Of_Vertices_";
-      break;
-    case TopAbs_EDGE:
-      aPixmap->SetPixMap( "ICON_OBJBROWSER_GROUP_EDGE" );
-      aShapeName = "Group_Of_Edges_";
-      break;
-    case TopAbs_FACE:
-      aPixmap->SetPixMap( "ICON_OBJBROWSER_GROUP_FACE" );
-      aShapeName = "Group_Of_Faces_";
-      break;
-    case TopAbs_SOLID:
-      aPixmap->SetPixMap( "ICON_OBJBROWSER_GROUP_SOLID" );
-      aShapeName = "Group_Of_Solids_";
-      break;
-    }
-  } else if ( aShape->GetType() == GEOM_MARKER ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_LCS" );
-    aShapeName = "LocalCS_";
-  } else if ( aShape->GetShapeType() == GEOM::COMPOUND ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_COMPOUND" );
-    aShapeName = "Compound_";
-  } else if ( aShape->GetShapeType() == GEOM::COMPSOLID ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_COMPSOLID" );
-    aShapeName = "Compsolid_";
-  } else if ( aShape->GetShapeType() == GEOM::SOLID ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_SOLID" );
-    aShapeName = "Solid_";
-  } else if ( aShape->GetShapeType() == GEOM::SHELL ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_SHELL" );
-    aShapeName = "Shell_";
-  } else if ( aShape->GetShapeType() == GEOM::FACE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_FACE" );
-    aShapeName = "Face_";
-  } else if ( aShape->GetShapeType() == GEOM::WIRE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_WIRE" );
-    aShapeName = "Wire_";
-  } else if ( aShape->GetShapeType() == GEOM::EDGE ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_EDGE" );
-    aShapeName = "Edge_";
-  } else if ( aShape->GetShapeType() == GEOM::VERTEX ) {
-    aPixmap->SetPixMap( "ICON_OBJBROWSER_VERTEX" );
-    aShapeName = "Vertex_";
-  }
-  //if (strlen(theName) == 0) aShapeName += TCollection_AsciiString(aResultSO->Tag());
-  //else aShapeName = TCollection_AsciiString(strdup(theName));
-
-  // asv : 11.11.04 Introducing a more sofisticated method of name creation, just as
-  //       it is done in GUI in GEOMBase::GetDefaultName() - not just add a Tag() == number
-  //       of objects in the study, but compute a number of objects with the same prefix
-  //       and build a new name as Prefix_N+1
-  if ( strlen( theName ) == 0 ) { // MOST PROBABLY CALLED FROM BATCHMODE OR SUPERVISOR
-    int i = 0;                    // (WITH EMPTY NEW NAME)
-    SALOMEDS::SObject_var obj;
-    TCollection_AsciiString aNewShapeName;
-    do {
-      aNewShapeName = aShapeName + TCollection_AsciiString(++i);
-      obj = theStudy->FindObject( aNewShapeName.ToCString() );
-    }
-    while ( !obj->_is_nil() );
-    aShapeName = aNewShapeName;
-  }
-  else // MOST PROBABLY CALLED FROM GEOM GUI (ALREADY WITH VALID NAME)
-    aShapeName = TCollection_AsciiString(strdup(theName));
-
-  //Set the study entry as a name of  the published GEOM_Object
-  aShape->SetStudyEntry(aResultSO->GetID());
-
-  //Set a name of the added shape
-  anAttr = aStudyBuilder->FindOrCreateAttribute(aResultSO, "AttributeName");
-  SALOMEDS::AttributeName_var aNameAttrib = SALOMEDS::AttributeName::_narrow(anAttr);
-  aNameAttrib->SetValue(aShapeName.ToCString());
-
-  return aResultSO._retn();
-}
-
-
-//============================================================================
-// function : Save()
-// purpose  : save OCAF/Geom document
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
-                                   const char* theURL,
-                                   bool isMultiFile) {
-  SALOMEDS::TMPFile_var aStreamFile;
-  // Get a temporary directory to store a file
-  std::string aTmpDir = (isMultiFile)?theURL:SALOMEDS_Tool::GetTmpDir();
-  // Create a list to store names of created files
-  SALOMEDS::ListOfFileNames_var aSeq = new SALOMEDS::ListOfFileNames;
-  aSeq->length(1);
-  // Prepare a file name to open
-  TCollection_AsciiString aNameWithExt("");
-  if (isMultiFile)
-    aNameWithExt = TCollection_AsciiString((char*)(SALOMEDS_Tool::GetNameFromPath(theComponent->GetStudy()->URL())).c_str());
-  aNameWithExt += TCollection_AsciiString("_GEOM.sgd");
-  aSeq[0] = CORBA::string_dup(aNameWithExt.ToCString());
-  // Build a full file name of temporary file
-  TCollection_AsciiString aFullName = TCollection_AsciiString((char*)aTmpDir.c_str()) + aNameWithExt;
-  // Save GEOM component in this file
-  _impl->Save(theComponent->GetStudy()->StudyId(), aFullName.ToCString());
-  // Conver a file to the byte stream
-  aStreamFile = SALOMEDS_Tool::PutFilesToStream(aTmpDir.c_str(), aSeq.in(), isMultiFile);
-  // Remove the created file and tmp directory
-  if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.c_str(), aSeq.in(), true);
-
-  // Return the created byte stream
-  return aStreamFile._retn();
-}
-
-
-//============================================================================
-// function : SaveASCII()
-// purpose  :
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Gen_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent,
-                                        const char* theURL,
-                                        bool isMultiFile) {
-  SALOMEDS::TMPFile_var aStreamFile = Save(theComponent, theURL, isMultiFile);
-  return aStreamFile._retn();
-}
-
-
-//============================================================================
-// function : Load()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
-                               const SALOMEDS::TMPFile& theStream,
-                               const char* theURL,
-                               bool isMultiFile) {
-
-  if (theStream.length() <= 9) {
-    MESSAGE("The TMPFile is too short : " << theStream.length() << " bytes ");
-    return false;
-  }
-
-  // Get a temporary directory for a file
-  std::string aTmpDir = isMultiFile?theURL:SALOMEDS_Tool::GetTmpDir();
-  // Conver the byte stream theStream to a file and place it in tmp directory
-  SALOMEDS::ListOfFileNames_var aSeq = SALOMEDS_Tool::PutStreamToFiles(theStream, aTmpDir.c_str(), isMultiFile);
-
-  // Prepare a file name to open
-  TCollection_AsciiString aNameWithExt("");
-  if (isMultiFile)
-    aNameWithExt = TCollection_AsciiString((char*)(SALOMEDS_Tool::GetNameFromPath(theComponent->GetStudy()->URL())).c_str());
-  aNameWithExt += TCollection_AsciiString("_GEOM.sgd");
-  TCollection_AsciiString aFullName = (TCollection_AsciiString((char*)aTmpDir.c_str()) + aNameWithExt);
-
-  // Open document
-  if (!_impl->Load(theComponent->GetStudy()->StudyId(), aFullName.ToCString())) return false;
-
-  // Remove the created file and tmp directory
-  if (!isMultiFile) SALOMEDS_Tool::RemoveTemporaryFiles(aTmpDir.c_str(), aSeq.in(), true);
-
-  SALOMEDS::Study_var Study = theComponent->GetStudy();
-  TCollection_AsciiString name( strdup(Study->Name()) );
-
-  return true;
-}
-
-
-//============================================================================
-// function : LoadASCII()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent,
-                                    const SALOMEDS::TMPFile& theStream,
-                                    const char* theURL,
-                                    bool isMultiFile) {
-  return Load(theComponent, theStream, theURL, isMultiFile);
-}
-
-
-//============================================================================
-// function : Close()
-// purpose  :
-//============================================================================
-void GEOM_Gen_i::Close(SALOMEDS::SComponent_ptr theComponent)
-{
-  _impl->Close(theComponent->GetStudy()->StudyId());
-}
-
-//============================================================================
-// function : CanCopy()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::CanCopy(SALOMEDS::SObject_ptr theObject) {
-  // Try to retrieve known by Geometry component GEOM_Object by given IOR
-  SALOMEDS::GenericAttribute_var anAttr;
-  if (!theObject->FindAttribute(anAttr, "AttributeIOR")) return false;
-
-  SALOMEDS::AttributeIOR_var anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-
-  GEOM::GEOM_Object_var anObject = GEOM::GEOM_Object::_narrow(_orb->string_to_object(anIOR->Value()));
-  // If the object is null one it can't be copied: return false
-  if (anObject->_is_nil()) return false;
-  return true;
-}
-
-//============================================================================
-// function : CopyFrom()
-// purpose  :
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Gen_i::CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID) {
-  // Declare a sequence of the byte to store the copied object
-  SALOMEDS::TMPFile_var aStreamFile = new SALOMEDS::TMPFile;
-
-  // Try to get GEOM_Object object by given SObject
-  SALOMEDS::GenericAttribute_var anAttr;
-  if (!theObject->FindAttribute(anAttr, "AttributeIOR")) return aStreamFile._retn();
-  GEOM::GEOM_Object_var anObject =  GEOM::GEOM_Object::_narrow(_orb->string_to_object(SALOMEDS::AttributeIOR::_narrow(anAttr)->Value()));
-  if (anObject->_is_nil()) return aStreamFile._retn();
-
-  aStreamFile = anObject->GetShapeStream();
-
-  // Assign an ID  the type of  GEOM_Object
-  theObjectID = anObject->GetType();
-
-  // Return created TMPFile
-  return aStreamFile._retn();
-}
-
-//============================================================================
-// function : CanPaste()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Gen_i::CanPaste(const char* theComponentName, CORBA::Long theObjectID) {
-  // The Geometry component can paste only objects copied by Geometry component
-  // and with the object type = 1
-  if (strcmp(theComponentName, ComponentDataType()) != 0) return false;
-  return true;
-}
-
-//============================================================================
-// function : PasteInto()
-// purpose  :
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Gen_i::PasteInto(const SALOMEDS::TMPFile& theStream,
-                                           CORBA::Long theObjectID,
-                                           SALOMEDS::SObject_ptr theObject) {
-  // Find the current Study and StudyBuilder
-  SALOMEDS::Study_var aStudy = theObject->GetStudy();
-  SALOMEDS::StudyBuilder_var aStudyBuilder = aStudy->NewBuilder();
-
-  // Retrieve a TopoDS_Shape from byte stream
-  TopoDS_Shape aTopology;
-  istrstream aStreamedBrep((char*) &theStream[0], theStream.length());
-  BRep_Builder aBuilder;
-  try {
-    BRepTools::Read(aTopology, aStreamedBrep, aBuilder);
-  } catch (Standard_Failure) {
-    return false;
-  }
-
-  // SObject of the created shape is theObject or new Child of Component if theObject == geom component
-  SALOMEDS::SObject_var aNewSO;
-  if (strcmp(theObject->GetFatherComponent()->GetID(),theObject->GetID()) == 0) {
-    aNewSO = aStudyBuilder->NewObject(theObject);
-  } else aNewSO = SALOMEDS::SObject::_duplicate(theObject);
-
-
-  //Create a new GEOM_Object
-  Handle(GEOM_Object) anObj = _impl->AddObject(aNewSO->GetStudy()->StudyId(), theObjectID);
-  Handle(GEOM_Function) aFunction = anObj->AddFunction(GEOMImpl_CopyDriver::GetID(), COPY_WITHOUT_REF);
-  aFunction->SetValue(aTopology);
-
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-  GEOM::GEOM_Object_var obj = GetObject(anObj->GetDocID(), anEntry.ToCString());
-
-  // Add IORAttribute to the Study and set IOR of the created GEOM_Object to it
-  SALOMEDS::GenericAttribute_var anAttr = aStudyBuilder->FindOrCreateAttribute(aNewSO, "AttributeIOR");
-  SALOMEDS::AttributeIOR_var anIOR = SALOMEDS::AttributeIOR::_narrow(anAttr);
-  anIOR->SetValue(_orb->object_to_string(obj));
-
-  // Return the created in the Study SObject
-  return aNewSO._retn();
-}
-
-//============================================================================
-// function : ComponentDataType()
-// purpose  :
-//============================================================================
-char* GEOM_Gen_i::ComponentDataType()
-{
-  return strdup("GEOM");
-}
-
-//============================================================================
-// function : AddInStudy
-// purpose  :
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Gen_i::AddInStudy(SALOMEDS::Study_ptr theStudy, GEOM::GEOM_Object_ptr theObject, const char* theName, GEOM::GEOM_Object_ptr theFather)
-{
-  SALOMEDS::SObject_var aResultSO;
-  if(theObject->_is_nil() || theStudy->_is_nil()) return aResultSO;
-
-  SALOMEDS::StudyBuilder_var aStudyBuilder = theStudy->NewBuilder();
-  char* IOR;
-
-  if(!theFather->_is_nil()) {
-    IOR = _orb->object_to_string(theFather);
-    SALOMEDS::SObject_var aFatherSO = theStudy->FindObjectIOR(IOR);
-    if(aFatherSO->_is_nil()) return aResultSO._retn();
-    aResultSO = aStudyBuilder->NewObject(aFatherSO);
-    //aStudyBuilder->Addreference(aResultSO, aResultSO);
-  }
-
-  aResultSO = PublishInStudy(theStudy, aResultSO, theObject, theName);
-  if(aResultSO->_is_nil()) return aResultSO._retn();
-
-  GEOM::ListOfGO_var aList = theObject->GetDependency();
-  Standard_Integer aLength = aList->length();
-  if(aLength < 1) return aResultSO._retn();
-
-  //Publish the arguments
-  for(Standard_Integer i = 0; i< aLength; i++) {
-    GEOM::GEOM_Object_var anObject = aList[i];
-    if(anObject->_is_nil()) continue;
-    IOR = _orb->object_to_string(anObject);
-    SALOMEDS::SObject_var aSO =  theStudy->FindObjectIOR(IOR);
-    if(aSO->_is_nil()) continue;
-    SALOMEDS::SObject_var aSubSO = aStudyBuilder->NewObject(aResultSO);
-    aStudyBuilder->Addreference(aSubSO, aSO);
-  }
-
-  return aResultSO._retn();
-}
-
-//============================================================================
-// function : register()
-// purpose  : register 'name' in 'name_service'
-//============================================================================
-void GEOM_Gen_i::register_name(char * name)
-{
-  GEOM::GEOM_Gen_ptr g = GEOM::GEOM_Gen::_narrow(_this());
-  name_service->Register(g, strdup(name));
-}
-
-//============================================================================
-// function : Undo
-// purpose  :
-//============================================================================
-void GEOM_Gen_i::Undo(CORBA::Long theStudyID)
-{
-  _impl->Undo(theStudyID);
-}
-
-//============================================================================
-// function : Redo
-// purpose  :
-//============================================================================
-void GEOM_Gen_i::Redo(CORBA::Long theStudyID)
-{
-  _impl->Redo(theStudyID);
-}
-
-//============================================================================
-// function : GetIBasicOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IBasicOperations_ptr GEOM_Gen_i::GetIBasicOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIBasicOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IBasicOperations_i* aServant =
-    new GEOM_IBasicOperations_i(_poa, engine, _impl->GetIBasicOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IBasicOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetITransformOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_ITransformOperations_ptr GEOM_Gen_i::GetITransformOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetITransformOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_ITransformOperations_i* aServant =
-    new GEOM_ITransformOperations_i(_poa, engine, _impl->GetITransformOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_ITransformOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetI3DPrimOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_I3DPrimOperations_ptr GEOM_Gen_i::GetI3DPrimOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetI3DPrimOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_I3DPrimOperations_i* aServant =
-    new GEOM_I3DPrimOperations_i(_poa, engine, _impl->GetI3DPrimOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_I3DPrimOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIShapesOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IShapesOperations_ptr GEOM_Gen_i::GetIShapesOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIShapesOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IShapesOperations_i* aServant =
-    new GEOM_IShapesOperations_i(_poa, engine, _impl->GetIShapesOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IShapesOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIBlocksOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IBlocksOperations_ptr GEOM_Gen_i::GetIBlocksOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIBlocksOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IBlocksOperations_i* aServant =
-    new GEOM_IBlocksOperations_i(_poa, engine, _impl->GetIBlocksOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IBlocksOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIBooleanOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IBooleanOperations_ptr GEOM_Gen_i::GetIBooleanOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIBooleanOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IBooleanOperations_i* aServant =
-    new GEOM_IBooleanOperations_i(_poa, engine, _impl->GetIBooleanOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IBooleanOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetICurvesOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_ICurvesOperations_ptr GEOM_Gen_i::GetICurvesOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetICurvesOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_ICurvesOperations_i* aServant =
-    new GEOM_ICurvesOperations_i(_poa, engine, _impl->GetICurvesOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_ICurvesOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetILocalOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_ILocalOperations_ptr GEOM_Gen_i::GetILocalOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetILocalOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_ILocalOperations_i* aServant =
-    new GEOM_ILocalOperations_i(_poa, engine, _impl->GetILocalOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_ILocalOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIHealingOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IHealingOperations_ptr GEOM_Gen_i::GetIHealingOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::IHealingOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IHealingOperations_i* aServant =
-    new GEOM_IHealingOperations_i(_poa, engine, _impl->GetIHealingOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IHealingOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIInsertOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IInsertOperations_ptr GEOM_Gen_i::GetIInsertOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIInsertOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IInsertOperations_i* aServant =
-    new GEOM_IInsertOperations_i(_poa, engine, _impl->GetIInsertOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IInsertOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIMeasureOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IMeasureOperations_ptr GEOM_Gen_i::GetIMeasureOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIMeasureOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IMeasureOperations_i* aServant =
-    new GEOM_IMeasureOperations_i(_poa, engine, _impl->GetIMeasureOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IMeasureOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//============================================================================
-// function : GetIGroupOperations
-// purpose  :
-//============================================================================
-GEOM::GEOM_IGroupOperations_ptr GEOM_Gen_i::GetIGroupOperations(CORBA::Long theStudyID)
-     throw ( SALOME::SALOME_Exception )
-{
-  Unexpect aCatch(SALOME_SalomeException);
-  MESSAGE( "GEOM_Gen_i::GetIGroupOperations" );
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-
-  GEOM_IGroupOperations_i* aServant =
-    new GEOM_IGroupOperations_i(_poa, engine, _impl->GetIGroupOperations(theStudyID));
-
-  // activate the CORBA servant
-  GEOM::GEOM_IGroupOperations_var operations = aServant->_this();
-  return operations._retn();
-}
-
-//=============================================================================
-/*!
- *  AddSubShape
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Gen_i::AddSubShape (GEOM::GEOM_Object_ptr theMainShape,
-                                              const GEOM::ListOfLong& theIndices)
-{
-  if(theMainShape == NULL || theIndices.length() < 1) return GEOM::GEOM_Object::_nil();
-  Handle(GEOM_Object) aMainsShape = _impl->GetObject(theMainShape->GetStudyID(), theMainShape->GetEntry());
-  if (aMainsShape.IsNull()) return GEOM::GEOM_Object::_nil();
-
-  Handle(TColStd_HArray1OfInteger) anArray = new TColStd_HArray1OfInteger(1, theIndices.length());
-  for(Standard_Integer i = 0; i<theIndices.length(); i++) anArray->SetValue(i+1, theIndices[i]);
-
-  Handle(GEOM_Object) anObject = _impl->AddSubShape(aMainsShape, anArray, true);
-  if(anObject.IsNull()) return GEOM::GEOM_Object::_nil();
-
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(anObject->GetEntry(), anEntry);
-  return GetObject(anObject->GetDocID(), anEntry.ToCString());
-}
-
-//=============================================================================
-/*!
- *  RemoveObject
- */
-//=============================================================================
-void GEOM_Gen_i::RemoveObject(GEOM::GEOM_Object_ptr theObject)
-{
-  Handle(GEOM_Object) anObject = _impl->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return;
-  _impl->RemoveObject(anObject);
-  return;
-}
-
-
-//=================================================================================
-// function : GetStringFromIOR()
-// purpose  : returns a string that represents  a 'GEOM::GEOM_Object_var'
-//=================================================================================
-char* GEOM_Gen_i::GetStringFromIOR(GEOM::GEOM_Object_ptr theObject) {
-  return _orb->object_to_string(theObject);
-}
-
-
-//=================================================================================
-// function : GetIORFromString()
-// purpose  : returns a 'GEOM::GEOM_Object_var' from a string representing it
-//=================================================================================
-GEOM::GEOM_Object_ptr GEOM_Gen_i::GetIORFromString(const char* stringIOR) {
-  GEOM::GEOM_Object_var aGeomObject;
-  if(strcmp(stringIOR,"") != 0){
-    CORBA::Object_var anObject = _orb->string_to_object(stringIOR);
-    if(!CORBA::is_nil(anObject))
-      aGeomObject =  GEOM::GEOM_Object::_narrow(anObject.in());
-  }
-  return aGeomObject._retn();
-}
-
-//=================================================================================
-// function : GetObject()
-// purpose  :
-//=================================================================================
-GEOM::GEOM_Object_ptr GEOM_Gen_i::GetObject (CORBA::Long theStudyID, const char* theEntry)
-{
-  GEOM::GEOM_Object_var obj;
-  Handle(GEOM_Object) handle_object = _impl->GetObject(theStudyID, (char*)theEntry);
-  if (handle_object.IsNull()) return NULL;
-
-  TCollection_AsciiString stringIOR = handle_object->GetIOR();
-  if (stringIOR.Length() > 1) {
-    CORBA::Object_var corba_object = _orb->string_to_object(stringIOR.ToCString());
-    if (!CORBA::is_nil(corba_object)) obj = GEOM::GEOM_Object::_narrow(corba_object);
-    return obj._retn();
-  }
-
-  GEOM::GEOM_Gen_ptr engine = _this();
-  GEOM_Object_i* servant = new GEOM_Object_i (_poa, engine, handle_object);
-
-  obj = servant->_this();
-  stringIOR = _orb->object_to_string(obj);
-  handle_object->SetIOR(stringIOR);
-  return obj._retn();
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  PortableServer::ObjectId * GEOMEngine_factory(CORBA::ORB_ptr orb,
-                                               PortableServer::POA_ptr poa,
-                                               PortableServer::ObjectId * contId,
-                                               const char *instanceName,
-                                               const char * interfaceName)
-  {
-   GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb, poa, contId, instanceName, interfaceName);
-   myGEOM_Gen_i->register_name("/myGEOM_Gen"); // NRI : 11/07/2002 : Add for Supervision example
-   return myGEOM_Gen_i->getId();
-  }
-}
diff --git a/src/GEOM_I/GEOM_Gen_i.hh b/src/GEOM_I/GEOM_Gen_i.hh
deleted file mode 100644 (file)
index 1111c11..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-#ifndef __GEOM_GEN_I_H__
-#define __GEOM_GEN_I_H__
-
-#include "GEOMImpl_Gen.hxx"
-
-// IDL headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-#include CORBA_CLIENT_HEADER(SALOMEDS)
-#include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
-
-
-#include "SALOME_Component_i.hxx"
-#include "SALOME_NamingService.hxx"
-
-#include "GEOM_IBasicOperations_i.hh"
-#include "GEOM_ITransformOperations_i.hh"
-#include "GEOM_I3DPrimOperations_i.hh"
-#include "GEOM_IShapesOperations_i.hh"
-#include "GEOM_IBlocksOperations_i.hh"
-#include "GEOM_IBooleanOperations_i.hh"
-#include "GEOM_ICurvesOperations_i.hh"
-#include "GEOM_ILocalOperations_i.hh"
-#include "GEOM_IHealingOperations_i.hh"
-#include "GEOM_IInsertOperations_i.hh"
-#include "GEOM_IMeasureOperations_i.hh"
-#include "GEOM_IGroupOperations_i.hh"
-
-//#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-
-//=====================================================================
-// GEOM_Gen_i : class definition
-//=====================================================================
-class GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual public Engines_Component_i
-{
- public:
-
-  //-----------------------------------------------------------------------//
-  // Constructor / Destructor                                              //
-  //-----------------------------------------------------------------------//
-
-  // constructor to be called for servant creation.
-  GEOM_Gen_i();
-  GEOM_Gen_i(CORBA::ORB_ptr orb,
-            PortableServer::POA_ptr poa,
-            PortableServer::ObjectId * contId,
-            const char *instanceName,
-            const char *interfaceName);
-
-  // destructor, doing nothing (for now)
-  virtual ~GEOM_Gen_i();
-
-  // generic method to be put in a super class
-  void register_name(char * name);
-
-
-  //-----------------------------------------------------------------------//
-  // Inherited methods from SALOMEDS::Driver                               //
-  //-----------------------------------------------------------------------//
-
-  SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent,
-                         const char* theURL,
-                         bool isMultiFile);
-
-  SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent,
-                              const char* theURL,
-                              bool isMultiFile);
-
-  CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
-                     const SALOMEDS::TMPFile& theStream,
-                     const char* theURL,
-                     bool isMultiFile);
-
-  CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent,
-                          const SALOMEDS::TMPFile& theStream,
-                          const char* theURL,
-                          bool isMultiFile);
-
-  void Close(SALOMEDS::SComponent_ptr theComponent);
-  char* ComponentDataType();
-
-
-  char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
-                              const char* IORString,
-                              CORBA::Boolean isMultiFile,
-                              CORBA::Boolean isASCII);
-  char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
-                              const char* aLocalPersistentID,
-                              CORBA::Boolean isMultiFile,
-                              CORBA::Boolean isASCII);
-
-  bool CanPublishInStudy(CORBA::Object_ptr theIOR);
-  SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy,
-                                      SALOMEDS::SObject_ptr theSObject,
-                                      CORBA::Object_ptr theObject,
-                                      const char* theName) throw (SALOME::SALOME_Exception) ;
-
-  CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);
-  SALOMEDS::TMPFile* CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID);
-  CORBA::Boolean CanPaste(const char* theComponentName, CORBA::Long theObjectID);
-  SALOMEDS::SObject_ptr PasteInto(const SALOMEDS::TMPFile& theStream,
-                                 CORBA::Long theObjectID,
-                                 SALOMEDS::SObject_ptr theObject);
-
-  /*! \brief Adds theObject in the study with a name = theName, if
-   *         theFather is not null the object is placed under theFather
-   */
-  SALOMEDS::SObject_ptr AddInStudy (SALOMEDS::Study_ptr theStudy,
-                                   GEOM::GEOM_Object_ptr theObject,
-                                   const char* theName,
-                                   GEOM::GEOM_Object_ptr theFather);
-
-  //-----------------------------------------------------------------------//
-  // Transaction methods                                                   //
-  //-----------------------------------------------------------------------//
-
-  //Undos one transaction in the document associated with theStudyID
-  virtual void Undo(CORBA::Long theStudyID);
-
-  //Redos one transaction in the document associated with theStudyID
-  virtual void Redo(CORBA::Long theStudyID);
-
-  //-----------------------------------------------------------------------//
-  // Operations methods                                                    //
-  //-----------------------------------------------------------------------//
-
-  //Returns a pointer to BasicOperations interface
-  virtual GEOM::GEOM_IBasicOperations_ptr GetIBasicOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to TransformOperations interface
-  virtual GEOM::GEOM_ITransformOperations_ptr GetITransformOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to 3DPrimOperations interface
-  virtual GEOM::GEOM_I3DPrimOperations_ptr GetI3DPrimOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to ShapesOperations interface
-  virtual GEOM::GEOM_IShapesOperations_ptr GetIShapesOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to BlocksOperations interface
-  virtual GEOM::GEOM_IBlocksOperations_ptr GetIBlocksOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to BooleanOperations interface
-  virtual GEOM::GEOM_IBooleanOperations_ptr GetIBooleanOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to CurvesOperations interface
-  virtual GEOM::GEOM_ICurvesOperations_ptr GetICurvesOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to LocalOperations interface
-  virtual GEOM::GEOM_ILocalOperations_ptr GetILocalOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to HealingOperations interface
-  virtual GEOM::GEOM_IHealingOperations_ptr GetIHealingOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to InsertOperations interface
-  virtual GEOM::GEOM_IInsertOperations_ptr GetIInsertOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to MeasureOperations interface
-  virtual GEOM::GEOM_IMeasureOperations_ptr GetIMeasureOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Returns a pointer to GroupOperations interface
-  virtual GEOM::GEOM_IGroupOperations_ptr GetIGroupOperations (CORBA::Long theStudyID)
-    throw (SALOME::SALOME_Exception);
-
-  //Adds a new sub shape
-  virtual GEOM::GEOM_Object_ptr AddSubShape (GEOM::GEOM_Object_ptr theMainShape,
-                                            const GEOM::ListOfLong& theIndices);
-
-  virtual void RemoveObject(GEOM::GEOM_Object_ptr theObject);
-
-  virtual  char* GetStringFromIOR(GEOM::GEOM_Object_ptr theObject);
-
-  virtual GEOM::GEOM_Object_ptr GetIORFromString(const char* stringIOR);
-
-  virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
-                                      CORBA::Boolean isPublished,
-                                      CORBA::Boolean& isValidScript);
-
-  char* GetDumpName (const char* theStudyEntry);
-
-  GEOM::string_array* GetAllDumpNames();
-
-  //-----------------------------------------------------------------------//
-  // Internal methods                                                      //
-  //-----------------------------------------------------------------------//
-
-  virtual GEOM::GEOM_Object_ptr GetObject(CORBA::Long theStudyID, const char* theEntry);
-
- private:
-
-   ::GEOMImpl_Gen* _impl;
-   SALOME_NamingService * name_service;
-   char * _name;
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_I3DPrimOperations_i.cc b/src/GEOM_I/GEOM_I3DPrimOperations_i.cc
deleted file mode 100644 (file)
index 4309824..0000000
+++ /dev/null
@@ -1,467 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_I3DPrimOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_I3DPrimOperations_i::GEOM_I3DPrimOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOMImpl_I3DPrimOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_I3DPrimOperations_i::GEOM_I3DPrimOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_I3DPrimOperations_i::~GEOM_I3DPrimOperations_i()
-{
-  MESSAGE("GEOM_I3DPrimOperations_i::~GEOM_I3DPrimOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeBoxDXDYDZ
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeBoxDXDYDZ (CORBA::Double theDX,
-                                                              CORBA::Double theDY,
-                                                              CORBA::Double theDZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-   
-  //Create the Box
-  Handle(GEOM_Object) anObject = GetOperations()->MakeBoxDXDYDZ(theDX, theDY, theDZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeBoxTwoPnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeBoxTwoPnt
-                      (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aPnt2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-
-  if (aPnt1.IsNull() || aPnt2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Box
-  Handle(GEOM_Object) anObject = GetOperations()->MakeBoxTwoPnt(aPnt1, aPnt2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeCylinderRH
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeCylinderRH (CORBA::Double theR,
-                                                               CORBA::Double theH)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Create the Cylinder
-  Handle(GEOM_Object) anObject = GetOperations()->MakeCylinderRH(theR, theH);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeCylinderPntVecRH
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeCylinderPntVecRH
-                      (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theR, CORBA::Double theH)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aPnt.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  //Create the Cylinder
-  Handle(GEOM_Object) anObject = GetOperations()->MakeCylinderPntVecRH(aPnt, aVec, theR, theH);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeConeR1R2H
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeConeR1R2H (CORBA::Double theR1,
-                                                              CORBA::Double theR2,
-                                                              CORBA::Double theH)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Create the Cone
-  Handle(GEOM_Object) anObject = GetOperations()->MakeConeR1R2H(theR1, theR2, theH);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeConePntVecR1R2H
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeConePntVecR1R2H
-                      (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theR1, CORBA::Double theR2, CORBA::Double theH)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aPnt.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  //Create the Cone
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeConePntVecR1R2H(aPnt, aVec, theR1, theR2, theH);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSphereR
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeSphereR (CORBA::Double theR)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Create the Cone
-  Handle(GEOM_Object) anObject = GetOperations()->MakeSphereR(theR);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSpherePntR
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeSpherePntR
-                      (GEOM::GEOM_Object_ptr thePnt, CORBA::Double theR)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL) return aGEOMObject._retn();
-
-  //Get the reference point
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-
-  if (aPnt.IsNull()) return aGEOMObject._retn();
-
-  //Create the Sphere
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeSpherePntR(aPnt, theR);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeTorusRR
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeTorusRR
-                      (CORBA::Double theRMajor, CORBA::Double theRMinor)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Make Torus
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeTorusRR(theRMajor, theRMinor);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeTorusPntVecRR
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeTorusPntVecRR
-                      (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theRMajor, CORBA::Double theRMinor)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aPnt.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  // Make Torus
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeTorusPntVecRR(aPnt, aVec, theRMajor, theRMinor);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePrismVecH
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakePrismVecH
-                      (GEOM::GEOM_Object_ptr theBase, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theH)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBase == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aBase = GetOperations()->GetEngine()->GetObject
-    (theBase->GetStudyID(), theBase->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aBase.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  //Create the Prism
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakePrismVecH(aBase, aVec, theH);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePrismTwoPnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakePrismTwoPnt
-                                             (GEOM::GEOM_Object_ptr theBase,
-                                             GEOM::GEOM_Object_ptr thePoint1,
-                                             GEOM::GEOM_Object_ptr thePoint2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBase == NULL || thePoint1 == NULL || thePoint2 == NULL)
-    return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aBase = GetOperations()->GetEngine()->GetObject
-    (theBase->GetStudyID(), theBase->GetEntry());
-  Handle(GEOM_Object) aPoint1 = GetOperations()->GetEngine()->GetObject
-    (thePoint1->GetStudyID(), thePoint1->GetEntry());
-  Handle(GEOM_Object) aPoint2 = GetOperations()->GetEngine()->GetObject
-    (thePoint2->GetStudyID(), thePoint2->GetEntry());
-
-  if (aBase.IsNull() || aPoint1.IsNull() || aPoint2.IsNull())
-    return aGEOMObject._retn();
-
-  //Create the Prism
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePrismTwoPnt(aBase, aPoint1, aPoint2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePipe
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakePipe
-                 (GEOM::GEOM_Object_ptr theBase, GEOM::GEOM_Object_ptr thePath)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBase == NULL || thePath == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aBase = GetOperations()->GetEngine()->GetObject
-    (theBase->GetStudyID(), theBase->GetEntry());
-  Handle(GEOM_Object) aPath = GetOperations()->GetEngine()->GetObject
-    (thePath->GetStudyID(), thePath->GetEntry());
-
-  if (aBase.IsNull() || aPath.IsNull()) return aGEOMObject._retn();
-
-  //Create the Pipe
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePipe(aBase, aPath);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeRevolutionAxisAngle
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeRevolutionAxisAngle
-                      (GEOM::GEOM_Object_ptr theBase, GEOM::GEOM_Object_ptr theAxis,
-                      CORBA::Double theAngle)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBase == NULL || theAxis == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aBase = GetOperations()->GetEngine()->GetObject
-    (theBase->GetStudyID(), theBase->GetEntry());
-  Handle(GEOM_Object) anAxis = GetOperations()->GetEngine()->GetObject
-    (theAxis->GetStudyID(), theAxis->GetEntry());
-
-  if (aBase.IsNull() || anAxis.IsNull()) return aGEOMObject._retn();
-
-  //Create the Revolution
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeRevolutionAxisAngle(aBase, anAxis, theAngle);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeFilling
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_I3DPrimOperations_i::MakeFilling(GEOM::GEOM_Object_ptr theShape,
-                                                           CORBA::Long theMinDeg,
-                                                           CORBA::Long theMaxDeg,
-                                                           CORBA::Double theTol2D,
-                                                           CORBA::Double theTol3D,
-                                                           CORBA::Long theNbIter)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  //Create the Solid
-  Handle(GEOM_Object) anObject = GetOperations()->MakeFilling(aShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
diff --git a/src/GEOM_I/GEOM_I3DPrimOperations_i.hh b/src/GEOM_I/GEOM_I3DPrimOperations_i.hh
deleted file mode 100644 (file)
index bcd4244..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-
-#ifndef _GEOM_I3DPrimOperations_i_HeaderFile
-#define _GEOM_I3DPrimOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_I3DPrimOperations.hxx"
-
-class GEOM_I3DPrimOperations_i :
-    public virtual POA_GEOM::GEOM_I3DPrimOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_I3DPrimOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_I3DPrimOperations* theImpl);
-  ~GEOM_I3DPrimOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
-                                      CORBA::Double theDY,
-                                      CORBA::Double theDZ);
-
-  GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                      GEOM::GEOM_Object_ptr thePnt2);
-
-  GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
-                                       CORBA::Double theH);
-
-  GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
-                                             GEOM::GEOM_Object_ptr theVec,
-                                             CORBA::Double theR,
-                                             CORBA::Double theH);
-
-  GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
-                                      CORBA::Double theR2,
-                                      CORBA::Double theH);
-
-  GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
-                                            GEOM::GEOM_Object_ptr theVec,
-                                            CORBA::Double theR1,
-                                            CORBA::Double theR2,
-                                            CORBA::Double theH);
-
-  GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
-
-  GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
-                                       CORBA::Double theR);
-
-  GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
-                                    CORBA::Double theRMinor);
-
-  GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr theCenter,
-                                          GEOM::GEOM_Object_ptr theVector,
-                                          CORBA::Double theRMajor,
-                                          CORBA::Double theRMinor);
-
-  GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
-                                      GEOM::GEOM_Object_ptr theVec,
-                                      CORBA::Double theH);
-
-  GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
-                                        GEOM::GEOM_Object_ptr thePoint1,
-                                        GEOM::GEOM_Object_ptr thePoint2);
-
-  GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
-                                 GEOM::GEOM_Object_ptr thePath);
-
-  GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
-                                                GEOM::GEOM_Object_ptr theAxis,
-                                                CORBA::Double theAngle);
-
-  GEOM::GEOM_Object_ptr MakeFilling(GEOM::GEOM_Object_ptr theShape, CORBA::Long theMinDeg, CORBA::Long theMaxDeg, CORBA::Double theTol2D, CORBA::Double theTol3D, CORBA::Long theNbIter);
-
-  ::GEOMImpl_I3DPrimOperations* GetOperations()
-  { return (::GEOMImpl_I3DPrimOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IBasicOperations_i.cc b/src/GEOM_I/GEOM_IBasicOperations_i.cc
deleted file mode 100644 (file)
index 7ad0685..0000000
+++ /dev/null
@@ -1,371 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IBasicOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IBasicOperations_i::GEOM_IBasicOperations_i (PortableServer::POA_ptr thePOA,
-                                                 GEOM::GEOM_Gen_ptr theEngine,
-                                                 ::GEOMImpl_IBasicOperations* theImpl)
-     :GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IBasicOperations_i::GEOM_IBasicOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IBasicOperations_i::~GEOM_IBasicOperations_i()
-{
-  MESSAGE("GEOM_IBasicOperations_i::~GEOM_IBasicOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakePointXYZ
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePointXYZ
-  (CORBA::Double theX, CORBA::Double theY, CORBA::Double theZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-   //Create the point
-
-  Handle(GEOM_Object) anObject = GetOperations()->MakePointXYZ(theX, theY, theZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePointWithReference
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePointWithReference
-  (GEOM::GEOM_Object_ptr theReference, CORBA::Double theX, CORBA::Double theY, CORBA::Double theZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if(theReference == NULL) return aGEOMObject._retn();
-
-  //Get the reference point
-
-  Handle(GEOM_Object) aRefernce = GetOperations()->GetEngine()->GetObject
-    (theReference->GetStudyID(), theReference->GetEntry());
-  if (aRefernce.IsNull()) return aGEOMObject._retn();
-
-  //Create the point
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePointWithReference(aRefernce, theX, theY, theZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePointOnCurve
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePointOnCurve
-                  (GEOM::GEOM_Object_ptr theCurve,  CORBA::Double theParameter)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCurve == NULL) return aGEOMObject._retn();
-
-  //Get the reference curve
-
-  Handle(GEOM_Object) aRefernce = GetOperations()->GetEngine()->GetObject
-    (theCurve->GetStudyID(), theCurve->GetEntry());
-  if (aRefernce.IsNull()) return aGEOMObject._retn();
-
-  //Create the point
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePointOnCurve(aRefernce, theParameter);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  MakeVectorDXDYDZ
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakeVectorDXDYDZ
-  (CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Create the Vector
-
-  Handle(GEOM_Object) anObject = GetOperations()->MakeVectorDXDYDZ(theDX, theDY, theDZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeVectorTwoPnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakeVectorTwoPnt
-                 (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-
-  Handle(GEOM_Object) aRef1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aRef2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  if (aRef1.IsNull() || aRef2.IsNull()) return aGEOMObject._retn();
-
-  //Create the vector
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeVectorTwoPnt(aRef1, aRef2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  MakeLine
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakeLine
-                   (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theDir)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theDir == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-
-  Handle(GEOM_Object) aRef1 = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aRef2 = GetOperations()->GetEngine()->GetObject
-    (theDir->GetStudyID(), theDir->GetEntry());
-  if (aRef1.IsNull() || aRef2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Line
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeLine(aRef1, aRef2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeLineTwoPnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakeLineTwoPnt
-                 (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-
-  Handle(GEOM_Object) aRef1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aRef2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  if (aRef1.IsNull() || aRef2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Line
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeLineTwoPnt(aRef1, aRef2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  MakePlanePntVec
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePlanePntVec
-                 (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                 CORBA::Double theTrimSize)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the references
-
-  Handle(GEOM_Object) aRef1 = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aRef2 = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-  if (aRef1.IsNull() || aRef2.IsNull()) return aGEOMObject._retn();
-
-  //Create the plane
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePlanePntVec(aRef1, aRef2, theTrimSize);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePlaneThreePnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePlaneThreePnt
-                 (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2,
-                 GEOM::GEOM_Object_ptr thePnt3, CORBA::Double theTrimSize)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL || thePnt3 == NULL)
-    return aGEOMObject._retn();
-
-  //Get the reference points
-
-  Handle(GEOM_Object) aRef1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aRef2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  Handle(GEOM_Object) aRef3 = GetOperations()->GetEngine()->GetObject
-    (thePnt3->GetStudyID(), thePnt3->GetEntry());
-  if (aRef1.IsNull() || aRef2.IsNull() || aRef3.IsNull())
-    return aGEOMObject._retn();
-
-  //Create the plane
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePlaneThreePnt(aRef1, aRef2, aRef3, theTrimSize);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePlaneFace
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakePlaneFace
-                     (GEOM::GEOM_Object_ptr theFace, CORBA::Double theTrimSize)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theFace == NULL) return aGEOMObject._retn();
-
-  //Get the reference face
-
-  Handle(GEOM_Object) aRef = GetOperations()->GetEngine()->GetObject
-    (theFace->GetStudyID(), theFace->GetEntry());
-  if (aRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the plane
-
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePlaneFace(aRef, theTrimSize);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  MakeMarker
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBasicOperations_i::MakeMarker
-  (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
-   CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
-   CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Create the point
-  Handle(GEOM_Object) anObject = GetOperations()->MakeMarker(theOX , theOY , theOZ,
-                                                            theXDX, theXDY, theXDZ,
-                                                            theYDX, theYDY, theYDZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
diff --git a/src/GEOM_I/GEOM_IBasicOperations_i.hh b/src/GEOM_I/GEOM_IBasicOperations_i.hh
deleted file mode 100644 (file)
index 5bedb15..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-
-#ifndef _GEOM_IBasicOperations_i_HeaderFile
-#define _GEOM_IBasicOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IBasicOperations.hxx"
-
-class GEOM_IBasicOperations_i :
-    public virtual POA_GEOM::GEOM_IBasicOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-   GEOM_IBasicOperations_i (PortableServer::POA_ptr thePOA,
-                           GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_IBasicOperations* theImpl);
-   ~GEOM_IBasicOperations_i();
-
-   GEOM::GEOM_Object_ptr MakePointXYZ (CORBA::Double theX,
-                                      CORBA::Double theY,
-                                      CORBA::Double theZ);
-
-   GEOM::GEOM_Object_ptr MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
-                                                CORBA::Double theX,
-                                                CORBA::Double theY,
-                                                CORBA::Double theZ);
-
-   GEOM::GEOM_Object_ptr MakePointOnCurve (GEOM::GEOM_Object_ptr theCurve,
-                                          CORBA::Double theParameter);
-
-   GEOM::GEOM_Object_ptr MakeVectorDXDYDZ (CORBA::Double theDX,
-                                          CORBA::Double theDY,
-                                          CORBA::Double theDZ);
-
-   GEOM::GEOM_Object_ptr MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                          GEOM::GEOM_Object_ptr thePnt2);
-
-   GEOM::GEOM_Object_ptr MakeLine (GEOM::GEOM_Object_ptr thePnt,
-                                  GEOM::GEOM_Object_ptr theDir);
-
-   GEOM::GEOM_Object_ptr MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                        GEOM::GEOM_Object_ptr thePnt2);
-
-   GEOM::GEOM_Object_ptr MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                           GEOM::GEOM_Object_ptr thePnt2,
-                                           GEOM::GEOM_Object_ptr thePnt3,
-                                           CORBA::Double theTrimSize);
-
-   GEOM::GEOM_Object_ptr MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
-                                         GEOM::GEOM_Object_ptr theVec,
-                                         CORBA::Double theTrimSize);
-
-   GEOM::GEOM_Object_ptr MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
-                                       CORBA::Double theTrimSize);
-
-   GEOM::GEOM_Object_ptr MakeMarker (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
-                                    CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
-                                    CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ);
-
-   ::GEOMImpl_IBasicOperations* GetOperations() { return (::GEOMImpl_IBasicOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IBlocksOperations_i.cc b/src/GEOM_I/GEOM_IBlocksOperations_i.cc
deleted file mode 100644 (file)
index a6965e8..0000000
+++ /dev/null
@@ -1,1037 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IBlocksOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IBlocksOperations_i::GEOM_IBlocksOperations_i (PortableServer::POA_ptr thePOA,
-                                                   GEOM::GEOM_Gen_ptr theEngine,
-                                                   ::GEOMImpl_IBlocksOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IBlocksOperations_i::GEOM_IBlocksOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IBlocksOperations_i::~GEOM_IBlocksOperations_i()
-{
-  MESSAGE("GEOM_IBlocksOperations_i::~GEOM_IBlocksOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeQuad
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeQuad
-               (GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2,
-               GEOM::GEOM_Object_ptr theEdge3, GEOM::GEOM_Object_ptr theEdge4)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theEdge1 == NULL || theEdge2 == NULL ||
-      theEdge3 == NULL || theEdge4 == NULL) return aGEOMObject._retn();
-
-  //Get the reference edges
-  Handle(GEOM_Object) anEdge1 = GetOperations()->GetEngine()->GetObject
-    (theEdge1->GetStudyID(), theEdge1->GetEntry());
-  Handle(GEOM_Object) anEdge2 = GetOperations()->GetEngine()->GetObject
-    (theEdge2->GetStudyID(), theEdge2->GetEntry());
-  Handle(GEOM_Object) anEdge3 = GetOperations()->GetEngine()->GetObject
-    (theEdge3->GetStudyID(), theEdge3->GetEntry());
-  Handle(GEOM_Object) anEdge4 = GetOperations()->GetEngine()->GetObject
-    (theEdge4->GetStudyID(), theEdge4->GetEntry());
-
-  if (anEdge1.IsNull() || anEdge2.IsNull() ||
-      anEdge3.IsNull() || anEdge4.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeQuad(anEdge1, anEdge2, anEdge3, anEdge4);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeQuad2Edges
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeQuad2Edges
-               (GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theEdge1 == NULL || theEdge2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference edges
-  Handle(GEOM_Object) anEdge1 = GetOperations()->GetEngine()->GetObject
-    (theEdge1->GetStudyID(), theEdge1->GetEntry());
-  Handle(GEOM_Object) anEdge2 = GetOperations()->GetEngine()->GetObject
-    (theEdge2->GetStudyID(), theEdge2->GetEntry());
-
-  if (anEdge1.IsNull() || anEdge2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeQuad2Edges(anEdge1, anEdge2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeQuad4Vertices
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeQuad4Vertices
-                      (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2,
-                      GEOM::GEOM_Object_ptr thePnt3, GEOM::GEOM_Object_ptr thePnt4)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL ||
-      thePnt3 == NULL || thePnt4 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aPnt2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  Handle(GEOM_Object) aPnt3 = GetOperations()->GetEngine()->GetObject
-    (thePnt3->GetStudyID(), thePnt3->GetEntry());
-  Handle(GEOM_Object) aPnt4 = GetOperations()->GetEngine()->GetObject
-    (thePnt4->GetStudyID(), thePnt4->GetEntry());
-
-  if (aPnt1.IsNull() || aPnt2.IsNull() ||
-      aPnt3.IsNull() || aPnt4.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeQuad4Vertices(aPnt1, aPnt2, aPnt3, aPnt4);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeHexa
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeHexa
-               (GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theFace2,
-               GEOM::GEOM_Object_ptr theFace3, GEOM::GEOM_Object_ptr theFace4,
-               GEOM::GEOM_Object_ptr theFace5, GEOM::GEOM_Object_ptr theFace6)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theFace1 == NULL || theFace2 == NULL ||
-      theFace3 == NULL || theFace4 == NULL ||
-      theFace5 == NULL || theFace6 == NULL) return aGEOMObject._retn();
-
-  //Get the reference Faces
-  Handle(GEOM_Object) anFace1 = GetOperations()->GetEngine()->GetObject
-    (theFace1->GetStudyID(), theFace1->GetEntry());
-  Handle(GEOM_Object) anFace2 = GetOperations()->GetEngine()->GetObject
-    (theFace2->GetStudyID(), theFace2->GetEntry());
-  Handle(GEOM_Object) anFace3 = GetOperations()->GetEngine()->GetObject
-    (theFace3->GetStudyID(), theFace3->GetEntry());
-  Handle(GEOM_Object) anFace4 = GetOperations()->GetEngine()->GetObject
-    (theFace4->GetStudyID(), theFace4->GetEntry());
-  Handle(GEOM_Object) anFace5 = GetOperations()->GetEngine()->GetObject
-    (theFace5->GetStudyID(), theFace5->GetEntry());
-  Handle(GEOM_Object) anFace6 = GetOperations()->GetEngine()->GetObject
-    (theFace6->GetStudyID(), theFace6->GetEntry());
-
-  if (anFace1.IsNull() || anFace2.IsNull() ||
-      anFace3.IsNull() || anFace4.IsNull() ||
-      anFace5.IsNull() || anFace6.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject = GetOperations()->MakeHexa
-    (anFace1, anFace2, anFace3, anFace4, anFace5, anFace6);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeHexa2Faces
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeHexa2Faces
-               (GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theFace2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theFace1 == NULL || theFace2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference Faces
-  Handle(GEOM_Object) anFace1 = GetOperations()->GetEngine()->GetObject
-    (theFace1->GetStudyID(), theFace1->GetEntry());
-  Handle(GEOM_Object) anFace2 = GetOperations()->GetEngine()->GetObject
-    (theFace2->GetStudyID(), theFace2->GetEntry());
-
-  if (anFace1.IsNull() || anFace2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeHexa2Faces(anFace1, anFace2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeBlockCompound
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeBlockCompound
-                                            (GEOM::GEOM_Object_ptr theCompound)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return aGEOMObject._retn();
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return aGEOMObject._retn();
-
-  //Create the Blocks Compound
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeBlockCompound(aCompound);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetPoint
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetPoint (GEOM::GEOM_Object_ptr theShape,
-                                                         const CORBA::Double   theX,
-                                                         const CORBA::Double   theY,
-                                                         const CORBA::Double   theZ,
-                                                         const CORBA::Double   theEpsilon)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  //Create the Point
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetPoint(aShape, theX, theY, theZ, theEpsilon);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetEdge
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetEdge (GEOM::GEOM_Object_ptr theShape,
-                                                        GEOM::GEOM_Object_ptr thePoint1,
-                                                        GEOM::GEOM_Object_ptr thePoint2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL ||
-      thePoint1 == NULL || thePoint2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aPoint1 = GetOperations()->GetEngine()->GetObject
-    (thePoint1->GetStudyID(), thePoint1->GetEntry());
-  Handle(GEOM_Object) aPoint2 = GetOperations()->GetEngine()->GetObject
-    (thePoint2->GetStudyID(), thePoint2->GetEntry());
-
-  if (aShape.IsNull() ||
-      aPoint1.IsNull() || aPoint2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Point
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEdge(aShape, aPoint1, aPoint2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetEdgeNearPoint
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetEdgeNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                                                 GEOM::GEOM_Object_ptr thePoint)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || thePoint == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aPoint = GetOperations()->GetEngine()->GetObject
-    (thePoint->GetStudyID(), thePoint->GetEntry());
-
-  if (aShape.IsNull() || aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Create the Edge
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEdgeNearPoint(aShape, aPoint);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetFaceByPoints
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetFaceByPoints
-                                              (GEOM::GEOM_Object_ptr theShape,
-                                              GEOM::GEOM_Object_ptr thePoint1,
-                                              GEOM::GEOM_Object_ptr thePoint2,
-                                              GEOM::GEOM_Object_ptr thePoint3,
-                                              GEOM::GEOM_Object_ptr thePoint4)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL ||
-      thePoint1 == NULL || thePoint2 == NULL ||
-      thePoint3 == NULL || thePoint4 == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aPoint1 = GetOperations()->GetEngine()->GetObject
-    (thePoint1->GetStudyID(), thePoint1->GetEntry());
-  Handle(GEOM_Object) aPoint2 = GetOperations()->GetEngine()->GetObject
-    (thePoint2->GetStudyID(), thePoint2->GetEntry());
-  Handle(GEOM_Object) aPoint3 = GetOperations()->GetEngine()->GetObject
-    (thePoint3->GetStudyID(), thePoint3->GetEntry());
-  Handle(GEOM_Object) aPoint4 = GetOperations()->GetEngine()->GetObject
-    (thePoint4->GetStudyID(), thePoint4->GetEntry());
-
-  if (aShape.IsNull() ||
-      aPoint1.IsNull() || aPoint2.IsNull() ||
-      aPoint3.IsNull() || aPoint4.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetFaceByPoints(aShape, aPoint1, aPoint2, aPoint3, aPoint4);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetFaceByEdges
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetFaceByEdges
-                                               (GEOM::GEOM_Object_ptr theShape,
-                                               GEOM::GEOM_Object_ptr theEdge1,
-                                               GEOM::GEOM_Object_ptr theEdge2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL ||
-      theEdge1 == NULL || theEdge2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) anEdge1 = GetOperations()->GetEngine()->GetObject
-    (theEdge1->GetStudyID(), theEdge1->GetEntry());
-  Handle(GEOM_Object) anEdge2 = GetOperations()->GetEngine()->GetObject
-    (theEdge2->GetStudyID(), theEdge2->GetEntry());
-
-  if (aShape.IsNull() ||
-      anEdge1.IsNull() || anEdge2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetFaceByEdges(aShape, anEdge1, anEdge2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetOppositeFace
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetOppositeFace (GEOM::GEOM_Object_ptr theShape,
-                                                                GEOM::GEOM_Object_ptr theFace)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theFace == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aFace = GetOperations()->GetEngine()->GetObject
-    (theFace->GetStudyID(), theFace->GetEntry());
-
-  if (aShape.IsNull() || aFace.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetOppositeFace(aShape, aFace);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetFaceNearPoint
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                                                 GEOM::GEOM_Object_ptr thePoint)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || thePoint == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aPoint = GetOperations()->GetEngine()->GetObject
-    (thePoint->GetStudyID(), thePoint->GetEntry());
-
-  if (aShape.IsNull() || aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetFaceNearPoint(aShape, aPoint);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetFaceByNormale
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetFaceByNormale (GEOM::GEOM_Object_ptr theShape,
-                                                                 GEOM::GEOM_Object_ptr theVector)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aVector = GetOperations()->GetEngine()->GetObject
-    (theVector->GetStudyID(), theVector->GetEntry());
-
-  if (aShape.IsNull() || aVector.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetFaceByNormale(aShape, aVector);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  ExplodeCompoundOfBlocks
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IBlocksOperations_i::ExplodeCompoundOfBlocks
-                                          (GEOM::GEOM_Object_ptr theCompound,
-                                          const CORBA::Long     theMinNbFaces,
-                                          const CORBA::Long     theMaxNbFaces)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return aSeq._retn();
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return aSeq._retn();
-
-  //Explode
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->ExplodeCompoundOfBlocks(aCompound, theMinNbFaces, theMaxNbFaces);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  IsCompoundOfBlocks
- */
-//=============================================================================
-CORBA::Boolean GEOM_IBlocksOperations_i::IsCompoundOfBlocks
-                                          (GEOM::GEOM_Object_ptr theCompound,
-                                          const CORBA::Long     theMinNbFaces,
-                                          const CORBA::Long     theMaxNbFaces,
-                                          CORBA::Long&          theNbBlocks)
-{
-  theNbBlocks = 0;
-  CORBA::Boolean isComp = false;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return isComp;
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return isComp;
-
-  //Check
-  Standard_Integer nbBlocks = 0;
-  isComp = GetOperations()->IsCompoundOfBlocks(aCompound,
-                                              theMinNbFaces,
-                                              theMaxNbFaces,
-                                              nbBlocks);
-  if (!GetOperations()->IsDone())
-    return isComp;
-
-  theNbBlocks = nbBlocks;
-  return isComp;
-}
-
-//=============================================================================
-/*!
- *  CheckCompoundOfBlocks
- */
-//=============================================================================
-CORBA::Boolean GEOM_IBlocksOperations_i::CheckCompoundOfBlocks
-                                          (GEOM::GEOM_Object_ptr theCompound,
-                                          GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors)
-{
-  CORBA::Boolean isComp = false;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return isComp;
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return isComp;
-
-  //Check
-  list<GEOMImpl_IBlocksOperations::BCError> errList;
-  isComp = GetOperations()->CheckCompoundOfBlocks(aCompound, errList);
-  if (!GetOperations()->IsDone())
-    return isComp;
-
-  const int nbErr = errList.size();
-  GEOM::GEOM_IBlocksOperations::BCErrors_var anErrArray =
-    new GEOM::GEOM_IBlocksOperations::BCErrors();
-  anErrArray->length(nbErr);
-
-  // fill the local CORBA array with values from lists
-  list<GEOMImpl_IBlocksOperations::BCError>::iterator errIt = errList.begin();
-  int i = 0;
-  for (; errIt != errList.end(); i++, errIt++) {
-    GEOM::GEOM_IBlocksOperations::BCError_var anError =
-      new GEOM::GEOM_IBlocksOperations::BCError();
-
-    GEOMImpl_IBlocksOperations::BCError errStruct = *errIt;
-
-    switch (errStruct.error) {
-    case GEOMImpl_IBlocksOperations::NOT_BLOCK:
-      anError->error = GEOM::GEOM_IBlocksOperations::NOT_BLOCK;
-      break;
-    case GEOMImpl_IBlocksOperations::EXTRA_EDGE:
-      anError->error = GEOM::GEOM_IBlocksOperations::EXTRA_EDGE;
-      break;
-    case GEOMImpl_IBlocksOperations::INVALID_CONNECTION:
-      anError->error = GEOM::GEOM_IBlocksOperations::INVALID_CONNECTION;
-      break;
-    case GEOMImpl_IBlocksOperations::NOT_CONNECTED:
-      anError->error = GEOM::GEOM_IBlocksOperations::NOT_CONNECTED;
-      break;
-    case GEOMImpl_IBlocksOperations::NOT_GLUED:
-      anError->error = GEOM::GEOM_IBlocksOperations::NOT_GLUED;
-      break;
-    default:
-      break;
-    }
-
-    list<int> sshList = errStruct.incriminated;
-    GEOM::ListOfLong_var anIncrims = new GEOM::ListOfLong();
-    anIncrims->length(sshList.size());
-
-    list<int>::iterator sshIt = sshList.begin();
-    int jj = 0;
-    for (; sshIt != sshList.end(); jj++, sshIt++) {
-      anIncrims[jj] = *sshIt;
-    }
-
-    anError->incriminated = anIncrims;
-
-    anErrArray[i] = anError;
-  }
-
-  // initialize out-parameter with local array
-  theErrors = anErrArray._retn();
-
-  return isComp;
-}
-
-//=============================================================================
-/*!
- *  PrintBCErrors
- */
-//=============================================================================
-char* GEOM_IBlocksOperations_i::PrintBCErrors
-                      (GEOM::GEOM_Object_ptr theCompound,
-                      const GEOM::GEOM_IBlocksOperations::BCErrors& theErrors)
-{
-  //Get the reference Compound
-  if (theCompound == NULL) return NULL;
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-  if (aCompound.IsNull()) return NULL;
-
-  // Convert the errors sequence
-  list<GEOMImpl_IBlocksOperations::BCError> anErrors;
-  int nbErr = theErrors.length();
-  int ie = 0;
-  for (; ie < nbErr; ie++) {
-    const GEOM::GEOM_IBlocksOperations::BCError err = theErrors[ie];
-    const GEOM::GEOM_IBlocksOperations::BCErrorType typ = err.error;
-    const GEOM::ListOfLong incrims = err.incriminated;
-
-    GEOMImpl_IBlocksOperations::BCError errStruct;
-    switch (typ) {
-    case GEOM::GEOM_IBlocksOperations::NOT_BLOCK:
-      errStruct.error = GEOMImpl_IBlocksOperations::NOT_BLOCK;
-      break;
-    case GEOM::GEOM_IBlocksOperations::EXTRA_EDGE:
-      errStruct.error = GEOMImpl_IBlocksOperations::EXTRA_EDGE;
-      break;
-    case GEOM::GEOM_IBlocksOperations::INVALID_CONNECTION:
-      errStruct.error = GEOMImpl_IBlocksOperations::INVALID_CONNECTION;
-      break;
-    case GEOM::GEOM_IBlocksOperations::NOT_CONNECTED:
-      errStruct.error = GEOMImpl_IBlocksOperations::NOT_CONNECTED;
-      break;
-    case GEOM::GEOM_IBlocksOperations::NOT_GLUED:
-      errStruct.error = GEOMImpl_IBlocksOperations::NOT_GLUED;
-      break;
-    default:
-      break;
-    }
-
-    int ii = 0;
-    int aLen = incrims.length();
-    for (; ii < aLen; ii++) {
-      errStruct.incriminated.push_back(incrims[ii]);
-    }
-
-    anErrors.push_back(errStruct);
-  }
-
-  TCollection_AsciiString aDescr = GetOperations()->PrintBCErrors(aCompound, anErrors);
-  return CORBA::string_dup(aDescr.ToCString());    
-}
-
-//=============================================================================
-/*!
- *  RemoveExtraEdges
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::RemoveExtraEdges (GEOM::GEOM_Object_ptr theShape)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  //Get the result
-  Handle(GEOM_Object) anObject =
-    GetOperations()->RemoveExtraEdges(aShape);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  CheckAndImprove
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::CheckAndImprove (GEOM::GEOM_Object_ptr theCompound)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return aGEOMObject._retn();
-
-  //Get the result
-  Handle(GEOM_Object) anObject =
-    GetOperations()->CheckAndImprove(aCompound);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetBlockNearPoint
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
-                                                                  GEOM::GEOM_Object_ptr thePoint)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL || thePoint == NULL) return aGEOMObject._retn();
-
-  //Get the reference Objects
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-  Handle(GEOM_Object) aPoint = GetOperations()->GetEngine()->GetObject
-    (thePoint->GetStudyID(), thePoint->GetEntry());
-
-  if (aCompound.IsNull() || aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Get the block
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetBlockNearPoint(aCompound, aPoint);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetBlockByParts
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
-                                                                const GEOM::ListOfGO& theParts)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return aGEOMObject._retn();
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return aGEOMObject._retn();
-
-  //Get the parts
-  int ind, aLen;
-  Handle(TColStd_HSequenceOfTransient) aParts = new TColStd_HSequenceOfTransient;
-
-  aLen = theParts.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theParts[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theParts[ind]->GetStudyID(), theParts[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aParts->Append(aSh);
-  }
-
-  //Get the Block
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetBlockByParts(aCompound, aParts);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetBlocksByParts
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IBlocksOperations_i::GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
-                                                           const GEOM::ListOfGO& theParts)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theCompound == NULL) return aSeq._retn();
-
-  //Get the reference Compound
-  Handle(GEOM_Object) aCompound = GetOperations()->GetEngine()->GetObject
-    (theCompound->GetStudyID(), theCompound->GetEntry());
-
-  if (aCompound.IsNull()) return aSeq._retn();
-
-  //Get the parts
-  int ind, aLen;
-  Handle(TColStd_HSequenceOfTransient) aParts = new TColStd_HSequenceOfTransient;
-
-  aLen = theParts.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theParts[ind] == NULL) return aSeq._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theParts[ind]->GetStudyID(), theParts[ind]->GetEntry());
-    if (aSh.IsNull()) return aSeq._retn();
-    aParts->Append(aSh);
-  }
-
-  //Get the Block
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->GetBlocksByParts(aCompound, aParts);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  MakeMultiTransformation1D
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeMultiTransformation1D
-                                              (GEOM::GEOM_Object_ptr theBlock,
-                                              const CORBA::Long     theDirFace1,
-                                              const CORBA::Long     theDirFace2,
-                                              const CORBA::Long     theNbTimes)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-   //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBlock == NULL) return aGEOMObject._retn();
-
-   //Get the object itself and the vector of translation
-   Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-     (theBlock->GetStudyID(), theBlock->GetEntry());
-
-   if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-   //Perform the transformation
-   Handle(GEOM_Object) anObject = GetOperations()->MakeMultiTransformation1D
-     (aBasicObject, theDirFace1, theDirFace2, theNbTimes);
-   if (!GetOperations()->IsDone() || anObject.IsNull())  return aGEOMObject._retn();
-
-   return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeMultiTransformation2D
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::MakeMultiTransformation2D
-                                           (GEOM::GEOM_Object_ptr theBlock,
-                                           const CORBA::Long     theDirFace1U,
-                                           const CORBA::Long     theDirFace2U,
-                                           const CORBA::Long     theNbTimesU,
-                                           const CORBA::Long     theDirFace1V,
-                                           const CORBA::Long     theDirFace2V,
-                                           const CORBA::Long     theNbTimesV)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theBlock == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-    (theBlock->GetStudyID(), theBlock->GetEntry());
-
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Perform the transformation
-  Handle(GEOM_Object) anObject = GetOperations()->MakeMultiTransformation2D
-    (aBasicObject,
-     theDirFace1U, theDirFace2U, theNbTimesU,
-     theDirFace1V, theDirFace2V, theNbTimesV);
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  Propagate
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IBlocksOperations_i::Propagate (GEOM::GEOM_Object_ptr theShape)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aSeq._retn();
-
-  //Get the reference Shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aSeq._retn();
-
-  //Get the Propagation chains
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->Propagate(aShape);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
diff --git a/src/GEOM_I/GEOM_IBlocksOperations_i.hh b/src/GEOM_I/GEOM_IBlocksOperations_i.hh
deleted file mode 100644 (file)
index 6f75422..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-
-#ifndef _GEOM_IBlocksOperations_i_HeaderFile
-#define _GEOM_IBlocksOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IBlocksOperations.hxx"
-
-class GEOM_IBlocksOperations_i :
-    public virtual POA_GEOM::GEOM_IBlocksOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IBlocksOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_IBlocksOperations* theImpl);
-  ~GEOM_IBlocksOperations_i();
-
-  // Creation of blocks and block faces
-  GEOM::GEOM_Object_ptr MakeQuad (GEOM::GEOM_Object_ptr theEdge1,
-                                 GEOM::GEOM_Object_ptr theEdge2,
-                                 GEOM::GEOM_Object_ptr theEdge3,
-                                 GEOM::GEOM_Object_ptr theEdge4);
-
-  GEOM::GEOM_Object_ptr MakeQuad2Edges (GEOM::GEOM_Object_ptr theEdge1,
-                                       GEOM::GEOM_Object_ptr theEdge2);
-
-  GEOM::GEOM_Object_ptr MakeQuad4Vertices (GEOM::GEOM_Object_ptr thePnt1,
-                                          GEOM::GEOM_Object_ptr thePnt2,
-                                          GEOM::GEOM_Object_ptr thePnt3,
-                                          GEOM::GEOM_Object_ptr thePnt4);
-
-  GEOM::GEOM_Object_ptr MakeHexa (GEOM::GEOM_Object_ptr theFace1,
-                                 GEOM::GEOM_Object_ptr theFace2,
-                                 GEOM::GEOM_Object_ptr theFace3,
-                                 GEOM::GEOM_Object_ptr theFace4,
-                                 GEOM::GEOM_Object_ptr theFace5,
-                                 GEOM::GEOM_Object_ptr theFace6);
-
-  GEOM::GEOM_Object_ptr MakeHexa2Faces (GEOM::GEOM_Object_ptr theFace1,
-                                       GEOM::GEOM_Object_ptr theFace2);
-
-  GEOM::GEOM_Object_ptr MakeBlockCompound (GEOM::GEOM_Object_ptr theCompound);
-
-  // Extract elements of blocks and blocks compounds
-  GEOM::GEOM_Object_ptr GetPoint (GEOM::GEOM_Object_ptr theShape,
-                                 CORBA::Double   theX,
-                                 CORBA::Double   theY,
-                                 CORBA::Double   theZ,
-                                 CORBA::Double   theEpsilon);
-
-  GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
-                                GEOM::GEOM_Object_ptr thePoint1,
-                                GEOM::GEOM_Object_ptr thePoint2);
-
-  GEOM::GEOM_Object_ptr GetEdgeNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                         GEOM::GEOM_Object_ptr thePoint);
-
-  GEOM::GEOM_Object_ptr GetFaceByPoints (GEOM::GEOM_Object_ptr theShape,
-                                        GEOM::GEOM_Object_ptr thePoint1,
-                                        GEOM::GEOM_Object_ptr thePoint2,
-                                        GEOM::GEOM_Object_ptr thePoint3,
-                                        GEOM::GEOM_Object_ptr thePoint4);
-
-  GEOM::GEOM_Object_ptr GetFaceByEdges (GEOM::GEOM_Object_ptr theShape,
-                                       GEOM::GEOM_Object_ptr theEdge1,
-                                       GEOM::GEOM_Object_ptr theEdge2);
-
-  GEOM::GEOM_Object_ptr GetOppositeFace (GEOM::GEOM_Object_ptr theBlock,
-                                        GEOM::GEOM_Object_ptr theFace);
-
-  GEOM::GEOM_Object_ptr GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                         GEOM::GEOM_Object_ptr thePoint);
-
-  GEOM::GEOM_Object_ptr GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
-                                         GEOM::GEOM_Object_ptr theVector);
-
-  // Check blocks compound
-  CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                    CORBA::Long     theMinNbFaces,
-                                    CORBA::Long     theMaxNbFaces,
-                                    CORBA::Long&          theNbBlocks);
-
-  CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                       GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors);
-
-  char* PrintBCErrors (GEOM::GEOM_Object_ptr theCompound,
-                      const GEOM::GEOM_IBlocksOperations::BCErrors& theErrors);
-
-  GEOM::GEOM_Object_ptr RemoveExtraEdges (GEOM::GEOM_Object_ptr theShape);
-
-  GEOM::GEOM_Object_ptr CheckAndImprove (GEOM::GEOM_Object_ptr theCompound);
-
-  // Extract blocks from blocks compounds
-  GEOM::ListOfGO* ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                          CORBA::Long     theMinNbFaces,
-                                          CORBA::Long     theMaxNbFaces);
-
-  GEOM::GEOM_Object_ptr GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
-                                          GEOM::GEOM_Object_ptr thePoint);
-
-  GEOM::GEOM_Object_ptr GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
-                                        const GEOM::ListOfGO& theParts);
-
-  GEOM::ListOfGO* GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
-                                   const GEOM::ListOfGO& theParts);
-
-  // Operations on blocks with gluing of result
-  GEOM::GEOM_Object_ptr MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
-                                                  CORBA::Long     theDirFace1,
-                                                  CORBA::Long     theDirFace2,
-                                                  CORBA::Long     theNbTimes);
-
-  GEOM::GEOM_Object_ptr MakeMultiTransformation2D (GEOM::GEOM_Object_ptr theBlock,
-                                                  CORBA::Long     theDirFace1U,
-                                                  CORBA::Long     theDirFace2U,
-                                                  CORBA::Long     theNbTimesU,
-                                                  CORBA::Long     theDirFace1V,
-                                                  CORBA::Long     theDirFace2V,
-                                                  CORBA::Long     theNbTimesV);
-
-  // Build groups for Propagation of 1D hypotheses
-  GEOM::ListOfGO* Propagate (GEOM::GEOM_Object_ptr theShape);
-
-  ::GEOMImpl_IBlocksOperations* GetOperations()
-  { return (::GEOMImpl_IBlocksOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IBooleanOperations_i.cc b/src/GEOM_I/GEOM_IBooleanOperations_i.cc
deleted file mode 100644 (file)
index 504a506..0000000
+++ /dev/null
@@ -1,183 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IBooleanOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HArray1OfInteger.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IBooleanOperations_i::GEOM_IBooleanOperations_i (PortableServer::POA_ptr thePOA,
-                                                     GEOM::GEOM_Gen_ptr theEngine,
-                                                     ::GEOMImpl_IBooleanOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IBooleanOperations_i::GEOM_IBooleanOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IBooleanOperations_i::~GEOM_IBooleanOperations_i()
-{
-  MESSAGE("GEOM_IBooleanOperations_i::~GEOM_IBooleanOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeBoolean
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_IBooleanOperations_i::MakeBoolean
-                                                 (GEOM::GEOM_Object_ptr theShape1,
-                                                 GEOM::GEOM_Object_ptr theShape2,
-                                                 CORBA::Long           theOp)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape1 == NULL || theShape2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference shapes
-  Handle(GEOM_Object) aSh1 = GetOperations()->GetEngine()->GetObject
-    (theShape1->GetStudyID(), theShape1->GetEntry());
-  Handle(GEOM_Object) aSh2 = GetOperations()->GetEngine()->GetObject
-    (theShape2->GetStudyID(), theShape2->GetEntry());
-
-  if (aSh1.IsNull() || aSh2.IsNull()) return aGEOMObject._retn();
-
-  // Make Boolean
-  Handle(GEOM_Object) anObject = GetOperations()->MakeBoolean(aSh1, aSh2, theOp);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePartition
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_IBooleanOperations_i::MakePartition
-                                      (const GEOM::ListOfGO&   theShapes,
-                                      const GEOM::ListOfGO&   theTools,
-                                      const GEOM::ListOfGO&   theKeepIns,
-                                      const GEOM::ListOfGO&   theRemoveIns,
-                                      const CORBA::Short      theLimit,
-                                      const CORBA::Boolean    theRemoveWebs,
-                                      const GEOM::ListOfLong& theMaterials)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  Handle(TColStd_HSequenceOfTransient) aShapes  = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aTools   = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aKeepIns = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HSequenceOfTransient) aRemIns  = new TColStd_HSequenceOfTransient;
-  Handle(TColStd_HArray1OfInteger) aMaterials;
-
-  //Get the shapes
-  aLen = theShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theShapes[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theShapes[ind]->GetStudyID(), theShapes[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes->Append(aSh);
-  }
-
-  //Get the tools
-  aLen = theTools.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theTools[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theTools[ind]->GetStudyID(), theTools[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aTools->Append(aSh);
-  }
-
-  //Get the keep inside shapes
-  aLen = theKeepIns.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theKeepIns[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theKeepIns[ind]->GetStudyID(), theKeepIns[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aKeepIns->Append(aSh);
-  }
-
-  //Get the remove inside shapes
-  aLen = theRemoveIns.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theRemoveIns[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theRemoveIns[ind]->GetStudyID(), theRemoveIns[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aRemIns->Append(aSh);
-  }
-
-  //Get the materials
-  aLen = theMaterials.length();
-  aMaterials = new TColStd_HArray1OfInteger (1, aLen);
-  for (ind = 0; ind < aLen; ind++) {
-    aMaterials->SetValue(ind+1, theMaterials[ind]);
-  }
-
-  // Make Partition
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePartition(aShapes, aTools, aKeepIns, aRemIns,
-                                  theLimit, theRemoveWebs, aMaterials);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeHalfPartition
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_IBooleanOperations_i::MakeHalfPartition
-                                                 (GEOM::GEOM_Object_ptr theShape,
-                                                 GEOM::GEOM_Object_ptr thePlane)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || thePlane == NULL) return aGEOMObject._retn();
-
-  //Get the reference shapes
-  Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aPl = GetOperations()->GetEngine()->GetObject
-    (thePlane->GetStudyID(), thePlane->GetEntry());
-
-  if (aSh.IsNull() || aPl.IsNull()) return aGEOMObject._retn();
-
-  // Make Half Partition
-  Handle(GEOM_Object) anObject = GetOperations()->MakeHalfPartition(aSh, aPl);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
diff --git a/src/GEOM_I/GEOM_IBooleanOperations_i.hh b/src/GEOM_I/GEOM_IBooleanOperations_i.hh
deleted file mode 100644 (file)
index 1a233c2..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-
-#ifndef _GEOM_IBooleanOperations_i_HeaderFile
-#define _GEOM_IBooleanOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IBooleanOperations.hxx"
-
-class GEOM_IBooleanOperations_i : 
-    public virtual POA_GEOM::GEOM_IBooleanOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IBooleanOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_IBooleanOperations* theImpl);
-  ~GEOM_IBooleanOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeBoolean (GEOM::GEOM_Object_ptr theShape1,
-                                    GEOM::GEOM_Object_ptr theShape2,
-                                    CORBA::Long           theOp);
-
-  GEOM::GEOM_Object_ptr MakePartition (const GEOM::ListOfGO&   theShapes,
-                                      const GEOM::ListOfGO&   theTools,
-                                      const GEOM::ListOfGO&   theKeepInside,
-                                      const GEOM::ListOfGO&   theRemoveInside,
-                                      CORBA::Short      theLimit,
-                                      CORBA::Boolean    theRemoveWebs,
-                                      const GEOM::ListOfLong& theMaterials);
-
-
-  GEOM::GEOM_Object_ptr MakeHalfPartition (GEOM::GEOM_Object_ptr theShape,
-                                          GEOM::GEOM_Object_ptr thePlane);
-
-  ::GEOMImpl_IBooleanOperations* GetOperations()
-  { return (::GEOMImpl_IBooleanOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_ICurvesOperations_i.cc b/src/GEOM_I/GEOM_ICurvesOperations_i.cc
deleted file mode 100644 (file)
index 89b9de3..0000000
+++ /dev/null
@@ -1,328 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_ICurvesOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_ICurvesOperations_i::GEOM_ICurvesOperations_i (PortableServer::POA_ptr thePOA,
-                                                   GEOM::GEOM_Gen_ptr theEngine,
-                                                   ::GEOMImpl_ICurvesOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_ICurvesOperations_i::GEOM_ICurvesOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_ICurvesOperations_i::~GEOM_ICurvesOperations_i()
-{
-  MESSAGE("GEOM_ICurvesOperations_i::~GEOM_ICurvesOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeCirclePntVecR
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCirclePntVecR
-                      (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theR)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aPnt.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  // Make Circle
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeCirclePntVecR(aPnt, aVec, theR);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeCircleThreePnt
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCircleThreePnt
-                      (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2,
-                      GEOM::GEOM_Object_ptr thePnt3)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL || thePnt3 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aPnt2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  Handle(GEOM_Object) aPnt3 = GetOperations()->GetEngine()->GetObject
-    (thePnt3->GetStudyID(), thePnt3->GetEntry());
-
-  if (aPnt1.IsNull() || aPnt2.IsNull() || aPnt3.IsNull()) return aGEOMObject._retn();
-
-  // Make Circle
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeCircleThreePnt(aPnt1, aPnt2, aPnt3);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeEllipse
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeEllipse
-                      (GEOM::GEOM_Object_ptr thePnt, GEOM::GEOM_Object_ptr theVec,
-                      CORBA::Double theRMajor, double theRMinor)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt == NULL || theVec == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-    (thePnt->GetStudyID(), thePnt->GetEntry());
-  Handle(GEOM_Object) aVec = GetOperations()->GetEngine()->GetObject
-    (theVec->GetStudyID(), theVec->GetEntry());
-
-  if (aPnt.IsNull() || aVec.IsNull()) return aGEOMObject._retn();
-
-  // Make Ellipse
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeEllipse(aPnt, aVec, theRMajor, theRMinor);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeArc
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeArc
-                                                (GEOM::GEOM_Object_ptr thePnt1,
-                                                GEOM::GEOM_Object_ptr thePnt2,
-                                                GEOM::GEOM_Object_ptr thePnt3)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL || thePnt3 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aPnt2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-  Handle(GEOM_Object) aPnt3 = GetOperations()->GetEngine()->GetObject
-    (thePnt3->GetStudyID(), thePnt3->GetEntry());
-
-  if (aPnt1.IsNull() || aPnt2.IsNull() || aPnt3.IsNull()) return aGEOMObject._retn();
-
-  // Make Arc
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeArc(aPnt1, aPnt2, aPnt3);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakePolyline
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakePolyline
-                                    (const GEOM::ListOfGO& thePoints)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Get the reference point
-  int ind = 0;
-  int aLen = thePoints.length();
-  list<Handle(GEOM_Object)> aPoints;
-  for (; ind < aLen; ind++) {
-    if (thePoints[ind] == NULL) return aGEOMObject._retn();
-
-    Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-      (thePoints[ind]->GetStudyID(), thePoints[ind]->GetEntry());
-
-    if (aPnt.IsNull()) return aGEOMObject._retn();
-    aPoints.push_back(aPnt);
-  }
-
-  // Make Polyline
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakePolyline(aPoints);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSplineBezier
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSplineBezier
-                                              (const GEOM::ListOfGO& thePoints)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Get the reference point
-  int ind = 0;
-  int aLen = thePoints.length();
-  list<Handle(GEOM_Object)> aPoints;
-  for (; ind < aLen; ind++) {
-    if (thePoints[ind] == NULL) return aGEOMObject._retn();
-
-    Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-      (thePoints[ind]->GetStudyID(), thePoints[ind]->GetEntry());
-
-    if (aPnt.IsNull()) return aGEOMObject._retn();
-    aPoints.push_back(aPnt);
-  }
-
-  // Make Bezier curve
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeSplineBezier(aPoints);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSplineInterpolation
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSplineInterpolation
-                                              (const GEOM::ListOfGO& thePoints)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Get the reference point
-  int ind = 0;
-  int aLen = thePoints.length();
-  list<Handle(GEOM_Object)> aPoints;
-  for (; ind < aLen; ind++) {
-    if (thePoints[ind] == NULL) return aGEOMObject._retn();
-
-    Handle(GEOM_Object) aPnt = GetOperations()->GetEngine()->GetObject
-      (thePoints[ind]->GetStudyID(), thePoints[ind]->GetEntry());
-
-    if (aPnt.IsNull()) return aGEOMObject._retn();
-    aPoints.push_back(aPnt);
-  }
-
-  // Make Polyline
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeSplineInterpolation(aPoints);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSketcher
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSketcher
-            (const char* theCommand, const GEOM::ListOfDouble& theWorkingPlane)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind = 0;
-  int aLen = theWorkingPlane.length();
-  list<double> aWorkingPlane;
-  for (; ind < aLen; ind++)
-    aWorkingPlane.push_back(theWorkingPlane[ind]);
-
-  // Make Sketcher
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeSketcher((char*)theCommand, aWorkingPlane);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return GEOM::GEOM_Object::_nil();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  MakeSketcherOnPlane
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSketcherOnPlane
-                (const char* theCommand, GEOM::GEOM_Object_ptr theWorkingPlane)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  Handle(GEOM_Object) aWorkingPlane = GetOperations()->GetEngine()->GetObject
-    (theWorkingPlane->GetStudyID(), theWorkingPlane->GetEntry());
-
-  // Make Sketcher
-  Handle(GEOM_Object) anObject =
-      GetOperations()->MakeSketcherOnPlane((char*)theCommand, aWorkingPlane);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return GEOM::GEOM_Object::_nil();
-
-  return GetObject(anObject);
-}
diff --git a/src/GEOM_I/GEOM_ICurvesOperations_i.hh b/src/GEOM_I/GEOM_ICurvesOperations_i.hh
deleted file mode 100644 (file)
index 28f028d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-
-#ifndef _GEOM_ICurvesOperations_i_HeaderFile
-#define _GEOM_ICurvesOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_ICurvesOperations.hxx"
-
-class GEOM_ICurvesOperations_i : 
-    public virtual POA_GEOM::GEOM_ICurvesOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_ICurvesOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_ICurvesOperations* theImpl);
-  ~GEOM_ICurvesOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeCirclePntVecR (GEOM::GEOM_Object_ptr theCenter,
-                                          GEOM::GEOM_Object_ptr theVector,
-                                          double theR);
-
-  GEOM::GEOM_Object_ptr MakeCircleThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                           GEOM::GEOM_Object_ptr thePnt2,
-                                           GEOM::GEOM_Object_ptr thePnt3);
-
-  GEOM::GEOM_Object_ptr MakeEllipse (GEOM::GEOM_Object_ptr theCenter,
-                                    GEOM::GEOM_Object_ptr theVector,
-                                    double theRMajor, double theRMinor);
-
-  GEOM::GEOM_Object_ptr MakeArc (GEOM::GEOM_Object_ptr thePnt1,
-                                GEOM::GEOM_Object_ptr thePnt2,
-                                GEOM::GEOM_Object_ptr thePnt3);
-
-  GEOM::GEOM_Object_ptr MakePolyline (const GEOM::ListOfGO& thePoints);
-
-  GEOM::GEOM_Object_ptr MakeSplineBezier (const GEOM::ListOfGO& thePoints);
-
-  GEOM::GEOM_Object_ptr MakeSplineInterpolation (const GEOM::ListOfGO& thePoints);
-
-  GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand, const GEOM::ListOfDouble& theWorkingPlane);
-
-  GEOM::GEOM_Object_ptr MakeSketcherOnPlane (const char* theCommand, GEOM::GEOM_Object_ptr theWorkingPlane);
-
-  ::GEOMImpl_ICurvesOperations* GetOperations()
-  { return (::GEOMImpl_ICurvesOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IGroupOperations_i.cc b/src/GEOM_I/GEOM_IGroupOperations_i.cc
deleted file mode 100644 (file)
index 25ca4a6..0000000
+++ /dev/null
@@ -1,311 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IGroupOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TopAbs.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IGroupOperations_i::GEOM_IGroupOperations_i (PortableServer::POA_ptr thePOA,
-                                                 GEOM::GEOM_Gen_ptr theEngine,
-                                                 ::GEOMImpl_IGroupOperations* theImpl)
-     :GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IGroupOperations_i::GEOM_IGroupOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IGroupOperations_i::~GEOM_IGroupOperations_i()
-{
-  MESSAGE("GEOM_IGroupOperations_i::~GEOM_IGroupOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  CreateGroup
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_IGroupOperations_i::CreateGroup(GEOM::GEOM_Object_ptr theMainShape, CORBA::Long theShapeType)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theMainShape == NULL || theShapeType < 0) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject(theMainShape->GetStudyID(), theMainShape->GetEntry());
-
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the Fillet
-  Handle(GEOM_Object) anObject = GetOperations()->CreateGroup(aShapeRef, (TopAbs_ShapeEnum)theShapeType);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  AddObject
- */
-//=============================================================================
-void GEOM_IGroupOperations_i::AddObject(GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject(theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  GetOperations()->AddObject(aGroupRef, theSubShapeId);
-  return;
-}
-
-//=============================================================================
-/*!
- *  RemoveObject
- */
-//============================================================================= 
-void GEOM_IGroupOperations_i::RemoveObject(GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject(theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  GetOperations()->RemoveObject(aGroupRef, theSubShapeId);
-
-  return;
-}
-
-//=============================================================================
-/*!
- *  UnionList
- */
-//=============================================================================
-void GEOM_IGroupOperations_i::UnionList (GEOM::GEOM_Object_ptr theGroup,
-                                        const GEOM::ListOfGO& theSubShapes) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject
-    (theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  //Get sub-shape to add
-  Handle(TColStd_HSequenceOfTransient) aSubShapes = new TColStd_HSequenceOfTransient;
-
-  int ind, aLen = theSubShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theSubShapes[ind] == NULL) return;
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theSubShapes[ind]->GetStudyID(), theSubShapes[ind]->GetEntry());
-    if (aSh.IsNull()) return;
-    aSubShapes->Append(aSh);
-  }
-
-  //Perform the operation
-  GetOperations()->UnionList(aGroupRef, aSubShapes);
-  return;
-}
-
-//=============================================================================
-/*!
- *  DifferenceList
- */
-//=============================================================================
-void GEOM_IGroupOperations_i::DifferenceList (GEOM::GEOM_Object_ptr theGroup,
-                                             const GEOM::ListOfGO& theSubShapes) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject
-    (theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  //Get sub-shape to remove
-  Handle(TColStd_HSequenceOfTransient) aSubShapes = new TColStd_HSequenceOfTransient;
-
-  int ind, aLen = theSubShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theSubShapes[ind] == NULL) return;
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theSubShapes[ind]->GetStudyID(), theSubShapes[ind]->GetEntry());
-    if (aSh.IsNull()) return;
-    aSubShapes->Append(aSh);
-  }
-
-  //Perform the operation
-  GetOperations()->DifferenceList(aGroupRef, aSubShapes);
-  return;
-}
-
-//=============================================================================
-/*!
- *  UnionIDs
- */
-//=============================================================================
-void GEOM_IGroupOperations_i::UnionIDs (GEOM::GEOM_Object_ptr   theGroup,
-                                       const GEOM::ListOfLong& theSubShapes) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject
-    (theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  //Get sub-shape to add
-  Handle(TColStd_HSequenceOfInteger) aSubShapes = new TColStd_HSequenceOfInteger;
-
-  int ind, aLen = theSubShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    aSubShapes->Append(theSubShapes[ind]);
-  }
-
-  //Perform the operation
-  GetOperations()->UnionIDs(aGroupRef, aSubShapes);
-  return;
-}
-
-//=============================================================================
-/*!
- *  DifferenceIDs
- */
-//=============================================================================
-void GEOM_IGroupOperations_i::DifferenceIDs (GEOM::GEOM_Object_ptr   theGroup,
-                                            const GEOM::ListOfLong& theSubShapes) 
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject
-    (theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return;
-
-  //Get sub-shape to remove
-  Handle(TColStd_HSequenceOfInteger) aSubShapes = new TColStd_HSequenceOfInteger;
-
-  int ind, aLen = theSubShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    aSubShapes->Append(theSubShapes[ind]);
-  }
-
-  //Perform the operation
-  GetOperations()->DifferenceIDs(aGroupRef, aSubShapes);
-  return;
-}
-
-//=============================================================================
-/*!
- *  GetType
- */
-//============================================================================= 
-CORBA::Long GEOM_IGroupOperations_i::GetType(GEOM::GEOM_Object_ptr theGroup)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return -1;
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject(theGroup->GetStudyID(), theGroup->GetEntry());
-
-  if (aGroupRef.IsNull()) return -1;
-
-  return GetOperations()->GetType(aGroupRef);
-}
-
-//=============================================================================
-/*!
- *  GetMainShape
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_IGroupOperations_i::GetMainShape(GEOM::GEOM_Object_ptr theGroup)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return aGEOMObject._retn();
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject(theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return aGEOMObject._retn();
-
-  Handle(GEOM_Object) anObject = GetOperations()->GetMainShape(aGroupRef);
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetObjects
- */
-//============================================================================= 
-GEOM::ListOfLong* GEOM_IGroupOperations_i::GetObjects(GEOM::GEOM_Object_ptr theGroup)
-{
-  GEOM::ListOfLong_var aList;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theGroup == NULL) return aList._retn();
-
-  //Get the reference group
-  Handle(GEOM_Object) aGroupRef = GetOperations()->GetEngine()->GetObject(theGroup->GetStudyID(), theGroup->GetEntry());
-  if (aGroupRef.IsNull()) return aList._retn();
-
-  aList = new GEOM::ListOfLong;    
-
-  Handle(TColStd_HArray1OfInteger) aSeq = GetOperations()->GetObjects(aGroupRef);
-  if (!GetOperations()->IsDone() || aSeq.IsNull()) return aList._retn();
-    
-  aList->length(aSeq->Length());
-  for(int i = 1; i<=aSeq->Length(); i++) aList[i-1] = aSeq->Value(i);
-
-  return aList._retn();
-}
-
diff --git a/src/GEOM_I/GEOM_IGroupOperations_i.hh b/src/GEOM_I/GEOM_IGroupOperations_i.hh
deleted file mode 100644 (file)
index e730101..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-
-#ifndef _GEOM_IGroupOperations_i_HeaderFile
-#define _GEOM_IGroupOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IGroupOperations.hxx"
-
-class GEOM_IGroupOperations_i : 
-    public virtual POA_GEOM::GEOM_IGroupOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IGroupOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                          ::GEOMImpl_IGroupOperations* theImpl);
-  ~GEOM_IGroupOperations_i();
-
-  GEOM::GEOM_Object_ptr CreateGroup  (GEOM::GEOM_Object_ptr theMainShape, CORBA::Long theShapeType);
-  void AddObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
-
-  void RemoveObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
-
-  void UnionList (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfGO& theSubShapes);
-
-  void DifferenceList (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfGO& theSubShapes);
-
-  void UnionIDs (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfLong& theSubShapes);
-
-  void DifferenceIDs (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfLong& theSubShapes);
-
-  CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
-  
-  GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);
-
-  GEOM::ListOfLong* GetObjects (GEOM::GEOM_Object_ptr theGroup);
-
-  ::GEOMImpl_IGroupOperations* GetOperations()
-  { return (::GEOMImpl_IGroupOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IHealingOperations_i.cc b/src/GEOM_I/GEOM_IHealingOperations_i.cc
deleted file mode 100644 (file)
index 7060b2a..0000000
+++ /dev/null
@@ -1,437 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include <list>
-
-#include "GEOM_IHealingOperations_i.hh"
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include <TColStd_HSequenceOfTransient.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOM_IHealingOperations_i::GEOM_IHealingOperations_i (PortableServer::POA_ptr thePOA,
-                                                     GEOM::GEOM_Gen_ptr theEngine,
-                                                     ::GEOMImpl_IHealingOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IHealingOperations_i::GEOM_IHealingOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOM_IHealingOperations_i::~GEOM_IHealingOperations_i()
-{
-  MESSAGE("GEOM_IHealingOperations_i::~GEOM_IHealingOperations_i");
-}
-
-//=============================================================================
-/*!
- *  Convert
- */
-//=============================================================================
-Handle(TColStd_HArray1OfInteger) GEOM_IHealingOperations_i::Convert
-                                          (const GEOM::short_array& theInArray)
-{
-  Handle(TColStd_HArray1OfInteger) anOutArray;
-  int n = theInArray.length();
-  if ( n <= 0 )
-    return anOutArray;
-  anOutArray = new TColStd_HArray1OfInteger( 1, n );
-  for (int i = 0; i < n; i++)
-    anOutArray->SetValue( i+1, theInArray[i] );
-  return anOutArray;
-}
-
-//=============================================================================
-/*!
- *  Convert
- */
-//=============================================================================
-Handle(TColStd_HArray1OfExtendedString) GEOM_IHealingOperations_i::Convert
-                                         (const GEOM::string_array& theInArray)
-{
-  Handle(TColStd_HArray1OfExtendedString) anOutArray;
-  int n = theInArray.length();
-  if ( n <= 0 )
-    return anOutArray;
-  anOutArray = new TColStd_HArray1OfExtendedString( 1, n );
-  char* str;
-  for ( int i = 0; i < n; i++ )
-  {
-    str = CORBA::string_dup( theInArray[i] );
-    anOutArray->SetValue( i+1, TCollection_ExtendedString( str ) );
-  }
-  return anOutArray;
-}
-
-//=============================================================================
-/*!
- *  ProcessShape
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::ProcessShape (GEOM::GEOM_Object_ptr theObject,
-                                                              const GEOM::string_array& theOperations,
-                                                              const GEOM::string_array& theParams,
-                                                              const GEOM::string_array& theValues)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) )
-    return aGEOMObject._retn();
-
-  // Check if theOperations has more than 0 elements and theParams and theValues have the same length
-//  if ( theOperations.length() <= 0 || theParams.length() != theValues.length() )
-//    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if ( anObject.IsNull() )
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject = GetOperations()->ShapeProcess( anObject,
-    Convert( theOperations ), Convert( theParams ), Convert( theValues ) );
-  if ( !GetOperations()->IsDone() || aNewObject.IsNull() )
-    return aGEOMObject._retn();
-
-  return GetObject( aNewObject );
-}
-
-//=============================================================================
-/*!
- *  GetShapeProcessParameters
- */
-//=============================================================================
-void GEOM_IHealingOperations_i::GetShapeProcessParameters(GEOM::string_array_out theOperations,
-                                                          GEOM::string_array_out theParams,
-                                                          GEOM::string_array_out theValues)
-{
-  GEOM::string_array_var anOpArray = new GEOM::string_array();
-  GEOM::string_array_var aParArray = new GEOM::string_array();
-  GEOM::string_array_var aValArray = new GEOM::string_array();
-
-  // retrieve the values as stl-lists
-  list<string> operationsList, paramsList, valuesList;
-  GetOperations()->GetShapeProcessParameters( operationsList, paramsList, valuesList );
-  const int opSize = operationsList.size(),
-  parSize = paramsList.size(),
-  valSize = valuesList.size();
-
-  if ( opSize >= 0 && parSize >= 0 && parSize == valSize ) {
-    // allocate the CORBA arrays, sizes == returned lists' sizes
-    anOpArray->length(opSize);
-    aParArray->length(parSize);
-    aValArray->length(valSize);
-
-    // fill the local CORBA arrays with values from lists
-    list<string>::iterator opIt, parIt, valIt;
-    int i = 0;
-    for ( opIt = operationsList.begin(); opIt != operationsList.end(); i++,++opIt )
-      anOpArray[i] = CORBA::string_dup( (*opIt).c_str() );
-
-    for ( i = 0, parIt = paramsList.begin(), valIt = valuesList.begin();
-         parIt != paramsList.end(); i++, ++parIt,++valIt ) {
-      aParArray[i] = CORBA::string_dup( (*parIt).c_str() );
-      aValArray[i] = CORBA::string_dup( (*valIt).c_str() );
-    }
-  }
-
-  // initialize out-parameters with local arrays
-  theOperations = anOpArray._retn();
-  theParams = aParArray._retn();
-  theValues = aValArray._retn();
-}
-
-//=============================================================================
-/*!
- *  GetOperatorParameters
- */
-//=============================================================================
-void GEOM_IHealingOperations_i::GetOperatorParameters (const char* theOperator,  
-                                                      GEOM::string_array_out theParams, 
-                                                      GEOM::string_array_out theValues)
-{
-  GEOM::string_array_var aParArray = new GEOM::string_array();
-  GEOM::string_array_var aValArray = new GEOM::string_array();
-
-  // retrieve the values as stl-lists
-  list<string> paramsList, valuesList;
-  if ( GetOperations()->GetOperatorParameters( theOperator, paramsList, valuesList ) ) {
-    const int parSize = paramsList.size(), valSize = valuesList.size();
-
-    if ( parSize == valSize ) {
-      aParArray->length(parSize);
-      aValArray->length(valSize);
-
-      // fill the local CORBA arrays with values from lists
-      list<string>::iterator parIt, valIt;
-      int i;
-      for ( i = 0, parIt = paramsList.begin(), valIt = valuesList.begin();
-            parIt != paramsList.end(); i++, ++parIt,++valIt ) {
-       aParArray[i] = CORBA::string_dup( (*parIt).c_str() );
-       aValArray[i] = CORBA::string_dup( (*valIt).c_str() );
-      }
-    }
-  }
-
-  // initialize out-parameters with local arrays
-  theParams = aParArray._retn();
-  theValues = aValArray._retn();
-}
-
-//=============================================================================
-/*!
- *  SuppressFaces
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::SuppressFaces (GEOM::GEOM_Object_ptr theObject,
-                                                               const GEOM::short_array& theFaces)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) ) // if theFaces is empty - it's OK, it means that ALL faces must be removed
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->SuppressFaces( anObject, Convert( theFaces ) );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return  GetObject( aNewObject );
-}
-
-//=============================================================================
-/*!
- *  CloseContour
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::CloseContour (GEOM::GEOM_Object_ptr theObject,
-                                                              const GEOM::short_array& theWires,
-                                                              CORBA::Boolean isCommonVertex)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) )
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->CloseContour( anObject, Convert( theWires ), isCommonVertex );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(aNewObject);
-}
-
-//=============================================================================
-/*!
- *  RemoveIntWires
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::RemoveIntWires (GEOM::GEOM_Object_ptr theObject,
-                                                                const GEOM::short_array& theWires)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) ) // if theWires is empty - it's OK, it means that ALL wires should be removed
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->RemoveIntWires( anObject, Convert( theWires ) );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(aNewObject);
-}
-
-//=============================================================================
-/*!
- *  FillHoles
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::FillHoles (GEOM::GEOM_Object_ptr theObject,
-                                                           const GEOM::short_array& theWires)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) ) // if theWires is empty - it's OK, it means that ALL wires should be removed
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->FillHoles( anObject, Convert( theWires ) );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(aNewObject);
-}
-
-//=============================================================================
-/*!
- *  Sew
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::Sew (GEOM::GEOM_Object_ptr theObject,
-                                                     CORBA::Double theTolerance)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) || theTolerance < 0 )
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->Sew( anObject, theTolerance );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(aNewObject);
-}
-
-//=============================================================================
-/*!
- *  DivideEdge
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IHealingOperations_i::DivideEdge (GEOM::GEOM_Object_ptr theObject,
-                                                             CORBA::Short theIndex,
-                                                            CORBA::Double theValue,
-                                                            CORBA::Boolean isByParameter)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  // Check parameters
-  if ( CORBA::is_nil(theObject) || theValue < 0 || theValue > 1 )
-    return aGEOMObject._retn();
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  // Perform
-  Handle(GEOM_Object) aNewObject =
-    GetOperations()->DivideEdge( anObject, theIndex, theValue, isByParameter );
-  if (!GetOperations()->IsDone() || aNewObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(aNewObject);
-}
-
-//=============================================================================
-/*!
- *  GetFreeBoundary
- */
-//=============================================================================
-CORBA::Boolean GEOM_IHealingOperations_i::GetFreeBoundary ( GEOM::GEOM_Object_ptr theObject,
-                                                           GEOM::ListOfGO_out theClosedWires,
-                                                           GEOM::ListOfGO_out theOpenWires )
-{
-  theClosedWires = new GEOM::ListOfGO;
-  theOpenWires = new GEOM::ListOfGO;
-
-  // Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if ( CORBA::is_nil(theObject) )
-       return false;
-
-  // Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull())
-    return false;
-
-  Handle(TColStd_HSequenceOfTransient) aClosed = new TColStd_HSequenceOfTransient();
-  Handle(TColStd_HSequenceOfTransient) anOpen  = new TColStd_HSequenceOfTransient();
-  bool res = GetOperations()->GetFreeBoundary( anObject, aClosed, anOpen );
-
-  if ( !GetOperations()->IsDone() || !res )
-       return false;
-
-  int i, n = aClosed->Length();
-  theClosedWires->length( n );
-  for ( i = 1; i <= n; i++ )
-    (*theClosedWires)[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aClosed->Value(i)));
-
-  n = anOpen->Length();
-  theOpenWires->length( n );
-  for ( i = 1, n = anOpen->Length(); i <= n; i++ )
-    (*theOpenWires)[i-1] = GetObject(Handle(GEOM_Object)::DownCast(anOpen->Value(i)));
-
-  return true;
-}
diff --git a/src/GEOM_I/GEOM_IHealingOperations_i.hh b/src/GEOM_I/GEOM_IHealingOperations_i.hh
deleted file mode 100644 (file)
index bf5d8eb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-
-#ifndef _GEOM_IHealingOperations_i_HeaderFile
-#define _GEOM_IHealingOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IHealingOperations.hxx"
-
-#include <TColStd_HArray1OfExtendedString.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-class GEOM_IHealingOperations_i : 
-    public virtual POA_GEOM::GEOM_IHealingOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-   GEOM_IHealingOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOMImpl_IHealingOperations* theImpl);
-   ~GEOM_IHealingOperations_i();
-  
-   GEOM::GEOM_Object_ptr ProcessShape(GEOM::GEOM_Object_ptr theObject, const GEOM::string_array& theOperations, const GEOM::string_array& theParams, const GEOM::string_array& theValues);
-
-   void GetShapeProcessParameters(GEOM::string_array_out theOperations, GEOM::string_array_out theParams, GEOM::string_array_out theValues);
-
-   void GetOperatorParameters (const char* theOperator,  GEOM::string_array_out theParams, GEOM::string_array_out theValues);
-
-   GEOM::GEOM_Object_ptr SuppressFaces(GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theFaces);
-
-   GEOM::GEOM_Object_ptr CloseContour (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires, CORBA::Boolean isCommonVertex);
-
-   GEOM::GEOM_Object_ptr RemoveIntWires (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires);
-   
-   GEOM::GEOM_Object_ptr FillHoles (GEOM::GEOM_Object_ptr theObject, const GEOM::short_array& theWires);
-
-   GEOM::GEOM_Object_ptr Sew (GEOM::GEOM_Object_ptr theObject, CORBA::Double theTolerance);
-
-   GEOM::GEOM_Object_ptr DivideEdge (GEOM::GEOM_Object_ptr theObject, CORBA::Short theIndex, CORBA::Double theValue, CORBA::Boolean isByParameter);        
-
-   CORBA::Boolean GetFreeBoundary(GEOM::GEOM_Object_ptr theObject, GEOM::ListOfGO_out theClosedWires, GEOM::ListOfGO_out theOpenWires );
-   
-   ::GEOMImpl_IHealingOperations* GetOperations() { return (::GEOMImpl_IHealingOperations*)GetImpl(); }
-
-private:
-        Handle(TColStd_HArray1OfExtendedString) Convert( const GEOM::string_array& );
-        Handle(TColStd_HArray1OfInteger)        Convert( const GEOM::short_array& );
-
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IInsertOperations_i.cc b/src/GEOM_I/GEOM_IInsertOperations_i.cc
deleted file mode 100644 (file)
index 1a525dc..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IInsertOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HSequenceOfAsciiString.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IInsertOperations_i::GEOM_IInsertOperations_i (PortableServer::POA_ptr thePOA,
-                                                   GEOM::GEOM_Gen_ptr theEngine,
-                                                   ::GEOMImpl_IInsertOperations* theImpl)
-     :GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IInsertOperations_i::GEOM_IInsertOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IInsertOperations_i::~GEOM_IInsertOperations_i()
-{
-  MESSAGE("GEOM_IInsertOperations_i::~GEOM_IInsertOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeCopy
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IInsertOperations_i::MakeCopy(GEOM::GEOM_Object_ptr theOriginal)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theOriginal == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) anOriginal =
-    GetOperations()->GetEngine()->GetObject(theOriginal->GetStudyID(),
-                                           theOriginal->GetEntry());
-
-  if (anOriginal.IsNull()) return aGEOMObject._retn();
-
-  //Create the copy
-  Handle(GEOM_Object) anObject = GetOperations()->MakeCopy(anOriginal);
-
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  Export
- */
-//=============================================================================
-void GEOM_IInsertOperations_i::Export
-                   (GEOM::GEOM_Object_ptr theOriginal,
-                   const char*           theFileName,
-                   const char*           theFormatName)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theOriginal);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theOriginal == NULL) return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) anOriginal =
-    GetOperations()->GetEngine()->GetObject(theOriginal->GetStudyID(),
-                                           theOriginal->GetEntry());
-
-  if (anOriginal.IsNull()) return;
-
-  //Export the shape to the file
-  char* aFileName   = strdup(theFileName);
-  char* aFormatName = strdup(theFormatName);
-  GetOperations()->Export(anOriginal, aFileName, aFormatName);
-  free(aFileName);
-  free(aFormatName);
-
-  return;
-}
-
-//=============================================================================
-/*!
- *  Import
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IInsertOperations_i::Import
-                   (const char* theFileName,
-                   const char* theFormatName)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  //Import the shape from the file
-  char* aFileName   = strdup(theFileName);
-  char* aFormatName = strdup(theFormatName);
-  Handle(GEOM_Object) anObject = GetOperations()->Import(aFileName, aFormatName);
-  free(aFileName);
-  free(aFormatName);
-
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  ImportTranslators
- */
-//=============================================================================
-void GEOM_IInsertOperations_i::ImportTranslators
-  (GEOM::string_array_out theFormats, GEOM::string_array_out thePatterns)
-{
-  // Get sequences of available formats
-  Handle(TColStd_HSequenceOfAsciiString) aFormats  = new TColStd_HSequenceOfAsciiString;
-  Handle(TColStd_HSequenceOfAsciiString) aPatterns = new TColStd_HSequenceOfAsciiString;
-  if (!GetOperations()->ImportTranslators(aFormats, aPatterns) ||
-      aFormats->Length() != aPatterns->Length())
-  {
-    aFormats->Clear(); aPatterns->Clear();
-  }
-
-  const int formSize = aFormats->Length(), pattSize = aPatterns->Length();
-
-  // allocate the CORBA arrays
-  GEOM::string_array_var aFormatsArray  = new GEOM::string_array();
-  GEOM::string_array_var aPatternsArray = new GEOM::string_array();
-  aFormatsArray->length(formSize);
-  aPatternsArray->length(formSize);
-
-  // fill the local CORBA arrays with values from sequences
-  CORBA::Long i = 1;
-  for (; i <= formSize; i++) {
-    aFormatsArray[i-1]  = CORBA::string_dup(aFormats->Value(i).ToCString());
-    aPatternsArray[i-1] = CORBA::string_dup(aPatterns->Value(i).ToCString());
-  }
-
-  // initialize out-parameters with local arrays
-  theFormats = aFormatsArray._retn();
-  thePatterns = aPatternsArray._retn();
-}
-
-//=============================================================================
-/*!
- *  ExportTranslators
- */
-//=============================================================================
-void GEOM_IInsertOperations_i::ExportTranslators
-  (GEOM::string_array_out theFormats, GEOM::string_array_out thePatterns)
-{
-  // Get sequences of available formats
-  Handle(TColStd_HSequenceOfAsciiString) aFormats  = new TColStd_HSequenceOfAsciiString;
-  Handle(TColStd_HSequenceOfAsciiString) aPatterns = new TColStd_HSequenceOfAsciiString;
-  if (!GetOperations()->ExportTranslators(aFormats, aPatterns)) return;
-
-  const int formSize = aFormats->Length(), pattSize = aPatterns->Length();
-  if (formSize != pattSize) return;
-
-  // allocate the CORBA arrays
-  GEOM::string_array_var aFormatsArray  = new GEOM::string_array();
-  GEOM::string_array_var aPatternsArray = new GEOM::string_array();
-  aFormatsArray->length(formSize);
-  aPatternsArray->length(formSize);
-
-  // fill the local CORBA arrays with values from sequences
-  CORBA::Long i = 1;
-  for (; i <= formSize; i++) {
-    aFormatsArray[i-1]  = CORBA::string_dup(aFormats->Value(i).ToCString());
-    aPatternsArray[i-1] = CORBA::string_dup(aPatterns->Value(i).ToCString());
-  }
-
-  // initialize out-parameters with local arrays
-  theFormats = aFormatsArray._retn();
-  thePatterns = aPatternsArray._retn();
-}
diff --git a/src/GEOM_I/GEOM_IInsertOperations_i.hh b/src/GEOM_I/GEOM_IInsertOperations_i.hh
deleted file mode 100644 (file)
index d4822ce..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-
-#ifndef _GEOM_IInsertOperations_i_HeaderFile
-#define _GEOM_IInsertOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IInsertOperations.hxx"
-
-class GEOM_IInsertOperations_i : 
-    public virtual POA_GEOM::GEOM_IInsertOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IInsertOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                          ::GEOMImpl_IInsertOperations* theImpl);
-  ~GEOM_IInsertOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeCopy (GEOM::GEOM_Object_ptr theOriginal);
-
-  void                  Export (GEOM::GEOM_Object_ptr theOriginal,
-                               const char*           theFileName,
-                               const char*           theFormatName);
-
-  GEOM::GEOM_Object_ptr Import (const char* theFileName,
-                               const char* theFormatName);
-
-  void ImportTranslators (GEOM::string_array_out theFormats,
-                         GEOM::string_array_out thePatterns);
-
-  void ExportTranslators (GEOM::string_array_out theFormats,
-                         GEOM::string_array_out thePatterns);
-
-  ::GEOMImpl_IInsertOperations* GetOperations()
-  { return (::GEOMImpl_IInsertOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_ILocalOperations_i.cc b/src/GEOM_I/GEOM_ILocalOperations_i.cc
deleted file mode 100644 (file)
index 64737cb..0000000
+++ /dev/null
@@ -1,275 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_ILocalOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_ILocalOperations_i::GEOM_ILocalOperations_i (PortableServer::POA_ptr thePOA,
-                                                 GEOM::GEOM_Gen_ptr theEngine,
-                                                 ::GEOMImpl_ILocalOperations* theImpl)
-     :GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_ILocalOperations_i::GEOM_ILocalOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_ILocalOperations_i::~GEOM_ILocalOperations_i()
-{
-  MESSAGE("GEOM_ILocalOperations_i::~GEOM_ILocalOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeFilletAll
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletAll
-                      (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the Fillet
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeFilletAll(aShapeRef, theR);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeFilletEdges
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletEdges
-                      (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                      const GEOM::ListOfLong& theEdges)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Get the reference edges
-  int ind = 0;
-  int aLen = theEdges.length();
-  list<int> anEdges;
-  for (; ind < aLen; ind++) {
-    anEdges.push_back(theEdges[ind]);
-  }
-
-  //Create the Fillet
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeFilletEdges(aShapeRef, theR, anEdges);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeFilletFaces
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletFaces
-                      (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                      const GEOM::ListOfLong& theFaces)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Get the reference faces
-  int ind = 0;
-  int aLen = theFaces.length();
-  list<int> aFaces;
-  for (; ind < aLen; ind++) {
-    aFaces.push_back(theFaces[ind]);
-  }
-
-  //Create the Fillet
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeFilletFaces(aShapeRef, theR, aFaces);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeChamferAll
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferAll
-                      (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the Chamfer
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeChamferAll(aShapeRef, theD);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeChamferEdge
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferEdge
-                      (GEOM::GEOM_Object_ptr theShape,
-                      CORBA::Double theD1, CORBA::Double theD2,
-                      CORBA::Long theFace1, CORBA::Long theFace2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the Chamfer
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeChamferEdge(aShapeRef, theD1, theD2, theFace1, theFace2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeChamferFaces
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferFaces
-                      (GEOM::GEOM_Object_ptr theShape,
-                      CORBA::Double theD1, CORBA::Double theD2,
-                      const GEOM::ListOfLong& theFaces)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Get the reference faces
-  int ind = 0;
-  int aLen = theFaces.length();
-  list<int> aFaces;
-  for (; ind < aLen; ind++) {
-    aFaces.push_back(theFaces[ind]);
-  }
-
-  //Create the Chamfer
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeChamferFaces(aShapeRef, theD1, theD2, aFaces);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeArchimede
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeArchimede (GEOM::GEOM_Object_ptr theShape,
-                                                             CORBA::Double theWeight,
-                                                             CORBA::Double theWaterDensity,
-                                                             CORBA::Double theMeshingDeflection)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  if (aShapeRef.IsNull()) return aGEOMObject._retn();
-
-  //Create the Archimede
-  Handle(GEOM_Object) anObject = GetOperations()->MakeArchimede
-    (aShapeRef, theWeight, theWaterDensity, theMeshingDeflection);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetSubShapeIndex
- */
-//=============================================================================
-CORBA::Long GEOM_ILocalOperations_i::GetSubShapeIndex
-  (GEOM::GEOM_Object_ptr theShape, GEOM::GEOM_Object_ptr theSubShape)
-{
-  if (theShape == NULL || theSubShape == NULL) return -1;
-
-  //Get the reference shapes
-  Handle(GEOM_Object) aShapeRef = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aSubShapeRef = GetOperations()->GetEngine()->GetObject
-    (theSubShape->GetStudyID(), theSubShape->GetEntry());
-  if (aShapeRef.IsNull() || aSubShapeRef.IsNull()) return -1;
-
-  //Get the unique ID of <theSubShape> inside <theShape>
-  CORBA::Long anID = GetOperations()->GetSubShapeIndex(aShapeRef, aSubShapeRef);
-  if (!GetOperations()->IsDone())
-    return -1;
-
-  return anID;
-}
diff --git a/src/GEOM_I/GEOM_ILocalOperations_i.hh b/src/GEOM_I/GEOM_ILocalOperations_i.hh
deleted file mode 100644 (file)
index 50e37fd..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-#ifndef _GEOM_ILocalOperations_i_HeaderFile
-#define _GEOM_ILocalOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_ILocalOperations.hxx"
-
-class GEOM_ILocalOperations_i : 
-    public virtual POA_GEOM::GEOM_ILocalOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_ILocalOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                          ::GEOMImpl_ILocalOperations* theImpl);
-  ~GEOM_ILocalOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeFilletAll   (GEOM::GEOM_Object_ptr theShape,
-                                        CORBA::Double theR);
-  GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                                        const GEOM::ListOfLong& theEdges);
-  GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                                        const GEOM::ListOfLong& theFaces);
-
-  GEOM::GEOM_Object_ptr MakeChamferAll   (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
-  GEOM::GEOM_Object_ptr MakeChamferEdge  (GEOM::GEOM_Object_ptr theShape,
-                                         CORBA::Double theD1, CORBA::Double theD2,
-                                         CORBA::Long theFace1, CORBA::Long theFace2);
-  GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
-                                         CORBA::Double theD1, CORBA::Double theD2,
-                                         const GEOM::ListOfLong& theFaces);
-
-  GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
-                                       CORBA::Double theWeight,
-                                      CORBA::Double theWaterDensity,
-                                      CORBA::Double theMeshingDeflection);
-
-  CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
-                               GEOM::GEOM_Object_ptr theSubShape);
-
-  ::GEOMImpl_ILocalOperations* GetOperations()
-  { return (::GEOMImpl_ILocalOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IMeasureOperations_i.cc b/src/GEOM_I/GEOM_IMeasureOperations_i.cc
deleted file mode 100644 (file)
index a76cf17..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IMeasureOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IMeasureOperations_i::GEOM_IMeasureOperations_i (PortableServer::POA_ptr thePOA,
-                                                   GEOM::GEOM_Gen_ptr theEngine,
-                                                   ::GEOMImpl_IMeasureOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IMeasureOperations_i::GEOM_IMeasureOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IMeasureOperations_i::~GEOM_IMeasureOperations_i()
-{
-  MESSAGE("GEOM_IMeasureOperations_i::~GEOM_IMeasureOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  GetCentreOfMass
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::GetCentreOfMass
-                                              (GEOM::GEOM_Object_ptr theShape)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  // Make Point - centre of mass of theShape
-  Handle(GEOM_Object) anObject = GetOperations()->GetCentreOfMass(aShape);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetBasicProperties
- */
-//=============================================================================
-void GEOM_IMeasureOperations_i::GetBasicProperties (GEOM::GEOM_Object_ptr theShape,
-                                                   CORBA::Double& theLength,
-                                                   CORBA::Double& theSurfArea,
-                                                   CORBA::Double& theVolume)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return;
-
-  // Get shape parameters
-  GetOperations()->GetBasicProperties(aShape, theLength, theSurfArea, theVolume);
-}
-
-//=============================================================================
-/*!
- *  GetInertia
- */
-//=============================================================================
-void GEOM_IMeasureOperations_i::GetInertia
-  (GEOM::GEOM_Object_ptr theShape,
-   CORBA::Double& I11, CORBA::Double& I12, CORBA::Double& I13,
-   CORBA::Double& I21, CORBA::Double& I22, CORBA::Double& I23,
-   CORBA::Double& I31, CORBA::Double& I32, CORBA::Double& I33,
-   CORBA::Double& Ix , CORBA::Double& Iy , CORBA::Double& Iz)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return;
-
-  // Get shape parameters
-  GetOperations()->GetInertia(aShape,
-                             I11, I12, I13,
-                             I21, I22, I23,
-                             I31, I32, I33,
-                             Ix , Iy , Iz);
-}
-
-//=============================================================================
-/*!
- *  GetBoundingBox
- */
-//=============================================================================
-void GEOM_IMeasureOperations_i::GetBoundingBox (GEOM::GEOM_Object_ptr theShape,
-                                               CORBA::Double& Xmin, CORBA::Double& Xmax,
-                                               CORBA::Double& Ymin, CORBA::Double& Ymax,
-                                               CORBA::Double& Zmin, CORBA::Double& Zmax)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return;
-
-  // Get shape parameters
-  GetOperations()->GetBoundingBox(aShape, Xmin, Xmax, Ymin, Ymax, Zmin, Zmax);
-}
-
-//=============================================================================
-/*!
- *  GetTolerance
- */
-//=============================================================================
-void GEOM_IMeasureOperations_i::GetTolerance
-                                (GEOM::GEOM_Object_ptr theShape,
-                                CORBA::Double& FaceMin, CORBA::Double& FaceMax,
-                                CORBA::Double& EdgeMin, CORBA::Double& EdgeMax,
-                                CORBA::Double& VertMin, CORBA::Double& VertMax)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return;
-
-  // Get shape parameters
-  GetOperations()->GetTolerance(aShape,
-                               FaceMin, FaceMax,
-                               EdgeMin, EdgeMax,
-                               VertMin, VertMax);
-}
-
-//=============================================================================
-/*!
- *  CheckShape
- */
-//=============================================================================
-CORBA::Boolean GEOM_IMeasureOperations_i::CheckShape (GEOM::GEOM_Object_ptr theShape,
-                                                     CORBA::String_out     theDescription)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) 
-  {
-    theDescription = CORBA::string_dup("null");
-    return 0;
-  }
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull())
-  {
-    theDescription = CORBA::string_dup("null2");
-    return 0;
-  }
-
-  // Get shape parameters
-  TCollection_AsciiString aDump;
-  if (GetOperations()->CheckShape(aShape, aDump))
-  {
-    theDescription = CORBA::string_dup("OK");
-    return 1;
-  }
-  theDescription = CORBA::string_dup(aDump.ToCString());
-  return 0;
-}
-
-//=============================================================================
-/*!
- *  WhatIs
- */
-//=============================================================================
-char* GEOM_IMeasureOperations_i::WhatIs (GEOM::GEOM_Object_ptr theShape)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return NULL;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return NULL;
-
-  // Get shape parameters
-  TCollection_AsciiString aDescription = GetOperations()->WhatIs(aShape);
-  return strdup(aDescription.ToCString());
-}
-
-//=============================================================================
-/*!
- *  GetMinDistance
- */
-//=============================================================================
-CORBA::Double GEOM_IMeasureOperations_i::GetMinDistance
-  (GEOM::GEOM_Object_ptr theShape1, GEOM::GEOM_Object_ptr theShape2,
-   CORBA::Double& X1, CORBA::Double& Y1, CORBA::Double& Z1,
-   CORBA::Double& X2, CORBA::Double& Y2, CORBA::Double& Z2)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape1 == NULL || theShape2 == NULL) return -1.0;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape1 = GetOperations()->GetEngine()->GetObject
-    (theShape1->GetStudyID(), theShape1->GetEntry());
-  Handle(GEOM_Object) aShape2 = GetOperations()->GetEngine()->GetObject
-    (theShape2->GetStudyID(), theShape2->GetEntry());
-
-  if (aShape1.IsNull() || aShape2.IsNull()) return -1.0;
-
-  // Get shape parameters
-  return GetOperations()->GetMinDistance(aShape1, aShape2, X1, Y1, Z1, X2, Y2, Z2);
-}
-
-//=============================================================================
-/*!
- *  PointCoordinates
- */
-//=============================================================================
-void GEOM_IMeasureOperations_i::PointCoordinates(
-  GEOM::GEOM_Object_ptr theShape, CORBA::Double& X, CORBA::Double& Y, CORBA::Double& Z )
-
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if ( theShape->_is_nil() )
-    return;
-
-  //Get the reference shape
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject(
-    theShape->GetStudyID(), theShape->GetEntry() );
-
-  if ( aShape.IsNull() )
-    return;
-
-  // Get shape parameters
-  GetOperations()->PointCoordinates( aShape, X, Y, Z );
-}
diff --git a/src/GEOM_I/GEOM_IMeasureOperations_i.hh b/src/GEOM_I/GEOM_IMeasureOperations_i.hh
deleted file mode 100644 (file)
index 6e26f87..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-
-#ifndef _GEOM_IMeasureOperations_i_HeaderFile
-#define _GEOM_IMeasureOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IMeasureOperations.hxx"
-
-class GEOM_IMeasureOperations_i :
-    public virtual POA_GEOM::GEOM_IMeasureOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IMeasureOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                           ::GEOMImpl_IMeasureOperations* theImpl);
-  ~GEOM_IMeasureOperations_i();
-
-  void GetBasicProperties (GEOM::GEOM_Object_ptr theShape,
-                          CORBA::Double& theLength,
-                          CORBA::Double& theSurfArea,
-                          CORBA::Double& theVolume);
-
-  GEOM::GEOM_Object_ptr GetCentreOfMass (GEOM::GEOM_Object_ptr theShape);
-
-  void GetInertia (GEOM::GEOM_Object_ptr theShape,
-                  CORBA::Double& I11, CORBA::Double& I12, CORBA::Double& I13,
-                  CORBA::Double& I21, CORBA::Double& I22, CORBA::Double& I23,
-                  CORBA::Double& I31, CORBA::Double& I32, CORBA::Double& I33,
-                  CORBA::Double& Ix , CORBA::Double& Iy , CORBA::Double& Iz);
-
-  void GetBoundingBox (GEOM::GEOM_Object_ptr theShape,
-                      CORBA::Double& Xmin, CORBA::Double& Xmax,
-                      CORBA::Double& Ymin, CORBA::Double& Ymax,
-                      CORBA::Double& Zmin, CORBA::Double& Zmax);
-
-  void GetTolerance (GEOM::GEOM_Object_ptr theShape,
-                    CORBA::Double& FaceMin, CORBA::Double& FaceMax,
-                    CORBA::Double& EdgeMin, CORBA::Double& EdgeMax,
-                    CORBA::Double& VertMin, CORBA::Double& VertMax);
-
-  CORBA::Boolean CheckShape (GEOM::GEOM_Object_ptr theShape,
-                            CORBA::String_out     theDescription);
-
-  char* WhatIs (GEOM::GEOM_Object_ptr theShape);
-
-  CORBA::Double GetMinDistance (GEOM::GEOM_Object_ptr theShape1,
-                               GEOM::GEOM_Object_ptr theShape2,
-                                CORBA::Double& X1, CORBA::Double& Y1, CORBA::Double& Z1,
-                                CORBA::Double& X2, CORBA::Double& Y2, CORBA::Double& Z2);
-
-
-  void PointCoordinates( GEOM::GEOM_Object_ptr theShape,
-    CORBA::Double& X, CORBA::Double& Y, CORBA::Double& Z );
-
-  ::GEOMImpl_IMeasureOperations* GetOperations()
-  { return (::GEOMImpl_IMeasureOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IOperations_i.cc b/src/GEOM_I/GEOM_IOperations_i.cc
deleted file mode 100644 (file)
index 1c2b53b..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-
-//#include "GEOM_Gen_i.hh"
-
-#include <TCollection_AsciiString.hxx>
-#include <TDF_Tool.hxx>
-
-//=============================================================================
-/*!
- *  default constructor:
- */
-//=============================================================================
-
-GEOM_IOperations_i::GEOM_IOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations* theImpl)
-#ifndef WNT
-:SALOME::GenericObj_i( thePOA ), _impl(theImpl), _engine(theEngine)
-#endif
-{
-  thePOA->activate_object(this);
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOM_IOperations_i::~GEOM_IOperations_i()
-{}
-
-
-//=============================================================================
-/*!  
- *  IsDone
- */
-//============================================================================= 
-CORBA::Boolean GEOM_IOperations_i::IsDone()
-{
-  return _impl->IsDone();
-}  
-
-
-//=============================================================================
-/*!    
- *  SetErrorCode
- */
-//============================================================================= 
-void GEOM_IOperations_i::SetErrorCode(const char* theErrorCode)
-{
-  _impl->SetErrorCode((char*)theErrorCode);
-}
-//=============================================================================
-/*!
- *  GetErrorCode
- */
-//============================================================================= 
-char* GEOM_IOperations_i::GetErrorCode() 
-{
-  return _impl->GetErrorCode();    
-}
-   
-//=============================================================================
-/*!
- *  GetStudyID
- */
-//============================================================================= 
-CORBA::Long GEOM_IOperations_i::GetStudyID() 
-{
-  return _impl->GetDocID();    
-}
-   
-//=============================================================================
-/*!
- *  StartOperation
- */
-//=============================================================================
-void GEOM_IOperations_i::StartOperation()
-{
-  _impl->StartOperation();
-}
-
-//=============================================================================
-/*!
- *  FinishOperation
- */
-//=============================================================================
-void GEOM_IOperations_i::FinishOperation()
-{
-  _impl->FinishOperation();
-}
-
-
-//=============================================================================
-/*!
- *  AboutOperation
- */
-//=============================================================================
-void GEOM_IOperations_i::AbortOperation()
-{
-  _impl->AbortOperation();
-}
-
-//=============================================================================
-/*!
- *  GetObject
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IOperations_i::GetObject(Handle(GEOM_Object) theObject)         
-{
-  if(theObject.IsNull()) return NULL;
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(theObject->GetEntry(), anEntry);
-  GEOM::GEOM_Object_var GO = GEOM::GEOM_Object::_duplicate(_engine->GetObject(theObject->GetDocID(), anEntry.ToCString()));
-  return GO._retn();
-}  
-
diff --git a/src/GEOM_I/GEOM_IOperations_i.hh b/src/GEOM_I/GEOM_IOperations_i.hh
deleted file mode 100644 (file)
index b881fcb..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#ifndef _GEOM_IOperations_i_HeaderFile
-#define _GEOM_IOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "SALOME_GenericObj_i.hh" 
-#include "GEOM_IOperations.hxx"
-#include "GEOM_Object_i.hh" 
-#include "GEOM_Object.hxx"
-
-class GEOM_IOperations_i : public virtual POA_GEOM::GEOM_IOperations, public virtual SALOME::GenericObj_i
-{
- public:
-  GEOM_IOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations* theImpl);
-  ~GEOM_IOperations_i();
-  
-  virtual CORBA::Boolean IsDone();
-  
-  virtual void SetErrorCode(const  char* theErrorCode);
-  
-  virtual char* GetErrorCode();
-
-  virtual CORBA::Long GetStudyID();    
-
-  virtual GEOM::GEOM_Object_ptr GetObject(Handle(GEOM_Object) theObject);
-
-  virtual void StartOperation();
-
-  virtual void FinishOperation();
-
-  virtual void AbortOperation();
-
-
-   ::GEOM_IOperations* GetImpl() { return _impl; }
-
- private:
-  ::GEOM_IOperations* _impl;
-  GEOM::GEOM_Gen_ptr _engine;     
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_IShapesOperations_i.cc b/src/GEOM_I/GEOM_IShapesOperations_i.cc
deleted file mode 100644 (file)
index db44959..0000000
+++ /dev/null
@@ -1,857 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_IShapesOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#include <TColStd_HSequenceOfTransient.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-GEOM_IShapesOperations_i::GEOM_IShapesOperations_i (PortableServer::POA_ptr thePOA,
-                                                   GEOM::GEOM_Gen_ptr theEngine,
-                                                   ::GEOMImpl_IShapesOperations* theImpl)
-:GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_IShapesOperations_i::GEOM_IShapesOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-GEOM_IShapesOperations_i::~GEOM_IShapesOperations_i()
-{
-  MESSAGE("GEOM_IShapesOperations_i::~GEOM_IShapesOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  MakeEdge
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeEdge
-                      (GEOM::GEOM_Object_ptr thePnt1, GEOM::GEOM_Object_ptr thePnt2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePnt1 == NULL || thePnt2 == NULL) return aGEOMObject._retn();
-
-  //Get the reference points
-  Handle(GEOM_Object) aPnt1 = GetOperations()->GetEngine()->GetObject
-    (thePnt1->GetStudyID(), thePnt1->GetEntry());
-  Handle(GEOM_Object) aPnt2 = GetOperations()->GetEngine()->GetObject
-    (thePnt2->GetStudyID(), thePnt2->GetEntry());
-
-  if (aPnt1.IsNull() || aPnt2.IsNull()) return aGEOMObject._retn();
-
-  //Create the Edge
-  Handle(GEOM_Object) anObject = GetOperations()->MakeEdge(aPnt1, aPnt2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeWire
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeWire
-                                      (const GEOM::ListOfGO& theEdgesAndWires)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  list<Handle(GEOM_Object)> aShapes;
-
-  //Get the shapes
-  aLen = theEdgesAndWires.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theEdgesAndWires[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theEdgesAndWires[ind]->GetStudyID(), theEdgesAndWires[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes.push_back(aSh);
-  }
-
-  // Make Solid
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeWire(aShapes);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeFace
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeFace
-                      (GEOM::GEOM_Object_ptr theWire,
-                      const CORBA::Boolean  isPlanarWanted)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theWire == NULL) return aGEOMObject._retn();
-
-  //Get the reference wire
-  Handle(GEOM_Object) aWire = GetOperations()->GetEngine()->GetObject
-    (theWire->GetStudyID(), theWire->GetEntry());
-
-  if (aWire.IsNull()) return aGEOMObject._retn();
-
-  //Create the Face
-  Handle(GEOM_Object) anObject = GetOperations()->MakeFace(aWire, isPlanarWanted);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeFaceWires
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeFaceWires
-                                         (const GEOM::ListOfGO& theWires,
-                                         const CORBA::Boolean  isPlanarWanted)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  list<Handle(GEOM_Object)> aShapes;
-
-  //Get the shapes
-  aLen = theWires.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theWires[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theWires[ind]->GetStudyID(), theWires[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes.push_back(aSh);
-  }
-
-  // Make Face
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeFaceWires(aShapes, isPlanarWanted);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeShell
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeShell
-                                      (const GEOM::ListOfGO& theFacesAndShells)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  list<Handle(GEOM_Object)> aShapes;
-
-  //Get the shapes
-  aLen = theFacesAndShells.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theFacesAndShells[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theFacesAndShells[ind]->GetStudyID(), theFacesAndShells[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes.push_back(aSh);
-  }
-
-  // Make Solid
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeShell(aShapes);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSolidShell
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeSolidShell
-                                                (GEOM::GEOM_Object_ptr theShell)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShell == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShell = GetOperations()->GetEngine()->GetObject
-    (theShell->GetStudyID(), theShell->GetEntry());
-
-  if (aShell.IsNull()) return aGEOMObject._retn();
-
-  //Create the Solid
-  Handle(GEOM_Object) anObject = GetOperations()->MakeSolidShell(aShell);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeSolidShells
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeSolidShells
-                                      (const GEOM::ListOfGO& theShells)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  list<Handle(GEOM_Object)> aShapes;
-
-  //Get the shapes
-  aLen = theShells.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theShells[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theShells[ind]->GetStudyID(), theShells[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes.push_back(aSh);
-  }
-
-  // Make Solid
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeSolidShells(aShapes);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeCompound
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeCompound
-                                      (const GEOM::ListOfGO& theShapes)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  int ind, aLen;
-  list<Handle(GEOM_Object)> aShapes;
-
-  //Get the shapes
-  aLen = theShapes.length();
-  for (ind = 0; ind < aLen; ind++) {
-    if (theShapes[ind] == NULL) return aGEOMObject._retn();
-    Handle(GEOM_Object) aSh = GetOperations()->GetEngine()->GetObject
-      (theShapes[ind]->GetStudyID(), theShapes[ind]->GetEntry());
-    if (aSh.IsNull()) return aGEOMObject._retn();
-    aShapes.push_back(aSh);
-  }
-
-  // Make Solid
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeCompound(aShapes);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeGlueFaces
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeGlueFaces
-                                           (GEOM::GEOM_Object_ptr theShape,
-                                           const CORBA::Double   theTolerance)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  //Perform the gluing
-  Handle(GEOM_Object) anObject =
-    GetOperations()->MakeGlueFaces(aShape, theTolerance);
-  //if (!GetOperations()->IsDone() || anObject.IsNull())
-  // to allow warning
-  if (anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MakeExplode
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IShapesOperations_i::MakeExplode (GEOM::GEOM_Object_ptr theShape,
-                                                      const CORBA::Long     theShapeType,
-                                                      const CORBA::Boolean  isSorted)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-  if (theShape == NULL) return aSeq._retn();
-
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->MakeExplode(aShape, theShapeType, isSorted);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  SubShapeAllIDs
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_IShapesOperations_i::SubShapeAllIDs (GEOM::GEOM_Object_ptr theShape,
-                                                           const CORBA::Long     theShapeType,
-                                                           const CORBA::Boolean  isSorted)
-{
-  GEOM::ListOfLong_var aSeq = new GEOM::ListOfLong;
-  if (theShape == NULL) return aSeq._retn();
-
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  Handle(TColStd_HSequenceOfInteger) aHSeq =
-    GetOperations()->SubShapeAllIDs(aShape, theShapeType, isSorted);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull()) return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = aHSeq->Value(i);
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetSubShape
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::GetSubShape
-                                           (GEOM::GEOM_Object_ptr theMainShape,
-                                           const CORBA::Long     theID)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theMainShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theMainShape->GetStudyID(), theMainShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  Handle(GEOM_Object) anObject = GetOperations()->GetSubShape(aShape, theID);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  NumberOfFaces
- */
-//=============================================================================
-CORBA::Long GEOM_IShapesOperations_i::NumberOfFaces (GEOM::GEOM_Object_ptr theShape)
-{
-  if (theShape == NULL) return -1;
-
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  CORBA::Long aNb = GetOperations()->NumberOfFaces(aShape);
-  if (!GetOperations()->IsDone()) return -1;
-
-  return aNb;
-}
-
-//=============================================================================
-/*!
- *  NumberOfEdges
- */
-//=============================================================================
-CORBA::Long GEOM_IShapesOperations_i::NumberOfEdges (GEOM::GEOM_Object_ptr theShape)
-{
-  if (theShape == NULL) return -1;
-
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  CORBA::Long aNb = GetOperations()->NumberOfEdges(aShape);
-  if (!GetOperations()->IsDone()) return -1;
-
-  return aNb;
-}
-
-//=============================================================================
-/*!
- *  ChangeOrientation
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::ChangeOrientation
-                                                (GEOM::GEOM_Object_ptr theShape)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  if (aShape.IsNull()) return aGEOMObject._retn();
-
-  //Create the Solid
-  Handle(GEOM_Object) anObject = GetOperations()->ReverseShape(aShape);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  GetFreeFacesIDs
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_IShapesOperations_i::GetFreeFacesIDs (GEOM::GEOM_Object_ptr theShape)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  GEOM::ListOfLong_var aSeq = new GEOM::ListOfLong;
-  if (theShape == NULL) return aSeq._retn();
-
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-
-  Handle(TColStd_HSequenceOfInteger) aHSeq =
-    GetOperations()->GetFreeFacesIDs(aShape);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull()) return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = aHSeq->Value(i);
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetSharedShapes
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IShapesOperations_i::GetSharedShapes
-                                          (GEOM::GEOM_Object_ptr theShape1,
-                                          GEOM::GEOM_Object_ptr theShape2,
-                                          const CORBA::Long     theShapeType)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-  if (theShape1 == NULL ||
-      theShape2 == NULL) return aSeq._retn();
-
-  Handle(GEOM_Object) aShape1 = GetOperations()->GetEngine()->GetObject
-    (theShape1->GetStudyID(), theShape1->GetEntry());
-  Handle(GEOM_Object) aShape2 = GetOperations()->GetEngine()->GetObject
-    (theShape2->GetStudyID(), theShape2->GetEntry());
-
-  if (aShape1.IsNull() ||
-      aShape2.IsNull()) return aSeq._retn();
-
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->GetSharedShapes(aShape1, aShape2, theShapeType);
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-static GEOMAlgo_State ShapeState (const GEOM::shape_state theState)
-{
-  GEOMAlgo_State aState = GEOMAlgo_ST_UNKNOWN;
-
-  switch (theState) {
-  case GEOM::ST_ON:
-    aState = GEOMAlgo_ST_ON;
-    break;
-  case GEOM::ST_OUT:
-    aState = GEOMAlgo_ST_OUT;
-    break;
-  case GEOM::ST_ONOUT:
-    aState = GEOMAlgo_ST_ONOUT;
-    break;
-  case GEOM::ST_IN:
-    aState = GEOMAlgo_ST_IN;
-    break;
-  case GEOM::ST_ONIN:
-    aState = GEOMAlgo_ST_ONIN;
-    break;
-  default:
-    break;
-  }
-
-  return aState;
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnPlane
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IShapesOperations_i::GetShapesOnPlane
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theAx1,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theAx1 == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) anAx1 = GetOperations()->GetEngine()->GetObject
-    (theAx1->GetStudyID(), theAx1->GetEntry());
-
-  if (aShape.IsNull() || anAx1.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Plane
-  Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->GetShapesOnPlane(aShape, theShapeType, anAx1, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnCylinder
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IShapesOperations_i::GetShapesOnCylinder
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theAxis,
-                                                const CORBA::Double     theRadius,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theAxis == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) anAxis = GetOperations()->GetEngine()->GetObject
-    (theAxis->GetStudyID(), theAxis->GetEntry());
-
-  if (aShape.IsNull() || anAxis.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Cylinder
-  Handle(TColStd_HSequenceOfTransient) aHSeq = GetOperations()->GetShapesOnCylinder
-    (aShape, theShapeType, anAxis, theRadius, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnSphere
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_IShapesOperations_i::GetShapesOnSphere
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theCenter,
-                                                const CORBA::Double     theRadius,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfGO_var aSeq = new GEOM::ListOfGO;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theCenter == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aCenter = GetOperations()->GetEngine()->GetObject
-    (theCenter->GetStudyID(), theCenter->GetEntry());
-
-  if (aShape.IsNull() || aCenter.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Sphere
-  Handle(TColStd_HSequenceOfTransient) aHSeq = GetOperations()->GetShapesOnSphere
-    (aShape, theShapeType, aCenter, theRadius, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = GetObject(Handle(GEOM_Object)::DownCast(aHSeq->Value(i)));
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnPlaneIDs
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_IShapesOperations_i::GetShapesOnPlaneIDs
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theAx1,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfLong_var aSeq = new GEOM::ListOfLong;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theAx1 == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) anAx1 = GetOperations()->GetEngine()->GetObject
-    (theAx1->GetStudyID(), theAx1->GetEntry());
-
-  if (aShape.IsNull() || anAx1.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Plane
-  Handle(TColStd_HSequenceOfInteger) aHSeq =
-    GetOperations()->GetShapesOnPlaneIDs(aShape, theShapeType, anAx1, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = aHSeq->Value(i);
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnCylinderIDs
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_IShapesOperations_i::GetShapesOnCylinderIDs
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theAxis,
-                                                const CORBA::Double     theRadius,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfLong_var aSeq = new GEOM::ListOfLong;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theAxis == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) anAxis = GetOperations()->GetEngine()->GetObject
-    (theAxis->GetStudyID(), theAxis->GetEntry());
-
-  if (aShape.IsNull() || anAxis.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Cylinder
-  Handle(TColStd_HSequenceOfInteger) aHSeq = GetOperations()->GetShapesOnCylinderIDs
-    (aShape, theShapeType, anAxis, theRadius, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = aHSeq->Value(i);
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetShapesOnSphereIDs
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_IShapesOperations_i::GetShapesOnSphereIDs
-                                                (GEOM::GEOM_Object_ptr   theShape,
-                                                const CORBA::Long       theShapeType,
-                                                GEOM::GEOM_Object_ptr   theCenter,
-                                                const CORBA::Double     theRadius,
-                                                const GEOM::shape_state theState)
-{
-  GEOM::ListOfLong_var aSeq = new GEOM::ListOfLong;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShape == NULL || theCenter == NULL) return aSeq._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShape = GetOperations()->GetEngine()->GetObject
-    (theShape->GetStudyID(), theShape->GetEntry());
-  Handle(GEOM_Object) aCenter = GetOperations()->GetEngine()->GetObject
-    (theCenter->GetStudyID(), theCenter->GetEntry());
-
-  if (aShape.IsNull() || aCenter.IsNull()) return aSeq._retn();
-
-  //Get Shapes On Sphere
-  Handle(TColStd_HSequenceOfInteger) aHSeq = GetOperations()->GetShapesOnSphereIDs
-    (aShape, theShapeType, aCenter, theRadius, ShapeState(theState));
-  if (!GetOperations()->IsDone() || aHSeq.IsNull())
-    return aSeq._retn();
-
-  Standard_Integer aLength = aHSeq->Length();
-  aSeq->length(aLength);
-  for (Standard_Integer i = 1; i <= aLength; i++)
-    aSeq[i-1] = aHSeq->Value(i);
-
-  return aSeq._retn();
-}
-
-//=============================================================================
-/*!
- *  GetInPlace
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::GetInPlace
-                                          (GEOM::GEOM_Object_ptr theShapeWhere,
-                                          GEOM::GEOM_Object_ptr theShapeWhat)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theShapeWhere == NULL ||
-      theShapeWhat == NULL) return aGEOMObject._retn();
-
-  //Get the reference objects
-  Handle(GEOM_Object) aShapeWhere = GetOperations()->GetEngine()->GetObject
-    (theShapeWhere->GetStudyID(), theShapeWhere->GetEntry());
-  Handle(GEOM_Object) aShapeWhat = GetOperations()->GetEngine()->GetObject
-    (theShapeWhat->GetStudyID(), theShapeWhat->GetEntry());
-
-  if (aShapeWhere.IsNull() ||
-      aShapeWhat.IsNull()) return aGEOMObject._retn();
-
-  //Get Shapes in place of aShapeWhat
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetInPlace(aShapeWhere, aShapeWhat);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
diff --git a/src/GEOM_I/GEOM_IShapesOperations_i.hh b/src/GEOM_I/GEOM_IShapesOperations_i.hh
deleted file mode 100644 (file)
index 295e9d4..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-
-#ifndef _GEOM_IShapesOperations_i_HeaderFile
-#define _GEOM_IShapesOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_IShapesOperations.hxx"
-
-class GEOM_IShapesOperations_i :
-    public virtual POA_GEOM::GEOM_IShapesOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_IShapesOperations_i (PortableServer::POA_ptr       thePOA,
-                           GEOM::GEOM_Gen_ptr            theEngine,
-                           ::GEOMImpl_IShapesOperations* theImpl);
-  ~GEOM_IShapesOperations_i();
-
-  GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
-                                 GEOM::GEOM_Object_ptr thePnt2);
-
-  GEOM::GEOM_Object_ptr MakeWire (const GEOM::ListOfGO& theEdgesAndWires);
-
-  GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
-                                 CORBA::Boolean  isPlanarWanted);
-
-  GEOM::GEOM_Object_ptr MakeFaceWires (const GEOM::ListOfGO& theWires,
-                                      CORBA::Boolean  isPlanarWanted);
-
-  GEOM::GEOM_Object_ptr MakeShell (const GEOM::ListOfGO& theFacesAndShells);
-
-  GEOM::GEOM_Object_ptr MakeSolidShell (GEOM::GEOM_Object_ptr theShell);
-
-  GEOM::GEOM_Object_ptr MakeSolidShells (const GEOM::ListOfGO& theShells);
-
-  GEOM::GEOM_Object_ptr MakeCompound (const GEOM::ListOfGO& theShapes);
-
-  GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Double   theTolerance);
-
-  GEOM::ListOfGO* MakeExplode (GEOM::GEOM_Object_ptr theShape,
-                              CORBA::Long     theShapeType,
-                              CORBA::Boolean  isSorted);
-
-  GEOM::ListOfLong* SubShapeAllIDs (GEOM::GEOM_Object_ptr theShape,
-                                   CORBA::Long     theShapeType,
-                                   CORBA::Boolean  isSorted);
-
-  GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape,
-                                    CORBA::Long     theID);
-
-  CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
-  CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
-
-  GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
-
-  GEOM::ListOfLong* GetFreeFacesIDs (GEOM::GEOM_Object_ptr theShape);
-
-  GEOM::ListOfGO* GetSharedShapes (GEOM::GEOM_Object_ptr theShape1,
-                                  GEOM::GEOM_Object_ptr theShape2,
-                                  CORBA::Long     theShapeType);
-
-  GEOM::ListOfGO* GetShapesOnPlane (GEOM::GEOM_Object_ptr   theShape,
-                                   CORBA::Long       theShapeType,
-                                   GEOM::GEOM_Object_ptr   theAx1,
-                                   GEOM::shape_state theState);
-
-  GEOM::ListOfGO* GetShapesOnCylinder (GEOM::GEOM_Object_ptr   theShape,
-                                      CORBA::Long       theShapeType,
-                                      GEOM::GEOM_Object_ptr   theAxis,
-                                      CORBA::Double     theRadius,
-                                      GEOM::shape_state theState);
-
-  GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr   theShape,
-                                    CORBA::Long       theShapeType,
-                                    GEOM::GEOM_Object_ptr   theCenter,
-                                    CORBA::Double     theRadius,
-                                    GEOM::shape_state theState);
-
-  GEOM::ListOfLong* GetShapesOnPlaneIDs (GEOM::GEOM_Object_ptr   theShape,
-                                        CORBA::Long       theShapeType,
-                                        GEOM::GEOM_Object_ptr   theAx1,
-                                        GEOM::shape_state theState);
-
-  GEOM::ListOfLong* GetShapesOnCylinderIDs (GEOM::GEOM_Object_ptr   theShape,
-                                           CORBA::Long       theShapeType,
-                                           GEOM::GEOM_Object_ptr   theAxis,
-                                           CORBA::Double     theRadius,
-                                           GEOM::shape_state theState);
-
-  GEOM::ListOfLong* GetShapesOnSphereIDs (GEOM::GEOM_Object_ptr   theShape,
-                                         CORBA::Long       theShapeType,
-                                         GEOM::GEOM_Object_ptr   theCenter,
-                                         CORBA::Double     theRadius,
-                                         GEOM::shape_state theState);
-
-  GEOM::GEOM_Object_ptr GetInPlace (GEOM::GEOM_Object_ptr theShapeWhere,
-                                   GEOM::GEOM_Object_ptr theShapeWhat);
-
-  ::GEOMImpl_IShapesOperations* GetOperations()
-  { return (::GEOMImpl_IShapesOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_ITransformOperations_i.cc b/src/GEOM_I/GEOM_ITransformOperations_i.cc
deleted file mode 100644 (file)
index a01edea..0000000
+++ /dev/null
@@ -1,931 +0,0 @@
-#include <Standard_Stream.hxx>
-
-#include "GEOM_ITransformOperations_i.hh"
-
-#include "utilities.h"
-#include "OpUtil.hxx"
-#include "Utils_ExceptHandlers.hxx"
-
-#include <TDF_Label.hxx>
-#include <TDF_Tool.hxx>
-#include <TCollection_AsciiString.hxx>
-#include "GEOM_Engine.hxx"
-#include "GEOM_Object.hxx"
-
-#define SUBSHAPE_ERROR "Sub shape cannot be transformed"
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOM_ITransformOperations_i::GEOM_ITransformOperations_i (PortableServer::POA_ptr thePOA,
-                                                         GEOM::GEOM_Gen_ptr theEngine,
-                                                         ::GEOMImpl_ITransformOperations* theImpl)
-     :GEOM_IOperations_i(thePOA, theEngine, theImpl)
-{
-  MESSAGE("GEOM_ITransformOperations_i::GEOM_ITransformOperations_i");
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOM_ITransformOperations_i::~GEOM_ITransformOperations_i()
-{
-  MESSAGE("GEOM_ITransformOperations_i::~GEOM_ITransformOperations_i");
-}
-
-
-//=============================================================================
-/*!
- *  TranslateTwoPoints
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateTwoPoints
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr thePoint1,
-                                             GEOM::GEOM_Object_ptr thePoint2)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-  GEOM::GEOM_Object_var aGEOMObject;
-  
-  if (thePoint1 == NULL || thePoint2 == NULL || theObject == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the first point of translation
-  Handle(GEOM_Object) aPoint1 =
-    GetOperations()->GetEngine()->GetObject(thePoint1->GetStudyID(), thePoint1->GetEntry());
-  if (aPoint1.IsNull()) return aGEOMObject._retn();
-
-  //Get the second point of translation
-  Handle(GEOM_Object) aPoint2 =
-    GetOperations()->GetEngine()->GetObject(thePoint2->GetStudyID(), thePoint2->GetEntry());
-  if (aPoint2.IsNull()) return aGEOMObject._retn();
-
-  //Perform the translation
-  GetOperations()->TranslateTwoPoints(anObject, aPoint1, aPoint2);
-
-  return aGEOMObject._retn();
-}
-
-//=============================================================================
-/*!
- *  TranslateTwoPointsCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateTwoPointsCopy
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr thePoint1,
-                                             GEOM::GEOM_Object_ptr thePoint2)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePoint1 == NULL || thePoint2 == NULL || theObject == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the first point of translation
-  Handle(GEOM_Object) aPoint1 =
-    GetOperations()->GetEngine()->GetObject(thePoint1->GetStudyID(), thePoint1->GetEntry());
-  if (aPoint1.IsNull()) return aGEOMObject._retn();
-
-  //Get the second point of translation
-  Handle(GEOM_Object) aPoint2 =
-    GetOperations()->GetEngine()->GetObject(thePoint2->GetStudyID(), thePoint2->GetEntry());
-  if (aPoint2.IsNull()) return aGEOMObject._retn();
-
-  //Create the translated shape
-  Handle(GEOM_Object) anObject =
-    GetOperations()->TranslateTwoPointsCopy(aBasicObject, aPoint1, aPoint2);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  TranslateDXDYDZ
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject, 
-                                                                   CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-  GEOM::GEOM_Object_var aGEOMObject ;
-
-  if (theObject == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Perform the translation
-  GetOperations()->TranslateDXDYDZ(anObject, theDX, theDY, theDZ);
-
-  return aGEOMObject._retn();
-}
-
-
-//=============================================================================
-/*!
- *  TranslateDXDYDZCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateDXDYDZCopy
-                                             (GEOM::GEOM_Object_ptr theObject, CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theObject == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-
-
-  //Create the translated shape
-  Handle(GEOM_Object) anObject =
-    GetOperations()->TranslateDXDYDZCopy(aBasicObject, theDX, theDY, theDZ);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  TranslateVector
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateVector
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theVector)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-   aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aVector =
-    GetOperations()->GetEngine()->GetObject(theVector->GetStudyID(), theVector->GetEntry());
-  if (aVector.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the translation
-  GetOperations()->TranslateVector(anObject, aVector);   
-
-  return aGEOMObject._retn();  
-}
-//=============================================================================
-/*!
- *  TranslateVectorCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::TranslateVectorCopy
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theVector)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aVector =
-    GetOperations()->GetEngine()->GetObject(theVector->GetStudyID(), theVector->GetEntry());
-  if (aVector.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the translation
-  Handle(GEOM_Object) anObject = GetOperations()->TranslateVectorCopy(aBasicObject, aVector);   
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-
-//=============================================================================
-/*!
- *  Rotate
- */
-//=============================================================================        
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::Rotate (GEOM::GEOM_Object_ptr theObject,
-                                                          GEOM::GEOM_Object_ptr theAxis,
-                                                          CORBA::Double theAngle)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theAxis == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject = GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the axis of revolution
-  Handle(GEOM_Object) anAxis =
-    GetOperations()->GetEngine()->GetObject(theAxis->GetStudyID(), theAxis->GetEntry());
-  if (anAxis.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the rotation
-  GetOperations()->Rotate(anObject, anAxis, theAngle);   
-
-  return aGEOMObject._retn();  
-}
-
-//=============================================================================
-/*!
- *  RotateCopy
- */
-//=============================================================================                                           
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::RotateCopy (GEOM::GEOM_Object_ptr theObject,
-                                                              GEOM::GEOM_Object_ptr theAxis,
-                                                              CORBA::Double theAngle)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || theAxis == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the axis of rotation
-  Handle(GEOM_Object) anAxis =
-    GetOperations()->GetEngine()->GetObject(theAxis->GetStudyID(), theAxis->GetEntry());
-  if (anAxis.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the rotation
-  Handle(GEOM_Object) anObject = GetOperations()->RotateCopy(aBasicObject, anAxis, theAngle);   
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-
-//=============================================================================
-/*!
- *  MirrorPlane
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorPlane
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr thePlane)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || thePlane == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the plane
-  Handle(GEOM_Object) aPlane =
-    GetOperations()->GetEngine()->GetObject(thePlane->GetStudyID(), thePlane->GetEntry());
-  if (aPlane.IsNull()) return aGEOMObject._retn();
-
-  //Perform the mirror
-  GetOperations()->MirrorPlane(anObject, aPlane);   
-
-  return aGEOMObject._retn();  
-}
-//=============================================================================
-/*!
- *  MirrorPlaneCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorPlaneCopy
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr thePlane)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || thePlane == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aPlane =
-    GetOperations()->GetEngine()->GetObject(thePlane->GetStudyID(), thePlane->GetEntry());
-  if (aPlane.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the mirror
-  Handle(GEOM_Object) anObject = GetOperations()->MirrorPlaneCopy(aBasicObject, aPlane);   
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-//=============================================================================
-/*!
- *  MirrorAxis
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorAxis
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theAxis)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || theAxis == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the axis
-  Handle(GEOM_Object) aAxis =
-    GetOperations()->GetEngine()->GetObject(theAxis->GetStudyID(), theAxis->GetEntry());
-  if (aAxis.IsNull()) return aGEOMObject._retn();
-
-  //Perform the mirror
-  GetOperations()->MirrorAxis(anObject, aAxis);   
-
-  return aGEOMObject._retn();  
-}
-//=============================================================================
-/*!
- *  MirrorAxisCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorAxisCopy
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theAxis)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || theAxis == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aAxis =
-    GetOperations()->GetEngine()->GetObject(theAxis->GetStudyID(), theAxis->GetEntry());
-  if (aAxis.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the mirror
-  Handle(GEOM_Object) anObject = GetOperations()->MirrorAxisCopy(aBasicObject, aAxis);   
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-//=============================================================================
-/*!
- *  MirrorPoint
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorPoint
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr thePoint)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || thePoint == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the point
-  Handle(GEOM_Object) aPoint =
-    GetOperations()->GetEngine()->GetObject(thePoint->GetStudyID(), thePoint->GetEntry());
-  if (aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Perform the mirror
-  GetOperations()->MirrorPoint(anObject, aPoint);   
-
-  return aGEOMObject._retn();  
-}
-//=============================================================================
-/*!
- *  MirrorPointCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MirrorPointCopy
-                                            (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr thePoint)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  if (theObject == NULL || thePoint == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aPoint =
-    GetOperations()->GetEngine()->GetObject(thePoint->GetStudyID(), thePoint->GetEntry());
-  if (aPoint.IsNull()) return aGEOMObject._retn();
-  
-  //Perform the mirror
-  Handle(GEOM_Object) anObject = GetOperations()->MirrorPointCopy(aBasicObject, aPoint);   
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-
-//=============================================================================
-/*!
- *  OffsetShape
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::OffsetShape
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             CORBA::Double theOffset)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theObject == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-
-  //Get the basic object
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Create the offset shape
-  GetOperations()->OffsetShape(aBasicObject, theOffset);
-
-  return aGEOMObject._retn();
-}
-
-//=============================================================================
-/*!
- *  OffsetShapeCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::OffsetShapeCopy
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             CORBA::Double theOffset)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theObject == NULL) return aGEOMObject._retn();
-
-  //Get the basic object
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Create the offset shape
-  Handle(GEOM_Object) anObject = GetOperations()->OffsetShapeCopy(aBasicObject, theOffset);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-
-//=============================================================================
-/*!
- *  ScaleShape
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::ScaleShape
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr thePoint,
-                                             CORBA::Double theFactor)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePoint == NULL || theObject == NULL) return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  //Get the object itself
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the point
-  Handle(GEOM_Object) aPoint =
-    GetOperations()->GetEngine()->GetObject(thePoint->GetStudyID(), thePoint->GetEntry());
-  if (aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Perform the scale
-  GetOperations()->ScaleShape(anObject, aPoint, theFactor);
-
-  return  aGEOMObject._retn();
-}
-
-//=============================================================================
-/*!
- *  ScaleShapeCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::ScaleShapeCopy
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr thePoint,
-                                             CORBA::Double theFactor)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (thePoint == NULL || theObject == NULL) return aGEOMObject._retn();
-
-  //Get the basic object
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the point
-  Handle(GEOM_Object) aPoint =
-    GetOperations()->GetEngine()->GetObject(thePoint->GetStudyID(), thePoint->GetEntry());
-  if (aPoint.IsNull()) return aGEOMObject._retn();
-
-  //Perform the scale
-  Handle(GEOM_Object) anObject =
-    GetOperations()->ScaleShapeCopy(aBasicObject, aPoint, theFactor);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  PositionShape
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::PositionShape
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr theStartLCS,
-                                             GEOM::GEOM_Object_ptr theEndLCS)
-{
-  GEOM::GEOM_Object_var aGEOMObject = GEOM::GEOM_Object::_duplicate(theObject);
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theObject == NULL || theStartLCS == NULL || theEndLCS == NULL)
-    return aGEOMObject._retn();
-
-  //check if the object is a subshape
-  if(!theObject->IsMainShape()) {
-    GetOperations()->SetErrorCode(SUBSHAPE_ERROR);
-    return aGEOMObject._retn();
-  }
-
-  //Get the basic object
-  Handle(GEOM_Object) anObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (anObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the Start LCS
-  Handle(GEOM_Object) aStartLCS =
-    GetOperations()->GetEngine()->GetObject(theStartLCS->GetStudyID(), theStartLCS->GetEntry());
-  if (aStartLCS.IsNull()) return aGEOMObject._retn();
-
-  //Get the End LCS
-  Handle(GEOM_Object) aEndLCS =
-    GetOperations()->GetEngine()->GetObject(theEndLCS->GetStudyID(), theEndLCS->GetEntry());
-  if (aEndLCS.IsNull()) return aGEOMObject._retn();
-
-  //Perform the Position
-  GetOperations()->PositionShape(anObject, aStartLCS, aEndLCS);
-
-  return  aGEOMObject._retn();
-}
-
-//=============================================================================
-/*!
- *  PositionShapeCopy
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::PositionShapeCopy
-                                             (GEOM::GEOM_Object_ptr theObject,
-                                             GEOM::GEOM_Object_ptr theStartLCS,
-                                             GEOM::GEOM_Object_ptr theEndLCS)
-{
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  //Set a not done flag
-  GetOperations()->SetNotDone();
-
-  if (theObject == NULL || theStartLCS == NULL || theEndLCS == NULL)
-    return aGEOMObject._retn();
-
-  //Get the basic object
-  Handle(GEOM_Object) aBasicObject =
-    GetOperations()->GetEngine()->GetObject(theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the Start LCS
-  Handle(GEOM_Object) aStartLCS =
-    GetOperations()->GetEngine()->GetObject(theStartLCS->GetStudyID(), theStartLCS->GetEntry());
-  if (aStartLCS.IsNull()) return aGEOMObject._retn();
-
-  //Get the End LCS
-  Handle(GEOM_Object) aEndLCS =
-    GetOperations()->GetEngine()->GetObject(theEndLCS->GetStudyID(), theEndLCS->GetEntry());
-  if (aEndLCS.IsNull()) return aGEOMObject._retn();
-
-  //Perform the position
-  Handle(GEOM_Object) anObject =
-    GetOperations()->PositionShapeCopy(aBasicObject, aStartLCS, aEndLCS);
-  if (!GetOperations()->IsDone() || anObject.IsNull())
-    return aGEOMObject._retn();
-
-  return GetObject(anObject);
-}
-
-//=============================================================================
-/*!
- *  MultiTranslate1D
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MultiTranslate1D
-                           (GEOM::GEOM_Object_ptr theObject,
-                           GEOM::GEOM_Object_ptr theVector,
-                           CORBA::Double theStep, CORBA::Long theNbTimes)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-    (theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector of translation
-  Handle(GEOM_Object) aVector = GetOperations()->GetEngine()->GetObject
-    (theVector->GetStudyID(), theVector->GetEntry());
-  if (aVector.IsNull()) return aGEOMObject._retn();
-
-  //Perform the translation
-  Handle(GEOM_Object) anObject =
-    GetOperations()->Translate1D(aBasicObject, aVector, theStep, theNbTimes);   
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject); 
-}
-
-//=============================================================================
-/*!
- *  MultiTranslate2D
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MultiTranslate2D (GEOM::GEOM_Object_ptr theObject, 
-                                                                    GEOM::GEOM_Object_ptr theVector1, 
-                                                                    CORBA::Double theStep1, 
-                                                                    CORBA::Long theNbTimes1,
-                                                                    GEOM::GEOM_Object_ptr theVector2, 
-                                                                    CORBA::Double theStep2, 
-                                                                    CORBA::Long theNbTimes2)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theVector1 == NULL || theVector2 == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-    (theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector1 of translation
-  Handle(GEOM_Object) aVector1 = GetOperations()->GetEngine()->GetObject
-    (theVector1->GetStudyID(), theVector1->GetEntry());
-  if (aVector1.IsNull()) return aGEOMObject._retn();
-
-  //Get the vector2 of translation
-  Handle(GEOM_Object) aVector2 = GetOperations()->GetEngine()->GetObject
-    (theVector2->GetStudyID(), theVector2->GetEntry());
-  if (aVector2.IsNull()) return aGEOMObject._retn();
-
-  //Perform the translation
-  Handle(GEOM_Object) anObject = GetOperations()->Translate2D
-    (aBasicObject, aVector1, theStep1, theNbTimes1, aVector2, theStep2, theNbTimes2);   
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject); 
-}
-
-//=============================================================================
-/*!
- *  MultiRotate1D
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
-                                                                 GEOM::GEOM_Object_ptr theVector,
-                                                                 CORBA::Long theNbTimes)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-    (theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the a directon of rotation
-  Handle(GEOM_Object) aVector = GetOperations()->GetEngine()->GetObject
-    (theVector->GetStudyID(), theVector->GetEntry());
-  if (aVector.IsNull()) return aGEOMObject._retn();
-
-  //Perform the rotation
-  Handle(GEOM_Object) anObject = GetOperations()->Rotate1D(aBasicObject, aVector, theNbTimes);   
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
-
-//=============================================================================
-/*!
- *  MultiRotate2D
- */
-//============================================================================= 
-GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
-                                                                 GEOM::GEOM_Object_ptr theVector,
-                                                                 CORBA::Double theAngle, 
-                                                                 CORBA::Long theNbTimes1, 
-                                                                 CORBA::Double theStep, 
-                                                                 CORBA::Long theNbTimes2)
-{
-  //Set a not done flag
-  GetOperations()->SetNotDone(); 
-
-  GEOM::GEOM_Object_var aGEOMObject;
-
-  if (theObject == NULL || theVector == NULL) return aGEOMObject._retn();
-
-  //Get the object itself
-  Handle(GEOM_Object) aBasicObject = GetOperations()->GetEngine()->GetObject
-    (theObject->GetStudyID(), theObject->GetEntry());
-  if (aBasicObject.IsNull()) return aGEOMObject._retn();
-
-  //Get the a directon of rotation
-  Handle(GEOM_Object) aVector = GetOperations()->GetEngine()->GetObject
-    (theVector->GetStudyID(), theVector->GetEntry());
-  if (aVector.IsNull()) return aGEOMObject._retn();
-
-  //Perform the rotation
-  Handle(GEOM_Object) anObject = GetOperations()->Rotate2D
-    (aBasicObject, aVector, theAngle, theNbTimes1, theStep, theNbTimes2);   
-  if (!GetOperations()->IsDone() || anObject.IsNull()) return aGEOMObject._retn();
-
-  return GetObject(anObject);  
-}
diff --git a/src/GEOM_I/GEOM_ITransformOperations_i.hh b/src/GEOM_I/GEOM_ITransformOperations_i.hh
deleted file mode 100644 (file)
index 4b721ef..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-
-#ifndef _GEOM_ITransformOperations_i_HeaderFile
-#define _GEOM_ITransformOperations_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-#include "GEOM_IOperations_i.hh"
-#include "GEOM_Object_i.hh"
-
-#include "GEOMImpl_ITransformOperations.hxx"
-
-class GEOM_ITransformOperations_i :
-    public virtual POA_GEOM::GEOM_ITransformOperations,
-    public virtual GEOM_IOperations_i
-{
- public:
-  GEOM_ITransformOperations_i (PortableServer::POA_ptr thePOA,
-                              GEOM::GEOM_Gen_ptr theEngine,
-                              ::GEOMImpl_ITransformOperations* theImpl);
-  ~GEOM_ITransformOperations_i();
-
-  GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
-                                           GEOM::GEOM_Object_ptr thePoint1,
-                                           GEOM::GEOM_Object_ptr thePoint2);
-
-  GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
-                                               GEOM::GEOM_Object_ptr thePoint1,
-                                               GEOM::GEOM_Object_ptr thePoint2);
-
-  GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject, CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
-
-
-  GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,  CORBA::Double theDX, CORBA::Double theDY, CORBA::Double theDZ);
-
-  GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
-                                        GEOM::GEOM_Object_ptr theVector);
-
-  GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theVector);
-
-  GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject, GEOM::GEOM_Object_ptr theVector, CORBA::Double theStep, CORBA::Long theNbTimes);
-
-  GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject, GEOM::GEOM_Object_ptr theVector1, CORBA::Double theStep1, CORBA::Long theNbTimes1,
-                                                      GEOM::GEOM_Object_ptr theVector2, CORBA::Double theStep2, CORBA::Long theNbTimes2);
-
-  GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
-                                GEOM::GEOM_Object_ptr theAxis,
-                               CORBA::Double theAngle);
-
-  GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theVector,
-                                      CORBA::Long theNbTimes);
-
-  GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theVector, 
-                                      CORBA::Double theAngle, 
-                                      CORBA::Long theNbTimes1, 
-                                      CORBA::Double theStep, 
-                                      CORBA::Long theNbTimes2);
-                                          
-  GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
-                                   GEOM::GEOM_Object_ptr theAxis,
-                                   CORBA::Double theAngle);  
-
-  GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject,
-                                    GEOM::GEOM_Object_ptr thePlane);
-
-  GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject,
-                                        GEOM::GEOM_Object_ptr thePlane);
-
-  GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject,
-                                   GEOM::GEOM_Object_ptr theAxis);
-
-  GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject,
-                                       GEOM::GEOM_Object_ptr theAxis);
-
-  GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject,
-                                    GEOM::GEOM_Object_ptr thePoint);
-
-  GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject,
-                                        GEOM::GEOM_Object_ptr thePoint);
-
-  GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject,
-                                    CORBA::Double theOffset);
-
-  GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject,
-                                        CORBA::Double theOffset);
-
-  GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject,
-                                   GEOM::GEOM_Object_ptr thePoint,
-                                   CORBA::Double theFactor);
-
-  GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject,
-                                       GEOM::GEOM_Object_ptr thePoint,
-                                       CORBA::Double theFactor);
-
-  GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theStartLCS,
-                                      GEOM::GEOM_Object_ptr theEndLCS);
-
-  GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
-                                          GEOM::GEOM_Object_ptr theStartLCS,
-                                          GEOM::GEOM_Object_ptr theEndLCS);
-
-  ::GEOMImpl_ITransformOperations* GetOperations() { return (::GEOMImpl_ITransformOperations*)GetImpl(); }
-};
-
-#endif
diff --git a/src/GEOM_I/GEOM_Object_i.cc b/src/GEOM_I/GEOM_Object_i.cc
deleted file mode 100644 (file)
index c67e139..0000000
+++ /dev/null
@@ -1,298 +0,0 @@
-#include <Standard_OStream.hxx>
-
-#include <GEOM_Object_i.hh>
-//#include <GEOM_Gen_i.hh>
-#include <GEOM_ISubShape.hxx>
-#include <GEOMImpl_Types.hxx>
-
-#include "utilities.h"
-#include <fstream>
-#include <strstream>
-
-#include <OpUtil.hxx>
-#include <Utils_ExceptHandlers.hxx>
-#include <TDF_Tool.hxx>
-#include <TDF_Label.hxx>
-#include <TCollection_AsciiString.hxx>
-
-#include <BRepTools_ShapeSet.hxx>
-#include <BRepTools.hxx>
-#include <TopAbs.hxx>
-
-#ifdef WNT
-#pragma warning( disable:4786 )
-#endif
-
-//=============================================================================
-/*!
- *   constructor:
- */
-//=============================================================================
-
-GEOM_Object_i::GEOM_Object_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
-                             Handle(GEOM_Object) theImpl)
-#ifndef WNT
-: SALOME::GenericObj_i( thePOA ), _engine(theEngine), _impl(theImpl)
-#endif
-{
-  thePOA->activate_object(this);
-}
-
-//=============================================================================
-/*!
- *  destructor
- */
-//=============================================================================
-
-GEOM_Object_i::~GEOM_Object_i()
-{}
-
-
-//=============================================================================
-/*!
- *  GetEntry
- */
-//=============================================================================
-char* GEOM_Object_i::GetEntry()
-{
-  const TDF_Label& aLabel = _impl->GetEntry();
-  TCollection_AsciiString anEntry;
-  TDF_Tool::Entry(aLabel, anEntry);
-  return CORBA::string_dup(anEntry.ToCString());
-}
-
-//=============================================================================
-/*!
- *  GetStudyID
- */
-//=============================================================================
-CORBA::Long GEOM_Object_i::GetStudyID()
-{
-   return _impl->GetDocID();
-}
-
-
-//=============================================================================
-/*!
- *  GetType
- */
-//=============================================================================
-CORBA::Long GEOM_Object_i::GetType()
-{
-  return _impl->GetType();
-}
-
-//=============================================================================
-/*!
- *  GetShapeType
- */
-//=============================================================================
-GEOM::shape_type GEOM_Object_i::GetShapeType()
-{
-  TopoDS_Shape _geom = _impl->GetValue();
-  if(_geom.IsNull()) return GEOM::SHAPE;
-  return (GEOM::shape_type)_geom.ShapeType();
-}
-
-//=============================================================================
-/*!
- *  SetName
- */
-//=============================================================================
-void GEOM_Object_i::SetName(const char* theName)
-{
-  _impl->SetName(theName);
-}
-
-
-//=============================================================================
-/*!
- *  GetName
- */
-//=============================================================================
-char* GEOM_Object_i::GetName()
-{
-  char* aName = _impl->GetName();
-  if(aName) return strdup(aName);
-  return strdup("");
-}
-
-//=============================================================================
-/*!
- *  SetStudyEntry
- */
-//=============================================================================
-void GEOM_Object_i::SetStudyEntry(const char* theEntry)
-{
-  _impl->SetAuxData(theEntry);
-}
-
-
-//=============================================================================
-/*!
- *  GetStudyEntry
- */
-//=============================================================================
-char* GEOM_Object_i::GetStudyEntry()
-{
-  TCollection_AsciiString anEntry = _impl->GetAuxData();
-  if(!anEntry.IsEmpty()) return strdup(anEntry.ToCString());
-  return strdup("");
-}
-
-
-//=============================================================================
-/*!
- *  GetDependency
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_Object_i::GetDependency()
-{
-  GEOM::ListOfGO_var aList = new GEOM::ListOfGO();
-  aList->length(0);
-
-  Handle(TColStd_HSequenceOfTransient) aSeq = _impl->GetAllDependency();
-  if (aSeq.IsNull()) return aList._retn();
-  int aLength = aSeq->Length();
-  if (aLength == 0) return aList._retn();
-
-  aList->length(aLength);
-
-  TCollection_AsciiString anEntry;
-
-  for (int i = 1; i<=aLength; i++) {
-    Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(aSeq->Value(i));
-    if (anObj.IsNull()) continue;
-    TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-    GEOM::GEOM_Object_var obj = GEOM::GEOM_Object::_duplicate(_engine->GetObject(anObj->GetDocID(), anEntry.ToCString()));
-    aList[i-1] = obj;
-  }
-
-  return aList._retn();
-}
-
-//=============================================================================
-/*!
- * GetLastDependency
- */
-//=============================================================================
-GEOM::ListOfGO* GEOM_Object_i::GetLastDependency()
-{
-  GEOM::ListOfGO_var aList = new GEOM::ListOfGO();
-  aList->length(0);
-
-  Handle(TColStd_HSequenceOfTransient) aSeq = _impl->GetLastDependency();
-  if (aSeq.IsNull()) return aList._retn();
-  int aLength = aSeq->Length();
-  if (aLength == 0) return aList._retn();
-
-  aList->length(aLength);
-
-  TCollection_AsciiString anEntry;
-
-  for (int i = 1; i<=aLength; i++) {
-     Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(aSeq->Value(i));
-     if (anObj.IsNull()) continue;
-     TDF_Tool::Entry(anObj->GetEntry(), anEntry);
-     GEOM::GEOM_Object_var obj = GEOM::GEOM_Object::_duplicate(_engine->GetObject(anObj->GetDocID(), anEntry.ToCString()));
-     aList[i-1] = obj;
-  }
-
-  return aList._retn();
-}
-
-//=================================================================================
-// function : GetShapeStream
-// Transfer resulting shape to client as sequence of bytes
-//client can extract shape from stream using BrepTools::Read function
-//=================================================================================
-SALOMEDS::TMPFile* GEOM_Object_i::GetShapeStream()
-{
-  TopoDS_Shape aShape = _impl->GetValue();
-
-  if(aShape.IsNull()) return NULL;
-
-  ostrstream streamShape;
-  //Write TopoDS_Shape in ASCII format to the stream
-  BRepTools::Write(aShape, streamShape);
-  //Returns the number of bytes that have been stored in the stream's buffer.
-  int size = streamShape.pcount();
-  char* buf = new char [size];
-  //Get pointer on internal character array in ostrstream
-  char* valueOfStream = streamShape.str();
-  //Create copy of ostrstream content
-  memcpy(buf, valueOfStream, size);
-  //Allow automatic deletion of ostrstream content
-  streamShape.rdbuf()->freeze(0);
-
-  CORBA::Octet* OctetBuf =  (CORBA::Octet*)buf;
-  SALOMEDS::TMPFile_var SeqFile = new SALOMEDS::TMPFile(size,size,OctetBuf,1);
-  return SeqFile._retn();
-
-}
-
-
-//=======================================================================
-//function : getShape
-//purpose  : return the TopoDS_Shape when client and servant are colocated, be careful
-//=======================================================================
-long GEOM_Object_i::getShape() {
-  _geom = _impl->GetValue();
-  return((long)(&_geom));
-}
-
-//=============================================================================
-/*!
- *  GetSubShapeIndices
- */
-//=============================================================================
-GEOM::ListOfLong* GEOM_Object_i::GetSubShapeIndices()
-{
-  GEOM::ListOfLong_var anIndices = new GEOM::ListOfLong;
-
-  if(!_impl->IsMainShape()) {
-    Handle(GEOM_Function) aFunction = _impl->GetFunction(1); //Get SubShape function (always the first (and last)  one)
-    if(aFunction.IsNull()) return anIndices._retn();
-    GEOM_ISubShape ISS(aFunction);
-    Handle(TColStd_HArray1OfInteger) anArray = ISS.GetIndices();
-    if(anArray.IsNull() || anArray->Length() < 1) return anIndices._retn();
-    anIndices->length(anArray->Length());
-    for(int i=1; i<=anArray->Length(); i++) anIndices[i-1] = anArray->Value(i);
-  }
-  else {
-    anIndices->length(0);
-  }
-
-  return anIndices._retn();
-}
-
-
-//=============================================================================
-/*!
- *  GetMainShape
- */
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Object_i::GetMainShape()
-{
-  GEOM::GEOM_Object_var obj;
-  if(!_impl->IsMainShape()) {
-    Handle(GEOM_Function) aFunction = _impl->GetFunction(1); //Get SubShape function (always the first (and last)  one)
-    if(aFunction.IsNull()) return obj._retn();
-    GEOM_ISubShape ISS(aFunction);
-
-    aFunction = ISS.GetMainShape();
-    if(aFunction.IsNull()) return obj._retn();
-    TDF_Label aLabel  = aFunction->GetOwnerEntry();
-    if(aLabel.IsNull()) return obj._retn();
-    TCollection_AsciiString anEntry;
-    TDF_Tool::Entry(aLabel, anEntry);
-    return GEOM::GEOM_Object::_duplicate(_engine->GetObject(_impl->GetDocID(), anEntry.ToCString()));
-  }
-
-  return obj._retn();
-}
-
-bool GEOM_Object_i::IsShape()
-{
-  return !_impl->GetValue().IsNull() && _impl->GetType() != GEOM_MARKER;
-}
diff --git a/src/GEOM_I/GEOM_Object_i.hh b/src/GEOM_I/GEOM_Object_i.hh
deleted file mode 100644 (file)
index 3191df9..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-
-#ifndef _GEOM_Object_i_HeaderFile
-#define _GEOM_Object_i_HeaderFile
-
-
-#include <SALOMEconfig.h>
-#include CORBA_CLIENT_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(GEOM_Gen)
-
-#include "SALOME_GenericObj_i.hh"
-
-#include "GEOM_Object.hxx"
-
-#include <TopoDS_Shape.hxx>
-
-class GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
-{
- public:
-   GEOM_Object_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, Handle(GEOM_Object) theImpl);
-   ~GEOM_Object_i();
-
-  virtual char* GetEntry();
-
-  virtual CORBA::Long GetStudyID();
-
-  virtual CORBA::Long GetType();
-
-  virtual GEOM::shape_type GetShapeType();
-
-  virtual void SetName(const char* theName);
-
-  virtual char* GetName();
-
-  virtual void SetStudyEntry(const char* theEntry);
-
-  virtual char* GetStudyEntry();
-
-  virtual GEOM::ListOfGO* GetDependency();
-
-  virtual GEOM::ListOfGO* GetLastDependency();
-
-  virtual SALOMEDS::TMPFile* GetShapeStream();
-
-  long getShape();
-
-  virtual bool IsMainShape() { return _impl->IsMainShape(); }
-
-  virtual GEOM::ListOfLong* GetSubShapeIndices();
-
-  virtual GEOM::GEOM_Object_ptr GetMainShape();
-
-  virtual bool IsShape();
-
-  Handle(GEOM_Object) GetImpl() { return _impl; }
-
- private:
-
-  GEOM::GEOM_Gen_ptr _engine;
-  Handle(GEOM_Object) _impl;
-  TopoDS_Shape _geom;
-};
-
-#endif
diff --git a/src/GEOM_I/Makefile.in b/src/GEOM_I/Makefile.in
deleted file mode 100644 (file)
index 0a017bf..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-#  GEOM GEOM : implementaion of GEOM_Gen.idl
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOMEngine.la
-LIB_SRC = \
-       GEOM_Object_i.cc \
-       GEOM_IOperations_i.cc \
-       GEOM_IBasicOperations_i.cc \
-        GEOM_IHealingOperations_i.cc \
-       GEOM_I3DPrimOperations_i.cc \
-       GEOM_IShapesOperations_i.cc \
-       GEOM_IBlocksOperations_i.cc \
-       GEOM_IBooleanOperations_i.cc \
-       GEOM_ICurvesOperations_i.cc \
-       GEOM_ILocalOperations_i.cc \
-       GEOM_IInsertOperations_i.cc \
-       GEOM_ITransformOperations_i.cc \
-       GEOM_IMeasureOperations_i.cc \
-       GEOM_IGroupOperations_i.cc \
-       GEOM_Gen_i.cc \
-       GEOM_DumpPython.cc
-
-# SALOME_Component.idl
-LIB_CLIENT_IDL = SALOMEDS.idl SALOMEDS_Attributes.idl SALOME_Component.idl SALOME_Exception.idl
-                 #SALOME_Exception.idl SALOME_GenericObj.idl
-
-LIB_SERVER_IDL = GEOM_Gen.idl
-
-# Executables targets
-BIN = 
-BIN_SRC = 
-BIN_CLIENT_IDL = 
-BIN_SERVER_IDL =
-
-#This export required to compile GEOM_Superv_i.lo library
-EXPORT_HEADERS = GEOM_Object_i.hh \
-                GEOM_IOperations_i.hh \
-                GEOM_IBasicOperations_i.hh \
-                GEOM_IHealingOperations_i.hh \
-                 GEOM_I3DPrimOperations_i.hh \
-                GEOM_IShapesOperations_i.hh \
-                GEOM_IBlocksOperations_i.hh \
-                GEOM_IBooleanOperations_i.hh \
-                GEOM_ICurvesOperations_i.hh \
-                GEOM_ILocalOperations_i.hh \
-                GEOM_IInsertOperations_i.hh \
-                GEOM_ITransformOperations_i.hh \
-                GEOM_IMeasureOperations_i.hh \
-                GEOM_IGroupOperations_i.hh \
-                GEOM_Gen_i.hh
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += -lGEOMArchimede -lGEOMbasic -lGEOMimpl -lGEOMSketcher \
-            $(CAS_LDPATH) -lTKIGES -lTKSTEP -lTKFillet -lTKOffset \
-            -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeNS -lSalomeContainer -lSalomeGenericObj -lTOOLSDS
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
diff --git a/src/GEOM_I_Superv/GEOM_List_i.hh b/src/GEOM_I_Superv/GEOM_List_i.hh
deleted file mode 100644 (file)
index 293881e..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#ifndef __GEOM_LIST_I_H__
-#define __GEOM_LIST_I_H__
-
-// IDL headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Superv)
-
-#include "GEOM_Gen_i.hh"
-#include "utilities.h"
-
-template <class Type>
-class GEOM_List_i : 
-  public virtual POA_GEOM::GEOM_List,
-  public virtual PortableServer::RefCountServantBase
-{
-public:
-  GEOM_List_i();
-  GEOM_List_i(const Type& theListToCopy);
-  ~GEOM_List_i();
-
-  const Type& GetList();
-
-  template <class ElemType>
-  void AddObject(ElemType theObject);
-
-private:
-  Type myGOList;
-};
-
-//=============================================================================
-//  constructor:
-//=============================================================================
-template <class Type>
-GEOM_List_i<Type>::GEOM_List_i()
-{
-  MESSAGE("GEOM_List_i::GEOM_List_i");
-  //create an empty list
-  myGOList.length(0);
-}
-
-//=============================================================================
-//  constructor:
-//=============================================================================
-template <class Type>
-GEOM_List_i<Type>::GEOM_List_i(const Type& theListToCopy)
-{
-  int aLength = theListToCopy.length();
-  myGOList.length(aLength);
-  for (int i = 0; i < aLength; i++)
-    myGOList[i] = theListToCopy[i];
-}
-
-//=============================================================================
-//  destructor:
-//=============================================================================
-template <class Type>
-GEOM_List_i<Type>::~GEOM_List_i()
-{
-  MESSAGE("GEOM_List_i::~GEOM_List_i");
-}
-
-//=============================================================================
-//  GetList:
-//=============================================================================
-template <class Type>
-const Type& GEOM_List_i<Type>::GetList()
-{
-  MESSAGE("GEOM_List_i::GetList()");
-  return myGOList;
-}
-
-//=============================================================================
-//  AddObject:
-//=============================================================================
-template <class Type>
-template <class ElemType>
-void GEOM_List_i<Type>::AddObject(ElemType theObject)
-{
-  MESSAGE("GEOM_List_i::AddObject(...)");
-  int aLength = myGOList.length();
-  myGOList.length(aLength+1);
-  myGOList[aLength] = theObject;
-}
-
-#endif
diff --git a/src/GEOM_I_Superv/GEOM_Superv_i.cc b/src/GEOM_I_Superv/GEOM_Superv_i.cc
deleted file mode 100644 (file)
index c295e0c..0000000
+++ /dev/null
@@ -1,1918 +0,0 @@
-
-#include "GEOM_Superv_i.hh"
-#include "SALOME_LifeCycleCORBA.hxx"
-using namespace std;
-//=============================================================================
-//  constructor:
-//=============================================================================
-GEOM_Superv_i::GEOM_Superv_i(CORBA::ORB_ptr orb,
-                            PortableServer::POA_ptr poa,
-                            PortableServer::ObjectId * contId, 
-                            const char *instanceName, 
-                            const char *interfaceName) :
-  Engines_Component_i(orb, poa, contId, instanceName, interfaceName)
-{
-  MESSAGE("GEOM_Superv_i::GEOM_Superv_i");
-
-  _thisObj = this ;
-  _id = _poa->activate_object(_thisObj);
-  name_service = new SALOME_NamingService(_orb);
-  //get RootPOA (the default)
-  //myPOA = PortableServer::RefCountServantBase::_default_POA();
-  CORBA::Object_var anObj = _orb->resolve_initial_references("RootPOA");
-  myPOA = PortableServer::POA::_narrow(anObj);
-
-  setGeomEngine();
-
-  myStudyID = -1;
-
-  myBasicOp = GEOM::GEOM_IBasicOperations::_nil();
-  my3DPrimOp = GEOM::GEOM_I3DPrimOperations::_nil();
-  myBoolOp = GEOM::GEOM_IBooleanOperations::_nil();
-  myInsOp = GEOM::GEOM_IInsertOperations::_nil();
-  myTransfOp = GEOM::GEOM_ITransformOperations::_nil();
-  myShapesOp = GEOM::GEOM_IShapesOperations::_nil();
-  myBlocksOp = GEOM::GEOM_IBlocksOperations::_nil();
-  myCurvesOp = GEOM::GEOM_ICurvesOperations::_nil();
-  myLocalOp = GEOM::GEOM_ILocalOperations::_nil();
-  myGroupOp = GEOM::GEOM_IGroupOperations::_nil();
-}
-
-//=============================================================================
-//  destructor
-//=============================================================================
-GEOM_Superv_i::~GEOM_Superv_i()
-{
-  MESSAGE("GEOM_Superv_i::~GEOM_Superv_i");
-  delete name_service;
-}
-
-//============================================================================
-// function : register() 
-// purpose  : register 'name' in 'name_service'
-//============================================================================
-void GEOM_Superv_i::register_name(char * name)
-{
-  GEOM::GEOM_Superv_ptr g = GEOM::GEOM_Superv::_narrow(POA_GEOM::GEOM_Superv::_this());
-  name_service->Register(g, strdup(name)); 
-}
-
-//=============================================================================
-//  setGEOMEngine:
-//=============================================================================
-void GEOM_Superv_i::setGeomEngine()
-{
-  // get GEOM_Gen engine
-  SALOME_LifeCycleCORBA* lcc = new SALOME_LifeCycleCORBA( name_service );
-  Engines::Component_var comp = lcc->FindOrLoad_Component( "FactoryServer", "GEOM" );
-
-  myGeomEngine = GEOM::GEOM_Gen::_narrow(comp);
-}
-
-//=============================================================================
-//  SetStudyID:
-//=============================================================================
-void GEOM_Superv_i::SetStudyID( CORBA::Long theId )
-{
-  myStudyID = theId;
-}
-
-//=============================================================================
-//  CreateListOfGO:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::CreateListOfGO()
-{
-  MESSAGE("GEOM_Superv_i::CreateListOfGO()");
-  GEOM_List_i<GEOM::ListOfGO>* aListPtr = new GEOM_List_i<GEOM::ListOfGO>();
-  return aListPtr->_this();
-}
-
-//=============================================================================
-//  AddItemToListOfGO:
-//=============================================================================
-void GEOM_Superv_i::AddItemToListOfGO(GEOM::GEOM_List_ptr& theList, 
-                                     GEOM::GEOM_Object_ptr    theObject)
-{
-  MESSAGE("GEOM_Superv_i::AddItemToListOfGO(...)");
-  if (GEOM_List_i<GEOM::ListOfGO>* aList = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theList, myPOA).in())) {
-    aList->AddObject(theObject);
-    MESSAGE(" NewLength = "<<aList->GetList().length());
-  }
-}
-
-//=============================================================================
-//  CreateListOfLong:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::CreateListOfLong()
-{
-  MESSAGE("GEOM_Superv_i::CreateListOfLong()");
-  GEOM_List_i<GEOM::ListOfLong>* aListPtr = new GEOM_List_i<GEOM::ListOfLong>();
-  return aListPtr->_this();
-}
-
-//=============================================================================
-//  AddItemToListOfLong:
-//=============================================================================
-void GEOM_Superv_i::AddItemToListOfLong(GEOM::GEOM_List_ptr& theList, 
-                                       long                     theObject)
-{
-  MESSAGE("GEOM_Superv_i::AddItemToListOfLong(...)");
-  if (GEOM_List_i<GEOM::ListOfLong>* aList = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfLong>*>(GetServant(theList, myPOA).in())) {
-    aList->AddObject(theObject);
-    MESSAGE(" NewLength = "<<aList->GetList().length());
-  }
-}
-
-//=============================================================================
-//  CreateListOfDouble:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::CreateListOfDouble()
-{
-  MESSAGE("GEOM_Superv_i::CreateListOfDouble()");
-  GEOM_List_i<GEOM::ListOfDouble>* aListPtr = new GEOM_List_i<GEOM::ListOfDouble>();
-  return aListPtr->_this();
-}
-
-//=============================================================================
-//  AddItemToListOfDouble:
-//=============================================================================
-void GEOM_Superv_i::AddItemToListOfDouble(GEOM::GEOM_List_ptr& theList, 
-                                         double                   theObject)
-{
-  MESSAGE("GEOM_Superv_i::AddItemToListOfDouble(...)");
-  if (GEOM_List_i<GEOM::ListOfDouble>* aList = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfDouble>*>(GetServant(theList, myPOA).in())) {
-    aList->AddObject(theObject);
-    MESSAGE(" NewLength = "<<aList->GetList().length());
-  }
-}
-
-//=============================================================================
-//  getBasicOp:
-//=============================================================================
-void GEOM_Superv_i::getBasicOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IBasicOperations interface
-  myBasicOp = myGeomEngine->GetIBasicOperations(myStudyID);
-}
-
-//=============================================================================
-//  get3DPrimOp:
-//=============================================================================
-void GEOM_Superv_i::get3DPrimOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_I3DPrimOperations interface
-  my3DPrimOp = myGeomEngine->GetI3DPrimOperations(myStudyID);
-}
-
-//=============================================================================
-//  getBoolOp:
-//=============================================================================
-void GEOM_Superv_i::getBoolOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IBooleanOperations interface
-  myBoolOp = myGeomEngine->GetIBooleanOperations(myStudyID);
-}
-
-//=============================================================================
-//  getInsOp:
-//=============================================================================
-void GEOM_Superv_i::getInsOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IInsertOperations interface
-  myInsOp = myGeomEngine->GetIInsertOperations(myStudyID);
-}
-
-//=============================================================================
-//  getTransfOp:
-//=============================================================================
-void GEOM_Superv_i::getTransfOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_ITransformOperations interface
-  myTransfOp = myGeomEngine->GetITransformOperations(myStudyID);
-}
-
-//=============================================================================
-//  getShapesOp:
-//=============================================================================
-void GEOM_Superv_i::getShapesOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IShapesOperations interface
-  myShapesOp = myGeomEngine->GetIShapesOperations(myStudyID);
-}
-
-//=============================================================================
-//  getBlocksOp:
-//=============================================================================
-void GEOM_Superv_i::getBlocksOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IBlocksOperations interface
-  myBlocksOp = myGeomEngine->GetIBlocksOperations(myStudyID);
-}
-
-//=============================================================================
-//  getCurvesOp:
-//=============================================================================
-void GEOM_Superv_i::getCurvesOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_ICurvesOperations interface
-  myCurvesOp = myGeomEngine->GetICurvesOperations(myStudyID);
-}
-
-//=============================================================================
-//  getLocalOp:
-//=============================================================================
-void GEOM_Superv_i::getLocalOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_ILocalOperations interface
-  myLocalOp = myGeomEngine->GetILocalOperations(myStudyID);
-}
-
-//=============================================================================
-//  getGroupOp:
-//=============================================================================
-void GEOM_Superv_i::getGroupOp()
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  // get GEOM_IGroupOperations interface
-  myGroupOp = myGeomEngine->GetIGroupOperations(myStudyID);
-}
-
-//=============================================================================
-//  GetServant:
-//=============================================================================
-PortableServer::ServantBase_var GEOM_Superv_i::GetServant(CORBA::Object_ptr       theObject,
-                                                         PortableServer::POA_ptr thePOA)
-{
-  if(CORBA::is_nil(theObject))  return NULL;
-  PortableServer::Servant aServant = thePOA->reference_to_servant(theObject);
-  return aServant;
-}
-
-//============================================================================
-// function : Save()
-// purpose  : save OCAF/Geom document
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Superv_i::Save(SALOMEDS::SComponent_ptr theComponent,
-                                      const char* theURL,
-                                      bool isMultiFile)
-{
-  SALOMEDS::TMPFile_var aStreamFile;
-  return aStreamFile._retn();
-}
-
-//============================================================================
-// function : SaveASCII()
-// purpose  :
-//============================================================================ 
-SALOMEDS::TMPFile* GEOM_Superv_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent,
-                                           const char* theURL,
-                                           bool isMultiFile)
-{
-  SALOMEDS::TMPFile_var aStreamFile;
-  return aStreamFile._retn();
-}
-
-//============================================================================
-// function : Load()
-// purpose  :
-//============================================================================ 
-CORBA::Boolean GEOM_Superv_i::Load(SALOMEDS::SComponent_ptr theComponent,
-                                  const SALOMEDS::TMPFile& theStream,
-                                  const char* theURL,
-                                  bool isMultiFile)
-{
-  return false;
-}
-
-//============================================================================
-// function : LoadASCII()
-// purpose  :
-//============================================================================ 
-CORBA::Boolean GEOM_Superv_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent,
-                                       const SALOMEDS::TMPFile& theStream,
-                                       const char* theURL,
-                                       bool isMultiFile)
-{
-  return false;
-}
-
-//============================================================================
-// function : Close()
-// purpose  :
-//============================================================================
-void GEOM_Superv_i::Close(SALOMEDS::SComponent_ptr theComponent)
-{}
-
-//============================================================================
-// function : ComponentDataType()
-// purpose  :
-//============================================================================
-char* GEOM_Superv_i::ComponentDataType()
-{
-  return 0;
-}
-
-//============================================================================
-// function : IORToLocalPersistentID()
-// purpose  :
-//============================================================================
-char* GEOM_Superv_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
-                                           const char* IORString,
-                                           CORBA::Boolean isMultiFile,
-                                           CORBA::Boolean isASCII)
-{
-  return 0;
-}
-
-//============================================================================
-// function : LocalPersistentIDToIOR()
-// purpose  : Create/Load CORBA object from a persistent ref (an entry)
-//          : Used when a study is loaded
-//          : The IOR (IORName) of object created is returned
-//============================================================================
-char* GEOM_Superv_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
-                                           const char* aLocalPersistentID,
-                                           CORBA::Boolean isMultiFile,
-                                           CORBA::Boolean isASCII)
-{
-  return 0;
-}
-
-//============================================================================
-// function : CanPublishInStudy
-// purpose  : 
-//============================================================================
-bool GEOM_Superv_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  return myGeomEngine->CanPublishInStudy(theIOR);
-}
-
-//============================================================================
-// function : PublishInStudy
-// purpose  : 
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Superv_i::PublishInStudy(SALOMEDS::Study_ptr theStudy,
-                                                   SALOMEDS::SObject_ptr theSObject,
-                                                   CORBA::Object_ptr theObject,
-                                                   const char* theName) throw (SALOME::SALOME_Exception)
-{
-  if (CORBA::is_nil(myGeomEngine))
-    setGeomEngine();
-  return myGeomEngine->PublishInStudy(theStudy, theSObject, theObject, theName);
-}
-
-//============================================================================
-// function : CanCopy()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Superv_i::CanCopy(SALOMEDS::SObject_ptr theObject)
-{
-  return false;
-}
-
-//============================================================================
-// function : CopyFrom()
-// purpose  :
-//============================================================================
-SALOMEDS::TMPFile* GEOM_Superv_i::CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID)
-{
-  SALOMEDS::TMPFile_var aStreamFile;
-  return aStreamFile._retn();
-}
-
-//============================================================================
-// function : CanPaste()
-// purpose  :
-//============================================================================
-CORBA::Boolean GEOM_Superv_i::CanPaste(const char* theComponentName, CORBA::Long theObjectID)
-{
-  return false;
-}
-
-//============================================================================
-// function : PasteInto()
-// purpose  :
-//============================================================================
-SALOMEDS::SObject_ptr GEOM_Superv_i::PasteInto(const SALOMEDS::TMPFile& theStream,
-                                              CORBA::Long theObjectID,
-                                              SALOMEDS::SObject_ptr theObject)
-{
-  SALOMEDS::SObject_var aNewSO;
-  return aNewSO._retn();
-}
-
-//================= Primitives Construction : BasicOperations =================
-//=============================================================================
-//  MakePointXYZ:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePointXYZ(CORBA::Double theX,
-                                                 CORBA::Double theY,
-                                                 CORBA::Double theZ)
-{
-  MESSAGE("GEOM_Superv_i::MakePointXYZ");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  // make vertex and return
-  return myBasicOp->MakePointXYZ(theX, theY, theZ);
-}
-
-//=============================================================================
-//  MakePointWithReference:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
-                                                            CORBA::Double theX, 
-                                                            CORBA::Double theY, 
-                                                            CORBA::Double theZ)
-{
-  MESSAGE("GEOM_Superv_i::MakePointWithReference");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakePointWithReference(theReference, theX, theY, theZ);
-}
-
-//=============================================================================
-//  MakePointOnCurve:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePointOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
-                                                      CORBA::Double theParameter)
-{
-  MESSAGE("GEOM_Superv_i::MakePointOnCurve");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakePointOnCurve(theRefCurve, theParameter);
-}
-
-//=============================================================================
-//  MakeVectorDXDYDZ:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeVectorDXDYDZ (CORBA::Double theDX,
-                                                      CORBA::Double theDY,
-                                                      CORBA::Double theDZ)
-{
-  MESSAGE("GEOM_Superv_i::MakeVectorDXDYDZ");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakeVectorDXDYDZ(theDX, theDY, theDZ);
-}
-
-//=============================================================================
-//  MakeVectorTwoPnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                                      GEOM::GEOM_Object_ptr thePnt2)
-{
-  MESSAGE("GEOM_Superv_i::MakeVector");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakeVectorTwoPnt(thePnt1, thePnt2);
-}
-
-//=============================================================================
-//  MakeLineTwoPnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                                    GEOM::GEOM_Object_ptr thePnt2)
-{
-  MESSAGE("GEOM_Superv_i::MakeLineTwoPnt");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakeLineTwoPnt(thePnt1, thePnt2);
-}
-
-//=============================================================================
-//  MakePlaneThreePnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                                       GEOM::GEOM_Object_ptr thePnt2,
-                                                       GEOM::GEOM_Object_ptr thePnt3,
-                                                       CORBA::Double theTrimSize)
-{
-  MESSAGE("GEOM_Superv_i::MakePlaneThreePnt");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakePlaneThreePnt(thePnt1, thePnt2, thePnt3, theTrimSize);
-}
-
-//=============================================================================
-//  MakePlanePntVec:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
-                                                     GEOM::GEOM_Object_ptr theVec,
-                                                     CORBA::Double theTrimSize)
-{
-  MESSAGE("GEOM_Superv_i::MakePlanePntVec");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakePlanePntVec(thePnt, theVec, theTrimSize);
-}
-
-//=============================================================================
-//  MakePlaneFace:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
-                                                   CORBA::Double theTrimSize)
-{
-  MESSAGE("GEOM_Superv_i::MakePlaneFace");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakePlaneFace(theFace, theTrimSize);
-}
-
-//=============================================================================
-//  MakeMarker:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeMarker 
-(CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
- CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
- CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ)
-{
-  MESSAGE("GEOM_Superv_i::MakeMarker");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  return myBasicOp->MakeMarker(theOX, theOY, theOZ, theXDX, theXDY, theXDZ, theYDX, theYDY, theYDZ);
-}
-
-//================= Primitives Construction : 3DPrimOperations ================
-//=============================================================================
-//  MakeBox:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeBox (CORBA::Double theX1,
-                                             CORBA::Double theY1,
-                                             CORBA::Double theZ1,
-                                             CORBA::Double theX2,
-                                             CORBA::Double theY2,
-                                             CORBA::Double theZ2)
-{
-  MESSAGE("GEOM_Superv_i::MakeBox");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeBoxTwoPnt(myBasicOp->MakePointXYZ(theX1, theY1, theZ1),
-                                  myBasicOp->MakePointXYZ(theX2, theY2, theZ2));
-}
-
-//=============================================================================
-//  MakeBoxDXDYDZ:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeBoxDXDYDZ (CORBA::Double theDX, 
-                                                   CORBA::Double theDY, 
-                                                   CORBA::Double theDZ)
-{
-  MESSAGE("GEOM_Superv_i::MakeBoxDXDYDZ");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeBoxDXDYDZ(theDX, theDY, theDZ);
-}
-
-//=============================================================================
-//  MakeBoxTwoPnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1, 
-                                                   GEOM::GEOM_Object_ptr thePnt2)
-{
-  MESSAGE("GEOM_Superv_i::MakeBoxTwoPnt");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeBoxTwoPnt(thePnt1, thePnt2);
-}
-
-//=============================================================================
-//  MakeCylinderPntVecRH:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
-                                                          GEOM::GEOM_Object_ptr theAxis,
-                                                          CORBA::Double theRadius,
-                                                          CORBA::Double theHeight)
-{
-  MESSAGE("GEOM_Superv_i::MakeCylinderPntVecRH");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeCylinderPntVecRH(thePnt, theAxis, theRadius, theHeight); 
-}
-
-//=============================================================================
-//  MakeCylinderRH:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCylinderRH (CORBA::Double theR, 
-                                                    CORBA::Double theH)
-{
-  MESSAGE("GEOM_Superv_i::MakeCylinderRH");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeCylinderRH(theR, theH); 
-}
-
-//=============================================================================
-//  MakeSphere:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSphere  (CORBA::Double theX,
-                                                 CORBA::Double theY,
-                                                 CORBA::Double theZ,
-                                                 CORBA::Double theRadius)
-{
-  MESSAGE("GEOM_Superv_i::MakeSphepe");
-  if (CORBA::is_nil(myBasicOp)) getBasicOp();
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeSpherePntR(myBasicOp->MakePointXYZ(theX, theY, theZ), theRadius);
-}
-
-//=============================================================================
-//  MakeSphereR:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSphereR (CORBA::Double theR)
-{
-  MESSAGE("GEOM_Superv_i::MakeSphereR");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeSphereR(theR);
-}
-
-//=============================================================================
-//  MakeSpherePntR:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt, 
-                                                    CORBA::Double theR)
-{
-  MESSAGE("GEOM_Superv_i::MakeSpherePntR");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeSpherePntR(thePnt, theR);
-}
-
-//=============================================================================
-//  MakeTorusPntVecRR:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeTorusPntVecRR (GEOM::GEOM_Object_ptr thePnt,
-                                                       GEOM::GEOM_Object_ptr theVec,
-                                                       CORBA::Double theRMajor,
-                                                       CORBA::Double theRMinor)
-{
-  MESSAGE("GEOM_Superv_i::MakeTorusPntVecRR");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeTorusPntVecRR(thePnt, theVec, theRMajor, theRMinor);
-}
-
-//=============================================================================
-//  MakeTorusRR:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeTorusRR (CORBA::Double theRMajor,
-                                                 CORBA::Double theRMinor)
-{
-  MESSAGE("GEOM_Superv_i::MakeTorusRR");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeTorusRR(theRMajor, theRMinor);
-}
-
-//=============================================================================
-//  MakeConePntVecR1R2H:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
-                                                         GEOM::GEOM_Object_ptr theAxis,
-                                                         CORBA::Double theR1,
-                                                         CORBA::Double theR2,
-                                                         CORBA::Double theHeight)
-{
-  MESSAGE("GEOM_Superv_i::MakeConePntVecR1R2H");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeConePntVecR1R2H(thePnt, theAxis, theR1, theR2, theHeight);
-}
-
-//=============================================================================
-//  MakeConeR1R2H:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeConeR1R2H (CORBA::Double theR1, 
-                                                   CORBA::Double theR2, 
-                                                   CORBA::Double theHeight)
-{
-  MESSAGE("GEOM_Superv_i::MakeConeR1R2H");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeConeR1R2H(theR1, theR2, theHeight);
-}
-
-//=============================================================================
-//  MakePrismVecH:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
-                                                   GEOM::GEOM_Object_ptr theVec,
-                                                   CORBA::Double         theH)
-{
-  MESSAGE("GEOM_Superv_i::MakePrismVecH");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakePrismVecH(theBase, theVec, theH);
-}
-
-
-//=============================================================================
-//  MakePrismTwoPnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
-                                                     GEOM::GEOM_Object_ptr thePoint1,
-                                                     GEOM::GEOM_Object_ptr thePoint2)
-{
-  MESSAGE("GEOM_Superv_i::MakePrismTwoPnt");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakePrismTwoPnt(theBase, thePoint1, thePoint2);
-}
-
-//=============================================================================
-//  MakePipe:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePipe (GEOM::GEOM_Object_ptr theBase, 
-                                              GEOM::GEOM_Object_ptr thePath)
-{
-  MESSAGE("GEOM_Superv_i::MakePipe");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakePipe(theBase, thePath);
-}
-
-//=============================================================================
-//  MakeRevolutionAxisAngle:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
-                                                             GEOM::GEOM_Object_ptr theAxis,
-                                                             CORBA::Double theAngle)
-{
-  MESSAGE("GEOM_Superv_i::MakeRevolutionAxisAngle");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeRevolutionAxisAngle(theBase, theAxis, theAngle);
-}
-
-//=============================================================================
-//  MakeFilling:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFilling (GEOM::GEOM_Object_ptr theShape,
-                                                 CORBA::Long theMinDeg, CORBA::Long theMaxDeg,
-                                                 CORBA::Double theTol2D, CORBA::Double theTol3D,
-                                                 CORBA::Long theNbIter)
-{
-  MESSAGE("GEOM_Superv_i::MakeFilling");
-  if (CORBA::is_nil(my3DPrimOp)) get3DPrimOp();
-  return my3DPrimOp->MakeFilling(theShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter);
-}
-
-//============================= BooleanOperations =============================
-//=============================================================================
-//  MakeBoolean:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeBoolean (GEOM::GEOM_Object_ptr theShape1,
-                                                 GEOM::GEOM_Object_ptr theShape2,
-                                                 CORBA::Long theOperation)
-{
-  // theOperation indicates the operation to be done:
-  // 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section
-  MESSAGE("GEOM_Superv_i::MakeBoolean");
-  if (CORBA::is_nil(myBoolOp)) getBoolOp();
-  return myBoolOp->MakeBoolean(theShape1, theShape2, theOperation);
-}
-
-//=============================================================================
-//  MakeFuse:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFuse (GEOM::GEOM_Object_ptr theShape1,
-                                              GEOM::GEOM_Object_ptr theShape2)
-{
-  MESSAGE("GEOM_Superv_i::MakeFuse");
-  if (CORBA::is_nil(myBoolOp)) getBoolOp();
-  return myBoolOp->MakeBoolean(theShape1, theShape2, 3);
-}
-
-//=============================================================================
-//  MakePartition:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePartition (GEOM::GEOM_List_ptr   theShapes,
-                                                   GEOM::GEOM_List_ptr   theTools,
-                                                   GEOM::GEOM_List_ptr   theKeepInside,
-                                                   GEOM::GEOM_List_ptr   theRemoveInside,
-                                                   CORBA::Short      theLimit,
-                                                   CORBA::Boolean    theRemoveWebs,
-                                                   GEOM::GEOM_List_ptr theMaterials)
-{
-  MESSAGE("GEOM_Superv_i::MakePartition");
-  GEOM_List_i<GEOM::ListOfGO>* aListImplS = 
-    dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theShapes, myPOA).in());
-  GEOM_List_i<GEOM::ListOfGO>* aListImplT = 
-    dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theTools, myPOA).in());
-  GEOM_List_i<GEOM::ListOfGO>* aListImplKI = 
-    dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theKeepInside, myPOA).in());
-  GEOM_List_i<GEOM::ListOfGO>* aListImplRI = 
-    dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theRemoveInside, myPOA).in());
-  GEOM_List_i<GEOM::ListOfLong>* aListImplM = 
-    dynamic_cast<GEOM_List_i<GEOM::ListOfLong>*>(GetServant(theMaterials, myPOA).in());
-  if (aListImplS && aListImplT && aListImplKI && aListImplRI && aListImplM) {
-    if (CORBA::is_nil(myBoolOp)) getBoolOp();
-    return myBoolOp->MakePartition(aListImplS->GetList(), aListImplT->GetList(), 
-                                  aListImplKI->GetList(), aListImplRI->GetList(),
-                                  theLimit, theRemoveWebs, aListImplM->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeHalfPartition:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeHalfPartition (GEOM::GEOM_Object_ptr theShape,
-                                                       GEOM::GEOM_Object_ptr thePlane)
-{
-  MESSAGE("GEOM_Superv_i::MakeHalfPartition");
-  if (CORBA::is_nil(myBoolOp)) getBoolOp();
-  return myBoolOp->MakeHalfPartition(theShape, thePlane);
-}
-
-//============================== InsertOperations =============================
-//=============================================================================
-//  MakeCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCopy (GEOM::GEOM_Object_ptr theOriginal)
-{
-  MESSAGE("GEOM_Superv_i::MakeCopy");
-  if (CORBA::is_nil(myInsOp)) getInsOp();
-  return myInsOp->MakeCopy(theOriginal);
-}
-
-//=============================================================================
-//  Export:
-//=============================================================================
-void GEOM_Superv_i::Export (GEOM::GEOM_Object_ptr theObject, 
-                           const char*           theFileName, 
-                           const char*           theFormatName)
-{
-  MESSAGE("GEOM_Superv_i::Export");
-  if (CORBA::is_nil(myInsOp)) getInsOp();
-  myInsOp->Export(theObject, theFileName, theFormatName);
-}
-
-//=============================================================================
-//  Import:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::Import (const char* theFileName, 
-                                            const char* theFormatName)
-{
-  MESSAGE("GEOM_Superv_i::Import");
-  if (CORBA::is_nil(myInsOp)) getInsOp();
-  return myInsOp->Import(theFileName, theFormatName);
-}
-
-//=============================================================================
-//  ImportTranslators:
-//=============================================================================
-void GEOM_Superv_i::ImportTranslators (GEOM::string_array_out theFormats,
-                                      GEOM::string_array_out thePatterns)
-{
-  MESSAGE("GEOM_Superv_i::ImportTranslators");
-  if (CORBA::is_nil(myInsOp)) getInsOp();
-  myInsOp->ImportTranslators(theFormats, thePatterns);
-}
-
-//=============================================================================
-//  ExportTranslators:
-//=============================================================================
-void GEOM_Superv_i::ExportTranslators (GEOM::string_array_out theFormats,
-                                      GEOM::string_array_out thePatterns)
-{
-  MESSAGE("GEOM_Superv_i::ExportTranslators");
-  if (CORBA::is_nil(myInsOp)) getInsOp();
-  myInsOp->ExportTranslators(theFormats, thePatterns);
-}
-
-//============================= TransformOperations ===========================
-//=============================================================================
-//  TranslateTwoPoints:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
-                                                        GEOM::GEOM_Object_ptr thePoint1,
-                                                        GEOM::GEOM_Object_ptr thePoint2)
-{
-  MESSAGE("GEOM_Superv_i::TranslateTwoPoints");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateTwoPoints(theObject, thePoint1, thePoint2);
-}
-
-//=============================================================================
-//  TranslateTwoPointsCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
-                                                            GEOM::GEOM_Object_ptr thePoint1,
-                                                            GEOM::GEOM_Object_ptr thePoint2)
-{
-  MESSAGE("GEOM_Superv_i::TranslateTwoPointsCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateTwoPointsCopy(theObject, thePoint1, thePoint2);
-}
-
-//=============================================================================
-//  TranslateDXDYDZ:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject,
-                                                     CORBA::Double theDX, 
-                                                     CORBA::Double theDY, 
-                                                     CORBA::Double theDZ)
-{
-  MESSAGE("GEOM_Superv_i::TranslateDXDYDZ");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateDXDYDZ(theObject, theDX, theDY, theDZ);
-}
-
-//=============================================================================
-//  TranslateDXDYDZCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,
-                                                         CORBA::Double theDX, 
-                                                         CORBA::Double theDY, 
-                                                         CORBA::Double theDZ)
-{
-  MESSAGE("GEOM_Superv_i::TranslateDXDYDZCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateDXDYDZCopy(theObject, theDX, theDY, theDZ);
-}
-
-//=============================================================================
-//  TranslateVector:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateVector (GEOM::GEOM_Object_ptr theObject,
-                                                     GEOM::GEOM_Object_ptr theVector)
-{
-  MESSAGE("GEOM_Superv_i::TranslateVector");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateVector(theObject, theVector);
-}
-
-//=============================================================================
-//  TranslateVectorCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
-                                                         GEOM::GEOM_Object_ptr theVector)
-{
-  MESSAGE("GEOM_Superv_i::TranslateVectorCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->TranslateVectorCopy(theObject, theVector);
-}
-
-//=============================================================================
-//  MultiTranslate1D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
-                                                      GEOM::GEOM_Object_ptr theVector,
-                                                      CORBA::Double theStep,
-                                                      CORBA::Long theNbTimes)
-{
-  MESSAGE("GEOM_Superv_i::MultiTranslate1D");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MultiTranslate1D(theObject, theVector, theStep, theNbTimes);
-}
-
-//=============================================================================
-//  MultiTranslate2D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MultiTranslate2D (GEOM::GEOM_Object_ptr theObject,
-                                                      GEOM::GEOM_Object_ptr theVector1,
-                                                      CORBA::Double theStep1,
-                                                      CORBA::Long theNbTimes1,
-                                                      GEOM::GEOM_Object_ptr theVector2,
-                                                      CORBA::Double theStep2,
-                                                      CORBA::Long theNbTimes2)
-{
-  MESSAGE("GEOM_Superv_i::MultiTranslate2D");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MultiTranslate2D(theObject, theVector1, theStep1, theNbTimes1,
-                                     theVector2, theStep2, theNbTimes2);
-}
-
-//=============================================================================
-//  Rotate:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::Rotate (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theAxis,
-                                            CORBA::Double theAngle)
-{
-  MESSAGE("GEOM_Superv_i::Rotate");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->Rotate(theObject, theAxis, theAngle);
-}
-
-//=============================================================================
-//  RotateCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::RotateCopy (GEOM::GEOM_Object_ptr theObject,
-                                                GEOM::GEOM_Object_ptr theAxis,
-                                                CORBA::Double theAngle)
-{
-  MESSAGE("GEOM_Superv_i::RotateCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->RotateCopy(theObject, theAxis, theAngle);
-}
-
-//=============================================================================
-//  MultiRotate1D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
-                                                   GEOM::GEOM_Object_ptr theAxis,
-                                                   CORBA::Long theNbTimes)
-{
-  MESSAGE("GEOM_Superv_i::MultiRotate1D");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MultiRotate1D(theObject, theAxis, theNbTimes);
-}
-
-//=============================================================================
-//  MultiRotate2D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
-                                                   GEOM::GEOM_Object_ptr theAxis,
-                                                   CORBA::Double theAngle,
-                                                   CORBA::Long theNbTimes1,
-                                                   CORBA::Double theStep,
-                                                   CORBA::Long theNbTimes2)
-{
-  MESSAGE("GEOM_Superv_i::MultiRotate2D");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MultiRotate2D(theObject, theAxis, theAngle, theNbTimes1, theStep, theNbTimes2);
-}
-
-//=============================================================================
-//  MirrorPlane:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorPlane (GEOM::GEOM_Object_ptr theObject, 
-                                                 GEOM::GEOM_Object_ptr thePlane)
-{
-  MESSAGE("GEOM_Superv_i::MirrorPlane");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorPlane(theObject, thePlane);
-}
-
-//=============================================================================
-//  MirrorPlaneCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject, 
-                                                     GEOM::GEOM_Object_ptr thePlane)
-{
-  MESSAGE("GEOM_Superv_i::MirrorPlaneCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorPlaneCopy(theObject, thePlane);
-}
-
-//=============================================================================
-//  MirrorAxis:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorAxis (GEOM::GEOM_Object_ptr theObject, 
-                                                GEOM::GEOM_Object_ptr theAxis)
-{
-  MESSAGE("GEOM_Superv_i::MirrorAxis");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorAxis(theObject, theAxis);
-}
-
-//=============================================================================
-//  MirrorAxisCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject, 
-                                                    GEOM::GEOM_Object_ptr theAxis)
-{
-  MESSAGE("GEOM_Superv_i::MirrorAxisCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorAxisCopy(theObject, theAxis);
-}
-
-//=============================================================================
-//  MirrorPoint:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorPoint (GEOM::GEOM_Object_ptr theObject, 
-                                                 GEOM::GEOM_Object_ptr thePoint)
-{
-  MESSAGE("GEOM_Superv_i::MirrorPoint");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorPoint(theObject, thePoint);
-}
-
-//=============================================================================
-//  MirrorPointCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MirrorPointCopy (GEOM::GEOM_Object_ptr theObject, 
-                                                     GEOM::GEOM_Object_ptr thePoint)
-{
-  MESSAGE("GEOM_Superv_i::MirrorPointCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->MirrorPointCopy(theObject, thePoint);
-}
-
-//=============================================================================
-//  OffsetShape:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::OffsetShape (GEOM::GEOM_Object_ptr theObject, 
-                                                 CORBA::Double theOffset)
-{
-  MESSAGE("GEOM_Superv_i::OffsetShape");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->OffsetShape(theObject, theOffset);
-}
-
-//=============================================================================
-//  OffsetShapeCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject, 
-                                                     CORBA::Double theOffset)
-{
-  MESSAGE("GEOM_Superv_i::OffsetShapeCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->OffsetShapeCopy(theObject, theOffset);
-}
-
-//=============================================================================
-//  ScaleShape:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::ScaleShape (GEOM::GEOM_Object_ptr theObject, 
-                                                GEOM::GEOM_Object_ptr thePoint,
-                                                CORBA::Double theFactor)
-{
-  MESSAGE("GEOM_Superv_i::ScaleShape");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->ScaleShape(theObject, thePoint, theFactor);
-}
-
-//=============================================================================
-//  ScaleShapeCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject, 
-                                                    GEOM::GEOM_Object_ptr thePoint,
-                                                    CORBA::Double theFactor)
-{
-  MESSAGE("GEOM_Superv_i::ScaleShapeCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->ScaleShapeCopy(theObject, thePoint, theFactor);
-}
-
-//=============================================================================
-//  PositionShape:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::PositionShape (GEOM::GEOM_Object_ptr theObject,
-                                                   GEOM::GEOM_Object_ptr theStartLCS,
-                                                   GEOM::GEOM_Object_ptr theEndLCS)
-{
-  MESSAGE("GEOM_Superv_i::PositionShape");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->PositionShape(theObject, theStartLCS, theEndLCS);
-}
-
-//=============================================================================
-//  PositionShapeCopy:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
-                                                       GEOM::GEOM_Object_ptr theStartLCS,
-                                                       GEOM::GEOM_Object_ptr theEndLCS)
-{
-  MESSAGE("GEOM_Superv_i::PositionShapeCopy");
-  if (CORBA::is_nil(myTransfOp)) getTransfOp();
-  return myTransfOp->PositionShapeCopy(theObject, theStartLCS, theEndLCS);
-}
-
-//=============================== ShapesOperations ============================
-//=============================================================================
-//  Make:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
-                                              GEOM::GEOM_Object_ptr thePnt2)
-{
-  MESSAGE("GEOM_Superv_i::MakeEdge");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->MakeEdge(thePnt1, thePnt2);
-}
-
-//=============================================================================
-//  MakeWire:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeWire (GEOM::GEOM_List_ptr theEdgesAndWires)
-{
-  MESSAGE("GEOM_Superv_i::MakeWire");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplEW = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theEdgesAndWires, myPOA).in())) {
-    if (CORBA::is_nil(myShapesOp)) getShapesOp();
-    return myShapesOp->MakeWire(aListImplEW->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeFace:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFace (GEOM::GEOM_Object_ptr theWire,
-                                              CORBA::Boolean isPlanarWanted)
-{
-  MESSAGE("GEOM_Superv_i::MakeFace");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->MakeFace(theWire, isPlanarWanted);
-}
-
-//=============================================================================
-//  MakeFaceWires:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFaceWires (GEOM::GEOM_List_ptr theWires,
-                                                   CORBA::Boolean isPlanarWanted)
-{
-  MESSAGE("GEOM_Superv_i::MakeFaceWires");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplW = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theWires, myPOA).in())) {
-    if (CORBA::is_nil(myShapesOp)) getShapesOp();
-    return myShapesOp->MakeFaceWires(aListImplW->GetList(), isPlanarWanted);
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeShell:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeShell (GEOM::GEOM_List_ptr theFacesAndShells)
-{
-  MESSAGE("GEOM_Superv_i::MakeShell");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplFS = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theFacesAndShells, myPOA).in())) {
-    if (CORBA::is_nil(myShapesOp)) getShapesOp();
-    return myShapesOp->MakeShell(aListImplFS->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeSolidShell:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSolidShell (GEOM::GEOM_Object_ptr theShell)
-{
-  MESSAGE("GEOM_Superv_i::MakeSolidShell");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->MakeSolidShell(theShell);
-}
-
-//=============================================================================
-//  MakeSolidShells:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSolidShells (GEOM::GEOM_List_ptr theShells)
-{
-  MESSAGE("GEOM_Superv_i::MakeSolidShells");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplS = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theShells, myPOA).in())) {
-    if (CORBA::is_nil(myShapesOp)) getShapesOp();
-    return myShapesOp->MakeSolidShells(aListImplS->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeCompound:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCompound (GEOM::GEOM_List_ptr theShapes)
-{
-  MESSAGE("GEOM_Superv_i::MakeCompound");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImpl = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theShapes, myPOA).in())) {
-    if (CORBA::is_nil(myShapesOp)) getShapesOp();
-    return myShapesOp->MakeCompound(aListImpl->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeGlueFaces:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
-                                                               CORBA::Double   theTolerance)
-{
-  MESSAGE("GEOM_Superv_i::MakeGlueFaces");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->MakeGlueFaces(theShape, theTolerance);
-}
-
-//=============================================================================
-//  MakeExplode:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::MakeExplode (GEOM::GEOM_Object_ptr theShape,
-                                                   CORBA::Long theShapeType,
-                                                   CORBA::Boolean isSorted)
-{
-  MESSAGE("GEOM_Superv_i::MakeExplode");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-
-  GEOM::ListOfGO* aList = myShapesOp->MakeExplode(theShape, theShapeType, isSorted);
-  GEOM_List_i<GEOM::ListOfGO>* aListPtr = new GEOM_List_i<GEOM::ListOfGO>(*(aList));
-  MESSAGE(" List of "<<aListPtr->GetList().length()<<" element(s)");
-  return aListPtr->_this();
-}
-
-//=============================================================================
-//  NumberOfFaces:
-//=============================================================================
-CORBA::Long GEOM_Superv_i::NumberOfFaces (GEOM::GEOM_Object_ptr theShape)
-{
-  MESSAGE("GEOM_Superv_i::NumberOfFaces");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->NumberOfFaces(theShape);
-}
-
-//=============================================================================
-//  NumberOfEdges:
-//=============================================================================
-CORBA::Long GEOM_Superv_i::NumberOfEdges (GEOM::GEOM_Object_ptr theShape)
-{
-  MESSAGE("GEOM_Superv_i::NumberOfEdges");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->NumberOfEdges(theShape);
-}
-
-//=============================================================================
-//  ChangeOrientation:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::ChangeOrientation (GEOM::GEOM_Object_ptr theShape)
-{
-  MESSAGE("GEOM_Superv_i::ChangeOrientation");
-  if (CORBA::is_nil(myShapesOp)) getShapesOp();
-  return myShapesOp->ChangeOrientation(theShape);
-}
-
-
-//=============================== BlocksOperations ============================
-//=============================================================================
-//  MakeQuad4Vertices:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeQuad4Vertices (GEOM::GEOM_Object_ptr thePnt1,
-                                                       GEOM::GEOM_Object_ptr thePnt2,
-                                                       GEOM::GEOM_Object_ptr thePnt3,
-                                                       GEOM::GEOM_Object_ptr thePnt4)
-{
-  MESSAGE("GEOM_Superv_i::MakeQuad4Vertices");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeQuad4Vertices(thePnt1, thePnt2, thePnt3, thePnt4);
-}
-
-//=============================================================================
-//  MakeQuad:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeQuad (GEOM::GEOM_Object_ptr theEdge1,
-                                              GEOM::GEOM_Object_ptr theEdge2,
-                                              GEOM::GEOM_Object_ptr theEdge3,
-                                              GEOM::GEOM_Object_ptr theEdge4)
-{
-  MESSAGE("GEOM_Superv_i::MakeQuad");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeQuad(theEdge1, theEdge2, theEdge3, theEdge4);
-}
-
-//=============================================================================
-//  MakeQuad2Edges:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeQuad2Edges (GEOM::GEOM_Object_ptr theEdge1,
-                                                    GEOM::GEOM_Object_ptr theEdge2)
-{
-  MESSAGE("GEOM_Superv_i::MakeQuad2Edges");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeQuad2Edges(theEdge1, theEdge2);
-}
-
-//=============================================================================
-//  MakeHexa:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeHexa (GEOM::GEOM_Object_ptr theFace1,
-                                              GEOM::GEOM_Object_ptr theFace2,
-                                              GEOM::GEOM_Object_ptr theFace3,
-                                              GEOM::GEOM_Object_ptr theFace4,
-                                              GEOM::GEOM_Object_ptr theFace5,
-                                              GEOM::GEOM_Object_ptr theFace6)
-{
-  MESSAGE("GEOM_Superv_i::MakeHexa");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeHexa(theFace1, theFace2, theFace3, theFace4, theFace5, theFace6);
-}
-
-//=============================================================================
-//  MakeHexa2Faces:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeHexa2Faces (GEOM::GEOM_Object_ptr theFace1,
-                                                    GEOM::GEOM_Object_ptr theFace2)
-{
-  MESSAGE("GEOM_Superv_i::MakeHexa2Faces");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeHexa2Faces(theFace1, theFace2);
-}
-
-//=============================================================================
-//  GetPoint:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetPoint (GEOM::GEOM_Object_ptr theShape,
-                                              CORBA::Double   theX,
-                                              CORBA::Double   theY,
-                                              CORBA::Double   theZ,
-                                              CORBA::Double   theEpsilon)
-{
-  MESSAGE("GEOM_Superv_i::GetPoint");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetPoint(theShape, theX, theY, theZ, theEpsilon);
-}
-
-//=============================================================================
-//  GetEdge:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetEdge (GEOM::GEOM_Object_ptr theShape,
-                                             GEOM::GEOM_Object_ptr thePoint1,
-                                             GEOM::GEOM_Object_ptr thePoint2)
-{
-  MESSAGE("GEOM_Superv_i::GetEdge");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetEdge(theShape, thePoint1, thePoint2);
-}
-
-//=============================================================================
-//  GetEdgeNearPoint:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetEdgeNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                                      GEOM::GEOM_Object_ptr thePoint)
-{
-  MESSAGE("GEOM_Superv_i::GetEdgeNearPoint");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetEdgeNearPoint(theShape, thePoint);
-}
-
-//=============================================================================
-//  GetFaceByPoints:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetFaceByPoints (GEOM::GEOM_Object_ptr theShape,
-                                                     GEOM::GEOM_Object_ptr thePoint1,
-                                                     GEOM::GEOM_Object_ptr thePoint2,
-                                                     GEOM::GEOM_Object_ptr thePoint3,
-                                                     GEOM::GEOM_Object_ptr thePoint4)
-{
-  MESSAGE("GEOM_Superv_i::GetFaceByPoints");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetFaceByPoints(theShape, thePoint1, thePoint2, thePoint3, thePoint4);
-}
-
-//=============================================================================
-//  GetFaceByEdges:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetFaceByEdges (GEOM::GEOM_Object_ptr theShape,
-                                                    GEOM::GEOM_Object_ptr theEdge1,
-                                                    GEOM::GEOM_Object_ptr theEdge2)
-{
-  MESSAGE("GEOM_Superv_i::GetFaceByEdges");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetFaceByEdges(theShape, theEdge1, theEdge2);
-}
-
-//=============================================================================
-//  GetOppositeFace:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetOppositeFace (GEOM::GEOM_Object_ptr theBlock,
-                                                     GEOM::GEOM_Object_ptr theFace)
-{
-  MESSAGE("GEOM_Superv_i::GetOppositeFace");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetOppositeFace(theBlock, theFace);
-}
-
-//=============================================================================
-//  GetFaceNearPoint:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                                      GEOM::GEOM_Object_ptr thePoint)
-{
-  MESSAGE("GEOM_Superv_i::GetFaceNearPoint");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetFaceNearPoint(theShape, thePoint);
-}
-
-//=============================================================================
-//  GetFaceByNormale:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
-                                                      GEOM::GEOM_Object_ptr theVector)
-{
-  MESSAGE("GEOM_Superv_i::GetFaceByNormale");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetFaceByNormale(theBlock, theVector);
-}
-
-//=============================================================================
-//  IsCompoundOfBlocks:
-//=============================================================================
-CORBA::Boolean GEOM_Superv_i::IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                                 CORBA::Long     theMinNbFaces,
-                                                 CORBA::Long     theMaxNbFaces,
-                                                 CORBA::Long&          theNbBlocks)
-{
-  MESSAGE("GEOM_Superv_i::IsCompoundOfBlocks");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->IsCompoundOfBlocks(theCompound, theMinNbFaces, theMaxNbFaces, theNbBlocks);
-}
-
-//=============================================================================
-//  CheckCompoundOfBlocks:
-//=============================================================================
-CORBA::Boolean GEOM_Superv_i::CheckCompoundOfBlocks 
-(GEOM::GEOM_Object_ptr theCompound,
- GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors)
-{
-  MESSAGE("GEOM_Superv_i::CheckCompoundOfBlocks");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->CheckCompoundOfBlocks(theCompound, theErrors);
-}
-
-//=============================================================================
-//  PrintBCErrors:
-//=============================================================================
-char* GEOM_Superv_i::PrintBCErrors (GEOM::GEOM_Object_ptr theCompound,
-                                   const GEOM::GEOM_IBlocksOperations::BCErrors& theErrors)
-{
-  MESSAGE("GEOM_Superv_i::PrintBCErrors");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->PrintBCErrors(theCompound, theErrors);
-}
-
-//=============================================================================
-//  ExplodeCompoundOfBlocks:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                                               CORBA::Long     theMinNbFaces,
-                                                               CORBA::Long     theMaxNbFaces)
-{
-  MESSAGE("GEOM_Superv_i::ExplodeCompoundOfBlocks");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  GEOM::ListOfGO* aBlocks = myBlocksOp->ExplodeCompoundOfBlocks(theCompound, theMinNbFaces, theMaxNbFaces);
-  GEOM_List_i<GEOM::ListOfGO>* aListPtr = new GEOM_List_i<GEOM::ListOfGO>(*(aBlocks));
-  return aListPtr->_this();
-}
-
-//=============================================================================
-//  GetBlockNearPoint:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
-                                                       GEOM::GEOM_Object_ptr thePoint)
-{
-  MESSAGE("GEOM_Superv_i::GetBlockNearPoint");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->GetBlockNearPoint(theCompound, thePoint);
-}
-
-//=============================================================================
-//  GetBlockByParts:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
-                                                     GEOM::GEOM_List_ptr theParts)
-{
-  MESSAGE("GEOM_Superv_i::GetBlockByParts");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theParts, myPOA).in())) {
-    if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-    return myBlocksOp->GetBlockByParts(theCompound, aListImplP->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  GetBlocksByParts:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
-                                                        GEOM::GEOM_List_ptr theParts)
-{
-  MESSAGE("GEOM_Superv_i::GetBlocksByParts");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theParts, myPOA).in())) {
-    if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-    
-    GEOM::ListOfGO* aBlocks = myBlocksOp->GetBlocksByParts(theCompound, aListImplP->GetList());
-    GEOM_List_i<GEOM::ListOfGO>* aListPtr = new GEOM_List_i<GEOM::ListOfGO>(*(aBlocks));
-    return aListPtr->_this();
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeMultiTransformation1D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
-                                                               CORBA::Long     theDirFace1,
-                                                               CORBA::Long     theDirFace2,
-                                                               CORBA::Long     theNbTimes)
-{
-  MESSAGE("GEOM_Superv_i::MakeMultiTransformation1D");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeMultiTransformation1D(theBlock, theDirFace1, theDirFace2, theNbTimes);
-}
-
-//=============================================================================
-//  MakeMultiTransformation2D:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeMultiTransformation2D 
-(GEOM::GEOM_Object_ptr theBlock,
- CORBA::Long     theDirFace1U,
- CORBA::Long     theDirFace2U,
- CORBA::Long     theNbTimesU,
- CORBA::Long     theDirFace1V,
- CORBA::Long     theDirFace2V,
- CORBA::Long     theNbTimesV)
-{
-  MESSAGE("GEOM_Superv_i::MakeMultiTransformation2D");
-  if (CORBA::is_nil(myBlocksOp)) getBlocksOp();
-  return myBlocksOp->MakeMultiTransformation2D(theBlock, 
-                                              theDirFace1U, theDirFace2U, theNbTimesU,
-                                              theDirFace1V, theDirFace2V, theNbTimesV);
-}
-
-//=============================== CurvesOperations ============================
-//=============================================================================
-//  MakeCirclePntVecR:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCirclePntVecR (GEOM::GEOM_Object_ptr theCenter,
-                                                       GEOM::GEOM_Object_ptr theVector,
-                                                       CORBA::Double theR)
-{
-  MESSAGE("GEOM_Superv_i::MakeCirclePntVecR");
-  if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-  return myCurvesOp->MakeCirclePntVecR(theCenter, theVector, theR);
-}
-
-//=============================================================================
-//  MakeCircleThreePnt:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeCircleThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                                        GEOM::GEOM_Object_ptr thePnt2,
-                                                        GEOM::GEOM_Object_ptr thePnt3)
-{
-  MESSAGE("GEOM_Superv_i::MakeCircleThreePnt");
-  if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-  return myCurvesOp->MakeCircleThreePnt(thePnt1, thePnt2, thePnt3);
-}
-
-//=============================================================================
-//  MakeEllipse:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeEllipse (GEOM::GEOM_Object_ptr theCenter,
-                                                 GEOM::GEOM_Object_ptr theVector,
-                                                 CORBA::Double theRMajor, 
-                                                 CORBA::Double theRMinor)
-{
-  MESSAGE("GEOM_Superv_i::MakeEllipse");
-  if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-  return myCurvesOp->MakeEllipse(theCenter, theVector, theRMajor, theRMinor);
-}
-
-//=============================================================================
-//  MakeArc:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeArc (GEOM::GEOM_Object_ptr thePnt1,
-                                             GEOM::GEOM_Object_ptr thePnt2,
-                                             GEOM::GEOM_Object_ptr thePnt3)
-{
-  MESSAGE("GEOM_Superv_i::MakeArc");
-  if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-  return myCurvesOp->MakeArc(thePnt1, thePnt2, thePnt3);
-}
-
-//=============================================================================
-//  MakePolyline:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePolyline (GEOM::GEOM_List_ptr thePoints)
-{
-  MESSAGE("GEOM_Superv_i::MakePolyline");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(thePoints, myPOA).in())) {
-    if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-    return myCurvesOp->MakePolyline(aListImplP->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeSplineBezier:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSplineBezier (GEOM::GEOM_List_ptr thePoints)
-{
-  MESSAGE("GEOM_Superv_i::MakeSplineBezier");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(thePoints, myPOA).in())) {
-    if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-    return myCurvesOp->MakeSplineBezier(aListImplP->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeSplineInterpolation:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSplineInterpolation (GEOM::GEOM_List_ptr thePoints)
-{
-  MESSAGE("GEOM_Superv_i::MakeSplineInterpolation");
-  if (GEOM_List_i<GEOM::ListOfGO>* aListImplP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(thePoints, myPOA).in())) {
-    if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-    return myCurvesOp->MakeSplineInterpolation(aListImplP->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeSketcher:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeSketcher (const char* theCommand, 
-                                                  GEOM::GEOM_List_ptr theWorkingPlane)
-{
-  MESSAGE("GEOM_Superv_i::MakeSketcher");
-  if (GEOM_List_i<GEOM::ListOfDouble>* aListImplWP = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfDouble>*>(GetServant(theWorkingPlane, myPOA).in())) {
-    if (CORBA::is_nil(myCurvesOp)) getCurvesOp();
-    return myCurvesOp->MakeSketcher(theCommand, aListImplWP->GetList());
-  }
-  return NULL;
-}
-
-//=============================== LocalOperations =============================
-//=============================================================================
-//  MakeFilletAll:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFilletAll (GEOM::GEOM_Object_ptr theShape,
-                                                   CORBA::Double theR)
-{
-  MESSAGE("GEOM_Superv_i::MakeFilletAllMakeSketcher");
-  if (CORBA::is_nil(myLocalOp)) getLocalOp();
-  return myLocalOp->MakeFilletAll(theShape, theR);
-}
-
-//=============================================================================
-//  MakeFilletEdges:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, 
-                                                     CORBA::Double theR,
-                                                     GEOM::GEOM_List_ptr theEdges)
-{
-  MESSAGE("GEOM_Superv_i::MakeFilletEdges");
-  if (GEOM_List_i<GEOM::ListOfLong>* aListImplE = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfLong>*>(GetServant(theEdges, myPOA).in())) {
-    if (CORBA::is_nil(myLocalOp)) getLocalOp();
-    return myLocalOp->MakeFilletEdges(theShape, theR, aListImplE->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeFilletFaces:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, 
-                                                     CORBA::Double theR,
-                                                     GEOM::GEOM_List_ptr theFaces)
-{
-  MESSAGE("GEOM_Superv_i::MakeFilletFaces");
-  if (GEOM_List_i<GEOM::ListOfLong>* aListImplF = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfLong>*>(GetServant(theFaces, myPOA).in())) {
-    if (CORBA::is_nil(myLocalOp)) getLocalOp();
-    return myLocalOp->MakeFilletFaces(theShape, theR, aListImplF->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeChamferAll:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeChamferAll (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD)
-{
-  MESSAGE("GEOM_Superv_i::MakeChamferAll");
-  if (CORBA::is_nil(myLocalOp)) getLocalOp();
-  return myLocalOp->MakeChamferAll(theShape, theD);
-}
-  
-//=============================================================================
-//  MakeChamferEdge:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeChamferEdge (GEOM::GEOM_Object_ptr theShape,
-                                                     CORBA::Double theD1, CORBA::Double theD2,
-                                                     CORBA::Long theFace1, CORBA::Long theFace2)
-{
-  MESSAGE("GEOM_Superv_i::MakeChamferEdge");
-  if (CORBA::is_nil(myLocalOp)) getLocalOp();
-  return myLocalOp->MakeChamferEdge(theShape, theD1, theD2, theFace1, theFace2);
-}
-
-//=============================================================================
-//  MakeChamferFaces:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
-                                                      CORBA::Double theD1, CORBA::Double theD2,
-                                                      GEOM::GEOM_List_ptr theFaces)
-{
-  MESSAGE("GEOM_Superv_i::MakeChamferFaces");
-  if (GEOM_List_i<GEOM::ListOfLong>* aListImplF = 
-      dynamic_cast<GEOM_List_i<GEOM::ListOfLong>*>(GetServant(theFaces, myPOA).in())) {
-    if (CORBA::is_nil(myLocalOp)) getLocalOp();
-    return myLocalOp->MakeChamferFaces(theShape, theD1, theD2, aListImplF->GetList());
-  }
-  return NULL;
-}
-
-//=============================================================================
-//  MakeArchimede:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeArchimede (GEOM::GEOM_Object_ptr theShape,
-                                                   CORBA::Double theWeight,
-                                                   CORBA::Double theWaterDensity,
-                                                   CORBA::Double theMeshingDeflection)
-{
-  MESSAGE("GEOM_Superv_i::MakeArchimede");
-  if (CORBA::is_nil(myLocalOp)) getLocalOp();
-  return myLocalOp->MakeArchimede(theShape, theWeight, theWaterDensity, theMeshingDeflection);
-}
-
-//=============================================================================
-//  GetSubShapeIndexMakeFilletAll:
-//=============================================================================
-CORBA::Long GEOM_Superv_i::GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
-                                            GEOM::GEOM_Object_ptr theSubShape)
-{
-  MESSAGE("GEOM_Superv_i::GetSubShapeIndexMakeArchimede");
-  if (CORBA::is_nil(myLocalOp)) getLocalOp();
-  return myLocalOp->GetSubShapeIndex(theShape, theSubShape);
-}
-
-//=============================== GroupOperations =============================
-//=============================================================================
-//  CreateGroup:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::CreateGroup (GEOM::GEOM_Object_ptr theMainShape, 
-                                                 CORBA::Long theShapeType)
-{
-  MESSAGE("GEOM_Superv_i::CreateGroup");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-  return myGroupOp->CreateGroup(theMainShape, theShapeType);
-}
-
-//=============================================================================
-//  AddObject:
-//=============================================================================
-void GEOM_Superv_i::AddObject (GEOM::GEOM_Object_ptr theGroup, 
-                              CORBA::Long theSubShapeId)
-{
-  MESSAGE("GEOM_Superv_i::AddObject");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-  myGroupOp->AddObject(theGroup, theSubShapeId);
-}
-
-//=============================================================================
-//  RemoveObject:
-//=============================================================================
-void GEOM_Superv_i::RemoveObject (GEOM::GEOM_Object_ptr theGroup, 
-                                 CORBA::Long theSubShapeId)
-{
-  MESSAGE("GEOM_Superv_i::RemoveObject");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-  myGroupOp->RemoveObject(theGroup, theSubShapeId);
-}
-
-//=============================================================================
-//  GetType:
-//=============================================================================
-CORBA::Long GEOM_Superv_i::GetType (GEOM::GEOM_Object_ptr theGroup)
-{
-  MESSAGE("GEOM_Superv_i::GetType");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-  return myGroupOp->GetType(theGroup);
-}
-
-//=============================================================================
-//  GetMainShape:
-//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::GetMainShape (GEOM::GEOM_Object_ptr theGroup)
-{
-  MESSAGE("GEOM_Superv_i::GetMainShape");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-  return myGroupOp->GetMainShape(theGroup);
-}
-
-//=============================================================================
-//  GetObjects:
-//=============================================================================
-GEOM::GEOM_List_ptr GEOM_Superv_i::GetObjects (GEOM::GEOM_Object_ptr theGroup)
-{
-  MESSAGE("GEOM_Superv_i::GetObjects");
-  if (CORBA::is_nil(myGroupOp)) getGroupOp();
-
-  GEOM::ListOfLong* aList = myGroupOp->GetObjects(theGroup);
-  GEOM_List_i<GEOM::ListOfLong>* aListPtr = new GEOM_List_i<GEOM::ListOfLong>(*(aList));
-  MESSAGE(" List of "<<aListPtr->GetList().length()<<" element(s)");
-  return aListPtr->_this();
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-  PortableServer::ObjectId * GEOM_SupervEngine_factory(CORBA::ORB_ptr orb,
-                                                     PortableServer::POA_ptr poa, 
-                                                     PortableServer::ObjectId * contId,
-                                                     const char *instanceName, 
-                                                     const char * interfaceName)
-  {
-    GEOM_Superv_i * myGEOM_Superv_i = new GEOM_Superv_i(orb, poa, contId, instanceName, interfaceName);
-    myGEOM_Superv_i->register_name("/myGEOM_Superv");
-    return myGEOM_Superv_i->getId() ;
-  }
-}
diff --git a/src/GEOM_I_Superv/GEOM_Superv_i.hh b/src/GEOM_I_Superv/GEOM_Superv_i.hh
deleted file mode 100644 (file)
index 1072758..0000000
+++ /dev/null
@@ -1,484 +0,0 @@
-#ifndef __GEOM_SUPERV_I_H__
-#define __GEOM_SUPERV_I_H__
-
-// IDL headers
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(GEOM_Superv)
-
-#include "GEOM_Gen_i.hh"
-#include "GEOM_List_i.hh"
-
-class GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
-                     public Engines_Component_i
-{
-public:
-  GEOM_Superv_i(CORBA::ORB_ptr orb,
-               PortableServer::POA_ptr poa,
-               PortableServer::ObjectId * contId, 
-               const char *instanceName, 
-               const char *interfaceName);
-  ~GEOM_Superv_i();
-
-  // generic method to be put in a super class
-  void register_name(char * name);
-  void setGeomEngine();
-
-  void getBasicOp();
-  void get3DPrimOp();
-  void getBoolOp();
-  void getInsOp();
-  void getTransfOp();
-  void getShapesOp();
-  void getBlocksOp();
-  void getCurvesOp();
-  void getLocalOp();
-  void getGroupOp();  
-
-  PortableServer::ServantBase_var GetServant(CORBA::Object_ptr       theObject,
-                                            PortableServer::POA_ptr thePOA);
-
-  //-----------------------------------------------------------------------//
-  // Set current stydy ID                                                  //
-  //-----------------------------------------------------------------------//
-  void SetStudyID( CORBA::Long theId );      
-
-  //-----------------------------------------------------------//
-  // Create ListOfGO and add items to it                       // 
-  //-----------------------------------------------------------//
-  GEOM::GEOM_List_ptr CreateListOfGO();
-  void AddItemToListOfGO(GEOM::GEOM_List_ptr& theList, 
-                        GEOM::GEOM_Object_ptr    theObject);
-
-  //-----------------------------------------------------------//
-  // Create ListOfLong and add items to it                     // 
-  //-----------------------------------------------------------//
-  GEOM::GEOM_List_ptr CreateListOfLong();
-  void AddItemToListOfLong(GEOM::GEOM_List_ptr& theList, 
-                          long    theObject);
-  
-  //-----------------------------------------------------------//
-  // Create ListOfDouble and add items to it                   // 
-  //-----------------------------------------------------------//
-  GEOM::GEOM_List_ptr CreateListOfDouble();
-  void AddItemToListOfDouble(GEOM::GEOM_List_ptr& theList, 
-                            double    theObject);
-
-  //-----------------------------------------------------------------------//
-  // Inherited methods from SALOMEDS::Driver                               //
-  //-----------------------------------------------------------------------//    
-
-  SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent,
-                         const char* theURL,
-                         bool isMultiFile);
-
-  SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent,
-                              const char* theURL,
-                              bool isMultiFile);
-  
-  CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
-                     const SALOMEDS::TMPFile& theStream,
-                     const char* theURL,
-                     bool isMultiFile);
-
-  CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent,
-                          const SALOMEDS::TMPFile& theStream,
-                          const char* theURL,
-                          bool isMultiFile);
-
-  void Close(SALOMEDS::SComponent_ptr theComponent);
-  char* ComponentDataType();
-
-
-  char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
-                              const char* IORString,
-                              CORBA::Boolean isMultiFile,
-                              CORBA::Boolean isASCII);
-  char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
-                              const char* aLocalPersistentID,
-                              CORBA::Boolean isMultiFile,
-                              CORBA::Boolean isASCII);
-
-  bool CanPublishInStudy(CORBA::Object_ptr theIOR);
-  SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy,
-                                      SALOMEDS::SObject_ptr theSObject,
-                                      CORBA::Object_ptr theObject,
-                                      const char* theName) throw (SALOME::SALOME_Exception) ;
-
-  CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);
-  SALOMEDS::TMPFile* CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID);
-  CORBA::Boolean CanPaste(const char* theComponentName, CORBA::Long theObjectID);
-  SALOMEDS::SObject_ptr PasteInto(const SALOMEDS::TMPFile& theStream,
-                                 CORBA::Long theObjectID,
-                                 SALOMEDS::SObject_ptr theObject);
-
-  //-----------------------------------------------------------//
-  // Primitives Construction : BasicOperations                 // 
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakePointXYZ (CORBA::Double theX,
-                                     CORBA::Double theY,
-                                     CORBA::Double theZ);
-  GEOM::GEOM_Object_ptr MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
-                                               CORBA::Double theX, 
-                                               CORBA::Double theY, 
-                                               CORBA::Double theZ);
-  GEOM::GEOM_Object_ptr MakePointOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
-                                         CORBA::Double theParameter);
-  GEOM::GEOM_Object_ptr MakeVectorDXDYDZ (CORBA::Double theDX,
-                                         CORBA::Double theDY,
-                                         CORBA::Double theDZ);
-  GEOM::GEOM_Object_ptr MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                         GEOM::GEOM_Object_ptr thePnt2);
-  GEOM::GEOM_Object_ptr MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
-                                       GEOM::GEOM_Object_ptr thePnt2);
-  GEOM::GEOM_Object_ptr MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                          GEOM::GEOM_Object_ptr thePnt2,
-                                          GEOM::GEOM_Object_ptr thePnt3,
-                                          CORBA::Double theTrimSize);
-  GEOM::GEOM_Object_ptr MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
-                                        GEOM::GEOM_Object_ptr theVec,
-                                        CORBA::Double theTrimSize);
-  GEOM::GEOM_Object_ptr MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
-                                      CORBA::Double theTrimSize);
-  GEOM::GEOM_Object_ptr MakeMarker (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
-                                   CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
-                                   CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ);
-
-  //-----------------------------------------------------------//
-  // Primitives Construction : 3DPrimOperations                //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeBox (CORBA::Double theX1,
-                                CORBA::Double theY1,
-                                CORBA::Double theZ1,
-                                CORBA::Double theX2,
-                                CORBA::Double theY2,
-                                CORBA::Double theZ2);
-  GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX, 
-                                      CORBA::Double theDY, 
-                                      CORBA::Double theDZ);
-  GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1, 
-                                      GEOM::GEOM_Object_ptr thePnt2);
-  GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
-                                             GEOM::GEOM_Object_ptr theAxis,
-                                             CORBA::Double theRadius,
-                                             CORBA::Double theHeight);
-  GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR, 
-                                       CORBA::Double theH);
-  GEOM::GEOM_Object_ptr MakeSphere (CORBA::Double theX,
-                                   CORBA::Double theY,
-                                   CORBA::Double theZ,
-                                   CORBA::Double theRadius);
-  GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
-  GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt, 
-                                       CORBA::Double theR);
-  GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr thePnt,
-                                          GEOM::GEOM_Object_ptr theVec,
-                                          CORBA::Double theRMajor,
-                                          CORBA::Double theRMinor);
-  GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
-                                    CORBA::Double theRMinor);
-  GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
-                                            GEOM::GEOM_Object_ptr theAxis,
-                                            CORBA::Double theR1,
-                                            CORBA::Double theR2,
-                                            CORBA::Double theHeight);
-  GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1, 
-                                      CORBA::Double theR2, 
-                                      CORBA::Double theHeight);
-  GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
-                                      GEOM::GEOM_Object_ptr theVec,
-                                      CORBA::Double         theH);
-  GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
-                                        GEOM::GEOM_Object_ptr thePoint1,
-                                        GEOM::GEOM_Object_ptr thePoint2);
-  GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase, 
-                                 GEOM::GEOM_Object_ptr thePath);
-  GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
-                                                GEOM::GEOM_Object_ptr theAxis,
-                                                CORBA::Double theAngle);
-  GEOM::GEOM_Object_ptr MakeFilling (GEOM::GEOM_Object_ptr theShape,
-                                    CORBA::Long theMinDeg, CORBA::Long theMaxDeg,
-                                    CORBA::Double theTol2D, CORBA::Double theTol3D,
-                                    CORBA::Long theNbIter);
-  
-  //-----------------------------------------------------------//
-  // BooleanOperations                                         //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeBoolean (GEOM::GEOM_Object_ptr theShape1,
-                                    GEOM::GEOM_Object_ptr theShape2,
-                                    CORBA::Long theOperation);
-  GEOM::GEOM_Object_ptr MakeFuse (GEOM::GEOM_Object_ptr theShape1,
-                                 GEOM::GEOM_Object_ptr theShape2);
-  GEOM::GEOM_Object_ptr MakePartition (GEOM::GEOM_List_ptr   theShapes,
-                                      GEOM::GEOM_List_ptr   theTools,
-                                      GEOM::GEOM_List_ptr   theKeepInside,
-                                      GEOM::GEOM_List_ptr   theRemoveInside,
-                                      CORBA::Short      theLimit,
-                                      CORBA::Boolean    theRemoveWebs,
-                                      GEOM::GEOM_List_ptr theMaterials);
-  GEOM::GEOM_Object_ptr MakeHalfPartition (GEOM::GEOM_Object_ptr theShape,
-                                          GEOM::GEOM_Object_ptr thePlane);
-
-  //-----------------------------------------------------------//
-  // InsertOperations                                          //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeCopy (GEOM::GEOM_Object_ptr theOriginal);
-  void Export (GEOM::GEOM_Object_ptr theObject, 
-              const char*           theFileName, 
-              const char*           theFormatName);
-  GEOM::GEOM_Object_ptr Import (const char* theFileName, 
-                               const char* theFormatName);
-  void ImportTranslators (GEOM::string_array_out theFormats,
-                         GEOM::string_array_out thePatterns);
-  void ExportTranslators (GEOM::string_array_out theFormats,
-                         GEOM::string_array_out thePatterns);
-
-  //-----------------------------------------------------------//
-  // TransformOperations                                       //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
-                                           GEOM::GEOM_Object_ptr thePoint1,
-                                           GEOM::GEOM_Object_ptr thePoint2);
-  GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
-                                               GEOM::GEOM_Object_ptr thePoint1,
-                                               GEOM::GEOM_Object_ptr thePoint2);
-  GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject,
-                                        CORBA::Double theDX, 
-                                        CORBA::Double theDY, 
-                                        CORBA::Double theDZ);
-  GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,
-                                            CORBA::Double theDX, 
-                                            CORBA::Double theDY, 
-                                            CORBA::Double theDZ);
-  GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
-                                        GEOM::GEOM_Object_ptr theVector);
-  GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
-                                            GEOM::GEOM_Object_ptr theVector);
-  GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
-                                         GEOM::GEOM_Object_ptr theVector,
-                                         CORBA::Double theStep,
-                                         CORBA::Long theNbTimes);
-  GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject,
-                                         GEOM::GEOM_Object_ptr theVector1,
-                                         CORBA::Double theStep1,
-                                         CORBA::Long theNbTimes1,
-                                         GEOM::GEOM_Object_ptr theVector2,
-                                         CORBA::Double theStep2,
-                                         CORBA::Long theNbTimes2);
-  GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
-                               GEOM::GEOM_Object_ptr theAxis,
-                               CORBA::Double theAngle);
-  GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
-                                   GEOM::GEOM_Object_ptr theAxis,
-                                   CORBA::Double theAngle);
-  GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theAxis,
-                                      CORBA::Long theNbTimes);
-  GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theAxis,
-                                      CORBA::Double theAngle,
-                                      CORBA::Long theNbTimes1,
-                                      CORBA::Double theStep,
-                                      CORBA::Long theNbTimes2);
-  GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject, 
-                                    GEOM::GEOM_Object_ptr thePlane);
-  GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject, 
-                                        GEOM::GEOM_Object_ptr thePlane);
-  GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject, 
-                                   GEOM::GEOM_Object_ptr theAxis);
-  GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject, 
-                                       GEOM::GEOM_Object_ptr theAxis);
-  GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject, 
-                                    GEOM::GEOM_Object_ptr thePoint);
-  GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject, 
-                                        GEOM::GEOM_Object_ptr thePoint);
-  GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject, 
-                                    CORBA::Double theOffset);
-  GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject, 
-                                        CORBA::Double theOffset);
-  GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject, 
-                                   GEOM::GEOM_Object_ptr thePoint,
-                                   CORBA::Double theFactor);
-  GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject, 
-                                       GEOM::GEOM_Object_ptr thePoint,
-                                       CORBA::Double theFactor);
-  GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
-                                      GEOM::GEOM_Object_ptr theStartLCS,
-                                      GEOM::GEOM_Object_ptr theEndLCS);
-  GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
-                                          GEOM::GEOM_Object_ptr theStartLCS,
-                                          GEOM::GEOM_Object_ptr theEndLCS);
-
-  //-----------------------------------------------------------//
-  // ShapesOperations                                          //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
-                                 GEOM::GEOM_Object_ptr thePnt2);
-  GEOM::GEOM_Object_ptr MakeWire (GEOM::GEOM_List_ptr theEdgesAndWires);
-  GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
-                                 CORBA::Boolean isPlanarWanted);
-  GEOM::GEOM_Object_ptr MakeFaceWires (GEOM::GEOM_List_ptr theWires,
-                                      CORBA::Boolean isPlanarWanted);
-  GEOM::GEOM_Object_ptr MakeShell (GEOM::GEOM_List_ptr theFacesAndShells);
-  GEOM::GEOM_Object_ptr MakeSolidShell (GEOM::GEOM_Object_ptr theShell);
-  GEOM::GEOM_Object_ptr MakeSolidShells (GEOM::GEOM_List_ptr theShells);
-  GEOM::GEOM_Object_ptr MakeCompound (GEOM::GEOM_List_ptr theShapes);
-  GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
-                                               CORBA::Double   theTolerance);
-  GEOM::GEOM_List_ptr MakeExplode (GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Long theShapeType,
-                                      CORBA::Boolean isSorted);
-  CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
-  CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
-  GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
-
-  //-----------------------------------------------------------//
-  // BlocksOperations                                          //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeQuad4Vertices (GEOM::GEOM_Object_ptr thePnt1,
-                                          GEOM::GEOM_Object_ptr thePnt2,
-                                          GEOM::GEOM_Object_ptr thePnt3,
-                                          GEOM::GEOM_Object_ptr thePnt4);
-  GEOM::GEOM_Object_ptr MakeQuad (GEOM::GEOM_Object_ptr theEdge1,
-                                 GEOM::GEOM_Object_ptr theEdge2,
-                                 GEOM::GEOM_Object_ptr theEdge3,
-                                 GEOM::GEOM_Object_ptr theEdge4);
-  GEOM::GEOM_Object_ptr MakeQuad2Edges (GEOM::GEOM_Object_ptr theEdge1,
-                                       GEOM::GEOM_Object_ptr theEdge2);
-  GEOM::GEOM_Object_ptr MakeHexa (GEOM::GEOM_Object_ptr theFace1,
-                                 GEOM::GEOM_Object_ptr theFace2,
-                                 GEOM::GEOM_Object_ptr theFace3,
-                                 GEOM::GEOM_Object_ptr theFace4,
-                                 GEOM::GEOM_Object_ptr theFace5,
-                                 GEOM::GEOM_Object_ptr theFace6);
-  GEOM::GEOM_Object_ptr MakeHexa2Faces (GEOM::GEOM_Object_ptr theFace1,
-                                       GEOM::GEOM_Object_ptr theFace2);
-  GEOM::GEOM_Object_ptr GetPoint (GEOM::GEOM_Object_ptr theShape,
-                                 CORBA::Double   theX,
-                                 CORBA::Double   theY,
-                                 CORBA::Double   theZ,
-                                 CORBA::Double   theEpsilon);
-  GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
-                                GEOM::GEOM_Object_ptr thePoint1,
-                                GEOM::GEOM_Object_ptr thePoint2);
-  GEOM::GEOM_Object_ptr GetEdgeNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                         GEOM::GEOM_Object_ptr thePoint);
-  GEOM::GEOM_Object_ptr GetFaceByPoints (GEOM::GEOM_Object_ptr theShape,
-                                        GEOM::GEOM_Object_ptr thePoint1,
-                                        GEOM::GEOM_Object_ptr thePoint2,
-                                        GEOM::GEOM_Object_ptr thePoint3,
-                                        GEOM::GEOM_Object_ptr thePoint4);
-  GEOM::GEOM_Object_ptr GetFaceByEdges (GEOM::GEOM_Object_ptr theShape,
-                                       GEOM::GEOM_Object_ptr theEdge1,
-                                       GEOM::GEOM_Object_ptr theEdge2);
-  GEOM::GEOM_Object_ptr GetOppositeFace (GEOM::GEOM_Object_ptr theBlock,
-                                        GEOM::GEOM_Object_ptr theFace);
-  GEOM::GEOM_Object_ptr GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
-                                         GEOM::GEOM_Object_ptr thePoint);
-  GEOM::GEOM_Object_ptr GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
-                                         GEOM::GEOM_Object_ptr theVector);
-  CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                    CORBA::Long     theMinNbFaces,
-                                    CORBA::Long     theMaxNbFaces,
-                                    CORBA::Long&          theNbBlocks);
-  CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                       GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors);
-  char* PrintBCErrors (GEOM::GEOM_Object_ptr theCompound,
-                      const GEOM::GEOM_IBlocksOperations::BCErrors& theErrors);
-  GEOM::GEOM_List_ptr ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
-                                                  CORBA::Long     theMinNbFaces,
-                                                  CORBA::Long     theMaxNbFaces);
-  GEOM::GEOM_Object_ptr GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
-                                          GEOM::GEOM_Object_ptr thePoint);
-  GEOM::GEOM_Object_ptr GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
-                                        GEOM::GEOM_List_ptr theParts);
-  GEOM::GEOM_List_ptr GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
-                                           GEOM::GEOM_List_ptr theParts);
-  GEOM::GEOM_Object_ptr MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
-                                                  CORBA::Long     theDirFace1,
-                                                  CORBA::Long     theDirFace2,
-                                                  CORBA::Long     theNbTimes);
-  GEOM::GEOM_Object_ptr MakeMultiTransformation2D (GEOM::GEOM_Object_ptr theBlock,
-                                                  CORBA::Long     theDirFace1U,
-                                                  CORBA::Long     theDirFace2U,
-                                                  CORBA::Long     theNbTimesU,
-                                                  CORBA::Long     theDirFace1V,
-                                                  CORBA::Long     theDirFace2V,
-                                                  CORBA::Long     theNbTimesV);
-
-  //-----------------------------------------------------------//
-  // CurvesOperations                                          //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeCirclePntVecR (GEOM::GEOM_Object_ptr theCenter,
-                                          GEOM::GEOM_Object_ptr theVector,
-                                          CORBA::Double theR);
-  GEOM::GEOM_Object_ptr MakeCircleThreePnt (GEOM::GEOM_Object_ptr thePnt1,
-                                           GEOM::GEOM_Object_ptr thePnt2,
-                                           GEOM::GEOM_Object_ptr thePnt3);
-  GEOM::GEOM_Object_ptr MakeEllipse (GEOM::GEOM_Object_ptr theCenter,
-                                    GEOM::GEOM_Object_ptr theVector,
-                                    CORBA::Double theRMajor, CORBA::Double theRMinor);
-  GEOM::GEOM_Object_ptr MakeArc (GEOM::GEOM_Object_ptr thePnt1,
-                                GEOM::GEOM_Object_ptr thePnt2,
-                                GEOM::GEOM_Object_ptr thePnt3);
-  GEOM::GEOM_Object_ptr MakePolyline (GEOM::GEOM_List_ptr thePoints);
-  GEOM::GEOM_Object_ptr MakeSplineBezier (GEOM::GEOM_List_ptr thePoints);
-  GEOM::GEOM_Object_ptr MakeSplineInterpolation (GEOM::GEOM_List_ptr thePoints);
-  GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand, 
-                                               GEOM::GEOM_List_ptr theWorkingPlane);
-
-  //-----------------------------------------------------------//
-  // LocalOperations                                           //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr MakeFilletAll (GEOM::GEOM_Object_ptr theShape,
-                                      CORBA::Double theR);
-  GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                                        GEOM::GEOM_List_ptr theEdges);
-  GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
-                                        GEOM::GEOM_List_ptr theFaces);
-  GEOM::GEOM_Object_ptr MakeChamferAll (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
-  GEOM::GEOM_Object_ptr MakeChamferEdge (GEOM::GEOM_Object_ptr theShape,
-                                        CORBA::Double theD1, CORBA::Double theD2,
-                                        CORBA::Long theFace1, CORBA::Long theFace2);
-  GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
-                                         CORBA::Double theD1, CORBA::Double theD2,
-                                         GEOM::GEOM_List_ptr theFaces);
-  GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
-                                       CORBA::Double theWeight,
-                                      CORBA::Double theWaterDensity,
-                                      CORBA::Double theMeshingDeflection);
-  CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
-                               GEOM::GEOM_Object_ptr theSubShape);
-
-  //-----------------------------------------------------------//
-  // GroupOperations                                           //
-  //-----------------------------------------------------------//
-  GEOM::GEOM_Object_ptr CreateGroup (GEOM::GEOM_Object_ptr theMainShape, 
-                                    CORBA::Long theShapeType);
-  void AddObject (GEOM::GEOM_Object_ptr theGroup, 
-                 CORBA::Long theSubShapeId);
-  void RemoveObject (GEOM::GEOM_Object_ptr theGroup, 
-                    CORBA::Long theSubShapeId);
-  CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
-  GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);
-  GEOM::GEOM_List_ptr GetObjects (GEOM::GEOM_Object_ptr theGroup);
-  
-private:
-  SALOME_NamingService *  name_service; 
-  GEOM::GEOM_Gen_ptr      myGeomEngine;
-  CORBA::Long             myStudyID;
-  PortableServer::POA_var myPOA;
-  
-  GEOM::GEOM_IBasicOperations_ptr     myBasicOp;
-  GEOM::GEOM_I3DPrimOperations_ptr    my3DPrimOp;
-  GEOM::GEOM_IBooleanOperations_ptr   myBoolOp;
-  GEOM::GEOM_IInsertOperations_ptr    myInsOp;
-  GEOM::GEOM_ITransformOperations_ptr myTransfOp;
-  GEOM::GEOM_IShapesOperations_ptr    myShapesOp;
-  GEOM::GEOM_IBlocksOperations_ptr    myBlocksOp;
-  GEOM::GEOM_ICurvesOperations_ptr    myCurvesOp;
-  GEOM::GEOM_ILocalOperations_ptr     myLocalOp;
-  GEOM::GEOM_IGroupOperations_ptr     myGroupOp;
-
-};
-
-#endif 
diff --git a/src/GEOM_I_Superv/Makefile.in b/src/GEOM_I_Superv/Makefile.in
deleted file mode 100644 (file)
index 90ab630..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#  GEOM GEOM : implementaion of GEOM_Superv.idl
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOM_SupervEngine.la
-LIB_SRC = \
-       GEOM_Superv_i.cc
-
-LIB_SERVER_IDL = SALOMEDS.idl SALOMEDS_Attributes.idl SALOME_Component.idl SALOME_Exception.idl \
-                 SALOME_GenericObj.idl SALOME_ModuleCatalog.idl GEOM_Gen.idl GEOM_Superv.idl \
-
-# Executables targets
-BIN =
-BIN_SRC = 
-BIN_CLIENT_IDL = 
-BIN_SERVER_IDL =
-
-EXPORT_HEADERS =
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS) 
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += -lGEOMEngine -lSalomeNS -lSalomeLifeCycleCORBA -lSalomeContainer -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeGenericObj 
-
-# additional file to be cleaned
-MOSTLYCLEAN =
-CLEAN =
-DISTCLEAN =
-
-@CONCLUDE@
-
diff --git a/src/GEOM_SWIG/GEOM_Nut.py b/src/GEOM_SWIG/GEOM_Nut.py
deleted file mode 100755 (executable)
index 46271b9..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#####################################################################\r
-#Created                :17/02/2005\r
-#Auhtor                 :MASLOV Eugeny, KOVALTCHUK Alexey \r
-#####################################################################\r
-\r
-import geompy\r
-import salome\r
-import os\r
-import math\r
-\r
-#Sketcher_1 creation\r
-Sketcher_1 = geompy.MakeSketcher("Sketcher:F 100 -57.7:TT 100 57.7:TT 0 115.47:TT -100 57.7:TT -100 -57.7:TT 0 -115.47:WW") \r
-geompy.addToStudy(Sketcher_1, "Sketcher_1")\r
-Face_1 = geompy.MakeFace(Sketcher_1, 1)\r
-geompy.addToStudy(Face_1, "Face_1")\r
-\r
-#Line creation\r
-Line_1 = geompy.MakeLineTwoPnt(geompy.MakeVertex(0,0,0), geompy.MakeVertex(0,0,100))\r
-geompy.addToStudy(Line_1, "Line_1")\r
-\r
-#Prism creation\r
-Prism_1 = geompy.MakePrismVecH(Face_1, Line_1, 100)\r
-geompy.addToStudy(Prism_1, "Prism_1")\r
-\r
-#Sketcher_2 creation\r
-Sketcher_2 = geompy.MakeSketcher("Sketcher:F 50 0:TT 80 0:TT 112 13:TT 112 48:TT 80 63:TT 80 90:TT 50 90:WW", [0,0,0, 1,0,0, 0,1,0]) \r
-geompy.addToStudy(Sketcher_2, "Sketcher_2")\r
-Face_2 = geompy.MakeFace(Sketcher_2, 1)\r
-geompy.addToStudy(Face_2, "Face_2")\r
-\r
-#Revolution creation\r
-Revolution_1 = geompy.MakeRevolution(Face_2, Line_1, 2*math.pi)\r
-geompy.addToStudy(Revolution_1, "Revolution_1")\r
-\r
-#Common applying\r
-Common_1 = geompy.MakeBoolean(Revolution_1, Prism_1, 1)\r
-geompy.addToStudy(Common_1, "Common_1")\r
-\r
-#Explode Common_1 on edges\r
-CommonExplodedListEdges = geompy.SubShapeAll(Common_1, geompy.ShapeType["EDGE"])\r
-for i in range(0, len(CommonExplodedListEdges)):\r
-    name = "Edge_"+str(i+1)\r
-    geompy.addToStudyInFather(Common_1, CommonExplodedListEdges[i], name)\r
-\r
-#Fillet applying\r
-#ID = geompy.GetSubShapeID(Common_1, CommonExplodedListEdges[0])\r
-Fillet_1 = geompy.MakeFillet(Common_1, 10, geompy.ShapeType["EDGE"], [6])\r
-geompy.addToStudy(Fillet_1, "Fillet_1")\r
-\r
-#Chamfer applying\r
-Chamfer_1 = geompy.MakeChamferEdge(Fillet_1, 10, 10, 16, 50 )\r
-geompy.addToStudy(Chamfer_1, "Chamfer_1")\r
-\r
-Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 )\r
-geompy.addToStudy(Chamfer_2, "Chamfer_2")\r
-\r
-#Import of the shape from "slots.brep"\r
-thePath = os.getenv("KERNEL_ROOT_DIR")\r
-theFileName = thePath + "/examples/slots.brep"\r
-theShapeForCut = geompy.ImportBREP(theFileName)\r
-geompy.addToStudy(theShapeForCut, "slot.brep_1")\r
-\r
-#Cut applying\r
-Cut_1 = geompy.MakeBoolean(Chamfer_2, theShapeForCut, 2)\r
-geompy.addToStudy(Cut_1, "Cut_1")\r
-\r
-salome.sg.updateObjBrowser(1)\r
-\r
diff --git a/src/GEOM_SWIG/GEOM_Partition1.py b/src/GEOM_SWIG/GEOM_Partition1.py
deleted file mode 100755 (executable)
index 3a61188..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : GEOM_Partition1.py
-#  Module : GEOM
-
-#%Make geometry (like CEA script (A1)) using Partition algorithm%
-# appel:
-# import alveole_3D_01_GEOM
-# reload(alveole_3D_01_GEOM)
-
-# -- Rayon de la bariere
-
-barier_height = 7.0
-barier_radius = 5.6 / 2 # Rayon de la bariere
-colis_radius = 1.0 / 2  # Rayon du colis
-colis_step = 2.0        # Distance s\89parant deux colis
-cc_width = 0.11         # Epaisseur du complement de colisage
-
-# --
-
-cc_radius = colis_radius + cc_width
-from math import sqrt
-colis_center = sqrt(2.0)*colis_step/2
-
-# --
-
-import geompy
-geom = geompy.geom
-
-boolean_common  = 1
-boolean_cut     = 2
-boolean_fuse    = 3
-boolean_section = 4
-
-# --
-
-pnt0 = geompy.MakeVertex(0.,0.,0.)
-vecz = geompy.MakeVectorDXDYDZ(0.,0.,1.)
-
-barier = geompy.MakeCylinder(
-    pnt0,
-    vecz,
-    barier_radius,
-    barier_height)
-
-# --
-
-colis = geompy.MakeCylinder(pnt0, vecz, colis_radius, barier_height)
-
-cc = geompy.MakeCylinder(pnt0, vecz, cc_radius, barier_height)
-
-colis_cc = geompy.MakeCompound([colis, cc])
-
-colis_cc = geompy.MakeTranslation(colis_cc, colis_center, 0.0, 0.0)
-
-colis_cc_multi = geompy.MultiRotate1D(colis_cc, vecz, 4)
-
-# --
-
-alveole = geompy.MakePartition([colis_cc_multi, barier])
-
-geompy.addToStudy(alveole, "alveole before explode")
-
-subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"])
-
-## there are 9 subshapes
-
-comp1 = geompy.MakeCompound([subshapes[0], subshapes[1]]);
-comp2 = geompy.MakeCompound([subshapes[2], subshapes[3]]);
-comp3 = geompy.MakeCompound([subshapes[4], subshapes[5]]);
-comp4 = geompy.MakeCompound([subshapes[6], subshapes[7]]);
-
-compGOs = []
-compGOs.append(comp1);
-compGOs.append(comp2);
-compGOs.append(comp3);
-compGOs.append(comp4);
-comp = geompy.MakeCompound(compGOs);
-
-alveole = geompy.MakeCompound([comp, subshapes[8]]);
-
-geompy.addToStudy(alveole, "alveole")
diff --git a/src/GEOM_SWIG/GEOM_Partition2.py b/src/GEOM_SWIG/GEOM_Partition2.py
deleted file mode 100755 (executable)
index 2a4ca4e..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : GEOM_Partition2.py
-#  Module : GEOM
-
-#%Make geometry (like CEA script (A2)) using Partition algorithm%
-# import callovo_01_GEOM
-# reload(callovo_01_GEOM)
-
-
-# --------------------------------------------
-# Geometrie avec une galerie perpendiculaire
-# --------------------------------------------
-
-import geompy
-geom = geompy.geom
-
-vecx = geompy.MakeVectorDXDYDZ(1.,0.,0.)
-vecy = geompy.MakeVectorDXDYDZ(0.,1.,0.)
-
-# -- colis
-
-colis_xmin = 05.76
-colis_xmax = 19.83
-colis_radius = 0.3
-
-colis = geompy.MakeCylinder(
-    geompy.MakeVertex(colis_xmin,0.,0.),
-    vecx,
-    colis_radius,
-    colis_xmax-colis_xmin)
-
-# -- bo
-
-bo_xmin = 04.83
-bo_xmax = colis_xmax
-bo_radius = 1.23
-
-bo = geompy.MakeCylinder(
-    geompy.MakeVertex(bo_xmin,0.,0.),
-    vecx,
-    bo_radius,
-    bo_xmax-bo_xmin)
-
-
-# -- rupture alveole
-
-alvRup_xmin = 04.46
-alvRup_xmax = colis_xmax
-alvRup_radius = 1.6
-
-alvRup = geompy.MakeCylinder(
-    geompy.MakeVertex(alvRup_xmin,0.,0.),
-    vecx,
-    alvRup_radius,
-    alvRup_xmax-alvRup_xmin)
-
-
-# bouchon
-
-bouchon_xmin = colis_xmax
-bouchon_xmax = 22.83
-bouchon_radius = alvRup_radius
-
-bouchon = geompy.MakeCylinder(
-    geompy.MakeVertex(bouchon_xmin,0.,0.),
-    vecx,
-    bouchon_radius,
-    bouchon_xmax-bouchon_xmin)
-
-# galerie
-
-galerie_xmax = 25.0
-galerie_radius = 3.0
-box_y = 30.0
-
-pnt_galerie_xmax = geompy.MakeVertex(galerie_xmax,0.,0.)
-
-galerie = geompy.MakeCylinder(
-    pnt_galerie_xmax,
-    vecy,
-    galerie_radius,
-    box_y)
-galerie = geompy.MakeTranslation(galerie, 0, -box_y/2, 0)
-
-# -- box
-
-box = geompy.MakeBox(0., 0., 0., galerie_xmax, box_y, box_y)
-box = geompy.MakeTranslation(box, 0.0, -box_y/2, -box_y/2)
-
-
-# -- rupture galerie
-
-galRup_xmax = galerie_xmax
-galRup_radius = 3.9
-
-galRup = geompy.MakeCylinder(
-    pnt_galerie_xmax,
-    vecy,
-    galRup_radius,
-    box_y)
-galRup = geompy.MakeTranslation(galRup, 0, -box_y/2, 0)
-
-# -- endommagement galerie
-
-galEnd_xmax = galerie_xmax
-galEnd_radius = 4.6
-
-galEnd = geompy.MakeCylinder(pnt_galerie_xmax, vecy, galEnd_radius, box_y)
-galEnd = geompy.MakeTranslation(galEnd, 0, -box_y/2, 0)
-
-# -- endommagement alveole
-
-alvEnd_xmin = 03.6
-alvEnd_xmax = galerie_xmax
-alvEnd_radius = 2.46
-
-alvEnd = geompy.MakeCylinder(
-    geompy.MakeVertex(alvEnd_xmin,0.,0.),
-    vecx,
-    alvEnd_radius,
-    alvEnd_xmax-alvEnd_xmin)
-
-# remove internal parts of galEnd intersecting alvEnd
-
-galEnd_alvEnd = geompy.MakePartition([alvEnd], [], [], [galEnd])
-
-GOList =  [colis]
-GOList += [bo]
-GOList += [alvRup]
-#GOList += [galerie ]
-GOList += [galRup]
-GOList += [galEnd_alvEnd]
-
-# --
-
-# remove section parts outside bo and inside bouchon
-
-callovo = geompy.MakePartition(GOList, [], [box], [galerie, bouchon])
-
-geompy.addToStudy(callovo, "callovo perp. 2")
diff --git a/src/GEOM_SWIG/GEOM_Partition3.py b/src/GEOM_SWIG/GEOM_Partition3.py
deleted file mode 100755 (executable)
index 9f35f08..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : GEOM_Partition3.py
-#  Module : GEOM
-
-#%Make geometry (like CEA script (A2)) using Partition algorithm%
-# import callovo_01_GEOM
-# reload(callovo_01_GEOM)
-
-
-import geompy
-geom = geompy.geom
-
-vecx = geompy.MakeVectorDXDYDZ(1.,0.,0.)
-
-# -- colis
-
-colis_xmin = 05.76
-colis_xmax = 19.83
-colis_radius = 0.3
-
-colis = geompy.MakeCylinder(
-    geompy.MakeVertex(colis_xmin,0.,0.),
-    vecx,
-    colis_radius,
-    colis_xmax-colis_xmin)
-
-GOList = [colis]
-
-# -- bo
-
-bo_xmin = 04.83
-bo_xmax = colis_xmax
-bo_radius = 1.23
-
-bo = geompy.MakeCylinder(
-    geompy.MakeVertex(bo_xmin,0.,0.),
-    vecx,
-    bo_radius,
-    bo_xmax-bo_xmin)
-
-GOList.append(bo)
-
-# -- rupture alveole
-
-alvRup_xmin = 04.46
-alvRup_xmax = colis_xmax
-alvRup_radius = 1.6
-
-alvRup = geompy.MakeCylinder(
-    geompy.MakeVertex(alvRup_xmin,0.,0.),
-    vecx,
-    alvRup_radius,
-    alvRup_xmax-alvRup_xmin)
-
-GOList.append(alvRup)
-
-# bouchon
-
-bouchon_xmin = colis_xmax
-bouchon_xmax = 22.83
-bouchon_radius = alvRup_radius
-
-bouchon = geompy.MakeCylinder(
-    geompy.MakeVertex(bouchon_xmin,0.,0.),
-    vecx,
-    bouchon_radius,
-    bouchon_xmax-bouchon_xmin)
-
-#GOList.append(bouchon)
-
-# -- endommagement alveole
-
-alvEnd_xmin = 03.6
-alvEnd_xmax = 20.66
-alvEnd_radius = 2.46
-
-alvEnd = geompy.MakeCylinder(
-    geompy.MakeVertex(alvEnd_xmin,0.,0.),
-    vecx,
-    alvEnd_radius,
-    alvEnd_xmax-alvEnd_xmin)
-
-GOList.append(alvEnd)
-
-# galerie
-
-galerie_xmin = bouchon_xmax
-galerie_xmax = 25.0
-galerie_radius = 2.17
-
-galerie = geompy.MakeCylinder(
-    geompy.MakeVertex(galerie_xmin,0.,0.),
-    vecx,
-    galerie_radius,
-    galerie_xmax-galerie_xmin)
-
-GOList.append(galerie)
-
-# -- rupture galerie
-
-galRup_xmin = 22.18
-galRup_xmax = galerie_xmax
-galRup_radius = 2.82
-
-galRup = geompy.MakeCylinder(
-    geompy.MakeVertex(galRup_xmin,0.,0.),
-    vecx,
-    galRup_radius,
-    galRup_xmax-galRup_xmin)
-
-GOList.append(galRup)
-
-# -- endom. galerie
-
-galEnd_xmin = alvEnd_xmax
-galEnd_xmax = galerie_xmax
-galEnd_radius = 4.34
-
-galEnd = geompy.MakeCylinder(
-    geompy.MakeVertex(galEnd_xmin,0.,0.),
-    vecx,
-    galEnd_radius,
-    galEnd_xmax-galEnd_xmin)
-
-GOList.append(galEnd)
-
-# --
-
-box_y = 30.0
-box = geompy.MakeBox(0., 0., 0., galerie_xmax, box_y, box_y)
-box = geompy.MakeTranslation(box, 0.0, -box_y/2, -box_y/2)
-
-GOList.append(box)
-
-# --
-
-callovo = geompy.MakePartition(GOList, [], [], [bouchon])
-geompy.addToStudy(callovo, "callovo 2")
diff --git a/src/GEOM_SWIG/GEOM_Partition4.py b/src/GEOM_SWIG/GEOM_Partition4.py
deleted file mode 100755 (executable)
index 96dd0d4..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : GEOM_Partition4.py
-#  Module : GEOM
-
-#%Make geometry (like CEA script (A3)) using Partition algorithm%
-# import couplex2_01_GEOM
-# reload(couplex2_01_GEOM)
-
-# Dimensions de alveolus
-# Parall\89pip\88de rectangle de taille alDx, alDy, alDz
-
-alDx   = 2.5
-alDy   = 20.0
-alDz   = 2.5
-alSepx = 18.0
-
-# Dimensions de backfill
-# Parall\89pip\88de rectangle de taille baDx, baDy, baDz
-
-baDx = 27.0
-baDy = 4.8
-baDz = 4.8
-
-# Dimensions de geological medium
-
-gmDx = baDx
-gmDy = 49.6
-gmDz = 100.0
-
-# --
-
-import geompy
-geom = geompy.geom
-
-# -- Construction de backfill
-
-backA = geompy.MakeBox(0.0, 0.0, 0.0, baDx, baDy, baDz)
-back = geompy.MakeTranslation(backA, -baDx/2, -baDy/2, -baDz/2)
-
-# -- Construction de alveolus
-
-import math
-
-alveA = geompy.MakeBox(0.0, 0.0, 0.0, alDx, alDy, alDz)
-alveB = geompy.MakeTranslation(alveA, -alDx/2, baDy/2, -alDz/2)
-axis  = geompy.MakeVectorDXDYDZ(1.0, 0.0, 0.0)
-alve1 = geompy.MakeRotation(alveB, axis, math.pi)
-alve2 = geompy.MakeTranslation(alveB, +alSepx/2, 0.0, 0.0)
-alve3 = geompy.MakeTranslation(alveB, -alSepx/2, 0.0, 0.0)
-GOlist = []
-GOlist.append(alve1)
-GOlist.append(alve2)
-GOlist.append(alve3)
-alve = geompy.MakeCompound(GOlist)
-
-# -- Construction de geological medium
-
-geolA = geompy.MakeBox(0.0, 0.0, 0.0, gmDx, gmDy, gmDz)
-geol = geompy.MakeTranslation(geolA, -gmDx/2, -gmDy/2, -gmDz/2)
-
-geol = geompy.MakePartition([alve, geol, back])
-
-subshapes = geompy.SubShapeAll(geol, geompy.ShapeType["SHAPE"])
-
-GOlist = []
-GOlist.append(subshapes[0])
-GOlist.append(subshapes[1])
-GOlist.append(subshapes[2])
-alve = geompy.MakeCompound(GOlist)
-
-geol = subshapes[3]
-back = subshapes[4]
-
-# --
-
-geol = geompy.MakeCompound([geol, back, alve])
-
-geompy.addToStudy(geol, "couplex2 2")
diff --git a/src/GEOM_SWIG/GEOM_Partition5.py b/src/GEOM_SWIG/GEOM_Partition5.py
deleted file mode 100755 (executable)
index ca6d5de..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
-#
-#
-#
-#  File   : GEOM_Partition5.py
-#  Module : GEOM
-
-#%Make geometry (like CEA script (A4)) using Partition algorithm%
-# import gallery_01_GEOM
-# reload(gallery_01_GEOM)
-
-# -- Import geompy pour piloter GEOM par script
-
-import geompy
-geom = geompy.geom
-
-# -- Dimensions de la boite enti\88re
-
-LX, LY, LZ = 300.0, 150.0, 150.0
-p0 = geompy.MakeVertex(0.,0.,0.)
-vy = geompy.MakeVectorDXDYDZ(0.,1.,0.)
-
-# -- D\89finition du plan de sym\89trie (O,Ox,Oz)
-
-symPlane = geompy.MakePlane(p0, vy, 10.0)
-
-# -- bo
-
-bo = geompy.MakeBoxDXDYDZ(LX, LY, LZ)
-bo = geompy.MakeTranslation(bo, 0.0, -LY/2, -LZ/2)
-
-# -- Galerie principale
-
-gal_diam = 80.0
-gal_lony = LY
-gal_x = LX-20.0-gal_diam/2
-
-gal = geompy.MakeCylinder(p0, vy, gal_diam/2, gal_lony)
-gal = geompy.MakeTranslation(gal, gal_x, -gal_lony/2, 0.0)
-
-# -- Galerie perpendiculaire
-# -- Dimensions de la galerie perpendiculaire
-# -- La longueur est compt\89\80 partir du centre
-# -- de la galerie principale
-
-gpe_long, gpe_diam = 200.0, 60.0 
-gpe_x = gal_x
-gpe = geompy.MakeCylinder(
-    p0,
-    geompy.MakeVectorDXDYDZ(-1.,0.,0.),
-    gpe_diam/2,gpe_long)
-gpe = geompy.MakeTranslation(gpe, gpe_x, 0, 0)
-
-# -- Dimensions d'une alveole
-# -- Construction d'une alv\89ole
-
-alv_long, alv_diam = 60.0, 18.0
-alv01 = geompy.MakeCylinder(p0, vy, alv_diam/2, alv_long)
-alv02 = geompy.MakeMirrorByPlane(alv01, symPlane)
-alv0 = geompy.MakeCompound([alv01, alv02])
-
-# -- Construction des alv\89oles
-
-alv_del, alv_sep = 40.0, 35.0
-alv1 = geompy.MakeTranslation(alv0, gal_x-gal_diam/2-alv_sep, 0.0, 0.0)
-alv2 = geompy.MakeTranslation(alv1, -alv_del, 0.0, 0.0 )
-alv3 = geompy.MakeTranslation(alv2, -alv_del, 0.0, 0.0 )
-alv = geompy.MakeCompound([alv1, alv2, alv3])
-
-# -- Remplissage de la BO
-
-gallery = geompy.MakePartition([alv, bo], [], [], [gal, gpe])
-
-subshapes = geompy.SubShapeAll(gallery, geompy.ShapeType["SHAPE"])
-
-alvGOs = []
-alvGOs.append(subshapes[0])
-alvGOs.append(subshapes[1])
-alvGOs.append(subshapes[2])
-alvGOs.append(subshapes[3])
-alvGOs.append(subshapes[4])
-alvGOs.append(subshapes[5])
-alvcomp = geompy.MakeCompound(alvGOs)
-
-boGO  = subshapes[6]
-galGO = subshapes[7]
-gpeGO = subshapes[8]
-
-gallery = geompy.MakeCompound([boGO, alvcomp, gpeGO, galGO])
-
-geompy.addToStudy(gallery,"Gallery 2")
diff --git a/src/GEOM_SWIG/GEOM_Sketcher.py b/src/GEOM_SWIG/GEOM_Sketcher.py
deleted file mode 100644 (file)
index fbdb7fb..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python\r
-#\r
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS \r
-# \r
-#  This library is free software; you can redistribute it and/or \r
-#  modify it under the terms of the GNU Lesser General Public \r
-#  License as published by the Free Software Foundation; either \r
-#  version 2.1 of the License. \r
-# \r
-#  This library is distributed in the hope that it will be useful, \r
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of \r
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \r
-#  Lesser General Public License for more details. \r
-# \r
-#  You should have received a copy of the GNU Lesser General Public \r
-#  License along with this library; if not, write to the Free Software \r
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA \r
-# \r
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org \r
-#\r
-#\r
-#\r
-#  File   : GEOM_Sketcher.py\r
-#  Author : Damien COQUERET, Open CASCADE\r
-#  Module : GEOM\r
-#  $Header$\r
-\r
-import geompy\r
-\r
-#SKETCHER INFOS\r
-#Init Sketcher\r
-#Create a string beginning by :"Sketcher:"\r
-#Each command must be separated by ":"\r
-#"F x y" : Create first point at X & Y\r
-\r
-#To Make Segment\r
-#"R angle" : Set the direction by angle\r
-#"D dx dy" : Set the direction by DX & DY\r
-\r
-#"TT x y" : Create by point at X & Y\r
-#"T dx dy" : Create by point with DX & DY\r
-#"L length" : Create by direction & Length\r
-#"IX x" : Create by direction & Intersect. X\r
-#"IY y" : Create by direction & Intersect. Y\r
-\r
-#To Make Arc\r
-#"C radius length" : Create by direction, radius and length(in degree)\r
-\r
-#To finish\r
-#"WW" : Close Wire\r
-\r
-#Create Sketcher\r
-Cmd = "Sketch:F 0 0:TT 0 100:C 100 180:WW"\r
-Sketcher = geompy.MakeSketcher(Cmd) #(string)->GEOM_Shape_ptr\r
-\r
-#Add In Study\r
-id_Sketcher = geompy.addToStudy(Sketcher, "Sketcher")\r
diff --git a/src/GEOM_SWIG/GEOM_Spanner.py b/src/GEOM_SWIG/GEOM_Spanner.py
deleted file mode 100644 (file)
index cc336a7..0000000
+++ /dev/null
@@ -1,504 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ implementaion with Python
-#
-#  Copyright (C) 2003  CEA
-#
-#  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.
-#
-#  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.org
-#
-#
-#
-#  File   : GEOM_Spanner.py
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-############# MakeSpanner #############
-
-def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh = None, hasGUI = 0):
-
-  ### Variables ###
-
-  th = 4.0
-
-  ### BlocksOp ###
-
-  BlocksOp = geompy.BlocksOp
-
-  ### Basic points and directions ###
-
-  p0  = geompy.MakeVertex(0., 0., 0.)
-  pth = geompy.MakeVertex(0., 0., th)
-
-  vx = geompy.MakeVectorDXDYDZ(1., 0., 0.)
-  vy = geompy.MakeVectorDXDYDZ(0., 1., 0.)
-  vz = geompy.MakeVectorDXDYDZ(0., 0., 1.)
-
-  vxy = geompy.MakeVectorDXDYDZ(1., 1., 0.)
-
-  ### Block 1 ###
-
-  p_10_0  = geompy.MakeVertex(10.,  0., 0.)
-  p_10_25 = geompy.MakeVertex(10., 25., 0.)
-  p_0_35  = geompy.MakeVertex( 0., 35., 0.)
-  p_0_10  = geompy.MakeVertex( 0., 10., 0.)
-
-  Face11 = geompy.MakeQuad4Vertices(p_10_0, p_10_25, p_0_10, p_0_35);
-  id_face11 = geompy.addToStudy(Face11, "1 Face for Block 1")
-
-  Face12 = geompy.MakeTranslationTwoPoints(Face11, p0, pth)
-  id_face12 = geompy.addToStudy(Face12, "2 Face for Block 1")
-
-  Block1 = geompy.MakeHexa2Faces(Face11, Face12)
-  id_block1 = geompy.addToStudy(Block1, "Block 1")
-
-  ### Block 2 ###
-
-  p_15_0  = geompy.MakeVertex(15.,  0., 0.)
-  p_15_20 = geompy.MakeVertex(15., 20., 0.)
-
-  Edge21 = geompy.MakeEdge(p_15_0, p_15_20)
-  id_edge21 = geompy.addToStudy(Edge21, "1 Edge for Block 2")
-
-  Edge22 = geompy.GetEdge(Block1, p_10_0, p_10_25)
-  id_edge22 = geompy.addToStudy(Edge22, "2 Edge for Block 2")
-
-  Face21 = geompy.MakeQuad2Edges(Edge21, Edge22);
-  id_face21 = geompy.addToStudy(Face21, "1 Face for Block 2")
-
-  Face22 = geompy.MakeTranslationTwoPoints(Face21, p0, pth)
-  id_face22 = geompy.addToStudy(Face22, "2 Face for Block 2")
-
-  Block2 = geompy.MakeHexa2Faces(Face21, Face22)
-  id_block2 = geompy.addToStudy(Block2, "Block 2")
-
-  ### Block 3 ###
-
-  p_15_10_1 = geompy.MakeVertex(15., 10., 1.)
-
-  Face31 = geompy.GetFaceNearPoint(Block2, p_15_10_1)
-  id_face31 = geompy.addToStudy(Face31, "1 Face for Block 3")
-
-  Prism1 = geompy.MakePrismVecH(Face31, vx, 5);
-  id_prism1 = geompy.addToStudy(Prism1, "Prism to be Block 3")
-
-  nbFaces = geompy.ShapesOp.NumberOfFaces(Prism1)
-  if nbFaces == 6:
-    print "Prism 1 is a hexahedral solid"
-  else:
-    print "Prism 1 is not a hexahedral solid"
-
-  Prism1_faces = geompy.SubShapeAllSorted(Prism1, geompy.ShapeType["FACE"])
-  ii = 1
-  for aFace in  Prism1_faces:
-    name = geompy.SubShapeName(aFace, Prism1)
-    Id_Face = geompy.addToStudyInFather(Prism1, aFace, name)
-    ii = ii + 1
-
-  Block3 = geompy.MakeHexa(Prism1_faces[0], Prism1_faces[1],
-                           Prism1_faces[2], Prism1_faces[3],
-                           Prism1_faces[4], Prism1_faces[5]);
-  id_block3 = geompy.addToStudy(Block3, "Block 3")
-
-  ### Block 4 ###
-
-  Face41 = geompy.GetOppositeFace(Block3, Face31)
-  id_face41 = geompy.addToStudy(Face41, "1 Face for Block 4")
-
-  p_25_5  = geompy.MakeVertex(25.,  5., 0.)
-  p_25_20 = geompy.MakeVertex(25., 20., 0.)
-
-  Edge41 = geompy.MakeEdge(p_25_5, p_25_20)
-  id_edge41 = geompy.addToStudy(Edge41, "1 Edge for Block 4")
-
-  p_25_5_2  = geompy.MakeVertex(25.,  5., th)
-  p_25_20_2 = geompy.MakeVertex(25., 20., th)
-
-  Edge42 = geompy.MakeEdge(p_25_5_2, p_25_20_2)
-  id_edge42 = geompy.addToStudy(Edge42, "2 Edge for Block 4")
-
-  Edge43 = geompy.MakeEdge(p_25_5, p_25_5_2)
-  id_edge43 = geompy.addToStudy(Edge43, "3 Edge for Block 4")
-
-  Edge44 = geompy.MakeEdge(p_25_20, p_25_20_2)
-  id_edge44 = geompy.addToStudy(Edge44, "4 Edge for Block 4")
-
-  Face42 = geompy.MakeQuad(Edge41, Edge42, Edge43, Edge44)
-  id_face42 = geompy.addToStudy(Face42, "2 Face for Block 4")
-
-  Block4 = geompy.MakeHexa2Faces(Face41, Face42)
-  id_block4 = geompy.addToStudy(Block4, "Block 4")
-
-  ### Block 5 ###
-
-  p_25_30   = geompy.MakeVertex(25., 30., 0.)
-  p_25_30_1 = geompy.MakeVertex(25., 30., 1)
-  axis_rot = geompy.MakeVector(p_25_30, p_25_30_1)
-
-  Face51 = Face42
-  Face52 = geompy.MakeRotation(Face51, axis_rot, math.pi/2.)
-  id_face52 = geompy.addToStudy(Face52, "2 Face for Block 5")
-
-  Block5 = geompy.MakeHexa2Faces(Face51, Face52)
-  id_block5 = geompy.addToStudy(Block5, "Block 5")
-
-  ### Compound of blocks 1 - 4 ###
-
-  Comp1234 = geompy.MakeCompound([Block1, Block2, Block3, Block4])
-  Glue1234 = geompy.MakeGlueFaces(Comp1234, 1e-5)
-  id_glue1234 = geompy.addToStudy(Glue1234, "Glue 1234")
-
-  plane_mirror = geompy.MakePlane(p_25_30, vxy, 100.)
-  #id_plane_mirror = geompy.addToStudy(plane_mirror, "Plane for mirror")
-
-  Mirror1 = geompy.MakeMirrorByPlane(Glue1234, plane_mirror)
-  id_mirror1 = geompy.addToStudy(Mirror1, "Mirror 1")
-
-  ### The second end ###
-
-  p_18_0 = geompy.MakeVertex(18., 0., 0.)
-  p_20_0 = geompy.MakeVertex(20., 0., 0.)
-  p_40_0 = geompy.MakeVertex(40., 0., 0.)
-
-  Edge1s = geompy.MakeEdge(p_20_0, p_40_0)
-  id_edge1s = geompy.addToStudy(Edge1s, "1 Edge for Block 1s")
-
-  Edge2s = geompy.MakeRotation(Edge1s, vz, math.pi/12.)
-  id_edge2s = geompy.addToStudy(Edge2s, "2 Edge for Block 1s")
-
-  p_18_0_r = geompy.MakeRotation(p_18_0, vz, math.pi/24.)
-  p_20_0_r = geompy.MakeRotation(p_20_0, vz, math.pi/12.)
-  p_40_0_r = geompy.MakeRotation(p_40_0, vz, math.pi/12.)
-
-  Edge3s = geompy.MakeEdge(p_40_0, p_40_0_r)
-  id_edge3s = geompy.addToStudy(Edge3s, "3 Edge for Block 1s")
-
-  Edge4s = geompy.MakeArc(p_20_0, p_18_0_r, p_20_0_r)
-  id_edge4s = geompy.addToStudy(Edge4s, "4 Edge for Block 1s")
-
-  Face1s = geompy.MakeQuad(Edge1s, Edge2s, Edge3s, Edge4s)
-  id_face1s = geompy.addToStudy(Face1s, "1 Face for Block 1s")
-
-  Block1s = geompy.MakePrismVecH(Face1s, vz, th);
-  id_block1s = geompy.addToStudy(Block1s, "Block 1s")
-
-  p_30_0_1 = geompy.MakeVertex(30., 0., 1.)
-
-  Face2s = geompy.GetFaceNearPoint(Block1s, p_30_0_1)
-  id_face2s = geompy.addToStudy(Face2s, "2 Face of Block 1s")
-
-  f2s_ind = geompy.LocalOp.GetSubShapeIndex(Block1s, Face2s)
-
-  Block1s_tr1 = geompy.MakeMultiTransformation1D(Block1s, f2s_ind, 0, 24)
-  id_block1s_tr1 = geompy.addToStudy(Block1s_tr1, "Multi-transformed Block 1s")
-
-  p_60_150_0 = geompy.MakeVertex(60., -150., 0.)
-  Gear = geompy.MakeTranslationTwoPoints(Block1s_tr1, p0, p_60_150_0)
-  id_gear = geompy.addToStudy(Gear, "Gear")
-
-  ### Link two parts ###
-
-  ### Linking Block 1 ###
-
-  p_55_0_1 = geompy.MakeVertex(55., 0., 1.)
-  p_55_110_1 = geompy.MakeVertex(55., -110., 1.)
-
-  Face11l = geompy.GetFaceNearPoint(Block5, p_55_0_1)
-  id_face11l = geompy.addToStudy(Face11l, "1 Face for Linking Block 1")
-
-  Face12l = geompy.GetFaceNearPoint(Gear, p_55_110_1)
-  id_face12l = geompy.addToStudy(Face12l, "2 Face for Linking Block 1")
-
-  Block1l = geompy.MakeHexa2Faces(Face11l, Face12l)
-  id_block1l = geompy.addToStudy(Block1l, "Linking Block 1")
-
-  ### Linking Block 2 ###
-
-  p_25_0_1 = geompy.MakeVertex(25., 0., 1.)
-  p_45_110_1 = geompy.MakeVertex(45., -110., 1.)
-
-  Face21l = geompy.GetFaceNearPoint(Block4, p_25_0_1)
-  id_face21l = geompy.addToStudy(Face21l, "1 Face for Linking Block 2")
-
-  Face22l = geompy.GetFaceNearPoint(Gear, p_45_110_1)
-  id_face22l = geompy.addToStudy(Face22l, "2 Face for Linking Block 2")
-
-  Block2l = geompy.MakeHexa2Faces(Face21l, Face22l)
-  id_block2l = geompy.addToStudy(Block2l, "Linking Block 2")
-
-  ### Linking Block 3 ###
-
-  p_55_30_1 = geompy.MakeVertex(55., 30., 1.)
-  p_65_110_1 = geompy.MakeVertex(65., -110., 1.)
-
-  Face31l = geompy.GetFaceNearPoint(Mirror1, p_55_30_1)
-  id_face31l = geompy.addToStudy(Face31l, "1 Face for Linking Block 3")
-
-  Face32l = geompy.GetFaceNearPoint(Gear, p_65_110_1)
-  id_face32l = geompy.addToStudy(Face32l, "2 Face for Linking Block 3")
-
-  Block3l = geompy.MakeHexa2Faces(Face31l, Face32l)
-  id_block3l = geompy.addToStudy(Block3l, "Linking Block 3")
-
-  ### Handle ###
-
-  CompLB = geompy.MakeCompound([Block1l, Block2l, Block3l])
-  Handle = geompy.MakeGlueFaces(CompLB, 1e-5)
-  id_handle = geompy.addToStudy(Handle, "Handle")
-
-  Block1h = geompy.GetBlockNearPoint(Handle, p_45_110_1)
-  id_block1h = geompy.addToStudyInFather(Handle, Block1h, "Block 1 of Handle")
-
-  Block2h = geompy.GetBlockNearPoint(Handle, p_65_110_1)
-  id_block2h = geompy.addToStudyInFather(Handle, Block2h, "Block 2 of Handle")
-
-  Face11h = geompy.GetFaceByNormale(Block1h, vx)
-  id_face11h = geompy.addToStudyInFather(Block1h, Face11h, "Face 1")
-
-  Face12h = geompy.GetOppositeFace(Block1h, Face11h)
-  id_face12h = geompy.addToStudyInFather(Block1h, Face12h, "Face 2")
-
-  Face21h = geompy.GetFaceByNormale(Block2h, vx)
-  id_face21h = geompy.addToStudyInFather(Block2h, Face21h, "Face 1")
-
-  Face22h = geompy.GetOppositeFace(Block2h, Face21h)
-  id_face22h = geompy.addToStudyInFather(Block2h, Face22h, "Face 2")
-
-  Block3h = BlocksOp.GetBlockByParts(Handle, [Face11h, Face21h])
-  if BlocksOp.IsDone() == 0:
-    Block3h = BlocksOp.GetBlockByParts(Handle, [Face11h, Face22h])
-    if BlocksOp.IsDone() == 0:
-        Block3h = BlocksOp.GetBlockByParts(Handle, [Face12h, Face21h])
-        if BlocksOp.IsDone() == 0:
-            Block3h = BlocksOp.GetBlockByParts(Handle, [Face12h, Face22h])
-  if BlocksOp.IsDone() == 0:
-    print "ERROR: BlocksOp.GetBlockByParts() failed : ", BlocksOp.GetErrorCode()
-  else:
-    id_block3h = geompy.addToStudyInFather(Handle, Block3h, "Block 3 of Handle")
-
-  ### The whole shape ###
-
-  CompALL = geompy.MakeCompound([Glue1234, Block5, Mirror1, Handle, Gear])
-  Spanner = geompy.MakeGlueFaces(CompALL, 1e-5)
-  id_glueALL = geompy.addToStudy(Spanner, "The Spanner")
-
-  ### Check the Spanner ###
-
-  isCompOfBlocks6 = BlocksOp.CheckCompoundOfBlocks(Spanner)
-  if isCompOfBlocks6 == 0:
-    print "Spanner is not a compound of hexahedral solids"
-  else:
-    print "Spanner is a compound of hexahedral solids"
-
-  if isBlocksTest == 1:
-
-    print "##################### Test More #####################"
-
-    ### Get Blocks 4 and 5 from the spanner ###
-
-    Face42_sp = geompy.GetFaceByEdges(Spanner, Edge41, Edge42)
-    id_face42_sp = geompy.addToStudyInFather(Spanner, Face42_sp, "Face 4_2")
-
-    Blocks_f4_sp = geompy.GetBlocksByParts(Spanner, [Face42_sp])
-
-    isMRot2D = 0
-
-    for aBlock in Blocks_f4_sp:
-      name = geompy.SubShapeName(aBlock, Spanner)
-      Id_block = geompy.addToStudyInFather(Spanner, aBlock, name)
-
-      f42_sp_ind = geompy.LocalOp.GetSubShapeIndex(aBlock, Face42_sp)
-
-      Face_5_horiz = geompy.GetFaceByNormale(aBlock, vz)
-      f_5_horiz_ind = geompy.LocalOp.GetSubShapeIndex(aBlock, Face_5_horiz)
-
-      MRot = geompy.MakeMultiTransformation2D(aBlock, f42_sp_ind, 0, 3, f_5_horiz_ind, 0, 5)
-      if MRot is not None:
-        isMRot2D = 1
-        p_z100 = geompy.MakeVertex(0., 0., 100.)
-        MRot_tr = geompy.MakeTranslationTwoPoints(MRot, p0, p_z100)
-        id_MRot_tr = geompy.addToStudy(MRot_tr, "Multi-rotated block 5")
-
-    if isMRot2D == 0:
-      print "2D Multi Transformation failed"
-
-    ### Get one face of the Gear ###
-
-    p_20_0_tr   = geompy.MakeTranslationTwoPoints(p_20_0  , p0, p_60_150_0)
-    p_20_0_r_tr = geompy.MakeTranslationTwoPoints(p_20_0_r, p0, p_60_150_0)
-    p_40_0_tr   = geompy.MakeTranslationTwoPoints(p_40_0  , p0, p_60_150_0)
-    p_40_0_r_tr = geompy.MakeTranslationTwoPoints(p_40_0_r, p0, p_60_150_0)
-
-    Face_g_1 = geompy.GetFaceByPoints(Gear, p_20_0_tr, p_20_0_r_tr, p_40_0_tr, p_40_0_r_tr)
-    id_face_g_1 = geompy.addToStudyInFather(Gear, Face_g_1, "Face of Gear by four points")
-
-    edgesNb = geompy.ShapesOp.NumberOfEdges(Face_g_1)
-    print "Face of Gear has ", edgesNb, " edges"
-
-    Face_g_1_tr = geompy.MakeTranslationTwoPoints(Face_g_1, p0, pth)
-    id_face_g_1_tr = geompy.addToStudyInFather(Gear, Face_g_1_tr, "Face of Gear by four points, translated")
-
-    ### equivalent of Block1s, but made as block
-
-    Block_new = geompy.MakeHexa2Faces(Face_g_1, Face_g_1_tr)
-    id_block_new = geompy.addToStudy(Block_new, "Block New")
-
-  if isMeshTest == 1:
-
-    print "##################### Build Mesh #####################"
-
-    import StdMeshers
-
-    # ---- add a middle block of spanner handle in study
-
-    p_45_0_1 = geompy.MakeVertex(45., 0., 1.)
-    BlockMh = geompy.GetBlockNearPoint(Spanner, p_45_0_1)
-    id_blockMh = geompy.addToStudyInFather(Spanner, BlockMh, "Middle Block of Spanner Handle")
-
-    # ---- add the top face of the middle block in study
-
-    FaceTop = geompy.GetFaceByNormale(BlockMh, vz)
-    id_facetop = geompy.addToStudyInFather(BlockMh, FaceTop, "Top Face")
-
-    # ---- add long edges of the top face in study
-
-    FaceTop_edges = geompy.SubShapeAllSorted(FaceTop, geompy.ShapeType["EDGE"])
-    Edge1 = FaceTop_edges[0]
-    Edge2 = FaceTop_edges[3]
-    Id_Edge1 = geompy.addToStudyInFather(FaceTop, Edge1, "Edge 1")
-    Id_Edge2 = geompy.addToStudyInFather(FaceTop, Edge2, "Edge 2")
-
-    # ---- launch SMESH
-
-    smeshgui = None
-    if hasGUI == 1:
-      smeshgui = salome.ImportComponentGUI("SMESH")
-      smeshgui.Init(salome.myStudyId)
-
-    print "-------------------------- create Hypothesis"
-
-    print "-------------------------- NumberOfSegments"
-
-    hypNbSeg3 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
-    hypNbSeg3.SetNumberOfSegments(3)
-    print hypNbSeg3.GetName()
-    print hypNbSeg3.GetId()
-    print hypNbSeg3.GetNumberOfSegments()
-
-    if hasGUI == 1:
-      idseg = salome.ObjectToID(hypNbSeg3)
-      smeshgui.SetName(idseg, "NumberOfSegments_3");
-
-    print "-------------------------- LocalLength"
-
-    hypLen1 = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so")
-    hypLen1.SetLength(10)
-    print hypLen1.GetName()
-    print hypLen1.GetId()
-    print hypLen1.GetLength()
-
-    if hasGUI == 1:
-      idlength = salome.ObjectToID(hypLen1)
-      smeshgui.SetName(idlength, "Local_Length_10");
-
-    print "-------------------------- Propagation"
-
-    hypProp = smesh.CreateHypothesis("Propagation", "libStdMeshersEngine.so")
-    print hypProp.GetName()
-    print hypProp.GetId()
-
-    if hasGUI == 1:
-      idprop = salome.ObjectToID(hypProp)
-      smeshgui.SetName(idprop, "Propagation hypothesis");
-
-    #print "-------------------------- NumberOfSegments"
-    #
-    #hypNbSeg15 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
-    #hypNbSeg15.SetNumberOfSegments(15)
-    #print hypNbSeg15.GetName()
-    #print hypNbSeg15.GetId()
-    #print hypNbSeg15.GetNumberOfSegments()
-    #
-    #if hasGUI == 1:
-    #  idseg15 = salome.ObjectToID(hypNbSeg15)
-    #  smeshgui.SetName(idseg15, "NumberOfSegments_15");
-
-    print "-------------------------- Regular_1D"
-
-    algoReg = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
-    listHyp = algoReg.GetCompatibleHypothesis()
-    for hyp in listHyp:
-        print hyp
-    print algoReg.GetName()
-    print algoReg.GetId()
-
-    if hasGUI == 1:
-      idreg = salome.ObjectToID(algoReg)
-      smeshgui.SetName(idreg, "Regular_1D");
-
-    print "-------------------------- Quadrangle_2D"
-
-    algoQuad = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so")
-    listHyp = algoQuad.GetCompatibleHypothesis()
-    for hyp in listHyp:
-        print hyp
-    print algoQuad.GetName()
-    print algoQuad.GetId()
-
-    if hasGUI == 1:
-      idquad = salome.ObjectToID(algoQuad)
-      smeshgui.SetName(idquad, "Quadrangle_2D");
-
-    print "---- Init a Mesh with the Spanner"
-
-    mesh = smesh.CreateMesh(Spanner)
-    if hasGUI == 1:
-      idmesh = salome.ObjectToID(mesh)
-      smeshgui.SetName(idmesh, "Meshed Spanner");
-
-    print "-------------------------- add hypothesis to Spanner"
-
-    mesh.AddHypothesis(Spanner, algoReg)
-    mesh.AddHypothesis(Spanner, hypNbSeg3)
-    mesh.AddHypothesis(Spanner, algoQuad)
-
-    print "-------------------------- add hypothesis to the Middle Block"
-
-    submesh_bl = mesh.GetSubMesh(BlockMh, "SubMesh Middle Block")
-    mesh.AddHypothesis(BlockMh, hypLen1)
-
-    print "-------------------------- add hypothesis to the long edges of the Top Face of the Middle Block"
-
-    submesh_e1 = mesh.GetSubMesh(Edge1, "SubMesh Edge 1 of Top Face")
-    mesh.AddHypothesis(Edge1, hypProp)
-    #mesh.AddHypothesis(Edge1, hypNbSeg15)
-
-    submesh_e2 = mesh.GetSubMesh(Edge2, "SubMesh Edge 2 of Top Face")
-    mesh.AddHypothesis(Edge2, hypProp)
-    #mesh.AddHypothesis(Edge2, hypNbSeg15)
-
-    print "-------------------------- compute the mesh"
-    smesh.Compute(mesh, Spanner)
-
-    print "Information about the Mesh:"
-    print "Number of nodes       : ", mesh.NbNodes()
-    print "Number of edges       : ", mesh.NbEdges()
-    print "Number of faces       : ", mesh.NbFaces()
-    print "Number of triangles   : ", mesh.NbTriangles()
-    print "Number of quadrangles : ", mesh.NbQuadrangles()
-    print "Number of volumes     : ", mesh.NbVolumes()
-    print "Number of tetrahedrons: ", mesh.NbTetras()
-
-  return Spanner
diff --git a/src/GEOM_SWIG/GEOM_TestAll.py b/src/GEOM_SWIG/GEOM_TestAll.py
deleted file mode 100644 (file)
index 67e6265..0000000
+++ /dev/null
@@ -1,335 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  CEA
-#
-#  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.
-#
-#  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.org
-#
-#
-#  File   : GEOM_usinggeom.py
-#  Author : Damien COQUERET, Open CASCADE
-#  Module : GEOM
-#  $Header$
-
-def TestAll (geompy, math):
-
-  #Create base Variables
-  nbtimes1  = 5      #Short
-  nbtimes2  = 5
-  mindeg = 2
-  maxdeg = 5
-  nbiter = 5
-  ShapeTypeFace = geompy.ShapeType["FACE"]
-  ShapeTypeEdge = geompy.ShapeType["EDGE"]
-  WantPlanarFace = 1 #True
-
-  radius  = 10.  #Double
-  radius1 = 100.
-  radius2 = 200.
-  height  = 200.
-  d1      = 10.
-  d2      = 10.
-  step1   = 250.
-  step2   = 250.
-  angle   = 45.
-  angle1  = angle * math.pi / 180
-  angle2  = 2 * angle1
-  factor  = 2.
-  tol3d   = 0.0001
-  tol2d   = 0.0001
-  weight  = 1000000.
-  waterdensity = 1.
-  meshingdeflection = 0.01
-  trimsize  = 1000.
-  precision = 0.00001
-
-  #Create base points
-  p0   = geompy.MakeVertex(0.  , 0.  , 0.  ) #(3 Doubles)->GEOM_Object_ptr
-  px   = geompy.MakeVertex(100., 0.  , 0.  )
-  py   = geompy.MakeVertex(0.  , 100., 0.  )
-  pz   = geompy.MakeVertex(0.  , 0.  , 100.)
-  pxyz = geompy.MakeVertex(100., 100., 100.)
-
-  p200 = geompy.MakeVertexWithRef(pxyz, 100., 100., 100.) #(GEOM_Object_ptr, 3 Doubles)->GEOM_Object_ptr
-
-  #Create base directions
-  vx   = geompy.MakeVector(p0, px) #(GEOM_Object_ptr, GEOM_Object_ptr)->GEOM_Object_ptr
-  vy   = geompy.MakeVector(p0, py)
-  vz   = geompy.MakeVector(p0, pz)
-  vxy  = geompy.MakeVector(px, py)
-
-  vxyz = geompy.MakeVectorDXDYDZ(100., 100., 100.) #(3 Doubles)->GEOM_Object_ptr
-
-  #Create local coordinate systems
-  cs1 = geompy.MakeMarker(50,50,50, 1,0,0, 0,1,0)
-  cs2 = geompy.MakeMarker(70,80,10, 1,0,1, 1,1,0)
-
-  #Create base geometry 2D
-  Line   = geompy.MakeLineTwoPnt(p0, pxyz)                  #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Line1  = geompy.MakeLine(pz, vxy)                         #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Plane  = geompy.MakePlane(pz, vxyz, trimsize)             #(2 GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Plane1 = geompy.MakePlaneThreePnt(px, pz, p200, trimsize) #(4 Doubles)->GEOM_Object_ptr
-
-  Arc      = geompy.MakeArc(py, pz, px)                   #(3 GEOM_Object_ptr)->GEOM_Object_ptr
-  Circle   = geompy.MakeCircle(p0, vz, radius1)           #(2 GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Circle1  = geompy.MakeCircleThreePnt(p0, pxyz, px)      #(3 GEOM_Object_ptr)->GEOM_Object_ptr
-  Ellipse  = geompy.MakeEllipse(p0, vy, radius2, radius1) #(2 GEOM_Object_ptr, 2 Doubles)->GEOM_Object_ptr
-  Polyline = geompy.MakePolyline([p0, pz, py, p200])      #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-  Bezier   = geompy.MakeBezier([p0, pz, p200, px])        #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-  Interpol = geompy.MakeInterpol([px, py, p200, pxyz])    #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-  Sketcher = geompy.MakeSketcher("Sketcher:F -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW",
-                                 [100,0,0, 1,1,1, -1,1,0]) #(String, List of Doubles)->GEOM_Object_ptr
-
-  #Test point on curve creation
-  p_on_arc = geompy.MakeVertexOnCurve(Arc, 0.25) #(GEOM_Object_ptr, Double)->GEOM_Object_ptr
-
-  #Create base geometry 3D
-  Box      = geompy.MakeBoxTwoPnt(p0, p200)                   #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Box1     = geompy.MakeBoxDXDYDZ(10, 20, 30)                 #(3 Doubles)->GEOM_Object_ptr
-  Box2     = geompy.MakeBox(10,20,30, 15,25,35)               #(6 Doubles)->GEOM_Object_ptr
-  Cylinder = geompy.MakeCylinder(p0, vz, radius1, height)     #(2 GEOM_Object_ptr, 2 Doubles)->GEOM_Object_ptr
-  Cyl1     = geompy.MakeCylinderRH(radius2, height)           #(2 Doubles)->GEOM_Object_ptr
-  Sphere   = geompy.MakeSpherePntR(p0, radius1)               #(GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Sphere1  = geompy.MakeSphereR(radius)                       #(Double)->GEOM_Object_ptr
-  Sphere2  = geompy.MakeSphere(50, 70, 30, radius)            #(4 Doubles)->GEOM_Object_ptr
-  Cone     = geompy.MakeCone(p0, vz, radius2, radius, height) #(2 GEOM_Object_ptr, 3 Doubles)->GEOM_Object_ptr
-  Cone1    = geompy.MakeConeR1R2H(radius1, radius, height)    #(3 Doubles)->GEOM_Object_ptr
-  Torus    = geompy.MakeTorus(p0, vz, radius2, radius)        #(2 GEOM_Object_ptr, 2 Doubles)->GEOM_Object_ptr
-  Torus1   = geompy.MakeTorusRR(radius2, radius1)             #(2 Doubles)->GEOM_Object_ptr
-
-  #Boolean (Common, Cut, Fuse, Section)
-  Common  = geompy.MakeBoolean(Box, Sphere, 1) #(2 GEOM_Object_ptr, Short)->GEOM_Object_ptr
-  Cut     = geompy.MakeBoolean(Box, Sphere, 2)
-  Fuse    = geompy.MakeBoolean(Box, Sphere, 3)
-  Section = geompy.MakeBoolean(Box, Sphere, 4)
-
-  #Create base objects
-  Edge     = geompy.MakeEdge(p0, pxyz)               #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Wire     = geompy.MakeWire([vxy, Arc])             #(List Of GEOM_Object_ptr)->GEOM_Object_ptr
-  Face     = geompy.MakeFace(Wire, WantPlanarFace)   #(GEOM_Object_ptr, Boolean)->GEOM_Object_ptr
-  Face1    = geompy.MakeFaceWires([Wire, Sketcher],
-                                  WantPlanarFace)    #(List of GEOM_Object_ptr, Boolean)->GEOM_Object_ptr
-  Face2    = geompy.MakeFace(Sketcher, WantPlanarFace)
-  Shell    = geompy.MakeShell([Face, Face1])         #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-
-  Prism1   = geompy.MakePrism(Face2, p0, pxyz)       #(3 GEOM_Object_ptr)->GEOM_Object_ptr
-  prism1_faces = geompy.SubShapeAllSorted(Prism1, ShapeTypeFace)
-  Shell1   = geompy.MakeShell([prism1_faces[0], prism1_faces[1],
-                               prism1_faces[3], prism1_faces[4],
-                               prism1_faces[5], prism1_faces[2]])
-  Solid    = geompy.MakeSolid([Shell1])              #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-
-  ShapeListCompound = []
-  i = 0
-  while i <= 3 :
-        S = geompy.MakeTranslation(Arc, i * 100., i * 100., i * 100.)
-        ShapeListCompound.append(S)
-        i = i + 1
-  Compound = geompy.MakeCompound(ShapeListCompound)  #(List of GEOM_Object_ptr)->GEOM_Object_ptr
-
-  # Test plane from existing face creation
-  Plane2 = geompy.MakePlaneFace(Face, trimsize)      #(GEOM_Object_ptr, Double)->GEOM_Object_ptr
-
-  #ShapeList for Sewing
-  S = geompy.MakeRotation(Face, vxy, angle1)
-
-  #Create advanced objects
-  Copy       = geompy.MakeCopy(Box)                      #(GEOM_Object_ptr)->GEOM_Object_ptr
-  Prism      = geompy.MakePrismVecH(Face, vz, 100.0)     #(2 GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Revolution = geompy.MakeRevolution(Face, vz, angle2)   #
-  Filling    = geompy.MakeFilling(Compound, mindeg, maxdeg,
-                                  tol2d, tol3d, nbiter)  #(GEOM_Object_ptr, 4 Doubles, Short)->GEOM_Object_ptr
-  Pipe       = geompy.MakePipe(Wire, Edge)               #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Sewing     = geompy.MakeSewing([Face, S], precision)   #(List Of GEOM_Object_ptr, Double)->GEOM_Object_ptr
-
-  #Transform objects
-  Translation = geompy.MakeTranslationTwoPoints(Box, px, pz)  #(3 GEOM_Object_ptr)->GEOM_Object_ptr
-  TranslVect  = geompy.MakeTranslationVector(Box, vxyz)       #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  Rotation    = geompy.MakeRotation(Box, vz, angle1)          #(2 GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Scale       = geompy.MakeScaleTransform(Box, p0, factor)    #
-  Mirror      = geompy.MakeMirrorByPlane(Box, Plane)          #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-  MirrorAxis  = geompy.MakeMirrorByAxis(Box, Line1)           #
-  MirrorPnt   = geompy.MakeMirrorByPoint(Box, p200)           #
-  Position    = geompy.MakePosition(Box, cs1, cs2)            #(3 GEOM_Object_ptr)->GEOM_Object_ptr
-  Offset      = geompy.MakeOffset(Box, 10.)                   #(GEOM_Object_ptr, Double)->GEOM_Object_ptr
-  Orientation = geompy.ChangeOrientation(Box)
-
-  #IDList for Fillet/Chamfer
-  prism_edges = geompy.SubShapeAllSorted(Prism, ShapeTypeEdge)
-
-  for anEdge in prism_edges:
-    eid = geompy.GetSubShapeID(Prism, anEdge)
-    sse = geompy.GetSubShape(Prism, [eid])
-
-    sse_id = geompy.GetSubShapeID(Prism, sse)
-    if sse_id != eid:
-      print "Error: GetSubShape() or GetSubShapeID() has failed!"
-
-  IDlist_e = []
-  IDlist_e.append(geompy.GetSubShapeID(Prism, prism_edges[0]))
-  IDlist_e.append(geompy.GetSubShapeID(Prism, prism_edges[1]))
-  IDlist_e.append(geompy.GetSubShapeID(Prism, prism_edges[2]))
-
-  prism_faces = geompy.SubShapeAllSorted(Prism, ShapeTypeFace)
-
-  f_ind_1 = geompy.GetSubShapeID(Prism, prism_faces[0])
-  f_ind_2 = geompy.GetSubShapeID(Prism, prism_faces[1])
-
-  IDlist_f = [f_ind_1, f_ind_2]
-
-  #Local operations
-  Fillet   = geompy.MakeFillet (Prism, radius, ShapeTypeEdge,
-                                IDlist_e) #(GEOM_Object_ptr, Double, Short, ListOfLong)->GEOM_Object_ptr
-  Chamfer  = geompy.MakeChamferEdge(Prism, d1, d2,
-                                    f_ind_1, f_ind_2) #(GEOM_Object_ptr, 2 Doubles, 2 Long)->GEOM_Object_ptr
-  Chamfer2 = geompy.MakeChamferFaces(Prism, d1, d2,
-                                     IDlist_f) #(GEOM_Object_ptr, 2 Doubles, ListOfLong)->GEOM_Object_ptr
-
-  #Create Patterns
-  MultiTrans1D = geompy.MakeMultiTranslation1D(Fillet, vz, step1, nbtimes1)
-  MultiTrans2D = geompy.MakeMultiTranslation2D(Fillet, vz, step1, nbtimes1, vy, step2, nbtimes2)
-  #!!!!Angle In Degree!!!!
-  MultiRot1D   = geompy.MultiRotate1D(Chamfer, vx, nbtimes1)
-  MultiRot2D   = geompy.MultiRotate2D(Chamfer, vx, angle, nbtimes1, step1, nbtimes2)
-
-  #Create Informations objects
-  CDG        = geompy.MakeCDG(Prism)               #(GEOM_Object_ptr)->GEOM_Object_ptr
-  Archimede  = geompy.Archimede(Box, weight, waterdensity,
-                                meshingdeflection) #(GEOM_Object_ptr, 3 Doubles)->GEOM_Object_ptr
-  CheckShape = geompy.CheckShape(Prism)            #(GEOM_Object_ptr)->Boolean
-  print "CheckShape(Prism) = ", CheckShape
-
-  #Partition objects
-  Partition  = geompy.MakePartition([Box], [Plane]) #(2 Lists Of GEOM_Object_ptr)->GEOM_Object_ptr
-  Partition1 = geompy.MakeHalfPartition(Box, Plane) #(2 GEOM_Object_ptr)->GEOM_Object_ptr
-
-  #Add In Study
-
-  id_p0   = geompy.addToStudy(p0,   "Vertex 0")
-  id_px   = geompy.addToStudy(px,   "Vertex X")
-  id_py   = geompy.addToStudy(py,   "Vertex Y")
-  id_pz   = geompy.addToStudy(pz,   "Vertex Z")
-  id_pxyz = geompy.addToStudy(pxyz, "Vertex XYZ")
-  id_p200 = geompy.addToStudy(p200, "Vertex 200")
-
-  id_vx   = geompy.addToStudy(vx,   "Vector X")
-  id_vy   = geompy.addToStudy(vy,   "Vector Y")
-  id_vz   = geompy.addToStudy(vz,   "Vector Z")
-  id_vxy  = geompy.addToStudy(vxy,  "Vector XY")
-  id_vxyz = geompy.addToStudy(vxyz, "Vector XYZ")
-
-  id_cs1 = geompy.addToStudy(cs1, "CS 50,50,50, 1,0,0, 0,1,0")
-  id_cs2 = geompy.addToStudy(cs2, "CS 70,80,10, 1,0,1, 1,1,0")
-
-  id_Line   = geompy.addToStudy(Line,   "Line")
-  id_Line1  = geompy.addToStudy(Line1,  "Line by point and vector")
-  id_Plane  = geompy.addToStudy(Plane,  "Plane")
-  id_Plane1 = geompy.addToStudy(Plane1,  "Plane by 3 points")
-
-  id_Arc      = geompy.addToStudy(Arc,      "Arc")
-  id_Circle   = geompy.addToStudy(Circle,   "Circle")
-  id_Circle1  = geompy.addToStudy(Circle1,  "Circle by 3 points")
-  id_Ellipse  = geompy.addToStudy(Ellipse,  "Ellipse")
-  id_Polyline = geompy.addToStudy(Polyline, "Polyline")
-  id_Bezier   = geompy.addToStudy(Bezier,   "Bezier")
-  id_Interpol = geompy.addToStudy(Interpol, "Interpol")
-  id_Sketcher = geompy.addToStudy(Sketcher, "Sketcher")
-
-  id_p_on_arc = geompy.addToStudy(p_on_arc, "Vertex on Arc")
-
-  id_Box      = geompy.addToStudy(Box,      "Box")
-  id_Box1     = geompy.addToStudy(Box1,     "Box 10x20x30")
-  id_Box2     = geompy.addToStudy(Box2,     "Box (10,20,30)-(15,25,35)")
-  id_Cylinder = geompy.addToStudy(Cylinder, "Cylinder")
-  id_Cyl1     = geompy.addToStudy(Cyl1,     "Cylinder RH")
-  id_Sphere   = geompy.addToStudy(Sphere,   "Sphere Pnt R")
-  id_Sphere1  = geompy.addToStudy(Sphere1,  "Sphere R")
-  id_Sphere2  = geompy.addToStudy(Sphere2,  "Sphere")
-  id_Cone     = geompy.addToStudy(Cone,     "Cone")
-  id_Cone1    = geompy.addToStudy(Cone1,    "Cone R1R2H")
-  id_Torus    = geompy.addToStudy(Torus,    "Torus")
-  id_Torus1   = geompy.addToStudy(Torus1,   "Torus RR")
-
-  id_Common  = geompy.addToStudy(Common,  "Common")
-  id_Cut     = geompy.addToStudy(Cut,     "Cut")
-  id_Fuse    = geompy.addToStudy(Fuse,    "Fuse")
-  id_Section = geompy.addToStudy(Section, "Section")
-
-  id_Edge     = geompy.addToStudy(Edge,     "Edge")
-  id_Wire     = geompy.addToStudy(Wire,     "Wire")
-  id_Face     = geompy.addToStudy(Face,     "Face")
-  id_Face1    = geompy.addToStudy(Face1,    "Face from two wires")
-  id_Face2    = geompy.addToStudy(Face2,    "Face from Sketcher")
-  id_Shell    = geompy.addToStudy(Shell,    "Shell")
-
-  id_Prism1   = geompy.addToStudy(Prism1,     "Prism by Two Pnt")
-  id_Shell1   = geompy.addToStudy(Shell1,   "Shell from Prism1 faces")
-  id_Solid    = geompy.addToStudy(Solid,    "Solid")
-  id_Compound = geompy.addToStudy(Compound, "Compound")
-
-  id_Plane2   = geompy.addToStudy(Plane2,   "Plane on Face")
-
-  id_Copy       = geompy.addToStudy(Copy,       "Copy")
-  id_Prism      = geompy.addToStudy(Prism,      "Prism")
-  id_Revolution = geompy.addToStudy(Revolution, "Revolution")
-  id_Filling    = geompy.addToStudy(Filling,    "Filling")
-  id_Pipe       = geompy.addToStudy(Pipe,       "Pipe")
-  id_Sewing     = geompy.addToStudy(Sewing,     "Sewing")
-
-  id_Translation = geompy.addToStudy(Translation, "Translation")
-  id_TranslVect  = geompy.addToStudy(TranslVect , "Translation along vector")
-  id_Rotation    = geompy.addToStudy(Rotation,    "Rotation")
-  id_Scale       = geompy.addToStudy(Scale,       "Scale")
-  id_Mirror      = geompy.addToStudy(Mirror,      "Mirror by Plane")
-  id_MirrorAxis  = geompy.addToStudy(MirrorAxis,  "Mirror by Axis")
-  id_MirrorPnt   = geompy.addToStudy(MirrorPnt,   "Mirror by Point")
-  id_Position    = geompy.addToStudy(Position,    "Positioned box")
-  id_Offset      = geompy.addToStudy(Offset,      "Offset")
-  id_Orientation = geompy.addToStudy(Orientation, "Orientation")
-
-  id_Fillet   = geompy.addToStudy(Fillet,   "Fillet")
-  id_Chamfer  = geompy.addToStudy(Chamfer,  "Chamfer on Edge")
-  id_Chamfer2 = geompy.addToStudy(Chamfer2, "Chamfer on Faces")
-
-  id_MultiTrans1D = geompy.addToStudy(MultiTrans1D, "MultiTrans1D")
-  id_MultiTrans2D = geompy.addToStudy(MultiTrans2D, "MultiTrans2D")
-  id_MultiRot1D   = geompy.addToStudy(MultiRot1D,   "MultiRot1D")
-  id_MultiRot2D   = geompy.addToStudy(MultiRot2D,   "MultiRot2D")
-
-  id_CDG       = geompy.addToStudy(CDG,       "CDG")
-  id_Archimede = geompy.addToStudy(Archimede, "Archimede")
-
-  id_Partition  = geompy.addToStudy(Partition, "Partition")
-  id_Partition1 = geompy.addToStudy(Partition1, "Half Partition")
-
-  #Decompose objects
-  SubFace    = geompy.SubShape(Box, geompy.ShapeType["FACE"], [2])
-  name       = geompy.SubShapeName(SubFace, Box)
-  id_SubFace = geompy.addToStudyInFather(Box, SubFace, name)
-
-  SubFaceS   = geompy.SubShapeSorted(Box, geompy.ShapeType["FACE"], [5])
-  nameS      = geompy.SubShapeName(SubFaceS, Box)
-  id_SubFace = geompy.addToStudyInFather(Box, SubFaceS, nameS)
-
-  SubEdgeList = geompy.SubShapeAll(SubFace, geompy.ShapeType["EDGE"])
-  i=0
-  for SubEdge in SubEdgeList :
-    name = geompy.SubShapeName(SubEdge, SubFace)
-    id_SubEdge = geompy.addToStudyInFather(SubFace, SubEdge, name)
-
-  #-------------------
-
-  print "DONE"
diff --git a/src/GEOM_SWIG/GEOM_TestHealing.py b/src/GEOM_SWIG/GEOM_TestHealing.py
deleted file mode 100644 (file)
index 4ad4a1c..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ implementaion with Python
-#
-#  Copyright (C) 2003  CEA
-#
-#  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.
-#
-#  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.org
-#
-#
-#  File   : GEOM_TestHealing.py
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-def TestProcessShape (geompy):
-
-  ##Load shape from BREP file
-  #import os
-  #datadir = os.getenv("GEOM_TEST")
-  #if datadir != 0:
-  #  datadir = datadir + "/Resources/"
-  #else:
-  #  "Please, define GEOM_TEST variable !"
-  #
-  #print "Import ", datadir + "aze2.brep"
-  #Shape = batchmode_geompy.Import(datadir + "aze2.brep", "BREP")
-
-  p1 = geompy.MakeVertex(0,0,0)
-  p2 = geompy.MakeVertex(200,0,0)
-  p3 = geompy.MakeVertex(100,150,0)
-
-  edge = geompy.MakeEdge(p1,p2)
-  arc  = geompy.MakeArc(p1,p3,p2)
-  wire = geompy.MakeWire([edge,arc])
-  face = geompy.MakeFace(wire, 1)
-
-  theShape = geompy.MakePrismVecH(face, edge, 130)
-
-  #Check shape
-  print "Before ProcessShape:"
-  isValid = geompy.CheckShape(theShape)
-  if isValid == 0:
-    print "The shape is not valid"
-  else:
-    print "The shape seems to be valid"
-
-  #Process Shape
-  Operators = ["FixShape"]
-  Parameters = ["FixShape.Tolerance3d"]
-  Values = ["1e-7"]
-
-  PS = geompy.ProcessShape(theShape, Operators, Parameters, Values)
-
-  #Check shape
-  print "After ProcessShape:"
-  isValid = geompy.CheckShape(PS)
-  if isValid == 0:
-    print "The shape is not valid"
-    raise RuntimeError, "It seems, that the ProcessShape() has failed"
-  else:
-    print "The shape seems to be valid"
-
-  #Add In Study
-  Id_Shape = geompy.addToStudy(theShape, "Invalid Shape")
-  Id_PS    = geompy.addToStudy(PS, "Processed Shape")
-
-def TestSuppressFaces (geompy):
-
-  #Create base geometry 3D
-  Box = geompy.MakeBoxDXDYDZ(200., 200., 200.)
-
-  #IDList for SuppHole
-  faces = []
-  faces = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
-
-  f_glob_id = geompy.GetSubShapeID(Box, faces[5])
-
-  #Transform objects
-  SuppFace = geompy.SuppressFaces(Box, [f_glob_id])
-
-  #Add In Study
-  Id_SuppFace = geompy.addToStudy(SuppFace, "SuppFace")
-
-def TestSuppressInternalWires (geompy):
-
-  #Create Face with hole
-  p11 = geompy.MakeVertex( 0,  0, 0)
-  p12 = geompy.MakeVertex(30,  0, 0)
-  p13 = geompy.MakeVertex(30, 30, 0)
-  p14 = geompy.MakeVertex( 0, 30, 0)
-
-  p21 = geompy.MakeVertex(10, 10, 0)
-  p22 = geompy.MakeVertex(20, 10, 0)
-  p23 = geompy.MakeVertex(20, 20, 0)
-  p24 = geompy.MakeVertex(10, 20, 0)
-
-  e11 = geompy.MakeEdge(p11, p12)
-  e12 = geompy.MakeEdge(p12, p13)
-  e13 = geompy.MakeEdge(p13, p14)
-  e14 = geompy.MakeEdge(p14, p11)
-
-  e21 = geompy.MakeEdge(p21, p22)
-  e22 = geompy.MakeEdge(p22, p23)
-  e23 = geompy.MakeEdge(p23, p24)
-  e24 = geompy.MakeEdge(p24, p21)
-
-  w1 = geompy.MakeWire([e11, e12, e13, e14])
-  w2 = geompy.MakeWire([e21, e22, e23, e24])
-
-  id_w1 = geompy.addToStudy(w1, "Outside Wire")
-  id_w2 = geompy.addToStudy(w2, "Inside Wire")
-
-  f12 = geompy.MakeFaceWires([w1, w2], 0)
-  id_f12 = geompy.addToStudy(f12, "Face WO + WI")
-
-  #Get Free Boundary
-  Res1 = geompy.GetFreeBoundary(f12)
-  isSuccess1   = Res1[0]
-  ClosedWires1 = Res1[1]
-  OpenWires1   = Res1[2]
-  nbw1 = 0
-
-  for wire in ClosedWires1:
-    nbw1 = nbw1 + 1
-
-  if nbw1 != 2:
-    raise RuntimeError, "GetFreeBoundary(f12) must return 2 closed wires, but returned ", nbw1
-
-  #SuppressInternalWires
-  face = geompy.SuppressInternalWires(f12, [])
-
-  #Get Free Boundary
-  Res2 = geompy.GetFreeBoundary(face)
-  isSuccess2   = Res2[0]
-  ClosedWires2 = Res2[1]
-  OpenWires2   = Res2[2]
-  nbw2 = 0
-
-  for wire in ClosedWires2:
-    nbw2 = nbw2 + 1
-
-  if nbw2 != 1:
-    print "GetFreeBoundary(face) must return 1 closed wires, but returned ", nbw2
-    raise RuntimeError, "SuppressInternalWires() works not correctly"
-
-  #Add In Study
-  Id_face = geompy.addToStudy(face, "Face without internal wires")
-
-def TestCloseContour (geompy):
-
-  ##Load shape from BREP file
-  #import os
-  #datadir = os.getenv("GEOM_TEST")
-  #if datadir != 0:
-  #  datadir = datadir + "/Resources/"
-  #else:
-  #  "Please, define GEOM_TEST variable !"
-  #
-  #print "Import ", datadir + "open_cont.brep"
-  #Shape = geompy.Import(datadir + "open_cont.brep", "BREP")
-
-  p0   = geompy.MakeVertex(0.  , 0.  , 0.  )
-  py   = geompy.MakeVertex(0.  , 100., 0.  )
-  pz   = geompy.MakeVertex(0.  , 0.  , 100.)
-  p200 = geompy.MakeVertex(200., 200., 200.)
-
-  Shape = geompy.MakePolyline([p0, pz, py, p200])
-
-  #Check shape
-  print "Before closing contour:"
-  isValid = geompy.CheckShape(Shape)
-  if isValid == 0:
-    print "The shape is not valid"
-  else:
-    print "The shape seems to be valid"
-
-  #Close Contour
-  IsCommonVertex = 0 # false
-
-  shape_wires = geompy.SubShapeAll(Shape, geompy.ShapeType["WIRE"])
-  Wires = []
-  wi = 0
-
-  for wire in shape_wires:
-    Wires.append(geompy.GetSubShapeID(Shape, shape_wires[wi]))
-    wi = wi + 1
-
-  CC = geompy.CloseContour(Shape, Wires, IsCommonVertex)
-
-  #Check shape
-  print "After closing contour:"
-  isValid = geompy.CheckShape(CC)
-  if isValid == 0:
-    print "The shape is not valid"
-    raise RuntimeError, "It seems, that the contour was not closed"
-  else:
-    print "The shape seems to be valid"
-
-  #Add In Study
-  Id_Shape = geompy.addToStudy(Shape, "Shape with open wire")
-  Id_CC    = geompy.addToStudy(CC, "Shape with closed wire")
-
-def TestSuppressHoles (geompy):
-
-  #Create base Variables
-  radius = 50.
-  height = 300.
-
-  #Create base points
-  p1 = geompy.MakeVertex(100., 100., 50.)
-
-  #Create base directions
-  vz = geompy.MakeVectorDXDYDZ(0., 0., 100.)
-
-  #Create base geometry 3D
-  Box      = geompy.MakeBoxDXDYDZ(200., 200., 200.)
-  Cylinder = geompy.MakeCylinder(p1, vz, radius, height)
-
-  #Boolean (Cut)
-  Cut = geompy.MakeBoolean(Box, Cylinder, 2)
-  idCut = geompy.addToStudy(Cut, "CUT")
-
-  #IDList for SuppressFaces
-  faces = []
-  faces = geompy.SubShapeAllSorted(Cut, geompy.ShapeType["FACE"])
-  ind = 0
-  for face in faces:
-      f_name = "FACE %d"%(ind)
-      f_id = geompy.addToStudyInFather(Cut, face, f_name)
-
-      f_glob_id = geompy.GetSubShapeID(Cut, face)
-      print "face ", ind, " global index = ", f_glob_id
-      ind = ind + 1
-
-  f_glob_id_0 = geompy.GetSubShapeID(Cut, faces[0])
-  cut_without_f_0 = geompy.SuppressFaces(Cut, [f_glob_id_0])
-
-  faces1 = []
-  faces1 = geompy.SubShapeAllSorted(cut_without_f_0, geompy.ShapeType["FACE"])
-  ind = 0
-  for face in faces1:
-      f_name = "FACE %d"%(ind)
-      f_id = geompy.addToStudyInFather(cut_without_f_0, face, f_name)
-
-      f_glob_id = geompy.GetSubShapeID(cut_without_f_0, face)
-      print "face ", ind, " global index = ", f_glob_id
-      ind = ind + 1
-
-  f_glob_id_5 = geompy.GetSubShapeID(cut_without_f_0, faces1[5])
-  cut_without_f_0_5 = geompy.SuppressFaces(cut_without_f_0, [f_glob_id_5])
-  cut_without_f_0_5_id = geompy.addToStudy(cut_without_f_0_5, "Cut without faces 0 and 5")
-
-  #IDList for SuppHole
-  wires = []
-  wires = geompy.SubShapeAllSorted(cut_without_f_0_5, geompy.ShapeType["WIRE"])
-  ind = 0
-  for wire in wires:
-      w_name = "WIRE %d"%(ind)
-      w_id = geompy.addToStudyInFather(cut_without_f_0_5, wire, w_name)
-
-      w_glob_id = geompy.GetSubShapeID(cut_without_f_0_5, wire)
-      print "wire ", ind, " global index = ", w_glob_id
-      ind = ind + 1
-
-  w_3 = geompy.GetSubShapeID(cut_without_f_0_5, wires[3])
-
-  SuppHole3 = geompy.SuppressHoles(cut_without_f_0_5, [w_3])
-  SuppHole3_id = geompy.addToStudy(SuppHole3, "Supp Hole 3")
-
-def TestMakeSewing (geompy, math):
-
-  #Create base points
-  px = geompy.MakeVertex(100., 0., 0.)
-  py = geompy.MakeVertex(0., 100., 0.)
-  pz = geompy.MakeVertex(0., 0., 100.)
-
-  #Create base geometry 2D & 3D
-  Vector = geompy.MakeVector(px, py)
-  Arc    = geompy.MakeArc(py, pz, px)
-
-  #Create base objects
-  angle     = 45. * math.pi / 180
-  WantPlanarFace = 1 #True
-
-  Wire = geompy.MakeWire([Vector, Arc])
-  Face = geompy.MakeFace(Wire, WantPlanarFace)
-  S    = geompy.MakeRotation(Face, Vector, angle)
-
-  #Make Sewing
-  precision = 0.00001
-  Sewing = geompy.MakeSewing([Face, S], precision)
-
-  #Add In Study
-  id_Sewing = geompy.addToStudy(Sewing, "Sewing")
-
-def TestDivideEdge (geompy):
-
-  #Create Box
-  Box = geompy.MakeBoxDXDYDZ(200., 200., 200.)
-
-  #Divide Edge
-  box_edges = geompy.SubShapeAllSorted(Box, geompy.ShapeType["EDGE"])
-  edge_ind = geompy.GetSubShapeID(Box, box_edges[1])
-
-  Divide = geompy.DivideEdge(Box, edge_ind, 0.5, 1) # Obj, ind, param, is_curve_param
-
-  #Add In Study
-  Id_Box    = geompy.addToStudy(Box, "Box")
-  Id_Divide = geompy.addToStudy(Divide, "Box with Divided Edge")
-
-def TestHealingOperations (geompy, math):
-
-  TestMakeSewing(geompy, math)
-  TestDivideEdge(geompy)
-  TestSuppressHoles(geompy)
-  TestSuppressInternalWires(geompy)
-  TestCloseContour(geompy)
-  TestSuppressFaces(geompy)
-  TestProcessShape(geompy)
diff --git a/src/GEOM_SWIG/GEOM_TestMeasures.py b/src/GEOM_SWIG/GEOM_TestMeasures.py
deleted file mode 100644 (file)
index 53604ea..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-def TestMeasureOperations (geompy, math):
-
-  p0   = geompy.MakeVertex(0 ,  0,  0)
-  p137 = geompy.MakeVertex(10, 30, 70)
-
-  box = geompy.MakeBoxTwoPnt(p0, p137)
-
-  p678 = geompy.MakeVertex(60, 70, 80)
-  p789 = geompy.MakeVertex(70, 80, 90)
-
-  cube = geompy.MakeBoxTwoPnt(p678, p789)
-
-  ####### PointCoordinates #######
-
-  Coords = geompy.PointCoordinates(p137)
-  if Coords[0] != 10 or Coords[1] != 30 or Coords[2] != 70:
-    print "Coordinates of p137 must be (10, 30, 70), but returned (", Coords[0], ", ", Coords[1], ", ", Coords[2], ")"
-
-  ####### CheckShape #######
-
-  IsValid = geompy.CheckShape(box)
-  if IsValid == 0:
-    raise RuntimeError, "Invalid box created"
-  else:
-    print "\nBox is valid"
-
-  ####### WhatIs #######
-
-  Descr = geompy.WhatIs(box)
-  print "\nBox 10x30x70 description:"
-  print Descr
-
-  ####### BasicProperties #######
-
-  Props = geompy.BasicProperties(box)
-  print "\nBox 10x30x70 Basic Properties:"
-  print " Wires length: ", Props[0]
-  print " Surface area: ", Props[1]
-  print " Volume      : ", Props[2]
-
-  dl = math.sqrt((Props[0] -   880)*(Props[0] -   880))
-  da = math.sqrt((Props[1] -  6200)*(Props[1] -  6200))
-  dv = math.sqrt((Props[2] - 21000)*(Props[2] - 21000))
-  #print "|Props[0] - 880| = ", dl
-
-  if dl > 1e-7 or da > 1e-7 or dv > 1e-7:
-    print "While must be:"
-    print " Wires length: ", 880
-    print " Surface area: ", 6200
-    print " Volume      : ", 21000
-
-  ####### BoundingBox #######
-
-  BB = geompy.BoundingBox(box)
-  print "\nBounding Box of box 10x30x70:"
-  print " Xmin = ", BB[0], ", Xmax = ", BB[1]
-  print " Ymin = ", BB[2], ", Ymax = ", BB[3]
-  print " Zmin = ", BB[4], ", Zmax = ", BB[5]
-
-  ####### Inertia #######
-
-  In = geompy.Inertia(box)
-  print "\nInertia matrix of box 10x30x70:"
-  print " (", In[0], ", ", In[1], ", ", In[2], ")"
-  print " (", In[3], ", ", In[4], ", ", In[5], ")"
-  print " (", In[6], ", ", In[7], ", ", In[8], ")"
-  print "Main moments of inertia of box 10x30x70:"
-  print " Ix = ", In[9], ", Iy = ", In[10], ", Iz = ", In[11]
-
-  ####### Tolerance #######
-
-  Toler = geompy.Tolerance(box)
-  print "\nBox 10x30x70 tolerance:"
-  print " Face min. tolerance: ", Toler[0]
-  print " Face max. tolerance: ", Toler[1]
-  print " Edge min. tolerance: ", Toler[2]
-  print " Edge max. tolerance: ", Toler[3]
-  print " Vertex min. tolerance: ", Toler[4]
-  print " Vertex max. tolerance: ", Toler[5]
-
-  ####### MakeCDG #######
-
-  pcdg = geompy.MakeCDG(box)
-  if pcdg is None:
-    raise RuntimeError, "MakeCDG(box) failed"
-  else:
-    print "\nCentre of gravity of box has been successfully obtained:"
-    Coords = geompy.PointCoordinates(pcdg)
-    print "(", Coords[0], ", ", Coords[1], ", ", Coords[2], ")"
-    if Coords[0] != 5 or Coords[1] != 15 or Coords[2] != 35:
-      print "But must be (5, 15, 35)"
-
-  ####### MinDistance #######
-
-  MinDist = geompy.MinDistance(box, cube)
-
-  #print "\nMinimal distance between Box and Cube = ", MinDist[0]
-  #print "It is reached at points:"
-  #print " On Box  (", MinDist[1], ", ", MinDist[2], ", ", MinDist[3], ")"
-  #print " On Cube (", MinDist[4], ", ", MinDist[5], ", ", MinDist[6], ")"
-
-  print "\nMinimal distance between Box and Cube = ", MinDist
diff --git a/src/GEOM_SWIG/GEOM_TestOthers.py b/src/GEOM_SWIG/GEOM_TestOthers.py
deleted file mode 100644 (file)
index bb3d94f..0000000
+++ /dev/null
@@ -1,427 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ implementaion with Python
-#
-#  Copyright (C) 2003  CEA
-#
-#  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.
-#
-#  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.org
-#
-#
-#  File   : GEOM_TestOthers.py
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-import os
-
-def TestExportImport (geompy, shape):
-
-  print "Test Export/Import ...",
-
-  # Files for Export/Import testing
-  fileExportImport = "/tmp/testExportImport.brep"
-  fileExportImportBREP = "/tmp/testExportImportBREP.brep"
-  fileExportImportIGES = "/tmp/testExportImportIGES.iges"
-  fileExportImportSTEP = "/tmp/testExportImportSTEP.step"
-
-  if os.access(fileExportImport, os.F_OK):
-    if os.access(fileExportImport, os.W_OK):
-      os.remove(fileExportImport)
-    else:
-      fileExportImport = "/tmp/testExportImport1.brep"
-
-    if os.access(fileExportImportBREP, os.W_OK):
-      os.remove(fileExportImportBREP)
-    else:
-      fileExportImportBREP = "/tmp/testExportImportBREP1.brep"
-
-    if os.access(fileExportImportIGES, os.W_OK):
-      os.remove(fileExportImportIGES)
-    else:
-      fileExportImportIGES = "/tmp/testExportImportIGES1.iges"
-
-    if os.access(fileExportImportSTEP, os.W_OK):
-      os.remove(fileExportImportSTEP)
-    else:
-      fileExportImportSTEP = "/tmp/testExportImportSTEP1.step"
-
-  # Export
-  geompy.Export(shape, fileExportImport, "BREP")
-
-  # ExportBREP, ExportIGES, ExportSTEP
-  geompy.ExportBREP(shape, fileExportImportBREP)
-  geompy.ExportIGES(shape, fileExportImportIGES)
-  geompy.ExportSTEP(shape, fileExportImportSTEP)
-
-  # Import
-  Import = geompy.Import(fileExportImport, "BREP")
-
-  id_Import = geompy.addToStudy(Import, "Import")
-
-  # ImportBREP, ImportIGES, ImportSTEP
-  ImportBREP = geompy.ImportBREP(fileExportImportBREP)
-  ImportIGES = geompy.ImportIGES(fileExportImportIGES)
-  ImportSTEP = geompy.ImportSTEP(fileExportImportSTEP)
-
-  id_ImportBREP = geompy.addToStudy(ImportBREP, "ImportBREP")
-  id_ImportIGES = geompy.addToStudy(ImportIGES, "ImportIGES")
-  id_ImportSTEP = geompy.addToStudy(ImportSTEP, "ImportSTEP")
-
-  # Remove files for Export/Import testing
-  os.remove(fileExportImport)
-  os.remove(fileExportImportBREP)
-  os.remove(fileExportImportIGES)
-  os.remove(fileExportImportSTEP)
-
-  print "OK"
-
-
-def TestOtherOperations (geompy, math):
-
-  # MakeFaces
-  p11 = geompy.MakeVertex( 0,  0, 0)
-  p12 = geompy.MakeVertex(30,  0, 0)
-  p13 = geompy.MakeVertex(30, 30, 0)
-  p14 = geompy.MakeVertex( 0, 30, 0)
-
-  p21 = geompy.MakeVertex(10, 10, 0)
-  p22 = geompy.MakeVertex(20, 10, 0)
-  p23 = geompy.MakeVertex(20, 20, 0)
-  p24 = geompy.MakeVertex(10, 20, 0)
-
-  e11 = geompy.MakeEdge(p11, p12)
-  e12 = geompy.MakeEdge(p12, p13)
-  e13 = geompy.MakeEdge(p13, p14)
-  e14 = geompy.MakeEdge(p14, p11)
-
-  e21 = geompy.MakeEdge(p21, p22)
-  e22 = geompy.MakeEdge(p22, p23)
-  e23 = geompy.MakeEdge(p23, p24)
-  e24 = geompy.MakeEdge(p24, p21)
-
-  w1 = geompy.MakeWire([e11, e12, e13, e14])
-  w2 = geompy.MakeWire([e21, e22, e23, e24])
-  w3 = geompy.MakeTranslation(w2, 0, 0, 10)
-
-  id_w1 = geompy.addToStudy(w1, "Outside Wire")
-  id_w2 = geompy.addToStudy(w2, "Inside Wire")
-  id_w3 = geompy.addToStudy(w3, "Inside Wire, translated along OZ")
-
-  f12 = geompy.MakeFaces([w1, w2], 0)
-  id_f12 = geompy.addToStudy(f12, "MakeFaces WO + WI")
-
-  # Export/Import
-  TestExportImport(geompy, f12)
-
-  # OrientationChange
-  Box = geompy.MakeBoxDXDYDZ(200, 200, 200)
-  Orientation = geompy.OrientationChange(Box)
-  id_Orientation = geompy.addToStudy(Orientation, "OrientationChange")
-
-  # MakeCommon, MakeCut, MakeFuse, MakeSection
-  Sphere = geompy.MakeSphereR(100)
-
-  Common  = geompy.MakeCommon (Box, Sphere)
-  Cut     = geompy.MakeCut    (Box, Sphere)
-  Fuse    = geompy.MakeFuse   (Box, Sphere)
-  Section = geompy.MakeSection(Box, Sphere)
-
-  id_Common  = geompy.addToStudy(Common,  "Common")
-  id_Cut     = geompy.addToStudy(Cut,     "Cut")
-  id_Fuse    = geompy.addToStudy(Fuse,    "Fuse")
-  id_Section = geompy.addToStudy(Section, "Section")
-
-  # Partition
-  p100 = geompy.MakeVertex(100, 100, 100)
-  p300 = geompy.MakeVertex(300, 300, 300)
-  Box1 = geompy.MakeBoxTwoPnt(p100, p300)
-  Partition = geompy.Partition([Box], [Box1], [], [Box])
-  id_Partition = geompy.addToStudy(Partition, "Partition of Box by Box1")
-
-  # MakeMultiRotation1D, MakeMultiRotation2D
-  pz = geompy.MakeVertex(0, 0, 100)
-  vy = geompy.MakeVectorDXDYDZ(0, 100, 0)
-
-  MultiRot1D = geompy.MakeMultiRotation1D(f12, vy, pz, 6)
-  MultiRot2D = geompy.MakeMultiRotation2D(f12, vy, pz, 45, 6, 30, 3)
-
-  id_MultiRot1D = geompy.addToStudy(MultiRot1D, "MakeMultiRotation1D")
-  id_MultiRot2D = geompy.addToStudy(MultiRot2D, "MakeMultiRotation2D")
-
-  # MakeFilletAll
-  radius_fillet = 10.
-  face5 = geompy.SubShapeSorted(Box, geompy.ShapeType["FACE"], [5])
-  f_glob_id = geompy.GetSubShapeID(Box, face5)
-  SuppFace = geompy.SuppressFaces(Box, [f_glob_id])
-
-  MakeFilletAll = geompy.MakeFilletAll(SuppFace, radius_fillet)
-  id_MakeFilletAll = geompy.addToStudy(MakeFilletAll, "MakeFilletAll")
-
-  # MakeChamferAll
-  dimension_chamfer = 10.
-  MakeChamferAll = geompy.MakeChamferAll(SuppFace, dimension_chamfer)
-  id_MakeChamferAll = geompy.addToStudy(MakeChamferAll, "MakeChamferAll")
-
-  # MakeChamfer
-  d1 = 13.
-  d2 = 7.
-  box_faces = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
-  f_ind_1 = geompy.GetSubShapeID(Box, box_faces[0])
-  f_ind_2 = geompy.GetSubShapeID(Box, box_faces[1])
-  f_ind_3 = geompy.GetSubShapeID(Box, box_faces[2])
-
-  MakeChamfer = geompy.MakeChamfer(Box, d1, d2, geompy.ShapeType["FACE"],
-                                   [f_ind_1, f_ind_2, f_ind_3])
-  id_MakeChamfer = geompy.addToStudy(MakeChamfer, "MakeChamfer")
-
-  # NumberOfFaces
-  NumberOfFaces = geompy.NumberOfFaces(Box)
-  if NumberOfFaces != 6:
-    print "Bad number of faces in BOX!"
-
-  # NumberOfEdges
-  NumberOfEdges = geompy.NumberOfEdges(Box)
-  if NumberOfEdges != 12:
-    print "Bad number of edges in BOX!"
-
-  # MakeBlockExplode
-  Compound = geompy.MakeCompound([Box, Sphere])
-  MakeBlockExplode = geompy.MakeBlockExplode(Compound, 6, 6)
-
-  id_MakeBlockExplode = geompy.addToStudy(MakeBlockExplode[0], "MakeBlockExplode")
-
-  # CheckCompoundOfBlocks
-  p1 = geompy.MakeVertex(200, 0, 0)
-  p2 = geompy.MakeVertex(400, 200, 200)
-  p3 = geompy.MakeVertex(400, 50, 50)
-  p4 = geompy.MakeVertex(600, 250, 250)
-
-  Box2 = geompy.MakeBoxTwoPnt(p1, p2)
-  Box3 = geompy.MakeBoxTwoPnt(p3, p4)
-  Cyl  = geompy.MakeCylinderRH(50, 300)
-  Cone = geompy.MakeConeR1R2H(150, 10, 400)
-
-  Compound1 = geompy.MakeCompound([Box, Cyl, Cone, Box3, Box2])
-
-  IsValid = geompy.CheckCompoundOfBlocks(Compound1)
-  if IsValid == 0:
-    print "The Blocks Compound is NOT VALID"
-  else:
-    print "The Blocks Compound is VALID"
-
-  IsValid = geompy.CheckCompoundOfBlocks(Box)
-  if IsValid == 0:
-    print "The Box is NOT VALID"
-  else:
-    print "The Box is VALID"
-
-  # test geometrical groups
-
-  # CreateGroup
-  CreateGroup = geompy.CreateGroup(Box, geompy.ShapeType["FACE"])
-
-  id_CreateGroup = geompy.addToStudy(CreateGroup, "CreateGroup")
-
-  # AddObject
-  f_ind_4 = geompy.GetSubShapeID(Box, box_faces[3])
-  f_ind_5 = geompy.GetSubShapeID(Box, box_faces[4])
-  f_ind_6 = geompy.GetSubShapeID(Box, box_faces[5])
-
-  geompy.AddObject(CreateGroup, f_ind_6) # box_faces[5]
-  geompy.AddObject(CreateGroup, f_ind_1) # box_faces[0]
-  geompy.AddObject(CreateGroup, f_ind_4) # box_faces[3]
-
-  # UnionList
-  geompy.UnionList(CreateGroup, [box_faces[2], box_faces[4], box_faces[5]])
-
-  # RemoveObject(theGroup, theSubShapeID)
-  geompy.RemoveObject(CreateGroup, f_ind_1) # box_faces[0]
-
-  # DifferenceList
-  geompy.DifferenceList(CreateGroup, [box_faces[1], box_faces[0], box_faces[3]])
-
-  # GetObjectIDs
-  GetObjectIDs = geompy.GetObjectIDs(CreateGroup)
-
-  print "Group of Box's faces includes the following IDs:"
-  print "(must be ", f_ind_6, ", ", f_ind_3, " and ", f_ind_5, ")"
-  for ObjectID in GetObjectIDs:
-    print " ", ObjectID
-
-  BoxCopy = geompy.GetMainShape(CreateGroup)
-
-  # -----------------------------------------------------------------------------
-  # enumeration ShapeTypeString as a dictionary
-  # -----------------------------------------------------------------------------
-  ShapeTypeString = {'0':"COMPOUND", '1':"COMPSOLID", '2':"SOLID", '3':"SHELL", '4':"FACE", '5':"WIRE", '6':"EDGE", '7':"VERTEX", '8':"SHAPE"}
-
-  GroupType = geompy.GetType(CreateGroup)
-  print "Type of elements of the created group is ", ShapeTypeString[`GroupType`]
-
-  # Prepare data for the following operations
-  p0 = geompy.MakeVertex(0, 0, 0)
-  b0 = geompy.MakeBox(-50, -50, -50, 50, 50, 50)
-  s0 = geompy.MakeSphereR(100)
-
-  id_b0 = geompy.addToStudy(b0, "b0")
-  id_s0 = geompy.addToStudy(s0, "s0")
-
-  v_0pp = geompy.MakeVectorDXDYDZ( 0,  1,  1)
-  v_0np = geompy.MakeVectorDXDYDZ( 0, -1,  1)
-  v_p0p = geompy.MakeVectorDXDYDZ( 1,  0,  1)
-  v_n0p = geompy.MakeVectorDXDYDZ(-1,  0,  1)
-  v_pp0 = geompy.MakeVectorDXDYDZ( 1,  1,  0)
-  v_np0 = geompy.MakeVectorDXDYDZ(-1,  1,  0)
-
-  pln_0pp = geompy.MakePlane(p0, v_0pp, 300)
-  pln_0np = geompy.MakePlane(p0, v_0np, 300)
-  pln_p0p = geompy.MakePlane(p0, v_p0p, 300)
-  pln_n0p = geompy.MakePlane(p0, v_n0p, 300)
-  pln_pp0 = geompy.MakePlane(p0, v_pp0, 300)
-  pln_np0 = geompy.MakePlane(p0, v_np0, 300)
-
-  part_tool_1 = geompy.MakePartition([b0, pln_0pp, pln_0np, pln_p0p, pln_n0p, pln_pp0, pln_np0],
-                                     [],
-                                     [],
-                                     [b0])
-
-  pt_pnt_1  = geompy.MakeVertex( 55,   0,  55)
-  pt_pnt_2  = geompy.MakeVertex(  0,  55,  55)
-  pt_pnt_3  = geompy.MakeVertex(-55,   0,  55)
-  pt_pnt_4  = geompy.MakeVertex(  0, -55,  55)
-  pt_pnt_5  = geompy.MakeVertex( 55,  55,   0)
-  pt_pnt_6  = geompy.MakeVertex( 55, -55,   0)
-  pt_pnt_7  = geompy.MakeVertex(-55,  55,   0)
-  pt_pnt_8  = geompy.MakeVertex(-55, -55,   0)
-  pt_pnt_9  = geompy.MakeVertex( 55,   0, -55)
-  pt_pnt_10 = geompy.MakeVertex(  0,  55, -55)
-  pt_pnt_11 = geompy.MakeVertex(-55,   0, -55)
-  pt_pnt_12 = geompy.MakeVertex(  0, -55, -55)
-
-  pt_face_1  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_1)
-  pt_face_2  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_2)
-  pt_face_3  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_3)
-  pt_face_4  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_4)
-  pt_face_5  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_5)
-  pt_face_6  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_6)
-  pt_face_7  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_7)
-  pt_face_8  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_8)
-  pt_face_9  = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_9)
-  pt_face_10 = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_10)
-  pt_face_11 = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_11)
-  pt_face_12 = geompy.GetFaceNearPoint(part_tool_1, pt_pnt_12)
-
-  pt_box = geompy.GetBlockNearPoint(part_tool_1, p0)
-
-  part_tool = geompy.MakeCompound([pt_face_1, pt_face_4, pt_face_7, pt_face_10,
-                                   pt_face_2, pt_face_5, pt_face_8, pt_face_11,
-                                   pt_face_3, pt_face_6, pt_face_9, pt_face_12, pt_box])
-  id_part_tool = geompy.addToStudy(part_tool, "part_tool")
-
-  part = geompy.MakePartition([s0], [part_tool])
-  geompy.addToStudy(part, "part")
-
-  # GetFreeFacesIDs
-  anIDs = geompy.GetFreeFacesIDs(part)
-  freeFaces = geompy.GetSubShape(part, anIDs)
-
-  geompy.addToStudy(freeFaces, "freeFaces")
-
-  # RemoveExtraEdges
-  freeFacesWithoutExtra = geompy.RemoveExtraEdges(freeFaces)
-
-  geompy.addToStudy(freeFacesWithoutExtra, "freeFacesWithoutExtra")
-
-  # GetSharedShapes
-  sharedFaces = geompy.GetSharedShapes(part, freeFacesWithoutExtra, geompy.ShapeType["FACE"])
-
-  for shFace in sharedFaces:
-    geompy.addToStudy(shFace, "sharedFace")
-
-  # CheckAndImprove
-  blocksComp = geompy.CheckAndImprove(part)
-
-  geompy.addToStudy(blocksComp, "blocksComp")
-
-  # Propagate
-  listChains = geompy.Propagate(blocksComp)
-
-  for chain in listChains:
-    geompy.addToStudyInFather(blocksComp, chain, "propagation chain")
-
-  # GetPoint(theShape, theX, theY, theZ, theEpsilon)
-  #
-  # (-50,  50, 50) .-----. (50,  50, 50)
-  #      pb0_top_1 |     |
-  #                |     . pmidle
-  #                |     |
-  # (-50, -50, 50) '-----' (50, -50, 50)
-  #
-  pb0_top_1 = geompy.GetPoint(blocksComp, -50,  50,  50, 0.01)
-  pb0_bot_1 = geompy.GetPoint(blocksComp, -50, -50, -50, 0.01)
-
-  geompy.addToStudyInFather(blocksComp, pb0_top_1, "point from blocksComp (-50,  50,  50)")
-  geompy.addToStudyInFather(blocksComp, pb0_bot_1, "point from blocksComp (-50, -50, -50)")
-
-  # GetEdgeNearPoint(theShape, thePoint)
-  pmidle = geompy.MakeVertex(50, 0, 50)
-  edge1 = geompy.GetEdgeNearPoint(blocksComp, pmidle)
-
-  geompy.addToStudyInFather(blocksComp, edge1, "edge near point (50, 0, 50)")
-
-  # GetBlockByParts(theCompound, theParts)
-  b0_image = geompy.GetBlockByParts(blocksComp, [pb0_top_1, pb0_bot_1, edge1])
-
-  geompy.addToStudyInFather(blocksComp, b0_image, "b0 image")
-
-  # GetShapesOnPlane
-  faces_on_pln = geompy.GetShapesOnPlane(blocksComp, geompy.ShapeType["FACE"],
-                                         v_0pp, geompy.GEOM.ST_ONIN)
-  for face_i in faces_on_pln:
-    geompy.addToStudy(face_i, "Face on Plane (N = (0, 1, 1)) or below it")
-
-  # GetShapesOnCylinder
-  edges_on_cyl = geompy.GetShapesOnCylinder(blocksComp, geompy.ShapeType["EDGE"],
-                                            vy, 55, geompy.GEOM.ST_OUT)
-  for edge_i in edges_on_cyl:
-    geompy.addToStudy(edge_i, "Edge out of Cylinder (axis = (0, 1, 0), r = 55)")
-
-  # GetShapesOnSphere
-  vertices_on_sph = geompy.GetShapesOnSphere(blocksComp, geompy.ShapeType["VERTEX"],
-                                             p0, 100, geompy.GEOM.ST_ON)
-  for vertex_i in vertices_on_sph:
-    geompy.addToStudy(vertex_i, "Vertex on Sphere (center = (0, 0, 0), r = 100)")
-
-  # GetInPlace(theShapeWhere, theShapeWhat)
-  box5 = geompy.MakeBoxDXDYDZ(100, 100, 100)
-  box6 = geompy.MakeTranslation(box5, 50, 50, 0)
-
-  part = geompy.MakePartition([box5], [box6])
-  geompy.addToStudy(part, "Partitioned")
-
-  ibb = 5
-  box_list = [box5, box6]
-  for abox in box_list:
-    geompy.addToStudy(abox, "Box " + `ibb`)
-    box_faces = geompy.SubShapeAll(abox, geompy.ShapeType["FACE"])
-    ifa = 1
-    for aface in box_faces:
-      geompy.addToStudyInFather(abox, aface, "Face" + `ifa`)
-      refl_box_face = geompy.GetInPlace(part, aface)
-      if refl_box_face is not None:
-        geompy.addToStudyInFather(part, refl_box_face,
-                                  "Reflection of Face " + `ifa` + " of box " + `ibb`)
-      ifa = ifa + 1
-    ibb = ibb + 1
diff --git a/src/GEOM_SWIG/GEOM_blocks.py b/src/GEOM_SWIG/GEOM_blocks.py
deleted file mode 100644 (file)
index fca4d3f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ implementaion with Python
-#
-#  Copyright (C) 2003  CEA
-#
-#  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.
-#
-#  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.org
-#
-#
-#
-#  File   : GEOM_blocks.py
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-import salome
-import geompy
-import math
-
-import GEOM_Spanner
-
-isBlocksTest = 0 # False
-isMeshTest   = 0 # False
-
-smesh = None
-
-GEOM_Spanner.MakeSpanner(salome, geompy, math, isBlocksTest, isMeshTest, smesh)
-
-salome.sg.updateObjBrowser(1);
diff --git a/src/GEOM_SWIG/GEOM_cyl2complementary.py b/src/GEOM_SWIG/GEOM_cyl2complementary.py
deleted file mode 100755 (executable)
index 97efc77..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#==============================================================================
-#  Info.
-#  Bug (from script, bug)   : cyl2complementary_modified.py, PAL6700
-#  Modified                 : 25/11/2004
-#  Author                   : Kovaltchuk Alexey
-#  Project                  : PAL/SALOME
-#==============================================================================
-
-# Import
-# ------
-
-import salome
-import geompy
-geomgui = salome.ImportComponentGUI("GEOM") 
-
-def addToStudy(shape, name):
-    i = geompy.addToStudy(shape, name)
-    salome.sg.updateObjBrowser(0)
-    geomgui.createAndDisplayGO(i)
-    return i
-
-# Piece
-# -----
-
-# Creer la geometrie en bloc hexahedrique d'un parallelepipede troue d'une piece en forme de T composee de 2 cylindres de diametre different dont les axes se coupent orthogonalement,
-# puis mailler en hexahedrique.
-
-gx = 0
-gy = 0
-gz = 0
-
-g_dx = 250
-g_dy = 200
-g_dz = 150
-
-g_rayonGrand = 70
-g_rayonPetit = 50
-
-# Geometrie
-# =========
-
-# Le parallelepipede
-# ------------------
-
-p_boite = geompy.MakeBox(gx-g_dx, gy-g_dy, gz-g_dz,  gx+g_dx, gy+g_dy, gz+g_dz)
-
-# Le grand cylindre
-# -----------------
-
-g_base = geompy.MakeVertex(gx-g_dx, gy, gz)
-g_dir  = geompy.MakeVectorDXDYDZ(1, 0, 0)
-g_cyl  = geompy.MakeCylinder(g_base, g_dir, g_rayonGrand, g_dx*2)
-
-# Le petit cylindre
-# -----------------
-
-c_base = geompy.MakeVertex(gx, gy, gz)
-c_dir  = geompy.MakeVectorDXDYDZ(0, 0, 1)
-c_cyl  = geompy.MakeCylinder(c_base, c_dir, g_rayonPetit, g_dz)
-
-# Le parallelepipede troue
-# ------------------------
-
-t_boite1 = geompy.MakeBoolean(p_boite , g_cyl, 2)
-t_boite  = geompy.MakeBoolean(t_boite1, c_cyl, 2)
-
-# Partitionner
-# ------------
-
-p_tools = []
-
-p_tools.append(geompy.MakePlane(c_base, geompy.MakeVectorDXDYDZ(0,  g_dz, g_dy), 10))
-p_tools.append(geompy.MakePlane(c_base, geompy.MakeVectorDXDYDZ(0, -g_dz, g_dy), 10))
-
-p_tools.append(geompy.MakePlane(geompy.MakeVertex(gx-g_rayonPetit, 0, 0), geompy.MakeVectorDXDYDZ(1, 0, 0), 10))
-p_tools.append(geompy.MakePlane(geompy.MakeVertex(gx+g_rayonPetit, 0, 0), geompy.MakeVectorDXDYDZ(1, 0, 0), 10))
-
-addToStudy(t_boite, "t_boite")
-
-p_element = geompy.MakePartition([t_boite], p_tools, [], [], 4, 0, [])
-
-# Compound
-# --------
-
-# Ajouter la piece dans l'etude
-# -----------------------------
-
-idpiece = addToStudy(p_element, "BoxHoled2Cylinders")
diff --git a/src/GEOM_SWIG/GEOM_example.py b/src/GEOM_SWIG/GEOM_example.py
deleted file mode 100644 (file)
index 6feb7b4..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : GEOM_example.py
-#  Author : Paul RASCLE, EDF
-#  Module : GEOM
-#  $Header$
-
-import salome
-import geompy
-
-ind = 0
-boxlist = []
-while ind < 5:
-    x1 = 10. * ind
-    y1 = 0.
-    z1 = 0.
-    x2 = 10. * (ind+1)
-    y2 = 20. * (ind+1)
-    z2 = 30. * (ind+1)
-    print x1, y1, z1, x2, y2, z2
-
-    point1 = geompy.MakeVertex(x1, y1, z1)
-    name1 = "point1_%d"%(ind)
-    id_pt1 = geompy.addToStudy(point1, name1)
-    point2 = geompy.MakeVertex(x2, y2, z2)
-    name2 = "point2_%d"%(ind)
-    id_pt2 = geompy.addToStudy(point2, name2)
-
-    name = "box%d"%(ind)
-    box = geompy.MakeBoxTwoPnt(point1, point2)
-    id_box = geompy.addToStudy(box, name)
-    boxlist.append(box)
-    ind = ind + 1
diff --git a/src/GEOM_SWIG/GEOM_example2.py b/src/GEOM_SWIG/GEOM_example2.py
deleted file mode 100644 (file)
index 87ae39d..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : GEOM_example2.py
-#  Author : Paul RASCLE, EDF
-#  Module : GEOM
-#  $Header$
-
-import salome
-import geompy
-import math
-
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-myBuilder = salome.myStudy.NewBuilder()
-
-BasicOp  = geom.GetIBasicOperations(salome.myStudyId)
-PrimOp   = geom.GetI3DPrimOperations(salome.myStudyId)
-InsertOp = geom.GetIInsertOperations(salome.myStudyId)
-TrsfOp   = geom.GetITransformOperations(salome.myStudyId)
-
-point0  = BasicOp.MakePointXYZ(0.,0.,0.)
-pointz1 = BasicOp.MakePointXYZ(0.,0.,1.)
-dirz = BasicOp.MakeVectorTwoPnt(point0,pointz1)
-
-torus1 = PrimOp.MakeTorusPntVecRR(point0,dirz,150.,25.)
-id_torus1 = geompy.addToStudy(torus1,"torus1")
-
-torus2 = InsertOp.MakeCopy(torus1)
-
-vec1 = BasicOp.MakeVectorDXDYDZ(0.,0.,100.)
-torus2 = TrsfOp.TranslateVectorCopy(torus2,vec1)
-id_torus2 = geompy.addToStudy(torus2,"torus2")
-
-cylz1 = PrimOp.MakeCylinderPntVecRH(point0,dirz,25.,100.)
-
-ind = 0
-cyllist = []
-while ind < 6:
-    acyl = InsertOp.MakeCopy(cylz1)
-    x = 150. * math.cos(ind * math.pi/3.)
-    y = 150. * math.sin(ind * math.pi/3.)
-    z = 0.
-    vec_i = BasicOp.MakeVectorDXDYDZ(x,y,z)
-    name = "cyl%d"%(ind)
-    acyl = TrsfOp.TranslateVectorCopy(acyl,vec_i)
-    id_acyl = geompy.addToStudy(acyl,name)
-    cyllist.append(acyl)
-    ind = ind + 1
diff --git a/src/GEOM_SWIG/GEOM_example3.py b/src/GEOM_SWIG/GEOM_example3.py
deleted file mode 100644 (file)
index 1287f68..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : GEOM_example3.py
-#  Author : Paul RASCLE, EDF
-#  Module : GEOM
-#  $Header$
-
-import salome
-import geompy
-import math
-from time import sleep
-
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-myBuilder = salome.myStudy.NewBuilder()
-
-gg = salome.ImportComponentGUI("GEOM")
-
-BasicOp  = geom.GetIBasicOperations(salome.myStudyId)
-PrimOp   = geom.GetI3DPrimOperations(salome.myStudyId)
-InsertOp = geom.GetIInsertOperations(salome.myStudyId)
-TrsfOp   = geom.GetITransformOperations(salome.myStudyId)
-
-point0  = BasicOp.MakePointXYZ(0.,0.,0.)
-pointz1 = BasicOp.MakePointXYZ(0.,0.,1.)
-dirz = BasicOp.MakeVectorTwoPnt(point0,pointz1)
-
-torus1 = PrimOp.MakeTorusPntVecRR(point0,dirz,150.,25.)
-id_torus1 = geompy.addToStudy(torus1,"torus1")
-gg.createAndDisplayGO(id_torus1)
-
-torus2 = InsertOp.MakeCopy(torus1)
-
-vec1 = BasicOp.MakeVectorDXDYDZ(0.,0.,100.)
-torus2 = TrsfOp.TranslateVectorCopy(torus2,vec1)
-id_torus2 = geompy.addToStudy(torus2,"torus2")
-gg.createAndDisplayGO(id_torus2)
-
-cylz1 = PrimOp.MakeCylinderPntVecRH(point0,dirz,25.,100.)
-
-ind = 0
-shapeList = []
-idList = []
-while ind < 6:
-    acyl = InsertOp.MakeCopy(cylz1)
-    x = 150. * math.cos(ind * math.pi/3.)
-    y = 150. * math.sin(ind * math.pi/3.)
-    z = 0.
-    vec_i = BasicOp.MakeVectorDXDYDZ(x,y,z)
-    name = "cyl%d"%(ind)
-    acyl = TrsfOp.TranslateVectorCopy(acyl,vec_i)
-    id_acyl = geompy.addToStudy(acyl,name)
-    gg.createAndDisplayGO(id_acyl)
-    shapeList.append(acyl)
-    idList.append(id_acyl)
-    ind = ind +1
-
-shapeList.append(torus1)
-shapeList.append(torus2)
-idList.append(id_torus1)
-idList.append(id_torus2)
-
-cage = geompy.MakeCompound(shapeList)
-id_cage = geompy.addToStudy(cage,"cage")
-gg.createAndDisplayGO(id_cage)
-
-from salome import sg
-sleep(1)
-sg.EraseAll()
-for id in idList:
-    sg.DisplayOnly(id)
-    sleep(1)
-sg.EraseAll()
-for id in idList:
-    sg.Display(id)
-    sleep(1)
-for id in idList:
-    sg.Erase(id)
-    sleep(1)
-
-#sg.Display(id_cage)
-sg.Display(id_torus1)
-sg.Display(id_torus2)
-sg.Display(id_acyl)
-
-gg.setTransparency(id_torus1,0.5)
-
-gg.setDisplayMode(id_torus1,1)
-gg.setDisplayMode(id_torus2,1)
-gg.setDisplayMode(id_acyl,1)
-#gg.setDisplayMode(id_cage,1)
-
-gg.setColor(id_torus1,0,0,255)
-gg.setColor(id_torus2,255,0,0)
-gg.setColor(id_acyl,0,255,0)
-#gg.setColor(id_cage,255,255,0)
diff --git a/src/GEOM_SWIG/GEOM_example4.py b/src/GEOM_SWIG/GEOM_example4.py
deleted file mode 100755 (executable)
index 631ef13..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : GEOM_example4.py
-#  Module : GEOM
-
-#import SMESH
-#import smeshpy
-import salome
-from salome import sg
-import math
-
-import geompy
-
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-myBuilder = salome.myStudy.NewBuilder()
-from geompy import gg
-
-#smeshgui = salome.ImportComponentGUI("SMESH")
-#smeshgui.Init(salome.myStudyId);
-
-ShapeTypeCompSolid = 1
-ShapeTypeSolid = 2
-ShapeTypeShell = 3
-ShapeTypeFace = 4
-ShapeTypeWire = 5
-ShapeTypeEdge = 6
-ShapeTypeVertex = 7
-
-pi=math.pi
-
-# ---------------------------------------------
-xa=math.sin(pi/12)
-ya=0
-za=math.cos(pi/12)
-
-xb=0
-yb=math.sin(pi/18)
-zb=math.cos(pi/18)
-
-xc=math.cos(-pi/18)
-yc=0
-zc=math.sin(-pi/18)
-
-rc1=150
-hc1=300
-rc2=150
-rc3=150
-rc4=300
-# ---------------------------------------------
-point_0 = geompy.MakeVertex(0, 0, 0)
-point_z = geompy.MakeVertex(0, 0, 1)
-
-point_a = geompy.MakeVertex(xa, ya, za)
-point_b = geompy.MakeVertex(xb, yb, zb)
-point_c = geompy.MakeVertex(xc, yc, zc)
-
-dir_z = geompy.MakeVector(point_0,point_z)
-dir_a = geompy.MakeVector(point_0,point_a)
-dir_b = geompy.MakeVector(point_0,point_b)
-dir_c = geompy.MakeVector(point_0,point_c)
-
-cyl_1 = geompy.MakeCylinder(point_0, dir_z, rc1, hc1)
-
-hc2=2*hc1
-cyl_t = geompy.MakeCylinder(point_0, dir_a, rc2, hc2)
-cyl_a = geompy.MakeTranslation(cyl_t, 1.2*rc1, 0.1*rc1, -0.5*hc1)
-
-hc3=2*hc1
-cyl_t = geompy.MakeCylinder(point_0, dir_b, rc3, hc3)
-cyl_b = geompy.MakeTranslation(cyl_t, -1.2*rc1, -0.1*rc1, -0.5*hc1)
-
-hc4=2*hc1
-cyl_t = geompy.MakeCylinder(point_0, dir_c, rc4, hc4)
-cyl_t = geompy.MakeRotation(cyl_t, dir_c, pi/2)
-cyl_c = geompy.MakeTranslation(cyl_t, -hc1, 0, 0)
-cyl_d = geompy.MakeTranslation(cyl_t, -hc1, 0, 1.3*rc4)
-
-inter_t = geompy.MakeBoolean(cyl_c,cyl_d, 1) # common
-
-blob_t = geompy.MakeBoolean(cyl_1, cyl_a, 2) # cut
-blob_t = geompy.MakeBoolean(blob_t, cyl_b, 2)
-
-blob = geompy.MakeBoolean(blob_t, inter_t, 1) # common
-
-idblob = geompy.addToStudy(blob,"blob")
-#idc = geompy.addToStudy(cyl_c,"cyl_c")
-#idd = geompy.addToStudy(cyl_d,"cyl_d")
diff --git a/src/GEOM_SWIG/GEOM_example5.py b/src/GEOM_SWIG/GEOM_example5.py
deleted file mode 100644 (file)
index c26239b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python\r
-#\r
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS \r
-# \r
-#  This library is free software; you can redistribute it and/or \r
-#  modify it under the terms of the GNU Lesser General Public \r
-#  License as published by the Free Software Foundation; either \r
-#  version 2.1 of the License. \r
-# \r
-#  This library is distributed in the hope that it will be useful, \r
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of \r
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \r
-#  Lesser General Public License for more details. \r
-# \r
-#  You should have received a copy of the GNU Lesser General Public \r
-#  License along with this library; if not, write to the Free Software \r
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA \r
-# \r
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org \r
-#\r
-#\r
-#\r
-#  File   : GEOM_example5.py\r
-#  Author : Damien COQUERET, Open CASCADE\r
-#  Module : GEOM\r
-#  $Header$\r
-\r
-import salome\r
-import geompy\r
-\r
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")\r
-\r
-#Create Points\r
-BasicOp = geom.GetIBasicOperations(salome.myStudyId)\r
-Vertex1 = BasicOp.MakePointXYZ(0., 0., 0.)\r
-Vertex2 = BasicOp.MakePointXYZ(100., 20., 30.)\r
-Vertex3 = BasicOp.MakePointXYZ(150., 100., -25.)\r
-Vertex4 = BasicOp.MakePointXYZ(40., -80., 79.)\r
-\r
-#GEOM_Objects List for Splines\r
-GOList = []\r
-GOList.append(Vertex1)\r
-GOList.append(Vertex2)\r
-GOList.append(Vertex3)\r
-GOList.append(Vertex4)\r
-\r
-#Create Splines\r
-Bezier   = geompy.MakeBezier(GOList)\r
-Interpol = geompy.MakeInterpol(GOList)\r
-\r
-#Add In Study\r
-id_Bezier   = geompy.addToStudy(Bezier,   "Bezier")\r
-id_Interpol = geompy.addToStudy(Interpol, "Interpol")\r
diff --git a/src/GEOM_SWIG/GEOM_moteur.py b/src/GEOM_SWIG/GEOM_moteur.py
deleted file mode 100644 (file)
index dfe87ae..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-#  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.
-#
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-#
-#
-#
-#  File   : GEOM_moteur.py
-#  Author : Damien COQUERET, Open CASCADE
-#  Module : GEOM
-#  $Header$
-
-import salome
-import geompy
-import math
-
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-myBuilder = salome.myStudy.NewBuilder()
-
-#Variables modifiables
-PosX = 0          #Position du cylindre dans l'espace
-PosY = 0          #Il est oriente suivant Z
-PosZ = 0
-NbBranches = 7    #>2
-HauteurT = 70     #Hauteur total du stator
-
-#Variables
-Angle1 = 2 * math.pi / NbBranches
-Angle2 = Angle1 / 2
-HauteurR = HauteurT / 3
-Ep = HauteurT / 10
-DExtExt = HauteurT * 6 / 7
-DExtInt = DExtExt - Ep
-DIntExt = DExtExt / 3
-DIntInt = DExtExt / 4
-EpRot = DIntExt * math.sin(Angle2)
-Pos1C = PosX + DIntExt * math.cos(Angle2)
-Pos1S = PosY + DIntExt * math.sin(Angle2)
-PosCour = PosZ + HauteurT * 4 / 7
-PosRot = PosZ + 0.9 * HauteurT
-
-#Points
-BasicOp = geom.GetIBasicOperations(salome.myStudyId)
-OO = BasicOp.MakePointXYZ(0, 0, 0)
-P0 = BasicOp.MakePointXYZ(0, 0, 1)
-P1 = BasicOp.MakePointXYZ(PosX, PosY, PosZ)
-P2 = BasicOp.MakePointXYZ(PosX, PosY, PosZ + Ep)
-P3 = BasicOp.MakePointXYZ(PosX, PosY, PosCour)
-P4 = BasicOp.MakePointXYZ(PosX, PosY, PosCour + Ep)
-P5 = BasicOp.MakePointXYZ(PosX, PosY, PosRot)
-P6 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ)
-P7 = BasicOp.MakePointXYZ(PosX + DExtExt, Pos1S, PosZ)
-P8 = BasicOp.MakePointXYZ(Pos1C, Pos1S, PosZ + HauteurT)
-
-#Vecteurs
-V1 = BasicOp.MakeVectorTwoPnt(OO,P0)
-V2 = BasicOp.MakeVectorTwoPnt(P1,P2)
-V3 = BasicOp.MakeVectorTwoPnt(P6,P8)
-
-#Cylindre central
-C0  = geompy.MakeCylinder(P1, V1, DIntInt, PosCour + Ep - PosZ)
-C01 = geompy.MakeCylinder(P1, V1, DIntExt, PosCour + Ep - PosZ)
-Cylindre = geompy.MakeBoolean(C01, C0, 2)
-#Id_Cyl = geompy.addToStudy(Cylindre, "Cylindre")
-
-#Camemberts de coupe
-B1 = BasicOp.MakeVectorTwoPnt(P6, P7)
-B2 = geompy.MakePrismVecH(B1, V1, HauteurT)
-S0 = geompy.MakeRevolution(B2, V3, Angle1)
-CoupeList = []
-CoupeList.append(S0)
-Ind = 1
-while Ind < NbBranches :
-      S = geompy.MakeRotation(S0, V2, Ind * Angle1)
-      CoupeList.append(S)
-      Ind = Ind + 1
-Coupe1 = geompy.MakeCompound(CoupeList)
-#Id_Coupe1 = geompy.addToStudy(Coupe1, "Coupe1")
-
-#Couronne1
-C1 = geompy.MakeCylinder(P1, V1, DExtExt, HauteurT)
-C2 = geompy.MakeCylinder(P2, V1, DExtInt, HauteurT)
-C3 = geompy.MakeBoolean(C1, C2, 2)
-C31 = geompy.MakeBoolean(C3, C0, 2)
-Couronne1 = geompy.MakeBoolean(C31, Coupe1, 2)
-#Id_Couronne1 = geompy.addToStudy(Couronne1, "Couronne1")
-
-#Couronne2
-C4 = geompy.MakeCylinder(P3, V1, DExtExt, PosZ + HauteurT - PosCour)
-C5 = geompy.MakeCylinder(P4, V1, DExtInt, HauteurT)
-Coupe2 = geompy.MakeRotation(Coupe1, V2, Angle2)
-C6 = geompy.MakeBoolean(C4, C5, 2)
-C61 = geompy.MakeBoolean(C6, C0, 2)
-Couronne2 = geompy.MakeBoolean(C61, Coupe2, 2)
-#Id_Couronne2 = geompy.addToStudy(Couronne2, "Couronne2")
-
-#Rotor1
-C9 = geompy.MakeCylinder(P5, V1, DIntExt, HauteurR)
-C10 = geompy.MakeCylinder(P5, V1, DIntExt / 4, 2 * HauteurR)
-Rotor1List = []
-Rotor1List.append(C9)
-Rotor1List.append(C10)
-Rotor1 = geompy.MakeCompound(Rotor1List)
-Id_Rotor1 = geompy.addToStudy(Rotor1, "Rotor1")
-
-#Rotor2
-D0 = geompy.MakeBox(2 * Pos1C - PosX, -Pos1S + 2 * PosY, PosRot, 2 * Pos1C + EpRot - PosX, Pos1S, PosRot + EpRot / 2)
-Rotor2List = []
-Rotor2List.append(D0)
-Ind = 1
-while Ind < NbBranches :
-      R = geompy.MakeRotation(D0, V2, Ind * Angle1)
-      Rotor2List.append(R)
-      Ind = Ind + 1
-Rotor2 = geompy.MakeCompound(Rotor2List)
-Id_Rotor2 = geompy.addToStudy(Rotor2, "Rotor2")
-
-#Rotor3
-Rotor3 = geompy.MakeRotation(Rotor2, V2, Angle2)
-Id_Rotor3 = geompy.addToStudy(Rotor3, "Rotor3")
-
-#Stator
-StatorList = []
-StatorList.append(Cylindre)
-StatorList.append(Couronne1)
-StatorList.append(Couronne2)
-Stator = geompy.MakeCompound(StatorList)
-Id_Stator = geompy.addToStudy(Stator, "Stator")
diff --git a/src/GEOM_SWIG/GEOM_shared_modules.py b/src/GEOM_SWIG/GEOM_shared_modules.py
deleted file mode 100644 (file)
index bd994fa..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-
-"""
-
-# force GEOM importation at interpretor initialization
-# see salome_shared_modules.py
-# (avoids incomplete import at run time)
-
-print "============== import GEOM ======================="
-
-import GEOM
-
-# this function is required
-
-def init_shared_modules():
-   """
-      This function initializes shared modules that need to be
-   """
-   pass
diff --git a/src/GEOM_SWIG/GEOM_shellSolid.py b/src/GEOM_SWIG/GEOM_shellSolid.py
deleted file mode 100755 (executable)
index 0495979..0000000
+++ /dev/null
@@ -1,678 +0,0 @@
-#==============================================================================
-#  Info.
-#  Bug (from script, bug)   : shellSolid_modified.py, PAL6611
-#  Modified                 : 25/11/2004
-#  Author                   : Kovaltchuk Alexey
-#  Project                  : PAL/SALOME
-#==============================================================================
-
-# Imports
-# -------
-
-import salome
-import SALOMEDS
-
-import geompy
-
-# Interface with geometry
-# -----------------------
-
-#geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-geomgui = salome.ImportComponentGUI("GEOM")
-
-geom = geompy
-
-# Interface with study
-# --------------------
-
-def addToStudy(shape, name):
-    i = geompy.addToStudy(shape, name)
-    salome.sg.updateObjBrowser(0)
-#    geomgui.createAndDisplayGO(i)
-    return i
-
-def setName(obj):
-    obj.SetName(salome.orb.object_to_string(obj))
-
-
-def MakeVertex(x, y, z):
-    v = geom.MakeVertex(x, y, z)
-    setName(v)
-    return v
-
-def MakeEdge(v1, v2):
-    e = geom.MakeEdge(v1, v2)
-    setName(e)
-    return e
-
-def MakeArc(f, p, t):
-    e = geom.MakeArc(f, p, t)
-    setName(e)
-    return e
-
-def MakeArcCenter(c, f, t):
-    p = fkl(c, f, t)
-    e = geom.MakeArc(f, p, t)
-    setName(e)
-    return e
-
-# Face with 4 edges
-# -----------------
-
-# cf. makeTiledSurfByContour
-
-def MakeQuadFace(e1, e2, e3, e4):
-    l = []
-    l.append(e1)
-    l.append(e2)
-    l.append(e3)
-    l.append(e4)
-    w = geom.MakeWire(l)
-    f = geom.MakeFace(w, 1)
-    setName(f)
-    return f
-
-# cf. makeTiledSurfBetweenTwolines
-
-def MakeQuadFaceEdge(e1, e2):
-    return fkl
-
-# cf. makeTiledSurfByPointsOfContour
-# cf. makeMesh
-
-def MakeQuadFaceVertex(v1, v2, v3, v4):
-    l = []
-    e = MakeEdge(v1, v2)
-    l.append(e)
-    e = MakeEdge(v2, v3)
-    l.append(e)
-    e = MakeEdge(v3, v4)
-    l.append(e)
-    e = MakeEdge(v4, v1)
-    l.append(e)
-    w = geom.MakeWire(l)
-    f = geom.MakeFace(w, 1)
-    setName(f)
-    return f
-
-# Solid with 6 faces
-# ------------------
-
-# cf. makePavedVolWithContour
-# cf. makeVolWithEnvolope
-
-def MakeHexaSolid(f1, f2, f3, f4, f5, f6):
-    l = []
-    l.append(f1)
-    l.append(f2)
-    l.append(f3)
-    l.append(f4)
-    l.append(f5)
-    l.append(f6)
-    s = geom.MakeShell(l)
-# FKL: bad shell
-    l = []
-    l.append(s)
-    s = geom.MakeSolid(l)
-# FKL: MakeSolid crash
-    setName(s)
-    return s
-
-# cf. makeVolBetweenTwoSurfaces
-
-def MakeHexaSolidFace(f1, f2):
-    return fkl
-
-# Face (with 4 edges) and solid (with 6 faces)
-# --------------------------------------------
-
-# makeTiledSurfByRotationOfLine
-
-def MakeRevolution(g, pt, ve, angle):
-    """
-    Creates a face  by rotation of an edge with an angle around an axis defined by a point and a vector or
-    creates a solid by rotation of a  face with an angle around an axis defined by a point and a vector
-    """
-    axis = geom.MakeAxisStruct(pt.x, pt.y, pt.z, ve.x, ve.y, ve.z)
-    s = geom.MakeRevolution(g, axis, angle)
-    setName(s)
-    return s
-
-# cf. makeSurfSewingTwolines
-
-def MakeSewing(ls):
-    """
-    Creates a face  by sewing common edges between a list of faces or
-    Creates a solid by sewing common faces between a list of solids
-    """
-    s = geom.MakeSewing(ls)
-    setName(s)
-    return s
-
-# cf. makeIntersectionBetweenTwoMeshes
-
-def MakeCommon(s1, s2):
-    """
-    Creates the common face  between 2 faces or
-    Creates the common solid between 2 solids
-    """
-    s = geom.MakeBoolean(s1, s2, 1)
-    setName(s)
-    return s
-
-# cf. makeMerge
-
-def MakeFuse(s1, s2):
-    """
-    Fuses 2 faces or 2 solids
-    """
-    s = geom.MakeBoolean(s1, s2, 3)
-    setName(s)
-    return s
-
-# Additional
-
-def MakeCut(s1, s2):
-    """
-    Cuts 2 faces or 2 solids
-    """
-    s = geom.MakeBoolean(s1, s2, 2)
-    setName(s)
-    return s
-
-# Edge, face (with 4 edges) and solid (with 6 faces)
-# --------------------------------------------------
-
-# cf. makeSurfByTranslation
-# cf. makeVolByTranslation
-
-def MakePrism(s, v):
-    """
-    Creates a edge  defined by a vertex and along a vector
-    Creates a face  defined by a edge   and along a vector
-    Creates a solid defined by a face   and along a vector
-    """
-    r = geom.MakePrism(s, point(0, 0, 0), v)
-    setName(r)
-    return r
-
-# cf. homothety
-
-def MakeScaleTransform(s, center, factor):
-    """
-    Creates a homothety of a geometric object
-    """
-    r = geom.MakeScaleTransform(s, center, factor)
-    setName(r)
-    return r
-
-# Vertex, edge, face (with 4 edges) and solid (with 6 faces)
-# ----------------------------------------------------------
-
-# cf. translate
-
-def MakeTranslation(s, vx, vy, vz):
-    """
-    Translates a vertex, an edge, a face or a solid
-    """
-    r = geom.MakeTranslation(s, vx, vy, vz)
-    setName(r)
-    return r
-
-# cf. rotation
-
-def MakeRotation(g, pt, ve, angle):
-    """
-    Creates a rotation of the geometric object with an angle around an axis defined by a point and a vector
-    """
-    axis = geom.MakeAxisStruct(pt.x, pt.y, pt.z, ve.x, ve.y, ve.z)
-    s = geom.MakeRotation(g, axis, angle)
-    setName(s)
-    return s
-
-# cf. symmetryByPoint
-
-def MakeMirrorByPoint(s, point):
-    """
-    Creates a symmetric object by point symetry
-    """
-    return fkl
-
-# cf. symmetryByLine
-
-def MakeMirrorByLine(s, line):
-    """
-    Creates a symmetric object by line symetry
-    """
-    return fkl
-
-# cf. symmetryByPlane
-
-def MakeMirrorByPlane(s, pt, ve):
-    """
-    Creates a symmetric object by plane symetry defined by a point and a normal vector
-    """
-    p = plane(pt, ve)
-    r = geom.MakeMirrorByplane(s, p)
-    setName(r)
-    return r
-
-# Compound
-# --------
-
-# Additional
-
-def BlockMakeCompound(ls):
-    """
-    Creates a compound defined by a list and glue faces
-    """
-    c = MakeCompound(ls)
-    r = MakeGlueFaces(c, 1.e-5)
-    setName(r)
-    return r
-
-# Boolean operators
-# -----------------
-
-def mergePointsNearBy(l, v):
-    """
-    Modifies a list of shape by replacing all vertex near a new vextex
-    """
-    return fkl
-
-# Acces operators
-# ---------------
-
-def getCoords(v):
-    """
-    Gets the coordinates of the vertex
-    """
-    return fkl
-
-def extractBeginPoint(e):
-    """
-    Gets the first point of an edge
-    """
-    return fkl
-
-def extractEndPoint(e):
-    """
-    Gets the second point of an edge
-    """
-    return fkl
-
-# fkl more functionalities
-
-# Addionnal
-# =========
-
-# Check geometry
-# --------------
-
-def CheckQuadFace(f):
-    """
-    Checks if a face has 4 edges
-    """
-    return fkl
-
-def CheckHexaSolid(s):
-    """
-    Checks if a solid has 6 faces and each faces have 4 edges
-    """
-    return fkl
-
-# fkl more if other kind of solid like: tetra, penta, etc
-
-# point for building
-# ------------------
-
-def point(x, y, z):
-    p = geom.MakeVertex(x, y, z)
-    return p
-
-def plane(pt, dir):
-    p = geom.MakePlane(pt, d, 100)
-    return p
-
-# Solid
-# -----
-
-def MakeCylinder(center, dir, radius, height):
-    s = geom.MakeCylinder(center, dir, radius, height)
-    setName(s)
-    return s
-
-def MakeBox(p1, p2):
-    s = geom.MakeBoxTwoPnt(p1, p2)
-    setName(s)
-    return s
-
-# Compound
-# --------
-
-ShapeType = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}
-
-def MakePartitionList(solids, tools):
-    """
-    Creates a list of shape by a partition of a list of solids by a list of tools
-    """
-    p = geom.Partition(solids, tools, [], [], ShapeType["SHAPE"]);
-    l = geom.SubShapeAll(p, ShapeType["SHAPE"])
-    return l
-
-def MakePartition(solids, tools):
-    """
-    Creates a partition of a list of solids by a list of tools
-    """
-    l = MakePartitionList(solids, tools)
-    c = MakeCompound(l)
-    setName(c)
-    return c
-
-def BlockMakeMultiTranslation1D(shape, dir, step, times):
-    m = geom.MakeMultiTranslation1D(shape, dir, step, times)
-    c  = MakeGlueFaces(m, 1.e-5)
-    setName(c)
-    return c
-
-def BlockMakeMultiTranslation2D(shape, dir1, step1, times1, dir2, step2, times2):
-    m  = geom.MakeMultiTranslation2D(shape, dir1, step1, times1, dir2, step2, times2)
-    c  = MakeGlueFaces(m, 1.e-5)
-    setName(c)
-    return c
-
-def BlockMakeMultiRotation1D(shape, dir, point, times):
-    m = geom.MakeMultiRotation1D(shape, dir, point, times)
-    c  = MakeGlueFaces(m, 1.e-5)
-    setName(c)
-    return c
-
-def BlockMakeMultiRotation2D(shape, dir, point, angle, times1, step, times2):
-    m = geom.MakeMultiRotation2D(shape, dir, point, angle, times1, step, times2)
-    c  = MakeGlueFaces(m, 1.e-5)
-    setName(c)
-    return c
-
-# internal
-# --------
-
-def MakeCompound(ls):
-    """
-    Creates a compound defined by a list
-    """
-    c = geom.MakeCompound(ls)
-    return c
-
-def MakeSewingShape(s, eps):
-    """
-    Creates a shape fully sewed
-    """
-    r = geom.MakeSewingShape(s, eps)
-    return r
-
-def MakeGlueFaces(s, eps):
-    """
-    Touched faces are replaced by one
-    """
-    r = geom.MakeGlueFaces(s, eps)
-    return r
-
-
-# Geometry
-# ========
-
-# A small cube centered and put on a great cube
-
-# Points
-# ------
-
-greatPoint111 = point( 0,  0,  0)
-greatPoint211 = point(10,  0,  0)
-greatPoint311 = point(20,  0,  0)
-greatPoint411 = point(30,  0,  0)
-
-greatPoint121 = point( 0, 10,  0)
-greatPoint221 = point(10, 10,  0)
-greatPoint321 = point(20, 10,  0)
-greatPoint421 = point(30, 10,  0)
-
-greatPoint112 = point( 0,  0, 10)
-greatPoint212 = point(10,  0, 10)
-greatPoint312 = point(20,  0, 10)
-greatPoint412 = point(30,  0, 10)
-
-greatPoint122 = point( 0, 10, 10)
-greatPoint222 = point(10, 10, 10)
-greatPoint322 = point(20, 10, 10)
-greatPoint422 = point(30, 10, 10)
-
-greatPoint113 = point( 0,  0, 20)
-greatPoint213 = point(10,  0, 20)
-greatPoint313 = point(20,  0, 20)
-greatPoint413 = point(30,  0, 20)
-
-greatPoint123 = point( 0, 10, 20)
-greatPoint223 = point(10, 10, 20)
-greatPoint323 = point(20, 10, 20)
-greatPoint423 = point(30, 10, 20)
-
-greatPoint114 = point( 0,  0, 30)
-greatPoint214 = point(10,  0, 30)
-greatPoint314 = point(20,  0, 30)
-greatPoint414 = point(30,  0, 30)
-
-greatPoint124 = point( 0, 10, 30)
-greatPoint224 = point(10, 10, 30)
-greatPoint324 = point(20, 10, 30)
-greatPoint424 = point(30, 10, 30)
-
-
-smallPoint111 = greatPoint222
-smallPoint211 = greatPoint322
-smallPoint121 = point(10, 20, 10)
-smallPoint221 = point(20, 20, 10)
-
-smallPoint112 = greatPoint223
-smallPoint212 = greatPoint323
-smallPoint122 = point(10, 20, 20)
-smallPoint222 = point(20, 20, 20)
-
-# Edges
-# -----
-
-smallEdgeX11 = MakeEdge(smallPoint111, smallPoint211)
-smallEdgeX21 = MakeEdge(smallPoint121, smallPoint221)
-smallEdgeX12 = MakeEdge(smallPoint112, smallPoint212)
-smallEdgeX22 = MakeEdge(smallPoint122, smallPoint222)
-
-smallEdgeY11 = MakeEdge(smallPoint111, smallPoint121)
-smallEdgeY21 = MakeEdge(smallPoint211, smallPoint221)
-smallEdgeY12 = MakeEdge(smallPoint112, smallPoint122)
-smallEdgeY22 = MakeEdge(smallPoint212, smallPoint222)
-
-smallEdgeZ11 = MakeEdge(smallPoint111, smallPoint112)
-smallEdgeZ21 = MakeEdge(smallPoint211, smallPoint212)
-smallEdgeZ12 = MakeEdge(smallPoint121, smallPoint122)
-smallEdgeZ22 = MakeEdge(smallPoint221, smallPoint222)
-
-
-greatEdgeX111 = MakeEdge(greatPoint111, greatPoint211)
-greatEdgeX211 = MakeEdge(greatPoint211, greatPoint311)
-greatEdgeX311 = MakeEdge(greatPoint311, greatPoint411)
-greatEdgeX121 = MakeEdge(greatPoint121, greatPoint221)
-greatEdgeX221 = MakeEdge(greatPoint221, greatPoint321)
-greatEdgeX321 = MakeEdge(greatPoint321, greatPoint421)
-
-greatEdgeX112 = MakeEdge(greatPoint112, greatPoint212)
-greatEdgeX212 = MakeEdge(greatPoint212, greatPoint312)
-greatEdgeX312 = MakeEdge(greatPoint312, greatPoint412)
-greatEdgeX122 = MakeEdge(greatPoint122, greatPoint222)
-greatEdgeX222 = smallEdgeX11
-greatEdgeX322 = MakeEdge(greatPoint322, greatPoint422)
-
-greatEdgeX113 = MakeEdge(greatPoint113, greatPoint213)
-greatEdgeX213 = MakeEdge(greatPoint213, greatPoint313)
-greatEdgeX313 = MakeEdge(greatPoint313, greatPoint413)
-greatEdgeX123 = MakeEdge(greatPoint123, greatPoint223)
-greatEdgeX223 = smallEdgeX12
-greatEdgeX323 = MakeEdge(greatPoint323, greatPoint423)
-
-greatEdgeX114 = MakeEdge(greatPoint114, greatPoint214)
-greatEdgeX214 = MakeEdge(greatPoint214, greatPoint314)
-greatEdgeX314 = MakeEdge(greatPoint314, greatPoint414)
-greatEdgeX124 = MakeEdge(greatPoint124, greatPoint224)
-greatEdgeX224 = MakeEdge(greatPoint224, greatPoint324)
-greatEdgeX324 = MakeEdge(greatPoint324, greatPoint424)
-
-greatEdgeY11 = MakeEdge(greatPoint111, greatPoint121)
-greatEdgeY21 = MakeEdge(greatPoint211, greatPoint221)
-greatEdgeY31 = MakeEdge(greatPoint311, greatPoint321)
-greatEdgeY41 = MakeEdge(greatPoint411, greatPoint421)
-
-greatEdgeY12 = MakeEdge(greatPoint112, greatPoint122)
-greatEdgeY22 = MakeEdge(greatPoint212, greatPoint222)
-greatEdgeY32 = MakeEdge(greatPoint312, greatPoint322)
-greatEdgeY42 = MakeEdge(greatPoint412, greatPoint422)
-
-greatEdgeY13 = MakeEdge(greatPoint113, greatPoint123)
-greatEdgeY23 = MakeEdge(greatPoint213, greatPoint223)
-greatEdgeY33 = MakeEdge(greatPoint313, greatPoint323)
-greatEdgeY43 = MakeEdge(greatPoint413, greatPoint423)
-
-greatEdgeY14 = MakeEdge(greatPoint114, greatPoint124)
-greatEdgeY24 = MakeEdge(greatPoint214, greatPoint224)
-greatEdgeY34 = MakeEdge(greatPoint314, greatPoint324)
-greatEdgeY44 = MakeEdge(greatPoint414, greatPoint424)
-
-greatEdgeZ111 = MakeEdge(greatPoint111, greatPoint112)
-greatEdgeZ211 = MakeEdge(greatPoint211, greatPoint212)
-greatEdgeZ311 = MakeEdge(greatPoint311, greatPoint312)
-greatEdgeZ411 = MakeEdge(greatPoint411, greatPoint412)
-
-greatEdgeZ121 = MakeEdge(greatPoint121, greatPoint122)
-greatEdgeZ221 = MakeEdge(greatPoint221, greatPoint222)
-greatEdgeZ321 = MakeEdge(greatPoint321, greatPoint322)
-greatEdgeZ421 = MakeEdge(greatPoint421, greatPoint422)
-
-greatEdgeZ112 = MakeEdge(greatPoint112, greatPoint113)
-greatEdgeZ212 = MakeEdge(greatPoint212, greatPoint213)
-greatEdgeZ312 = MakeEdge(greatPoint312, greatPoint313)
-greatEdgeZ412 = MakeEdge(greatPoint412, greatPoint413)
-
-greatEdgeZ122 = MakeEdge(greatPoint122, greatPoint123)
-greatEdgeZ222 = smallEdgeZ11
-greatEdgeZ322 = smallEdgeZ21
-greatEdgeZ422 = MakeEdge(greatPoint422, greatPoint423)
-
-greatEdgeZ113 = MakeEdge(greatPoint113, greatPoint114)
-greatEdgeZ213 = MakeEdge(greatPoint213, greatPoint214)
-greatEdgeZ313 = MakeEdge(greatPoint313, greatPoint314)
-greatEdgeZ413 = MakeEdge(greatPoint413, greatPoint414)
-
-greatEdgeZ123 = MakeEdge(greatPoint123, greatPoint124)
-greatEdgeZ223 = MakeEdge(greatPoint223, greatPoint224)
-greatEdgeZ323 = MakeEdge(greatPoint323, greatPoint324)
-greatEdgeZ423 = MakeEdge(greatPoint423, greatPoint424)
-
-# Faces
-# -----
-
-smallFaceX1 = MakeQuadFace(smallEdgeY11, smallEdgeZ11, smallEdgeY12, smallEdgeZ12)
-smallFaceX2 = MakeQuadFace(smallEdgeY21, smallEdgeZ21, smallEdgeY22, smallEdgeZ22)
-smallFaceY1 = MakeQuadFace(smallEdgeX11, smallEdgeZ11, smallEdgeX12, smallEdgeZ21)
-smallFaceY2 = MakeQuadFace(smallEdgeX21, smallEdgeZ12, smallEdgeX22, smallEdgeZ22)
-smallFaceZ1 = MakeQuadFace(smallEdgeX11, smallEdgeY11, smallEdgeX21, smallEdgeY21)
-smallFaceZ2 = MakeQuadFace(smallEdgeX12, smallEdgeY12, smallEdgeX22, smallEdgeY22)
-
-
-greatFaceX11 = MakeQuadFace(greatEdgeY11, greatEdgeZ111, greatEdgeY12, greatEdgeZ121)
-greatFaceX21 = MakeQuadFace(greatEdgeY21, greatEdgeZ211, greatEdgeY22, greatEdgeZ221)
-greatFaceX31 = MakeQuadFace(greatEdgeY31, greatEdgeZ311, greatEdgeY32, greatEdgeZ321)
-greatFaceX41 = MakeQuadFace(greatEdgeY41, greatEdgeZ411, greatEdgeY42, greatEdgeZ421)
-
-greatFaceX12 = MakeQuadFace(greatEdgeY12, greatEdgeZ112, greatEdgeY13, greatEdgeZ122)
-greatFaceX22 = MakeQuadFace(greatEdgeY22, greatEdgeZ212, greatEdgeY23, greatEdgeZ222)
-greatFaceX32 = MakeQuadFace(greatEdgeY32, greatEdgeZ312, greatEdgeY33, greatEdgeZ322)
-greatFaceX42 = MakeQuadFace(greatEdgeY42, greatEdgeZ412, greatEdgeY43, greatEdgeZ422)
-
-greatFaceX13 = MakeQuadFace(greatEdgeY13, greatEdgeZ113, greatEdgeY14, greatEdgeZ123)
-greatFaceX23 = MakeQuadFace(greatEdgeY23, greatEdgeZ213, greatEdgeY24, greatEdgeZ223)
-greatFaceX33 = MakeQuadFace(greatEdgeY33, greatEdgeZ313, greatEdgeY34, greatEdgeZ323)
-greatFaceX43 = MakeQuadFace(greatEdgeY43, greatEdgeZ413, greatEdgeY44, greatEdgeZ423)
-
-greatFaceY111 = MakeQuadFace(greatEdgeX111, greatEdgeZ111, greatEdgeX112, greatEdgeZ211)
-greatFaceY211 = MakeQuadFace(greatEdgeX211, greatEdgeZ211, greatEdgeX212, greatEdgeZ311)
-greatFaceY311 = MakeQuadFace(greatEdgeX311, greatEdgeZ311, greatEdgeX312, greatEdgeZ411)
-greatFaceY121 = MakeQuadFace(greatEdgeX121, greatEdgeZ121, greatEdgeX122, greatEdgeZ221)
-greatFaceY221 = MakeQuadFace(greatEdgeX221, greatEdgeZ221, greatEdgeX222, greatEdgeZ321)
-greatFaceY321 = MakeQuadFace(greatEdgeX321, greatEdgeZ321, greatEdgeX322, greatEdgeZ421)
-
-greatFaceY112 = MakeQuadFace(greatEdgeX112, greatEdgeZ112, greatEdgeX113, greatEdgeZ212)
-greatFaceY212 = MakeQuadFace(greatEdgeX212, greatEdgeZ212, greatEdgeX213, greatEdgeZ312)
-greatFaceY312 = MakeQuadFace(greatEdgeX312, greatEdgeZ312, greatEdgeX313, greatEdgeZ412)
-greatFaceY122 = MakeQuadFace(greatEdgeX122, greatEdgeZ122, greatEdgeX123, greatEdgeZ222)
-greatFaceY222 = smallFaceY1
-greatFaceY322 = MakeQuadFace(greatEdgeX322, greatEdgeZ322, greatEdgeX323, greatEdgeZ422)
-
-greatFaceY113 = MakeQuadFace(greatEdgeX113, greatEdgeZ113, greatEdgeX114, greatEdgeZ213)
-greatFaceY213 = MakeQuadFace(greatEdgeX213, greatEdgeZ213, greatEdgeX214, greatEdgeZ313)
-greatFaceY313 = MakeQuadFace(greatEdgeX313, greatEdgeZ313, greatEdgeX314, greatEdgeZ413)
-greatFaceY123 = MakeQuadFace(greatEdgeX123, greatEdgeZ123, greatEdgeX124, greatEdgeZ223)
-greatFaceY223 = MakeQuadFace(greatEdgeX223, greatEdgeZ223, greatEdgeX224, greatEdgeZ323)
-greatFaceY323 = MakeQuadFace(greatEdgeX323, greatEdgeZ323, greatEdgeX324, greatEdgeZ423)
-
-greatFaceZ11 = MakeQuadFace(greatEdgeX111, greatEdgeY11, greatEdgeX121, greatEdgeY21)
-greatFaceZ21 = MakeQuadFace(greatEdgeX211, greatEdgeY21, greatEdgeX221, greatEdgeY31)
-greatFaceZ31 = MakeQuadFace(greatEdgeX311, greatEdgeY31, greatEdgeX321, greatEdgeY41)
-
-greatFaceZ12 = MakeQuadFace(greatEdgeX112, greatEdgeY12, greatEdgeX122, greatEdgeY22)
-greatFaceZ22 = MakeQuadFace(greatEdgeX212, greatEdgeY22, greatEdgeX222, greatEdgeY32)
-greatFaceZ32 = MakeQuadFace(greatEdgeX312, greatEdgeY32, greatEdgeX322, greatEdgeY42)
-
-greatFaceZ13 = MakeQuadFace(greatEdgeX113, greatEdgeY13, greatEdgeX123, greatEdgeY23)
-greatFaceZ23 = MakeQuadFace(greatEdgeX213, greatEdgeY23, greatEdgeX223, greatEdgeY33)
-greatFaceZ33 = MakeQuadFace(greatEdgeX313, greatEdgeY33, greatEdgeX323, greatEdgeY43)
-
-greatFaceZ14 = MakeQuadFace(greatEdgeX114, greatEdgeY14, greatEdgeX124, greatEdgeY24)
-greatFaceZ24 = MakeQuadFace(greatEdgeX214, greatEdgeY24, greatEdgeX224, greatEdgeY34)
-greatFaceZ34 = MakeQuadFace(greatEdgeX314, greatEdgeY34, greatEdgeX324, greatEdgeY44)
-
-# Solids
-# ------
-
-smallBlock   = MakeHexaSolid(smallFaceX1, smallFaceX2, smallFaceY1, smallFaceY2, smallFaceZ1, smallFaceZ2)
-
-greatBlock11 = MakeHexaSolid(greatFaceX11, greatFaceX21, greatFaceY111, greatFaceY121, greatFaceZ11, greatFaceZ12)
-greatBlock21 = MakeHexaSolid(greatFaceX21, greatFaceX31, greatFaceY211, greatFaceY221, greatFaceZ21, greatFaceZ22)
-greatBlock31 = MakeHexaSolid(greatFaceX31, greatFaceX41, greatFaceY311, greatFaceY321, greatFaceZ31, greatFaceZ32)
-
-greatBlock12 = MakeHexaSolid(greatFaceX12, greatFaceX22, greatFaceY112, greatFaceY122, greatFaceZ12, greatFaceZ13)
-greatBlock22 = MakeHexaSolid(greatFaceX22, greatFaceX32, greatFaceY212, greatFaceY222, greatFaceZ22, greatFaceZ23)
-greatBlock32 = MakeHexaSolid(greatFaceX32, greatFaceX42, greatFaceY312, greatFaceY322, greatFaceZ32, greatFaceZ33)
-
-greatBlock13 = MakeHexaSolid(greatFaceX13, greatFaceX23, greatFaceY113, greatFaceY123, greatFaceZ13, greatFaceZ14)
-greatBlock23 = MakeHexaSolid(greatFaceX23, greatFaceX33, greatFaceY213, greatFaceY223, greatFaceZ23, greatFaceZ24)
-greatBlock33 = MakeHexaSolid(greatFaceX33, greatFaceX43, greatFaceY313, greatFaceY323, greatFaceZ33, greatFaceZ34)
-
-# Compound
-# --------
-
-l = []
-l.append(smallBlock)
-l.append(greatBlock11)
-l.append(greatBlock21)
-l.append(greatBlock31)
-l.append(greatBlock12)
-l.append(greatBlock22)
-l.append(greatBlock32)
-l.append(greatBlock13)
-l.append(greatBlock23)
-l.append(greatBlock33)
-
-piece = MakeCompound(l)
-
-# Add in study
-# ------------
-
-idpiece = addToStudy(piece, "Cubes2pyGibi")
-#geom.InsertOp.Export(piece,"piece.brep", "BREP")
diff --git a/src/GEOM_SWIG/GEOM_tube_geom.py b/src/GEOM_SWIG/GEOM_tube_geom.py
deleted file mode 100755 (executable)
index b919352..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-#==============================================================================
-#  Info.
-#  Bug (from script, bug)   : tube_geom_corrected.py, PAL5243
-#  Modified                 : 25/11/2004
-#  Author                   : Kovaltchuk Alexey
-#  Project                  : PAL/SALOME
-#==============================================================================
-#
-# Geometrie du cas test
-#
-import salome
-from geompy import *
-
-#
-# base de l'assemblage
-#
-L_base = 300.
-l_base = 150.
-h_base = 75.
-e_base = 6.
-
-base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base)
-base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base)
-base_front = MakeBox(0,0,0,L_base,e_base,h_base)
-base_rear = MakeTranslation(base_front,0.,l_base,0.)
-
-tmp = MakeBoolean(base_top,base_rear,3)
-tmp = MakeBoolean(tmp,base_bot,3)
-base = MakeBoolean(tmp,base_front,3)
-
-addToStudy(base,"base")
-#
-# traverse
-#
-L_trav = 60.
-h_trav = 300.
-e_trav = 7.
-marge = 15.
-
-flange_left = MakeBox(0.,0.,0,e_trav,L_trav,h_trav)
-flange_right = MakeTranslation(flange_left,L_trav-e_trav,0.,0.)
-flange_front = MakeBox(0.,0.,0,L_trav,e_trav,h_trav)
-flange_rear = MakeTranslation(flange_front,0.,L_trav-e_trav,0.)
-
-tmp = MakeBoolean(flange_left,flange_rear,3)
-tmp = MakeBoolean(tmp,flange_right,3)
-flange = MakeBoolean(tmp,flange_front,3)
-#
-# left chamfer
-#
-import math
-length = e_trav/math.sin(math.pi/4.)
-p1 = MakeVertex(0,0,0)
-p2 = MakeVertex(0,1,0)
-yaxis = MakeVector(p1, p2)
-cut_left = MakeBox(0.,-marge,0.,-length,L_trav+marge,length)
-cut_left = MakeRotation(cut_left,yaxis,-math.pi/4.)
-cut_left = MakeTranslation(cut_left,e_trav,0.,0.)
-#
-# right chamfer
-#
-symPlaneYZ = MakePlane(
-     MakeVertex(L_trav/2.,0.,0.),
-     MakeVector(p1,MakeVertex(1.,0.,0.)), 10000. )
-cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ)
-#
-# front chamfer
-#
-xaxis = MakeVector(p1,MakeVertex(1.,0.,0.))
-cut_front = MakeBox(-marge,0.,0.,L_trav+marge,length,length)
-cut_front = MakeRotation(cut_front,xaxis,3.*math.pi/4.)
-cut_front = MakeTranslation(cut_front,0.,e_trav,0.)
-#
-# rear chamfer
-#
-symPlaneXZ = MakePlane(
-     MakeVertex(0.,L_trav/2.,0.),
-     MakeVector(p1,MakeVertex(0.,1.,0.)), 10000. )
-cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ)
-#
-# chamfer
-#
-trav = MakeBoolean(flange,cut_left,2)
-trav = MakeBoolean(trav,cut_right,2)
-trav = MakeBoolean(trav,cut_front,2)
-trav = MakeBoolean(trav,cut_rear,2)
-trav = MakeTranslation(trav,
-                       L_base/2.-L_trav/2.,
-                       l_base/2.-L_trav/2.,
-                       h_base)
-addToStudy(trav,"trav")
-#
-# Welding
-#
-ground = MakeBox(-1000.,-1000.,0.,1000.,1000.,-1000.)
-weld_left = MakeBoolean(cut_left,ground,2)
-weld_right = MakeBoolean(cut_right,ground,2)
-weld_front = MakeBoolean(cut_front,ground,2)
-weld_rear = MakeBoolean(cut_rear,ground,2)
-#
-# Assembly
-#
-coarse_weld = MakeBoolean(weld_left,weld_rear,3)
-coarse_weld = MakeBoolean(coarse_weld,weld_right,3)
-coarse_weld = MakeBoolean(coarse_weld,weld_front,3)
-#
-# Cleaners
-#
-left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge)
-left_cleaner = MakeRotation(left_cleaner,yaxis,math.pi/4.)
-left_cleaner = MakeTranslation(left_cleaner,-e_trav-2.*marge,0.,-2.*marge)
-
-right_cleaner = MakeMirrorByPlane(left_cleaner,symPlaneYZ)
-
-front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge)
-front_cleaner = MakeRotation(front_cleaner,xaxis,3.*math.pi/4.)
-front_cleaner = MakeTranslation(front_cleaner,0.,2.*marge-e_trav,2.*marge)
-
-rear_cleaner = MakeMirrorByPlane(front_cleaner,symPlaneXZ)
-#
-# Welding
-#
-weld = MakeBoolean(coarse_weld,left_cleaner,2)
-weld = MakeBoolean(weld,rear_cleaner,2)
-weld = MakeBoolean(weld,right_cleaner,2)
-weld = MakeBoolean(weld,front_cleaner,2)
-weld = MakeTranslation(weld,
-                       L_base/2.-L_trav/2.,
-                       l_base/2.-L_trav/2.,
-                       h_base)
-weldId = addToStudy(weld,"weld")
-#
-# Assembly
-#
-assemblage = Partition([base ,weld ,trav])
-assemblageId = addToStudy(assemblage, "assemblage")
-salome.sg.updateObjBrowser(1)
-#
-# Display
-#
-## gg.createAndDisplayGO(assemblageId)
-## gg.createAndDisplayGO(baseId)
-## gg.setTransparency(baseId,0.5)
-## gg.setDisplayMode(baseId,1)
-## gg.setColor(baseId,255,0,0)
-## gg.createAndDisplayGO(travId)
-## gg.setTransparency(travId,0.5)
-## gg.setDisplayMode(travId,1)
-## gg.setColor(travId,0,255,0)
-
-
diff --git a/src/GEOM_SWIG/GEOM_tube_geom_gg2.py b/src/GEOM_SWIG/GEOM_tube_geom_gg2.py
deleted file mode 100755 (executable)
index 29f7781..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-#==============================================================================\r
-#  Info.\r
-#  Bug (from script, bug)   : tube_geom_gg2_corrected.py, PAL5243\r
-#  Modified                 : 25/11/2004\r
-#  Author                   : Kovaltchuk Alexey\r
-#  Project                  : PAL/SALOME\r
-#==============================================================================\r
-#\r
-# Geometrie du cas test\r
-#\r
-\r
-from geompy import *\r
-import salome\r
-#\r
-# base de l'assemblage\r
-#\r
-L_base = 300.\r
-l_base = 150.\r
-h_base = 75.\r
-e_base = 6.\r
-\r
-base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base)\r
-base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base)\r
-base_front = MakeBox(0,0,0,L_base,e_base,h_base)\r
-base_rear = MakeTranslation(base_front,0.,l_base,0.)\r
-\r
-tmp = MakeBoolean(base_top,base_rear,3)\r
-tmp = MakeBoolean(tmp,base_bot,3)\r
-base = MakeBoolean(tmp,base_front,3)\r
-\r
-baseId = addToStudy(base,"base")\r
-#\r
-# traverse\r
-#\r
-L_trav = 60.\r
-h_trav = 300.\r
-e_trav = 7.\r
-marge = 15.\r
-\r
-flange_left = MakeBox(0.,0.,0,e_trav,L_trav,h_trav)\r
-flange_right = MakeTranslation(flange_left,L_trav-e_trav,0.,0.)\r
-flange_front = MakeBox(0.,0.,0,L_trav,e_trav,h_trav)\r
-flange_rear = MakeTranslation(flange_front,0.,L_trav-e_trav,0.)\r
-\r
-tmp = MakeBoolean(flange_left,flange_rear,3)\r
-tmp = MakeBoolean(tmp,flange_right,3)\r
-flange = MakeBoolean(tmp,flange_front,3)\r
-#\r
-# left chamfer\r
-#\r
-import math\r
-length = e_trav/math.sin(math.pi/4.)\r
-yaxis = MakeVectorDXDYDZ(0.,1.,0.)\r
-cut_left = MakeBox(0.,-marge,0.,-length,L_trav+marge,length)\r
-cut_left = MakeRotation(cut_left,yaxis,-math.pi/4.)\r
-cut_left = MakeTranslation(cut_left,e_trav,0.,0.)\r
-#\r
-# right chamfer\r
-#\r
-symPlaneYZ = MakePlane(\r
-     MakeVertex(L_trav/2.,0.,0.),\r
-     MakeVectorDXDYDZ(1.,0.,0.), 10000. )\r
-cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ)\r
-#\r
-# front chamfer\r
-#\r
-xaxis = MakeVectorDXDYDZ(1.,0.,0.)\r
-cut_front = MakeBox(-marge,0.,0.,L_trav+marge,length,length)\r
-cut_front = MakeRotation(cut_front,xaxis,3.*math.pi/4.)\r
-cut_front = MakeTranslation(cut_front,0.,e_trav,0.)\r
-#\r
-# rear chamfer\r
-#\r
-symPlaneXZ = MakePlane(\r
-     MakeVertex(0.,L_trav/2.,0.),\r
-     MakeVectorDXDYDZ(0.,1.,0.), 10000. )\r
-cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ)\r
-#\r
-# chamfer\r
-#\r
-trav = MakeBoolean(flange,cut_left,2)\r
-trav = MakeBoolean(trav,cut_right,2)\r
-trav = MakeBoolean(trav,cut_front,2)\r
-trav = MakeBoolean(trav,cut_rear,2)\r
-trav = MakeTranslation(trav,\r
-                       L_base/2.-L_trav/2.,\r
-                       l_base/2.-L_trav/2.,\r
-                       h_base)\r
-travId = addToStudy(trav,"trav")\r
-#\r
-# Welding\r
-#\r
-ground = MakeBox(-1000.,-1000.,0.,1000.,1000.,-1000.)\r
-weld_left = MakeBoolean(cut_left,ground,2)\r
-weld_right = MakeBoolean(cut_right,ground,2)\r
-weld_front = MakeBoolean(cut_front,ground,2)\r
-weld_rear = MakeBoolean(cut_rear,ground,2)\r
-#\r
-# Assembly\r
-#\r
-coarse_weld = MakeBoolean(weld_left,weld_rear,3)\r
-coarse_weld = MakeBoolean(coarse_weld,weld_right,3)\r
-coarse_weld = MakeBoolean(coarse_weld,weld_front,3)\r
-#\r
-# Cleaners\r
-#\r
-left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge)\r
-left_cleaner = MakeRotation(left_cleaner,yaxis,math.pi/4.)\r
-left_cleaner = MakeTranslation(left_cleaner,-e_trav-2.*marge,0.,-2.*marge)\r
-\r
-right_cleaner = MakeMirrorByPlane(left_cleaner,symPlaneYZ)\r
-\r
-front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge)\r
-front_cleaner = MakeRotation(front_cleaner,xaxis,3.*math.pi/4.)\r
-front_cleaner = MakeTranslation(front_cleaner,0.,2.*marge-e_trav,2.*marge)\r
-\r
-rear_cleaner = MakeMirrorByPlane(front_cleaner,symPlaneXZ)\r
-#\r
-# Welding\r
-#\r
-weld = MakeBoolean(coarse_weld,left_cleaner,2)\r
-weld = MakeBoolean(weld,rear_cleaner,2)\r
-weld = MakeBoolean(weld,right_cleaner,2)\r
-weld = MakeBoolean(weld,front_cleaner,2)\r
-weld = MakeTranslation(weld,\r
-                       L_base/2.-L_trav/2.,\r
-                       l_base/2.-L_trav/2.,\r
-                       h_base)\r
-weldId = addToStudy(weld,"weld")\r
-#\r
-# Assembly\r
-#\r
-#assemblage = MakePartition([base.,weld.GetName()])\r
-assemblage = MakePartition([base,weld])\r
-addToStudy(assemblage, "base+weld")\r
-#print assemblage.GetName()\r
-#print trav.GetName()\r
-#assemblage = MakePartition([assemblage.GetName(),trav.GetName()])\r
-assemblage = MakePartition([assemblage,trav])\r
-assemblageId = addToStudy(assemblage, "assemblage")\r
-\r
-#\r
-# Display\r
-#\r
-gg.createAndDisplayGO(baseId)\r
-gg.setTransparency(baseId,0.5)\r
-gg.setDisplayMode(baseId,1)\r
-gg.setColor(baseId,255,0,0)\r
-gg.createAndDisplayGO(travId)\r
-gg.setTransparency(travId,0.5)\r
-gg.setDisplayMode(travId,1)\r
-gg.setColor(travId,255,0,0)\r
-gg.createAndDisplayGO(weldId)\r
-gg.setTransparency(weldId,0.5)\r
-gg.setDisplayMode(weldId,1)\r
-gg.setColor(weldId,0,0,255)\r
-\r
diff --git a/src/GEOM_SWIG/GEOM_usinggeom.py b/src/GEOM_SWIG/GEOM_usinggeom.py
deleted file mode 100644 (file)
index 08fdc08..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-#  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.
-#
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-#
-#
-#
-#  File   : GEOM_usinggeom.py
-#  Author : Damien COQUERET, Open CASCADE
-#  Module : GEOM
-#  $Header$
-
-import geompy
-import math
-
-import GEOM_TestAll
-import GEOM_TestOthers
-import GEOM_TestHealing
-import GEOM_TestMeasures
-
-GEOM_TestMeasures.TestMeasureOperations(geompy, math)
-GEOM_TestHealing.TestHealingOperations(geompy, math)
-GEOM_TestOthers.TestOtherOperations(geompy, math)
-GEOM_TestAll.TestAll(geompy, math)
diff --git a/src/GEOM_SWIG/Makefile.in b/src/GEOM_SWIG/Makefile.in
deleted file mode 100644 (file)
index 8f3d5c1..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-#  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.
-#
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Nicolas REJNERI, Paul RASCLE
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB = libGEOM_Swigcmodule.la
-LIB_SRC =
-
-SWIG_DEF = libGEOM_Swig.i
-EXPORT_PYSCRIPTS = \
-       libGEOM_Swig.py \
-       geompy.py \
-       batchmode_geompy.py \
-       GEOM_Spanner.py \
-       GEOM_blocks.py \
-       GEOM_example.py \
-       GEOM_example2.py \
-       GEOM_example3.py \
-       GEOM_example4.py \
-       GEOM_example5.py \
-       GEOM_moteur.py \
-       GEOM_TestAll.py  \
-       GEOM_TestOthers.py \
-       GEOM_TestHealing.py \
-       GEOM_TestMeasures.py \
-       GEOM_usinggeom.py  \
-       GEOM_Partition1.py \
-       GEOM_Partition2.py \
-       GEOM_Partition3.py \
-       GEOM_Partition4.py \
-       GEOM_Partition5.py \
-       GEOM_cyl2complementary.py \
-       GEOM_shellSolid.py \
-       GEOM_tube_geom.py \
-       GEOM_tube_geom_gg2.py \
-       GEOM_Nut.py \
-       GEOM_Sketcher.py \
-       PAL_MESH_019_020_geometry.py \
-       PAL_MESH_028_geometry.py \
-       PAL_MESH_030_geometry.py \
-       PAL_MESH_033_geometry.py \
-       PAL_MESH_035_geometry.py
-
-LIB_CLIENT_IDL = SALOMEDS.idl \
-                 SALOMEDS_Attributes.idl \
-                SALOME_Exception.idl \
-                GEOM_Gen.idl \
-                SALOME_Component.idl \
-                SALOME_GenericObj.idl
-
-EXPORT_SHAREDPYSCRIPTS=\
-                GEOM_shared_modules.py
-
-CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) -DHAVE_CONFIG_H
-LIBS+= $(PYTHON_LIBS)
-LDFLAGS+= -lGEOM
-
-@CONCLUDE@
diff --git a/src/GEOM_SWIG/PAL_MESH_019_020_geometry.py b/src/GEOM_SWIG/PAL_MESH_019_020_geometry.py
deleted file mode 100755 (executable)
index 68d54f1..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#####################################################################################
-#Created                :17/02/2005
-#Auhtor                 :KOVALTCHUK Alexey 
-#GUI test scenario      :PAL-MESH-019 (geometry part), PAL-MESH-020 (geometry part)
-#####################################################################################
-
-import geompy
-import salome
-
-#Points creation (2.2)
-Vertex_1 = geompy.MakeVertex(0, 0, 0)
-geompy.addToStudy(Vertex_1, "Vertex_1")
-
-Vertex_2 = geompy.MakeVertex(20, 0, 0)
-geompy.addToStudy(Vertex_2, "Vertex_2")
-
-Vertex_3 = geompy.MakeVertex(10, 10, 0)
-geompy.addToStudy(Vertex_3, "Vertex_3")
-
-Vertex_4 = geompy.MakeVertex(0, 100, 0)
-geompy.addToStudy(Vertex_4, "Vertex_4")
-
-Vertex_5 = geompy.MakeVertex(0, 80, 20)
-geompy.addToStudy(Vertex_5, "Vertex_5")
-
-#Curve creation (2.21)
-Curve_1 = geompy.MakeInterpol([Vertex_1, Vertex_3, Vertex_2])
-geompy.addToStudy(Curve_1, "Curve_1")
-
-#Line creation (2.29)
-Line_1 = geompy.MakeLineTwoPnt(Vertex_4, Vertex_5)
-geompy.addToStudy(Line_1, "Line_1")
-
-salome.sg.updateObjBrowser(1)
diff --git a/src/GEOM_SWIG/PAL_MESH_028_geometry.py b/src/GEOM_SWIG/PAL_MESH_028_geometry.py
deleted file mode 100755 (executable)
index cd4aa6c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#####################################################################
-#Created                :17/02/2005
-#Auhtor                 :KOVALTCHUK Alexey 
-#GUI test scenario      :PAL-MESH-028 (geometry part)
-#####################################################################
-
-import geompy
-import salome
-import os
-
-#Initialization
-salome.salome_init(1)
-
-#Points construction (2.1)
-Vertices = [geompy.MakeVertex(0, 0, 0), geompy.MakeVertex(200, 0, 0), geompy.MakeVertex(200, 200, 0), geompy.MakeVertex(0, 200, 0), geompy.MakeVertex(50, 50, 200), geompy.MakeVertex(150, 50, 200), geompy.MakeVertex(150, 150, 200), geompy.MakeVertex(50, 150, 200)]
-for i in range(0, len(Vertices)):
-    name = "Vertex_" + str(i+1)
-    geompy.addToStudy(Vertices[i], name)
-
-#Edges construction (3.1)
-Edges = [geompy.MakeEdge(Vertices[0], Vertices[1]), geompy.MakeEdge(Vertices[1], Vertices[5]), geompy.MakeEdge(Vertices[5], Vertices[4]), geompy.MakeEdge(Vertices[4], Vertices[0]), geompy.MakeEdge(Vertices[1], Vertices[2]), geompy.MakeEdge(Vertices[2], Vertices[6]), geompy.MakeEdge(Vertices[6], Vertices[5]), geompy.MakeEdge(Vertices[2], Vertices[3]), geompy.MakeEdge(Vertices[3], Vertices[7]), geompy.MakeEdge(Vertices[7], Vertices[6]), geompy.MakeEdge(Vertices[3], Vertices[0]), geompy.MakeEdge(Vertices[4], Vertices[7])]
-for i in range(0, len(Edges)):
-    name = "Edge_" + str(i+1)
-    geompy.addToStudy(Edges[i], name)
-
-#Wires construction (4.1)
-Wires = [geompy.MakeWire([Edges[0], Edges[1], Edges[2], Edges[3]]), geompy.MakeWire([Edges[1], Edges[4], Edges[5], Edges[6]]), geompy.MakeWire([Edges[5], Edges[7], Edges[8], Edges[9]]), geompy.MakeWire([Edges[3], Edges[10], Edges[8], Edges[11]]), geompy.MakeWire([Edges[2], Edges[6], Edges[9], Edges[11]]), geompy.MakeWire([Edges[0], Edges[4], Edges[7], Edges[10]])]
-for i in range(0, len(Wires)):
-    name = "Wire_" + str(i+1)
-    geompy.addToStudy(Wires[i], name)
-
-#Faces construction (5.1)
-Faces = [geompy.MakeFace(Wires[0], 1), geompy.MakeFace(Wires[1], 1), geompy.MakeFace(Wires[2], 1), geompy.MakeFace(Wires[3], 1), geompy.MakeFace(Wires[4], 1), geompy.MakeFace(Wires[5], 1)]
-for i in range(0, len(Faces)):
-    name = "Face_" + str(i+1)
-    geompy.addToStudy(Faces[i], name)
-
-#Shell construction (6.1)
-Shell_1 = geompy.MakeShell(Faces)
-geompy.addToStudy(Shell_1, "Shell_1")
-Shells = [Shell_1]
-
-#Solid construction (7.1)
-Solid_1 = geompy.MakeSolid(Shells)
-geompy.addToStudy(Solid_1, "Solid_1")
-
-#Prism construction (8.1)
-Prism_1 = geompy.MakePrismVecH(Faces[4], Edges[1], 100)
-geompy.addToStudy(Prism_1, "Prism_1")
-
-#Save Study (9.1)
-theHomePath = os.getenv("HOME")
-theFilenameToSave = theHomePath + "/Pyramid.hdf"
-if os.access(theFilenameToSave, os.F_OK):
-    if os.access(theFilenameToSave, os.W_OK):
-        os.remove(theFilenameToSave)
-        salome.myStudyManager.SaveAs(theFilenameToSave, salome.myStudy, 0)
-    else:
-        print "You have no enough permissions to overwrite HDF file: ",theFilenameToSave
-else:
-    salome.myStudyManager.SaveAs(theFilenameToSave, salome.myStudy, 0)
-    
-
-salome.sg.updateObjBrowser(1)
diff --git a/src/GEOM_SWIG/PAL_MESH_030_geometry.py b/src/GEOM_SWIG/PAL_MESH_030_geometry.py
deleted file mode 100755 (executable)
index 374cbf9..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#==============================================================================
-#  Created              : 17/02/2005
-#  Author               : Alexander KOVALEV
-#  GUI test scenario    : PAL-MESH-030_geometry
-#============================================================================== 
-
-import salome
-import geompy
-
-# Stage 2: "Creation of geometry"
-
-# (2.1) Creating a box
-Box_1 = geompy.MakeBoxDXDYDZ(200, 400, 300)
-# (2.8) Exploding Box_1 to vertices and faces
-Box_1_vertices = geompy.SubShapeAll(Box_1, geompy.ShapeType["VERTEX"])
-Box_1_faces = geompy.SubShapeAll(Box_1, geompy.ShapeType["FACE"])
-# (2.17) Creating a new points
-Vertex_9 = geompy.MakeVertex(200, 200, 50)
-Vertex_10 = geompy.MakeVertex(150, 300, 80)
-# (2.26) Translation of the faces 
-Face_translated = []
-Face_translated.append(geompy.MakeTranslationTwoPoints(Box_1_faces[2], Box_1_vertices[5], Vertex_9))
-Face_translated.append(geompy.MakeTranslationTwoPoints(Box_1_faces[5], Vertex_9, Vertex_10))
-Face_translated.append(geompy.MakeTranslationTwoPoints(Box_1_faces[2], Vertex_10, Vertex_9))
-Face_translated.append(geompy.MakeTranslationTwoPoints(Box_1_faces[3], Box_1_vertices[5], Vertex_9))
-Face_translated.append(geompy.MakeTranslationTwoPoints(Face_translated[1], Vertex_9, Vertex_10))
-# (2.49) Building a Compound_1
-ShapeListCompound_1 = []
-i = 0
-while i < 5 :
-    ShapeListCompound_1.append(Face_translated[i])
-    i = i + 1
-Compound_1 = geompy.MakeCompound(ShapeListCompound_1)
-# (2.54) Exploding of Compound_1 to faces
-Compound_1_faces = geompy.SubShapeAll(Compound_1, geompy.ShapeType["FACE"])
-# (2.54) Exploding of Face_translated_2 to vertices
-Face_translated_2_vertices = geompy.SubShapeAll(Face_translated[1], geompy.ShapeType["VERTEX"])
-# (2.62) Creating two boxes
-Box_1 = geompy.MakeBoxTwoPnt(Vertex_9, Face_translated_2_vertices[1])
-Box_2 = geompy.MakeBoxTwoPnt(Vertex_10, Face_translated_2_vertices[0])
-# (2.70) Building Compound_2
-ShapeListCompound_2 = []
-ShapeListCompound_2.append(Box_1)
-ShapeListCompound_2.append(Box_2)
-Compound_2 = geompy.MakeCompound(ShapeListCompound_2)
-# (2.75) Exploding of Compound_2 to solids
-Compound_2_solids = geompy.SubShapeAll(Compound_2, geompy.ShapeType["SOLID"])
-
-# Adding to study of geometrical objects
-id_Compound_1 = geompy.addToStudy(Compound_1, "Compound_1")
-id_Face_1 = geompy.addToStudyInFather(Compound_1,Compound_1_faces[0], "Face_1")
-id_Face_5 = geompy.addToStudyInFather(Compound_1,Compound_1_faces[4], "Face_5")
-id_Face_4 = geompy.addToStudyInFather(Compound_1,Compound_1_faces[3], "Face_4")
-id_Compound_2 = geompy.addToStudy(Compound_2, "Compound_2")
-id_Solid_2 = geompy.addToStudyInFather(Compound_2,Compound_2_solids[1], "Solid_2")
-
-salome.sg.updateObjBrowser(1)
diff --git a/src/GEOM_SWIG/PAL_MESH_033_geometry.py b/src/GEOM_SWIG/PAL_MESH_033_geometry.py
deleted file mode 100755 (executable)
index 0040b33..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#####################################################################
-#Created                :17/02/2005
-#Auhtor                 :KOVALTCHUK Alexey 
-#GUI test scenario      :PAL-MESH-033 (geometry part)
-#####################################################################
-
-import geompy
-import salome
-
-#Points creation (2.2)
-Vertex_1 = geompy.MakeVertex(0, 0, 0)
-geompy.addToStudy(Vertex_1, "Vertex_1")
-
-Vertex_2 = geompy.MakeVertex(0, 100, 0)
-geompy.addToStudy(Vertex_2, "Vertex_2")
-
-Vertex_3 = geompy.MakeVertex(100, 100, 0)
-geompy.addToStudy(Vertex_3, "Vertex_3")
-
-Vertex_4 = geompy.MakeVertex(100, 0, 0)
-geompy.addToStudy(Vertex_4, "Vertex_4")
-
-#Edges creation (2.18)
-Edge_1 = geompy.MakeEdge(Vertex_1, Vertex_2)
-geompy.addToStudy(Edge_1, "Edge_1")
-
-Edge_2 = geompy.MakeEdge(Vertex_2, Vertex_3)
-geompy.addToStudy(Edge_2, "Edge_2")
-
-Edge_3 = geompy.MakeEdge(Vertex_3, Vertex_4)
-geompy.addToStudy(Edge_3, "Edge_3")
-
-Edge_4 = geompy.MakeEdge(Vertex_4, Vertex_1)
-geompy.addToStudy(Edge_4, "Edge_4")
-
-#Wire creation (2.33)
-Wire_1 = geompy.MakeWire([Edge_1, Edge_2, Edge_3, Edge_4])
-geompy.addToStudy(Wire_1, "Wire_1")
-
-salome.sg.updateObjBrowser(1)
diff --git a/src/GEOM_SWIG/PAL_MESH_035_geometry.py b/src/GEOM_SWIG/PAL_MESH_035_geometry.py
deleted file mode 100755 (executable)
index ef3fe52..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#####################################################################
-#Created                :15/02/2005
-#Auhtor                 :KOVALTCHUK Alexey 
-#GUI test scenario      :PAL-MESH-035 (geometry part)
-#####################################################################
-
-import geompy
-import salome
-
-#Box creation (2.2)
-Box_1 = geompy.MakeBoxDXDYDZ(200, 400, 300)
-geompy.addToStudy(Box_1, "Box_1")
-
-#Cylinder creation (2.8)
-Cylinder_1 = geompy.MakeCylinderRH(100, 300)
-geompy.addToStudy(Cylinder_1, "Cylinder_1")
-
-#Cone creation (2.13)
-Cone_1 = geompy.MakeConeR1R2H(100, 50, 200)
-geompy.addToStudy(Cone_1, "Cone_1")
-
-#Explode box, cone and cylinder on faces and vertices(2.18)
-ListOfFaces_Box_1 = geompy.SubShapeAll(Box_1, geompy.ShapeType["FACE"])
-NbExplodedFaces_Box_1 = len(ListOfFaces_Box_1)
-for i in range (0, NbExplodedFaces_Box_1):
-   name = "Face_" + str(i+1)
-   geompy.addToStudyInFather(Box_1, ListOfFaces_Box_1[i], name)
-
-ListOfVertices_Box_1 = geompy.SubShapeAll(Box_1, geompy.ShapeType["VERTEX"])
-NbExplodedVertices_Box_1 = len(ListOfVertices_Box_1)
-for i in range (0, NbExplodedVertices_Box_1):
-   name = "Vertex_" + str(i+1)
-   geompy.addToStudyInFather(Box_1, ListOfVertices_Box_1[i], name)
-   
-ListOfFaces_Cylinder_1 = geompy.SubShapeAll(Cylinder_1, geompy.ShapeType["FACE"])
-NbExplodedFaces_Cylinder_1 = len(ListOfFaces_Cylinder_1)
-for i in range (0, NbExplodedFaces_Cylinder_1):
-   name = "Face_" + str(NbExplodedFaces_Box_1+i+1)
-   geompy.addToStudyInFather(Cylinder_1, ListOfFaces_Cylinder_1[i], name)
-   
-ListOfFaces_Cone_1 = geompy.SubShapeAll(Cone_1, geompy.ShapeType["FACE"])
-NbExplodedFaces_Cone_1 = len(ListOfFaces_Cone_1)
-for i in range (0, NbExplodedFaces_Cone_1):
-   name = "Face_" + str(NbExplodedFaces_Box_1+NbExplodedFaces_Cylinder_1+i+1)
-   geompy.addToStudyInFather(Cone_1, ListOfFaces_Cone_1[i], name)
-   
-#Plane creation (2.32)
-Plane_1 = geompy.MakePlaneThreePnt(ListOfVertices_Box_1[0], ListOfVertices_Box_1[1], ListOfVertices_Box_1[3], 600)
-geompy.addToStudy(Plane_1, "Plane_1")
-
-#Partition (2.32)
-compound = geompy.MakeCompound([ListOfFaces_Cylinder_1[0], ListOfFaces_Cone_1[0]])
-Partition_1 = geompy.MakeHalfPartition(compound, Plane_1)
-geompy.addToStudy(Partition_1, "Partition_1")
-
-#Explode partition on faces and vertices(2.38)
-ListOfFaces_Partition_1 = geompy.SubShapeAll(Partition_1, geompy.ShapeType["FACE"])
-NbExplodedFaces_Partition_1 = len(ListOfFaces_Partition_1)
-for i in range (0, NbExplodedFaces_Partition_1):
-   name = "Face_" + str(NbExplodedFaces_Box_1+NbExplodedFaces_Cylinder_1+NbExplodedFaces_Cone_1+i+1)
-   geompy.addToStudyInFather(Partition_1, ListOfFaces_Partition_1[i], name)
-
-#Explode faces on vertices(2.43)
-ListOfVertices_Face_7 = geompy.SubShapeAll(ListOfFaces_Cylinder_1[0], geompy.ShapeType["VERTEX"])
-NbExplodedVertices_Face_7 = len(ListOfVertices_Face_7)
-for i in range (0, NbExplodedVertices_Face_7):
-   name = "Vertex_" + str(NbExplodedVertices_Box_1+i+1)
-   geompy.addToStudyInFather(ListOfFaces_Cylinder_1[0], ListOfVertices_Face_7[i], name)
-
-ListOfVertices_Face_10 = geompy.SubShapeAll(ListOfFaces_Cone_1[0], geompy.ShapeType["VERTEX"])
-NbExplodedVertices_Face_10 = len(ListOfVertices_Face_10)
-for i in range (0, NbExplodedVertices_Face_10):
-   name = "Vertex_" + str(NbExplodedVertices_Box_1+NbExplodedVertices_Face_7+i+1)
-   geompy.addToStudyInFather(ListOfFaces_Cone_1[0], ListOfVertices_Face_10[i], name)
-
-ListOfVertices_Face_15 = geompy.SubShapeAll(ListOfFaces_Partition_1[2], geompy.ShapeType["VERTEX"])
-NbExplodedVertices_Face_15 = len(ListOfVertices_Face_15)
-for i in range (0, NbExplodedVertices_Face_15):
-   name = "Vertex_" + str(NbExplodedVertices_Box_1+NbExplodedVertices_Face_7+NbExplodedVertices_Face_10+i+1)
-   geompy.addToStudyInFather(ListOfFaces_Partition_1[2], ListOfVertices_Face_15[i], name)
-
-ListOfVertices_Face_18 = geompy.SubShapeAll(ListOfFaces_Partition_1[NbExplodedFaces_Partition_1-1], geompy.ShapeType["VERTEX"])
-NbExplodedVertices_Face_18 = len(ListOfVertices_Face_18)
-for i in range (0, NbExplodedVertices_Face_18):
-   name = "Vertex_" + str(NbExplodedVertices_Box_1+NbExplodedVertices_Face_7+NbExplodedVertices_Face_10+NbExplodedVertices_Face_15+i+1)
-   geompy.addToStudyInFather(ListOfFaces_Partition_1[NbExplodedFaces_Partition_1-1], ListOfVertices_Face_18[i], name)
-
-salome.sg.updateObjBrowser(1)
diff --git a/src/GEOM_SWIG/batchmode_geompy.py b/src/GEOM_SWIG/batchmode_geompy.py
deleted file mode 100644 (file)
index fb2c74e..0000000
+++ /dev/null
@@ -1,1163 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-#  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.
-#
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-#
-#
-#
-#  File   : geompy.py
-#  Author : Paul RASCLE, EDF
-#  Module : GEOM
-#  $Header$
-
-from batchmode_salome import *
-import GEOM
-
-g=None
-step = 0
-while step < 50 and g == None:
-    g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-    step = step + 1
-    time.sleep(4)
-geom = g._narrow( GEOM.GEOM_Gen )
-
-myBuilder = None
-myStudyId = 0
-father    = None
-
-BasicOp  = None
-CurvesOp = None
-PrimOp   = None
-ShapesOp = None
-HealOp   = None
-InsertOp = None 
-BoolOp   = None 
-TrsfOp   = None
-LocalOp  = None
-MeasuOp  = None
-BlocksOp = None
-GroupOp  = None 
-
-def init_geom(theStudy):
-
-    global myStudy, myBuilder, myStudyId, BasicOp, CurvesOp, PrimOp, ShapesOp, HealOp
-    global InsertOp, BoolOp, TrsfOp, LocalOp, MeasuOp, BlocksOp, GroupOp, father
-    
-    myStudy = theStudy
-    myStudyId = myStudy._get_StudyId()
-    myBuilder = myStudy.NewBuilder()
-    father = myStudy.FindComponent("GEOM")
-    if father is None:
-        father = myBuilder.NewComponent("GEOM")
-        A1 = myBuilder.FindOrCreateAttribute(father, "AttributeName")
-        FName = A1._narrow(SALOMEDS.AttributeName)
-        FName.SetValue("Geometry")
-       A2 = myBuilder.FindOrCreateAttribute(father, "AttributePixMap")
-       aPixmap = A2._narrow(SALOMEDS.AttributePixMap)
-       aPixmap.SetPixMap("ICON_OBJBROWSER_Geometry")
-       myBuilder.DefineComponentInstance(father,geom)
-        pass
-        
-    # -----------------------------------------------------------------------------
-    # Assign Operations Interfaces
-    # -----------------------------------------------------------------------------
-
-    BasicOp  = geom.GetIBasicOperations    (myStudyId)
-    CurvesOp = geom.GetICurvesOperations   (myStudyId)
-    PrimOp   = geom.GetI3DPrimOperations   (myStudyId)
-    ShapesOp = geom.GetIShapesOperations   (myStudyId)
-    HealOp   = geom.GetIHealingOperations  (myStudyId)
-    InsertOp = geom.GetIInsertOperations   (myStudyId)
-    BoolOp   = geom.GetIBooleanOperations  (myStudyId)
-    TrsfOp   = geom.GetITransformOperations(myStudyId)
-    LocalOp  = geom.GetILocalOperations    (myStudyId)
-    MeasuOp  = geom.GetIMeasureOperations  (myStudyId)
-    BlocksOp = geom.GetIBlocksOperations   (myStudyId)
-    GroupOp  = geom.GetIGroupOperations   (myStudyId) 
-    pass
-
-init_geom(myStudy)
-
-#     *  Get name for sub-shape aSubObj of shape aMainObj
-#
-def SubShapeName(aSubObj, aMainObj):
-    name = "SubShape"
-    print name
-    return name
-
-#     *  Publish in study aShape with name aName
-#
-def addToStudy(aShape, aName):
-    try:
-        aSObject = geom.AddInStudy(myStudy, aShape, aName, None)
-    except:
-        print "addToStudy() failed"
-        return ""
-    return aShape.GetStudyEntry()
-
-#     *  Publish in study aShape with name aName as sub-object of previously published aFather
-#
-def addToStudyInFather(aFather, aShape, aName):
-    try:
-        aSObject = geom.AddInStudy(myStudy, aShape, aName, aFather)
-    except:
-        print "addToStudyInFather() failed"
-        return ""
-    return aShape.GetStudyEntry()
-
-# -----------------------------------------------------------------------------
-# enumeration ShapeType as a dictionary
-# -----------------------------------------------------------------------------
-
-ShapeType = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}
-
-# -----------------------------------------------------------------------------
-# Basic primitives
-# -----------------------------------------------------------------------------
-
-def MakeVertex(theX, theY, theZ):
-    anObj = BasicOp.MakePointXYZ(theX, theY, theZ)
-    if BasicOp.IsDone() == 0:
-      print "MakePointXYZ : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVertexWithRef(vertex,x,y,z):
-    anObj = BasicOp.MakePointWithReference(vertex,x,y,z)
-    if BasicOp.IsDone() == 0:
-      print "MakePointWithReference : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVertexOnCurve(curve,par):
-    anObj = BasicOp.MakePointOnCurve(curve,par)
-    if BasicOp.IsDone() == 0:
-      print "MakePointOnCurve : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVectorDXDYDZ(dx,dy,dz):
-    anObj = BasicOp.MakeVectorDXDYDZ(dx,dy,dz)
-    if BasicOp.IsDone() == 0:
-      print "MakeVectorDXDYDZ : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVector(p1,p2):
-    anObj = BasicOp.MakeVectorTwoPnt(p1, p2)
-    if BasicOp.IsDone() == 0:
-      print "MakeVectorTwoPnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeLine(p1, d1):
-    anObj = BasicOp.MakeLine(p1,d1)
-    if BasicOp.IsDone() == 0:
-      print "MakeLine : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeLineTwoPnt(p1, p2):
-    anObj = BasicOp.MakeLineTwoPnt(p1,p2)
-    if BasicOp.IsDone() == 0:
-      print "MakeLineTwoPnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlane(p1,v1,trimsize):
-    anObj = BasicOp.MakePlanePntVec(p1,v1,trimsize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlanePntVec : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlaneThreePnt(p1,p2,p3,trimsize):
-    anObj = BasicOp.MakePlaneThreePnt(p1,p2,p3,trimsize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlaneThreePnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlaneFace(face,trimsize):
-    anObj = BasicOp.MakePlaneFace(face,trimsize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlaneFace : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeMarker(OX,OY,OZ, XDX,XDY,XDZ, YDX,YDY,YDZ):
-    anObj = BasicOp.MakeMarker(OX,OY,OZ, XDX,XDY,XDZ, YDX,YDY,YDZ)
-    if BasicOp.IsDone() == 0:
-      print "MakeMarker : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeMarkerPntTwoVec(theOrigin, theXVec, theYVec):
-    """
-     *  Create a local coordinate system.
-     *  \param theOrigin Point of coordinate system origin.
-     *  \param theXVec Vector of X direction
-     *  \param theYVec Vector of Y direction
-     *  \return New GEOM_Object, containing the created coordinate system.
-    """
-    O = PointCoordinates( theOrigin )
-    OXOY = []
-    for vec in [ theXVec, theYVec ]:
-        v1, v2 = SubShapeAll( vec, ShapeType["VERTEX"] )
-        p1 = PointCoordinates( v1 )
-        p2 = PointCoordinates( v2 )
-        for i in range( 0, 3 ):
-             OXOY.append( p2[i] - p1[i] )
-    #
-    anObj = BasicOp.MakeMarker( O[0], O[1], O[2],
-                                OXOY[0], OXOY[1], OXOY[2],
-                                OXOY[3], OXOY[4], OXOY[5], )
-    if BasicOp.IsDone() == 0:
-      print "MakeMarker : ", BasicOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Curves
-# -----------------------------------------------------------------------------
-
-def MakeArc(p1,p2,p3):
-    anObj = CurvesOp.MakeArc(p1,p2,p3)
-    if CurvesOp.IsDone() == 0:
-      print "MakeArc : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeCircle(p1,v1,radius):
-    anObj = CurvesOp.MakeCirclePntVecR(p1,v1,radius)
-    if CurvesOp.IsDone() == 0:
-      print "MakeCirclePntVecR : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeCircleThreePnt(p1,p2,p3):
-    anObj = CurvesOp.MakeCircleThreePnt(p1,p2,p3)
-    if CurvesOp.IsDone() == 0:
-      print "MakeCircleThreePnt : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeEllipse(p1,v1,radiusMaj,radiusMin):
-    anObj = CurvesOp.MakeEllipse(p1,v1,radiusMaj, radiusMin)
-    if CurvesOp.IsDone() == 0:
-      print "MakeEllipse : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakePolyline(ListShape):
-    anObj = CurvesOp.MakePolyline(ListShape)
-    if CurvesOp.IsDone() == 0:
-      print "MakePolyline : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeBezier(ListShape):
-    anObj = CurvesOp.MakeSplineBezier(ListShape)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSplineBezier : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeInterpol(ListShape):
-    anObj = CurvesOp.MakeSplineInterpolation(ListShape)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSplineInterpolation : ", CurvesOp.GetErrorCode()
-    return anObj
-
-# <WPL>: Nine double values, defining origin,
-# OZ and OX directions of the working plane.
-def MakeSketcher(Cmd, WPL = [0,0,0, 0,0,1, 1,0,0]):
-    anObj = CurvesOp.MakeSketcher(Cmd, WPL)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSketcher : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeSketcherOnPlane(theCommand, theWorkingPlane):
-    """
-     *  Create a sketcher (wire or face), following the textual description,
-     *  passed through \a theCommand argument. \n
-     *  For format of the description string see the previous method.\n
-     *  \param theCommand String, defining the sketcher in local
-     *                    coordinates of the working plane.
-     *  \param theWorkingPlane Planar Face of the working plane.
-     *  \return New GEOM_Object, containing the created wire.
-    """
-    anObj = CurvesOp.MakeSketcherOnPlane(theCommand, theWorkingPlane)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSketcher : ", CurvesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create 3D Primitives
-# -----------------------------------------------------------------------------
-
-def MakeBox(x1,y1,z1,x2,y2,z2):
-    pnt1 = MakeVertex(x1,y1,z1)
-    pnt2 = MakeVertex(x2,y2,z2)
-    return MakeBoxTwoPnt(pnt1,pnt2)
-
-def MakeBoxDXDYDZ(dx,dy,dz):
-    anObj = PrimOp.MakeBoxDXDYDZ(dx,dy,dz)
-    if PrimOp.IsDone() == 0:
-      print "MakeBoxDXDYDZ : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeBoxTwoPnt(point1, point2):
-    anObj = PrimOp.MakeBoxTwoPnt(point1, point2)
-    if PrimOp.IsDone() == 0:
-      print "MakeBoxTwoPnt : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCylinder(p1,v1,radius,height):
-    anObj = PrimOp.MakeCylinderPntVecRH(p1,v1,radius,height)
-    if PrimOp.IsDone() == 0:
-      print "MakeCylinderPntVecRH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCylinderRH(radius,height):
-    anObj = PrimOp.MakeCylinderRH(radius,height)
-    if PrimOp.IsDone() == 0:
-      print "MakeCylinderRH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeSpherePntR(point,radius):
-    anObj = PrimOp.MakeSpherePntR(point,radius)
-    if PrimOp.IsDone() == 0:
-      print "MakeSpherePntR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeSphere(x,y,z,radius):
-    point = MakeVertex(x,y,z)
-    anObj = MakeSpherePntR(point,radius)
-    return anObj
-
-def MakeSphereR(radius):
-    anObj = PrimOp.MakeSphereR(radius)
-    if PrimOp.IsDone() == 0:
-      print "MakeSphereR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCone(p1,v1,radius1,radius2,height):
-    anObj = PrimOp.MakeConePntVecR1R2H(p1,v1,radius1,radius2,height)
-    if PrimOp.IsDone() == 0:
-      print "MakeConePntVecR1R2H : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeConeR1R2H(radius1,radius2,height):
-    anObj = PrimOp.MakeConeR1R2H(radius1,radius2,height)
-    if PrimOp.IsDone() == 0:
-      print "MakeConeR1R2H : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeTorus(p1,v1,major_radius,minor_radius):
-    anObj = PrimOp.MakeTorusPntVecRR(p1,v1,major_radius,minor_radius)
-    if PrimOp.IsDone() == 0:
-      print "MakeTorusPntVecRR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeTorusRR(major_radius,minor_radius):
-    anObj = PrimOp.MakeTorusRR(major_radius,minor_radius)
-    if PrimOp.IsDone() == 0:
-      print "MakeTorusRR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePrism(baseShape,point1,point2):
-    anObj = PrimOp.MakePrismTwoPnt(baseShape,point1,point2)
-    if PrimOp.IsDone() == 0:
-      print "MakePrismTwoPnt : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePrismVecH(baseShape,vector,height):
-    anObj = PrimOp.MakePrismVecH(baseShape,vector,height)
-    if PrimOp.IsDone() == 0:
-      print "MakePrismVecH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePipe(baseShape,pathShape):
-    anObj = PrimOp.MakePipe(baseShape,pathShape)
-    if PrimOp.IsDone() == 0:
-      print "MakePipe : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeRevolution(aShape,axis,angle):
-    anObj = PrimOp.MakeRevolutionAxisAngle(aShape,axis,angle)
-    if PrimOp.IsDone() == 0:
-      print "MakeRevolutionAxisAngle : ", PrimOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create base shapes
-# -----------------------------------------------------------------------------
-
-def MakeEdge(p1,p2):
-    anObj = ShapesOp.MakeEdge(p1,p2)
-    if ShapesOp.IsDone() == 0:
-      print "MakeEdge : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeWire(ListShape):
-    anObj = ShapesOp.MakeWire(ListShape)
-    if ShapesOp.IsDone() == 0:
-      print "MakeWire : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFace(aShapeWire,WantPlanarFace):
-    anObj = ShapesOp.MakeFace(aShapeWire,WantPlanarFace)
-    if ShapesOp.IsDone() == 0:
-      print "MakeFace : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFaceWires(ListWires,WantPlanarFace):
-    anObj = ShapesOp.MakeFaceWires(ListWires,WantPlanarFace)
-    if ShapesOp.IsDone() == 0:
-      print "MakeFaceWires : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFaces(ListWires,WantPlanarFace):
-    anObj = MakeFaceWires(ListWires,WantPlanarFace)
-    return anObj
-
-def MakeShell(ListOfShapes):
-    anObj = ShapesOp.MakeShell(ListOfShapes)
-    if ShapesOp.IsDone() == 0:
-       print "MakeShell : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeSolid(ListOfShells):
-    anObj = ShapesOp.MakeSolidShells(ListOfShells)
-    if ShapesOp.IsDone() == 0:
-       print "MakeSolid : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeCompound(ListShape):
-    anObj = ShapesOp.MakeCompound(ListShape)
-    if ShapesOp.IsDone() == 0:
-      print "MakeCompound : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def NumberOfFaces(theShape):
-    nb_faces = ShapesOp.NumberOfFaces(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "NumberOfFaces : ", ShapesOp.GetErrorCode()
-    return nb_faces
-
-def NumberOfEdges(theShape):
-    nb_edges = ShapesOp.NumberOfEdges(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "NumberOfEdges : ", ShapesOp.GetErrorCode()
-    return nb_edges
-
-def ChangeOrientation(Shape):
-    anObj = ShapesOp.ChangeOrientation(Shape)
-    if ShapesOp.IsDone() == 0:
-      print "ChangeOrientation : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def OrientationChange(Shape):
-    anObj = ChangeOrientation(Shape)
-    return anObj
-
-def GetFreeFacesIDs(theShape):
-    anIDs = ShapesOp.GetFreeFacesIDs(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "GetFreeFacesIDs : ", ShapesOp.GetErrorCode()
-    return anIDs
-
-def GetSharedShapes(theShape1, theShape2, theShapeType):
-    aList = ShapesOp.GetSharedShapes(theShape1, theShape2, theShapeType)
-    if ShapesOp.IsDone() == 0:
-      print "GetSharedShapes : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnPlane(theShape, theShapeType, theAx1, theState):
-    aList = ShapesOp.GetShapesOnPlane(theShape, theShapeType, theAx1, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnPlane : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnCylinder(theShape, theShapeType, theAxis, theRadius, theState):
-    aList = ShapesOp.GetShapesOnCylinder(theShape, theShapeType, theAxis, theRadius, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnCylinder : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnSphere(theShape, theShapeType, theCenter, theRadius, theState):
-    aList = ShapesOp.GetShapesOnSphere(theShape, theShapeType, theCenter, theRadius, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnSphere : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetInPlace(theShapeWhere, theShapeWhat):
-    anObj = ShapesOp.GetInPlace(theShapeWhere, theShapeWhat)
-    if ShapesOp.IsDone() == 0:
-      print "GetInPlace : ", ShapesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Access to sub-shapes by their unique IDs inside the main shape.
-# -----------------------------------------------------------------------------
-
-# Obtain a composite sub-shape of <aShape>, composed from sub-shapes
-# of <aShape>, selected by their unique IDs inside <aShape>
-def GetSubShape(aShape, ListOfID):
-    anObj = geom.AddSubShape(aShape,ListOfID)
-    return anObj
-
-# Obtain unique ID of sub-shape <aSubShape> inside <aShape>
-def GetSubShapeID(aShape, aSubShape):
-    anID = LocalOp.GetSubShapeIndex(aShape, aSubShape)
-    if LocalOp.IsDone() == 0:
-      print "GetSubShapeIndex : ", LocalOp.GetErrorCode()
-    return anID
-
-# -----------------------------------------------------------------------------
-# Decompose objects
-# -----------------------------------------------------------------------------
-
-def SubShapeAll(aShape, aType):
-    ListObj = ShapesOp.MakeExplode(aShape,aType,0)
-    if ShapesOp.IsDone() == 0:
-      print "MakeExplode : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllIDs(aShape, aType):
-    ListObj = ShapesOp.SubShapeAllIDs(aShape,aType,0)
-    if ShapesOp.IsDone() == 0:
-      print "SubShapeAllIDs : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllSorted(aShape, aType):
-    ListObj = ShapesOp.MakeExplode(aShape,aType,1)
-    if ShapesOp.IsDone() == 0:
-      print "MakeExplode : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllSortedIDs(aShape, aType):
-    ListIDs = ShapesOp.SubShapeAllIDs(aShape,aType,1)
-    if ShapesOp.IsDone() == 0:
-      print "SubShapeAllSortedIDs : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-# Obtain a compound of sub-shapes of <aShape>,
-# selected by they indices in list of all sub-shapes of type <aType>
-def SubShape(aShape, aType, ListOfInd):
-    ListOfIDs = []
-    AllShapeList = SubShapeAll(aShape, aType)
-    for ind in ListOfInd:
-        ListOfIDs.append(GetSubShapeID(aShape, AllShapeList[ind - 1]))
-    anObj = GetSubShape(aShape, ListOfIDs)
-    return anObj
-
-# Obtain a compound of sub-shapes of <aShape>,
-# selected by they indices in sorted list of all sub-shapes of type <aType>
-def SubShapeSorted(aShape, aType, ListOfInd):
-    ListOfIDs = []
-    AllShapeList = SubShapeAllSorted(aShape, aType)
-    for ind in ListOfInd:
-        ListOfIDs.append(GetSubShapeID(aShape, AllShapeList[ind - 1]))
-    anObj = GetSubShape(aShape, ListOfIDs)
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Healing operations
-# -----------------------------------------------------------------------------
-
-def ProcessShape(Shape, Operators, Parameters, Values):
-    anObj = HealOp.ProcessShape(Shape, Operators, Parameters, Values)
-    if HealOp.IsDone() == 0:
-       print "ProcessShape : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressFaces(aShape,ListOfId):
-    anObj = HealOp.SuppressFaces(aShape,ListOfId)
-    if HealOp.IsDone() == 0:
-      print "SuppressFaces : ", HealOp.GetErrorCode()
-    return anObj
-
-def MakeSewing(ListShape,precision):
-    comp = MakeCompound(ListShape)
-    anObj = Sew(comp,precision)
-    return anObj
-
-def Sew(aShape,precision):
-    anObj = HealOp.Sew(aShape,precision)
-    if HealOp.IsDone() == 0:
-      print "Sew : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressInternalWires(aShape, Wires):
-    anObj = HealOp.RemoveIntWires(aShape, Wires)
-    if HealOp.IsDone() == 0:
-      print "SuppressInternalWires : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressHoles(aShape, ListOfId):
-    anObj = HealOp.FillHoles(aShape,ListOfId)
-    if HealOp.IsDone() == 0:
-      print "SuppressHoles : ", HealOp.GetErrorCode()
-    return anObj
-
-def CloseContour(aShape, Wires, IsCommonVertex):
-    anObj = HealOp.CloseContour(aShape, Wires, IsCommonVertex)
-    if HealOp.IsDone() == 0:
-      print "CloseContour : ", HealOp.GetErrorCode()
-    return anObj
-
-def DivideEdge(aShape, EdgeID, Value, IsByParameter):
-    anObj = HealOp.DivideEdge(aShape, EdgeID, Value, IsByParameter)
-    if HealOp.IsDone() == 0:
-      print "DivideEdge : ", HealOp.GetErrorCode()
-    return anObj
-
-def GetFreeBoundary(Shape):
-    anObj = HealOp.GetFreeBoundary(Shape)
-    if HealOp.IsDone() == 0:
-      print "GetFreeBoundaries : ", HealOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create advanced objects
-# -----------------------------------------------------------------------------
-
-def MakeCopy(aShape):
-    anObj = InsertOp.MakeCopy(aShape)
-    if InsertOp.IsDone() == 0:
-      print "MakeCopy : ", InsertOp.GetErrorCode()
-    return anObj
-
-def MakeFilling(aShape,mindeg,maxdeg,tol2d,tol3d,nbiter):
-    anObj = PrimOp.MakeFilling(aShape,mindeg,maxdeg,tol2d,tol3d,nbiter)
-    if PrimOp.IsDone() == 0:
-      print "MakeFilling : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeGlueFaces(aShape,aTolerance):
-    anObj = ShapesOp.MakeGlueFaces(aShape,aTolerance)
-    if ShapesOp.IsDone() == 0:
-      print "MakeGlueFaces : ", ShapesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Boolean (Common, Cut, Fuse, Section)
-# -----------------------------------------------------------------------------
-
-def MakeBoolean(shape1,shape2,operation):
-    anObj = BoolOp.MakeBoolean(shape1,shape2,operation)
-    if BoolOp.IsDone() == 0:
-      print "MakeBoolean : ", BoolOp.GetErrorCode()
-    return anObj
-
-def MakeCommon(s1, s2):
-    return MakeBoolean(s1, s2, 1)
-
-def MakeCut(s1, s2):
-    return MakeBoolean(s1, s2, 2)
-
-def MakeFuse(s1, s2):
-    return MakeBoolean(s1, s2, 3)
-
-def MakeSection(s1, s2):
-    return MakeBoolean(s1, s2, 4)
-
-def MakePartition(ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[],
-                  Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[]):
-    anObj = BoolOp.MakePartition(ListShapes, ListTools,
-                                 ListKeepInside, ListRemoveInside,
-                                 Limit, RemoveWebs, ListMaterials);
-    if BoolOp.IsDone() == 0:
-      print "MakePartition : ", BoolOp.GetErrorCode()
-    return anObj
-
-def Partition(ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[],
-              Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[]):
-    anObj = MakePartition(ListShapes, ListTools,
-                          ListKeepInside, ListRemoveInside,
-                          Limit, RemoveWebs, ListMaterials);
-    return anObj
-
-def MakeHalfPartition(theShape, thePlane):
-    anObj = BoolOp.MakeHalfPartition(theShape, thePlane)
-    if BoolOp.IsDone() == 0:
-      print "MakeHalfPartition : ", BoolOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Transform objects
-# -----------------------------------------------------------------------------
-
-def MakeTranslationTwoPoints(aShape,point1,point2):
-    anObj = TrsfOp.TranslateTwoPointsCopy(aShape,point1,point2)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateTwoPointsCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeTranslation(aShape,dx,dy,dz):
-    anObj = TrsfOp.TranslateDXDYDZCopy(aShape,dx,dy,dz)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateDXDYDZCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeTranslationVector(theObject, theVector):
-    anObj = TrsfOp.TranslateVectorCopy(theObject, theVector)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateVectorCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeRotation(aShape,axis,angle):
-    anObj = TrsfOp.RotateCopy(aShape,axis,angle)
-    if TrsfOp.IsDone() == 0:
-      print "RotateCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeScaleTransform(aShape,theCenterofScale,factor):
-    anObj = TrsfOp.ScaleShapeCopy(aShape,theCenterofScale,factor)
-    if TrsfOp.IsDone() == 0:
-      print "ScaleShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByPlane(aShape,aPlane):
-    anObj = TrsfOp.MirrorPlaneCopy(aShape,aPlane)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorPlaneCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByAxis(theObject, theAxis):
-    anObj = TrsfOp.MirrorAxisCopy(theObject, theAxis)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorAxisCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByPoint(theObject, thePoint):
-    anObj = TrsfOp.MirrorPointCopy(theObject, thePoint)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorPointCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakePosition(aShape,theStartLCS,theEndLCS):
-    anObj = TrsfOp.PositionShapeCopy(aShape,theStartLCS,theEndLCS)
-    if TrsfOp.IsDone() == 0:
-      print "PositionShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeOffset(aShape, anOffset):
-    anObj = TrsfOp.OffsetShapeCopy(aShape, anOffset)
-    if TrsfOp.IsDone() == 0:
-      print "OffsetShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Patterns
-# -----------------------------------------------------------------------------
-
-def MakeMultiTranslation1D(aShape,aDir,aStep,aNbTimes):
-    anObj = TrsfOp.MultiTranslate1D(aShape,aDir,aStep,aNbTimes)
-    if TrsfOp.IsDone() == 0:
-      print "MultiTranslate1D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMultiTranslation2D(aShape,d1,step1,nbtimes1,d2,step2,nbtimes2):
-    anObj = TrsfOp.MultiTranslate2D(aShape,d1,step1,nbtimes1,d2,step2,nbtimes2)
-    if TrsfOp.IsDone() == 0:
-      print "MultiTranslate2D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MultiRotate1D(aShape,aVec,aNbTimes):
-    anObj = TrsfOp.MultiRotate1D(aShape,aVec,aNbTimes)
-    if TrsfOp.IsDone() == 0:
-      print "MultiRotate1D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MultiRotate2D(aShape,aVec,anAngle,nbtimes1,aStep,nbtimes2):
-    anObj = TrsfOp.MultiRotate2D(aShape,aVec,anAngle,nbtimes1,aStep,nbtimes2)
-    if TrsfOp.IsDone() == 0:
-      print "MultiRotate2D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMultiRotation1D(aShape,aDir,aPoint,aNbTimes):
-    aVec = MakeLine(aPoint,aDir)
-    anObj = MultiRotate1D(aShape,aVec,aNbTimes)
-    return anObj
-
-def MakeMultiRotation2D(aShape,aDir,aPoint,anAngle,nbtimes1,aStep,nbtimes2):
-    aVec = MakeLine(aPoint,aDir)
-    anObj = MultiRotate2D(aShape,aVec,anAngle,nbtimes1,aStep,nbtimes2)
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Local operations
-# -----------------------------------------------------------------------------
-
-def MakeFilletAll(aShape,radius):
-    anObj = LocalOp.MakeFilletAll(aShape,radius)
-    if LocalOp.IsDone() == 0:
-      print "MakeFilletAll : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeFillet(aShape,radius,aShapeType,ListShape):
-    anObj = None
-    if aShapeType == ShapeType["EDGE"]:
-        anObj = LocalOp.MakeFilletEdges(aShape,radius,ListShape)
-    else:
-        anObj = LocalOp.MakeFilletFaces(aShape,radius,ListShape)
-    if LocalOp.IsDone() == 0:
-      print "MakeFillet : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferAll(aShape,d):
-    anObj = LocalOp.MakeChamferAll(aShape,d)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferAll : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferEdge(aShape,d1,d2,face1,face2):
-    anObj = LocalOp.MakeChamferEdge(aShape,d1,d2,face1,face2)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferEdge : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferFaces(aShape,d1,d2,ListShape):
-    anObj = LocalOp.MakeChamferFaces(aShape,d1,d2,ListShape)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferFaces : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamfer(aShape,d1,d2,aShapeType,ListShape):
-    anObj = None
-    if aShapeType == ShapeType["EDGE"]:
-        anObj = MakeChamferEdge(aShape,d1,d2,ListShape[0],ListShape[1])
-    else:
-        anObj = MakeChamferFaces(aShape,d1,d2,ListShape)
-    return anObj
-
-def Archimede(aShape,weight,WaterDensity,MeshingDeflection):
-    anObj = LocalOp.MakeArchimede(aShape,weight,WaterDensity,MeshingDeflection)
-    if LocalOp.IsDone() == 0:
-      print "MakeArchimede : ", LocalOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Information objects
-# -----------------------------------------------------------------------------
-
-def PointCoordinates(Point):
-    aTuple = MeasuOp.PointCoordinates(Point)
-    if MeasuOp.IsDone() == 0:
-      print "PointCoordinates : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def BasicProperties(Shape):
-    aTuple = MeasuOp.GetBasicProperties(Shape)
-    if MeasuOp.IsDone() == 0:
-      print "BasicProperties : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def BoundingBox(Shape):
-    aTuple = MeasuOp.GetBoundingBox(Shape)
-    if MeasuOp.IsDone() == 0:
-      print "BoundingBox : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def Inertia(Shape):
-    aTuple = MeasuOp.GetInertia(Shape)
-    if MeasuOp.IsDone() == 0:
-      print "Inertia : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def MinDistance(Shape1, Shape2):
-    aTuple = MeasuOp.GetMinDistance(Shape1, Shape2)
-    if MeasuOp.IsDone() == 0:
-      print "MinDistance : ", MeasuOp.GetErrorCode()
-    return aTuple[0]
-
-def Tolerance(Shape):
-    aTuple = MeasuOp.GetTolerance(Shape)
-    if MeasuOp.IsDone() == 0:
-      print "Tolerance : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def WhatIs(Shape):
-    aDescr = MeasuOp.WhatIs(Shape)
-    if MeasuOp.IsDone() == 0:
-      print "WhatIs : ", MeasuOp.GetErrorCode()
-    return aDescr
-
-def MakeCDG(aShape):
-    anObj = MeasuOp.GetCentreOfMass(aShape)
-    if MeasuOp.IsDone() == 0:
-      print "GetCentreOfMass : ", MeasuOp.GetErrorCode()
-    return anObj
-
-def CheckShape(aShape):
-    (IsValid, Status) = MeasuOp.CheckShape(aShape)
-    if MeasuOp.IsDone() == 0:
-      print "CheckShape : ", MeasuOp.GetErrorCode()
-    else:
-      if IsValid == 0:
-        print Status
-    return IsValid
-
-# -----------------------------------------------------------------------------
-# Import/Export objects
-# -----------------------------------------------------------------------------
-
-def Import(filename, formatname):
-    anObj = InsertOp.Import(filename, formatname)
-    if InsertOp.IsDone() == 0:
-      print "Import : ", InsertOp.GetErrorCode()
-    return anObj
-
-def ImportBREP(theFileName):
-    return Import(theFileName, "BREP")
-
-def ImportIGES(theFileName):
-    return Import(theFileName, "IGES")
-
-def ImportSTEP(theFileName):
-    return Import(theFileName, "STEP")
-
-def Export(aShape, filename, formatname):
-    InsertOp.Export(aShape, filename, formatname)
-    if InsertOp.IsDone() == 0:
-      print "Export : ", InsertOp.GetErrorCode()
-
-def ExportBREP(theObject, theFileName):
-    return Export(theObject, theFileName, "BREP")
-
-def ExportIGES(theObject, theFileName):
-    return Export(theObject, theFileName, "IGES")
-
-def ExportSTEP(theObject, theFileName):
-    return Export(theObject, theFileName, "STEP")
-
-# -----------------------------------------------------------------------------
-# Block operations
-# -----------------------------------------------------------------------------
-
-def MakeQuad(E1, E2, E3, E4):
-    anObj = BlocksOp.MakeQuad(E1, E2, E3, E4)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeQuad2Edges(E1, E2):
-    anObj = BlocksOp.MakeQuad2Edges(E1, E2)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad2Edges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeQuad4Vertices(V1, V2, V3, V4):
-    anObj = BlocksOp.MakeQuad4Vertices(V1, V2, V3, V4)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad4Vertices : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeHexa(F1, F2, F3, F4, F5, F6):
-    anObj = BlocksOp.MakeHexa(F1, F2, F3, F4, F5, F6)
-    if BlocksOp.IsDone() == 0:
-      print "MakeHexa : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeHexa2Faces(F1, F2):
-    anObj = BlocksOp.MakeHexa2Faces(F1, F2)
-    if BlocksOp.IsDone() == 0:
-      print "MakeHexa2Faces : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetPoint(theShape, theX, theY, theZ, theEpsilon):
-    anObj = BlocksOp.GetPoint(theShape, theX, theY, theZ, theEpsilon)
-    if BlocksOp.IsDone() == 0:
-      print "GetPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetEdge(theShape, thePoint1, thePoint2):
-    anObj = BlocksOp.GetEdge(theShape, thePoint1, thePoint2)
-    if BlocksOp.IsDone() == 0:
-      print "GetEdge : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetEdgeNearPoint(theShape, thePoint):
-    anObj = BlocksOp.GetEdgeNearPoint(theShape, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetEdgeNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByPoints(theShape, thePoint1, thePoint2, thePoint3, thePoint4):
-    anObj = BlocksOp.GetFaceByPoints(theShape, thePoint1, thePoint2, thePoint3, thePoint4)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByPoints : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByEdges(theShape, theEdge1, theEdge2):
-    anObj = BlocksOp.GetFaceByEdges(theShape, theEdge1, theEdge2)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByEdges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetOppositeFace(theBlock, theFace):
-    anObj = BlocksOp.GetOppositeFace(theBlock, theFace)
-    if BlocksOp.IsDone() == 0:
-      print "GetOppositeFace : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceNearPoint(theShape, thePoint):
-    anObj = BlocksOp.GetFaceNearPoint(theShape, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByNormale(theBlock, theVector):
-    anObj = BlocksOp.GetFaceByNormale(theBlock, theVector)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByNormale : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def CheckCompoundOfBlocks(theCompound):
-    (IsValid, BCErrors) = BlocksOp.CheckCompoundOfBlocks(theCompound)
-    if BlocksOp.IsDone() == 0:
-      print "CheckCompoundOfBlocks : ", BlocksOp.GetErrorCode()
-    else:
-      if IsValid == 0:
-        Descr = BlocksOp.PrintBCErrors(theCompound, BCErrors)
-        print Descr
-    return IsValid
-
-def RemoveExtraEdges(theShape):
-    anObj = BlocksOp.RemoveExtraEdges(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "RemoveExtraEdges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def CheckAndImprove(theShape):
-    anObj = BlocksOp.CheckAndImprove(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "CheckAndImprove : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeBlockExplode(theCompound, theMinNbFaces, theMaxNbFaces):
-    aList = BlocksOp.ExplodeCompoundOfBlocks(theCompound, theMinNbFaces, theMaxNbFaces)
-    if BlocksOp.IsDone() == 0:
-      print "MakeBlockExplode : ", BlocksOp.GetErrorCode()
-    return aList
-
-def GetBlockNearPoint(theCompound, thePoint):
-    anObj = BlocksOp.GetBlockNearPoint(theCompound, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlockNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetBlockByParts(theCompound, theParts):
-    anObj = BlocksOp.GetBlockByParts(theCompound, theParts)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlockByParts : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetBlocksByParts(theCompound, theParts):
-    aList = BlocksOp.GetBlocksByParts(theCompound, theParts)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlocksByParts : ", BlocksOp.GetErrorCode()
-    return aList
-
-def MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes):
-    anObj = BlocksOp.MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes)
-    if BlocksOp.IsDone() == 0:
-      print "MakeMultiTransformation1D : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU,
-                                    DirFaceID1V, DirFaceID2V, NbTimesV):
-    anObj = BlocksOp.MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU,
-                                                     DirFaceID1V, DirFaceID2V, NbTimesV)
-    if BlocksOp.IsDone() == 0:
-      print "MakeMultiTransformation2D : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def Propagate(theShape):
-    listChains = BlocksOp.Propagate(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "Propagate : ", BlocksOp.GetErrorCode()
-    return listChains
-
-# -----------------------------------------------------------------------------
-# Group operations
-# -----------------------------------------------------------------------------
-
-def CreateGroup(MainShape, ShapeType):
-    anObj = GroupOp.CreateGroup(MainShape, ShapeType)
-    if GroupOp.IsDone() == 0:
-       print "CreateGroup : ", GroupOp.GetErrorCode()
-    return anObj
-
-def AddObject(Group, SubShapeID):
-    GroupOp.AddObject(Group, SubShapeID)
-    if GroupOp.IsDone() == 0:
-      print "AddObject : ", GroupOp.GetErrorCode()
-
-def RemoveObject(Group, SubShapeID):
-    GroupOp.RemoveObject(Group, SubShapeID)
-    if GroupOp.IsDone() == 0:
-      print "RemoveObject : ", GroupOp.GetErrorCode()
-
-def UnionList (theGroup, theSubShapes):
-    GroupOp.UnionList(theGroup, theSubShapes)
-    if GroupOp.IsDone() == 0:
-      print "UnionList : ", GroupOp.GetErrorCode()
-
-def DifferenceList (theGroup, theSubShapes):
-    GroupOp.DifferenceList(theGroup, theSubShapes)
-    if GroupOp.IsDone() == 0:
-      print "DifferenceList : ", GroupOp.GetErrorCode()
-
-def GetObjectIDs(Group):
-    ListIDs = GroupOp.GetObjects(Group)
-    if GroupOp.IsDone() == 0:
-      print "GetObjectIDs : ", GroupOp.GetErrorCode()
-    return ListIDs
-
-def GetType(theGroup):
-    aType = GroupOp.GetType(theGroup)
-    if GroupOp.IsDone() == 0:
-      print "GetType : ", GroupOp.GetErrorCode()
-    return aType
-
-def GetMainShape(theGroup):
-    anObj = GroupOp.GetMainShape(theGroup)
-    if GroupOp.IsDone() == 0:
-      print "GetMainShape : ", GroupOp.GetErrorCode()
-    return anObj
-
-def GetEdgesByLength (theShape, min_length, max_length, include_min = 1, include_max = 1):
-    """
-    Create group of edges of theShape, whose length is in range [min_length, max_length].
-    If include_min/max == 0, edges with length == min/max_length will not be included in result.
-    """
-
-    edges = SubShapeAll(theShape, ShapeType["EDGE"])
-    edges_in_range = []
-    for edge in edges:
-        Props = BasicProperties(edge)
-       if min_length <= Props[0] and Props[0] <= max_length:
-           if (not include_min) and (min_length == Props[0]):
-               skip = 1
-            else:
-               if (not include_max) and (Props[0] == max_length):
-                   skip = 1
-                else:
-                   edges_in_range.append(edge)
-
-    if len(edges_in_range) <= 0:
-        print "No edges found by given criteria"
-       return 0
-
-    group_edges = CreateGroup(theShape, ShapeType["EDGE"])
-    UnionList(group_edges, edges_in_range)
-
-    return group_edges
-
-# Add Path to the system path
-#
-def addPath(Path):
-    if (sys.path.count(Path) < 1):
-       sys.path.append(Path)
diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py
deleted file mode 100644 (file)
index 6c3d377..0000000
+++ /dev/null
@@ -1,2530 +0,0 @@
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-#
-#  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.
-#
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-#
-#
-#
-#  File   : geompy.py
-#  Author : Paul RASCLE, EDF
-#  Module : GEOM
-#  $Header$
-
-from salome import *
-import GEOM
-
-"""
-    \namespace geompy
-    \brief Module geompy
-"""
-
-g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
-geom = g._narrow( GEOM.GEOM_Gen )
-gg = ImportComponentGUI("GEOM") 
-gg.initGeomGen()
-
-#SRN: modified on Mar 18, 2005
-
-myBuilder = None
-myStudyId = 0
-father    = None
-
-BasicOp  = None
-CurvesOp = None
-PrimOp   = None
-ShapesOp = None
-HealOp   = None
-InsertOp = None 
-BoolOp   = None 
-TrsfOp   = None
-LocalOp  = None
-MeasuOp  = None
-BlocksOp = None
-GroupOp  = None 
-                                              
-def init_geom(theStudy):
-
-    global myStudy, myBuilder, myStudyId, BasicOp, CurvesOp, PrimOp, ShapesOp, HealOp
-    global InsertOp, BoolOp, TrsfOp, LocalOp, MeasuOp, BlocksOp, GroupOp, father
-    
-    myStudy = theStudy
-    myStudyId = myStudy._get_StudyId()
-    myBuilder = myStudy.NewBuilder()
-    father = myStudy.FindComponent("GEOM")
-    if father is None:
-        father = myBuilder.NewComponent("GEOM")
-        A1 = myBuilder.FindOrCreateAttribute(father, "AttributeName")
-        FName = A1._narrow(SALOMEDS.AttributeName)
-        FName.SetValue("Geometry")
-       A2 = myBuilder.FindOrCreateAttribute(father, "AttributePixMap")
-       aPixmap = A2._narrow(SALOMEDS.AttributePixMap)
-       aPixmap.SetPixMap("ICON_OBJBROWSER_Geometry")
-       myBuilder.DefineComponentInstance(father,geom)
-        pass
-        
-    # -----------------------------------------------------------------------------
-    # Assign Operations Interfaces
-    # -----------------------------------------------------------------------------
-
-    BasicOp  = geom.GetIBasicOperations    (myStudyId)
-    CurvesOp = geom.GetICurvesOperations   (myStudyId)
-    PrimOp   = geom.GetI3DPrimOperations   (myStudyId)
-    ShapesOp = geom.GetIShapesOperations   (myStudyId)
-    HealOp   = geom.GetIHealingOperations  (myStudyId)
-    InsertOp = geom.GetIInsertOperations   (myStudyId)
-    BoolOp   = geom.GetIBooleanOperations  (myStudyId)
-    TrsfOp   = geom.GetITransformOperations(myStudyId)
-    LocalOp  = geom.GetILocalOperations    (myStudyId)
-    MeasuOp  = geom.GetIMeasureOperations  (myStudyId)
-    BlocksOp = geom.GetIBlocksOperations   (myStudyId)
-    GroupOp  = geom.GetIGroupOperations   (myStudyId) 
-    pass
-
-init_geom(myStudy)
-
-#SRN: end of modifications
-
-def SubShapeName(aSubObj, aMainObj):
-    """
-     *  Get name for sub-shape aSubObj of shape aMainObj
-
-     *  Example: see GEOM_TestAll.py
-    """
-    aSubId  = orb.object_to_string(aSubObj)
-    aMainId = orb.object_to_string(aMainObj)
-    index = gg.getIndexTopology(aSubId, aMainId)
-    name = gg.getShapeTypeString(aSubId) + "_%d"%(index)
-    return name
-
-def addToStudy(aShape, aName):
-    """
-     *  Publish in study aShape with name aName
-
-     *  Example: see GEOM_TestAll.py
-    """
-    try:
-        aSObject = geom.AddInStudy(myStudy, aShape, aName, None)
-    except:
-        print "addToStudy() failed"
-        return ""
-    return aShape.GetStudyEntry()
-
-def addToStudyInFather(aFather, aShape, aName):
-    """
-     *  Publish in study aShape with name aName as sub-object of previously published aFather
-
-     *  Example: see GEOM_TestAll.py
-    """
-    try:
-        aSObject = geom.AddInStudy(myStudy, aShape, aName, aFather)
-    except:
-        print "addToStudyInFather() failed"
-        return ""
-    return aShape.GetStudyEntry()
-
-# -----------------------------------------------------------------------------
-# enumeration ShapeType as a dictionary
-# -----------------------------------------------------------------------------
-
-ShapeType = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}
-
-# -----------------------------------------------------------------------------
-# Basic primitives
-# -----------------------------------------------------------------------------
-
-def MakeVertex(theX, theY, theZ):
-    """
-     *  Create point by three coordinates.
-     *  \param theX The X coordinate of the point.
-     *  \param theY The Y coordinate of the point.
-     *  \param theZ The Z coordinate of the point.
-     *  \return New GEOM_Object, containing the created point.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePointXYZ(theX, theY, theZ)
-    if BasicOp.IsDone() == 0:
-      print "MakePointXYZ : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVertexWithRef(theReference, theX, theY, theZ):
-    """
-     *  Create a point, distant from the referenced point
-     *  on the given distances along the coordinate axes.
-     *  \param theReference The referenced point.
-     *  \param theX Displacement from the referenced point along OX axis.
-     *  \param theY Displacement from the referenced point along OY axis.
-     *  \param theZ Displacement from the referenced point along OZ axis.
-     *  \return New GEOM_Object, containing the created point.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePointWithReference(theReference, theX, theY, theZ)
-    if BasicOp.IsDone() == 0:
-      print "MakePointWithReference : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVertexOnCurve(theRefCurve, theParameter):
-    """
-     *  Create a point, corresponding to the given parameter on the given curve.
-     *  \param theRefCurve The referenced curve.
-     *  \param theParameter Value of parameter on the referenced curve.
-     *  \return New GEOM_Object, containing the created point.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePointOnCurve(theRefCurve, theParameter)
-    if BasicOp.IsDone() == 0:
-      print "MakePointOnCurve : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVectorDXDYDZ(theDX, theDY, theDZ):
-    """
-     *  Create a vector with the given components.
-     *  \param theDX X component of the vector.
-     *  \param theDY Y component of the vector.
-     *  \param theDZ Z component of the vector.
-     *  \return New GEOM_Object, containing the created vector.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakeVectorDXDYDZ(theDX, theDY, theDZ)
-    if BasicOp.IsDone() == 0:
-      print "MakeVectorDXDYDZ : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeVector(thePnt1, thePnt2):
-    """
-     *  Create a vector between two points.
-     *  \param thePnt1 Start point for the vector.
-     *  \param thePnt2 End point for the vector.
-     *  \return New GEOM_Object, containing the created vector.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakeVectorTwoPnt(thePnt1, thePnt2)
-    if BasicOp.IsDone() == 0:
-      print "MakeVectorTwoPnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeLine(thePnt, theDir):
-    """
-     *  Create a line, passing through the given point
-     *  and parrallel to the given direction
-     *  \param thePnt Point. The resulting line will pass through it.
-     *  \param theDir Direction. The resulting line will be parallel to it.
-     *  \return New GEOM_Object, containing the created line.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakeLine(thePnt, theDir)
-    if BasicOp.IsDone() == 0:
-      print "MakeLine : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeLineTwoPnt(thePnt1, thePnt2):
-    """
-     *  Create a line, passing through the given points
-     *  \param thePnt1 First of two points, defining the line.
-     *  \param thePnt2 Second of two points, defining the line.
-     *  \return New GEOM_Object, containing the created line.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakeLineTwoPnt(thePnt1, thePnt2)
-    if BasicOp.IsDone() == 0:
-      print "MakeLineTwoPnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlane(thePnt, theVec, theTrimSize):
-    """
-     *  Create a plane, passing through the given point
-     *  and normal to the given vector.
-     *  \param thePnt Point, the plane has to pass through.
-     *  \param theVec Vector, defining the plane normal direction.
-     *  \param theTrimSize Half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePlanePntVec(thePnt, theVec, theTrimSize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlanePntVec : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlaneThreePnt(thePnt1, thePnt2, thePnt3, theTrimSize):
-    """
-     *  Create a plane, passing through the three given points
-     *  \param thePnt1 First of three points, defining the plane.
-     *  \param thePnt2 Second of three points, defining the plane.
-     *  \param thePnt3 Fird of three points, defining the plane.
-     *  \param theTrimSize Half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePlaneThreePnt(thePnt1, thePnt2, thePnt3, theTrimSize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlaneThreePnt : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakePlaneFace(theFace, theTrimSize):
-    """
-     *  Create a plane, similar to the existing one, but with another size of representing face.
-     *  \param theFace Referenced plane.
-     *  \param theTrimSize New half size of a side of quadrangle face, representing the plane.
-     *  \return New GEOM_Object, containing the created plane.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakePlaneFace(theFace, theTrimSize)
-    if BasicOp.IsDone() == 0:
-      print "MakePlaneFace : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeMarker(OX,OY,OZ, XDX,XDY,XDZ, YDX,YDY,YDZ):
-    """
-     *  Create a local coordinate system.
-     *  \param OX,OY,OZ Three coordinates of coordinate system origin.
-     *  \param XDX,XDY,XDZ Three components of OX direction
-     *  \param YDX,YDY,YDZ Three components of OY direction
-     *  \return New GEOM_Object, containing the created coordinate system.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BasicOp.MakeMarker(OX,OY,OZ, XDX,XDY,XDZ, YDX,YDY,YDZ)
-    if BasicOp.IsDone() == 0:
-      print "MakeMarker : ", BasicOp.GetErrorCode()
-    return anObj
-
-def MakeMarkerPntTwoVec(theOrigin, theXVec, theYVec):
-    """
-     *  Create a local coordinate system.
-     *  \param theOrigin Point of coordinate system origin.
-     *  \param theXVec Vector of X direction
-     *  \param theYVec Vector of Y direction
-     *  \return New GEOM_Object, containing the created coordinate system.
-    """
-    O = PointCoordinates( theOrigin )
-    OXOY = []
-    for vec in [ theXVec, theYVec ]:
-        v1, v2 = SubShapeAll( vec, ShapeType["VERTEX"] )
-        p1 = PointCoordinates( v1 )
-        p2 = PointCoordinates( v2 )
-        for i in range( 0, 3 ):
-             OXOY.append( p2[i] - p1[i] )
-    #
-    anObj = BasicOp.MakeMarker( O[0], O[1], O[2],
-                                OXOY[0], OXOY[1], OXOY[2],
-                                OXOY[3], OXOY[4], OXOY[5], )
-    if BasicOp.IsDone() == 0:
-      print "MakeMarker : ", BasicOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Curves
-# -----------------------------------------------------------------------------
-
-def MakeArc(thePnt1, thePnt2, thePnt3):
-    """
-     *  Create an arc of circle, passing through three given points.
-     *  \param thePnt1 Start point of the arc.
-     *  \param thePnt2 Middle point of the arc.
-     *  \param thePnt3 End point of the arc.
-     *  \return New GEOM_Object, containing the created arc.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeArc(thePnt1, thePnt2, thePnt3)
-    if CurvesOp.IsDone() == 0:
-      print "MakeArc : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeCircle(thePnt, theVec, theR):
-    """
-     *  Create a circle with given center, normal vector and radius.
-     *  \param thePnt Circle center.
-     *  \param theVec Vector, normal to the plane of the circle.
-     *  \param theR Circle radius.
-     *  \return New GEOM_Object, containing the created circle.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeCirclePntVecR(thePnt, theVec, theR)
-    if CurvesOp.IsDone() == 0:
-      print "MakeCirclePntVecR : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeCircleThreePnt(thePnt1, thePnt2, thePnt3):
-    """
-     *  Create a circle, passing through three given points
-     *  \param thePnt1,thePnt2,thePnt3 Points, defining the circle.
-     *  \return New GEOM_Object, containing the created circle.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeCircleThreePnt(thePnt1, thePnt2, thePnt3)
-    if CurvesOp.IsDone() == 0:
-      print "MakeCircleThreePnt : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeEllipse(thePnt, theVec, theRMajor, theRMinor):
-    """
-     *  Create an ellipse with given center, normal vector and radiuses.
-     *  \param thePnt Ellipse center.
-     *  \param theVec Vector, normal to the plane of the ellipse.
-     *  \param theRMajor Major ellipse radius.
-     *  \param theRMinor Minor ellipse radius.
-     *  \return New GEOM_Object, containing the created ellipse.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeEllipse(thePnt, theVec, theRMajor, theRMinor)
-    if CurvesOp.IsDone() == 0:
-      print "MakeEllipse : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakePolyline(thePoints):
-    """
-     *  Create a polyline on the set of points.
-     *  \param thePoints Sequence of points for the polyline.
-     *  \return New GEOM_Object, containing the created polyline.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakePolyline(thePoints)
-    if CurvesOp.IsDone() == 0:
-      print "MakePolyline : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeBezier(thePoints):
-    """
-     *  Create bezier curve on the set of points.
-     *  \param thePoints Sequence of points for the bezier curve.
-     *  \return New GEOM_Object, containing the created bezier curve.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeSplineBezier(thePoints)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSplineBezier : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeInterpol(thePoints):
-    """
-     *  Create B-Spline curve on the set of points.
-     *  \param thePoints Sequence of points for the B-Spline curve.
-     *  \return New GEOM_Object, containing the created B-Spline curve.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeSplineInterpolation(thePoints)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSplineInterpolation : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeSketcher(theCommand, theWorkingPlane = [0,0,0, 0,0,1, 1,0,0]):
-    """
-     *  Create a sketcher (wire or face), following the textual description,
-     *  passed through \a theCommand argument. \n
-     *  Edges of the resulting wire or face will be arcs of circles and/or linear segments. \n
-     *  Format of the description string have to be the following:
-     *
-     *  "Sketcher[:F x1 y1]:CMD[:CMD[:CMD...]]"
-     *
-     *  Where:
-     *  - x1, y1 are coordinates of the first sketcher point (zero by default),
-     *  - CMD is one of
-     *     - "R angle" : Set the direction by angle
-     *     - "D dx dy" : Set the direction by DX & DY
-     *     .
-     *       \n
-     *     - "TT x y" : Create segment by point at X & Y
-     *     - "T dx dy" : Create segment by point with DX & DY
-     *     - "L length" : Create segment by direction & Length
-     *     - "IX x" : Create segment by direction & Intersect. X
-     *     - "IY y" : Create segment by direction & Intersect. Y
-     *     .
-     *       \n
-     *     - "C radius length" : Create arc by direction, radius and length(in degree)
-     *     .
-     *       \n
-     *     - "WW" : Close Wire (to finish)
-     *     - "WF" : Close Wire and build face (to finish)
-     *
-     *  \param theCommand String, defining the sketcher in local
-     *                    coordinates of the working plane.
-     *  \param theWorkingPlane Nine double values, defining origin,
-     *                         OZ and OX directions of the working plane.
-     *  \return New GEOM_Object, containing the created wire.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = CurvesOp.MakeSketcher(theCommand, theWorkingPlane)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSketcher : ", CurvesOp.GetErrorCode()
-    return anObj
-
-def MakeSketcherOnPlane(theCommand, theWorkingPlane):
-    """
-     *  Create a sketcher (wire or face), following the textual description,
-     *  passed through \a theCommand argument. \n
-     *  For format of the description string see the previous method.\n
-     *  \param theCommand String, defining the sketcher in local
-     *                    coordinates of the working plane.
-     *  \param theWorkingPlane Planar Face of the working plane.
-     *  \return New GEOM_Object, containing the created wire.
-    """
-    anObj = CurvesOp.MakeSketcherOnPlane(theCommand, theWorkingPlane)
-    if CurvesOp.IsDone() == 0:
-      print "MakeSketcher : ", CurvesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create 3D Primitives
-# -----------------------------------------------------------------------------
-
-def MakeBox(x1,y1,z1,x2,y2,z2):
-    """
-     *  Create a box by coordinates of two opposite vertices.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    pnt1 = MakeVertex(x1,y1,z1)
-    pnt2 = MakeVertex(x2,y2,z2)
-    return MakeBoxTwoPnt(pnt1,pnt2)
-
-def MakeBoxDXDYDZ(theDX, theDY, theDZ):
-    """
-     *  Create a box with specified dimensions along the coordinate axes
-     *  and with edges, parallel to the coordinate axes.
-     *  Center of the box will be at point (DX/2, DY/2, DZ/2).
-     *  \param theDX Length of Box edges, parallel to OX axis.
-     *  \param theDY Length of Box edges, parallel to OY axis.
-     *  \param theDZ Length of Box edges, parallel to OZ axis.
-     *  \return New GEOM_Object, containing the created box.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeBoxDXDYDZ(theDX, theDY, theDZ)
-    if PrimOp.IsDone() == 0:
-      print "MakeBoxDXDYDZ : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeBoxTwoPnt(thePnt1, thePnt2):
-    """
-     *  Create a box with two specified opposite vertices,
-     *  and with edges, parallel to the coordinate axes
-     *  \param thePnt1 First of two opposite vertices.
-     *  \param thePnt2 Second of two opposite vertices.
-     *  \return New GEOM_Object, containing the created box.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeBoxTwoPnt(thePnt1, thePnt2)
-    if PrimOp.IsDone() == 0:
-      print "MakeBoxTwoPnt : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCylinder(thePnt, theAxis, theR, theH):
-    """
-     *  Create a cylinder with given base point, axis, radius and height.
-     *  \param thePnt Central point of cylinder base.
-     *  \param theAxis Cylinder axis.
-     *  \param theR Cylinder radius.
-     *  \param theH Cylinder height.
-     *  \return New GEOM_Object, containing the created cylinder.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeCylinderPntVecRH(thePnt, theAxis, theR, theH)
-    if PrimOp.IsDone() == 0:
-      print "MakeCylinderPntVecRH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCylinderRH(theR, theH):
-    """
-     *  Create a cylinder with given radius and height at
-     *  the origin of coordinate system. Axis of the cylinder
-     *  will be collinear to the OZ axis of the coordinate system.
-     *  \param theR Cylinder radius.
-     *  \param theH Cylinder height.
-     *  \return New GEOM_Object, containing the created cylinder.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeCylinderRH(theR, theH)
-    if PrimOp.IsDone() == 0:
-      print "MakeCylinderRH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeSpherePntR(thePnt, theR):
-    """
-     *  Create a sphere with given center and radius.
-     *  \param thePnt Sphere center.
-     *  \param theR Sphere radius.
-     *  \return New GEOM_Object, containing the created sphere.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeSpherePntR(thePnt, theR)
-    if PrimOp.IsDone() == 0:
-      print "MakeSpherePntR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeSphere(x, y, z, theR):
-    """
-     *  Create a sphere with given center and radius.
-     *  \param x,y,z Coordinates of sphere center.
-     *  \param theR Sphere radius.
-     *  \return New GEOM_Object, containing the created sphere.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    point = MakeVertex(x, y, z)
-    anObj = MakeSpherePntR(point, theR)
-    return anObj
-
-def MakeSphereR(theR):
-    """
-     *  Create a sphere with given radius at the origin of coordinate system.
-     *  \param theR Sphere radius.
-     *  \return New GEOM_Object, containing the created sphere.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeSphereR(theR)
-    if PrimOp.IsDone() == 0:
-      print "MakeSphereR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeCone(thePnt, theAxis, theR1, theR2, theH):
-    """
-     *  Create a cone with given base point, axis, height and radiuses.
-     *  \param thePnt Central point of the first cone base.
-     *  \param theAxis Cone axis.
-     *  \param theR1 Radius of the first cone base.
-     *  \param theR2 Radius of the second cone base.
-     *    \note If both radiuses are non-zero, the cone will be truncated.
-     *    \note If the radiuses are equal, a cylinder will be created instead.
-     *  \param theH Cone height.
-     *  \return New GEOM_Object, containing the created cone.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeConePntVecR1R2H(thePnt, theAxis, theR1, theR2, theH)
-    if PrimOp.IsDone() == 0:
-      print "MakeConePntVecR1R2H : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeConeR1R2H(theR1, theR2, theH):
-    """
-     *  Create a cone with given height and radiuses at
-     *  the origin of coordinate system. Axis of the cone will
-     *  be collinear to the OZ axis of the coordinate system.
-     *  \param theR1 Radius of the first cone base.
-     *  \param theR2 Radius of the second cone base.
-     *    \note If both radiuses are non-zero, the cone will be truncated.
-     *    \note If the radiuses are equal, a cylinder will be created instead.
-     *  \param theH Cone height.
-     *  \return New GEOM_Object, containing the created cone.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeConeR1R2H(theR1, theR2, theH)
-    if PrimOp.IsDone() == 0:
-      print "MakeConeR1R2H : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeTorus(thePnt, theVec, theRMajor, theRMinor):
-    """
-     *  Create a torus with given center, normal vector and radiuses.
-     *  \param thePnt Torus central point.
-     *  \param theVec Torus axis of symmetry.
-     *  \param theRMajor Torus major radius.
-     *  \param theRMinor Torus minor radius.
-     *  \return New GEOM_Object, containing the created torus.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeTorusPntVecRR(thePnt, theVec, theRMajor, theRMinor)
-    if PrimOp.IsDone() == 0:
-      print "MakeTorusPntVecRR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeTorusRR(theRMajor, theRMinor):
-    """
-     *  Create a torus with given radiuses at the origin of coordinate system.
-     *  \param theRMajor Torus major radius.
-     *  \param theRMinor Torus minor radius.
-     *  \return New GEOM_Object, containing the created torus.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeTorusRR(theRMajor, theRMinor)
-    if PrimOp.IsDone() == 0:
-      print "MakeTorusRR : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePrism(theBase, thePoint1, thePoint2):
-    """
-     *  Create a shape by extrusion of the base shape along a vector, defined by two points.
-     *  \param theBase Base shape to be extruded.
-     *  \param thePoint1 First end of extrusion vector.
-     *  \param thePoint2 Second end of extrusion vector.
-     *  \return New GEOM_Object, containing the created prism.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakePrismTwoPnt(theBase, thePoint1, thePoint2)
-    if PrimOp.IsDone() == 0:
-      print "MakePrismTwoPnt : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePrismVecH(theBase, theVec, theH):
-    """
-     *  Create a shape by extrusion of the base shape along the vector,
-     *  i.e. all the space, transfixed by the base shape during its translation
-     *  along the vector on the given distance.
-     *  \param theBase Base shape to be extruded.
-     *  \param theVec Direction of extrusion.
-     *  \param theH Prism dimension along theVec.
-     *  \return New GEOM_Object, containing the created prism.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakePrismVecH(theBase, theVec, theH)
-    if PrimOp.IsDone() == 0:
-      print "MakePrismVecH : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakePipe(theBase, thePath):
-    """
-     *  Create a shape by extrusion of the base shape along
-     *  the path shape. The path shape can be a wire or an edge.
-     *  \param theBase Base shape to be extruded.
-     *  \param thePath Path shape to extrude the base shape along it.
-     *  \return New GEOM_Object, containing the created pipe.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakePipe(theBase, thePath)
-    if PrimOp.IsDone() == 0:
-      print "MakePipe : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeRevolution(theBase, theAxis, theAngle):
-    """
-     *  Create a shape by revolution of the base shape around the axis
-     *  on the given angle, i.e. all the space, transfixed by the base
-     *  shape during its rotation around the axis on the given angle.
-     *  \param theBase Base shape to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in radians.
-     *  \return New GEOM_Object, containing the created revolution.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeRevolutionAxisAngle(theBase, theAxis, theAngle)
-    if PrimOp.IsDone() == 0:
-      print "MakeRevolutionAxisAngle : ", PrimOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create base shapes
-# -----------------------------------------------------------------------------
-
-def MakeEdge(thePnt1, thePnt2):
-    """
-     *  Create a linear edge with specified ends.
-     *  \param thePnt1 Point for the first end of edge.
-     *  \param thePnt2 Point for the second end of edge.
-     *  \return New GEOM_Object, containing the created edge.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeEdge(thePnt1, thePnt2)
-    if ShapesOp.IsDone() == 0:
-      print "MakeEdge : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeWire(theEdgesAndWires):
-    """
-     *  Create a wire from the set of edges and wires.
-     *  \param theEdgesAndWires List of edges and/or wires.
-     *  \return New GEOM_Object, containing the created wire.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeWire(theEdgesAndWires)
-    if ShapesOp.IsDone() == 0:
-      print "MakeWire : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFace(theWire, isPlanarWanted):
-    """
-     *  Create a face on the given wire.
-     *  \param theWire Wire to build the face on.
-     *  \param isPlanarWanted If TRUE, only planar face will be built.
-     *                        If impossible, NULL object will be returned.
-     *  \return New GEOM_Object, containing the created face.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeFace(theWire, isPlanarWanted)
-    if ShapesOp.IsDone() == 0:
-      print "MakeFace : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFaceWires(theWires, isPlanarWanted):
-    """
-     *  Create a face on the given wires set.
-     *  \param theWires List of wires to build the face on.
-     *  \param isPlanarWanted If TRUE, only planar face will be built.
-     *                        If impossible, NULL object will be returned.
-     *  \return New GEOM_Object, containing the created face.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeFaceWires(theWires, isPlanarWanted)
-    if ShapesOp.IsDone() == 0:
-      print "MakeFaceWires : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeFaces(theWires, isPlanarWanted):
-    """
-     *  Shortcut to MakeFaceWires()
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = MakeFaceWires(theWires, isPlanarWanted)
-    return anObj
-
-def MakeShell(theFacesAndShells):
-    """
-     *  Create a shell from the set of faces and shells.
-     *  \param theFacesAndShells List of faces and/or shells.
-     *  \return New GEOM_Object, containing the created shell.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeShell(theFacesAndShells)
-    if ShapesOp.IsDone() == 0:
-       print "MakeShell : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeSolid(theShells):
-    """
-     *  Create a solid, bounded by the given shells.
-     *  \param theShells Sequence of bounding shells.
-     *  \return New GEOM_Object, containing the created solid.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeSolidShells(theShells)
-    if ShapesOp.IsDone() == 0:
-       print "MakeSolid : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def MakeCompound(theShapes):
-    """
-     *  Create a compound of the given shapes.
-     *  \param theShapes List of shapes to put in compound.
-     *  \return New GEOM_Object, containing the created compound.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.MakeCompound(theShapes)
-    if ShapesOp.IsDone() == 0:
-      print "MakeCompound : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def NumberOfFaces(theShape):
-    """
-     *  Gives quantity of faces in the given shape.
-     *  \param theShape Shape to count faces of.
-     *  \return Quantity of faces.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    nb_faces = ShapesOp.NumberOfFaces(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "NumberOfFaces : ", ShapesOp.GetErrorCode()
-    return nb_faces
-
-def NumberOfEdges(theShape):
-    """
-     *  Gives quantity of edges in the given shape.
-     *  \param theShape Shape to count edges of.
-     *  \return Quantity of edges.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    nb_edges = ShapesOp.NumberOfEdges(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "NumberOfEdges : ", ShapesOp.GetErrorCode()
-    return nb_edges
-
-def ChangeOrientation(theShape):
-    """
-     *  Reverses an orientation the given shape.
-     *  \param theShape Shape to be reversed.
-     *  \return The reversed copy of theShape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = ShapesOp.ChangeOrientation(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "ChangeOrientation : ", ShapesOp.GetErrorCode()
-    return anObj
-
-def OrientationChange(theShape):
-    """
-     *  Shortcut to ChangeOrientation()
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = ChangeOrientation(theShape)
-    return anObj
-
-def GetFreeFacesIDs(theShape):
-    """
-     *  Retrieve all free faces from the given shape.
-     *  Free face is a face, which is not shared between two shells of the shape.
-     *  \param theShape Shape to find free faces in.
-     *  \return List of IDs of all free faces, contained in theShape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anIDs = ShapesOp.GetFreeFacesIDs(theShape)
-    if ShapesOp.IsDone() == 0:
-      print "GetFreeFacesIDs : ", ShapesOp.GetErrorCode()
-    return anIDs
-
-def GetSharedShapes(theShape1, theShape2, theShapeType):
-    """
-     *  Get all sub-shapes of theShape1 of the given type, shared with theShape2.
-     *  \param theShape1 Shape to find sub-shapes in.
-     *  \param theShape2 Shape to find shared sub-shapes with.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of sub-shapes of theShape1, shared with theShape2.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aList = ShapesOp.GetSharedShapes(theShape1, theShape2, theShapeType)
-    if ShapesOp.IsDone() == 0:
-      print "GetSharedShapes : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnPlane(theShape, theShapeType, theAx1, theState):
-    """
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified plane by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAx1 Vector (or line, or linear edge), specifying normal
-     *                direction and location of the plane to find shapes on.
-     *  \param theState The state of the subshapes to find. It can be one of
-     *   ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN.
-     *  \return List of all found sub-shapes.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aList = ShapesOp.GetShapesOnPlane(theShape, theShapeType, theAx1, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnPlane : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnCylinder(theShape, theShapeType, theAxis, theRadius, theState):
-    """
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified cylinder by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theAxis Vector (or line, or linear edge), specifying
-     *                 axis of the cylinder to find shapes on.
-     *  \param theRadius Radius of the cylinder to find shapes on.
-     *  \param theState The state of the subshapes to find. It can be one of
-     *   ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN.
-     *  \return List of all found sub-shapes.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aList = ShapesOp.GetShapesOnCylinder(theShape, theShapeType, theAxis, theRadius, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnCylinder : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetShapesOnSphere(theShape, theShapeType, theCenter, theRadius, theState):
-    """
-     *  Find in \a theShape all sub-shapes of type \a theShapeType, situated relatively
-     *  the specified sphere by the certain way, defined through \a theState parameter.
-     *  \param theShape Shape to find sub-shapes of.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \param theCenter Point, specifying center of the sphere to find shapes on.
-     *  \param theRadius Radius of the sphere to find shapes on.
-     *  \param theState The state of the subshapes to find. It can be one of
-     *   ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN.
-     *  \return List of all found sub-shapes.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aList = ShapesOp.GetShapesOnSphere(theShape, theShapeType, theCenter, theRadius, theState)
-    if ShapesOp.IsDone() == 0:
-      print "GetShapesOnSphere : ", ShapesOp.GetErrorCode()
-    return aList
-
-def GetInPlace(theShapeWhere, theShapeWhat):
-    """
-     *  Get sub-shape(s) of theShapeWhere, which are
-     *  coincident with \a theShapeWhat or could be a part of it.
-     *  \param theShapeWhere Shape to find sub-shapes of.
-     *  \param theShapeWhat Shape, specifying what to find.
-     *  \return Group of all found sub-shapes or a single found sub-shape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = ShapesOp.GetInPlace(theShapeWhere, theShapeWhat)
-    if ShapesOp.IsDone() == 0:
-      print "GetInPlace : ", ShapesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Access to sub-shapes by their unique IDs inside the main shape.
-# -----------------------------------------------------------------------------
-
-def GetSubShape(aShape, ListOfID):
-    """
-     *  Obtain a composite sub-shape of <aShape>, composed from sub-shapes
-     *  of <aShape>, selected by their unique IDs inside <aShape>
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = geom.AddSubShape(aShape,ListOfID)
-    return anObj
-
-def GetSubShapeID(aShape, aSubShape):
-    """
-     *  Obtain unique ID of sub-shape <aSubShape> inside <aShape>
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anID = LocalOp.GetSubShapeIndex(aShape, aSubShape)
-    if LocalOp.IsDone() == 0:
-      print "GetSubShapeIndex : ", LocalOp.GetErrorCode()
-    return anID
-
-# -----------------------------------------------------------------------------
-# Decompose objects
-# -----------------------------------------------------------------------------
-
-def SubShapeAll(aShape, aType):
-    """
-     *  Explode a shape on subshapes of a given type.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of sub-shapes of type theShapeType, contained in theShape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    ListObj = ShapesOp.MakeExplode(aShape,aType,0)
-    if ShapesOp.IsDone() == 0:
-      print "MakeExplode : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllIDs(aShape, aType):
-    """
-     *  Explode a shape on subshapes of a given type.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of IDs of sub-shapes.
-    """
-    ListObj = ShapesOp.SubShapeAllIDs(aShape,aType,0)
-    if ShapesOp.IsDone() == 0:
-      print "SubShapeAllIDs : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllSorted(aShape, aType):
-    """
-     *  Explode a shape on subshapes of a given type.
-     *  Sub-shapes will be sorted by coordinates of their gravity centers.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of sub-shapes of type theShapeType, contained in theShape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    ListObj = ShapesOp.MakeExplode(aShape,aType,1)
-    if ShapesOp.IsDone() == 0:
-      print "MakeExplode : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShapeAllSortedIDs(aShape, aType):
-    """
-     *  Explode a shape on subshapes of a given type.
-     *  Sub-shapes will be sorted by coordinates of their gravity centers.
-     *  \param theShape Shape to be exploded.
-     *  \param theShapeType Type of sub-shapes to be retrieved.
-     *  \return List of IDs of sub-shapes.
-    """
-    ListIDs = ShapesOp.SubShapeAllIDs(aShape,aType,1)
-    if ShapesOp.IsDone() == 0:
-      print "SubShapeAllSortedIDs : ", ShapesOp.GetErrorCode()
-    return ListObj
-
-def SubShape(aShape, aType, ListOfInd):
-    """
-     *  Obtain a compound of sub-shapes of <aShape>,
-     *  selected by they indices in list of all sub-shapes of type <aType>.
-     *  Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]
-
-     *  Example: see GEOM_TestAll.py
-    """
-    ListOfIDs = []
-    AllShapeList = SubShapeAll(aShape, aType)
-    for ind in ListOfInd:
-        ListOfIDs.append(GetSubShapeID(aShape, AllShapeList[ind - 1]))
-    anObj = GetSubShape(aShape, ListOfIDs)
-    return anObj
-
-def SubShapeSorted(aShape, aType, ListOfInd):
-    """
-     *  Obtain a compound of sub-shapes of <aShape>,
-     *  selected by they indices in sorted list of all sub-shapes of type <aType>.
-     *  Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]
-
-     *  Example: see GEOM_TestAll.py
-    """
-    ListOfIDs = []
-    AllShapeList = SubShapeAllSorted(aShape, aType)
-    for ind in ListOfInd:
-        ListOfIDs.append(GetSubShapeID(aShape, AllShapeList[ind - 1]))
-    anObj = GetSubShape(aShape, ListOfIDs)
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Healing operations
-# -----------------------------------------------------------------------------
-
-def ProcessShape(theShape, theOperators, theParameters, theValues):
-    """
-     *  Apply a sequence of Shape Healing operators to the given object.
-     *  \param theShape Shape to be processed.
-     *  \param theOperators List of names of operators ("FixShape", "SplitClosedFaces", etc.).
-     *  \param theParameters List of names of parameters
-     *                    ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.).
-     *  \param theValues List of values of parameters, in the same order
-     *                    as parameters are listed in \a theParameters list.
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.ProcessShape(theShape, theOperators, theParameters, theValues)
-    if HealOp.IsDone() == 0:
-       print "ProcessShape : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressFaces(theObject, theFaces):
-    """
-     *  Remove faces from the given object (shape).
-     *  \param theObject Shape to be processed.
-     *  \param theFaces Indices of faces to be removed, if EMPTY then the method
-     *                  removes ALL faces of the given object.
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.SuppressFaces(theObject, theFaces)
-    if HealOp.IsDone() == 0:
-      print "SuppressFaces : ", HealOp.GetErrorCode()
-    return anObj
-
-def MakeSewing(ListShape, theTolerance):
-    """
-     *  Sewing of some shapes into single shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    comp = MakeCompound(ListShape)
-    anObj = Sew(comp, theTolerance)
-    return anObj
-
-def Sew(theObject, theTolerance):
-    """
-     *  Sewing of the given object.
-     *  \param theObject Shape to be processed.
-     *  \param theTolerance Required tolerance value.
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see MakeSewing() above
-    """
-    anObj = HealOp.Sew(theObject, theTolerance)
-    if HealOp.IsDone() == 0:
-      print "Sew : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressInternalWires(theObject, theWires):
-    """
-     *  Remove internal wires and edges from the given object (face).
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indices of wires to be removed, if EMPTY then the method
-     *                  removes ALL internal wires of the given object.
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.RemoveIntWires(theObject, theWires)
-    if HealOp.IsDone() == 0:
-      print "SuppressInternalWires : ", HealOp.GetErrorCode()
-    return anObj
-
-def SuppressHoles(theObject, theWires):
-    """
-     *  Remove internal closed contours (holes) from the given object.
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indices of wires to be removed, if EMPTY then the method
-     *                  removes ALL internal holes of the given object
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.FillHoles(theObject, theWires)
-    if HealOp.IsDone() == 0:
-      print "SuppressHoles : ", HealOp.GetErrorCode()
-    return anObj
-
-def CloseContour(theObject, theWires, isCommonVertex):
-    """
-     *  Close an open wire.
-     *  \param theObject Shape to be processed.
-     *  \param theWires Indexes of edge(s) and wire(s) to be closed within <VAR>theObject</VAR>'s shape,
-     *                  if -1, then theObject itself is a wire.
-     *  \param isCommonVertex If TRUE : closure by creation of a common vertex,
-     *                        If FALS : closure by creation of an edge between ends.
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.CloseContour(theObject, theWires, isCommonVertex)
-    if HealOp.IsDone() == 0:
-      print "CloseContour : ", HealOp.GetErrorCode()
-    return anObj
-
-def DivideEdge(theObject, theEdgeIndex, theValue, isByParameter):
-    """
-     *  Addition of a point to a given edge object.
-     *  \param theObject Shape to be processed.
-     *  \param theEdgeIndex Index of edge to be divided within theObject's shape,
-     *                      if -1, then theObject itself is the edge.
-     *  \param theValue Value of parameter on edge or length parameter,
-     *                  depending on \a isByParameter.
-     *  \param isByParameter If TRUE : \a theValue is treated as a curve parameter [0..1],
-     *                       if FALSE : \a theValue is treated as a length parameter [0..1]
-     *  \return New GEOM_Object, containing processed shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.DivideEdge(theObject, theEdgeIndex, theValue, isByParameter)
-    if HealOp.IsDone() == 0:
-      print "DivideEdge : ", HealOp.GetErrorCode()
-    return anObj
-
-def GetFreeBoundary(theObject):
-    """
-     *  Get a list of wires (wrapped in GEOM_Object-s),
-     *  that constitute a free boundary of the given shape.
-     *  \param theObject Shape to get free boundary of.
-     *  \return [status, theClosedWires, theOpenWires]
-     *  status: FALSE, if an error(s) occured during the method execution.
-     *  theClosedWires: Closed wires on the free boundary of the given shape.
-     *  theOpenWires: Open wires on the free boundary of the given shape.
-
-     *  Example: see GEOM_TestHealing.py
-    """
-    anObj = HealOp.GetFreeBoundary(theObject)
-    if HealOp.IsDone() == 0:
-      print "GetFreeBoundaries : ", HealOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Create advanced objects
-# -----------------------------------------------------------------------------
-
-def MakeCopy(theOriginal):
-    """
-     *  Create a copy of the given object
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = InsertOp.MakeCopy(theOriginal)
-    if InsertOp.IsDone() == 0:
-      print "MakeCopy : ", InsertOp.GetErrorCode()
-    return anObj
-
-def MakeFilling(theShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter):
-    """
-     *  Create a filling from the given compound of contours.
-     *  \param theShape the compound of contours
-     *  \param theMinDeg a minimal degree
-     *  \param theMaxDeg a maximal degree
-     *  \param theTol2D a 2d tolerance
-     *  \param theTol3D a 3d tolerance
-     *  \param theNbIter a number of iteration
-     *  \return New GEOM_Object, containing the created filling surface.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = PrimOp.MakeFilling(theShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter)
-    if PrimOp.IsDone() == 0:
-      print "MakeFilling : ", PrimOp.GetErrorCode()
-    return anObj
-
-def MakeGlueFaces(theShape, theTolerance):
-    """
-     *  Replace coincident faces in theShape by one face.
-     *  \param theShape Initial shape.
-     *  \param theTolerance Maximum distance between faces, which can be considered as coincident.
-     *  \return New GEOM_Object, containing a copy of theShape without coincident faces.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = ShapesOp.MakeGlueFaces(theShape, theTolerance)
-    if ShapesOp.IsDone() == 0:
-      print "MakeGlueFaces : ", ShapesOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Boolean (Common, Cut, Fuse, Section)
-# -----------------------------------------------------------------------------
-
-def MakeBoolean(theShape1, theShape2, theOperation):
-    """
-     *  Perform one of boolean operations on two given shapes.
-     *  \param theShape1 First argument for boolean operation.
-     *  \param theShape2 Second argument for boolean operation.
-     *  \param theOperation Indicates the operation to be done:
-     *                      1 - Common, 2 - Cut, 3 - Fuse, 4 - Section.
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BoolOp.MakeBoolean(theShape1, theShape2, theOperation)
-    if BoolOp.IsDone() == 0:
-      print "MakeBoolean : ", BoolOp.GetErrorCode()
-    return anObj
-
-def MakeCommon(s1, s2):
-    """
-     *  Shortcut to MakeBoolean(s1, s2, 1)
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return MakeBoolean(s1, s2, 1)
-
-def MakeCut(s1, s2):
-    """
-     *  Shortcut to MakeBoolean(s1, s2, 2)
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return MakeBoolean(s1, s2, 2)
-
-def MakeFuse(s1, s2):
-    """
-     *  Shortcut to MakeBoolean(s1, s2, 3)
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return MakeBoolean(s1, s2, 3)
-
-def MakeSection(s1, s2):
-    """
-     *  Shortcut to MakeBoolean(s1, s2, 4)
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return MakeBoolean(s1, s2, 4)
-
-def MakePartition(ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[],
-                  Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[]):
-    """
-     *  Perform partition operation.
-     *  \param ListShapes Shapes to be intersected.
-     *  \param ListTools Shapes to intersect theShapes.
-     *  \param ListKeepInside Shapes, outside which the results will be deleted.
-     *         Each shape from theKeepInside must belong to theShapes also.
-     *  \param ListRemoveInside Shapes, inside which the results will be deleted.
-     *         Each shape from theRemoveInside must belong to theShapes also.
-     *  \param Limit Type of resulting shapes (corresponding to TopAbs_ShapeEnum).
-     *  \param RemoveWebs If TRUE, perform Glue 3D algorithm.
-     *  \param ListMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE.
-     *  \return New GEOM_Object, containing the result shapes.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BoolOp.MakePartition(ListShapes, ListTools,
-                                 ListKeepInside, ListRemoveInside,
-                                 Limit, RemoveWebs, ListMaterials);
-    if BoolOp.IsDone() == 0:
-      print "MakePartition : ", BoolOp.GetErrorCode()
-    return anObj
-
-def Partition(ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[],
-              Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[]):
-    """
-     *  Shortcut to MakePartition()
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = MakePartition(ListShapes, ListTools,
-                          ListKeepInside, ListRemoveInside,
-                          Limit, RemoveWebs, ListMaterials);
-    return anObj
-
-def MakeHalfPartition(theShape, thePlane):
-    """
-     *  Perform partition of the Shape with the Plane
-     *  \param theShape Shape to be intersected.
-     *  \param thePlane Tool shape, to intersect theShape.
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = BoolOp.MakeHalfPartition(theShape, thePlane)
-    if BoolOp.IsDone() == 0:
-      print "MakeHalfPartition : ", BoolOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Transform objects
-# -----------------------------------------------------------------------------
-
-def MakeTranslationTwoPoints(theObject, thePoint1, thePoint2):
-    """
-     *  Translate the given object along the vector, specified
-     *  by its end points, creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param thePoint1 Start point of translation vector.
-     *  \param thePoint2 End point of translation vector.
-     *  \return New GEOM_Object, containing the translated object.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.TranslateTwoPointsCopy(theObject, thePoint1, thePoint2)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateTwoPointsCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeTranslation(theObject, theDX, theDY, theDZ):
-    """
-     *  Translate the given object along the vector, specified
-     *  by its components, creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param theDX,theDY,theDZ Components of translation vector.
-     *  \return New GEOM_Object, containing the translated object.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.TranslateDXDYDZCopy(theObject, theDX, theDY, theDZ)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateDXDYDZCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeTranslationVector(theObject, theVector):
-    """
-     *  Translate the given object along the given vector,
-     *  creating its copy before the translation.
-     *  \param theObject The object to be translated.
-     *  \param theVector The translation vector.
-     *  \return New GEOM_Object, containing the translated object.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.TranslateVectorCopy(theObject, theVector)
-    if TrsfOp.IsDone() == 0:
-      print "TranslateVectorCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeRotation(theObject, theAxis, theAngle):
-    """
-     *  Rotate the given object around the given axis
-     *  on the given angle, creating its copy before the rotatation.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in radians.
-     *  \return New GEOM_Object, containing the rotated object.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.RotateCopy(theObject, theAxis, theAngle)
-    if TrsfOp.IsDone() == 0:
-      print "RotateCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeScaleTransform(theObject, thePoint, theFactor):
-    """
-     *  Scale the given object by the factor, creating its copy before the scaling.
-     *  \param theObject The object to be scaled.
-     *  \param thePoint Center point for scaling.
-     *  \param theFactor Scaling factor value.
-     *  \return New GEOM_Object, containing the scaled shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.ScaleShapeCopy(theObject, thePoint, theFactor)
-    if TrsfOp.IsDone() == 0:
-      print "ScaleShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByPlane(theObject, thePlane):
-    """
-     *  Create an object, symmetrical
-     *  to the given one relatively the given plane.
-     *  \param theObject The object to be mirrored.
-     *  \param thePlane Plane of symmetry.
-     *  \return New GEOM_Object, containing the mirrored shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MirrorPlaneCopy(theObject, thePlane)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorPlaneCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByAxis(theObject, theAxis):
-    """
-     *  Create an object, symmetrical
-     *  to the given one relatively the given axis.
-     *  \param theObject The object to be mirrored.
-     *  \param theAxis Axis of symmetry.
-     *  \return New GEOM_Object, containing the mirrored shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MirrorAxisCopy(theObject, theAxis)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorAxisCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMirrorByPoint(theObject, thePoint):
-    """
-     *  Create an object, symmetrical
-     *  to the given one relatively the given point.
-     *  \param theObject The object to be mirrored.
-     *  \param thePoint Point of symmetry.
-     *  \return New GEOM_Object, containing the mirrored shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MirrorPointCopy(theObject, thePoint)
-    if TrsfOp.IsDone() == 0:
-      print "MirrorPointCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakePosition(theObject, theStartLCS, theEndLCS):
-    """
-     *  Modify the Location of the given object by LCS
-     *  creating its copy before the setting
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.PositionShapeCopy(theObject, theStartLCS, theEndLCS)
-    if TrsfOp.IsDone() == 0:
-      print "PositionShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeOffset(theObject, theOffset):
-    """
-     *  Create new object as offset of the given one.
-     *  \param theObject The base object for the offset.
-     *  \param theOffset Offset value.
-     *  \return New GEOM_Object, containing the offset object.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.OffsetShapeCopy(theObject, theOffset)
-    if TrsfOp.IsDone() == 0:
-      print "OffsetShapeCopy : ", TrsfOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Patterns
-# -----------------------------------------------------------------------------
-
-def MakeMultiTranslation1D(theObject, theVector, theStep, theNbTimes):
-    """
-     *  Translate the given object along the given vector a given number times
-     *  \param theObject The object to be translated.
-     *  \param theVector Direction of the translation.
-     *  \param theStep Distance to translate on.
-     *  \param theNbTimes Quantity of translations to be done.
-     *  \return New GEOM_Object, containing compound of all
-     *          the shapes, obtained after each translation.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MultiTranslate1D(theObject, theVector, theStep, theNbTimes)
-    if TrsfOp.IsDone() == 0:
-      print "MultiTranslate1D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMultiTranslation2D(theObject, theVector1, theStep1, theNbTimes1,
-                                     theVector2, theStep2, theNbTimes2):
-    """
-     *  Conseqently apply two specified translations to theObject specified number of times.
-     *  \param theObject The object to be translated.
-     *  \param theVector1 Direction of the first translation.
-     *  \param theStep1 Step of the first translation.
-     *  \param theNbTimes1 Quantity of translations to be done along theVector1.
-     *  \param theVector2 Direction of the second translation.
-     *  \param theStep2 Step of the second translation.
-     *  \param theNbTimes2 Quantity of translations to be done along theVector2.
-     *  \return New GEOM_Object, containing compound of all
-     *          the shapes, obtained after each translation.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MultiTranslate2D(theObject, theVector1, theStep1, theNbTimes1,
-                                              theVector2, theStep2, theNbTimes2)
-    if TrsfOp.IsDone() == 0:
-      print "MultiTranslate2D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MultiRotate1D(theObject, theAxis, theNbTimes):
-    """
-     *  Rotate the given object around the given axis a given number times.
-     *  Rotation angle will be 2*PI/theNbTimes.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis The rotation axis.
-     *  \param theNbTimes Quantity of rotations to be done.
-     *  \return New GEOM_Object, containing compound of all the
-     *          shapes, obtained after each rotation.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MultiRotate1D(theObject, theAxis, theNbTimes)
-    if TrsfOp.IsDone() == 0:
-      print "MultiRotate1D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MultiRotate2D(theObject, theAxis, theAngle, theNbTimes1, theStep, theNbTimes2):
-    """
-     *  Rotate the given object around the
-     *  given axis on the given angle a given number
-     *  times and multi-translate each rotation result.
-     *  Translation direction passes through center of gravity
-     *  of rotated shape and its projection on the rotation axis.
-     *  \param theObject The object to be rotated.
-     *  \param theAxis Rotation axis.
-     *  \param theAngle Rotation angle in graduces.
-     *  \param theNbTimes1 Quantity of rotations to be done.
-     *  \param theStep Translation distance.
-     *  \param theNbTimes2 Quantity of translations to be done.
-     *  \return New GEOM_Object, containing compound of all the
-     *          shapes, obtained after each transformation.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = TrsfOp.MultiRotate2D(theObject, theAxis, theAngle, theNbTimes1, theStep, theNbTimes2)
-    if TrsfOp.IsDone() == 0:
-      print "MultiRotate2D : ", TrsfOp.GetErrorCode()
-    return anObj
-
-def MakeMultiRotation1D(aShape,aDir,aPoint,aNbTimes):
-    """
-     *  The same, as MultiRotate1D(), but axis is given by direction and point
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aVec = MakeLine(aPoint,aDir)
-    anObj = MultiRotate1D(aShape,aVec,aNbTimes)
-    return anObj
-
-def MakeMultiRotation2D(aShape,aDir,aPoint,anAngle,nbtimes1,aStep,nbtimes2):
-    """
-     *  The same, as MultiRotate2D(), but axis is given by direction and point
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aVec = MakeLine(aPoint,aDir)
-    anObj = MultiRotate2D(aShape,aVec,anAngle,nbtimes1,aStep,nbtimes2)
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Local operations
-# -----------------------------------------------------------------------------
-
-def MakeFilletAll(theShape, theR):
-    """
-     *  Perform a fillet on all edges of the given shape.
-     *  \param theShape Shape, to perform fillet on.
-     *  \param theR Fillet radius.
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = LocalOp.MakeFilletAll(theShape, theR)
-    if LocalOp.IsDone() == 0:
-      print "MakeFilletAll : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeFillet(theShape, theR, theShapeType, theListShapes):
-    """
-     *  Perform a fillet on the specified edges/faces of the given shape
-     *  \param theShape Shape, to perform fillet on.
-     *  \param theR Fillet radius.
-     *  \param theShapeType Type of shapes in <theListShapes>.
-     *  \param theListShapes Global indices of edges/faces to perform fillet on.
-     *    \note Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = None
-    if theShapeType == ShapeType["EDGE"]:
-        anObj = LocalOp.MakeFilletEdges(theShape, theR, theListShapes)
-    else:
-        anObj = LocalOp.MakeFilletFaces(theShape, theR, theListShapes)
-    if LocalOp.IsDone() == 0:
-      print "MakeFillet : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferAll(theShape, theD):
-    """
-     *  Perform a symmetric chamfer on all edges of the given shape.
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD Chamfer size along each face.
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = LocalOp.MakeChamferAll(theShape, theD)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferAll : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferEdge(theShape, theD1, theD2, theFace1, theFace2):
-    """
-     *  Perform a chamfer on edges, common to the specified faces,
-     *  with distance D1 on the Face1
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD1 Chamfer size along \a theFace1.
-     *  \param theD2 Chamfer size along \a theFace2.
-     *  \param theFace1,theFace2 Global indices of two faces of \a theShape.
-     *    \note Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = LocalOp.MakeChamferEdge(theShape, theD1, theD2, theFace1, theFace2)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferEdge : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamferFaces(theShape, theD1, theD2, theFaces):
-    """
-     *  Perform a chamfer on all edges of the specified faces,
-     *  with distance D1 on the first specified face (if several for one edge)
-     *  \param theShape Shape, to perform chamfer on.
-     *  \param theD1 Chamfer size along face from \a theFaces. If both faces,
-     *               connected to the edge, are in \a theFaces, \a theD1
-     *               will be get along face, which is nearer to \a theFaces beginning.
-     *  \param theD2 Chamfer size along another of two faces, connected to the edge.
-     *  \param theFaces Sequence of global indices of faces of \a theShape.
-     *    \note Global index of sub-shape can be obtained, using method geompy.GetSubShapeID().
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = LocalOp.MakeChamferFaces(theShape, theD1, theD2, theFaces)
-    if LocalOp.IsDone() == 0:
-      print "MakeChamferFaces : ", LocalOp.GetErrorCode()
-    return anObj
-
-def MakeChamfer(aShape,d1,d2,aShapeType,ListShape):
-    """
-     *  Shortcut to MakeChamferEdge() and MakeChamferFaces()
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = None
-    if aShapeType == ShapeType["EDGE"]:
-        anObj = MakeChamferEdge(aShape,d1,d2,ListShape[0],ListShape[1])
-    else:
-        anObj = MakeChamferFaces(aShape,d1,d2,ListShape)
-    return anObj
-
-def Archimede(theShape, theWeight, theWaterDensity, theMeshDeflection):
-    """
-     *  Perform an Archimde operation on the given shape with given parameters.
-     *                    The object presenting the resulting face is returned
-     *  \param theShape Shape to be put in water.
-     *  \param theWeight Weight og the shape.
-     *  \param theWaterDensity Density of the water.
-     *  \param theMeshDeflection Deflection of the mesh, using to compute the section.
-     *  \return New GEOM_Object, containing a section of \a theShape
-     *          by a plane, corresponding to water level.
-
-     *  Example: see GEOM_TestAll.py
-    """
-    anObj = LocalOp.MakeArchimede(theShape, theWeight, theWaterDensity, theMeshDeflection)
-    if LocalOp.IsDone() == 0:
-      print "MakeArchimede : ", LocalOp.GetErrorCode()
-    return anObj
-
-# -----------------------------------------------------------------------------
-# Information objects
-# -----------------------------------------------------------------------------
-
-def PointCoordinates(Point):
-    """
-     *  Get point coordinates
-     *  \return [x, y, z]
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.PointCoordinates(Point)
-    if MeasuOp.IsDone() == 0:
-      print "PointCoordinates : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def BasicProperties(theShape):
-    """
-     *  Get summarized length of all wires,
-     *  area of surface and volume of the given shape.
-     *  \param theShape Shape to define properties of.
-     *  \return [theLength, theSurfArea, theVolume]
-     *  theLength:   Summarized length of all wires of the given shape.
-     *  theSurfArea: Area of surface of the given shape.
-     *  theVolume:   Volume of the given shape.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.GetBasicProperties(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "BasicProperties : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def BoundingBox(theShape):
-    """
-     *  Get parameters of bounding box of the given shape
-     *  \param theShape Shape to obtain bounding box of.
-     *  \return [Xmin,Xmax, Ymin,Ymax, Zmin,Zmax]
-     *  Xmin,Xmax: Limits of shape along OX axis.
-     *  Ymin,Ymax: Limits of shape along OY axis.
-     *  Zmin,Zmax: Limits of shape along OZ axis.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.GetBoundingBox(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "BoundingBox : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def Inertia(theShape):
-    """
-     *  Get inertia matrix and moments of inertia of theShape.
-     *  \param theShape Shape to calculate inertia of.
-     *  \return [I11,I12,I13, I21,I22,I23, I31,I32,I33, Ix,Iy,Iz]
-     *  I(1-3)(1-3): Components of the inertia matrix of the given shape.
-     *  Ix,Iy,Iz:    Moments of inertia of the given shape.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.GetInertia(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "Inertia : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def MinDistance(theShape1, theShape2):
-    """
-     *  Get minimal distance between the given shapes.
-     *  \param theShape1,theShape2 Shapes to find minimal distance between.
-     *  \return Value of the minimal distance between the given shapes.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.GetMinDistance(theShape1, theShape2)
-    if MeasuOp.IsDone() == 0:
-      print "MinDistance : ", MeasuOp.GetErrorCode()
-    return aTuple[0]
-
-def Tolerance(theShape):
-    """
-     *  Get min and max tolerances of sub-shapes of theShape
-     *  \param theShape Shape, to get tolerances of.
-     *  \return [FaceMin,FaceMax, EdgeMin,EdgeMax, VertMin,VertMax]
-     *  FaceMin,FaceMax: Min and max tolerances of the faces.
-     *  EdgeMin,EdgeMax: Min and max tolerances of the edges.
-     *  VertMin,VertMax: Min and max tolerances of the vertices.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aTuple = MeasuOp.GetTolerance(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "Tolerance : ", MeasuOp.GetErrorCode()
-    return aTuple
-
-def WhatIs(theShape):
-    """
-     *  Obtain description of the given shape (number of sub-shapes of each type)
-     *  \param theShape Shape to be described.
-     *  \return Description of the given shape.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    aDescr = MeasuOp.WhatIs(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "WhatIs : ", MeasuOp.GetErrorCode()
-    return aDescr
-
-def MakeCDG(theShape):
-    """
-     *  Get a point, situated at the centre of mass of theShape.
-     *  \param theShape Shape to define centre of mass of.
-     *  \return New GEOM_Object, containing the created point.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    anObj = MeasuOp.GetCentreOfMass(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "GetCentreOfMass : ", MeasuOp.GetErrorCode()
-    return anObj
-
-def CheckShape(theShape):
-    """
-     *  Check a topology of the given shape.
-     *  \param theShape Shape to check validity of.
-     *  \return TRUE, if the shape "seems to be valid" from the topological point of view.
-     *  If theShape is invalid, prints a description of problem.
-
-     *  Example: see GEOM_TestMeasures.py
-    """
-    (IsValid, Status) = MeasuOp.CheckShape(theShape)
-    if MeasuOp.IsDone() == 0:
-      print "CheckShape : ", MeasuOp.GetErrorCode()
-    else:
-      if IsValid == 0:
-        print Status
-    return IsValid
-
-# -----------------------------------------------------------------------------
-# Import/Export objects
-# -----------------------------------------------------------------------------
-
-def Import(theFileName, theFormatName):
-    """
-     *  Import a shape from the BREP or IGES or STEP file
-     *  (depends on given format) with given name.
-     *  \param theFileName The file, containing the shape.
-     *  \param theFormatName Specify format for the file reading.
-     *         Available formats can be obtained with InsertOp.ImportTranslators() method.
-     *  \return New GEOM_Object, containing the imported shape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = InsertOp.Import(theFileName, theFormatName)
-    if InsertOp.IsDone() == 0:
-      print "Import : ", InsertOp.GetErrorCode()
-    return anObj
-
-def ImportBREP(theFileName):
-    """
-     *  Shortcut to Import() for BREP format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Import(theFileName, "BREP")
-
-def ImportIGES(theFileName):
-    """
-     *  Shortcut to Import() for IGES format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Import(theFileName, "IGES")
-
-def ImportSTEP(theFileName):
-    """
-     *  Shortcut to Import() for STEP format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Import(theFileName, "STEP")
-
-def Export(theObject, theFileName, theFormatName):
-    """
-     *  Export the given shape into a file with given name.
-     *  \param theObject Shape to be stored in the file.
-     *  \param theFileName Name of the file to store the given shape in.
-     *  \param theFormatName Specify format for the shape storage.
-     *         Available formats can be obtained with InsertOp.ImportTranslators() method.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    InsertOp.Export(theObject, theFileName, theFormatName)
-    if InsertOp.IsDone() == 0:
-      print "Export : ", InsertOp.GetErrorCode()
-
-def ExportBREP(theObject, theFileName):
-    """
-     *  Shortcut to Export() for BREP format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Export(theObject, theFileName, "BREP")
-
-def ExportIGES(theObject, theFileName):
-    """
-     *  Shortcut to Export() for IGES format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Export(theObject, theFileName, "IGES")
-
-def ExportSTEP(theObject, theFileName):
-    """
-     *  Shortcut to Export() for STEP format
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    return Export(theObject, theFileName, "STEP")
-
-# -----------------------------------------------------------------------------
-# Block operations
-# -----------------------------------------------------------------------------
-
-def MakeQuad(E1, E2, E3, E4):
-    """
-     *  Create a quadrangle face from four edges. Order of Edges is not
-     *  important. It is  not necessary that edges share the same vertex.
-     *  \param E1,E2,E3,E4 Edges for the face bound.
-     *  \return New GEOM_Object, containing the created face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeQuad(E1, E2, E3, E4)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeQuad2Edges(E1, E2):
-    """
-     *  Create a quadrangle face on two edges.
-     *  The missing edges will be built by creating the shortest ones.
-     *  \param E1,E2 Two opposite edges for the face.
-     *  \return New GEOM_Object, containing the created face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeQuad2Edges(E1, E2)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad2Edges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeQuad4Vertices(V1, V2, V3, V4):
-    """
-     *  Create a quadrangle face with specified corners.
-     *  The missing edges will be built by creating the shortest ones.
-     *  \param V1,V2,V3,V4 Corner vertices for the face.
-     *  \return New GEOM_Object, containing the created face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeQuad4Vertices(V1, V2, V3, V4)
-    if BlocksOp.IsDone() == 0:
-      print "MakeQuad4Vertices : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeHexa(F1, F2, F3, F4, F5, F6):
-    """
-     *  Create a hexahedral solid, bounded by the six given faces. Order of
-     *  faces is not important. It is  not necessary that Faces share the same edge.
-     *  \param F1,F2,F3,F4,F5,F6 Faces for the hexahedral solid.
-     *  \return New GEOM_Object, containing the created solid.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeHexa(F1, F2, F3, F4, F5, F6)
-    if BlocksOp.IsDone() == 0:
-      print "MakeHexa : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeHexa2Faces(F1, F2):
-    """
-     *  Create a hexahedral solid between two given faces.
-     *  The missing faces will be built by creating the smallest ones.
-     *  \param F1,F2 Two opposite faces for the hexahedral solid.
-     *  \return New GEOM_Object, containing the created solid.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeHexa2Faces(F1, F2)
-    if BlocksOp.IsDone() == 0:
-      print "MakeHexa2Faces : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetPoint(theShape, theX, theY, theZ, theEpsilon):
-    """
-     *  Get a vertex, found in the given shape by its coordinates.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theX,theY,theZ Coordinates of the sought vertex.
-     *  \param theEpsilon Maximum allowed distance between the resulting
-     *                    vertex and point with the given coordinates.
-     *  \return New GEOM_Object, containing the found vertex.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = BlocksOp.GetPoint(theShape, theX, theY, theZ, theEpsilon)
-    if BlocksOp.IsDone() == 0:
-      print "GetPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetEdge(theShape, thePoint1, thePoint2):
-    """
-     *  Get an edge, found in the given shape by two given vertices.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint1,thePoint2 Points, close to the ends of the desired edge.
-     *  \return New GEOM_Object, containing the found edge.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetEdge(theShape, thePoint1, thePoint2)
-    if BlocksOp.IsDone() == 0:
-      print "GetEdge : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetEdgeNearPoint(theShape, thePoint):
-    """
-     *  Find an edge of the given shape, which has minimal distance to the given point.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint Point, close to the desired edge.
-     *  \return New GEOM_Object, containing the found edge.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = BlocksOp.GetEdgeNearPoint(theShape, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetEdgeNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByPoints(theShape, thePoint1, thePoint2, thePoint3, thePoint4):
-    """
-     *  Returns a face, found in the given shape by four given corner vertices.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint1-thePoint4 Points, close to the corners of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetFaceByPoints(theShape, thePoint1, thePoint2, thePoint3, thePoint4)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByPoints : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByEdges(theShape, theEdge1, theEdge2):
-    """
-     *  Get a face of block, found in the given shape by two given edges.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theEdge1,theEdge2 Edges, close to the edges of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetFaceByEdges(theShape, theEdge1, theEdge2)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByEdges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetOppositeFace(theBlock, theFace):
-    """
-     *  Find a face, opposite to the given one in the given block.
-     *  \param theBlock Must be a hexahedral solid.
-     *  \param theFace Face of \a theBlock, opposite to the desired face.
-     *  \return New GEOM_Object, containing the found face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetOppositeFace(theBlock, theFace)
-    if BlocksOp.IsDone() == 0:
-      print "GetOppositeFace : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceNearPoint(theShape, thePoint):
-    """
-     *  Find a face of the given shape, which has minimal distance to the given point.
-     *  \param theShape Block or a compound of blocks.
-     *  \param thePoint Point, close to the desired face.
-     *  \return New GEOM_Object, containing the found face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetFaceNearPoint(theShape, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetFaceByNormale(theBlock, theVector):
-    """
-     *  Find a face of block, whose outside normale has minimal angle with the given vector.
-     *  \param theShape Block or a compound of blocks.
-     *  \param theVector Vector, close to the normale of the desired face.
-     *  \return New GEOM_Object, containing the found face.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetFaceByNormale(theBlock, theVector)
-    if BlocksOp.IsDone() == 0:
-      print "GetFaceByNormale : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def CheckCompoundOfBlocks(theCompound):
-    """
-     *  Check, if the compound of blocks is given.
-     *  To be considered as a compound of blocks, the
-     *  given shape must satisfy the following conditions:
-     *  - Each element of the compound should be a Block (6 faces and 12 edges).
-     *  - A connection between two Blocks should be an entire quadrangle face or an entire edge.
-     *  - The compound should be connexe.
-     *  - The glue between two quadrangle faces should be applied.
-     *  \param theCompound The compound to check.
-     *  \return TRUE, if the given shape is a compound of blocks.
-     *  If theCompound is not valid, prints all discovered errors.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    (IsValid, BCErrors) = BlocksOp.CheckCompoundOfBlocks(theCompound)
-    if BlocksOp.IsDone() == 0:
-      print "CheckCompoundOfBlocks : ", BlocksOp.GetErrorCode()
-    else:
-      if IsValid == 0:
-        Descr = BlocksOp.PrintBCErrors(theCompound, BCErrors)
-        print Descr
-    return IsValid
-
-def RemoveExtraEdges(theShape):
-    """
-     *  Remove all seam and degenerated edges from \a theShape.
-     *  Unite faces and edges, sharing one surface.
-     *  \param theShape The compound or single solid to remove irregular edges from.
-     *  \return Improved shape.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = BlocksOp.RemoveExtraEdges(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "RemoveExtraEdges : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def CheckAndImprove(theShape):
-    """
-     *  Check, if the given shape is a blocks compound.
-     *  Fix all detected errors.
-     *    \note Single block can be also fixed by this method.
-     *  \param theCompound The compound to check and improve.
-     *  \return Improved compound.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = BlocksOp.CheckAndImprove(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "CheckAndImprove : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeBlockExplode(theCompound, theMinNbFaces, theMaxNbFaces):
-    """
-     *  Get all the blocks, contained in the given compound.
-     *  \param theCompound The compound to explode.
-     *  \param theMinNbFaces If solid has lower number of faces, it is not a block.
-     *  \param theMaxNbFaces If solid has higher number of faces, it is not a block.
-     *    \note If theMaxNbFaces = 0, the maximum number of faces is not restricted.
-     *  \return List of GEOM_Objects, containing the retrieved blocks.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aList = BlocksOp.ExplodeCompoundOfBlocks(theCompound, theMinNbFaces, theMaxNbFaces)
-    if BlocksOp.IsDone() == 0:
-      print "MakeBlockExplode : ", BlocksOp.GetErrorCode()
-    return aList
-
-def GetBlockNearPoint(theCompound, thePoint):
-    """
-     *  Find block, containing the given point inside its volume or on boundary.
-     *  \param theCompound Compound, to find block in.
-     *  \param thePoint Point, close to the desired block. If the point lays on
-     *         boundary between some blocks, we return block with nearest center.
-     *  \return New GEOM_Object, containing the found block.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.GetBlockNearPoint(theCompound, thePoint)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlockNearPoint : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetBlockByParts(theCompound, theParts):
-    """
-     *  Find block, containing all the elements, passed as the parts, or maximum quantity of them.
-     *  \param theCompound Compound, to find block in.
-     *  \param theParts List of faces and/or edges and/or vertices to be parts of the found block.
-     *  \return New GEOM_Object, containing the found block.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = BlocksOp.GetBlockByParts(theCompound, theParts)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlockByParts : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def GetBlocksByParts(theCompound, theParts):
-    """
-     *  Return all blocks, containing all the elements, passed as the parts.
-     *  \param theCompound Compound, to find blocks in.
-     *  \param theParts List of faces and/or edges and/or vertices to be parts of the found blocks.
-     *  \return List of GEOM_Objects, containing the found blocks.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    aList = BlocksOp.GetBlocksByParts(theCompound, theParts)
-    if BlocksOp.IsDone() == 0:
-      print "GetBlocksByParts : ", BlocksOp.GetErrorCode()
-    return aList
-
-def MakeMultiTransformation1D(Block, DirFace1, DirFace2, NbTimes):
-    """
-     *  Multi-transformate block and glue the result.
-     *  Transformation is defined so, as to superpose direction faces.
-     *  \param Block Hexahedral solid to be multi-transformed.
-     *  \param DirFace1 ID of First direction face.
-     *  \param DirFace2 ID of Second direction face.
-     *  \param NbTimes Quantity of transformations to be done.
-     *    \note Unique ID of sub-shape can be obtained, using method GetSubShapeID().
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeMultiTransformation1D(Block, DirFace1, DirFace2, NbTimes)
-    if BlocksOp.IsDone() == 0:
-      print "MakeMultiTransformation1D : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def MakeMultiTransformation2D(Block, DirFace1U, DirFace2U, NbTimesU,
-                                    DirFace1V, DirFace2V, NbTimesV):
-    """
-     *  Multi-transformate block and glue the result.
-     *  \param Block Hexahedral solid to be multi-transformed.
-     *  \param DirFace1U,DirFace2U IDs of Direction faces for the first transformation.
-     *  \param DirFace1V,DirFace2V IDs of Direction faces for the second transformation.
-     *  \param NbTimesU,NbTimesV Quantity of transformations to be done.
-     *  \return New GEOM_Object, containing the result shape.
-
-     *  Example: see GEOM_Spanner.py
-    """
-    anObj = BlocksOp.MakeMultiTransformation2D(Block, DirFace1U, DirFace2U, NbTimesU,
-                                                     DirFace1V, DirFace2V, NbTimesV)
-    if BlocksOp.IsDone() == 0:
-      print "MakeMultiTransformation2D : ", BlocksOp.GetErrorCode()
-    return anObj
-
-def Propagate(theShape):
-    """
-     *  Build all possible propagation groups.
-     *  Propagation group is a set of all edges, opposite to one (main)
-     *  edge of this group directly or through other opposite edges.
-     *  Notion of Opposite Edge make sence only on quadrangle face.
-     *  \param theShape Shape to build propagation groups on.
-     *  \return List of GEOM_Objects, each of them is a propagation group.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    listChains = BlocksOp.Propagate(theShape)
-    if BlocksOp.IsDone() == 0:
-      print "Propagate : ", BlocksOp.GetErrorCode()
-    return listChains
-
-# -----------------------------------------------------------------------------
-# Group operations
-# -----------------------------------------------------------------------------
-
-def CreateGroup(theMainShape, theShapeType):
-    """
-     *  Creates a new group which will store sub shapes of theMainShape
-     *  \param theMainShape is a GEOM object on which the group is selected
-     *  \param theShapeType defines a shape type of the group
-     *  \return a newly created GEOM group
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = GroupOp.CreateGroup(theMainShape, theShapeType)
-    if GroupOp.IsDone() == 0:
-       print "CreateGroup : ", GroupOp.GetErrorCode()
-    return anObj
-
-def AddObject(theGroup, theSubShapeID):
-    """
-     *  Adds a sub object with ID theSubShapeId to the group
-     *  \param theGroup is a GEOM group to which the new sub shape is added
-     *  \param theSubShapeID is a sub shape ID in the main object.
-     *  \note Use method GetSubShapeID() to get an unique ID of the sub shape
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    GroupOp.AddObject(theGroup, theSubShapeID)
-    if GroupOp.IsDone() == 0:
-      print "AddObject : ", GroupOp.GetErrorCode()
-
-def RemoveObject(theGroup, theSubShapeID):
-    """
-     *  Removes a sub object with ID \a theSubShapeId from the group
-     *  \param theGroup is a GEOM group from which the new sub shape is removed
-     *  \param theSubShapeID is a sub shape ID in the main object.
-     *  \note Use method GetSubShapeID() to get an unique ID of the sub shape
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    GroupOp.RemoveObject(theGroup, theSubShapeID)
-    if GroupOp.IsDone() == 0:
-      print "RemoveObject : ", GroupOp.GetErrorCode()
-
-def UnionList (theGroup, theSubShapes):
-    """
-     *  Adds to the group all the given shapes. No errors, if some shapes are alredy included.
-     *  \param theGroup is a GEOM group to which the new sub shapes are added.
-     *  \param theSubShapes is a list of sub shapes to be added.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    GroupOp.UnionList(theGroup, theSubShapes)
-    if GroupOp.IsDone() == 0:
-      print "UnionList : ", GroupOp.GetErrorCode()
-
-def DifferenceList (theGroup, theSubShapes):
-    """
-     *  Removes from the group all the given shapes. No errors, if some shapes are not included.
-     *  \param theGroup is a GEOM group from which the sub-shapes are removed.
-     *  \param theSubShapes is a list of sub-shapes to be removed.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    GroupOp.DifferenceList(theGroup, theSubShapes)
-    if GroupOp.IsDone() == 0:
-      print "DifferenceList : ", GroupOp.GetErrorCode()
-
-def GetObjectIDs(theGroup):
-    """
-     *  Returns a list of sub objects ID stored in the group
-     *  \param theGroup is a GEOM group for which a list of IDs is requested
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    ListIDs = GroupOp.GetObjects(theGroup)
-    if GroupOp.IsDone() == 0:
-      print "GetObjectIDs : ", GroupOp.GetErrorCode()
-    return ListIDs
-
-def GetType(theGroup):
-    """
-     *  Returns a type of sub objects stored in the group
-     *  \param theGroup is a GEOM group which type is returned.
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    aType = GroupOp.GetType(theGroup)
-    if GroupOp.IsDone() == 0:
-      print "GetType : ", GroupOp.GetErrorCode()
-    return aType
-
-def GetMainShape(theGroup):
-    """
-     *  Returns a main shape associated with the group
-     *  \param theGroup is a GEOM group for which a main shape object is requested
-     *  \return a GEOM object which is a main shape for theGroup
-
-     *  Example: see GEOM_TestOthers.py
-    """
-    anObj = GroupOp.GetMainShape(theGroup)
-    if GroupOp.IsDone() == 0:
-      print "GetMainShape : ", GroupOp.GetErrorCode()
-    return anObj
-
-def GetEdgesByLength (theShape, min_length, max_length, include_min = 1, include_max = 1):
-    """
-    Create group of edges of theShape, whose length is in range [min_length, max_length].
-    If include_min/max == 0, edges with length == min/max_length will not be included in result.
-    """
-
-    edges = SubShapeAll(theShape, ShapeType["EDGE"])
-    edges_in_range = []
-    for edge in edges:
-        Props = BasicProperties(edge)
-       if min_length <= Props[0] and Props[0] <= max_length:
-           if (not include_min) and (min_length == Props[0]):
-               skip = 1
-            else:
-               if (not include_max) and (Props[0] == max_length):
-                   skip = 1
-                else:
-                   edges_in_range.append(edge)
-
-    if len(edges_in_range) <= 0:
-        print "No edges found by given criteria"
-       return 0
-
-    group_edges = CreateGroup(theShape, ShapeType["EDGE"])
-    UnionList(group_edges, edges_in_range)
-
-    return group_edges
-
-def SelectEdges (min_length, max_length, include_min = 1, include_max = 1):
-    """
-    Create group of edges of selected shape, whose length is in range [min_length, max_length].
-    If include_min/max == 0, edges with length == min/max_length will not be included in result.
-    """
-
-    nb_selected = sg.SelectedCount()
-    if nb_selected < 1:
-        print "Select a shape before calling this function, please."
-       return 0
-    if nb_selected > 1:
-        print "Only one shape must be selected"
-       return 0
-
-    id_shape = sg.getSelected(0)
-    shape = IDToObject( id_shape )
-
-    group_edges = GetEdgesByLength(shape, min_length, max_length, include_min, include_max)
-
-    left_str  = " < "
-    right_str = " < "
-    if include_min: left_str  = " <= "
-    if include_max: right_str  = " <= "
-
-    addToStudyInFather(shape, group_edges, "Group of edges with " + `min_length`
-                      + left_str + "length" + right_str + `max_length`)
-
-    sg.updateObjBrowser(1)
-
-    return group_edges
-
-def addPath(Path):
-    """
-     * Add Path to load python scripts from
-    """
-    if (sys.path.count(Path) < 1):
-       sys.path.append(Path)
diff --git a/src/GEOM_SWIG/libGEOM_Swig.i b/src/GEOM_SWIG/libGEOM_Swig.i
deleted file mode 100644 (file)
index 319010c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-//  File      : libGeometry_Swig.i
-//  Created   : Tue Mar 26 15:04:48 2002
-//  Author    : Nicolas REJNERI, Paul RASCLE
-//  Project   : SALOME
-//  Module    : GEOM
-//  Copyright : Open CASCADE, EDF 2002
-//  $Header$
-
-%module libGEOM_Swig
-
-%include "GeometryGUI_Swig.i"
-
diff --git a/src/GenerationGUI/GenerationGUI.cxx b/src/GenerationGUI/GenerationGUI.cxx
deleted file mode 100644 (file)
index 4d52198..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "GenerationGUI.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-
-#include "GenerationGUI_PrismDlg.h"     // Method PRISM
-#include "GenerationGUI_RevolDlg.h"     // Method REVOL
-#include "GenerationGUI_FillingDlg.h"   // Method FILLING
-#include "GenerationGUI_PipeDlg.h"      // Method PIPE
-
-using namespace std;
-
-GenerationGUI* GenerationGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetGenerationGUI()
-// purpose  : Get the only GenerationGUI object [ static ]
-//=======================================================================
-GenerationGUI* GenerationGUI::GetGenerationGUI(GeometryGUI* parent)
-{
-  if ( myGUIObject == 0 )
-    myGUIObject = new GenerationGUI(parent);
-
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : GenerationGUI()
-// purpose  : Constructor
-//=======================================================================
-GenerationGUI::GenerationGUI(GeometryGUI* parent) : GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~GenerationGUI()
-// purpose  : Destructor
-//=======================================================================
-GenerationGUI::~GenerationGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool GenerationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  QDialog* aDlg = NULL;
-
-  switch ( theCommandID )
-    {
-    case 4031: aDlg = new GenerationGUI_PrismDlg   ( getGeometryGUI(), parent, ""); break;
-    case 4032: aDlg = new GenerationGUI_RevolDlg   ( getGeometryGUI(), parent, ""); break;
-    case 4033: aDlg = new GenerationGUI_FillingDlg ( getGeometryGUI(), parent, ""); break;
-    case 4034: aDlg = new GenerationGUI_PipeDlg    ( parent, ""); break;
-    
-    default: SUIT_Session::session()->activeApplication()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) ); break;
-  }
-
-  if ( aDlg != NULL )
-    aDlg->show();
-  
-  return true;
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI(GeometryGUI* parent)
-  {
-    return GenerationGUI::GetGenerationGUI(parent);
-  }
-}
diff --git a/src/GenerationGUI/GenerationGUI.h b/src/GenerationGUI/GenerationGUI.h
deleted file mode 100644 (file)
index eb55628..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef GENERATIONGUI_H
-#define GENERATIONGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : GenerationGUI
-// purpose  :
-//=================================================================================
-class GenerationGUI : public GEOMGUI
-{
-protected:
-  GenerationGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
-
-public :
-  ~GenerationGUI();
-
-  // Get the only GenerationGUI object
-  static GenerationGUI* GetGenerationGUI(GeometryGUI* parent);
-
-  bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
-
-private:
-  static GenerationGUI* myGUIObject; // the only GenerationGUI object
-};
-
-#endif
diff --git a/src/GenerationGUI/GenerationGUI_FillingDlg.cxx b/src/GenerationGUI/GenerationGUI_FillingDlg.cxx
deleted file mode 100644 (file)
index 6987ad0..0000000
+++ /dev/null
@@ -1,345 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : GenerationGUI_FillingDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GenerationGUI_FillingDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <GeomFill_SectionGenerator.hxx>
-#include <GeomFill_Line.hxx>
-#include <GeomFill_AppSurf.hxx>
-#include <Geom_BSplineSurface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <BRep_Tool.hxx>
-#include <Precision.hxx>
-#include <Standard_ErrorHandler.hxx>
-#include "GEOMImpl_Types.hxx"
-
-#include <qlabel.h>
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : GenerationGUI_FillingDlg()
-// purpose  : Constructs a GenerationGUI_FillingDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GenerationGUI_FillingDlg::GenerationGUI_FillingDlg(GeometryGUI* theGeometryGUI, QWidget* parent,
-                                                   const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal,
-                     WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu),
-   myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_FILLING")));
-  QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_FILLING_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_FILLING"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel5Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_FILLING_COMPOUND"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_FILLING_MIN_DEG"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_FILLING_TOL_2D"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_FILLING_NB_ITER"));
-  GroupPoints->TextLabel5->setText(tr("GEOM_FILLING_MAX_DEG"));
-  GroupPoints->TextLabel6->setText(tr("GEOM_FILLING_TOL_3D"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-//=================================================================================
-// function : ~GenerationGUI_FillingDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GenerationGUI_FillingDlg::~GenerationGUI_FillingDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  myMinDeg = 2;
-  myMaxDeg = 5;
-  myTol3D = 0.0001;
-  myTol2D = 0.0001;
-  myNbIter = 5;
-  myOkCompound = false;
-
-  globalSelection( GEOM_COMPOUND );
-
-  double SpecificStep1 = 1;
-  double SpecificStep2 = 0.0001;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_1->RangeStepAndValidator(2.0, 999.999, SpecificStep1, 3);
-  GroupPoints->SpinBox_2->RangeStepAndValidator(0.00001, 10000.0, SpecificStep2, 5);
-  GroupPoints->SpinBox_3->RangeStepAndValidator(1.0, 999.999, SpecificStep1, 3);
-  GroupPoints->SpinBox_4->RangeStepAndValidator(1.0, 999.999, SpecificStep1, 3);
-  GroupPoints->SpinBox_5->RangeStepAndValidator(0.00001, 10000.0, SpecificStep2, 5);
-
-  GroupPoints->SpinBox_1->SetValue(myMinDeg);
-  GroupPoints->SpinBox_2->SetValue(myTol2D);
-  GroupPoints->SpinBox_3->SetValue(myNbIter);
-  GroupPoints->SpinBox_4->SetValue(myMaxDeg);
-  GroupPoints->SpinBox_5->SetValue(myTol3D);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_3, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_4, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_5, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_2, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_3, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_4, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_5, SLOT(SetStep(double)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_FILLING"));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool GenerationGUI_FillingDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void GenerationGUI_FillingDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1)
-      myOkCompound = false;
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-
-  if (!testResult)
-    return;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1) {
-    TopoDS_Shape S;
-    myOkCompound = false;
-
-    if ( GEOMBase::GetShape(aSelectedObject, S) &&
-        S.ShapeType() == TopAbs_COMPOUND)
-      {
-       // myCompound should be a compound of edges
-       for ( TopoDS_Iterator it( S ); it.More(); it.Next() )
-         if ( it.Value().ShapeType() != TopAbs_EDGE )
-           return;
-       myCompound = aSelectedObject;
-       myOkCompound = true;
-      }
-  }
-
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  globalSelection( GEOM_ALLSHAPES );
-
-  if(send == GroupPoints->PushButton1) {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_COMPOUND );
-    this->SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-          SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  globalSelection( GEOM_COMPOUND );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void GenerationGUI_FillingDlg::ValueChangedInSpinBox(double newValue)
-{
-  QObject* send = (QObject*)sender();
-
-  if(send == GroupPoints->SpinBox_1)
-    myMinDeg = int(newValue);
-  else if(send == GroupPoints->SpinBox_2)
-    myTol2D = newValue;
-  else if(send == GroupPoints->SpinBox_3)
-    myNbIter = int(newValue);
-  else if(send == GroupPoints->SpinBox_4)
-    myMaxDeg = int(newValue);
-  else if(send == GroupPoints->SpinBox_5)
-    myTol3D = newValue;
-
-  displayPreview();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr GenerationGUI_FillingDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool GenerationGUI_FillingDlg::isValid( QString& )
-{
-  return myOkCompound > 0;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool GenerationGUI_FillingDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation() )->MakeFilling(
-    myCompound, myMinDeg, myMaxDeg, myTol2D, myTol3D, myNbIter );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
diff --git a/src/GenerationGUI/GenerationGUI_FillingDlg.h b/src/GenerationGUI/GenerationGUI_FillingDlg.h
deleted file mode 100644 (file)
index d562c52..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_FillingDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_FILLING_H
-#define DIALOGBOX_FILLING_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel5Spin.h"
-
-//=================================================================================
-// class    : GenerationGUI_FillingDlg
-// purpose  :
-//=================================================================================
-class GenerationGUI_FillingDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    GenerationGUI_FillingDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GenerationGUI_FillingDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myCompound; /* compound of curves */
-    Standard_Integer myMinDeg;
-    Standard_Integer myMaxDeg;
-    Standard_Real myTol3D;
-    Standard_Real myTol2D;
-    Standard_Integer myNbIter;
-    bool myOkCompound;         /* to check when curv. compound is defined */
-
-    DlgRef_1Sel5Spin* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox(double newValue);
-
-};
-
-#endif // DIALOGBOX_FILLING_H
diff --git a/src/GenerationGUI/GenerationGUI_PipeDlg.cxx b/src/GenerationGUI/GenerationGUI_PipeDlg.cxx
deleted file mode 100644 (file)
index 9a59cda..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_PipeDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GenerationGUI_PipeDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include <TopoDS_Edge.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepOffsetAPI_MakePipe.hxx>
-#if OCC_VERSION_MAJOR >= 5
-#include <BRepAlgo.hxx>
-#else
-#include <BRepAlgoAPI.hxx>
-#endif
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : GenerationGUI_PipeDlg()
-// purpose  : Constructs a GenerationGUI_PipeDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GenerationGUI_PipeDlg::GenerationGUI_PipeDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PIPE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_PIPE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PIPE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_BASE_OBJECT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_PATH_OBJECT"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~GenerationGUI_PipeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GenerationGUI_PipeDlg::~GenerationGUI_PipeDlg()
-{
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PipeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  myOkBase = myOkPath = false;
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName(tr("GEOM_PIPE"));
-
-  globalSelection( GEOM_ALLSHAPES );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PipeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnAply()
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PipeDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void GenerationGUI_PipeDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1)
-      myOkBase = false;
-    else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-      myOkPath = false;
-    return;
-  }
-  
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-    
-  if (!testResult)
-    return;
-  
-  TopoDS_Shape S;
-  
-  if(myEditCurrentArgument == GroupPoints->LineEdit1) {
-    myOkBase = false;
-    
-    if(!GEOMBase::GetShape(aSelectedObject, S) ||
-       S.ShapeType() == TopAbs_COMPSOLID || 
-       S.ShapeType() == TopAbs_COMPOUND || 
-       S.ShapeType() == TopAbs_SOLID || 
-       S.ShapeType() == TopAbs_SHAPE) 
-      return;
-    
-    myBase = aSelectedObject;
-    myOkBase = true;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2) {
-    myOkPath = false;
-    
-    if(!GEOMBase::GetShape(aSelectedObject, S) ||
-       !(S.ShapeType() == TopAbs_WIRE || S.ShapeType() == TopAbs_EDGE) ) 
-      return;
-    
-    myPath = aSelectedObject;
-    myOkPath = true;
-  }
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PipeDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if(send == GroupPoints->PushButton1) {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  }
-  else if(send == GroupPoints->PushButton2) {
-    GroupPoints->LineEdit2->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PipeDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void GenerationGUI_PipeDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PipeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr GenerationGUI_PipeDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PipeDlg::isValid( QString& )
-{
-  return myOkBase && myOkPath;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PipeDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_I3DPrimOperations::_narrow(
-    getOperation() )->MakePipe( myBase, myPath );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-
-
diff --git a/src/GenerationGUI/GenerationGUI_PipeDlg.h b/src/GenerationGUI/GenerationGUI_PipeDlg.h
deleted file mode 100644 (file)
index 4f525f3..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_PipeDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_PIPE_H
-#define DIALOGBOX_PIPE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-
-//=================================================================================
-// class    : GenerationGUI_PipeDlg
-// purpose  :
-//=================================================================================
-class GenerationGUI_PipeDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    GenerationGUI_PipeDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GenerationGUI_PipeDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GEOM::GEOM_Object_var myBase; /* Base shape */
-    GEOM::GEOM_Object_var myPath; /* Shape, defining the path */
-    bool myOkBase;
-    bool myOkPath             ;   /* to check when arguments are defined */
-
-    DlgRef_2Sel_QTD* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-};
-
-#endif // DIALOGBOX_PIPE_H
diff --git a/src/GenerationGUI/GenerationGUI_PrismDlg.cxx b/src/GenerationGUI/GenerationGUI_PrismDlg.cxx
deleted file mode 100644 (file)
index 7ab104b..0000000
+++ /dev/null
@@ -1,343 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_PrismDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GenerationGUI_PrismDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <BRepPrimAPI_MakePrism.hxx>
-#include <BRepAdaptor_Curve.hxx>
-#include <gp_Lin.hxx>
-#include "GEOMImpl_Types.hxx"
-
-#include <qlabel.h>
-#include <qcheckbox.h>
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : GenerationGUI_PrismDlg()
-// purpose  : Constructs a GenerationGUI_PrismDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GenerationGUI_PrismDlg::GenerationGUI_PrismDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PRISM")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_PRISM_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PRISM"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel1Spin2Check(this, "GroupPoints");
-  GroupPoints->CheckButton1->hide();
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_PRISM_BSV"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_BASE"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_HEIGHT"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  GroupPoints->CheckButton2->setText(tr("GEOM_REVERSE"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~GenerationGUI_PrismDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GenerationGUI_PrismDlg::~GenerationGUI_PrismDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  myOkBase = myOkVec = false;
-  
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, +999.999, step, 3);
-  GroupPoints->SpinBox_DX->SetValue(100.0);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-
-  connect(GroupPoints->CheckButton2, SIGNAL(toggled(bool)),      this, SLOT(onReverse()));
-   
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_PRISM"));
-
-  globalSelection( GEOM_ALLSHAPES );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PrismDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void GenerationGUI_PrismDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) 
-    {
-      if(myEditCurrentArgument == GroupPoints->LineEdit1)
-       myOkBase = false;
-      else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-       myOkVec = false;
-      return;
-    }
-  
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if (!testResult)
-    return;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1) {
-    myOkBase = false;
-    TopoDS_Shape S;
-    
-    if ( !GEOMBase::GetShape(aSelectedObject, S) ||
-        S.ShapeType() <= 2)
-      return;
-    
-    myBase = aSelectedObject;
-    myOkBase = true;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2) {
-    myVec = aSelectedObject;
-    myOkVec = true;
-  }
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  globalSelection( GEOM_ALLSHAPES );
-
-  if(send == GroupPoints->PushButton1) {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  }
-  else if(send == GroupPoints->PushButton2) {
-    GroupPoints->LineEdit2->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void GenerationGUI_PrismDlg::enterEvent(QEvent * e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-
-//=================================================================================
-// function : getHeight()
-// purpose  :
-//=================================================================================
-double GenerationGUI_PrismDlg::getHeight() const
-{
-  return GroupPoints->SpinBox_DX->GetValue();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr GenerationGUI_PrismDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PrismDlg::isValid( QString& )
-{
-  return myOkBase && myOkVec;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool GenerationGUI_PrismDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-  
-  anObj = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation() )->MakePrismVecH ( myBase, myVec, getHeight() );
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-
-//=================================================================================
-// function :  onReverse()
-// purpose  :
-//=================================================================================
-void GenerationGUI_PrismDlg::onReverse()
-{
-  double anOldValue = GroupPoints->SpinBox_DX->GetValue();
-  GroupPoints->SpinBox_DX->SetValue( -anOldValue );
-}
-
-
-
diff --git a/src/GenerationGUI/GenerationGUI_PrismDlg.h b/src/GenerationGUI/GenerationGUI_PrismDlg.h
deleted file mode 100644 (file)
index ee946ae..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_PrismDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_PRISM_H
-#define DIALOGBOX_PRISM_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
-
-//=================================================================================
-// class    : GenerationGUI_PrismDlg
-// purpose  :
-//=================================================================================
-class GenerationGUI_PrismDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    GenerationGUI_PrismDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GenerationGUI_PrismDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double getHeight() const;
-    
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myBase; /* Base shape */
-    GEOM::GEOM_Object_var myVec;  /* Vector, defining the direction */
-
-    bool myOkBase;
-    bool myOkVec;
-
-    DlgRef_2Sel1Spin2Check* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void onReverse();
-};
-
-#endif // DIALOGBOX_PRISM_H
diff --git a/src/GenerationGUI/GenerationGUI_RevolDlg.cxx b/src/GenerationGUI/GenerationGUI_RevolDlg.cxx
deleted file mode 100644 (file)
index 6856a9f..0000000
+++ /dev/null
@@ -1,363 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_RevolDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "GenerationGUI_RevolDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <gp_Lin.hxx>
-#include <BRepAdaptor_Curve.hxx>
-#include <BRepPrimAPI_MakeRevol.hxx>
-#include <TopExp_Explorer.hxx>
-#include <Standard_ErrorHandler.hxx>
-#include "GEOMImpl_Types.hxx"
-
-#include <qlabel.h>
-#include <qcheckbox.h>
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : GenerationGUI_RevolDlg()
-// purpose  : Constructs a GenerationGUI_RevolDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-GenerationGUI_RevolDlg::GenerationGUI_RevolDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_REVOL")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_REVOLUTION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_REVOLUTION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel1Spin2Check(this, "GroupPoints");
-  GroupPoints->CheckButton1->hide();
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_AXIS"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_ANGLE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  GroupPoints->CheckButton2->setText(tr("GEOM_REVERSE"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~GenerationGUI_RevolDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-GenerationGUI_RevolDlg::~GenerationGUI_RevolDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  myOkBase = myOkAxis = false;
-
-  double SpecificStep = 5;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, SpecificStep, 3);
-  GroupPoints->SpinBox_DX->SetValue(45.0);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX,   SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->CheckButton2, SIGNAL(toggled(bool)),        this, SLOT(onReverse()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-   
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName(tr("GEOM_REVOLUTION"));
-
-  globalSelection( GEOM_ALLSHAPES );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool GenerationGUI_RevolDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-//=======================================================================
-//function : isAcceptableBase
-//purpose  : return true if theBase can be used as algo argument
-//=======================================================================
-
-static bool isAcceptableBase(const TopoDS_Shape& theBase)
-{
-  switch ( theBase.ShapeType() ) {
-  case TopAbs_VERTEX:
-  case TopAbs_EDGE:
-  case TopAbs_WIRE:
-  case TopAbs_FACE:
-  case TopAbs_SHELL:
-    return true;
-  case TopAbs_SOLID:
-  case TopAbs_COMPSOLID:
-    return false;
-  case TopAbs_COMPOUND: {
-    TopExp_Explorer exp( theBase, TopAbs_SOLID);
-    return !exp.More();
-  }
-  default:
-    return false;
-  }
-  return false;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void GenerationGUI_RevolDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1)
-      myOkBase = false;        
-    else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-      myOkAxis = false;
-    return;
-  }
-  
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if (!testResult)
-    return;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1) {
-    TopoDS_Shape S;
-    myOkBase = false;
-    
-    if ( !GEOMBase::GetShape(aSelectedObject, S) || !isAcceptableBase( S ) )
-      return;
-    
-    myBase = aSelectedObject;
-    myOkBase = true;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2) {
-    myAxis = aSelectedObject;
-    myOkAxis = true;
-  }
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  globalSelection( GEOM_ALLSHAPES );
-
-  if(send == GroupPoints->PushButton1) {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  }
-  else if(send == GroupPoints->PushButton2) {
-    GroupPoints->LineEdit2->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::LineEditReturnPressed()
-{  
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : getAngle()
-// purpose  :
-//=================================================================================
-double GenerationGUI_RevolDlg::getAngle() const
-{
-  return GroupPoints->SpinBox_DX->GetValue();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr GenerationGUI_RevolDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool GenerationGUI_RevolDlg::isValid( QString& )
-{
-  return myOkBase && myOkAxis;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool GenerationGUI_RevolDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_I3DPrimOperations::_narrow(
-    getOperation() )->MakeRevolutionAxisAngle( myBase, myAxis, getAngle() * PI180 );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-
-//=================================================================================
-// function :  onReverse()
-// purpose  :
-//=================================================================================
-void GenerationGUI_RevolDlg::onReverse()
-{
-  double anOldValue = GroupPoints->SpinBox_DX->GetValue();
-  GroupPoints->SpinBox_DX->SetValue( -anOldValue );
-}
diff --git a/src/GenerationGUI/GenerationGUI_RevolDlg.h b/src/GenerationGUI/GenerationGUI_RevolDlg.h
deleted file mode 100644 (file)
index f5d7637..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GenerationGUI_RevolDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_REVOLUTION_H
-#define DIALOGBOX_REVOLUTION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
-
-#include <gp_Dir.hxx>
-
-//=================================================================================
-// class    : GenerationGUI_RevolDlg
-// purpose  :
-//=================================================================================
-class GenerationGUI_RevolDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    GenerationGUI_RevolDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GenerationGUI_RevolDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double getAngle() const;
-
-    GeometryGUI* myGeometryGUI;
-
-    GEOM::GEOM_Object_var myBase; /* Base shape */
-    GEOM::GEOM_Object_var myAxis; /* Axis of the revolution */
-    bool myOkBase; 
-    bool myOkAxis;
-
-    DlgRef_2Sel1Spin2Check* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ActivateThisDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void onReverse();
-
-};
-
-#endif // DIALOGBOX_REVOLUTION_H
diff --git a/src/GenerationGUI/Makefile.in b/src/GenerationGUI/Makefile.in
deleted file mode 100644 (file)
index 3ce50cd..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#  GEOM GENERATIONGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libGenerationGUI.la 
-
-LIB_SRC =      GenerationGUI.cxx \
-               GenerationGUI_PrismDlg.cxx \
-               GenerationGUI_RevolDlg.cxx \
-               GenerationGUI_FillingDlg.cxx \
-               GenerationGUI_PipeDlg.cxx
-
-LIB_MOC = \
-               GenerationGUI_PrismDlg.h \
-               GenerationGUI_RevolDlg.h \
-               GenerationGUI_FillingDlg.h \
-               GenerationGUI_PipeDlg.h
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Component.idl SALOME_Exception.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase $(CAS_LDPATH) -lTKOffset
-
-@CONCLUDE@
diff --git a/src/GroupGUI/GroupGUI.cxx b/src/GroupGUI/GroupGUI.cxx
deleted file mode 100644 (file)
index e7a4890..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GroupGUI.cxx
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#include "GroupGUI.h"
-#include "GroupGUI_GroupDlg.h" 
-
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-#include "SUIT_MessageBox.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_Study.h"
-#include "SalomeApp_SelectionMgr.h"
-
-GroupGUI* GroupGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetGroupGUI()
-// purpose  : Get the only GroupGUI object [ static ]
-//=======================================================================
-GroupGUI* GroupGUI::GetGroupGUI(GeometryGUI* parent)
-{
-  if ( myGUIObject == 0 ) 
-    myGUIObject = new GroupGUI(parent);
-
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : GroupGUI()
-// purpose  : Constructor
-//=======================================================================
-GroupGUI::GroupGUI(GeometryGUI* parent)
-: GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~GroupGUI()
-// purpose  : Destructor
-//=======================================================================
-GroupGUI::~GroupGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool GroupGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  QDialog* aDlg = NULL;
-
-  SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
-  if ( !appStudy ) return false;
-  _PTR(Study) aStudy = appStudy->studyDS();
-  
-  if ( aStudy->GetProperties()->IsLocked() ) {
-    SUIT_MessageBox::warn1 ( parent,
-                            QObject::tr("WRN_WARNING"), 
-                            QObject::tr("WRN_STUDY_LOCKED"),
-                            QObject::tr("BUT_OK") );
-    return false;
-  }
-
-  switch ( theCommandID ) {
-  case 800: 
-  case 8001:
-    aDlg = new GroupGUI_GroupDlg( GroupGUI_GroupDlg::CreateGroup, parent, ""); 
-    break;
-  case 801: 
-    {
-      SALOME_ListIO aList;
-      aList.Clear();
-  
-      SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( SUIT_Session::session()->activeApplication() );
-      if ( app ) {
-       SalomeApp_SelectionMgr* aSelMgr = app->selectionMgr();
-       if ( aSelMgr )
-         aSelMgr->selectedObjects( aList );
-      }
-
-      if ( aList.Extent() == 1 ) {
-       Standard_Boolean aResult = Standard_False;
-       GEOM::GEOM_Object_var anObj =
-         GEOMBase::ConvertIOinGEOMObject( aList.First(), aResult );
-
-       if ( aResult && !CORBA::is_nil( anObj ) && anObj->GetType() == GEOM_GROUP ) {
-         aDlg = new GroupGUI_GroupDlg( GroupGUI_GroupDlg::EditGroup,   parent, "" ); 
-         break;
-       }
-      }
-      SUIT_MessageBox::warn1 ( parent,
-                              tr("WRN_WARNING"), 
-                              tr("NO_GROUP"),
-                              tr("BUT_OK") );
-      break;
-    }
-  default: 
-    SUIT_Session::session()->activeApplication()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) ); 
-    break;
-  }
-  
-  if ( aDlg != NULL )
-    aDlg->show();
-  
-  return true;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI(GeometryGUI* p)
-  {
-    return GroupGUI::GetGroupGUI(p);
-  }
-}
diff --git a/src/GroupGUI/GroupGUI.h b/src/GroupGUI/GroupGUI.h
deleted file mode 100644 (file)
index cfe3191..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GroupGUI.h
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef GROUPGUI_H
-#define GROUPGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : GroupGUI
-// purpose  :
-//=================================================================================
-class GroupGUI : public GEOMGUI
-{
-  Q_OBJECT
-
-protected:
-  GroupGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
-
-public :
-  ~GroupGUI();
-
-  // Get the only GroupGUI object
-  static GroupGUI* GetGroupGUI(GeometryGUI* parent);
-
-  bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
-
-private:
-  static GroupGUI* myGUIObject;        // the only GroupGUI object
-};
-
-#endif
diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx
deleted file mode 100644 (file)
index 15b7b03..0000000
+++ /dev/null
@@ -1,655 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GroupGUI_GroupDlg.cxx
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#include "GroupGUI_GroupDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_Study.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "GEOMBase.h"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <qlabel.h>
-#include <qlistbox.h>
-#include <qlineedit.h>
-#include <qmap.h>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-
-
-
-GroupGUI_GroupDlg::GroupGUI_GroupDlg(Mode mode, 
-                                    QWidget* parent, 
-                                    const char* name,
-                                    bool modal, 
-                                    WFlags fl)
-  :GEOMBase_Skeleton( parent, "GroupGUI_GroupDlg", false,
-                     WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu),
-   myMode( mode ), 
-   myBusy( false )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_OBJBROWSER_VERTEX" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_OBJBROWSER_EDGE" ) ) );
-  QPixmap image2( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_OBJBROWSER_FACE" ) ) );
-  QPixmap image3( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_OBJBROWSER_SOLID" ) ) );
-  
-  QPixmap iconSelect( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
-
-  setCaption( myMode == CreateGroup ? tr( "CREATE_GROUP_TITLE" ) : tr( "EDIT_GROUP_TITLE" ) );
-
-  // Shape type button group
-  GroupConstructors->setEnabled( myMode == CreateGroup );
-  GroupConstructors->setTitle( tr( "SHAPE_TYPE" ) );
-  RadioButton1->setPixmap( image0 );
-  RadioButton2->setPixmap( image1 );
-  RadioButton3->setPixmap( image2 );
-  RadioButton4->setPixmap( image3 );
-  RadioButton4->show();
-
-  // Group name
-  GroupBoxName->setTitle( tr( "GROUP_NAME" ) );
-
-  // Main shape and sub-shapes
-  GroupMedium = new QGroupBox( 1, Qt::Vertical, tr( "MAIN_SUB_SHAPES" ), this );
-  GroupMedium->setInsideMargin( 10 );
-  Layout1->addWidget( GroupMedium, 2, 0 );
-
-  QWidget* aFrame = new QWidget( GroupMedium );
-  QGridLayout* aMedLayout = new QGridLayout( aFrame, 4, 4, 0, 6 );
-
-  QLabel* aMainLabel = new QLabel( tr( "MAIN_SHAPE" ), aFrame );
-
-  mySelBtn = new QPushButton( aFrame );
-  mySelBtn->setPixmap( iconSelect );
-  mySelBtn->setEnabled( myMode == CreateGroup );
-
-  myMainName = new QLineEdit( aFrame );
-  myMainName->setReadOnly( true );
-  myMainName->setEnabled( myMode == CreateGroup );
-  
-  mySelSubBtn = new QPushButton( tr( "SELECT_SUB_SHAPES" ), aFrame );  
-  mySelAllBtn = new QPushButton( tr( "SELECT_ALL" ), aFrame );  
-  myAddBtn    = new QPushButton( tr( "ADD" ), aFrame );  
-  myRemBtn    = new QPushButton( tr( "REMOVE" ), aFrame );  
-  myIdList    = new QListBox( aFrame );
-  
-  myIdList->setSelectionMode( QListBox::Extended );
-  myIdList->setRowMode( QListBox::FitToWidth );
-
-  aMedLayout->addWidget( aMainLabel, 0, 0 );
-  aMedLayout->addWidget( mySelBtn, 0, 1 );
-  aMedLayout->addMultiCellWidget( myMainName, 0, 0, 2, 3 );
-  aMedLayout->addMultiCellWidget( mySelSubBtn, 1, 1, 0, 2 );
-  aMedLayout->addWidget( mySelAllBtn, 1, 3 );
-  aMedLayout->addMultiCellWidget( myIdList, 2, 3, 0, 2 );
-  aMedLayout->addWidget( myAddBtn, 2, 3 );
-  aMedLayout->addWidget( myRemBtn, 3, 3 );
-
-  Init();
-}
-
-GroupGUI_GroupDlg::~GroupGUI_GroupDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::Init()
-{
-  // san -- TODO: clear selected sub-shapes...
-
-  if ( myMode == CreateGroup ) {
-    initName( tr( "GROUP_PREFIX" ) );
-
-    // Get ready for main shape selection
-    myEditCurrentArgument = myMainName;
-
-    connect( GroupConstructors, SIGNAL( clicked( int ) ),            this, SLOT( ConstructorsClicked( int ) ) );
-    connect( mySelBtn,          SIGNAL( clicked() ),                 this, SLOT(SetEditCurrentArgument()));
-  }
-  else if ( myMode == EditGroup && IObjectCount() ) {
-    Standard_Boolean aResult = Standard_False;
-    GEOM::GEOM_Object_var anObj =
-      GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-    
-    if ( aResult && !CORBA::is_nil( anObj ) && anObj->GetType() == GEOM_GROUP ) {
-      myGroup = anObj;
-
-      ResultName->setText( GEOMBase::GetName( myGroup ) );
-
-      GEOM::GEOM_IGroupOperations_var anOp = GEOM::GEOM_IGroupOperations::_narrow( getOperation() );
-      myMainObj = anOp->GetMainShape( myGroup );
-      if ( !CORBA::is_nil( myMainObj ) )
-       myMainName->setText( GEOMBase::GetName( myMainObj ) );
-
-      setShapeType( (TopAbs_ShapeEnum)anOp->GetType( myGroup ) );
-
-      GEOM::ListOfLong_var aCurrList = anOp->GetObjects( myGroup );
-      QListBoxItem* anItem;
-      for ( int i = 0, n = aCurrList->length(); i < n; i++ ) {
-       anItem = new QListBoxText( QString( "%1" ).arg(aCurrList[i] ) );
-       myIdList->insertItem( anItem );
-      }
-
-      myEditCurrentArgument = 0;
-    }
-  }
-
-  connect( buttonOk   , SIGNAL( clicked() ), this, SLOT( ClickOnOk()    ) );
-  connect( buttonApply, SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
-
-  connect( mySelSubBtn, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
-  connect( mySelAllBtn, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-          SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
-  connect( mySelAllBtn, SIGNAL( clicked() ), this, SLOT( selectAllSubShapes() ) );
-  connect( myAddBtn,    SIGNAL( clicked() ), this, SLOT( add() ) );
-  connect( myRemBtn,    SIGNAL( clicked() ), this, SLOT( remove() ) );
-  connect( myIdList,    SIGNAL( selectionChanged() ), this, SLOT( selectionChanged() ) );
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::enterEvent( QEvent* e )
-{
-  if ( !buttonCancel->isEnabled() )
-    this->ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool GroupGUI_GroupDlg::ClickOnApply()
-{
-  if ( !onAccept( myMode == CreateGroup, true ) )
-    return false;
-
-  if ( myMode == CreateGroup )
-    initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
-
-  activateSelection();
-}
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = ( QLineEdit* )sender();
-  
-  if ( send == myMainName && !myEditCurrentArgument ) {
-    myEditCurrentArgument = myMainName;
-    activateSelection();
-  }
-  else
-    GEOMBase_Skeleton::LineEditReturnPressed();
-
-  updateState();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if ( send == mySelBtn )
-    myEditCurrentArgument = myMainName;
-  else if ( send == mySelSubBtn || send == mySelAllBtn )
-    myEditCurrentArgument = 0;
-
-  activateSelection();
-  updateState();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void GroupGUI_GroupDlg::SelectionIntoArgument()
-{
-  if ( myEditCurrentArgument ) {  // Selection of a main shape is active
-    myEditCurrentArgument->setText( "" );
-    
-    if ( IObjectCount() == 1 ) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() && GEOMBase::IsShape( anObj ) ) {
-        myMainObj = anObj;
-        myEditCurrentArgument->setText( GEOMBase::GetName( anObj ) );
-        updateState();
-       return;
-      }
-    }
-
-    myMainObj = GEOM::GEOM_Object::_nil();
-  }
-  else {  // an attempt to synchronize list box selection with 3d viewer
-    if ( myBusy )
-      return;
-
-    bool isBlocked = myIdList->signalsBlocked();
-    myIdList->blockSignals( true );
-    myIdList->clearSelection();
-
-    if ( IObjectCount() == 1 ) {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-       GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-      
-      if ( aResult && !anObj->_is_nil() ) {
-       QMap<int, int> aMap;
-       for ( int i = 0, n = myIdList->count(); i < n; i++ )
-         aMap.insert( myIdList->item( i )->text().toInt(), i );
-       
-       TColStd_IndexedMapOfInteger aMapIndex;
-       ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
-       for ( int ii = 1, nn = aMapIndex.Extent(); ii <= nn; ii++ ) {
-         if ( aMap.contains( aMapIndex( ii ) ) )
-           myIdList->setSelected( aMap[aMapIndex( ii )], true );
-       }
-      }
-    }
-
-    myIdList->blockSignals( isBlocked );
-  }
-
-  updateState();
-}
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void GroupGUI_GroupDlg::ConstructorsClicked( int constructorId )
-{
-  myIdList->clear();
-  activateSelection();
-  updateState();
-}
-
-//=================================================================================
-// function : selectAllSubShapes
-// purpose  : 
-//=================================================================================
-void GroupGUI_GroupDlg::selectAllSubShapes()
-{
-  if ( CORBA::is_nil( myMainObj ) )
-    return;
-
-  GEOM::GEOM_IShapesOperations_var aShOp = getGeomEngine()->GetIShapesOperations( getStudyId() );
-  GEOM::GEOM_ILocalOperations_var aLocOp = getGeomEngine()->GetILocalOperations( getStudyId() );
-
-  GEOM::ListOfGO_var aSubShapes = aShOp->MakeExplode( myMainObj, getShapeType(), false );
-  if ( !aShOp->IsDone() )
-    return;
-
-  bool isBlocked = myIdList->signalsBlocked();
-  myIdList->blockSignals( true );
-  myIdList->clear();
-  
-  QListBoxItem* anItem;
-  for ( int i = 0, n = aSubShapes->length(); i < n; i++ ) {
-    CORBA::Long anIndex = aLocOp->GetSubShapeIndex( myMainObj, aSubShapes[i] );
-    if ( anIndex < 0 )
-      continue;
-
-    anItem = new QListBoxText( QString( "%1" ).arg( anIndex ) );
-    myIdList->insertItem( anItem );
-    myIdList->setSelected( anItem, true );
-  }
-
-  myIdList->blockSignals( isBlocked );
-  highlightSubShapes();
-  updateState();
-}
-
-//=================================================================================
-// function : add
-// purpose  : 
-//=================================================================================
-void GroupGUI_GroupDlg::add()
-{
-  TColStd_MapOfInteger aMap;
-  for ( int i = 0, n = myIdList->count(); i < n; i++ )
-    aMap.Add( myIdList->item( i )->text().toInt() );
-
-  if ( IObjectCount() == 1 ) {
-    Standard_Boolean aResult = Standard_False;
-    GEOM::GEOM_Object_var anObj =
-      GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-    if ( aResult && !anObj->_is_nil() ) {
-      TColStd_IndexedMapOfInteger aMapIndex;
-      ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
-      QListBoxItem* anItem;
-      bool isBlocked = myIdList->signalsBlocked();
-      myIdList->blockSignals( true );
-
-      for ( int i = 1, n = aMapIndex.Extent(); i <= n; i++ ) {
-       if ( aMap.Contains( aMapIndex( i ) ) )
-         continue;
-
-       anItem = new QListBoxText( QString( "%1" ).arg( aMapIndex( i ) ) );
-       myIdList->insertItem( anItem );
-       myIdList->setSelected( anItem, true );
-      }
-
-      myIdList->blockSignals( isBlocked );
-    }
-  }
-  updateState();
-}
-
-//=================================================================================
-// function : remove
-// purpose  : 
-//=================================================================================
-void GroupGUI_GroupDlg::remove()
-{
-  for ( int i = myIdList->count() - 1; i >= 0; i-- ) {
-    if ( myIdList->isSelected( i ) ) 
-      myIdList->removeItem( i );
-  }
-  updateState();
-}
-
-
-//=================================================================================
-// function : getConstructorId()
-// purpose  :
-//=================================================================================
-int GroupGUI_GroupDlg::getConstructorId() const
-{
-  return GroupConstructors->id( GroupConstructors->selected() );
-}
-
-//=================================================================================
-// function : getShapeType()
-// purpose  :
-//=================================================================================
-TopAbs_ShapeEnum GroupGUI_GroupDlg::getShapeType() const
-{
-  switch ( getConstructorId() ) {
-  case 0:  return TopAbs_VERTEX;
-  case 1:  return TopAbs_EDGE;
-  case 2:  return TopAbs_FACE;
-  case 3:  return TopAbs_SOLID;
-  default: return TopAbs_SHAPE;
-  }
-}
-
-//=================================================================================
-// function : setShapeType()
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::setShapeType( const TopAbs_ShapeEnum theType )
-{
-  int anId = 0;
-  switch ( theType ) {
-  case TopAbs_VERTEX: anId = 0; break;
-  case TopAbs_EDGE:   anId = 1; break;
-  case TopAbs_FACE:   anId = 2; break;
-  case TopAbs_SOLID:  anId = 3; break;
-  }  
-  GroupConstructors->setButton( anId );
-}
-
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection in accordance with myEditCurrentArgument
-//=================================================================================
-void GroupGUI_GroupDlg::activateSelection()
-{
-  globalSelection( GEOM_ALLSHAPES );
-
-  if ( !myMainObj->_is_nil() && !myEditCurrentArgument ) {
-    localSelection( myMainObj, getShapeType() );
-  }
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : updateState
-// purpose  : 
-//=================================================================================
-void GroupGUI_GroupDlg::updateState()
-{
-  bool isAdd = false;
-  if ( IObjectCount() == 1 ) {
-    Standard_Boolean aResult = Standard_False;
-    GEOM::GEOM_Object_var anObj =
-      GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-    if ( aResult && !anObj->_is_nil() ) {
-      TColStd_IndexedMapOfInteger aMapIndex;
-      ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
-      isAdd = aMapIndex.Extent() > 0;
-    }
-  }
-  myAddBtn->setEnabled( !myEditCurrentArgument && !CORBA::is_nil( myMainObj ) && isAdd );
-  bool hasSel = false;
-  for ( int ii = 0, nn = myIdList->count(); !hasSel && ii < nn; ii++ )
-    hasSel =  myIdList->isSelected( ii );
-  myRemBtn->setEnabled( hasSel );
-  mySelSubBtn->setEnabled( !CORBA::is_nil( myMainObj ) );
-  mySelAllBtn->setEnabled( !CORBA::is_nil( myMainObj ) );
-}
-
-//=================================================================================
-// function : selectionChanged
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::selectionChanged()
-{
-  highlightSubShapes();
-}
-
-//=================================================================================
-// function : highlightSubShapes
-// purpose  :
-//=================================================================================
-void GroupGUI_GroupDlg::highlightSubShapes()
-{
-  if ( CORBA::is_nil( myMainObj ) )
-    return;
-
-  Standard_Boolean isOk;
-  Handle(GEOM_AISShape) aSh = 
-    GEOMBase::ConvertIORinGEOMAISShape( GEOMBase::GetIORFromObject( myMainObj ), isOk, true );
-  if ( !isOk || aSh.IsNull() )
-    return;
-
-  TColStd_MapOfInteger anIds;
-
-  myBusy = true;
-
-  for ( int ii = 0, nn = myIdList->count(); ii < nn; ii++ )
-    if ( myIdList->isSelected( ii ) )
-      anIds.Add( myIdList->item( ii )->text().toInt() );    
-
-  SalomeApp_SelectionMgr* aSelMgr = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
-  aSelMgr->clearSelected();
-  aSelMgr->AddOrRemoveIndex( aSh->getIO(), anIds, false );
-
-  myBusy = false;
-
-  updateState();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr GroupGUI_GroupDlg::createOperation()
-{
-  return getGeomEngine()->GetIGroupOperations( getStudyId() );
-}
-
-#define RETURN_WITH_MSG(a, b) \
-  if ( !(a) ) { \
-    theMessage += (b); \
-    return false; \
-  }
-
-//=================================================================================
-// function : isValid()
-// purpose  : Verify validity of input data
-//=================================================================================
-bool GroupGUI_GroupDlg::isValid( QString& theMessage )
-{
-  SalomeApp_Study* study = getStudy();
-  ASSERT(study);
-  RETURN_WITH_MSG  ( !study->studyDS()->GetProperties()->IsLocked(), tr( "GEOM_STUDY_LOCKED" ) )
-
-  if ( myMode == CreateGroup ) {
-    RETURN_WITH_MSG( !CORBA::is_nil( myMainObj ), tr( "NO_MAIN_OBJ" ) )
-  }
-  else {
-    RETURN_WITH_MSG( !CORBA::is_nil( myMainObj ), tr( "NO_GROUP" ) )
-  }
-
-  const char* aName = getNewObjectName();
-  RETURN_WITH_MSG  ( aName && strlen( aName ), tr( "EMPTY_NAME" ) )
-
-  RETURN_WITH_MSG  ( myIdList->count(), tr( "EMPTY_LIST" ) )
-  return true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool GroupGUI_GroupDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_IGroupOperations_var anOp = GEOM::GEOM_IGroupOperations::_narrow( getOperation() );
-  
-  GEOM::GEOM_Object_var aGroup;
-  if ( myMode == CreateGroup ) 
-    aGroup = anOp->CreateGroup( myMainObj, getShapeType() );
-  else if ( myMode == EditGroup )
-    aGroup = myGroup;
-
-  if ( CORBA::is_nil( aGroup ) || ( myMode == CreateGroup && !anOp->IsDone() ) )
-    return false;
-
-  GEOM::ListOfLong_var aCurrList = anOp->GetObjects( aGroup );
-  if ( !anOp->IsDone()  )
-    return false;
-
-  for ( int i = 0, n = aCurrList->length(); i < n; i++ ) {
-    anOp->RemoveObject( aGroup, aCurrList[i] );
-    if ( !anOp->IsDone()  )
-      return false;
-  }
-
-  for ( int ii = 0, nn = myIdList->count(); ii < nn; ii++ ) {
-    anOp->AddObject( aGroup, myIdList->item( ii )->text().toInt() );    
-    if ( !anOp->IsDone()  )
-      return false;
-  }
-
-  SalomeApp_Study* study = getStudy();
-  if ( study ) {
-    string IOR = GEOMBase::GetIORFromObject( aGroup );
-    if ( IOR != "" ) {
-      _PTR(SObject) SO ( study->studyDS()->FindObjectIOR( IOR ) );
-      if ( SO ) { 
-       _PTR(StudyBuilder) aBuilder (study->studyDS()->NewBuilder());
-       aBuilder->SetName( SO, getNewObjectName() );
-      }
-    }
-  }
-
-  objects.push_back( aGroup._retn() );
-
-  return true;
-}
-
-//================================================================
-// Function : getFather
-// Purpose  : Get father object for object to be added in study
-//            ( called with addInStudy method )
-//================================================================
-GEOM::GEOM_Object_ptr GroupGUI_GroupDlg::getFather( GEOM::GEOM_Object_ptr theObj )
-{
-  GEOM::GEOM_Object_var aFatherObj;
-  if ( theObj->GetType() == GEOM_GROUP ) {
-    GEOM::GEOM_IGroupOperations_var anOp = GEOM::GEOM_IGroupOperations::_narrow( getOperation() );
-    aFatherObj = anOp->GetMainShape( theObj );
-  }
-  return aFatherObj._retn();
-}
diff --git a/src/GroupGUI/GroupGUI_GroupDlg.h b/src/GroupGUI/GroupGUI_GroupDlg.h
deleted file mode 100644 (file)
index 75879c5..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.org 
-//
-//
-//
-//  File   : GroupGUI_GroupDlg.h
-//  Author : Sergey ANIKIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef GROUPGUI_GROUPDLG_H
-#define GROUPGUI_GROUPDLG_H
-
-#include "GEOMBase_Skeleton.h"
-
-#include <TopAbs_ShapeEnum.hxx>
-
-class QLineEdit;
-class QListBox;
-
-//=================================================================================
-// class    : GroupGUI_GroupDlg
-// purpose  :
-//=================================================================================
-class GroupGUI_GroupDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    typedef enum {
-      CreateGroup,
-      EditGroup
-    } Mode;
-
-    GroupGUI_GroupDlg(Mode mode, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~GroupGUI_GroupDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& msg );
-    virtual bool execute( ObjectList& objects );
-    virtual GEOM::GEOM_Object_ptr getFather( GEOM::GEOM_Object_ptr theObj );
-
-    
-private slots:
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-    void                                SetEditCurrentArgument();
-    void                                ConstructorsClicked( int constructorId );
-
-    void                                selectAllSubShapes();
-    void                                add();
-    void                                remove();
-    void                                selectionChanged();
-
-private:
-    void                                Init();
-    void                                enterEvent( QEvent* e );
-    int                                 getConstructorId() const;    
-    TopAbs_ShapeEnum                    getShapeType() const;
-    void                                setShapeType( const TopAbs_ShapeEnum );
-    void                                activateSelection();
-    void                                updateState();
-    void                                highlightSubShapes();
-
-private:
-    Mode                  myMode;
-    bool                  myBusy;
-    GEOM::GEOM_Object_var myMainObj;
-    GEOM::GEOM_Object_var myGroup;
-    
-    QPushButton*          mySelBtn;
-    QLineEdit*            myMainName;
-    QPushButton*          mySelSubBtn;
-    QPushButton*          mySelAllBtn;
-    QPushButton*          myAddBtn;
-    QPushButton*          myRemBtn;
-    QListBox*             myIdList;
-};
-
-#endif
diff --git a/src/GroupGUI/Makefile.in b/src/GroupGUI/Makefile.in
deleted file mode 100755 (executable)
index 26a351a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#  GEOM BUILDGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Sergey ANIKIN (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libGroupGUI.la 
-
-LIB_SRC =      GroupGUI.cxx \
-               GroupGUI_GroupDlg.cxx 
-
-LIB_MOC =      GroupGUI.h \
-               GroupGUI_GroupDlg.h 
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Component.idl SALOME_Exception.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/IGESExport/IGESExport.cxx b/src/IGESExport/IGESExport.cxx
deleted file mode 100644 (file)
index 463f31c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-// File:       IGESExport.cxx
-// Created:    Wed May 19 14:49:45 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <IGESControl_Controller.hxx>
-#include <IGESControl_Writer.hxx>
-#include <Interface_Static.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
-  {
-    MESSAGE("Export IGES into file " << theFileName.ToCString());
-    try 
-      {
-       //VRV: OCC 4.0 migration
-       IGESControl_Controller::Init();
-       IGESControl_Writer ICW (Interface_Static::CVal("XSTEP.iges.unit"),
-                               Interface_Static::IVal("XSTEP.iges.writebrep.mode"));
-       //VRV: OCC 4.0 migration
-       
-       ICW.AddShape( theShape );
-       ICW.ComputeModel();
-       if ( ICW.Write( theFileName.ToCString() ) )
-         return 1;
-      }
-    catch(Standard_Failure) 
-      {
-       //THROW_SALOME_CORBA_EXCEPTION("Exception catched in IGESExport", SALOME::BAD_PARAM);
-      }
-    return 0;
-  }
-}
diff --git a/src/IGESExport/Makefile.in b/src/IGESExport/Makefile.in
deleted file mode 100644 (file)
index d9abe4c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB= libIGESExport.la
-
-LIB_SRC = IGESExport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKIGES -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/IGESImport/IGESImport.cxx b/src/IGESImport/IGESImport.cxx
deleted file mode 100644 (file)
index 840f258..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// File:       IGESImport.cxx
-// Created:    Wed May 19 14:36:35 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <IFSelect_ReturnStatus.hxx>
-#include <IGESControl_Reader.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
-                       TCollection_AsciiString&       theError)
-  {
-    IGESControl_Reader aReader;
-    TopoDS_Shape aResShape;
-    try {
-      IFSelect_ReturnStatus status = aReader.ReadFile(theFileName.ToCString());
-
-      if (status == IFSelect_RetDone) {
-        MESSAGE("ImportIGES : all Geometry Transfer");
-        //OCC 5.1.2 porting
-        //     aReader.Clear();
-        //     aReader.TransferRoots(false);
-        aReader.ClearShapes();
-        aReader.TransferRoots();
-
-        MESSAGE("ImportIGES : count of shapes produced = " << aReader.NbShapes());
-        aResShape = aReader.OneShape();
-
-      } else {
-//        switch (status) {
-//        case IFSelect_RetVoid:
-//          theError = "Nothing created or No data to process";
-//          break;
-//        case IFSelect_RetError:
-//          theError = "Error in command or input data";
-//          break;
-//        case IFSelect_RetFail:
-//          theError = "Execution was run, but has failed";
-//          break;
-//        case IFSelect_RetStop:
-//          theError = "Execution has been stopped. Quite possible, an exception was raised";
-//          break;
-//        default:
-//          break;
-//        }
-        theError = "Wrong format of the imported file. Can't import file.";
-       aResShape.Nullify();
-      }
-    }
-    catch(Standard_Failure) {
-      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-      theError = aFail->GetMessageString();
-      aResShape.Nullify();
-    }
-    return aResShape;
-  }
-}
diff --git a/src/IGESImport/Makefile.in b/src/IGESImport/Makefile.in
deleted file mode 100644 (file)
index e9aaaa8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB= libIGESImport.la
-
-LIB_SRC = IGESImport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKIGES -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/Makefile.in b/src/Makefile.in
deleted file mode 100644 (file)
index fe15b01..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-SUBDIRS = OBJECT ARCHIMEDE NMTDS NMTTools NMTAlgo GEOMAlgo SKETCHER GEOM BREPExport BREPImport IGESExport IGESImport STEPExport STEPImport ShHealOper GEOMImpl GEOM_I GEOMClient DlgRef GEOMFiltersSelection GEOMGUI GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI RepairGUI MeasureGUI GroupGUI BlocksGUI GEOM_I_Superv GEOM_SWIG
-
-@MODULE@
diff --git a/src/MeasureGUI/Makefile.in b/src/MeasureGUI/Makefile.in
deleted file mode 100644 (file)
index 7bb4af6..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-#  GEOM MEASUREGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libMeasureGUI.la 
-
-LIB_SRC =      MeasureGUI.cxx \
-               MeasureGUI_Skeleton_QTD.cxx \
-               MeasureGUI_1Sel3LineEdit_QTD.cxx \
-               MeasureGUI_1Sel6LineEdit_QTD.cxx \
-               MeasureGUI_1Sel12LineEdit_QTD.cxx \
-               MeasureGUI_1Sel1TextView_QTD.cxx \
-               MeasureGUI_2Sel1LineEdit_QTD.cxx \
-               MeasureGUI_Skeleton.cxx \
-               MeasureGUI_PropertiesDlg.cxx \
-               MeasureGUI_CenterMassDlg.cxx \
-               MeasureGUI_InertiaDlg.cxx \
-               MeasureGUI_BndBoxDlg.cxx \
-               MeasureGUI_DistanceDlg.cxx \
-               MeasureGUI_MaxToleranceDlg.cxx \
-               MeasureGUI_WhatisDlg.cxx \
-               MeasureGUI_CheckShapeDlg.cxx \
-               MeasureGUI_CheckCompoundOfBlocksDlg.cxx \
-               MeasureGUI_PointDlg.cxx
-
-LIB_MOC = \
-               MeasureGUI_Skeleton_QTD.h \
-               MeasureGUI_1Sel3LineEdit_QTD.h \
-               MeasureGUI_1Sel6LineEdit_QTD.h \
-               MeasureGUI_1Sel12LineEdit_QTD.h \
-               MeasureGUI_1Sel1TextView_QTD.h \
-               MeasureGUI_2Sel1LineEdit_QTD.h \
-               MeasureGUI_Skeleton.h \
-               MeasureGUI_PropertiesDlg.h \
-               MeasureGUI_CenterMassDlg.h \
-               MeasureGUI_InertiaDlg.h \
-               MeasureGUI_BndBoxDlg.h \
-               MeasureGUI_DistanceDlg.h \
-               MeasureGUI_MaxToleranceDlg.h \
-               MeasureGUI_WhatisDlg.h \
-               MeasureGUI_CheckShapeDlg.h \
-               MeasureGUI_CheckCompoundOfBlocksDlg.h \
-               MeasureGUI_PointDlg.h    
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/MeasureGUI/MeasureGUI.cxx b/src/MeasureGUI/MeasureGUI.cxx
deleted file mode 100644 (file)
index b49f9ee..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI.h"
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-
-#include "SalomeApp_Tools.h"
-
-#include "MeasureGUI_PropertiesDlg.h"    // Method PROPERTIES
-#include "MeasureGUI_CenterMassDlg.h"    // Method CENTER MASS
-#include "MeasureGUI_InertiaDlg.h"       // Method INERTIA
-#include "MeasureGUI_BndBoxDlg.h"        // Method BNDBOX
-#include "MeasureGUI_DistanceDlg.h"      // Method DISTANCE
-#include "MeasureGUI_MaxToleranceDlg.h"  // Method MAXTOLERANCE
-#include "MeasureGUI_WhatisDlg.h"        // Method WHATIS
-#include "MeasureGUI_CheckShapeDlg.h"    // Method CHECKSHAPE
-#include "MeasureGUI_CheckCompoundOfBlocksDlg.h" // Method CHECKCOMPOUND
-#include "MeasureGUI_PointDlg.h"         // Method POINTCOORDINATES
-
-MeasureGUI* MeasureGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetMeasureGUI()
-// purpose  : Get the only MeasureGUI object [ static ]
-//=======================================================================
-MeasureGUI* MeasureGUI::GetMeasureGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init MeasureGUI only once
-    myGUIObject = new MeasureGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : MeasureGUI()
-// purpose  : Constructor
-//=======================================================================
-MeasureGUI::MeasureGUI( GeometryGUI* parent ) : GEOMGUI( parent )
-{
-}
-
-
-//=======================================================================
-// function : ~MeasureGUI()
-// purpose  : Destructor
-//=======================================================================
-MeasureGUI::~MeasureGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool MeasureGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  MeasureGUI* myMeasureGUI = GetMeasureGUI( getGeometryGUI() );
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-
-  switch ( theCommandID )
-  {
-    case 701   : new MeasureGUI_PropertiesDlg  ( getGeometryGUI(), parent ); break;  // LENGTH, AREA AND VOLUME
-    case 702   : new MeasureGUI_CenterMassDlg  ( parent ); break;  // CENTER MASS
-    case 703   : new MeasureGUI_InertiaDlg     ( getGeometryGUI(), parent ); break;  // INERTIA
-    case 7041  : new MeasureGUI_BndBoxDlg      ( getGeometryGUI(), parent ); break;  // BOUNDING BOX
-    case 7042  : new MeasureGUI_DistanceDlg    ( getGeometryGUI(), parent ); break;  // MIN DISTANCE
-    case 705   : new MeasureGUI_MaxToleranceDlg( getGeometryGUI(), parent ); break;  // MAXTOLERANCE
-    case 706   : new MeasureGUI_WhatisDlg      ( getGeometryGUI(), parent ); break;  // WHATIS
-    case 707   : new MeasureGUI_CheckShapeDlg  ( getGeometryGUI(), parent ); break;  // CHECKSHAPE
-    case 7072  : new MeasureGUI_CheckCompoundOfBlocksDlg  ( getGeometryGUI(), parent ); break;  // CHECKCOMPOUND
-    case 708   : new MeasureGUI_PointDlg       ( getGeometryGUI(), parent ); break;  // POINT COORDINATES
-    
-    default: 
-      SUIT_Session::session()->activeApplication()->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) ); 
-      break;
-  }
-  return true;
-}
-
-
-//=====================================================================================
-// function : MakeCDGAndDisplay()
-// purpose  :
-//=====================================================================================
-/*void MeasureGUI::MakeCDGAndDisplay(GEOM::GEOM_Shape_ptr Shape)
-{
-  QAD_Application::getDesktop()->putInfo("MakeCDGAndDisplay method from MeasureGUI should be reimplemented ...");
-  
-  try {
-    GEOM::GEOM_Shape_var result = myGeom->MakeCDG(Shape);
-    if(result->_is_nil()) {
-      QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_ABORT"));
-      return;
-    }
-    result->NameType(tr("GEOM_POINT"));
-    if(myGeomBase->Display(result))
-      QAD_Application::getDesktop()->putInfo(tr("GEOM_PRP_DONE"));
-  }  
-  catch(const SALOME::SALOME_Exception& S_ex) {
-    SalomeApp_Tools::QtCatchCorbaException(S_ex);
-    }
-  
-  return;
-}
-*/
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return MeasureGUI::GetMeasureGUI( parent );
-  }
-}
diff --git a/src/MeasureGUI/MeasureGUI.h b/src/MeasureGUI/MeasureGUI.h
deleted file mode 100644 (file)
index 2a34e5e..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef MEASUREGUI_H
-#define MEASUREGUI_H
-
-#include "GEOMGUI.h"
-
-//=================================================================================
-// class    : MeasureGUI
-// purpose  :
-//=================================================================================
-class MeasureGUI : public GEOMGUI
-{
-protected:
-                              MeasureGUI( GeometryGUI* parent ); 
-
-public :
-                              ~MeasureGUI();
-  static MeasureGUI*          GetMeasureGUI( GeometryGUI* parent );
-  bool                        OnGUIEvent( int , SUIT_Desktop* );
-
-private:
-  static MeasureGUI*          myGUIObject;
-};
-
-#endif
diff --git a/src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.cxx b/src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.cxx
deleted file mode 100644 (file)
index a83fbe4..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_1Sel12LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_1Sel12LineEdit_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_1Sel12LineEdit_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-MeasureGUI_1Sel12LineEdit_QTD::MeasureGUI_1Sel12LineEdit_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_1Sel12LineEdit_QTD" );
-    resize( 131, 171 ); 
-    setCaption( trUtf8( "MeasureGUI_1Sel12LineEdit_QTD" ) );
-    MeasureGUI_1Sel12LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_1Sel12LineEdit_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    LineEdit12 = new QLineEdit( GroupBox1, "LineEdit12" );
-
-    Layout2->addWidget( LineEdit12, 0, 2 );
-
-    LineEdit11 = new QLineEdit( GroupBox1, "LineEdit11" );
-
-    Layout2->addWidget( LineEdit11, 0, 1 );
-
-    LineEdit42 = new QLineEdit( GroupBox1, "LineEdit42" );
-
-    Layout2->addWidget( LineEdit42, 3, 2 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 3, 0 );
-
-    LineEdit31 = new QLineEdit( GroupBox1, "LineEdit31" );
-
-    Layout2->addWidget( LineEdit31, 2, 1 );
-
-    LineEdit41 = new QLineEdit( GroupBox1, "LineEdit41" );
-
-    Layout2->addWidget( LineEdit41, 3, 1 );
-
-    LineEdit23 = new QLineEdit( GroupBox1, "LineEdit23" );
-
-    Layout2->addWidget( LineEdit23, 1, 3 );
-
-    LineEdit33 = new QLineEdit( GroupBox1, "LineEdit33" );
-
-    Layout2->addWidget( LineEdit33, 2, 3 );
-
-    LineEdit43 = new QLineEdit( GroupBox1, "LineEdit43" );
-
-    Layout2->addWidget( LineEdit43, 3, 3 );
-
-    LineEdit22 = new QLineEdit( GroupBox1, "LineEdit22" );
-
-    Layout2->addWidget( LineEdit22, 1, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 0 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 2, 0 );
-
-    LineEdit13 = new QLineEdit( GroupBox1, "LineEdit13" );
-
-    Layout2->addWidget( LineEdit13, 0, 3 );
-
-    LineEdit32 = new QLineEdit( GroupBox1, "LineEdit32" );
-
-    Layout2->addWidget( LineEdit32, 2, 2 );
-
-    LineEdit21 = new QLineEdit( GroupBox1, "LineEdit21" );
-
-    Layout2->addWidget( LineEdit21, 1, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 1, 0 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    MeasureGUI_1Sel12LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_1Sel12LineEdit_QTD::~MeasureGUI_1Sel12LineEdit_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.h b/src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.h
deleted file mode 100644 (file)
index 6d63c89..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_1Sel12LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_1SEL12LINEEDIT_QTD_H
-#define MEASUREGUI_1SEL12LINEEDIT_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class MeasureGUI_1Sel12LineEdit_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_1Sel12LineEdit_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~MeasureGUI_1Sel12LineEdit_QTD();
-
-    QGroupBox* GroupBox1;
-    QLineEdit* LineEdit12;
-    QLineEdit* LineEdit11;
-    QLineEdit* LineEdit42;
-    QLabel* TextLabel5;
-    QLineEdit* LineEdit31;
-    QLineEdit* LineEdit41;
-    QLineEdit* LineEdit23;
-    QLineEdit* LineEdit33;
-    QLineEdit* LineEdit43;
-    QLineEdit* LineEdit22;
-    QLabel* TextLabel2;
-    QLabel* TextLabel4;
-    QLineEdit* LineEdit13;
-    QLineEdit* LineEdit32;
-    QLineEdit* LineEdit21;
-    QLabel* TextLabel3;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton1;
-    QLabel* TextLabel1;
-
-
-protected:
-    QGridLayout* MeasureGUI_1Sel12LineEdit_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // MEASUREGUI_1SEL12LINEEDIT_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.cxx b/src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.cxx
deleted file mode 100644 (file)
index c5c2263..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_1Sel1TextView_QTD.ui'
-**
-** Created: mar oct 28 14:01:15 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_1Sel1TextView_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qtextedit.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_1Sel1TextView_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-MeasureGUI_1Sel1TextView_QTD::MeasureGUI_1Sel1TextView_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_1Sel1TextView_QTD" );
-    resize( 130, 160 ); 
-    setCaption( trUtf8( "MeasureGUI_1Sel1TextView_QTD" ) );
-    MeasureGUI_1Sel1TextView_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_1Sel1TextView_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    TextEdit1 = new QTextEdit( GroupBox1, "TextEdit1" );
-
-    Layout1->addMultiCellWidget( TextEdit1, 1, 1, 0, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    MeasureGUI_1Sel1TextView_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_1Sel1TextView_QTD::~MeasureGUI_1Sel1TextView_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.h b/src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.h
deleted file mode 100644 (file)
index baa5b78..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_1Sel1TextView_QTD.ui'
-**
-** Created: mar oct 28 14:01:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_1SEL1TEXTVIEW_QTD_H
-#define MEASUREGUI_1SEL1TEXTVIEW_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QTextEdit;
-
-class MeasureGUI_1Sel1TextView_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_1Sel1TextView_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~MeasureGUI_1Sel1TextView_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QTextEdit* TextEdit1;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton1;
-
-
-protected:
-    QGridLayout* MeasureGUI_1Sel1TextView_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // MEASUREGUI_1SEL1TEXTVIEW_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.cxx b/src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.cxx
deleted file mode 100644 (file)
index af0be4f..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_1Sel3LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:13 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_1Sel3LineEdit_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_1Sel3LineEdit_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-MeasureGUI_1Sel3LineEdit_QTD::MeasureGUI_1Sel3LineEdit_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_1Sel3LineEdit_QTD" );
-    resize( 129, 141 ); 
-    setCaption( trUtf8( "MeasureGUI_1Sel3LineEdit_QTD" ) );
-    MeasureGUI_1Sel3LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_1Sel3LineEdit_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout2->addWidget( TextLabel1, 0, 0 );
-
-    LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" );
-
-    Layout2->addMultiCellWidget( LineEdit4, 3, 3, 1, 2 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 2, 0 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout2->addMultiCellWidget( LineEdit2, 1, 1, 1, 2 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout2->addItem( spacer, 4, 2 );
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout2->addMultiCellWidget( LineEdit3, 2, 2, 1, 2 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout2->addWidget( LineEdit1, 0, 2 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 3, 0 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 1, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout2->addWidget( PushButton1, 0, 1 );
-
-    GroupBox1Layout->addLayout( Layout2, 0, 0 );
-
-    MeasureGUI_1Sel3LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_1Sel3LineEdit_QTD::~MeasureGUI_1Sel3LineEdit_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.h b/src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.h
deleted file mode 100644 (file)
index 1312639..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_1Sel3LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:13 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_1SEL3LINEEDIT_QTD_H
-#define MEASUREGUI_1SEL3LINEEDIT_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class MeasureGUI_1Sel3LineEdit_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_1Sel3LineEdit_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~MeasureGUI_1Sel3LineEdit_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit4;
-    QLabel* TextLabel3;
-    QLineEdit* LineEdit2;
-    QLineEdit* LineEdit3;
-    QLineEdit* LineEdit1;
-    QLabel* TextLabel4;
-    QLabel* TextLabel2;
-    QPushButton* PushButton1;
-
-
-protected:
-    QGridLayout* MeasureGUI_1Sel3LineEdit_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout2;
-};
-
-#endif // MEASUREGUI_1SEL3LINEEDIT_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.cxx b/src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.cxx
deleted file mode 100644 (file)
index 9883295..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_1Sel6LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_1Sel6LineEdit_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_1Sel6LineEdit_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-MeasureGUI_1Sel6LineEdit_QTD::MeasureGUI_1Sel6LineEdit_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_1Sel6LineEdit_QTD" );
-    resize( 129, 163 ); 
-    setCaption( trUtf8( "MeasureGUI_1Sel6LineEdit_QTD" ) );
-    MeasureGUI_1Sel6LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_1Sel6LineEdit_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 50, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 2, 2 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-
-    LineEdit22 = new QLineEdit( GroupBox1, "LineEdit22" );
-
-    Layout2->addWidget( LineEdit22, 2, 2 );
-
-    LineEdit32 = new QLineEdit( GroupBox1, "LineEdit32" );
-
-    Layout2->addWidget( LineEdit32, 3, 2 );
-
-    TextLabel4 = new QLabel( GroupBox1, "TextLabel4" );
-    TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
-    TextLabel4->setText( trUtf8( "TL4" ) );
-
-    Layout2->addWidget( TextLabel4, 1, 0 );
-
-    LineEdit31 = new QLineEdit( GroupBox1, "LineEdit31" );
-
-    Layout2->addWidget( LineEdit31, 3, 1 );
-
-    TextLabel5 = new QLabel( GroupBox1, "TextLabel5" );
-    TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) );
-    TextLabel5->setText( trUtf8( "TL5" ) );
-
-    Layout2->addWidget( TextLabel5, 2, 0 );
-
-    LineEdit11 = new QLineEdit( GroupBox1, "LineEdit11" );
-
-    Layout2->addWidget( LineEdit11, 1, 1 );
-
-    TextLabel6 = new QLabel( GroupBox1, "TextLabel6" );
-    TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) );
-    TextLabel6->setText( trUtf8( "TL6" ) );
-
-    Layout2->addWidget( TextLabel6, 3, 0 );
-
-    LineEdit12 = new QLineEdit( GroupBox1, "LineEdit12" );
-
-    Layout2->addWidget( LineEdit12, 1, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout2->addWidget( TextLabel2, 0, 1 );
-
-    LineEdit21 = new QLineEdit( GroupBox1, "LineEdit21" );
-
-    Layout2->addWidget( LineEdit21, 2, 1 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout2->addWidget( TextLabel3, 0, 2 );
-
-    Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    MeasureGUI_1Sel6LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_1Sel6LineEdit_QTD::~MeasureGUI_1Sel6LineEdit_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.h b/src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.h
deleted file mode 100644 (file)
index cc8157a..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_1Sel6LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:13 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_1SEL6LINEEDIT_QTD_H
-#define MEASUREGUI_1SEL6LINEEDIT_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class MeasureGUI_1Sel6LineEdit_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_1Sel6LineEdit_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~MeasureGUI_1Sel6LineEdit_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel1;
-    QLineEdit* LineEdit22;
-    QLineEdit* LineEdit32;
-    QLabel* TextLabel4;
-    QLineEdit* LineEdit31;
-    QLabel* TextLabel5;
-    QLineEdit* LineEdit11;
-    QLabel* TextLabel6;
-    QLineEdit* LineEdit12;
-    QLabel* TextLabel2;
-    QLineEdit* LineEdit21;
-    QLabel* TextLabel3;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-
-
-protected:
-    QGridLayout* MeasureGUI_1Sel6LineEdit_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-    QGridLayout* Layout2;
-};
-
-#endif // MEASUREGUI_1SEL6LINEEDIT_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.cxx b/src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.cxx
deleted file mode 100644 (file)
index 0efb7a2..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_2Sel1LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_2Sel1LineEdit_QTD.h"
-
-#include <qvariant.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_2Sel1LineEdit_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- */
-MeasureGUI_2Sel1LineEdit_QTD::MeasureGUI_2Sel1LineEdit_QTD( QWidget* parent,  const char* name, WFlags fl )
-    : QWidget( parent, name, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_2Sel1LineEdit_QTD" );
-    resize( 129, 115 ); 
-    setCaption( trUtf8( "MeasureGUI_2Sel1LineEdit_QTD" ) );
-    MeasureGUI_2Sel1LineEdit_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "MeasureGUI_2Sel1LineEdit_QTDLayout"); 
-
-    GroupBox1 = new QGroupBox( this, "GroupBox1" );
-    GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) );
-    GroupBox1->setTitle( trUtf8( "" ) );
-    GroupBox1->setColumnLayout(0, Qt::Vertical );
-    GroupBox1->layout()->setSpacing( 6 );
-    GroupBox1->layout()->setMargin( 11 );
-    GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
-    GroupBox1Layout->setAlignment( Qt::AlignTop );
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-    QSpacerItem* spacer = new QSpacerItem( 0, 60, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 3, 2 );
-
-    TextLabel3 = new QLabel( GroupBox1, "TextLabel3" );
-    TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
-    TextLabel3->setText( trUtf8( "TL3" ) );
-
-    Layout1->addWidget( TextLabel3, 2, 0 );
-
-    LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" );
-
-    Layout1->addMultiCellWidget( LineEdit3, 2, 2, 1, 2 );
-
-    LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" );
-
-    Layout1->addWidget( LineEdit2, 1, 2 );
-
-    TextLabel2 = new QLabel( GroupBox1, "TextLabel2" );
-    TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
-    TextLabel2->setText( trUtf8( "TL2" ) );
-
-    Layout1->addWidget( TextLabel2, 1, 0 );
-
-    TextLabel1 = new QLabel( GroupBox1, "TextLabel1" );
-    TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
-    TextLabel1->setText( trUtf8( "TL1" ) );
-
-    Layout1->addWidget( TextLabel1, 0, 0 );
-
-    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
-    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
-    PushButton1->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton1, 0, 1 );
-
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
-
-    Layout1->addWidget( LineEdit1, 0, 2 );
-
-    PushButton2 = new QPushButton( GroupBox1, "PushButton2" );
-    PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) );
-    PushButton2->setText( trUtf8( "" ) );
-
-    Layout1->addWidget( PushButton2, 1, 1 );
-
-    GroupBox1Layout->addLayout( Layout1, 0, 0 );
-
-    MeasureGUI_2Sel1LineEdit_QTDLayout->addWidget( GroupBox1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_2Sel1LineEdit_QTD::~MeasureGUI_2Sel1LineEdit_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.h b/src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.h
deleted file mode 100644 (file)
index 192f6ef..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_2Sel1LineEdit_QTD.ui'
-**
-** Created: mar oct 28 16:11:14 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_2SEL1LINEEDIT_QTD_H
-#define MEASUREGUI_2SEL1LINEEDIT_QTD_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-
-class MeasureGUI_2Sel1LineEdit_QTD : public QWidget
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_2Sel1LineEdit_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
-    ~MeasureGUI_2Sel1LineEdit_QTD();
-
-    QGroupBox* GroupBox1;
-    QLabel* TextLabel3;
-    QLineEdit* LineEdit3;
-    QLineEdit* LineEdit2;
-    QLabel* TextLabel2;
-    QLabel* TextLabel1;
-    QPushButton* PushButton1;
-    QLineEdit* LineEdit1;
-    QPushButton* PushButton2;
-
-
-protected:
-    QGridLayout* MeasureGUI_2Sel1LineEdit_QTDLayout;
-    QGridLayout* GroupBox1Layout;
-    QGridLayout* Layout1;
-};
-
-#endif // MEASUREGUI_2SEL1LINEEDIT_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx b/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx
deleted file mode 100644 (file)
index b1e133c..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_BndBoxDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_BndBoxDlg.h"
-#include "MeasureGUI_1Sel6LineEdit_QTD.h"
-
-#include "GEOMBase.h"
-#include "GEOM_Displayer.h"
-
-#include <BRepPrimAPI_MakeBox.hxx>
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_BndBoxDlg()
-// purpose  : Constructs a MeasureGUI_BndBoxDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_BndBoxDlg::MeasureGUI_BndBoxDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_PropertiesDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_BOUNDING_BOX" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_BNDBOX_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_BNDBOX" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel6LineEdit_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_BNDBOX_OBJDIM" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_MIN" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_MAX" ) );
-  myGrp->TextLabel4->setText( tr( "GEOM_X" ) );
-  myGrp->TextLabel5->setText( tr( "GEOM_Y" ) );
-  myGrp->TextLabel6->setText( tr( "GEOM_Z" ) );
-  myGrp->LineEdit11->setReadOnly( TRUE );
-  myGrp->LineEdit12->setReadOnly( TRUE );
-  myGrp->LineEdit21->setReadOnly( TRUE );
-  myGrp->LineEdit22->setReadOnly( TRUE );
-  myGrp->LineEdit31->setReadOnly( TRUE );
-  myGrp->LineEdit32->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-  
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_BndBoxDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_BndBoxDlg::~MeasureGUI_BndBoxDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_BndBoxDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_BndBoxDlg::processObject()
-{
-  double aXMin, aXMax, aYMin, aYMax, aZMin, aZMax;
-
-  if ( !getParameters( aXMin, aXMax, aYMin, aYMax, aZMin, aZMax ) )
-  {
-    mySelEdit->setText( "" );
-    myGrp->LineEdit11->setText( "" );
-    myGrp->LineEdit12->setText( "" );
-    myGrp->LineEdit21->setText( "" );
-    myGrp->LineEdit22->setText( "" );
-    myGrp->LineEdit31->setText( "" );
-    myGrp->LineEdit32->setText( "" );
-  }
-  else
-  {
-    
-    myGrp->LineEdit11->setText( tr( "%1" ).arg( aXMin, 12, 'f', 6 ) );
-    myGrp->LineEdit12->setText( tr( "%1" ).arg( aXMax, 12, 'f', 6 ) );
-
-    myGrp->LineEdit21->setText( tr( "%1" ).arg( aYMin, 12, 'f', 6 ) );
-    myGrp->LineEdit22->setText( tr( "%1" ).arg( aYMax, 12, 'f', 6 ) );
-
-    myGrp->LineEdit31->setText( tr( "%1" ).arg( aZMin, 12, 'f', 6 ) );
-    myGrp->LineEdit32->setText( tr( "%1" ).arg( aZMax, 12, 'f', 6 ) );            
-  }
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-bool MeasureGUI_BndBoxDlg::getParameters( double& theXmin, double& theXmax,
-                                          double& theYmin, double& theYmax,
-                                          double& theZmin, double& theZmax )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetBoundingBox(
-        myObj, theXmin, theXmax, theYmin, theYmax, theZmin, theZmax );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-//=================================================================================
-// function : buildPrs
-// purpose  :
-//=================================================================================
-SALOME_Prs* MeasureGUI_BndBoxDlg::buildPrs()
-{
-  double aXMin, aYMin, aZMin, aXMax, aYMax, aZMax;
-
-  if ( myObj->_is_nil() || !getParameters( aXMin, aXMax, aYMin, aYMax, aZMin, aZMax ) )
-    return 0;
-
-  TopoDS_Shape aShape = BRepPrimAPI_MakeBox( gp_Pnt( aXMin, aYMin, aZMin ),
-                                             gp_Pnt( aXMax, aYMax, aZMax ) ).Shape();
-       
-  return !aShape.IsNull() ? getDisplayer()->BuildPrs( aShape ) : 0;
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_BndBoxDlg.h b/src/MeasureGUI/MeasureGUI_BndBoxDlg.h
deleted file mode 100644 (file)
index a4da904..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_BndBoxDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BNDBOX_H
-#define DIALOGBOX_BNDBOX_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_1Sel6LineEdit_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : DialogBox_PROPERTIES
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_BndBoxDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_BndBoxDlg( GeometryGUI* GUI,
-                                                             QWidget*     parent );
-                                        ~MeasureGUI_BndBoxDlg();
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-    virtual SALOME_Prs*                 buildPrs();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( double& Xmin, double& Xmax,
-                                                       double& Ymin, double& Ymax,
-                                                       double& Zmin, double& Zmax );
-
-private:
-
-    MeasureGUI_1Sel6LineEdit_QTD*       myGrp;
-};
-
-#endif // DIALOGBOX_BNDBOX_H
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx b/src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx
deleted file mode 100644 (file)
index 9c1a927..0000000
+++ /dev/null
@@ -1,341 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CenterMassDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_CenterMassDlg.h"
-#include "MeasureGUI_1Sel3LineEdit_QTD.h"
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SalomeApp_Tools.h"
-
-#include <BRep_Tool.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS.hxx>
-#include <gp_Pnt.hxx>
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : MeasureGUI_CenterMassDlg()
-// purpose  : Constructs a MeasureGUI_CenterMassDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_CenterMassDlg::MeasureGUI_CenterMassDlg( QWidget* parent )
-: GEOMBase_Skeleton( parent, "MeasureGUI_CenterMassDlg", false,
-    WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr( "ICON_DLG_CENTERMASS" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_CMASS_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_CMASS" ) );
-  RadioButton1->setPixmap( image0 );
-  RadioButton2->close( TRUE );
-  RadioButton3->close( TRUE );
-
-  myGrp = new MeasureGUI_1Sel3LineEdit_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_CENTER" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_X" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_Y" ) );
-  myGrp->TextLabel4->setText( tr( "GEOM_Z" ) );
-  myGrp->LineEdit2->setReadOnly( TRUE );
-  myGrp->LineEdit3->setReadOnly( TRUE );
-  myGrp->LineEdit4->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 2, 0 );
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_CenterMassDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_CenterMassDlg::~MeasureGUI_CenterMassDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = myGrp->LineEdit1;
-
-   /* signals and slots connections */
-  connect( buttonOk, SIGNAL( clicked() ), this, SLOT( ClickOnOk() ) );
-  connect( buttonApply, SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
-
-  connect( myGrp->LineEdit1, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
-  connect( myGrp->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_POINT") );
-  globalSelection();
-  SelectionIntoArgument();
-
-  /* displays Dialog */
-  myGrp->show();
-  this->show();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CenterMassDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-
-//    myMeasureGUI->MakeCDGAndDisplay( myGeomShape );
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void MeasureGUI_CenterMassDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myObj = GEOM::GEOM_Object::_nil();
-
-  if ( IObjectCount() != 1 )
-  {
-    processObject();
-    return;
-  }
-
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-
-  if ( !testResult || aSelectedObject->_is_nil() )
-  {
-    processObject();
-    return;
-  }
-
-  myObj = aSelectedObject;
-  processObject();
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::SetEditCurrentArgument()
-{
-  myGrp->LineEdit1->setFocus();
-  myEditCurrentArgument = myGrp->LineEdit1;
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = ( QLineEdit* )sender();
-  if ( send == myGrp->LineEdit1 )
-  {
-    myEditCurrentArgument = myGrp->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  globalSelection();
-  displayPreview();
-}
-
-//=================================================================================
-// function : processObject()
-// purpose  : Fill dialog fields in accordance with myObj
-//=================================================================================
-void MeasureGUI_CenterMassDlg::processObject()
-{
-  if ( myObj->_is_nil() )
-  {
-    myGrp->LineEdit1->setText( "" );
-    myGrp->LineEdit2->setText( "" );
-    myGrp->LineEdit3->setText( "" );
-    myGrp->LineEdit4->setText( "" );
-    erasePreview();
-  }
-  else
-  {
-    double x = 0, y = 0, z = 0;
-    
-    getParameters( x, y, z );
-    
-    myGrp->LineEdit1->setText( GEOMBase::GetName( myObj ) );
-    myGrp->LineEdit2->setText( QString( "%1" ).arg( x ) );
-    myGrp->LineEdit3->setText( QString( "%1" ).arg( y ) );
-    myGrp->LineEdit4->setText( QString( "%1" ).arg( z ) );
-
-    displayPreview();
-  }
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CenterMassDlg::enterEvent( QEvent* e )
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr MeasureGUI_CenterMassDlg::createOperation()
-{
-  return getGeomEngine()->GetIMeasureOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CenterMassDlg::isValid( QString& )
-{
-  return !myObj->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CenterMassDlg::getParameters( double& theX, double& theY, double& theZ )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      GEOM::GEOM_Object_var anObj;
-      anObj = GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetCentreOfMass( myObj );
-      if ( !getOperation()->IsDone() )
-        return false;
-
-      TopoDS_Shape aShape;
-      if ( !GEOMBase::GetShape( anObj, aShape ) ||
-           aShape.IsNull() ||
-           aShape.ShapeType() != TopAbs_VERTEX )
-        return false;
-
-      TopoDS_Vertex aVertex = TopoDS::Vertex( aShape );
-
-      gp_Pnt aPnt = BRep_Tool::Pnt( aVertex );
-
-      theX = aPnt.X();
-      theY = aPnt.Y();
-      theZ = aPnt.Z();
-
-      return true;
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-  }
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CenterMassDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  anObj = GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetCentreOfMass( myObj );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-
diff --git a/src/MeasureGUI/MeasureGUI_CenterMassDlg.h b/src/MeasureGUI/MeasureGUI_CenterMassDlg.h
deleted file mode 100644 (file)
index 1cee7d3..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CenterMassDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-
-#ifndef DIALOGBOX_CMASS_H
-#define DIALOGBOX_CMASS_H
-
-#include "GEOMBase_Skeleton.h"
-
-class MeasureGUI_1Sel3LineEdit_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_CenterMassDlg
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CenterMassDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_CenterMassDlg( QWidget* parent );
-                                        ~MeasureGUI_CenterMassDlg();
-
-protected:
-                                        
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr  createOperation();
-    virtual bool                        isValid( QString& msg );
-    virtual bool                        execute( ObjectList& objects );
-
-private slots:
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-    void                                SetEditCurrentArgument();    
-
-private:
-
-    void                                Init( );
-    void                                enterEvent( QEvent* e );
-    void                                processObject();
-    bool                                getParameters( double&, double&, double& );
-
-private:
-    
-    GEOM::GEOM_Object_var               myObj;
-    MeasureGUI_1Sel3LineEdit_QTD*       myGrp;
-};
-
-#endif // DIALOGBOX_CMASS_H
diff --git a/src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.cxx b/src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.cxx
deleted file mode 100644 (file)
index 5941b95..0000000
+++ /dev/null
@@ -1,371 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CheckCompoundOfBlocksDlg.cxx
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_CheckCompoundOfBlocksDlg.h"
-#include "MeasureGUI_1Sel1TextView_QTD.h"
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopExp.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include "GEOMBase.h"
-#include "GEOMImpl_Types.hxx"
-
-#include <qtextedit.h>
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-// QT Includes
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qvaluelist.h>
-
-//VRV: porting on Qt 3.0.5
-#if QT_VERSION >= 0x030005
-#include <qlistbox.h>
-#endif
-//VRV: porting on Qt 3.0.5
-
-#define TEXTEDIT_FONT_FAMILY "Courier"
-#define TEXTEDIT_FONT_SIZE 11
-
-//=================================================================================
-// class    : MeasureGUI_CheckCompoundOfBlocksDlg()
-// purpose  : Constructs a MeasureGUI_CheckCompoundOfBlocksDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_CheckCompoundOfBlocksDlg::MeasureGUI_CheckCompoundOfBlocksDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_CheckCompoundOfBlocksDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_CHECK_COMPOUND_OF_BLOCKS" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_CHECK_BLOCKS_COMPOUND" ) );
-
-  /***************************************************************/
-
-  GroupConstructors->setTitle( tr( "GEOM_CHECK_BLOCKS_COMPOUND" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel1TextView_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_CHECK_INFOS" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextEdit1->setReadOnly( TRUE );
-  
-  QFont aFont( TEXTEDIT_FONT_FAMILY, TEXTEDIT_FONT_SIZE );
-  aFont.setStyleHint( QFont::TypeWriter, QFont::PreferAntialias );
-  myGrp->TextEdit1->setFont( aFont );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-
-  /***************************************************************/
-  QGridLayout* aGBLayout = new QGridLayout( myGrp->GroupBox1->layout() );
-  aGBLayout->setAlignment( Qt::AlignTop );
-  QGridLayout* Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); 
-  myErrorsLbl = new QLabel( tr( "GEOM_CHECK_BLOCKS_COMPOUND_ERRORS" ), myGrp, "Errors" );
-  Layout2->addWidget( myErrorsLbl, 0, 0 );
-
-  myErrorsLBox = new QListBox( myGrp, "ListBlockCompoundErrors" );
-  myErrorsLBox->setMinimumSize( 100, 100 );
-  Layout2->addWidget( myErrorsLBox, 1, 0 );
-
-
-  mySubShapesLbl = new QLabel( tr( "GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES" ), myGrp, "BlockCompoundSubShapes" );
-  Layout2->addWidget( mySubShapesLbl, 0, 1 );
-
-  mySubShapesLBox = new QListBox( myGrp, "ListSubShapes" );
-  mySubShapesLBox->setMinimumSize( 100, 100 );
-  mySubShapesLBox->setSelectionMode(QListBox::Extended);
-  Layout2->addWidget( mySubShapesLBox, 1, 1 );
-  aGBLayout->addLayout( Layout2, 1, 0 );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-  connect( myErrorsLBox, SIGNAL( selectionChanged() ), SLOT( onErrorsListSelectionChanged() ) );
-  connect( mySubShapesLBox, SIGNAL( selectionChanged() ), SLOT( onSubShapesListSelectionChanged() ) );
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_CheckCompoundOfBlocksDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_CheckCompoundOfBlocksDlg::~MeasureGUI_CheckCompoundOfBlocksDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckCompoundOfBlocksDlg::Init()
-{
-  activateSelection();
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : getBCErrors
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CheckCompoundOfBlocksDlg::getBCErrors( bool& theIsCompoundOfBlocks,
-                                                      GEOM::GEOM_IBlocksOperations::BCErrors& theErrors)
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      GEOM::GEOM_IBlocksOperations::BCErrors_var aErrs;
-      theIsCompoundOfBlocks =
-       GEOM::GEOM_IBlocksOperations::_narrow( getOperation() )->CheckCompoundOfBlocks( myObj, aErrs );
-      theErrors = aErrs;
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckCompoundOfBlocksDlg::processObject()
-{
-  QString aMsg ("");
-  bool isCompoundOfBlocks;
-  GEOM::GEOM_IBlocksOperations::BCErrors aErrs;
-  if ( !getBCErrors( isCompoundOfBlocks, aErrs ) )
-  {
-    myGrp->TextEdit1->setText( aMsg );
-    myErrorsLBox->clear();
-    mySubShapesLBox->clear();
-    erasePreview();
-    return;
-  }
-
-  if (isCompoundOfBlocks) {
-    aMsg += tr( "GEOM_CHECK_BLOCKS_COMPOUND_HAS_NO_ERRORS" );
-  } else {
-    aMsg += tr( "GEOM_CHECK_BLOCKS_COMPOUND_HAS_ERRORS" );
-  }
-  myGrp->TextEdit1->setText(aMsg);
-  QStringList aErrList;
-  QString aErrStr( "" );
-  QString aConSfx( " # " );
-  QString aGluedSfx( " # " );
-  int aConNum = 1;
-  int aGluedNum = 1;
-  for ( int i = 0, n = aErrs.length(); i < n; i++ )
-  {
-    aErrStr = "";
-    switch ( aErrs[i].error )
-    {
-      case GEOM::GEOM_IBlocksOperations::NOT_BLOCK :
-       aErrStr = "Not a Block";
-        break;
-      case GEOM::GEOM_IBlocksOperations::EXTRA_EDGE :
-       aErrStr = "Extra Edge";
-        break;
-      case GEOM::GEOM_IBlocksOperations::INVALID_CONNECTION :
-       aErrStr = "Invalid Connection";
-       aErrStr += aConSfx;
-       aErrStr += QString::number(aConNum);
-       aConNum++;
-        break;
-      case GEOM::GEOM_IBlocksOperations::NOT_CONNECTED :
-       aErrStr = "Not Connected";
-        break;
-      case GEOM::GEOM_IBlocksOperations::NOT_GLUED :
-       aErrStr = "Not Glued";
-       aErrStr += aGluedSfx;
-       aErrStr += QString::number(aGluedNum);
-       aGluedNum++;
-        break;
-      default :
-       aErrStr = "";
-       break;
-    }
-    if ( !aErrStr.isEmpty() )
-      aErrList.append(aErrStr);
-  }
-  myErrorsLBox->clear();
-  mySubShapesLBox->clear();
-  myErrorsLBox->insertStringList(aErrList);
-  return;
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr MeasureGUI_CheckCompoundOfBlocksDlg::createOperation()
-{
-  return getGeomEngine()->GetIBlocksOperations(getStudyId());
-}
-
-//=================================================================================
-// function : onErrorsListSelectionChanged
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckCompoundOfBlocksDlg::onErrorsListSelectionChanged()
-{
-  erasePreview();
-  int aCurItem = myErrorsLBox->currentItem();
-  if ( aCurItem < 0 )
-    return;
-  bool isCompoundOfBlocks;
-  GEOM::GEOM_IBlocksOperations::BCErrors aErrs;
-  if ( !getBCErrors( isCompoundOfBlocks, aErrs ) )
-  {
-    myGrp->TextEdit1->setText( "" );
-    myErrorsLBox->clear();
-    mySubShapesLBox->clear();
-    return;
-  }
-  
-  GEOM::GEOM_IBlocksOperations::BCError aErr = aErrs[aCurItem];
-  GEOM::ListOfLong aObjLst = aErr.incriminated;
-  TopoDS_Shape aSelShape;
-  TopoDS_Shape aSubShape; 
-  TopTools_IndexedMapOfShape anIndices;
-  QStringList aSubShapeList;
-  QString aSubShapeName("");
-  Standard_CString aTypeString;
-  if ( !myObj->_is_nil() && GEOMBase::GetShape( myObj, aSelShape ) )
-  {
-    TopExp::MapShapes( aSelShape, anIndices);
-    for ( int i = 0, n = aObjLst.length(); i < n; i++ )
-    {
-      aSubShapeName = "";
-      aSubShape = anIndices.FindKey(aObjLst[i]);
-      if ( GEOMBase::GetShapeTypeString( aSubShape, aTypeString ) )    
-       aSubShapeName = QString(aTypeString) + QString("_") + QString::number(aObjLst[i]);      
-      if ( !aSubShapeName.isEmpty() )
-      aSubShapeList.append(aSubShapeName);
-    }
-  }
-  mySubShapesLBox->clear();
-  mySubShapesLBox->insertStringList(aSubShapeList);
-  return;
-}
-
-//=================================================================================
-// function : onSubShapesListSelectionChanged
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckCompoundOfBlocksDlg::onSubShapesListSelectionChanged()
-{
-  erasePreview();
-  int aErrCurItem = myErrorsLBox->currentItem();
-  if ( aErrCurItem < 0 )
-    return;
-  QValueList<int> aIds;
-  for ( int i = 0, n = mySubShapesLBox->count(); i < n; i++ )
-  {
-    if ( mySubShapesLBox->isSelected( i ) ) 
-      aIds.append( i );
-  }
-  if ( aIds.count() < 1 )
-    return;
-  bool isCompoundOfBlocks;
-  GEOM::GEOM_IBlocksOperations::BCErrors aErrs;
-  if ( !getBCErrors( isCompoundOfBlocks, aErrs ) )
-  {
-    myGrp->TextEdit1->setText( "" );
-    myErrorsLBox->clear();
-    mySubShapesLBox->clear();
-    return;
-  }
-  
-  GEOM::GEOM_IBlocksOperations::BCError aErr = aErrs[aErrCurItem];
-  GEOM::ListOfLong aObjLst = aErr.incriminated;
-  TopoDS_Shape aSelShape;
-  TopoDS_Shape aSubShape; 
-  TopTools_IndexedMapOfShape anIndices;
-  if ( !myObj->_is_nil() && GEOMBase::GetShape( myObj, aSelShape ) )
-  {
-    QString aMess;
-    if ( !isValid( aMess ) )
-    {
-      return;
-    }
-    SALOME_Prs* aPrs = 0;
-    TopExp::MapShapes( aSelShape, anIndices);
-    QValueList<int>::iterator it;
-    for ( it = aIds.begin(); it != aIds.end(); ++it )
-    {
-      aSubShape = anIndices.FindKey(aObjLst[(*it)]);
-      try
-      {
-        getDisplayer()->SetColor( Quantity_NOC_RED );
-        getDisplayer()->SetToActivate( false );
-        aPrs = !aSubShape.IsNull() ? getDisplayer()->BuildPrs( aSubShape ) : 0;
-        if ( aPrs )
-         displayPreview( aPrs, true );
-      }
-      catch( const SALOME::SALOME_Exception& e )
-      {
-        SalomeApp_Tools::QtCatchCorbaException( e );
-      }
-    }
-  }
-  return;
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : activate selection of faces, shells, and solids
-//=================================================================================
-void MeasureGUI_CheckCompoundOfBlocksDlg::activateSelection()
-{
-  TColStd_MapOfInteger aMap;
-  aMap.Add( GEOM_SOLID );
-  aMap.Add( GEOM_COMPOUND );
-  globalSelection( aMap );
-}
diff --git a/src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.h b/src/MeasureGUI/MeasureGUI_CheckCompoundOfBlocksDlg.h
deleted file mode 100644 (file)
index 0038dcb..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CheckCompoundOfBlocksDlg.h
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CHECKCOMPOUNDOFBLOCKSDLG_H
-#define DIALOGBOX_CHECKCOMPOUNDOFBLOCKSDLG_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_1Sel1TextView_QTD;
-class QListBox;
-class QLabel;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_CheckCompoundOfBlocksDlg
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CheckCompoundOfBlocksDlg : public MeasureGUI_Skeleton
-{
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_CheckCompoundOfBlocksDlg( GeometryGUI* GUI,
-                                                                            QWidget*     theParent );
-                                        ~MeasureGUI_CheckCompoundOfBlocksDlg();
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual GEOM::GEOM_IOperations_ptr  createOperation();
-    virtual void                        processObject();
-
-private slots:
-
-    void onErrorsListSelectionChanged();
-    void onSubShapesListSelectionChanged();
-
-private:
-
-    void                                Init();
-    bool                                getBCErrors( bool& theIsCompoundOfBlocks,
-                                                    GEOM::GEOM_IBlocksOperations::BCErrors& theErrors);
-    void                                activateSelection();
-
-private:
-
-    MeasureGUI_1Sel1TextView_QTD*        myGrp;
-    QLabel*                              myErrorsLbl;
-    QListBox*                            myErrorsLBox;
-    QLabel*                              mySubShapesLbl;
-    QListBox*                            mySubShapesLBox;
-
-};
-
-#endif // DIALOGBOX_CHECKCOMPOUNDOFBLOCKSDLG_H
diff --git a/src/MeasureGUI/MeasureGUI_CheckShapeDlg.cxx b/src/MeasureGUI/MeasureGUI_CheckShapeDlg.cxx
deleted file mode 100644 (file)
index d63de10..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CheckShapeDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_CheckShapeDlg.h"
-#include "MeasureGUI_1Sel1TextView_QTD.h"
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <qtextedit.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-#define TEXTEDIT_FONT_FAMILY "Courier"
-#define TEXTEDIT_FONT_SIZE 11
-
-//=================================================================================
-// class    : MeasureGUI_CheckShapeDlg()
-// purpose  : Constructs a MeasureGUI_CheckShapeDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_CheckShapeDlg::MeasureGUI_CheckShapeDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_CheckShapeDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_CHECKSHAPE" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_CHECK_TITLE" ) );
-
-  /***************************************************************/
-
-  GroupConstructors->setTitle( tr( "GEOM_CHECK_SHAPE" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel1TextView_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_CHECK_INFOS" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextEdit1->setReadOnly( TRUE );
-  
-  QFont aFont( TEXTEDIT_FONT_FAMILY, TEXTEDIT_FONT_SIZE );
-  aFont.setStyleHint( QFont::TypeWriter, QFont::PreferAntialias );
-  myGrp->TextEdit1->setFont( aFont );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_CheckShapeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_CheckShapeDlg::~MeasureGUI_CheckShapeDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckShapeDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-bool MeasureGUI_CheckShapeDlg::getParameters ( bool& theIsValid, QString& theMsg )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      char* aMsg;
-      theIsValid = GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->CheckShape( myObj, aMsg );
-      theMsg = aMsg;
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_CheckShapeDlg::processObject()
-{
-  bool isShapeValid;
-  QString aMsg;
-  if ( !getParameters( isShapeValid, aMsg ) )
-  {
-    myGrp->TextEdit1->setText( "" );
-    return;
-  }
-
-  if (isShapeValid) {
-    myGrp->TextEdit1->setText("This Shape seems to be valid.");
-  } else {
-    QString aDescr ("This Shape is not valid.\n");
-    aDescr += aMsg;
-    myGrp->TextEdit1->setText(aDescr);
-//    myGrp->TextEdit1->setText("This Shape is not valid.");
-  }
-}
diff --git a/src/MeasureGUI/MeasureGUI_CheckShapeDlg.h b/src/MeasureGUI/MeasureGUI_CheckShapeDlg.h
deleted file mode 100644 (file)
index 60eb495..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_CheckShapeDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CHECKSHAPEDLG_H
-#define DIALOGBOX_CHECKSHAPEDLG_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_1Sel1TextView_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_CheckShapeDlg
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CheckShapeDlg : public MeasureGUI_Skeleton
-{
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_CheckShapeDlg( GeometryGUI* GUI,
-                                                                 QWidget*     parent );
-                                        ~MeasureGUI_CheckShapeDlg();
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( bool& theIsValid,
-                                                      QString& theMsg);
-
-private:
-
-    MeasureGUI_1Sel1TextView_QTD*        myGrp;
-
-};
-
-#endif // DIALOGBOX_CHECKSHAPEDLG_H
diff --git a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
deleted file mode 100644 (file)
index 5762c06..0000000
+++ /dev/null
@@ -1,338 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : MeasureGUI_DistanceDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_DistanceDlg.h"
-#include "MeasureGUI_2Sel1LineEdit_QTD.h"
-#include "GEOMBase.h"
-#include "GEOM_Displayer.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_ViewWindow.h"
-#include "SOCC_Prs.h"
-#include "SOCC_ViewModel.h"
-#include "SalomeApp_Tools.h"
-
-#include <Geom_Plane.hxx>
-#include <TopoDS_Edge.hxx>
-#include <AIS_LengthDimension.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRepBuilderAPI_MakeVertex.hxx>
-#include <AIS_ListIteratorOfListOfInteractive.hxx>
-#include <gce_MakePln.hxx>
-#include <Precision.hxx>
-
-#include "utilities.h"
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_DistanceDlg()
-// purpose  : Constructs a MeasureGUI_DistanceDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_DistanceDlg::MeasureGUI_DistanceDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_DistanceDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_MINDIST" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-  "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_MINDIST_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_DISTANCE" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_2Sel1LineEdit_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_MINDIST_OBJ" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT_I" ).arg( "1" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_OBJECT_I" ).arg( "2" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_LENGTH" ) );
-  myGrp->LineEdit3->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->PushButton2->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-  myGrp->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_DistanceDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_DistanceDlg::~MeasureGUI_DistanceDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_DistanceDlg::Init()
-{
-  mySelBtn   = myGrp->PushButton1;
-  mySelEdit  = myGrp->LineEdit1;
-  mySelBtn2  = myGrp->PushButton2;
-  mySelEdit2 = myGrp->LineEdit2;
-  
-  myEditCurrentArgument = mySelEdit;
-
-  connect( mySelEdit2, SIGNAL( returnPressed() ), this, SLOT( LineEditReturnPressed() ) );
-  connect( mySelBtn2, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
-
-  MeasureGUI_Skeleton::Init();
-
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void MeasureGUI_DistanceDlg::SelectionIntoArgument()
-{
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-
-  if ( !testResult )
-    aSelectedObject = GEOM::GEOM_Object::_nil();
-
-  if ( myEditCurrentArgument == mySelEdit )
-      myObj = aSelectedObject;
-    else
-      myObj2 = aSelectedObject;
-
-  processObject();
-}
-
-//=================================================================================
-// function : processObject()
-// purpose  : Fill dialogs fileds in accordance with myObj and myObj2
-//=================================================================================
-void MeasureGUI_DistanceDlg::processObject()
-{
-  myGrp->LineEdit1->setText( !myObj->_is_nil()  ? GEOMBase::GetName( myObj  ) : "" );
-  myGrp->LineEdit2->setText( !myObj2->_is_nil() ? GEOMBase::GetName( myObj2 ) : "" );
-
-  gp_Pnt aPnt1, aPnt2;
-  double aDist = 0.;
-  if ( getParameters( aDist, aPnt1, aPnt2 ) )
-  {
-    myGrp->LineEdit3->setText( QString( "%1" ).arg( aDist ) );
-    redisplayPreview();
-  }
-  else
-  {
-    myGrp->LineEdit3->setText( "" );
-    erasePreview();
-  }
-    
-}
-
-//=================================================================================
-// function : getParameters()
-// purpose  : Get distance between objects
-//=================================================================================
-bool MeasureGUI_DistanceDlg::getParameters( double& theDistance,
-                                            gp_Pnt& thePnt1,
-                                            gp_Pnt& thePnt2 )
-{
-  QString msg;
-  if ( !isValid( msg ) )
-    return false;
-  else
-  {
-    try
-    {
-      double x1, y1, z1, x2, y2, z2;
-      theDistance = GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetMinDistance(
-        myObj, myObj2, x1, y1, z1, x2, y2, z2 );
-
-      thePnt1.SetCoord( x1, y1, z1 );
-      thePnt2.SetCoord( x2, y2, z2 );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void MeasureGUI_DistanceDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = ( QPushButton* )sender();
-
-  if( send == mySelBtn )
-  {
-    mySelEdit->setFocus();
-    myEditCurrentArgument = mySelEdit;
-  }
-  else
-  {
-    mySelEdit2->setFocus();
-    myEditCurrentArgument = mySelEdit2;
-  }
-
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void MeasureGUI_DistanceDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = ( QLineEdit* )sender();
-
-  if( send == mySelEdit )
-    myEditCurrentArgument = mySelEdit;
-  else
-    myEditCurrentArgument = mySelEdit2;
-
-  if ( GEOMBase::SelectionByNameInDialogs( this, mySelEdit->text(), selectedIO() ) )
-    mySelEdit->setText( mySelEdit->text() );
-}
-
-
-//=================================================================================
-// function : buildPrs()
-// purpose  :
-//=================================================================================
-SALOME_Prs* MeasureGUI_DistanceDlg::buildPrs()
-{
-  double aDist = 0.;
-  gp_Pnt aPnt1( 0, 0, 0 ), aPnt2( 0, 0, 0 );
-  
-  if ( myObj->_is_nil() || myObj2->_is_nil() || !getParameters( aDist, aPnt1, aPnt2 ) ||
-       SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-       != OCCViewer_Viewer::Type() )
-    return 0;
-  
-  try
-  {
-    if( aDist <= 1.e-9 )
-    {
-      BRepBuilderAPI_MakeVertex aMaker( aPnt1 );
-      return getDisplayer()->BuildPrs( aMaker.Vertex() );
-    }
-    else
-    {
-      BRepBuilderAPI_MakeEdge MakeEdge( aPnt1, aPnt2 );
-      TopoDS_Vertex aVert1 = BRepBuilderAPI_MakeVertex( aPnt1 );
-      TopoDS_Vertex aVert2 = BRepBuilderAPI_MakeVertex( aPnt2 );
-
-      QString aLabel;
-      aLabel.sprintf( "%.1f", aDist );
-
-      gp_Pnt aPnt3( ( aPnt1.X() + aPnt2.X() ) / 2,
-                    ( aPnt1.Y() + aPnt2.Y() ) / 2,
-                    ( aPnt1.Z() + aPnt2.Z() ) / 2 + 100 );
-
-
-      gp_Vec va( aPnt3, aPnt1 );
-      gp_Vec vb( aPnt3, aPnt2 );
-
-      if ( va.IsParallel( vb, Precision::Angular() ) )
-      {
-        aPnt3.SetY( ( aPnt1.Y() + aPnt2.Y() ) / 2 + 100 );
-        aPnt3.SetZ( ( aPnt1.Z() + aPnt2.Z() ) / 2 );
-      }
-      
-      gce_MakePln gce_MP( aPnt1, aPnt2, aPnt3 );
-      Handle( Geom_Plane ) P = new Geom_Plane( gce_MP.Value() );
-
-      Handle( AIS_LengthDimension ) anIO = new AIS_LengthDimension(
-        aVert1, aVert2, P, aDist, TCollection_ExtendedString( (Standard_CString)aLabel.latin1() ) );
-
-      SUIT_ViewWindow* vw = SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
-      SOCC_Prs* aPrs = dynamic_cast<SOCC_Prs*>( ((SOCC_Viewer*)(vw->getViewManager()->getViewModel()))->CreatePrs( 0 ) );
-      
-      //QAD_ViewFrame* vf = GEOM_Displayer::GetActiveView();
-      //OCCViewer_Prs* aPrs = dynamic_cast<OCCViewer_Prs*>( vf->CreatePrs( 0 ) );
-
-      if ( aPrs )
-        aPrs->AddObject( anIO );
-
-      return aPrs;
-    }
-  }
-  catch( Standard_Failure )
-  {
-    return 0;
-  }
-}
-
-//=================================================================================
-// function : isValid()
-// purpose  :
-//=================================================================================
-bool MeasureGUI_DistanceDlg::isValid( QString& msg )
-{
-  return MeasureGUI_Skeleton::isValid( msg ) && !myObj2->_is_nil();
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_DistanceDlg.h b/src/MeasureGUI/MeasureGUI_DistanceDlg.h
deleted file mode 100644 (file)
index 98d382f..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_DistanceDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_DISTANCE_H
-#define DIALOGBOX_DISTANCE_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_2Sel1LineEdit_QTD;
-class gp_Pnt;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_DistanceDlg
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_DistanceDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_DistanceDlg( GeometryGUI* GUI,
-                                                               QWidget*     parent );
-                                        ~MeasureGUI_DistanceDlg();
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-    virtual SALOME_Prs*                 buildPrs();
-    virtual void                        SelectionIntoArgument();
-    virtual void                        LineEditReturnPressed();
-    virtual void                        SetEditCurrentArgument();
-    virtual bool                        isValid( QString& msg );
-
-private:
-
-    void                                Init();
-    bool                                getParameters( double& theDistance,
-                                                       gp_Pnt& thePnt1,
-                                                       gp_Pnt& thePnt2  );
-private:
-
-    QLineEdit*                          myEditCurrentArgument;
-    QLineEdit*                          mySelEdit2;
-    QPushButton*                        mySelBtn2;
-
-    MeasureGUI_2Sel1LineEdit_QTD*       myGrp;
-    GEOM::GEOM_Object_var               myObj2;
-
-};
-
-#endif // DIALOGBOX_DISTANCE_H
diff --git a/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx b/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx
deleted file mode 100644 (file)
index 2c36eac..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_InertiaDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-
-#include "MeasureGUI_InertiaDlg.h"
-#include "MeasureGUI_1Sel12LineEdit_QTD.h"
-
-#include "GEOMBase.h"
-
-#include <BRepGProp.hxx>
-#include <GProp_GProps.hxx>
-#include <GProp_PrincipalProps.hxx>
-#include <gp_XYZ.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_InertiaDlg()
-// purpose  : Constructs a MeasureGUI_InertiaDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-
-MeasureGUI_InertiaDlg::MeasureGUI_InertiaDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_InertiaDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_INERTIA" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_INERTIA_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_INERTIA_CONSTR" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel12LineEdit_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_MATRIX" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_INERTIA_I" ).arg( "1" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_INERTIA_I" ).arg( "2" ) );
-  myGrp->TextLabel4->setText( tr( "GEOM_INERTIA_I" ).arg( "3" ) );
-  myGrp->TextLabel5->setText( tr( "GEOM_INERTIA_IXYZ" ) );
-  myGrp->LineEdit11->setReadOnly( TRUE );
-  myGrp->LineEdit12->setReadOnly( TRUE );
-  myGrp->LineEdit13->setReadOnly( TRUE );
-  myGrp->LineEdit21->setReadOnly( TRUE );
-  myGrp->LineEdit22->setReadOnly( TRUE );
-  myGrp->LineEdit23->setReadOnly( TRUE );
-  myGrp->LineEdit31->setReadOnly( TRUE );
-  myGrp->LineEdit32->setReadOnly( TRUE );
-  myGrp->LineEdit33->setReadOnly( TRUE );
-  myGrp->LineEdit41->setReadOnly( TRUE );
-  myGrp->LineEdit42->setReadOnly( TRUE );
-  myGrp->LineEdit43->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-  
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_InertiaDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_InertiaDlg::~MeasureGUI_InertiaDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_InertiaDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_InertiaDlg::processObject()
-{
-  gp_XYZ anIXYZ;
-  gp_Mat aMat;
-
-  if ( !getParameters( aMat, anIXYZ ) )
-  {
-    mySelEdit->setText( "" );
-    
-    myGrp->LineEdit11->setText( "" );
-    myGrp->LineEdit12->setText( "" );
-    myGrp->LineEdit13->setText( "" );
-    
-    myGrp->LineEdit21->setText( "" );
-    myGrp->LineEdit22->setText( "" );
-    myGrp->LineEdit23->setText( "" );
-    
-    myGrp->LineEdit31->setText( "" );
-    myGrp->LineEdit32->setText( "" );
-    myGrp->LineEdit33->setText( "" );
-
-    myGrp->LineEdit41->setText( "" );
-    myGrp->LineEdit42->setText( "" );
-    myGrp->LineEdit43->setText( "" );
-  }
-  else
-  {
-    myGrp->LineEdit11->setText( QString( "%1" ).arg( aMat( 1, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit12->setText( QString( "%1" ).arg( aMat( 1, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit13->setText( QString( "%1" ).arg( aMat( 1, 3 ), 12, 'e', 4 ) );
-    
-    myGrp->LineEdit21->setText( QString( "%1" ).arg( aMat( 2, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit22->setText( QString( "%1" ).arg( aMat( 2, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit23->setText( QString( "%1" ).arg( aMat( 2, 3 ), 12, 'e', 4 ) );
-    
-    myGrp->LineEdit31->setText( QString( "%1" ).arg( aMat( 3, 1 ), 12, 'e', 4 ) );
-    myGrp->LineEdit32->setText( QString( "%1" ).arg( aMat( 3, 2 ), 12, 'e', 4 ) );
-    myGrp->LineEdit33->setText( QString( "%1" ).arg( aMat( 3, 3 ), 12, 'e', 4 ) );
-    
-    myGrp->LineEdit41->setText( QString( "%1" ).arg( anIXYZ.X(), 12, 'e', 4 ) );
-    myGrp->LineEdit42->setText( QString( "%1" ).arg( anIXYZ.Y(), 12, 'e', 4 ) );
-    myGrp->LineEdit43->setText( QString( "%1" ).arg( anIXYZ.Z(), 12, 'e', 4 ) );
-  }
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-bool MeasureGUI_InertiaDlg::getParameters( gp_Mat& I,
-                                           gp_XYZ& theIXYZ )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      double x, y, z;
-      GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetInertia( myObj,
-        I( 1, 1 ), I( 1, 2 ), I( 1, 3 ),
-        I( 2, 1 ), I( 2, 2 ), I( 2, 3 ),
-        I( 3, 1 ), I( 3, 2 ), I( 3, 3 ),
-        x, y, z );
-
-        theIXYZ.SetCoord( x, y, z );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_InertiaDlg.h b/src/MeasureGUI/MeasureGUI_InertiaDlg.h
deleted file mode 100644 (file)
index 2ccf832..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_InertiaDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_INERTIA_H
-#define DIALOGBOX_INERTIA_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_1Sel12LineEdit_QTD;
-class gp_XYZ;
-class gp_Mat;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_InertiaDlg
-// purpose  : Dialog for displaying moment of inertia
-//=================================================================================
-
-class MEASUREGUI_EXPORT MeasureGUI_InertiaDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_InertiaDlg( GeometryGUI* GUI,
-                                                              QWidget*     parent );
-                                        ~MeasureGUI_InertiaDlg();
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( gp_Mat& theMatrix,
-                                                       gp_XYZ& theMoment );
-
-private:
-      
-    MeasureGUI_1Sel12LineEdit_QTD*      myGrp;
-};
-
-#endif // DIALOGBOX_INERTIA_H
diff --git a/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.cxx b/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.cxx
deleted file mode 100644 (file)
index 75be01e..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_MaxToleranceDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_MaxToleranceDlg.h"
-#include "MeasureGUI_1Sel6LineEdit_QTD.h"
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_MaxToleranceDlg()
-// purpose  : Constructs a MeasureGUI_MaxToleranceDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_MaxToleranceDlg::MeasureGUI_MaxToleranceDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_MaxToleranceDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_TOLERANCE" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_TOLERANCE_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_TOLERANCE" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel6LineEdit_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_TOLERANCE_CONSTR" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_MIN" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_MAX" ) );
-  myGrp->TextLabel4->setText( tr( "GEOM_TOLERANCE_FACE" ) );
-  myGrp->TextLabel5->setText( tr( "GEOM_TOLERANCE_EDGE" ) );
-  myGrp->TextLabel6->setText( tr( "GEOM_TOLERANCE_VERTEX" ) );
-  myGrp->LineEdit11->setReadOnly( TRUE );
-  myGrp->LineEdit12->setReadOnly( TRUE );
-  myGrp->LineEdit21->setReadOnly( TRUE );
-  myGrp->LineEdit22->setReadOnly( TRUE );
-  myGrp->LineEdit31->setReadOnly( TRUE );
-  myGrp->LineEdit32->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-  
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_MaxToleranceDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_MaxToleranceDlg::~MeasureGUI_MaxToleranceDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_MaxToleranceDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_MaxToleranceDlg::processObject()
-{
-  double aMinFaceToler, aMaxFaceToler;
-  double aMinEdgeToler, aMaxEdgeToler;
-  double aMinVertexToler, aMaxVertexToler;
-  
-  if ( !getParameters( aMinFaceToler, aMaxFaceToler,
-                       aMinEdgeToler, aMaxEdgeToler,
-                       aMinVertexToler, aMaxVertexToler ) )
-  {
-    myGrp->LineEdit11->setText( "" );
-    myGrp->LineEdit12->setText( "" );
-
-    myGrp->LineEdit21->setText( "" );
-    myGrp->LineEdit22->setText( "" );
-
-    myGrp->LineEdit31->setText( "" );
-    myGrp->LineEdit32->setText( "" );
-
-    return;
-  }
-
-  double invalidMin = RealLast();
-  double invalidMax = -RealLast();
-
-  myGrp->LineEdit11->setText( aMinFaceToler != invalidMin ? QString( "%1" ).arg( aMinFaceToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit12->setText( aMaxFaceToler != invalidMax ? QString( "%1" ).arg( aMaxFaceToler, 5, 'e', 8 ) : QString("") );
-
-  myGrp->LineEdit21->setText( aMinEdgeToler != invalidMin ? QString( "%1" ).arg( aMinEdgeToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit22->setText( aMaxEdgeToler != invalidMax ? QString( "%1" ).arg( aMaxEdgeToler, 5, 'e', 8 ) : QString("") );
-
-  myGrp->LineEdit31->setText( aMinVertexToler != invalidMin ? QString( "%1" ).arg( aMinVertexToler, 5, 'e', 8 ) : QString("") );
-  myGrp->LineEdit32->setText( aMaxVertexToler != invalidMax ? QString( "%1" ).arg( aMaxVertexToler, 5, 'e', 8 ) : QString("") );
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  : Get tolerances. Returns false is myObj is nill. If there is no a
-//            type of entity ( face, edge or vertex ) in selected object then corresponding
-//            tolerances is less than 0
-//=================================================================================
-bool MeasureGUI_MaxToleranceDlg::getParameters( double& theMinFaceToler,
-                                                double& theMaxFaceToler,
-                                                double& theMinEdgeToler,
-                                                double& theMaxEdgeToler,
-                                                double& theMinVertexToler,
-                                                double& theMaxVertexToler )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetTolerance( myObj,
-        theMinFaceToler, theMaxFaceToler, theMinEdgeToler,
-        theMaxEdgeToler, theMinVertexToler, theMaxVertexToler  );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h b/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
deleted file mode 100644 (file)
index 13c0733..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_MaxToleranceDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_MAXTOLERANCE_H
-#define DIALOGBOX_MAXTOLERANCE_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class  MeasureGUI_1Sel6LineEdit_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : DialogBox_PROPERTIES
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_MaxToleranceDlg( GeometryGUI* GUI,
-                                                                   QWidget*     parent );
-                                        ~MeasureGUI_MaxToleranceDlg();
-
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( double& theMinFaceToler,
-                                                       double& theMaxFaceToler,
-                                                       double& theMinEdgeToler,
-                                                       double& theMaxEdgeToler,
-                                                       double& theMinVertexToler,
-                                                       double& theMaxVertexToler );
-                                                       
-
-
-private:
-
-    MeasureGUI_1Sel6LineEdit_QTD*       myGrp;
-};
-
-#endif // DIALOGBOX_MAXTOLERANCE_H
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_PointDlg.cxx b/src/MeasureGUI/MeasureGUI_PointDlg.cxx
deleted file mode 100644 (file)
index d5aab6e..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_PointDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_PointDlg.h"
-#include "GEOMBase.h"
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <TColStd_MapOfInteger.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <BRep_Tool.hxx>
-#include <TopExp.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <gp_Pnt.hxx>
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qgroupbox.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qapplication.h>
-
-//=================================================================================
-// class    : MeasureGUI_PointDlg()
-// purpose  : Constructs a MeasureGUI_PointDlg which is a child of 'parent'
-//            
-//=================================================================================
-MeasureGUI_PointDlg::MeasureGUI_PointDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_PointDlg" )
-{
-  QPixmap iconPnt( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_POINT" ) ) );
-  
-  QPixmap iconSelect( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "CAPTION" ) );
-
-  GroupConstructors->setTitle( tr( "CAPTION" ) );
-  RadioButton1->setPixmap( iconPnt );
-
-  QGroupBox* aGrp = new QGroupBox( 2, Qt::Horizontal, tr( "COORDINATES" ), this );
-  
-  new QLabel( tr( "POINT" ), aGrp );
-  QFrame* aFrame = new QFrame( aGrp );
-  mySelBtn = new QPushButton( aFrame );
-  mySelBtn->setPixmap( iconSelect );
-  mySelEdit = new QLineEdit( aFrame );
-  QHBoxLayout* aLay = new QHBoxLayout( aFrame, 0, 10 );
-  aLay->addWidget( mySelBtn );
-  aLay->addWidget( mySelEdit );
-
-  new QLabel( tr( "X" ), aGrp );
-  myX = new QLineEdit( aGrp );
-  new QLabel( tr( "Y" ), aGrp );
-  myY = new QLineEdit( aGrp );
-  new QLabel( tr( "Z" ), aGrp );
-  myZ = new QLineEdit( aGrp );
-
-  mySelEdit->setReadOnly( true );
-  myX->setReadOnly( true );
-  myY->setReadOnly( true );
-  myZ->setReadOnly( true );
-
-  Layout1->addWidget( aGrp, 1, 0 );
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_PointDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//======================myX->setReadOnly( true );===========================================================
-MeasureGUI_PointDlg::~MeasureGUI_PointDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_PointDlg::Init()
-{
-  QSize aSize( size() );
-  resize( (int)(aSize.width() *0.75 ), aSize.height() );
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  :
-//=================================================================================
-void MeasureGUI_PointDlg::activateSelection()
-{
-  localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
-}
-
-//=================================================================================
-// function : SelectionIntoArgument
-// purpose  :
-//=================================================================================
-void MeasureGUI_PointDlg::SelectionIntoArgument()
-{
-  try
-  {
-    myObj = GEOM::GEOM_Object::_nil();
-    mySelEdit->setText( "" );
-    myX->setText( "" );
-    myY->setText( "" );
-    myZ->setText( "" );
-
-    Standard_Boolean testResult = Standard_False;
-    GEOM::GEOM_Object_var aSelectedObject =
-      GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-
-    if( !testResult || aSelectedObject->_is_nil() )
-      return;
-
-    myObj = aSelectedObject;
-
-    TColStd_IndexedMapOfInteger anIndexes;
-    ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->
-      selectionMgr()->GetIndexes( firstIObject(), anIndexes );
-
-    TopoDS_Shape aShape;
-    if ( anIndexes.Extent() > 1 || !GEOMBase::GetShape( myObj, aShape ) || aShape.IsNull() )
-      return;
-
-    TopoDS_Vertex aPoint;
-    QString aName = GEOMBase::GetName( myObj );
-    if ( anIndexes.Extent() == 0 )
-    {
-      if ( aShape.ShapeType() == TopAbs_VERTEX )
-        aPoint = TopoDS::Vertex( aShape );
-    }
-    else
-    {
-      int i = anIndexes( 1 );
-
-      TopTools_IndexedMapOfShape aShapes;
-      TopExp::MapShapes( aShape, aShapes );
-      
-      if ( aShape != aShapes( i ) )
-        aName += QString( ":%1" ).arg( i );
-
-      aPoint = TopoDS::Vertex( aShapes( i ) );
-    }
-
-    if ( !aPoint.IsNull() )
-    {
-      gp_Pnt aPnt = BRep_Tool::Pnt( aPoint );
-      mySelEdit->setText( aName );
-      myX->setText( QString( "%1" ).arg( aPnt.X() ) );
-      myY->setText( QString( "%1" ).arg( aPnt.Y() ) );
-      myZ->setText( QString( "%1" ).arg( aPnt.Z() ) );
-    }
-  }
-  catch( ... )
-  {
-    myObj = GEOM::GEOM_Object::_nil();
-    mySelEdit->setText( "" );
-    myX->setText( "" );
-    myY->setText( "" );
-    myZ->setText( "" );
-  }
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_PointDlg.h b/src/MeasureGUI/MeasureGUI_PointDlg.h
deleted file mode 100644 (file)
index f26853b..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_PointDlg.h
-//  Author : Sergey LITONIN
-//  Module : GEOM
-
-#ifndef MEASUREGUI_POINTDLG_H
-#define MEASUREGUI_POINTDLG_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class QLineEdit;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_PointDlg
-// purpose  : Dialog for displaying point coordinates
-//=================================================================================
-
-class MEASUREGUI_EXPORT MeasureGUI_PointDlg : public MeasureGUI_Skeleton
-{ 
-  Q_OBJECT
-
-public:
-                                      MeasureGUI_PointDlg( GeometryGUI* GUI,
-                                                          QWidget*     parent );
-                                      ~MeasureGUI_PointDlg();
-
-protected:
-
-  // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-  virtual void                        activateSelection();
-  virtual void                        SelectionIntoArgument();
-
-private:
-
-  void                                Init();
-private:
-  QLineEdit*                          myX;
-  QLineEdit*                          myY;
-  QLineEdit*                          myZ;
-
-};
-
-#endif // DIALOGBOX_PROPERTIES_H
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx b/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx
deleted file mode 100644 (file)
index 596cddd..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_PropertiesDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_PropertiesDlg.h"
-#include "MeasureGUI_1Sel3LineEdit_QTD.h"
-#include "GEOM_Displayer.h"
-#include "GEOMImpl_Types.hxx"
-#include "GEOMBase.h"
-
-#include "SalomeApp_Tools.h"
-#include "utilities.h"
-#include "SUIT_Session.h"
-
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_PropertiesDlg()
-// purpose  : Constructs a MeasureGUI_PropertiesDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_PropertiesDlg::MeasureGUI_PropertiesDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_PropertiesDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_BASICPROPERTIES" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_PROPERTIES_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_PROPERTIES" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel3LineEdit_QTD( this, "myGrp"  );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_PROPERTIES_CONSTR" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextLabel2->setText( tr( "GEOM_LENGTH" ) );
-  myGrp->TextLabel3->setText( tr( "GEOM_PROPERTIES_SURFACE" ) );
-  myGrp->TextLabel4->setText( tr( "GEOM_PROPERTIES_VOLUME" ) );
-  myGrp->LineEdit2->setReadOnly( TRUE );
-  myGrp->LineEdit3->setReadOnly( TRUE );
-  myGrp->LineEdit4->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-  
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_PropertiesDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_PropertiesDlg::~MeasureGUI_PropertiesDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_PropertiesDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  :
-//=================================================================================
-void MeasureGUI_PropertiesDlg::activateSelection()
-{
-  static TColStd_MapOfInteger aTypes;
-  if ( aTypes.IsEmpty() )
-  {
-    aTypes.Add( GEOM_COMPOUND );
-//    aTypes.Add( TopAbs_COMPSOLID );
-    aTypes.Add( GEOM_SOLID );
-    aTypes.Add( GEOM_SHELL );
-    aTypes.Add( GEOM_FACE );
-    aTypes.Add( GEOM_WIRE );
-    aTypes.Add( GEOM_EDGE );
-  }
-
-  globalSelection( aTypes );
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_PropertiesDlg::processObject()
-{
-  double aLength, anArea, aVolume;
-  
-  if ( !getParameters( aLength, anArea, aVolume ) )
-  {
-    mySelEdit->setText( "" );
-    myGrp->LineEdit2->setText( "" );
-    myGrp->LineEdit3->setText( "" );
-    myGrp->LineEdit4->setText( "" );
-  }
-  else
-  {
-    myGrp->LineEdit2->setText( QString( "%1" ).arg( aLength ) );
-    myGrp->LineEdit3->setText( QString( "%1" ).arg( anArea ) );
-    myGrp->LineEdit4->setText( QString( "%1" ).arg( aVolume ) );
-  }
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-bool MeasureGUI_PropertiesDlg::getParameters( double& theLength,
-                                              double& theArea,
-                                              double& theVolume )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->GetBasicProperties(
-        myObj, theLength, theArea, theVolume );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-SALOME_Prs* MeasureGUI_PropertiesDlg::buildPrs()
-{
-  TopoDS_Shape aShape, aResult;
-  
-  if ( myObj->_is_nil() ||
-       !GEOMBase::GetShape( myObj, aShape )||
-       aShape.IsNull() ||
-       aShape.ShapeType() != TopAbs_EDGE ||
-       !GEOMBase::CreateArrowForLinearEdge( aShape, aResult ) ||
-       aResult.IsNull() )
-    return 0;
-
-  return getDisplayer()->BuildPrs( aResult );
-  
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_PropertiesDlg.h b/src/MeasureGUI/MeasureGUI_PropertiesDlg.h
deleted file mode 100644 (file)
index e63a0ef..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_PropertiesDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-
-#ifndef DIALOGBOX_PROPERTIES_H
-#define DIALOGBOX_PROPERTIES_H
-
-#include "MeasureGUI_Skeleton.h"
-class MeasureGUI_1Sel3LineEdit_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : MeasureGUI_PropertiesDlg
-// purpose  : Dialog for displaying length, area and volume
-//=================================================================================
-
-class MEASUREGUI_EXPORT MeasureGUI_PropertiesDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_PropertiesDlg( GeometryGUI* GUI,
-                                                                 QWidget*     parent );
-                                        ~MeasureGUI_PropertiesDlg();
-
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-    virtual void                        activateSelection();
-    virtual SALOME_Prs*                 buildPrs();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( double& theLength,
-                                                       double& theArea,
-                                                       double& theVolume );
-
-private:    
-
-    MeasureGUI_1Sel3LineEdit_QTD*       myGrp;
-};
-
-#endif // DIALOGBOX_PROPERTIES_H
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_Skeleton.cxx b/src/MeasureGUI/MeasureGUI_Skeleton.cxx
deleted file mode 100644 (file)
index 4e89cdd..0000000
+++ /dev/null
@@ -1,344 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_Skeleton.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_Skeleton.h"
-#include "GEOMBase.h"
-#include "GEOM_Displayer.h"
-#include "GeometryGUI.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SalomeApp_Tools.h"
-#include "SUIT_Session.h"
-#include "SUIT_OverrideCursor.h"
-
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-#include <qapplication.h>
-
-//=================================================================================
-// class    : MeasureGUI_Skeleton()
-// purpose  : Constructs a MeasureGUI_Skeleton which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_Skeleton::MeasureGUI_Skeleton( GeometryGUI*      GUI,
-                                         QWidget*          parent,
-                                          const char*       name )
-: MeasureGUI_Skeleton_QTD( parent, name, false,
-                          WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose ),
-  GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) ),
-  myGeomGUI( GUI )
-{
-
-  mySelBtn = 0;
-  mySelEdit = 0;
-  myDisplayer = 0;
-  
-  if ( !name )
-    setName( "MeasureGUI_Skeleton" );
-
-  buttonClose->setText( tr( "GEOM_BUT_CLOSE" ) );
-
-  buttonClose->setAutoDefault( false );
-
-  GroupMedium->close( TRUE );
-  resize( 350, 0 );
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_Skeleton()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_Skeleton::~MeasureGUI_Skeleton()
-{
-  myGeomGUI->SetActiveDialogBox( 0 );
-  delete myDisplayer;
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::Init()
-{
-  /* init variables */
-  myGeomGUI->SetActiveDialogBox((QDialog*)this);
-
-  /* signals and slots connections */
-  
-  connect( buttonClose, SIGNAL( clicked() ),
-          this,         SLOT( ClickOnCancel() ) );
-  
-  connect( myGeomGUI,   SIGNAL( SignalDeactivateActiveDialog() ),
-           this,        SLOT  ( DeactivateActiveDialog() ) );
-           
-  connect( myGeomGUI,   SIGNAL( SignalCloseAllDialogs() ),
-           this,        SLOT  ( ClickOnCancel() ) );
-
-  connect( mySelEdit,   SIGNAL( returnPressed() ),
-           this,        SLOT( LineEditReturnPressed() ) );
-           
-  connect( mySelBtn,    SIGNAL( clicked() ),
-           this,        SLOT  ( SetEditCurrentArgument() ) );
-
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
-  if ( aSel )
-    connect( aSel, SIGNAL( currentSelectionChanged() ), 
-            this, SLOT  ( SelectionIntoArgument() ) ) ;
-
-  /* displays Dialog */
-  RadioButton1->setChecked( TRUE );
-
-  activateSelection();
-  SelectionIntoArgument();
-  show();
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::ClickOnCancel()
-{
-  close();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::LineEditReturnPressed()
-{
-  /* User name of object input management                          */
-  /* If successfull the selection is changed and signal emitted... */
-  /* so SelectionIntoArgument() is automatically called.           */
-  
-  const QString objectUserName = mySelEdit->text();
-  QWidget* thisWidget = ( QWidget* )this;
-  
-  if ( GEOMBase::SelectionByNameInDialogs( thisWidget, objectUserName, selectedIO() ) )
-    mySelEdit->setText( objectUserName );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::DeactivateActiveDialog()
-{
-  setEnabled( false );
-  
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
-  if ( aSel )
-    disconnect( aSel, 0, this, 0 );
-  
-  myGeomGUI->SetActiveDialogBox( 0 );
-
-  globalSelection();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::ActivateThisDialog()
-{
-  myGeomGUI->EmitSignalDeactivateDialog();
-  
-  setEnabled( true );
-  
-  myGeomGUI->SetActiveDialogBox( ( QDialog* )this );
-
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
-  if ( aSel )
-    connect( aSel, SIGNAL( currentSelectionChanged() ), 
-            this, SLOT  ( SelectionIntoArgument() ) ) ;
-  
-  redisplayPreview();
-  activateSelection();
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::SetEditCurrentArgument()
-{
-  mySelEdit->setFocus();
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::SelectionIntoArgument()
-{
-  myObj = GEOM::GEOM_Object::_nil();
-  
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if( !testResult || aSelectedObject->_is_nil() )
-  {
-    mySelEdit->setText( "" );
-    processObject();
-    erasePreview();
-    return;
-  }
-
-  myObj = aSelectedObject;
-  mySelEdit->setText( GEOMBase::GetName( myObj ) );
-  processObject();
-  redisplayPreview();
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::processObject()
-{  
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::closeEvent( QCloseEvent* e )
-{
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
-  if ( aSel )
-    disconnect( aSel, 0, this, 0 );
-  QDialog::closeEvent( e );
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void MeasureGUI_Skeleton::enterEvent(QEvent* e)
-{
-  if ( GroupConstructors->isEnabled() )
-    return;
-    
-  ActivateThisDialog();
-}
-
-//=================================================================================
-// function : buildPrs
-// purpose  : Build presentation for "preview"
-//=================================================================================
-SALOME_Prs* MeasureGUI_Skeleton::buildPrs()
-{
-  return 0;
-}
-
-//=================================================================================
-// function : closeEvent()
-// purpose  : Build presentation for "preview"
-//=================================================================================
-void MeasureGUI_Skeleton::redisplayPreview()
-{
-  QString aMess;
-  if ( !isValid( aMess ) )
-  {
-    erasePreview( true );
-    return;
-  }
-
-  erasePreview( false );
-
-  try
-  {
-    SUIT_OverrideCursor();
-
-    getDisplayer()->SetColor( Quantity_NOC_VIOLET );
-    getDisplayer()->SetToActivate( false );
-    
-    if ( SALOME_Prs* aPrs = buildPrs() )
-      displayPreview( aPrs );
-  }
-  catch( const SALOME::SALOME_Exception& e )
-  {
-    SalomeApp_Tools::QtCatchCorbaException( e );
-  }
-  
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : 
-//=================================================================================
-void MeasureGUI_Skeleton::activateSelection()
-{
-  globalSelection( GEOM_ALLSHAPES );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool MeasureGUI_Skeleton::isValid( QString& )
-{
-  return !myObj->_is_nil();
-}
-
-//================================================================
-// Function : getDisplayer
-// Purpose  :
-//================================================================
-GEOM_Displayer* MeasureGUI_Skeleton::getDisplayer()
-{
-  if ( !myDisplayer )
-    myDisplayer = new GEOM_Displayer( getStudy() );
-  return myDisplayer;
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr MeasureGUI_Skeleton::createOperation()
-{
-  return getGeomEngine()->GetIMeasureOperations( getStudyId() );
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_Skeleton.h b/src/MeasureGUI/MeasureGUI_Skeleton.h
deleted file mode 100644 (file)
index bcf601a..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_Skeleton.h
-//  Author : Damine COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#ifndef MEASUREGUI_SKELETON_H
-#define MEASUREGUI_SKELETON_H
-
-#include "MeasureGUI_Skeleton_QTD.h"
-#include "GEOMBase_Helper.h"
-
-class GeometryGUI;
-class QWidget;
-class QLineEdit;
-class QPushButton;
-class GEOM_Displayer;
-
-class MeasureGUI_Skeleton : public MeasureGUI_Skeleton_QTD,
-                            public GEOMBase_Helper
-{ 
-    Q_OBJECT
-
-public:
-                              MeasureGUI_Skeleton( GeometryGUI*      GUI,
-                                                  QWidget*          parent,
-                                                   const char*       name );
-                              ~MeasureGUI_Skeleton();
-
-protected slots:
-
-    virtual void              ClickOnCancel();
-    virtual void              DeactivateActiveDialog();
-    virtual void              ActivateThisDialog();
-    virtual void              SelectionIntoArgument();
-    virtual void              LineEditReturnPressed();
-    virtual void              SetEditCurrentArgument();                              
-
-protected:
-
-    void                      Init();
-
-    void                      enterEvent( QEvent* e );
-    void                      closeEvent( QCloseEvent* e );
-    void                      redisplayPreview();
-    GEOM_Displayer*           getDisplayer();
-
-    virtual bool              isValid( QString& msg );
-    virtual SALOME_Prs*       buildPrs();
-    virtual void              processObject();
-    virtual void              activateSelection();
-
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-
-protected:    
-    
-    QPushButton*              mySelBtn;
-    QLineEdit*                mySelEdit;
-    GEOM::GEOM_Object_var     myObj;
-    
-    GeometryGUI*              myGeomGUI;
-    GEOM_Displayer*           myDisplayer;
-};
-
-#endif // MEASUREGUI_SKELETON_H
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_Skeleton_QTD.cxx b/src/MeasureGUI/MeasureGUI_Skeleton_QTD.cxx
deleted file mode 100644 (file)
index 5022ad5..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-** Form implementation generated from reading ui file 'MeasureGUI_Skeleton_QTD.ui'
-**
-** Created: lun oct 27 11:23:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#include "MeasureGUI_Skeleton_QTD.h"
-
-#include <qvariant.h>
-#include <qbuttongroup.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-
-/* 
- *  Constructs a MeasureGUI_Skeleton_QTD which is a child of 'parent', with the 
- *  name 'name' and widget flags set to 'f'.
- *
- *  The dialog will by default be modeless, unless you set 'modal' to
- *  TRUE to construct a modal dialog.
- */
-MeasureGUI_Skeleton_QTD::MeasureGUI_Skeleton_QTD( QWidget* parent,  const char* name, bool modal, WFlags fl )
-    : QDialog( parent, name, modal, fl )
-{
-    if ( !name )
-       setName( "MeasureGUI_Skeleton_QTD" );
-    resize( 228, 266 ); 
-    setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
-    setCaption( trUtf8( "MeasureGUI_Skeleton_QTD" ) );
-    setSizeGripEnabled( TRUE );
-    MeasureGUI_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "MeasureGUI_Skeleton_QTDLayout"); 
-
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
-
-    GroupButtons = new QGroupBox( this, "GroupButtons" );
-    GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
-    GroupButtons->setTitle( trUtf8( "" ) );
-    GroupButtons->setColumnLayout(0, Qt::Vertical );
-    GroupButtons->layout()->setSpacing( 6 );
-    GroupButtons->layout()->setMargin( 11 );
-    GroupButtonsLayout = new QGridLayout( GroupButtons->layout() );
-    GroupButtonsLayout->setAlignment( Qt::AlignTop );
-
-    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
-    QSpacerItem* spacer = new QSpacerItem( 120, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
-    Layout3->addItem( spacer, 0, 2 );
-    QSpacerItem* spacer_2 = new QSpacerItem( 120, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
-    Layout3->addItem( spacer_2, 0, 0 );
-
-    buttonClose = new QPushButton( GroupButtons, "buttonClose" );
-    buttonClose->setText( trUtf8( "&Close" ) );
-
-    Layout3->addWidget( buttonClose, 0, 1 );
-
-    GroupButtonsLayout->addLayout( Layout3, 0, 0 );
-
-    Layout1->addWidget( GroupButtons, 2, 0 );
-
-    GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
-    GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
-    GroupConstructors->setTitle( trUtf8( "" ) );
-    GroupConstructors->setColumnLayout(0, Qt::Vertical );
-    GroupConstructors->layout()->setSpacing( 6 );
-    GroupConstructors->layout()->setMargin( 11 );
-    GroupConstructorsLayout = new QGridLayout( GroupConstructors->layout() );
-    GroupConstructorsLayout->setAlignment( Qt::AlignTop );
-
-    Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); 
-
-    RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" );
-    RadioButton1->setText( trUtf8( "" ) );
-    Layout2->addWidget( RadioButton1 );
-
-    GroupConstructorsLayout->addLayout( Layout2, 0, 0 );
-
-    Layout1->addWidget( GroupConstructors, 0, 0 );
-
-    GroupMedium = new QGroupBox( this, "GroupMedium" );
-    GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
-    GroupMedium->setTitle( trUtf8( "" ) );
-
-    Layout1->addWidget( GroupMedium, 1, 0 );
-
-    MeasureGUI_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
-}
-
-/*  
- *  Destroys the object and frees any allocated resources
- */
-MeasureGUI_Skeleton_QTD::~MeasureGUI_Skeleton_QTD()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
diff --git a/src/MeasureGUI/MeasureGUI_Skeleton_QTD.h b/src/MeasureGUI/MeasureGUI_Skeleton_QTD.h
deleted file mode 100644 (file)
index 39564b0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-** Form interface generated from reading ui file 'MeasureGUI_Skeleton_QTD.ui'
-**
-** Created: lun oct 27 11:23:09 2003
-**      by:  The User Interface Compiler (uic)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-#ifndef MEASUREGUI_SKELETON_QTD_H
-#define MEASUREGUI_SKELETON_QTD_H
-
-#include <qvariant.h>
-#include <qdialog.h>
-class QVBoxLayout; 
-class QHBoxLayout; 
-class QGridLayout; 
-class QButtonGroup;
-class QGroupBox;
-class QPushButton;
-class QRadioButton;
-
-class MeasureGUI_Skeleton_QTD : public QDialog
-{ 
-    Q_OBJECT
-
-public:
-    MeasureGUI_Skeleton_QTD( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
-    ~MeasureGUI_Skeleton_QTD();
-
-    QGroupBox* GroupButtons;
-    QPushButton* buttonClose;
-    QButtonGroup* GroupConstructors;
-    QRadioButton* RadioButton1;
-    QGroupBox* GroupMedium;
-
-
-protected:
-    QGridLayout* MeasureGUI_Skeleton_QTDLayout;
-    QGridLayout* Layout1;
-    QGridLayout* GroupButtonsLayout;
-    QGridLayout* Layout3;
-    QGridLayout* GroupConstructorsLayout;
-    QHBoxLayout* Layout2;
-};
-
-#endif // MEASUREGUI_SKELETON_QTD_H
diff --git a/src/MeasureGUI/MeasureGUI_WhatisDlg.cxx b/src/MeasureGUI/MeasureGUI_WhatisDlg.cxx
deleted file mode 100644 (file)
index 7bd5a6a..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_WhatisDlg.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#include "MeasureGUI_WhatisDlg.h"
-#include "MeasureGUI_1Sel1TextView_QTD.h"
-#include "GEOMBase.h"
-
-#include <TopTools_MapOfShape.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <BRep_Tool.hxx>
-
-#include "utilities.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Tools.h"
-
-#include <qtextedit.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : MeasureGUI_WhatisDlg( )
-// purpose  : Constructs a MeasureGUI_WhatisDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-MeasureGUI_WhatisDlg::MeasureGUI_WhatisDlg( GeometryGUI* GUI, QWidget* parent )
-: MeasureGUI_Skeleton( GUI, parent, "MeasureGUI_WhatisDlg" )
-{
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_DLG_WHATIS" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap(
-    "GEOM",tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_WHATIS_TITLE" ) );
-
-  /***************************************************************/
-  
-  GroupConstructors->setTitle( tr( "GEOM_WHATIS" ) );
-  RadioButton1->setPixmap( image0 );
-
-  myGrp = new MeasureGUI_1Sel1TextView_QTD( this, "myGrp" );
-  myGrp->GroupBox1->setTitle( tr( "GEOM_WHATIS_OBJECT" ) );
-  myGrp->TextLabel1->setText( tr( "GEOM_OBJECT" ) );
-  myGrp->TextEdit1->setReadOnly( TRUE );
-  myGrp->PushButton1->setPixmap( image1 );
-  myGrp->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( myGrp, 1, 0 );
-
-  /***************************************************************/
-
-  /* Initialisation */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~MeasureGUI_WhatisDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-MeasureGUI_WhatisDlg::~MeasureGUI_WhatisDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void MeasureGUI_WhatisDlg::Init()
-{
-  mySelBtn = myGrp->PushButton1;
-  mySelEdit = myGrp->LineEdit1;
-  MeasureGUI_Skeleton::Init();
-}
-
-//=================================================================================
-// function : processObject
-// purpose  :
-//=================================================================================
-void MeasureGUI_WhatisDlg::processObject()
-{
-  QString aText;
-  myGrp->TextEdit1->setText( getParameters( aText ) ? aText : QString("") );
-}
-
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-bool MeasureGUI_WhatisDlg::getParameters( QString& theText )
-{
-  if ( myObj->_is_nil() )
-    return false;
-  else
-  {
-    try
-    {
-      theText = GEOM::GEOM_IMeasureOperations::_narrow( getOperation() )->WhatIs( myObj );
-    }
-    catch( const SALOME::SALOME_Exception& e )
-    {
-      SalomeApp_Tools::QtCatchCorbaException( e );
-      return false;
-    }
-
-    return getOperation()->IsDone();
-  }
-}
-
-
-
diff --git a/src/MeasureGUI/MeasureGUI_WhatisDlg.h b/src/MeasureGUI/MeasureGUI_WhatisDlg.h
deleted file mode 100644 (file)
index ebdf84b..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MeasureGUI_WhatisDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_WHATIS_H
-#define DIALOGBOX_WHATIS_H
-
-#include "MeasureGUI_Skeleton.h"
-
-class MeasureGUI_1Sel1TextView_QTD;
-
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
-//=================================================================================
-// class    : DialogBox_PROPERTIES
-// purpose  :
-//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_WhatisDlg : public MeasureGUI_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        MeasureGUI_WhatisDlg( GeometryGUI* GUI,
-                                                             QWidget*     parent );
-                                        ~MeasureGUI_WhatisDlg();
-
-protected:
-
-    // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
-    virtual void                        processObject();
-
-private:
-
-    void                                Init();
-    bool                                getParameters( QString& );
-
-private:
-
-    MeasureGUI_1Sel1TextView_QTD*       myGrp;
-
-};
-
-#endif // DIALOGBOX_WHATIS_H
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_1Sel12LineEdit_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_1Sel12LineEdit_QTD.ui
deleted file mode 100644 (file)
index 505b87b..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_1Sel12LineEdit_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>MeasureGUI_1Sel12LineEdit_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>131</width>
-            <height>171</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_1Sel12LineEdit_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLineEdit" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit12</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit11</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit42</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="3" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit31</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit41</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="3">
-                                    <property name="name">
-                                        <cstring>LineEdit23</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="3">
-                                    <property name="name">
-                                        <cstring>LineEdit33</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="3">
-                                    <property name="name">
-                                        <cstring>LineEdit43</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit22</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="0" column="3">
-                                    <property name="name">
-                                        <cstring>LineEdit13</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit32</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit21</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer8</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>40</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_1Sel1TextView_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_1Sel1TextView_QTD.ui
deleted file mode 100644 (file)
index d8e2458..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_1Sel1TextView_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>MeasureGUI_1Sel1TextView_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>130</width>
-            <height>160</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_1Sel1TextView_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QTextEdit" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>TextEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_1Sel3LineEdit_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_1Sel3LineEdit_QTD.ui
deleted file mode 100644 (file)
index 07db7bf..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_1Sel3LineEdit_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>MeasureGUI_1Sel3LineEdit_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>141</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_1Sel3LineEdit_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout2</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit4</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <spacer row="4" column="2">
-                            <property name="name">
-                                <cstring>Spacer8</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>80</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="3" column="0">
-                            <property name="name">
-                                <cstring>TextLabel4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL4</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_1Sel6LineEdit_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_1Sel6LineEdit_QTD.ui
deleted file mode 100644 (file)
index b439a76..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_1Sel6LineEdit_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>MeasureGUI_1Sel6LineEdit_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>163</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_1Sel6LineEdit_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <spacer row="2" column="2">
-                            <property name="name">
-                                <cstring>Spacer8</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>50</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QLineEdit" row="2" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit22</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit32</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="1" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel4</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL4</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit31</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel5</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL5</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit11</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="3" column="0">
-                                    <property name="name">
-                                        <cstring>TextLabel6</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL6</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="1" column="2">
-                                    <property name="name">
-                                        <cstring>LineEdit12</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>TextLabel2</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL2</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="1">
-                                    <property name="name">
-                                        <cstring>LineEdit21</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="0" column="2">
-                                    <property name="name">
-                                        <cstring>TextLabel3</cstring>
-                                    </property>
-                                    <property name="sizePolicy">
-                                        <sizepolicy>
-                                            <hsizetype>0</hsizetype>
-                                            <vsizetype>0</vsizetype>
-                                            <horstretch>0</horstretch>
-                                            <verstretch>0</verstretch>
-                                        </sizepolicy>
-                                    </property>
-                                    <property name="text">
-                                        <string>TL3</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_2Sel1LineEdit_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_2Sel1LineEdit_QTD.ui
deleted file mode 100644 (file)
index e68cca9..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_2Sel1LineEdit_QTD</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>MeasureGUI_2Sel1LineEdit_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>129</width>
-            <height>115</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_2Sel1LineEdit_QTD</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>0</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QGroupBox" row="0" column="0">
-            <property name="name">
-                <cstring>GroupBox1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>7</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="title">
-                <string></string>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>11</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLayoutWidget" row="0" column="0">
-                    <property name="name">
-                        <cstring>Layout1</cstring>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>0</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <spacer row="3" column="2">
-                            <property name="name">
-                                <cstring>Spacer8</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Vertical</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>0</width>
-                                    <height>60</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QLabel" row="2" column="0">
-                            <property name="name">
-                                <cstring>TextLabel3</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL3</string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
-                            <property name="name">
-                                <cstring>LineEdit3</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="1" column="2">
-                            <property name="name">
-                                <cstring>LineEdit2</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="1" column="0">
-                            <property name="name">
-                                <cstring>TextLabel2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL2</string>
-                            </property>
-                        </widget>
-                        <widget class="QLabel" row="0" column="0">
-                            <property name="name">
-                                <cstring>TextLabel1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string>TL1</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="0" column="1">
-                            <property name="name">
-                                <cstring>PushButton1</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                        <widget class="QLineEdit" row="0" column="2">
-                            <property name="name">
-                                <cstring>LineEdit1</cstring>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton" row="1" column="1">
-                            <property name="name">
-                                <cstring>PushButton2</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>0</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="text">
-                                <string></string>
-                            </property>
-                        </widget>
-                    </grid>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/MeasureGUI_Skeleton_QTD.ui b/src/MeasureGUI/UIFiles/MeasureGUI_Skeleton_QTD.ui
deleted file mode 100644 (file)
index d759fb4..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
-<class>MeasureGUI_Skeleton_QTD</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>MeasureGUI_Skeleton_QTD</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>228</width>
-            <height>266</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>7</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="caption">
-        <string>MeasureGUI_Skeleton_QTD</string>
-    </property>
-    <property name="sizeGripEnabled">
-        <bool>true</bool>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <property name="margin">
-            <number>11</number>
-        </property>
-        <property name="spacing">
-            <number>6</number>
-        </property>
-        <widget class="QLayoutWidget" row="0" column="0">
-            <property name="name">
-                <cstring>Layout1</cstring>
-            </property>
-            <grid>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QGroupBox" row="2" column="0">
-                    <property name="name">
-                        <cstring>GroupButtons</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout3</cstring>
-                            </property>
-                            <grid>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <spacer row="0" column="2">
-                                    <property name="name">
-                                        <cstring>Spacer2</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Horizontal</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>120</width>
-                                            <height>0</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <spacer row="0" column="0">
-                                    <property name="name">
-                                        <cstring>Spacer1</cstring>
-                                    </property>
-                                    <property name="orientation">
-                                        <enum>Horizontal</enum>
-                                    </property>
-                                    <property name="sizeType">
-                                        <enum>Expanding</enum>
-                                    </property>
-                                    <property name="sizeHint">
-                                        <size>
-                                            <width>120</width>
-                                            <height>0</height>
-                                        </size>
-                                    </property>
-                                </spacer>
-                                <widget class="QPushButton" row="0" column="1">
-                                    <property name="name">
-                                        <cstring>buttonClose</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>&amp;Close</string>
-                                    </property>
-                                </widget>
-                            </grid>
-                        </widget>
-                    </grid>
-                </widget>
-                <widget class="QButtonGroup" row="0" column="0">
-                    <property name="name">
-                        <cstring>GroupConstructors</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>5</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                    <grid>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <property name="margin">
-                            <number>11</number>
-                        </property>
-                        <property name="spacing">
-                            <number>6</number>
-                        </property>
-                        <widget class="QLayoutWidget" row="0" column="0">
-                            <property name="name">
-                                <cstring>Layout2</cstring>
-                            </property>
-                            <hbox>
-                                <property name="name">
-                                    <cstring>unnamed</cstring>
-                                </property>
-                                <property name="margin">
-                                    <number>0</number>
-                                </property>
-                                <property name="spacing">
-                                    <number>6</number>
-                                </property>
-                                <widget class="QRadioButton">
-                                    <property name="name">
-                                        <cstring>RadioButton1</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
-                                    </property>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </grid>
-                </widget>
-                <widget class="QGroupBox" row="1" column="0">
-                    <property name="name">
-                        <cstring>GroupMedium</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>7</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="title">
-                        <string></string>
-                    </property>
-                </widget>
-            </grid>
-        </widget>
-    </grid>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
diff --git a/src/MeasureGUI/UIFiles/ui_to_cxx b/src/MeasureGUI/UIFiles/ui_to_cxx
deleted file mode 100755 (executable)
index a0a3503..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-#uic -o MeasureGUI_Skeleton_QTD.h MeasureGUI_Skeleton_QTD.ui
-#uic -o MeasureGUI_Skeleton_QTD.cxx -impl MeasureGUI_Skeleton_QTD.h MeasureGUI_Skeleton_QTD.ui
-
-uic -o MeasureGUI_1Sel3LineEdit_QTD.h MeasureGUI_1Sel3LineEdit_QTD.ui
-uic -o MeasureGUI_1Sel3LineEdit_QTD.cxx -impl MeasureGUI_1Sel3LineEdit_QTD.h MeasureGUI_1Sel3LineEdit_QTD.ui
-
-uic -o MeasureGUI_1Sel6LineEdit_QTD.h MeasureGUI_1Sel6LineEdit_QTD.ui
-uic -o MeasureGUI_1Sel6LineEdit_QTD.cxx -impl MeasureGUI_1Sel6LineEdit_QTD.h MeasureGUI_1Sel6LineEdit_QTD.ui
-
-uic -o MeasureGUI_1Sel12LineEdit_QTD.h MeasureGUI_1Sel12LineEdit_QTD.ui
-uic -o MeasureGUI_1Sel12LineEdit_QTD.cxx -impl MeasureGUI_1Sel12LineEdit_QTD.h MeasureGUI_1Sel12LineEdit_QTD.ui
-
-uic -o MeasureGUI_2Sel1LineEdit_QTD.h MeasureGUI_2Sel1LineEdit_QTD.ui
-uic -o MeasureGUI_2Sel1LineEdit_QTD.cxx -impl MeasureGUI_2Sel1LineEdit_QTD.h MeasureGUI_2Sel1LineEdit_QTD.ui
-
-#uic -o MeasureGUI_1Sel1TextView_QTD.h MeasureGUI_1Sel1TextView_QTD.ui
-#uic -o MeasureGUI_1Sel1TextView_QTD.cxx -impl MeasureGUI_1Sel1TextView_QTD.h MeasureGUI_1Sel1TextView_QTD.ui
diff --git a/src/NMTAlgo/Makefile.in b/src/NMTAlgo/Makefile.in
deleted file mode 100644 (file)
index 1dac5fc..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#  GEOM NMTAlgo : partition algorithm
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libNMTAlgo.la
-LIB_SRC = \
-       NMTAlgo_Algo.cxx \
-       NMTAlgo_Builder.cxx \
-       NMTAlgo_Loop3d.cxx \
-       NMTAlgo_Splitter.cxx \
-       NMTAlgo_Splitter1.cxx \
-       NMTAlgo_Splitter_1.cxx \
-       NMTAlgo_Splitter_2.cxx \
-       NMTAlgo_Tools.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = \
-       NMTAlgo_Splitter1.hxx \
-       NMTAlgo_Splitter.hxx \
-       NMTAlgo_Builder.hxx \
-       NMTAlgo_Algo.hxx
-
-# idl files
-EXPORT_IDLS=
-
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS += $(CAS_LDPATH) -lNMTTools -lTKBool -lTKBO -L${KERNEL_ROOT_DIR}/lib/salome
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/NMTAlgo/NMTAlgo.cdl b/src/NMTAlgo/NMTAlgo.cdl
deleted file mode 100644 (file)
index 19f52da..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- File:       NMTAlgo.cdl
--- Created:    Tue Jan 27 14:39:05 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-package NMTAlgo 
-
-       ---Purpose: 
-
-uses
-    TCollection,
-    TColStd, 
-    gp,
-    TopAbs, 
-    TopoDS, 
-    TopTools,  
-    
-    BooleanOperations,
-    BOPTColStd,
-    IntTools,
-    BOPTools, 
-    BOP, 
-     
-    NMTDS,
-    NMTTools, 
-      
-    BRep,
-    BRepAlgo 
-    
-is 
-    deferred class Algo; 
-    class Splitter; 
-    class Splitter1; --modified by NIZNHY-PKV Wed Feb 11 14:28:50 2004
-    class Builder; 
-    class Tools; 
-    class Loop3d; 
-       
-end NMTAlgo;
diff --git a/src/NMTAlgo/NMTAlgo_Algo.cdl b/src/NMTAlgo/NMTAlgo_Algo.cdl
deleted file mode 100644 (file)
index cad7655..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
--- File:       NMTAlgo_Algo.cdl
--- Created:    Tue Jan 27 14:41:04 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-deferred class Algo from NMTAlgo 
-
-       ---Purpose: 
-
-uses 
-    Shape     from TopoDS, 
-    
-    DSFiller  from NMTTools,
-    PDSFiller from NMTTools
-
---raises
-
-is
-    Initialize 
-       returns Algo from NMTAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Algo();" 
-      
-     
-    SetFiller(me:out; 
-           aDSF: DSFiller from NMTTools);
-     
-    Filler(me)
-       returns DSFiller from NMTTools; 
-    ---C++:  return const &     
-     
-    ComputeWithFiller(me:out; 
-       aDSF: DSFiller from NMTTools) 
-       is virtual;  
-        
-    Clear (me:out) 
-       is virtual; 
-       
-    Shape (me) 
-       returns Shape from TopoDS;
-    ---C++:  return const &                              
-     
-    IsDone(me) 
-       returns Boolean from Standard; 
-     
-    ErrorStatus (me) 
-       returns Integer from Standard; 
-
-fields 
-    myDSFiller       : PDSFiller from NMTTools         is protected; 
-    myShape          : Shape   from TopoDS             is protected;
-    -- 
-    myIsDone         : Boolean from Standard           is protected; 
-    myIsComputed     : Boolean from Standard           is protected; 
-    myErrorStatus    : Integer from Standard           is protected;    
-    myDraw           : Integer from Standard                   is protected;  
-    
-end Algo;
diff --git a/src/NMTAlgo/NMTAlgo_Algo.cxx b/src/NMTAlgo/NMTAlgo_Algo.cxx
deleted file mode 100644 (file)
index 1b77cbc..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// File:       NMTAlgo_Algo.cxx
-// Created:    Tue Jan 27 14:58:21 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Algo.ixx>
-#include <stdlib.h>
-//=======================================================================
-// function: NMTAlgo_Algo::NMTAlgo_Algo
-// purpose: 
-//=======================================================================
-  NMTAlgo_Algo::NMTAlgo_Algo()
-:
-  myDSFiller(NULL),
-  myIsDone(Standard_False),
-  myIsComputed(Standard_False),
-  myErrorStatus(1)
-{
-  myDraw=0;
-  //
-  char* xr=getenv("MDISP");
-  if (xr!=NULL) {
-    if (!strcmp (xr, "yes")) {
-      myDraw=1;
-    }
-  }
-}
-//=======================================================================
-// function: NMTAlgo_Algo
-// purpose: 
-//=======================================================================
-  NMTAlgo_Algo::~NMTAlgo_Algo()
-{
-  Clear();
-}
-//=======================================================================
-// function: Clear
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Algo::Clear()
-{
-  myIsDone=Standard_False;
-  myIsComputed=Standard_False;
-  myErrorStatus=1;
-}
-//=======================================================================
-// function: SetFiller
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Algo::SetFiller(const NMTTools_DSFiller& aDSF)
-{
-  myDSFiller=(NMTTools_DSFiller *)&aDSF;
-}
-//=======================================================================
-// function: Filler
-// purpose: 
-//=======================================================================
-  const NMTTools_DSFiller& NMTAlgo_Algo::Filler()const
-{
-  return *myDSFiller;
-}
-//=======================================================================
-// function: ComputeWithFiller
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Algo::ComputeWithFiller(const NMTTools_DSFiller& aDSF)
-{
-  SetFiller(aDSF);
-}
-//=======================================================================
-// function: Shape
-// purpose: 
-//=======================================================================
-  const TopoDS_Shape& NMTAlgo_Algo::Shape()const
-{
-  return myShape;
-}
-//=======================================================================
-// function: IsDone
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTAlgo_Algo::IsDone()const
-{
-  return myIsDone;
-}
-//=======================================================================
-// function: ErrorStatus
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTAlgo_Algo::ErrorStatus()const
-{
-  return myErrorStatus;
-}
-/*
-//=======================================================================
-// function: Compute
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Algo::Compute()
-{
-}
-//=======================================================================
-// function: SetCompositeShape
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Algo::SetCompositeShape(const TopoDS_Shape& aS)
-{
-  myCompositeShape=aS;
-}
-//=======================================================================
-// function: CompositeShape
-// purpose: 
-//=======================================================================
-  const TopoDS_Shape& NMTAlgo_Algo::CompositeShape()const
-{
-  return myCompositeShape;
-}
-*/
diff --git a/src/NMTAlgo/NMTAlgo_Algo.hxx b/src/NMTAlgo/NMTAlgo_Algo.hxx
deleted file mode 100644 (file)
index afa9726..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTAlgo_Algo_HeaderFile
-#define _NMTAlgo_Algo_HeaderFile
-
-#ifndef _NMTTools_PDSFiller_HeaderFile
-#include <NMTTools_PDSFiller.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-class NMTTools_DSFiller;
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Algo  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT   void SetFiller(const NMTTools_DSFiller& aDSF) ;
-Standard_EXPORT  const NMTTools_DSFiller& Filler() const;
-Standard_EXPORT virtual  void ComputeWithFiller(const NMTTools_DSFiller& aDSF) ;
-Standard_EXPORT virtual  void Clear() ;
-Standard_EXPORT  const TopoDS_Shape& Shape() const;
-Standard_EXPORT   Standard_Boolean IsDone() const;
-Standard_EXPORT   Standard_Integer ErrorStatus() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT NMTAlgo_Algo();
-Standard_EXPORT virtual ~NMTAlgo_Algo();
-
-
- // Fields PROTECTED
- //
-NMTTools_PDSFiller myDSFiller;
-TopoDS_Shape myShape;
-Standard_Boolean myIsDone;
-Standard_Boolean myIsComputed;
-Standard_Integer myErrorStatus;
-Standard_Integer myDraw;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Algo.ixx b/src/NMTAlgo/NMTAlgo_Algo.ixx
deleted file mode 100644 (file)
index 0d5a233..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Algo.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Algo.jxx b/src/NMTAlgo/NMTAlgo_Algo.jxx
deleted file mode 100644 (file)
index a31f1b5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _NMTTools_DSFiller_HeaderFile
-#include <NMTTools_DSFiller.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTAlgo_Algo_HeaderFile
-#include <NMTAlgo_Algo.hxx>
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Builder.cdl b/src/NMTAlgo/NMTAlgo_Builder.cdl
deleted file mode 100644 (file)
index 8587477..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
--- File:       NMTAlgo_Builder.cdl
--- Created:    Tue Jan 27 15:09:45 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class Builder from NMTAlgo  
-    inherits Algo from NMTAlgo 
-
-       ---Purpose: 
-
-uses  
-    Shape from TopoDS, 
-    Face  from TopoDS,
-    Edge  from TopoDS,
-    IndexedMapOfShape                from TopTools, 
-    IndexedDataMapOfShapeListOfShape from TopTools,  
-    IndexedDataMapOfShapeShape       from TopTools,
-    Image from BRepAlgo,
-    DSFiller from NMTTools
---raises
-
-is 
-    Create 
-       returns Builder from NMTAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Builder();" 
-
-    Clear (me:out) 
-       is redefined;             
-     
-    ComputeWithFiller(me:out; 
-       aDSF: DSFiller from NMTTools) 
-       is redefined;  
-     
-    FillImagesEdges (me:out) 
-       is protected; 
-        
-    FillIn2DParts (me:out) 
-       is protected; 
-        
-    FillImagesFaces (me:out) 
-       is protected;  
-        
-    FillSDFaces  (me:out) 
-       is protected; 
-       
-    ---  Queries 
-    SplitVertices  (me:out) 
-       is protected;   
-
-    IsSectionEdge (me;  
-           E : Edge from TopoDS) 
-        returns Boolean from Standard 
-       is protected;     
-        
-    HasSameDomainF(me;  
-           F : Face from TopoDS)
-        returns Boolean from Standard 
-       is protected;
-    
-    IsSameDomainF(me;  
-           F1 : Face from TopoDS;
-           F2 : Face from TopoDS)
-        returns Boolean from Standard 
-       is protected;
-
-fields 
-
-    myImagesEdges       : Image from BRepAlgo is protected; 
-    myImagesFaces       : Image from BRepAlgo is protected; 
-    
-    myQueryShapes       : IndexedMapOfShape                from TopTools is protected;
-    -- 
-    myIn2DParts         : IndexedDataMapOfShapeListOfShape from TopTools is protected;         
-    mySectionParts      : IndexedDataMapOfShapeListOfShape from TopTools is protected; 
-    mySDFaces           : IndexedDataMapOfShapeShape       from TopTools is protected;
-    --      
-end Builder;
diff --git a/src/NMTAlgo/NMTAlgo_Builder.cxx b/src/NMTAlgo/NMTAlgo_Builder.cxx
deleted file mode 100644 (file)
index 315b36b..0000000
+++ /dev/null
@@ -1,649 +0,0 @@
-// File:       NMTAlgo_Inter3d.cxx
-// Created:    Tue Jan 27 15:14:13 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Builder.ixx>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <TopoDS_Face.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <BOPTColStd_Dump.hxx>
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-
-#include <IntTools_Context.hxx>
-
-#include <BOPTools_Tools3D.hxx>
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_SequenceOfCurves.hxx>
-#include <BOPTools_Curve.hxx>
-#include <BOPTools_SequenceOfCurves.hxx>
-#include <BOPTools_SplitShapesPool.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-
-#include <BOP_WireEdgeSet.hxx>
-#include <BOP_FaceBuilder.hxx>
-#include <BOP_BuilderTools.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-#include <NMTTools_PaveFiller.hxx>
-#include <NMTTools_ListOfCoupleOfShape.hxx>
-#include <NMTTools_Tools.hxx>
-#include <NMTTools_CoupleOfShape.hxx>
-#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-
-#include <TopoDS_Shell.hxx>
-#include <NMTAlgo_Tools.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Iterator.hxx>
-
-//=======================================================================
-// function: NMTAlgo_Inter3d::NMTAlgo_Inter3d()
-// purpose: 
-//=======================================================================
-  NMTAlgo_Builder::NMTAlgo_Builder()
-:
-  NMTAlgo_Algo()
-{
-}
-//=======================================================================
-// function: ~NMTAlgo_Builder
-// purpose: 
-//=======================================================================
-  NMTAlgo_Builder::~NMTAlgo_Builder()
-{
-  Clear();
-}
-//=======================================================================
-// function: Clear
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::Clear()
-{
-  NMTAlgo_Algo::Clear();
-  //
-  myImagesEdges.Clear();
-  myImagesFaces.Clear();
-  myIn2DParts.Clear();
-  mySectionParts.Clear();
-  mySDFaces.Clear();
-}
-//=======================================================================
-// function: ComputeWithFiller
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::ComputeWithFiller(const NMTTools_DSFiller& aDSF)
-{
-  myErrorStatus=0;
-  myIsDone=Standard_False;
-  //
-  SetFiller(aDSF);
-  // edges
-  FillImagesEdges();
-  // faces
-  FillIn2DParts();
-  FillImagesFaces();
-  FillSDFaces();
-}
-
-//=======================================================================
-// function: FillSDFaces
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::FillSDFaces()
-{
-  const NMTDS_ShapesDataStructure& aDS=myDSFiller->DS();
-  NMTTools_PaveFiller* pPF=(NMTTools_PaveFiller*)&(myDSFiller->PaveFiller());
-  BOPTools_InterferencePool* pIP=(BOPTools_InterferencePool*)&myDSFiller->InterfPool();
-  BOPTools_CArray1OfSSInterference& aFFs=pIP->SSInterferences();
-  IntTools_Context& aCtx= pPF->ChangeContext();
-  //
-  Standard_Boolean bIsSDF;
-  Standard_Integer i, j, aNbFF, nF1, nF2, aNbPBInOn, aNbC;
-  TopTools_ListIteratorOfListOfShape aItF1, aItF2;
-  NMTTools_ListOfCoupleOfShape aLCS;   
-  //
-  mySDFaces.Clear();
-  //
-  // 1. For each FF find among images of faces
-  //    all pairs of same domain faces (SDF) [=> aLCS]
-  aNbFF=aFFs.Extent();
-  for (i=1; i<=aNbFF; ++i) {
-    BOPTools_SSInterference& aFF=aFFs(i);
-    aFF.Indices(nF1, nF2);
-    //
-    const TopoDS_Face& aF1=TopoDS::Face(aDS.Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(aDS.Shape(nF2));
-    //
-    // if there are no in/on 2D split parts the faces nF1, nF2
-    // can not be SDF
-    const BOPTools_ListOfPaveBlock& aLPBInOn=aFF.PaveBlocks();
-    aNbPBInOn=aLPBInOn.Extent();
-    if (!aNbPBInOn) {
-      continue;
-    }
-    //
-    // if there is at least one section edge between faces nF1, nF2
-    // they can not be SDF
-    BOPTools_SequenceOfCurves& aSC=aFF.Curves();
-    aNbC=aSC.Length();
-    if (aNbC) {
-      continue;
-    }
-    //
-    // the faces are suspected to be SDF.
-    // Try to find SDF among images of nF1, nF2
-    const TopTools_ListOfShape& aLF1=myImagesFaces.Image(aF1);
-    const TopTools_ListOfShape& aLF2=myImagesFaces.Image(aF2);
-    //
-    aItF1.Initialize(aLF1);
-    for (; aItF1.More(); aItF1.Next()) {
-      const TopoDS_Face& aF1x=TopoDS::Face(aItF1.Value());
-      //
-      aItF2.Initialize(aLF2);
-      for (; aItF2.More(); aItF2.Next()) {
-       const TopoDS_Face& aF2y=TopoDS::Face(aItF2.Value());
-       bIsSDF=NMTTools_Tools::AreFacesSameDomain(aF1x, aF2y, aCtx);
-       if (bIsSDF) {
-         NMTTools_CoupleOfShape aCS;
-         //
-         aCS.SetShape1(aF1x);
-         aCS.SetShape2(aF2y);
-         aLCS.Append(aCS);
-       }
-      }
-    }
-  }//for (i=1; i<=aNbFF; ++i)
-  //
-  aNbC=aLCS.Extent();
-  if (!aNbC) {
-    return;
-  }
-  //
-  // 2. Find Chains
-  NMTTools_IndexedDataMapOfShapeIndexedMapOfShape aMC;  
-  //
-  NMTTools_Tools::FindChains(aLCS, aMC); 
-  //
-  // 3. Fill the map of SDF mySDFaces
-  aNbC=aMC.Extent();
-  for (i=1; i<=aNbC; ++i) {
-    const TopoDS_Shape& aF=aMC.FindKey(i);
-    const TopTools_IndexedMapOfShape& aMSDF=aMC(i);
-    //
-    aNbFF=aMSDF.Extent();
-    for (j=1; j<=aNbFF; ++j) {
-      const TopoDS_Shape& aFSD=aMSDF(j);
-      mySDFaces.Add(aFSD, aF);
-    }
-  }
-  //
-}
-//=======================================================================
-// function: FillImagesFaces
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::FillImagesFaces()
-{
-  const NMTDS_ShapesDataStructure& aDS=myDSFiller->DS();
-  NMTTools_PaveFiller* pPF=(NMTTools_PaveFiller*)&(myDSFiller->PaveFiller());
-  IntTools_Context& aCtx= pPF->ChangeContext();
-  //
-  Standard_Integer i, j, aNb, aNbE;
-  TopTools_IndexedMapOfShape aMFence, aME;
-  TColStd_IndexedMapOfInteger aMFP;
-  //
-  // 1. Select Faces to process (MFP)
-  aNb=aDS.NumberOfShapesOfTheObject();
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aF=aDS.Shape(i);
-    if (aF.ShapeType()!=TopAbs_FACE) {
-      continue;
-    }
-    if (aMFence.Contains(aF)) {
-      continue;
-    }
-    aMFence.Add(aF);
-    //
-    if (myIn2DParts.Contains(aF)) {
-      aMFP.Add(i);
-      continue;
-    }
-    //
-    if (mySectionParts.Contains(aF)) {
-      aMFP.Add(i);
-      continue;
-    }
-    //
-    aME.Clear();
-    TopExp::MapShapes(aF, TopAbs_EDGE, aME);
-    //
-    aNbE=aME.Extent();
-    for(j=1; j<=aNbE; ++j) {
-      const TopoDS_Shape& aE=aME(j);
-      //
-      if (myImagesEdges.HasImage(aE)) {
-       aMFP.Add(i);
-       break;
-      }
-    }
-  }// for (i=1; i<=aNb; ++i)
-  //
-  // 2. ProcessFaces
-  Standard_Boolean bToReverse, bIsClosed, bIsDegenerated;
-  Standard_Integer aNbF, nF;
-  TopoDS_Face aFF;
-  TopoDS_Edge aSp;
-  TopExp_Explorer anExp;
-  TopTools_ListIteratorOfListOfShape aIt;
-  BRepAlgo_Image aImagesFaces;
-  TopAbs_Orientation anOriF;
-  //
-  aNbF=aMFP.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    nF=aMFP(i);
-    const TopoDS_Face& aF=TopoDS::Face(aDS.Shape(nF));
-    anOriF=aF.Orientation();
-    aFF=aF;
-    aFF.Orientation(TopAbs_FORWARD);
-    //
-    aMFence.Clear();
-    //
-    // 2.1. Fill WES 
-    BOP_WireEdgeSet aWES;
-    aWES.Initialize(aFF);
-    //
-    //  2.1.1. Add Split parts
-    anExp.Init(aFF, TopAbs_EDGE);
-    for (; anExp.More(); anExp.Next()) {
-      const TopoDS_Edge& aE=TopoDS::Edge(anExp.Current());
-      //
-      if (!myImagesEdges.HasImage(aE)) {
-       aWES.AddStartElement(aE);
-       continue;
-      }
-      //
-      bIsDegenerated=BRep_Tool::Degenerated(aE);
-      bIsClosed=BRep_Tool::IsClosed(aE, aF);
-      //
-      const TopTools_ListOfShape& aLIE=myImagesEdges.Image(aE);
-      aIt.Initialize(aLIE);
-      for (; aIt.More(); aIt.Next()) {
-       aSp=TopoDS::Edge(aIt.Value());
-       //
-       if (bIsDegenerated) {
-         aSp.Orientation(aE.Orientation());
-         aWES.AddStartElement(aSp);
-         continue;
-       }
-       //
-       if (bIsClosed){
-         if (!aMFence.Contains(aSp)){
-           aMFence.Add(aSp);
-           //
-           if (!BRep_Tool::IsClosed(aSp, aF)){
-             BOPTools_Tools3D::DoSplitSEAMOnFace(aSp, aF);
-           }
-           //
-           aSp.Orientation(TopAbs_FORWARD);
-           aWES.AddStartElement(aSp);
-           //
-           aSp.Orientation(TopAbs_REVERSED);
-           aWES.AddStartElement(aSp);
-           continue;
-         }
-       }
-       //
-       bToReverse=BOPTools_Tools3D::IsSplitToReverse1(aSp, aE, aCtx);
-       if (bToReverse) {
-         aSp.Reverse();
-       }
-       aWES.AddStartElement(aSp);
-      }
-    }
-    //
-    // 2.1.2. Add In2D Parts
-    if (myIn2DParts.Contains(aF)) {
-      const TopTools_ListOfShape& aLE=myIn2DParts.FindFromKey(aF);
-      aIt.Initialize(aLE);
-      for (; aIt.More(); aIt.Next()) {
-       aSp=TopoDS::Edge(aIt.Value());
-       //
-       aSp.Orientation(TopAbs_FORWARD);
-       aWES.AddStartElement(aSp);
-       //
-       aSp.Orientation(TopAbs_REVERSED);
-       aWES.AddStartElement(aSp);
-       }
-    }
-    //
-    // 2.1.3. Add Section Parts
-    if (mySectionParts.Contains(aF)) {
-      const TopTools_ListOfShape& aLE=mySectionParts.FindFromKey(aF);
-      aIt.Initialize(aLE);
-      for (; aIt.More(); aIt.Next()) {
-       aSp=TopoDS::Edge(aIt.Value());
-       //
-       aSp.Orientation(TopAbs_FORWARD);
-       aWES.AddStartElement(aSp);
-       //
-       aSp.Orientation(TopAbs_REVERSED);
-       aWES.AddStartElement(aSp);
-      }
-    }
-    //
-    // 2.2. Build images Faces
-    BOP_FaceBuilder aFB;
-    //
-    aFB.SetTreatment(0);  // 0-Do Internal Edges
-    aFB.SetTreatSDScales(0); // what is 0 ??
-    //
-    aFB.Do(aWES);
-    //
-    TopTools_ListOfShape aLFR;
-    //
-    const TopTools_ListOfShape& aLF=aFB.NewFaces();
-
-    aIt.Initialize(aLF);
-    for (; aIt.More(); aIt.Next()) {
-      TopoDS_Shape& aFR=aIt.Value();
-      if (anOriF==TopAbs_REVERSED) {
-       aFR.Orientation(TopAbs_REVERSED);
-      }
-      aLFR.Append(aFR);
-    }
-    
-    //
-    // 2.3. Collect images Faces
-    myImagesFaces.Bind(aF, aLFR);
-  }//for (i=1; i<=aNbF; ++i)
-}
-//=======================================================================
-// function: FillIn2DParts
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::FillIn2DParts()
-{
-  const NMTDS_ShapesDataStructure& aDS=myDSFiller->DS();
-  NMTTools_PaveFiller* pPF=(NMTTools_PaveFiller*)&(myDSFiller->PaveFiller());
-  BOPTools_InterferencePool* pIP=(BOPTools_InterferencePool*)&myDSFiller->InterfPool();
-  BOPTools_CArray1OfSSInterference& aFFs=pIP->SSInterferences();
-  //
-  Standard_Integer i, j, aNb, nF1, nF2, aNbFF, iFF, nSpIn, nSpSc, aNbCurves;
-  BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger aFFMap;
-  BOPTools_ListOfPaveBlock aLPBIn, aLPBSc;
-  BOPTools_ListIteratorOfListOfPaveBlock aItPBIn, aItPBSc;
-  TopTools_IndexedMapOfShape aMF, aMFence;
-  TopTools_ListOfShape aLSpIn, aLSpSc;
-  //
-  BOP_BuilderTools::DoMap(aFFs, aFFMap);
-  //
-  // 1. Collect Splits In 2D   (myIn2DParts) and 
-  //            Section Edges  (mySectionParts) 
-  //    for each source face that involved in FF
-  aNb=aFFMap.Extent();
-  for (i=1; i<=aNb; ++i) {
-    nF1=aFFMap.FindKey(i);
-    const TopoDS_Shape& aF=aDS.Shape(nF1);
-    //
-    if (aMF.Contains(aF)) {
-      continue;
-    }
-    aMF.Add(aF);
-    //
-    aLPBIn.Clear();
-    aLPBSc.Clear();
-    //
-    const TColStd_IndexedMapOfInteger& aFFIndicesMap=aFFMap.FindFromIndex(i);
-    //
-    aNbFF=aFFIndicesMap.Extent();
-    for (j=1; j<=aNbFF; ++j) {
-      iFF=aFFIndicesMap(j);
-      BOPTools_SSInterference& aFF=aFFs(iFF);
-      nF2=aFF.OppositeIndex(nF1);
-      //
-      // In 2D
-      pPF->RealSplitsInFace(0, nF2, nF1, aLPBIn);
-      //
-      // Sections
-      BOPTools_SequenceOfCurves& aSC=aFF.Curves();
-      aNbCurves=aSC.Length();
-      if (!aNbCurves) {
-       continue;
-      }
-      //
-      const BOPTools_Curve& aBC=aSC(1);
-      const BOPTools_ListOfPaveBlock& aLPB=aBC.NewPaveBlocks();
-      //
-      aItPBSc.Initialize(aLPB);
-      for (; aItPBSc.More(); aItPBSc.Next()) {
-       const BOPTools_PaveBlock& aPBSc=aItPBSc.Value();
-       aLPBSc.Append(aPBSc);
-      }
-    }// for (j=1; j<=aNbFF; ++j) 
-    //
-    // In 2D Parts 
-    aMFence.Clear();
-    //
-    aLSpIn.Clear();
-    aItPBIn.Initialize(aLPBIn);
-    for (; aItPBIn.More(); aItPBIn.Next()) {
-      const BOPTools_PaveBlock& aPBR=aItPBIn.Value();
-      nSpIn=aPBR.Edge();
-      const TopoDS_Shape& aSpIn=aDS.Shape(nSpIn);
-      if (!aMFence.Contains(aSpIn)){
-       aMFence.Add(aSpIn);
-       aLSpIn.Append(aSpIn);
-      }
-    }
-    myIn2DParts.Add(aF, aLSpIn);
-    //
-    // Section Parts
-    aLSpSc.Clear();
-    aItPBSc.Initialize(aLPBSc);
-    for (; aItPBSc.More(); aItPBSc.Next()) {
-      const BOPTools_PaveBlock& aPBSc=aItPBSc.Value();
-      nSpSc=aPBSc.Edge();
-      const TopoDS_Shape& aSpSc=aDS.Shape(nSpSc);
-      if (!aMFence.Contains(aSpSc)){
-       aMFence.Add(aSpSc);
-       aLSpSc.Append(aSpSc);
-      }
-    }
-    mySectionParts.Add(aF, aLSpSc);
-  } //for (i=1; i<=aNb; ++i)
-}
-
-//=======================================================================
-// function: FillImagesEdges
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::FillImagesEdges()
-{
-  const NMTDS_ShapesDataStructure& aDS=myDSFiller->DS();
-  NMTTools_PaveFiller* pPF=(NMTTools_PaveFiller*)&(myDSFiller->PaveFiller());
-  const BOPTools_SplitShapesPool& aSSP=pPF->SplitShapesPool();
-  //
-  Standard_Integer nE, aNb, aNbSp, nSp;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  TopTools_IndexedMapOfShape aMFence;
-  TopTools_ListOfShape aLSp;
-  //
-  aNb=aDS.NumberOfShapesOfTheObject();
-  for (nE=1; nE<=aNb; ++nE) {
-    const TopoDS_Shape& aE=aDS.Shape(nE);
-    if (aE.ShapeType()!=TopAbs_EDGE) {
-      continue;
-    }
-    if (aMFence.Contains(aE)) {
-      continue;
-    }
-    aMFence.Add(aE);
-    //
-    const BOPTools_ListOfPaveBlock& aLPB=aSSP(aDS.RefEdge(nE));
-    aNbSp=aLPB.Extent();
-    //
-    if (!aNbSp) {// no splits  
-      //myImagesEdges.Bind(aE, aE);
-      continue;
-    }
-    //
-    //modified by NIZNHY-PKV Fri Jan 21 17:01:10 2005 f
-    if (aNbSp==1) {
-      const BOPTools_PaveBlock& aPB1=aLPB.First();
-      const BOPTools_PaveBlock& aPBR1=pPF->RealPaveBlock(aPB1);
-      nSp=aPBR1.Edge();
-      const TopoDS_Shape& aSp1=aDS.Shape(nSp);
-      if (aSp1.IsSame(aE)) {
-       continue;
-      }
-    }
-    //modified by NIZNHY-PKV Fri Jan 21 17:01:14 2005 t
-    //
-    aLSp.Clear();
-    aIt.Initialize(aLPB);
-    for (; aIt.More(); aIt.Next()) {
-      const BOPTools_PaveBlock& aPB=aIt.Value();
-      const BOPTools_PaveBlock& aPBR=pPF->RealPaveBlock(aPB);
-      nSp=aPBR.Edge();
-      const TopoDS_Shape& aSp=aDS.Shape(nSp);
-      aLSp.Append(aSp);
-    }
-    myImagesEdges.Bind(aE, aLSp); 
-  }
-}
-//=======================================================================
-// function: SplitVertices
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Builder::SplitVertices()
-{
-  const NMTDS_ShapesDataStructure& aDS=myDSFiller->DS();
-  NMTTools_PaveFiller* pPF=(NMTTools_PaveFiller*)&(myDSFiller->PaveFiller());
-  const BOPTools_SplitShapesPool& aSSP=pPF->SplitShapesPool();
-  //
-  Standard_Integer nE, aNb, aNbSp, nV1, nV2;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  //
-  myQueryShapes.Clear();
-  //
-  aNb=aDS.NumberOfShapesOfTheObject();
-  for (nE=1; nE<=aNb; ++nE) {
-    const TopoDS_Shape& aE=aDS.Shape(nE);
-    if (aE.ShapeType()!=TopAbs_EDGE) {
-      continue;
-    }
-    //
-    const BOPTools_ListOfPaveBlock& aLPB=aSSP(aDS.RefEdge(nE));
-    aNbSp=aLPB.Extent();
-    //
-    if (!aNbSp) {// no splits  
-      continue;
-    }
-    //
-    aIt.Initialize(aLPB);
-    for (; aIt.More(); aIt.Next()) {
-      const BOPTools_PaveBlock& aPB=aIt.Value();
-      const BOPTools_PaveBlock& aPBR=pPF->RealPaveBlock(aPB);
-      //
-      nV1=aPBR.Pave1().Index();
-      if (aDS.IsNewShape(nV1)) {
-       const TopoDS_Shape& aV1=aDS.Shape(nV1);
-       myQueryShapes.Add(aV1);
-      }
-      //
-      nV2=aPBR.Pave2().Index();
-      if (aDS.IsNewShape(nV2)) {
-       const TopoDS_Shape& aV2=aDS.Shape(nV2);
-       myQueryShapes.Add(aV2);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: IsSectionEdge
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTAlgo_Builder::IsSectionEdge(const TopoDS_Edge& aE)const
-{
-  return myImagesEdges.HasImage(aE);
-}
-//=======================================================================
-// function: IsSameDomainF
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTAlgo_Builder::HasSameDomainF(const TopoDS_Face& aF1)const
-{
-  Standard_Boolean bFlag=Standard_False;
-  TopTools_ListIteratorOfListOfShape aItF1;
-  //
-  const TopTools_ListOfShape& aLF1=myImagesFaces.Image(aF1);
-  aItF1.Initialize(aLF1);
-  for (; aItF1.More(); aItF1.Next()) {
-    const TopoDS_Shape& aF1x=aItF1.Value();
-    //
-    if (mySDFaces.Contains(aF1x)){
-      return !bFlag;
-    }
-  }
-  return bFlag;
-}
-//=======================================================================
-// function: IsSameDomainF
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTAlgo_Builder::IsSameDomainF(const TopoDS_Face& aF1,
-                                                 const TopoDS_Face& aF2)const
-{
-  Standard_Boolean bFlag=Standard_False;
-  TopTools_ListIteratorOfListOfShape aItF1, aItF2;
-  //
-  const TopTools_ListOfShape& aLF1=myImagesFaces.Image(aF1);
-  const TopTools_ListOfShape& aLF2=myImagesFaces.Image(aF2);
-  //
-  aItF1.Initialize(aLF1);
-  for (; aItF1.More(); aItF1.Next()) {
-    const TopoDS_Shape& aF1x=aItF1.Value();
-    //
-    if (!mySDFaces.Contains(aF1x)){
-      continue;
-    }
-    const TopoDS_Shape& aFSD1x=mySDFaces.FindFromKey(aF1x);
-    //
-    aItF2.Initialize(aLF2);
-    for (; aItF2.More(); aItF2.Next()) {
-      const TopoDS_Shape& aF2y=aItF2.Value();
-      if (!mySDFaces.Contains(aF2y)){
-       continue;
-      }
-      const TopoDS_Shape& aFSD2y=mySDFaces.FindFromKey(aF2y);
-      if (aFSD1x.IsSame(aFSD2y)) {
-       return !bFlag;
-      }
-    }
-  }
-  return bFlag;
-}
diff --git a/src/NMTAlgo/NMTAlgo_Builder.hxx b/src/NMTAlgo/NMTAlgo_Builder.hxx
deleted file mode 100644 (file)
index a39a1c5..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTAlgo_Builder_HeaderFile
-#define _NMTAlgo_Builder_HeaderFile
-
-#ifndef _BRepAlgo_Image_HeaderFile
-#include <BRepAlgo_Image.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
-#include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedDataMapOfShapeShape_HeaderFile
-#include <TopTools_IndexedDataMapOfShapeShape.hxx>
-#endif
-#ifndef _NMTAlgo_Algo_HeaderFile
-#include <NMTAlgo_Algo.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class NMTTools_DSFiller;
-class TopoDS_Edge;
-class TopoDS_Face;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Builder  : public NMTAlgo_Algo {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTAlgo_Builder();
-Standard_EXPORT virtual ~NMTAlgo_Builder();
-Standard_EXPORT virtual  void Clear() ;
-Standard_EXPORT virtual  void ComputeWithFiller(const NMTTools_DSFiller& aDSF) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void FillImagesEdges() ;
-Standard_EXPORT   void FillIn2DParts() ;
-Standard_EXPORT   void FillImagesFaces() ;
-Standard_EXPORT   void FillSDFaces() ;
-Standard_EXPORT   void SplitVertices() ;
-Standard_EXPORT   Standard_Boolean IsSectionEdge(const TopoDS_Edge& E) const;
-Standard_EXPORT   Standard_Boolean HasSameDomainF(const TopoDS_Face& F) const;
-Standard_EXPORT   Standard_Boolean IsSameDomainF(const TopoDS_Face& F1,const TopoDS_Face& F2) const;
-
-
- // Fields PROTECTED
- //
-BRepAlgo_Image myImagesEdges;
-BRepAlgo_Image myImagesFaces;
-TopTools_IndexedMapOfShape myQueryShapes;
-TopTools_IndexedDataMapOfShapeListOfShape myIn2DParts;
-TopTools_IndexedDataMapOfShapeListOfShape mySectionParts;
-TopTools_IndexedDataMapOfShapeShape mySDFaces;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Builder.ixx b/src/NMTAlgo/NMTAlgo_Builder.ixx
deleted file mode 100644 (file)
index 09480b4..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Builder.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Builder.jxx b/src/NMTAlgo/NMTAlgo_Builder.jxx
deleted file mode 100644 (file)
index 00dfa43..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef _NMTTools_DSFiller_HeaderFile
-#include <NMTTools_DSFiller.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _NMTAlgo_Builder_HeaderFile
-#include <NMTAlgo_Builder.hxx>
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Loop3d.cdl b/src/NMTAlgo/NMTAlgo_Loop3d.cdl
deleted file mode 100644 (file)
index f029d88..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-
-class Loop3d from NMTAlgo
-
-        ---Purpose: Builds the shells from a set of faces.
-        --          Provides  methods   for   comparing  faces  mutual
-        --          location.
-        
-uses
-    Vec                              from gp,
-    MapOfOrientedShape               from TopTools,
-    IndexedDataMapOfShapeListOfShape from TopTools,
-    Face                             from TopoDS,
-    Edge                             from TopoDS,
-    ListOfShape                      from TopTools,
-    Shape                            from TopoDS
-    
-is
-
-    Create 
-       returns Loop3d from NMTAlgo ;
-    
-    AddConstFaces  (me:out;  
-           S : Shape from TopoDS)
-       ---Purpose: Add faces of <S> as unique faces in the result.
-    is static;
-
-    AddSectionFaces  (me:out;  
-           S : Shape from TopoDS)
-       ---Purpose: Add faces of <S> as double faces in the result.
-    is static;
-
-    MakeShells (me:out;  
-           AvoidFacesMap : MapOfOrientedShape from TopTools)
-        returns ListOfShape from TopTools is static;
-        ---Purpose: Make and return shells. 
-        --          <AvoidFacesMap> can contain faces that must not be
-        --          added to result shells.
-        ---C++: return const &
-    
-    
-        ---Category: class methods
-    
-    IsInside (myclass; E        : Edge    from TopoDS;
-                       F1, F2   : Face    from TopoDS;
-                       CountDot : Boolean from Standard;
-                       Dot      : in out Real    from Standard;
-                       GoodOri  : in out Boolean from Standard)
-        returns Boolean from Standard;
-        ---Purpose: check if <F2> is inside <F1> by edge <E>.
-        --          if <CountDot>, compute <Dot>: scalar production of
-        --          normalized  vectors  pointing  inside  faces,  and
-        --          check if faces are oriented well for sewing
-    
-    Normal (myclass; E : Edge from TopoDS;
-                     F : Face from TopoDS)  
-       returns Vec from gp;
-    
-    
-fields
-
-    myNewShells : ListOfShape from TopTools; -- result
-    
-    myFaces     : ListOfShape from TopTools;
-    myEFMap     : IndexedDataMapOfShapeListOfShape from TopTools;
-    
-end Loop3d;
diff --git a/src/NMTAlgo/NMTAlgo_Loop3d.cxx b/src/NMTAlgo/NMTAlgo_Loop3d.cxx
deleted file mode 100644 (file)
index 5731b8d..0000000
+++ /dev/null
@@ -1,330 +0,0 @@
-
-//using namespace std;
-
-#include <NMTAlgo_Loop3d.ixx>
-
-#include <TopExp_Explorer.hxx>
-#include <TopExp.hxx>
-#include <BRep_Builder.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <gp_Vec.hxx>
-#include <gp_Pnt.hxx>
-#include <Geom2d_Curve.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Surface.hxx>
-#include <gp_Pnt2d.hxx>
-#include <gp_Vec2d.hxx>
-#include <gp_Dir2d.hxx>
-#include <Geom_Curve.hxx>
-
-static 
-  TopoDS_Edge FindEinF(const TopoDS_Edge&, const TopoDS_Face&);
-static 
-  gp_Vec NextNormal(const TopoDS_Edge&, const TopoDS_Face&);
-
-//=======================================================================
-//function : 
-//purpose  : 
-//=======================================================================
-  NMTAlgo_Loop3d::NMTAlgo_Loop3d()
-{
-}
-
-//=======================================================================
-//function : AddConstFaces
-//purpose  : Add faces of <S> as unique faces in the result.
-//=======================================================================
-  void NMTAlgo_Loop3d::AddConstFaces(const TopoDS_Shape& S) 
-{
-  TopExp_Explorer FaceExp(S, TopAbs_FACE);
-  for (; FaceExp.More(); FaceExp.Next()){
-    myFaces.Append( FaceExp.Current() );
-  }
-  TopExp::MapShapesAndAncestors(S, TopAbs_EDGE, TopAbs_FACE, myEFMap);
-}
-
-//=======================================================================
-//function : AddSectionFaces
-//purpose  : Add faces of <S> as double faces in the result.
-//=======================================================================
-  void NMTAlgo_Loop3d::AddSectionFaces(const TopoDS_Shape& S) 
-{
-  AddConstFaces( S );
-  AddConstFaces( S.Reversed() );
-}
-
-//=======================================================================
-//function : MakeShells
-//purpose  : Make and return shells. 
-//           <AvoidFacesMap> can contain faces that must not be
-//           added to result shells.
-//=======================================================================
-  const TopTools_ListOfShape& NMTAlgo_Loop3d::MakeShells 
-          (const TopTools_MapOfOrientedShape& AvoidFacesMap)
-{
-  myNewShells.Clear();
-  
-  BRep_Builder Builder;
-  TopTools_MapOfShape CheckedEdgesMap;
-  TopTools_MapOfOrientedShape AddedFacesMap;
-  
-  TopTools_ListIteratorOfListOfShape itF (myFaces);
-  for (; itF.More(); itF.Next()) {
-    const TopoDS_Shape& FF = itF.Value();
-    if (AvoidFacesMap.Contains( FF ) ||
-       ! AddedFacesMap.Add( FF ) )
-      continue;
-
-    // make a new shell
-    TopoDS_Shell Shell;
-    Builder.MakeShell(Shell);
-    Builder.Add(Shell,FF);
-
-    // clear the maps from shapes added to previous Shell
-    TopTools_MapIteratorOfMapOfShape itEM (CheckedEdgesMap);
-    for (; itEM.More(); itEM.Next()) {
-      TopTools_ListOfShape& FL = myEFMap.ChangeFromKey( itEM.Key());
-      TopTools_ListIteratorOfListOfShape it (FL);
-      while ( it.More()) {
-        if (AddedFacesMap.Contains( it.Value()))
-          FL.Remove( it );
-        else
-          it.Next();
-      }
-    }
-    CheckedEdgesMap.Clear();
-
-    
-    // loop on faces added to Shell; add their neighbor faces to Shell and so on
-    TopoDS_Iterator itAddedF (Shell);
-    for (; itAddedF.More(); itAddedF.Next()){
-      const TopoDS_Face& F = TopoDS::Face (itAddedF.Value());
-      
-      // loop on edges of F; find a good neighbor face of F by E
-      TopExp_Explorer EdgeExp(F, TopAbs_EDGE);
-      for (; EdgeExp.More(); EdgeExp.Next()){
-        const TopoDS_Edge& E = TopoDS::Edge( EdgeExp.Current());
-       if (! CheckedEdgesMap.Add( E ))
-         continue;
-       
-       // candidate faces list
-        const TopTools_ListOfShape& FL = myEFMap.ChangeFromKey(E);
-        if (FL.IsEmpty())
-          continue;
-       // select one of neighbors
-        TopoDS_Face SelF;
-        if (FL.Extent() == 2) {
-          if (! F.IsSame( FL.First() ))
-            SelF = TopoDS::Face( FL.First() );
-          else if (!F.IsSame( FL.Last() ))
-            SelF = TopoDS::Face( FL.Last() );
-        }
-        else {
-          // check if a face already added to Shell shares E
-         TopTools_ListIteratorOfListOfShape it (FL);
-          Standard_Boolean found = Standard_False;
-          for (; !found && it.More(); it.Next())
-            if (F != it.Value())
-              found = AddedFacesMap.Contains( it.Value() );
-          if (found)
-            continue;
-          // select basing on geometrical check
-          Standard_Boolean GoodOri, inside;
-          Standard_Real dot, MaxDot = -100;
-          TopTools_ListOfShape TangFL; // tangent faces
-          for ( it.Initialize( FL ) ; it.More(); it.Next()) {
-            const TopoDS_Face& NeighborF = TopoDS::Face( it.Value());
-            if (NeighborF.IsSame( F ))
-              continue;
-            inside = NMTAlgo_Loop3d::IsInside( E, F, NeighborF, 1, dot, GoodOri);
-            if (!GoodOri)
-              continue;
-            if (!inside)
-              dot = -dot - 3;
-            if (dot < MaxDot)
-              continue;
-            if ( IsEqual( dot, MaxDot))
-              TangFL.Append(SelF);
-            else
-              TangFL.Clear();
-            MaxDot = dot;
-            SelF = NeighborF;
-          }
-          if (!TangFL.IsEmpty()) {
-            for (it.Initialize( TangFL ); it.More(); it.Next()) {
-              const TopoDS_Face& NeighborF = TopoDS::Face( it.Value());
-              if (NMTAlgo_Loop3d:: IsInside( E, SelF , NeighborF, 0, dot, GoodOri))
-                SelF = NeighborF;
-            }
-          }
-        }
-        if (!SelF.IsNull() &&
-           AddedFacesMap.Add( SelF ) &&
-           !AvoidFacesMap.Contains( SelF )) 
-          Builder.Add( Shell, SelF);
-
-      } // loop on edges of F
-      
-    } // loop on the faces added to Shell
-
-    // Shell is complete
-    myNewShells.Append( Shell );
-
-  } // loop on myFaces
-
-
-  // prepare to the next call
-  myFaces.Clear();
-  myEFMap.Clear();
-
-  return myNewShells;
-}
-//=======================================================================
-//function : Normal
-//purpose  : 
-//=======================================================================
-  gp_Vec NMTAlgo_Loop3d::Normal(const TopoDS_Edge& E,
-                                 const TopoDS_Face& F)
-{
-  gp_Vec Norm, V1, V2;
-  Standard_Real First, Last;
-  gp_Pnt Ps;
-
-  Handle(Geom2d_Curve) C2d = BRep_Tool::CurveOnSurface (E, F, First, Last);
-  Handle(Geom_Surface) Sf = BRep_Tool::Surface(F);
-
-  gp_Pnt2d p = C2d->Value( 0.5*(First+Last) );
-  Sf->D1(p.X(), p.Y(), Ps, V1, V2);
-  Norm = V1.Crossed(V2);
-
-  if (F.Orientation() == TopAbs_REVERSED ) 
-    Norm.Reverse();
-
-  return Norm;
-}
-//=======================================================================
-//function : IsInside
-//purpose  : check if <F2> is inside <F1> by edge <E>.
-//           if <CountDot>, compute <Dot>: scalar production of
-//           normalized  vectors  pointing  inside  faces,  and
-//           check if faces are oriented well for sewing
-//=======================================================================
-  Standard_Boolean NMTAlgo_Loop3d::IsInside(const TopoDS_Edge& E,
-                                           const TopoDS_Face& F1,
-                                           const TopoDS_Face& F2,
-                                           const Standard_Boolean CountDot,
-                                           Standard_Real& Dot,
-                                           Standard_Boolean& GoodOri) 
-{
-  Standard_Real f, l;
-  gp_Pnt P;
-  gp_Vec Vc1, Vc2, Vin1, Vin2, Nf1, Nf2;
-  Handle(Geom_Curve) Curve = BRep_Tool::Curve(E,f,l);
-  Curve->D1( 0.5*(f + l), P, Vc2);
-  TopoDS_Edge E1, E2 = FindEinF (E, F2);
-  if (E2.Orientation() == TopAbs_REVERSED ) Vc2.Reverse();
-
-  Nf1 = Normal(E,F1);
-  Nf2 = Normal(E,F2);
-
-  Standard_Real sin =
-    Nf1.CrossSquareMagnitude(Nf2) / Nf1.SquareMagnitude() / Nf2.SquareMagnitude();
-  Standard_Boolean tangent = sin < 0.001;
-
-  Standard_Boolean inside = 0;
-  if (tangent) {
-    E1 = FindEinF (E, F1);
-    gp_Vec NNf1 = NextNormal(E1,F1);
-    gp_Vec NNf2 = NextNormal(E2,F2);
-    Vin2 = NNf2.Crossed(Vc2);
-    inside = Vin2 * NNf1 < 0;
-  }
-  else {
-    Vin2 = Nf2.Crossed(Vc2);
-    inside = Vin2 * Nf1 < 0;
-  }
-  
-  if (!CountDot) return inside;
-
-  if (tangent)
-    Vin2 = Nf2.Crossed(Vc2);
-  else
-    E1 = FindEinF (E, F1);
-    
-  Vc1 = Vc2;
-  if (E1.Orientation() != E2.Orientation()) 
-    Vc1.Reverse();
-  Vin1 = Nf1.Crossed(Vc1);
-
-  if (tangent) {
-    Standard_Real N1N2 = Nf1 * Nf2;
-    GoodOri = (Vin2 * Vin1 < 0) ? N1N2 > 0 : N1N2 < 0;
-  }
-  else {
-    Standard_Real V1N2 = Vin1 * Nf2;
-    GoodOri = ( inside ? V1N2 <= 0 : V1N2 >= 0);
-  }
-
-  Vin1.Normalize();
-  Vin2.Normalize();
-  
-  Dot = Vin2 * Vin1;
-  
-  return inside;
-}
-//=======================================================================
-//function : NextNormal
-//purpose  : find normal to F at point a little inside F near the middle of E
-//warning  : E must be properly oriented in F.
-//=======================================================================
-gp_Vec NextNormal(const TopoDS_Edge& E,
-                        const TopoDS_Face& F)
-{
-  Standard_Real First, Last;
-
-  Handle(Geom2d_Curve) C2d = BRep_Tool::CurveOnSurface (E, F, First, Last);
-  Handle(Geom_Surface) Sf = BRep_Tool::Surface(F);
-
-  gp_Pnt2d p;
-  gp_Vec2d v;
-  C2d->D1( 0.5*(First+Last), p, v);
-  if (E.Orientation() != F.Orientation())
-    v.Reverse();
-  gp_Dir2d dir( -v.Y(), v.X() ); // dir inside F
-  
-  Standard_Real duv = 1e-6; // this is not Ok and may give incorrect result if
-  // resolutionUV of compared faces is very different. To have a good result,
-  //it is necessary to get normal to faces at points equidistant from E in 3D
-  
-  p.SetX( p.X() + dir.X()*duv );
-  p.SetY( p.Y() + dir.Y()*duv );
-  
-  gp_Pnt Ps;
-  gp_Vec Norm, V1, V2;
-  Sf->D1( p.X(), p.Y(), Ps, V1, V2);
-  Norm = V1.Crossed(V2);
-
-  if (F.Orientation() == TopAbs_REVERSED ) 
-    Norm.Reverse();
-
-  return Norm;
-}
-//=======================================================================
-//function : FindEinF
-//purpose  : find E in F
-//=======================================================================
-TopoDS_Edge FindEinF(const TopoDS_Edge& E,
-                     const TopoDS_Face& F)
-{
-  TopExp_Explorer expl (F, TopAbs_EDGE);
-  for (; expl.More(); expl.Next()) 
-    if( E.IsSame( expl.Current() ))
-      return TopoDS::Edge(expl.Current());
-  TopoDS_Edge nullE;
-  return nullE;
-}
diff --git a/src/NMTAlgo/NMTAlgo_Loop3d.hxx b/src/NMTAlgo/NMTAlgo_Loop3d.hxx
deleted file mode 100644 (file)
index 707b3ae..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTAlgo_Loop3d_HeaderFile
-#define _NMTAlgo_Loop3d_HeaderFile
-
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_ListOfShape;
-class TopTools_MapOfOrientedShape;
-class TopoDS_Edge;
-class TopoDS_Face;
-class gp_Vec;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Loop3d  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTAlgo_Loop3d();
-Standard_EXPORT   void AddConstFaces(const TopoDS_Shape& S) ;
-Standard_EXPORT   void AddSectionFaces(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
-Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
-Standard_EXPORT static  gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopTools_ListOfShape myNewShells;
-TopTools_ListOfShape myFaces;
-TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Loop3d.ixx b/src/NMTAlgo/NMTAlgo_Loop3d.ixx
deleted file mode 100644 (file)
index e546fd1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Loop3d.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Loop3d.jxx b/src/NMTAlgo/NMTAlgo_Loop3d.jxx
deleted file mode 100644 (file)
index f63b045..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfOrientedShape_HeaderFile
-#include <TopTools_MapOfOrientedShape.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _gp_Vec_HeaderFile
-#include <gp_Vec.hxx>
-#endif
-#ifndef _NMTAlgo_Loop3d_HeaderFile
-#include <NMTAlgo_Loop3d.hxx>
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Splitter.cdl b/src/NMTAlgo/NMTAlgo_Splitter.cdl
deleted file mode 100644 (file)
index 5d416bd..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
--- File:       NMTAlgo_Splitter.cdl
--- Created:    Tue Jan 27 15:09:45 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class Splitter from NMTAlgo  
-    inherits Builder from NMTAlgo 
-
-       ---Purpose: 
-
-uses  
-    Builder             from BRep,
-    ShapeEnum           from TopAbs,
-    Compound            from TopoDS,
-    Face                from TopoDS,
-    Edge                from TopoDS,
-    Shape               from TopoDS,
-    MapOfOrientedShape  from TopTools,
-    IndexedMapOfShape   from TopTools,
-    DataMapOfShapeShape from TopTools, 
-    DataMapOfShapeListOfShape from TopTools,
-    ListOfShape         from TopTools,
-    MapOfShape          from TopTools,
-    AsDes               from BRepAlgo,
-    Image               from BRepAlgo, 
-     
-    DSFiller from NMTTools
-
---raises
-
-is 
-    Create 
-       returns Splitter from NMTAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Splitter();" 
-
-    AddShape (me:out;  
-           S : Shape from TopoDS) 
-       is virtual;
-     
-    AddTool (me:out;  
-           S : Shape from TopoDS) 
-       is virtual;  
-     
-    Compute(me:out) 
-       is virtual; 
-
-    Build (me:out; 
-           aLimit:ShapeEnum from TopAbs=TopAbs_SHAPE) 
-       is virtual; 
-  
-    ComputeWithFiller(me:out; 
-       aDSF: DSFiller from NMTTools) 
-       is redefined;  
-     
-----vv 
-    KeepShapesInside (me:out;  
-           S : Shape from TopoDS);
-        ---Purpose: remove shapes that are outside of S from result.
-        --          S should be an object shape.
-        ---Warning: call it after Build()
-
-    RemoveShapesInside (me:out;  
-           S : Shape from TopoDS);
-        ---Purpose: remove shapes that are inside S from result.
-        --          S should be an object shape.
-        ---Warning: call it after Build()
-
-    Modified(me:out;  
-           S : Shape from TopoDS) 
-       returns ListOfShape from TopTools;
-    ---Purpose: Returns the list  of shapes modified from the shape <S>. 
-    ---C++: return const & 
-    ---Level: Public
-
-    Generated(me:out;  
-           S : Shape from TopoDS) 
-       returns ListOfShape from TopTools;
-    ---Purpose: Returns the list of shapes generated from the shape <S>. 
-    ---C++: return const & 
-    ---Level: Public
-
-    IsDeleted (me:out;  
-           S : Shape from TopoDS)
-       returns Boolean  from  Standard;
-----^^
-
-    Clear (me:out) 
-       is redefined; 
-
-    SourceShapes(me) 
-       returns ListOfShape from TopTools; 
-    ---C++: return const &   
-     
-    FillResult(me:out) 
-       is protected; 
-     
-    FillImageShape(me:out) 
-       is protected; 
-        
-    SplittedFaces (me:out) 
-       is protected; 
-        
-    SplittedWires (me:out) 
-       is protected;   
-     
-    SplitsAndSections (me:out) 
-       is protected;    
-     
-    ShellsAndSolids(me:out) 
-       is protected;  
-       
-    MakeShells(me:out; 
-           aS  :Shape from TopoDS; 
-           aLNS:out ListOfShape from TopTools) 
-       is protected;  
-        
-    MakeSolids (me:out;  
-           Solid : Shape from TopoDS;
-            Shells: out ListOfShape from TopTools) 
-       is protected;   
-
-    FindFacesInside (me:out;  
-           S : Shape from TopoDS;
-            CheckClosed : Boolean from Standard= Standard_False;
-            All         : Boolean from Standard= Standard_False) 
-        returns Shape from TopoDS  
-       is protected;
-     
-    IsInside (myclass;  
-           S1,S2 : Shape from TopoDS)
-        returns Boolean from Standard is protected;   
-        ---Purpose: Return True if the first vertex of S1 inside S2.
-        --          If S1.IsNull(), check infinite point against S2.
-
-    GetOriginalShape(me;  
-           aShape : Shape from TopoDS)
-        returns Shape from TopoDS  
-       is protected;  
-
---modified by NIZNHY-PKV Tue Feb  1 10:24:39 2005f      
-    FindImage(me:out; 
-           aS   : Shape from TopoDS; 
-           aLIms: out ListOfShape from TopTools) 
-       is protected; 
---modified by NIZNHY-PKV Tue Feb  1 10:24:47 2005t 
-
-fields 
-    myDoneStep     : ShapeEnum           from TopAbs is protected;   -- rebuilt level
-    myBuilder      : Builder             from BRep   is protected;
-                                          
-    myListShapes   : ListOfShape         from TopTools is protected; -- object shapes
-    myMapFaces     : MapOfShape          from TopTools is protected; -- object faces
-    myMapTools     : MapOfShape          from TopTools is protected; -- tool faces
-    myEqualEdges   : MapOfShape          from TopTools is protected; -- equal splits
-    myNewSection   : MapOfShape          from TopTools is protected; -- new secton edges
-    myClosedShapes : MapOfShape          from TopTools is protected;
-    myWrappingSolid: MapOfShape          from TopTools is protected; -- solids having other shapes inside
-    myFaceShapeMap : DataMapOfShapeShape from TopTools is protected; -- to find a shape by face
-                                          
-    myInternalFaces: DataMapOfShapeShape from TopTools is protected; -- shape and its internal faces
-    myIntNotClFaces: DataMapOfShapeShape from TopTools is protected; -- internal but not closed 
-
-    myImageShape   : Image               from BRepAlgo is protected;
-
-    -- avoid rebuilding twice commont part of solids
-    myAddedFacesMap: MapOfOrientedShape  from TopTools is protected; 
-    --***-- 
-    mySourceShapes : ListOfShape         from TopTools is protected;  
-    myLimit        : ShapeEnum          from TopAbs   is protected; 
-    myToolShapes   : MapOfShape          from TopTools is protected;       
-    myObjShapes    : MapOfShape          from TopTools is protected; 
-    myMapSIFC      : DataMapOfShapeShape from TopTools is protected;  
-----vv    
-    myGenerated    : ListOfShape         from TopTools is protected;
-    --modified by NIZNHY-PKV Mon Jan 24 09:45:10 2005f 
-    myModifiedFaces: DataMapOfShapeListOfShape from TopTools is protected;     
-    --modified by NIZNHY-PKV Mon Jan 24 09:45:14 2005t 
-----^^
-end Splitter;
diff --git a/src/NMTAlgo/NMTAlgo_Splitter.cxx b/src/NMTAlgo/NMTAlgo_Splitter.cxx
deleted file mode 100644 (file)
index 9b85bee..0000000
+++ /dev/null
@@ -1,605 +0,0 @@
-// File:       NMTAlgo_Splitter.cxx
-// Created:    Thu Jan 29 17:13:03 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Splitter.ixx>
-
-#include <Precision.hxx>
-#include <TopAbs_Orientation.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-
-#include <Geom2d_Curve.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pnt2d.hxx>
-#include <gp_Vec.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-
-#include <BRepBndLib.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-#include <BRepLib.hxx>
-#include <BRep_Tool.hxx>
-
-#include <Extrema_ExtPC.hxx>
-#include <GeomAdaptor_Curve.hxx>
-#include <TopOpeBRepTool_CurveTool.hxx>
-//
-#include <NMTTools_DSFiller.hxx>
-#include <NMTAlgo_Tools.hxx>
-#include <NMTAlgo_Loop3d.hxx>
-#include <BOP_CorrectTolerances.hxx>
-
-
-static 
-  Standard_Boolean isClosed(const TopoDS_Shape& theShape);
-
-//=======================================================================
-//function : NMTAlgo_Spliter::NMTAlgo_Splitter
-//purpose  : 
-//=======================================================================
-  NMTAlgo_Splitter::NMTAlgo_Splitter()
-:
-  NMTAlgo_Builder()
-{
-  myErrorStatus=0;
-}
-//=======================================================================
-// function: ~NMTAlgo_Splitter
-// purpose: 
-//=======================================================================
-  NMTAlgo_Splitter::~NMTAlgo_Splitter()
-{
-  Clear();
-  
-  if (myDSFiller){
-    delete myDSFiller;
-  }
-}
-//=======================================================================
-// function: SourceShapes
-// purpose: 
-//=======================================================================
-  const TopTools_ListOfShape& NMTAlgo_Splitter::SourceShapes()const
-{
-  return mySourceShapes;
-}
-//=======================================================================
-//function : Clear
-//purpose  : 
-//=======================================================================
-  void NMTAlgo_Splitter::Clear()
-{
-  NMTAlgo_Builder::Clear();
-  //
-  myListShapes.Clear();
-  myMapFaces.Clear();
-  myMapTools.Clear();
-  myClosedShapes.Clear();
-  myEqualEdges.Clear();
-  myNewSection.Clear();
-  myWrappingSolid.Clear();
-  myFaceShapeMap.Clear();
-  myInternalFaces.Clear();
-  myIntNotClFaces.Clear();
-  //
-  myImageShape.Clear();
-  myAddedFacesMap.Clear();
-  //
-  myDoneStep = TopAbs_SHAPE;
-  myIsComputed=Standard_False;
-  mySourceShapes.Clear();
-  myObjShapes.Clear();
-  myToolShapes.Clear();
-  myMapSIFC.Clear();
-  //modified by NIZNHY-PKV Mon Jan 24 09:47:37 2005f
-  myModifiedFaces.Clear();
-  //modified by NIZNHY-PKV Mon Jan 24 09:47:41 2005t
-  myErrorStatus=0;
-}
-//=======================================================================
-//function : AddShape
-//purpose  : add object Shape to be splited
-//=======================================================================
-  void NMTAlgo_Splitter::AddShape(const TopoDS_Shape& aS)
-{
-  myErrorStatus=0;
-  if (myIsComputed) {
-    // DS is already computed
-    myErrorStatus=100;
-    return;
-  }
-  //
-  if (aS.IsNull()){
-    // Null shape is not allowed here
-    myErrorStatus=101;
-    return;
-  }
-  //
-  TopAbs_ShapeEnum aType=aS.ShapeType(); 
-  //
-  if (aType < TopAbs_SOLID) { 
-    // compound or compsolid
-    TopoDS_Iterator it (aS);
-    for (; it.More(); it.Next()) {
-      const TopoDS_Shape& aSS=it.Value();
-      AddShape(aSS);
-      // to know compound by shape
-      myFaceShapeMap.Bind(aSS, aS); 
-    }
-    return;
-  }
-  //---
-  myObjShapes.Add(aS);
-  mySourceShapes.Append(aS);  
-  //---
-  //
-  TopExp_Explorer exp(aS, TopAbs_FACE);
-  if (!exp.More()) { 
-    // do not split edges and vertices
-    return;
-  }
-  // not to add twice the same S
-  Standard_Integer nbFacesBefore = myMapFaces.Extent(); 
-  //
-  for (; exp.More(); exp.Next()) {
-    const TopoDS_Shape& aFace = exp.Current();
-    if (!myFaceShapeMap.IsBound(aFace)) {
-      // keep shape of tool face added as object
-      myFaceShapeMap.Bind(aFace, aS);
-    }
-    if (myMapFaces.Add(aFace)){
-      myImagesFaces.SetRoot(aFace);
-    }
-  }
-  //
-  if (nbFacesBefore == myMapFaces.Extent()){
-    return;
-  }
-  // solids must be processed before all
-  if (aType==TopAbs_SOLID){
-    myListShapes.Prepend(aS);
-  }
-  else{
-    myListShapes.Append(aS);
-  }
-  if (isClosed(aS)){
-    myClosedShapes.Add(aS);
-  }
-}
-//=======================================================================
-//function : AddTool
-//purpose  : add cutting tool that will _NOT_ be in result
-//=======================================================================
-  void NMTAlgo_Splitter::AddTool(const TopoDS_Shape& aS)
-{
-  myErrorStatus=0;
-  if (myIsComputed) {
-    // DS is already computed
-    myErrorStatus=100;
-    return;
-  }
-  //
-  if (aS.IsNull()){
-    // Null shape is not allowed here
-    myErrorStatus=101;
-    return;
-  }
-  //
-  TopAbs_ShapeEnum aType=aS.ShapeType(); 
-  
-  if (aType < TopAbs_SOLID) { // compound or compsolid
-    TopoDS_Iterator it (aS);
-    for (; it.More(); it.Next()) {
-      const TopoDS_Shape& aSS=it.Value();
-      AddTool(aSS);
-      myFaceShapeMap.Bind(aSS, aS); // to know compound by shape
-    }
-    return;
-  }
-  //---
-  myToolShapes.Add(aS);
-  mySourceShapes.Append(aS);  
-  //---
-  //
-  TopExp_Explorer exp(aS, TopAbs_FACE);
-  for (; exp.More(); exp.Next()) {
-    const TopoDS_Shape& aFace = exp.Current();
-    myMapTools.Add(aFace);
-    myFaceShapeMap.Bind(aFace, aS);
-  }
-  //
-  // solids must be processed before all
-  if (aType==TopAbs_SOLID){
-    myListShapes.Prepend(aS);
-  }
-  else{
-    myListShapes.Append(aS);
-  }
-  //
-  if (isClosed(aS)) { 
-    myClosedShapes.Add(aS);
-  }
-}
-//=======================================================================
-// function: Compute
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Splitter::Compute()
-{
-  if (!mySourceShapes.Extent()){
-    // No source shapes to treat
-    myErrorStatus=103; 
-    return;
-  }
-  //
-  BRep_Builder aBB;
-  TopoDS_Compound aCS;
-  TopTools_ListIteratorOfListOfShape aIt;
-  //
-  aBB.MakeCompound(aCS);
-  //
-  aIt.Initialize(mySourceShapes);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aS=aIt.Value();
-    aBB.Add(aCS, aS);
-  }
-  //
-  NMTTools_DSFiller* pDSF=new NMTTools_DSFiller;
-  //
-  pDSF->SetCompositeShape(aCS);
-  pDSF->Perform();
-  //
-  myIsComputed=Standard_False;
-  //
-  NMTAlgo_Splitter::ComputeWithFiller(*pDSF);
-}
-//=======================================================================
-// function: ComputeWithFiller
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Splitter::ComputeWithFiller(const NMTTools_DSFiller& aDSF)
-{
-  myErrorStatus=0;
-  //
-  if (myIsComputed) {
-    // DS is already computed
-    myErrorStatus=100; 
-    return;
-  }
-  //
-  if (!mySourceShapes.Extent()){
-    // No source shapes to treat
-    myErrorStatus=103; 
-    return;
-  }
-  //
-  NMTAlgo_Builder::ComputeWithFiller(aDSF);
-  //
-  myIsComputed=Standard_True;
-}
-//=======================================================================
-//function : Build
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter::Build(const TopAbs_ShapeEnum aLimit)
-{
-  myErrorStatus=0;
-  myLimit=aLimit;
-  //
-  if (!myIsComputed){
-    myErrorStatus=102;// DS is not computed
-    return;
-  }
-  //
-  TopoDS_Compound aCShape;
-  //
-  myBuilder.MakeCompound(aCShape);
-  myShape=aCShape;
-  //
-  // 1. VERTEX
-  //
-  if (myLimit==TopAbs_VERTEX) {
-    SplitVertices();
-    FillResult();
-    return;
-  }
-  //
-  // 2. EDGE
-  if (myLimit==TopAbs_EDGE) {
-    SplitsAndSections();
-    FillResult();
-    return;
-  }
-  //
-  // 3. WIRE
-  FillImageShape();
-  //
-  if (myLimit==TopAbs_WIRE) {
-    SplittedWires();
-    FillResult();
-    return;
-  }
-  //
-  // 4. FACE
-  //
-  if (myLimit==TopAbs_FACE) {
-    SplittedFaces();
-    FillResult();
-    return;
-  }
-  //
-  // 5.6. SHELL / SOLID
-  ShellsAndSolids();
-  BOP_CorrectTolerances::CorrectTolerances(myShape, 0.01);
-}
-//=======================================================================
-// function: SplitsAndSections
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Splitter::SplitsAndSections()
-{
-  Standard_Integer i, aNbE, aNbF;
-  TopTools_ListIteratorOfListOfShape aItLS, aIt;
-  TopTools_IndexedMapOfShape aME, aMF;
-  //
-  myQueryShapes.Clear();
-  //
-  //  1. Splits / no splits
-  aItLS.Initialize(myListShapes);
-  for ( ;aItLS.More(); aItLS.Next()) {
-    const TopoDS_Shape& aS=aItLS.Value();
-    //
-    if (myToolShapes.Contains(aS)) {
-      continue; // skip tool Shapes
-    }
-    //
-    TopExp::MapShapes(aS, TopAbs_EDGE, aME);
-    TopExp::MapShapes(aS, TopAbs_FACE, aMF);
-  }    
-  //
-  //  1. Splits / no splits
-  aNbE=aME.Extent();
-  for (i=1; i<=aNbE; ++i) {
-    const TopoDS_Shape& aE=aME(i);
-    //
-    if (!myImagesEdges.HasImage(aE)) {
-      myQueryShapes.Add(aE);
-    }
-    else {
-      const TopTools_ListOfShape& aLSp=myImagesEdges.Image(aE);
-      //
-      aIt.Initialize(aLSp);
-      for (; aIt.More(); aIt.Next()) { 
-       const TopoDS_Shape& aSp=aIt.Value();
-       myQueryShapes.Add(aSp);
-      }
-    }
-  }
-  //
-  // 2. Sections
-  aNbF=aMF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopoDS_Shape& aF=aMF(i);
-    if (mySectionParts.Contains(aF)) {
-      const TopTools_ListOfShape& aLSc=mySectionParts.FindFromKey(aF);
-      aIt.Initialize(aLSc);
-      for (; aIt.More(); aIt.Next()) { 
-       const TopoDS_Shape& aSc=aIt.Value();
-       myQueryShapes.Add(aSc);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: SplittedWires
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Splitter::SplittedWires()
-{
-  Standard_Integer i, aNbF;
-  TopoDS_Iterator aIt;
-  TopTools_IndexedMapOfShape aMF;
-  //
-  SplittedFaces();
-  //
-  aMF=myQueryShapes;
-  myQueryShapes.Clear();
-  //
-  aNbF=aMF.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopoDS_Shape& aF=aMF(i);
-    aIt.Initialize(aF);
-    for (; aIt.More(); aIt.Next()) {
-      const TopoDS_Shape& aW=aIt.Value();
-      myQueryShapes.Add(aW);
-    }
-  }
-}
-//=======================================================================
-// function: SplittedFaces
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Splitter::SplittedFaces()
-{
-  TopTools_ListIteratorOfListOfShape aIt;
-  TopoDS_Iterator aItF;
-  //
-  myQueryShapes.Clear();
-  //
-  aIt.Initialize(myListShapes);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aS=aIt.Value();
-    //
-    if (myToolShapes.Contains(aS)) {
-      continue;
-    }
-    //
-    const TopoDS_Shape& aFC = myImageShape.Image(aS).First();
-    aItF.Initialize(aFC);
-    for (; aItF.More(); aItF.Next()) {
-      const TopoDS_Shape& aF=aItF.Value();
-      myQueryShapes.Add(aF);
-    }
-  }
-}
-//=======================================================================
-//function : FillImageShape
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter::FillImageShape()
-{
-  Standard_Integer i, aNbF, iSense;
-  TopTools_ListIteratorOfListOfShape aItS, aItFI;
-  TopExp_Explorer aExp;
-  TopAbs_Orientation aOriFS; 
-  TopoDS_Face aFIx, aFIy;
-  BRep_Builder aBB;
-  //
-  myImageShape.Clear();
-  //modified by NIZNHY-PKV Mon Jan 24 09:48:15 2005f
-  myModifiedFaces.Clear();
-  //modified by NIZNHY-PKV Mon Jan 24 09:48:18 2005t
-  //
-  aItS.Initialize(myListShapes);
-  for ( ;aItS.More(); aItS.Next()) {
-    const TopoDS_Shape& aS=aItS.Value();
-    //
-    myQueryShapes.Clear();
-    //
-    aExp.Init(aS, TopAbs_FACE);
-    for (; aExp.More(); aExp.Next()) {
-      const TopoDS_Face& aFS=TopoDS::Face(aExp.Current());
-      aOriFS= aFS.Orientation();
-      //
-      if (!myImagesFaces.HasImage(aFS)) {
-       myQueryShapes.Add(aFS);
-       //modified by NIZNHY-PKV Mon Jan 24 09:50:42 2005 f
-       if (!myModifiedFaces.IsBound(aFS)) {
-         TopTools_ListOfShape aLS;
-         //
-         aLS.Append(aFS);
-         myModifiedFaces.Bind(aFS, aLS);
-       }
-       //modified by NIZNHY-PKV Mon Jan 24 09:50:44 2005 t
-       continue;
-      }
-      //
-      const TopTools_ListOfShape& aLFI=myImagesFaces.Image(aFS);
-      aItFI.Initialize(aLFI);
-      for (; aItFI.More(); aItFI.Next()) {
-       const TopoDS_Face& aFI=TopoDS::Face(aItFI.Value());
-       aFIx=aFI;
-       aFIx.Orientation(aOriFS);
-       //
-       if (mySDFaces.Contains(aFIx)) {
-         const TopoDS_Face& aFSDI=TopoDS::Face(mySDFaces.FindFromKey(aFIx));
-         TopoDS_Face aFSDIx=aFSDI;
-         //
-         iSense=NMTAlgo_Tools::Sense(aFIx, aFSDIx);
-         //
-         if (iSense < 0) {
-           aFSDIx.Reverse();
-         }
-         myQueryShapes.Add(aFSDIx);
-         //modified by NIZNHY-PKV Mon Jan 24 09:56:06 2005f
-         aFIy=aFSDIx;
-         //modified by NIZNHY-PKV Mon Jan 24 09:56:09 2005t
-       }
-       else {
-         myQueryShapes.Add(aFIx);
-         //modified by NIZNHY-PKV Mon Jan 24 09:56:06 2005f
-         aFIy=aFIx;
-         //modified by NIZNHY-PKV Mon Jan 24 09:56:09 2005t
-       }
-       //modified by NIZNHY-PKV Mon Jan 24 09:53:38 2005f
-       if (!myModifiedFaces.IsBound(aFS)) {
-         TopTools_ListOfShape aLS;
-         //
-         aLS.Append(aFIy);
-         myModifiedFaces.Bind(aFS, aLS);
-       }
-       else {
-         TopTools_ListOfShape& aLS=myModifiedFaces.ChangeFind(aFS);
-         aLS.Append(aFIy);
-       }
-       //modified by NIZNHY-PKV Mon Jan 24 09:53:43 2005t
-      }
-    }//for (; aExp.More(); aExp.Next()) {
-    //
-    TopoDS_Compound aCompound;
-    //
-    aBB.MakeCompound(aCompound);
-    //
-    aNbF=myQueryShapes.Extent();
-    for (i=1; i<=aNbF; ++i) {
-      const TopoDS_Shape& aF=myQueryShapes(i);
-      aBB.Add(aCompound, aF);
-    }
-    //
-    myImageShape.Bind(aS, aCompound);
-  }// for ( ;aItS.More(); aItS.Next())
-  //
-  myQueryShapes.Clear();
-}
-//=======================================================================
-//function : FillResult
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter::FillResult()
-{
-  Standard_Integer i, aNb;
-  //
-  aNb=myQueryShapes.Extent();
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aS=myQueryShapes(i); 
-    myBuilder.Add (myShape, aS);
-  }
-  BOP_CorrectTolerances::CorrectTolerances(myShape, 0.01);
-}
-//=======================================================================
-//function : isClosed
-//purpose  : check id a shape is closed, ie is a solid or a closed shell
-//=======================================================================
- Standard_Boolean isClosed(const TopoDS_Shape& theShape)
-{
-  Standard_Boolean isClosed = (theShape.ShapeType() == TopAbs_SOLID);
-  //
-  if (!isClosed && theShape.ShapeType() == TopAbs_SHELL) {
-    TopTools_IndexedDataMapOfShapeListOfShape MEF;
-    TopExp::MapShapesAndAncestors(theShape, TopAbs_EDGE, TopAbs_FACE, MEF);
-    for (Standard_Integer i=1;  isClosed && i<=MEF.Extent();  ++i)
-      isClosed = ( MEF(i).Extent() != 1 );
-  }
-  //
-  return isClosed;
-}
-//
-//  myErrorStatus     
-//
-// 100 - DS is already computed
-// 101 - Null shape is not allowed here
-// 102 - DS is not computed
-// 103 - No source shapes to treat
diff --git a/src/NMTAlgo/NMTAlgo_Splitter.hxx b/src/NMTAlgo/NMTAlgo_Splitter.hxx
deleted file mode 100644 (file)
index 205ecb6..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _NMTAlgo_Splitter_HeaderFile
-#define _NMTAlgo_Splitter_HeaderFile
-
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-#ifndef _BRep_Builder_HeaderFile
-#include <BRep_Builder.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _BRepAlgo_Image_HeaderFile
-#include <BRepAlgo_Image.hxx>
-#endif
-#ifndef _TopTools_MapOfOrientedShape_HeaderFile
-#include <TopTools_MapOfOrientedShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _NMTAlgo_Builder_HeaderFile
-#include <NMTAlgo_Builder.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class TopoDS_Shape;
-class NMTTools_DSFiller;
-class TopTools_ListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Splitter  : public NMTAlgo_Builder {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTAlgo_Splitter();
-Standard_EXPORT virtual ~NMTAlgo_Splitter();
-Standard_EXPORT virtual  void AddShape(const TopoDS_Shape& S) ;
-Standard_EXPORT virtual  void AddTool(const TopoDS_Shape& S) ;
-Standard_EXPORT virtual  void Compute() ;
-Standard_EXPORT virtual  void Build(const TopAbs_ShapeEnum aLimit = TopAbs_SHAPE) ;
-Standard_EXPORT virtual  void ComputeWithFiller(const NMTTools_DSFiller& aDSF) ;
-Standard_EXPORT   void KeepShapesInside(const TopoDS_Shape& S) ;
-Standard_EXPORT   void RemoveShapesInside(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_ListOfShape& Modified(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ;
-Standard_EXPORT   Standard_Boolean IsDeleted(const TopoDS_Shape& S) ;
-Standard_EXPORT virtual  void Clear() ;
-Standard_EXPORT  const TopTools_ListOfShape& SourceShapes() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void FillResult() ;
-Standard_EXPORT   void FillImageShape() ;
-Standard_EXPORT   void SplittedFaces() ;
-Standard_EXPORT   void SplittedWires() ;
-Standard_EXPORT   void SplitsAndSections() ;
-Standard_EXPORT   void ShellsAndSolids() ;
-Standard_EXPORT   void MakeShells(const TopoDS_Shape& aS,TopTools_ListOfShape& aLNS) ;
-Standard_EXPORT   void MakeSolids(const TopoDS_Shape& Solid,TopTools_ListOfShape& Shells) ;
-Standard_EXPORT   TopoDS_Shape FindFacesInside(const TopoDS_Shape& S,const Standard_Boolean CheckClosed = Standard_False,const Standard_Boolean All = Standard_False) ;
-Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Shape& S1,const TopoDS_Shape& S2) ;
-Standard_EXPORT   TopoDS_Shape GetOriginalShape(const TopoDS_Shape& aShape) const;
-Standard_EXPORT   void FindImage(const TopoDS_Shape& aS,TopTools_ListOfShape& aLIms) ;
-
-
- // Fields PROTECTED
- //
-TopAbs_ShapeEnum myDoneStep;
-BRep_Builder myBuilder;
-TopTools_ListOfShape myListShapes;
-TopTools_MapOfShape myMapFaces;
-TopTools_MapOfShape myMapTools;
-TopTools_MapOfShape myEqualEdges;
-TopTools_MapOfShape myNewSection;
-TopTools_MapOfShape myClosedShapes;
-TopTools_MapOfShape myWrappingSolid;
-TopTools_DataMapOfShapeShape myFaceShapeMap;
-TopTools_DataMapOfShapeShape myInternalFaces;
-TopTools_DataMapOfShapeShape myIntNotClFaces;
-BRepAlgo_Image myImageShape;
-TopTools_MapOfOrientedShape myAddedFacesMap;
-TopTools_ListOfShape mySourceShapes;
-TopAbs_ShapeEnum myLimit;
-TopTools_MapOfShape myToolShapes;
-TopTools_MapOfShape myObjShapes;
-TopTools_DataMapOfShapeShape myMapSIFC;
-TopTools_ListOfShape myGenerated;
-TopTools_DataMapOfShapeListOfShape myModifiedFaces;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Splitter.ixx b/src/NMTAlgo/NMTAlgo_Splitter.ixx
deleted file mode 100644 (file)
index fdec89e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Splitter.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Splitter.jxx b/src/NMTAlgo/NMTAlgo_Splitter.jxx
deleted file mode 100644 (file)
index e27984c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTTools_DSFiller_HeaderFile
-#include <NMTTools_DSFiller.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _NMTAlgo_Splitter_HeaderFile
-#include <NMTAlgo_Splitter.hxx>
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Splitter1.cdl b/src/NMTAlgo/NMTAlgo_Splitter1.cdl
deleted file mode 100644 (file)
index eafb312..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
--- File:       NMTAlgo_Splitter1.cdl
--- Created:    Wed Feb 11 14:23:25 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class Splitter1 from NMTAlgo  
-    inherits Splitter from NMTAlgo 
-
-       ---Purpose: 
-
-uses
-    ShapeEnum from TopAbs,  
-    Shape from TopoDS,
-    DataMapOfShapeInteger from TopTools
-
---raises
-
-is
-    Create 
-       returns Splitter1 from NMTAlgo;  
-    ---C++: alias "Standard_EXPORT virtual ~NMTAlgo_Splitter1();"  
-     
-    Clear (me:out) 
-       is redefined; 
-     
-    AddShape (me:out;  
-           aS : Shape from TopoDS) 
-       is redefined; 
-        
-     
-    AddTool(me:out;  
-           aS : Shape from TopoDS) 
-       is redefined; 
-       
-        
-    SetMaterial (me:out;  
-       aS : Shape from TopoDS; 
-       aM : Integer from Standard=0);  
-     
-    SetRemoveWebs(me:out; 
-       bFlag:Boolean from Standard); 
-        
-    RemoveWebs(me) 
-       returns  Boolean from Standard; 
-        
-    GetMaterialTable(me) 
-       returns DataMapOfShapeInteger from TopTools; 
-    ---C++:  return const &             
-     
-    Build (me:out; 
-       Limit:ShapeEnum from TopAbs=TopAbs_SHAPE) 
-       is redefined; 
-
-    --  protected block          
-    TreatSolids (me:out) 
-       is protected; 
-     
-    TreatWebs (me:out) 
-       is protected; 
-
-    RestParts (me:out) 
-       is protected; 
-       
-    
-fields 
-    myRemoveWebs :  Boolean from Standard is protected;   
-    myMapSWM     :  DataMapOfShapeInteger from TopTools is protected;
-    myMapSWMOut  :  DataMapOfShapeInteger from TopTools is protected;
-    myRestParts  :  Shape from TopoDS is protected; 
-    
-end Splitter1;
diff --git a/src/NMTAlgo/NMTAlgo_Splitter1.cxx b/src/NMTAlgo/NMTAlgo_Splitter1.cxx
deleted file mode 100644 (file)
index 36d7113..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-// File:       NMTAlgo_Splitter1.cxx
-// Created:    Wed Feb 11 14:26:27 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Splitter1.ixx>
-#include <NMTAlgo_Splitter.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#include <TopExp.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopTools_DataMapOfIntegerListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeInteger.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopExp.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <NMTAlgo_Loop3d.hxx>
-#include <TopTools_MapOfOrientedShape.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS_Solid.hxx>
-#include <NMTAlgo_Tools.hxx>
-
-//=======================================================================
-//function : NMTAlgo_Spliter1::NMTAlgo_Splitter1
-//purpose  : 
-//=======================================================================
-  NMTAlgo_Splitter1::NMTAlgo_Splitter1()
-:
-  NMTAlgo_Splitter()
-{
-  myRemoveWebs=Standard_False;
-}
-//=======================================================================
-// function: ~NMTAlgo_Splitter1
-// purpose: 
-//=======================================================================
-  NMTAlgo_Splitter1::~NMTAlgo_Splitter1()
-{
-  Clear();
-}
-//=======================================================================
-//function : Clear
-//purpose  : 
-//=======================================================================
-  void NMTAlgo_Splitter1::Clear()
-{
-  NMTAlgo_Splitter::Clear();
-  //
-  myRemoveWebs=Standard_False;
-  myMapSWM.Clear();
-  myMapSWMOut.Clear();
-}
-//=======================================================================
-//function : SetRemoveWebs
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::SetRemoveWebs(const Standard_Boolean bFlag)
-{
-  myRemoveWebs=bFlag;
-}
-//=======================================================================
-//function : RemoveWebs
-//purpose  :
-//=======================================================================
-  Standard_Boolean NMTAlgo_Splitter1::RemoveWebs()const
-{
-  return myRemoveWebs;
-}
-//=======================================================================
-//function : GetMaterialTable
-//purpose  :
-//=======================================================================
-  const TopTools_DataMapOfShapeInteger& NMTAlgo_Splitter1::GetMaterialTable()const
-{
-  return myMapSWMOut;
-}
-//=======================================================================
-//function : SetMaterial
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::SetMaterial(const TopoDS_Shape& aS,
-                                     const Standard_Integer iMt)
-{
-  TopExp_Explorer aExp;
-  //
-  aExp.Init(aS, TopAbs_SOLID);
-  for(; aExp.More(); aExp.Next()) {
-    const TopoDS_Shape& aSd=aExp.Current();
-    myMapSWM.Bind(aSd, iMt);
-  }
-}
-//=======================================================================
-//function : AddShape
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::AddShape(const TopoDS_Shape& aS)
-{
-  SetMaterial(aS, 0);
-  NMTAlgo_Splitter::AddShape(aS);
-}
-//=======================================================================
-//function : AddToolWithMaterial
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::AddTool(const TopoDS_Shape& aS)
-                                           
-{
-  SetMaterial(aS, 0);
-  NMTAlgo_Splitter::AddTool(aS);
-}
-//=======================================================================
-//function : Build
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::Build(const TopAbs_ShapeEnum aLimit)
-{
-  NMTAlgo_Splitter::Build(aLimit);
-  //
-  myMapSWMOut.Clear();
-  //
-  TreatSolids();
-  //
-  if (myRemoveWebs && myMapSWMOut.Extent()) {
-    RestParts();
-    TreatWebs();
-  }
-}
-//=======================================================================
-//function : TreatWebs
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::TreatWebs()
-{
-  Standard_Integer nMt;
-  TopTools_DataMapOfIntegerListOfShape aMMLS;
-  TopoDS_Iterator aIt;
-  TopTools_DataMapIteratorOfDataMapOfShapeInteger aIt2;
-  TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape aIt1;
-  TopTools_ListIteratorOfListOfShape aItS;
-  TopoDS_Compound aCx;
-  TopoDS_Shape aCSR;
-  //
-  aIt2.Initialize(myMapSWMOut);
-  for (; aIt2.More(); aIt2.Next()) {
-    const TopoDS_Shape& aS=aIt2.Key();
-    nMt=aIt2.Value();
-    //
-    if (aMMLS.IsBound(nMt)){
-      TopTools_ListOfShape& aLS=aMMLS.ChangeFind(nMt);
-      aLS.Append(aS);
-    }
-    else {
-      TopTools_ListOfShape aLS;
-      aLS.Append(aS);
-      aMMLS.Bind(nMt, aLS);
-    }
-  }
-  //
-  myMapSWMOut.Clear();
-  myBuilder.MakeCompound(aCx);
-  //
-  aIt1.Initialize(aMMLS);
-  for (; aIt1.More(); aIt1.Next()) {
-    nMt=aIt1.Key();
-    //
-    TopoDS_Compound aCS;
-    myBuilder.MakeCompound(aCS);
-    const TopTools_ListOfShape& aLS=aIt1.Value();
-    aItS.Initialize(aLS);
-    for (; aItS.More(); aItS.Next()) {
-      const TopoDS_Shape& aS=aItS.Value();
-      myBuilder.Add(aCS, aS);
-    }
-    //
-    NMTAlgo_Tools::BreakWebs(aCS, aCSR);
-    //
-    aIt.Initialize(aCSR);
-    for(; aIt.More(); aIt.Next()) {
-      const TopoDS_Shape& aS=aIt.Value();
-      myBuilder.Add(aCx, aS);
-      //
-      myMapSWMOut.Bind(aS, nMt);
-    }
-  }
-  //
-  aIt.Initialize(myRestParts);
-  for(; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aS=aIt.Value();
-    myBuilder.Add(aCx, aS);
-  }
-  //
-  myShape=aCx;
-}
-
-//=======================================================================
-//function : RestParts
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::RestParts()
-{
-  TopoDS_Iterator aIt;
-  TopoDS_Compound aR;
-  //
-  myBuilder.MakeCompound(aR);
-  //
-  aIt.Initialize(myShape);
-  for(; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aS=aIt.Value();
-    if (aS.ShapeType()==TopAbs_SOLID){
-      if (myMapSWMOut.IsBound(aS)) {
-       continue;
-      }
-    }
-    myBuilder.Add(aR, aS);
-  }
-  myRestParts=aR;
-}
-//=======================================================================
-//function : TreatSolids
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Splitter1::TreatSolids()
-{
-  Standard_Integer i, j, aNbSd, aNbSdx, nMtMax, nMt;
-  TopAbs_ShapeEnum aType;
-  TopoDS_Iterator aIt;
-  TopTools_IndexedMapOfShape aMSo, aMSd;
-  TopTools_IndexedDataMapOfShapeListOfShape aMFS;
-  TopTools_ListIteratorOfListOfShape aItS, aItLS;
-  NMTTools_IndexedDataMapOfShapeIndexedMapOfShape aMCS;
-  //
-  TopExp::MapShapesAndAncestors(myShape, TopAbs_FACE, TopAbs_SOLID, aMFS);
-  TopExp::MapShapes(myShape, TopAbs_SOLID, aMSo);
-  //
-  aNbSd=aMSo.Extent();
-  if (!aNbSd) {
-    return;
-  }
-  //
-  aItS.Initialize(myListShapes);
-  for ( ;aItS.More(); aItS.Next()) {
-    const TopoDS_Shape& aS=aItS.Value();
-    //
-    aType=aS.ShapeType();
-    if (aType != TopAbs_SOLID) {
-      continue;
-    }
-    //
-    if (myToolShapes.Contains(aS)) {
-      continue;
-    }
-    //
-    if (!myMapSIFC.IsBound(aS)){
-      continue;
-    }
-    //
-    aMSd.Clear();
-    //
-    const TopoDS_Shape& aIFC=myMapSIFC.Find(aS);
-    //
-    aIt.Initialize(aIFC);
-    for (; aIt.More(); aIt.Next()) {
-      const TopoDS_Shape& aIF=aIt.Value();
-      if (aMFS.Contains(aIF)) {
-       const TopTools_ListOfShape& aLS=aMFS.FindFromKey(aIF);
-       aItLS.Initialize(aLS);
-       for ( ;aItLS.More(); aItLS.Next()) {
-         const TopoDS_Shape& aSd=aItLS.Value();
-         if (!aMSd.Contains(aSd)) {
-           aMSd.Add(aSd);
-         }
-       }
-      }
-    }
-    //
-    aNbSd=aMSd.Extent();
-    if (!aNbSd) {
-      //modified by NIZNHY-PKV Thu Dec 23 15:07:46 2004 f
-      Standard_Boolean bFound;
-      //modified by NIZNHY-PKV Thu Dec 23 15:07:49 2004 t
-      TopoDS_Shape aSd;
-      //
-      const TopoDS_Shape& aFC=myImageShape.Image(aS).First();
-      //modified by NIZNHY-PKV Thu Dec 23 15:08:17 2004 f
-      //NMTAlgo_Tools::FindImageSolid(aFC, aMSo, aSd);
-      //aMSd.Add(aSd);
-      bFound=NMTAlgo_Tools::FindImageSolid(aFC, aMSo, aSd);
-      if (!aSd.IsNull()) {
-       aMSd.Add(aSd);
-      }
-      //modified by NIZNHY-PKV Thu Dec 23 15:09:02 2004 t
-    }
-    aMCS.Add(aS, aMSd); 
-  } //for ( ;aItS.More(); aItS.Next())
-  //
-  aMFS.Clear();
-  //
-  aNbSd=aMCS.Extent();
-  for (i=1; i<=aNbSd; ++i) {
-    const TopoDS_Shape& aSd=aMCS.FindKey(i);
-    const TopTools_IndexedMapOfShape& aMSdx=aMCS(i);
-    aNbSdx=aMSdx.Extent();
-    for (j=1; j<=aNbSdx; ++j) {
-      const TopoDS_Shape& aSdx=aMSdx(j);
-      //
-      if (aMFS.Contains(aSdx)) {
-       TopTools_ListOfShape& aLS=aMFS.ChangeFromKey(aSdx);
-       aLS.Append(aSd);
-      }
-      else {
-       TopTools_ListOfShape aLS;
-       aLS.Append(aSd);
-       aMFS.Add(aSdx, aLS);
-      }
-    }
-  }
-  //
-  // Assign materials values to subsolids
-  //
-  myMapSWMOut.Clear();
-  //
-  aNbSdx=aMFS.Extent();
-  for (i=1; i<=aNbSdx; ++i) {
-    const TopoDS_Shape& aSdx=aMFS.FindKey(i);
-    const TopTools_ListOfShape& aLS=aMFS(i);
-    aItLS.Initialize(aLS);
-    for (j=0; aItLS.More(); aItLS.Next(), ++j) {
-      const TopoDS_Shape& aSd=aItLS.Value();
-      //
-      if (!myMapSWM.IsBound(aSd)){
-       continue;
-      }
-      //
-      nMt=myMapSWM.Find(aSd);
-      if (!j) {
-       nMtMax=nMt;
-       continue;
-      }
-      if (nMt>nMtMax) {
-       nMtMax=nMt;
-      }
-    }
-    myMapSWMOut.Bind(aSdx, nMtMax);
-  }
-  //
-}
diff --git a/src/NMTAlgo/NMTAlgo_Splitter1.hxx b/src/NMTAlgo/NMTAlgo_Splitter1.hxx
deleted file mode 100644 (file)
index 1948d35..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTAlgo_Splitter1_HeaderFile
-#define _NMTAlgo_Splitter1_HeaderFile
-
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeInteger_HeaderFile
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTAlgo_Splitter_HeaderFile
-#include <NMTAlgo_Splitter.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_DataMapOfShapeInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Splitter1  : public NMTAlgo_Splitter {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTAlgo_Splitter1();
-Standard_EXPORT virtual ~NMTAlgo_Splitter1();
-Standard_EXPORT virtual  void Clear() ;
-Standard_EXPORT virtual  void AddShape(const TopoDS_Shape& aS) ;
-Standard_EXPORT virtual  void AddTool(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void SetMaterial(const TopoDS_Shape& aS,const Standard_Integer aM = 0) ;
-Standard_EXPORT   void SetRemoveWebs(const Standard_Boolean bFlag) ;
-Standard_EXPORT   Standard_Boolean RemoveWebs() const;
-Standard_EXPORT  const TopTools_DataMapOfShapeInteger& GetMaterialTable() const;
-Standard_EXPORT virtual  void Build(const TopAbs_ShapeEnum Limit = TopAbs_SHAPE) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void TreatSolids() ;
-Standard_EXPORT   void TreatWebs() ;
-Standard_EXPORT   void RestParts() ;
-
-
- // Fields PROTECTED
- //
-Standard_Boolean myRemoveWebs;
-TopTools_DataMapOfShapeInteger myMapSWM;
-TopTools_DataMapOfShapeInteger myMapSWMOut;
-TopoDS_Shape myRestParts;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Splitter1.ixx b/src/NMTAlgo/NMTAlgo_Splitter1.ixx
deleted file mode 100644 (file)
index c036c07..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Splitter1.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Splitter1.jxx b/src/NMTAlgo/NMTAlgo_Splitter1.jxx
deleted file mode 100644 (file)
index b589b4d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeInteger_HeaderFile
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#endif
-#ifndef _NMTAlgo_Splitter1_HeaderFile
-#include <NMTAlgo_Splitter1.hxx>
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Splitter_1.cxx b/src/NMTAlgo/NMTAlgo_Splitter_1.cxx
deleted file mode 100644 (file)
index 6bdd934..0000000
+++ /dev/null
@@ -1,916 +0,0 @@
-// File:       NMTAlgo_Splitter_1.cxx
-// Created:    Mon Feb  2 14:58:54 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Splitter.ixx>
-
-#include <Precision.hxx>
-
-#include <gp_Pnt.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-
-#include <NMTAlgo_Loop3d.hxx>
-//
-#include <BOPTools_Tools2D.hxx>
-#include <Geom_Curve.hxx>
-#include <TopAbs_Orientation.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Pnt.hxx>
-#include <BOPTools_Tools3D.hxx>
-#include <TopoDS.hxx>
-#include <BRep_Tool.hxx>
-#include <gp_Pln.hxx>
-#include <TopAbs_State.hxx>
-
-//
-static 
-  void RefineShells(const TopoDS_Shape& ,
-                   TopTools_ListOfShape&);
-static 
-  void RefineSolids(const TopoDS_Shape& ,
-                   TopTools_ListOfShape&);
-
-//modified by NIZNHY-PKV Fri Feb 25 17:19:39 2005f XX
-static
-  void GetPlanes (const TopoDS_Edge& anEx,
-               const TopTools_IndexedDataMapOfShapeListOfShape& anEFMapx,
-               const TopoDS_Face& aF1,
-               TopAbs_State& aStPF1);
-//modified by NIZNHY-PKV Fri Feb 25 17:19:44 2005t XX
-
-//=======================================================================
-//function : ShellsAndSolids
-//purpose  : 
-//=======================================================================
- void NMTAlgo_Splitter::ShellsAndSolids()
-{
-  Standard_Boolean bMakeSolids;
-  TopAbs_ShapeEnum aType;
-  TopTools_ListIteratorOfListOfShape aItS;
-  TopTools_ListOfShape aLNS;
-  //
-  myAddedFacesMap.Clear();
-  bMakeSolids=(myLimit==TopAbs_SHAPE || myLimit<TopAbs_SHELL);
-  //
-  //modified by NIZNHY-PKV Thu Feb 24 17:22:32 2005 f XX
-  myInternalFaces.Clear(); // remove it after all modifs
-  //modified by NIZNHY-PKV Thu Feb 24 17:22:56 2005 t XX
-  aItS.Initialize(myListShapes);
-  for ( ;aItS.More(); aItS.Next()) {
-    const TopoDS_Shape& aS=aItS.Value();
-    //
-    if (myToolShapes.Contains(aS)) {
-      continue;
-    }
-    //
-    aType=aS.ShapeType();
-    if (aType > TopAbs_SHELL) {
-      continue;//face,wire,...
-    }
-    //
-    aLNS.Clear();
-    //
-    MakeShells (aS, aLNS);
-    //
-    if (bMakeSolids && aType==TopAbs_SOLID) {
-      MakeSolids(aS, aLNS);
-    }
-    //
-    TopTools_ListIteratorOfListOfShape it (aLNS);
-    for (; it.More(); it.Next()) {
-      myBuilder.Add (myShape, it.Value());
-    }
-  }
-  //
-  // add split faces
-  aItS.Initialize(myListShapes);
-  for ( ;aItS.More(); aItS.Next()) {
-    const TopoDS_Shape& aS=aItS.Value();
-    //
-    aType=aS.ShapeType();
-    if (aType!=TopAbs_FACE || myMapTools.Contains(aS)) {
-      continue; 
-    }
-    //
-    const TopoDS_Shape& aCSF=myImageShape.Image(aS).First();
-    TopoDS_Iterator itS(aCSF);
-    for (; itS.More(); itS.Next()){
-      const TopoDS_Shape& aF=itS.Value();
-      if (!myAddedFacesMap.Contains(aF)){
-        myBuilder.Add (myShape, aF);
-      }
-    }
-  }
-}
-//=======================================================================
-//function : MakeShells
-//purpose  : split S into compound of shells
-//=======================================================================
-void NMTAlgo_Splitter::MakeShells(const TopoDS_Shape& aS,
-                                 TopTools_ListOfShape& aLNS)
-{
-  NMTAlgo_Loop3d aShellMaker;
-  //
-  // get compound of split faces of aS
-  const TopoDS_Shape& aFC=myImageShape.Image(aS).First();
-  aShellMaker.AddConstFaces(aFC);
-  //
-  // add split faces inside aS
-  if (myClosedShapes.Contains(aS)) {
-    //
-    // internal faces compound  
-    TopoDS_Shape aIFC=FindFacesInside(aS, Standard_True);
-    aShellMaker.AddSectionFaces(aIFC);
-  }
-  //
-  aLNS=aShellMaker.MakeShells(myAddedFacesMap);
-  //
-  RefineShells(aS, aLNS);
-  //
-  // Add faces added to new shell to myAddedFacesMap:
-  // avoid rebuilding twice common part of 2 solids.
-  
-  TopTools_ListIteratorOfListOfShape itS(aLNS);
-  TopExp_Explorer expF;
-  for (; itS.More(); itS.Next()) {
-    const TopoDS_Shape& aSh=itS.Value();
-    expF.Init (aSh, TopAbs_FACE);
-    for (; expF.More(); expF.Next()){
-      myAddedFacesMap.Add (expF.Current());
-    }
-  }
-  
-}
-//=======================================================================
-//function : MakeSolids
-//purpose  : make solids out of Shells
-//=======================================================================
-void NMTAlgo_Splitter::MakeSolids(const TopoDS_Shape&   theSolid,
-                                 TopTools_ListOfShape& theShellList)
-{
-  // for a solid wrapping other shells or solids without intersection,
-  // it is necessary to find shells making holes in it
-  Standard_Boolean isWrapping;
-  TopTools_ListOfShape aNewSolids; // result
-  TopTools_ListOfShape aHoleShells;
-  TopoDS_Shape anInfinitePointShape;
-  TopTools_DataMapOfShapeShape aInOutMap;
-  TopTools_ListIteratorOfListOfShape aShellIt, aSolisIt;
-  //
-  isWrapping = myWrappingSolid.Contains(theSolid);
-  if (!isWrapping && !theShellList.IsEmpty())  {
-    // check if theSolid initially has internal shells
-    TopoDS_Iterator aShellExp (theSolid);
-    aShellExp.Next();
-    isWrapping = aShellExp.More();
-  }
-  //
-  aShellIt.Initialize(theShellList);
-  for ( ; aShellIt.More(); aShellIt.Next()) {
-    const TopoDS_Shape & aShell = aShellIt.Value();
-    // check if a shell is a hole of theSolid
-    if (isWrapping && IsInside(anInfinitePointShape, aShell)){
-      aHoleShells.Append(aShell);
-    }
-    else {
-      // make a solid from a shell
-      TopoDS_Solid Solid;
-      myBuilder.MakeSolid( Solid );
-      myBuilder.Add (Solid, aShell);
-      
-      aNewSolids.Append (Solid);
-    }
-  }
-  //
-  // find outer a shell most close to each hole shell
-  aShellIt.Initialize(aHoleShells);
-  for (; aShellIt.More(); aShellIt.Next()){
-    const TopoDS_Shape & aHole = aShellIt.Value();
-    //
-    aSolisIt.Initialize(aNewSolids);
-    for ( ; aSolisIt.More(); aSolisIt.Next())    {
-      const TopoDS_Shape & aSolid = aSolisIt.Value();
-      //
-      if (! IsInside(aHole, aSolid)){
-        continue;
-      }
-      //
-      if ( aInOutMap.IsBound (aHole)){
-        const TopoDS_Shape & aSolid2 = aInOutMap( aHole );
-        if ( IsInside( aSolid, aSolid2 )) {
-          aInOutMap.UnBind( aHole );
-          aInOutMap.Bind ( aHole, aSolid );
-        }
-      }
-      else{
-        aInOutMap.Bind (aHole, aSolid);
-      }
-    }
-    //
-    // add aHole to a solid
-    if (aInOutMap.IsBound( aHole )){
-      TopoDS_Shape & aSolid=aInOutMap(aHole);
-      myBuilder.Add (aSolid, aHole);
-    }
-  }
-  //
-  theShellList.Clear();
-  //
-  RefineSolids(theSolid, aNewSolids);
-  //
-  theShellList.Append(aNewSolids);
-}
-//=======================================================================
-//function : FindFacesInside
-//purpose  : return compound of faces  of other shapes that are
-//           inside <theShape>. 
-//           <theShape> is an object shape.
-//           <CheckClosed> makes avoid faces that do not form a
-//           closed shell
-//           <All> makes return already added faces
-//=======================================================================
-  TopoDS_Shape NMTAlgo_Splitter::FindFacesInside(const TopoDS_Shape& theShape,
-                                               const Standard_Boolean CheckClosed,
-                                               const Standard_Boolean All)
-{
-  TopExp_Explorer expl;
-  TopAbs_State aState;
-  //
-  // ================================================
-  // check if internal faces have been already found
-  // ================================================
-  if (myInternalFaces.IsBound(theShape)) {
-    TopoDS_Shape aIntFComp = myInternalFaces.Find (theShape);
-    TopoDS_Shape aIntRemFComp = myIntNotClFaces.Find (theShape);
-
-    expl.Init( aIntRemFComp, TopAbs_FACE);
-    if (CheckClosed || !expl.More()){
-      return aIntFComp;
-    }
-    //
-    TopoDS_Compound C;
-    myBuilder.MakeCompound( C );
-    // add removed faces
-    for (; expl.More(); expl.Next()){
-      myBuilder.Add( C, expl.Current() );
-    }
-    // add good internal faces
-    expl.Init( aIntFComp, TopAbs_FACE);
-    for (; expl.More(); expl.Next()) {
-      myBuilder.Add( C, expl.Current() );
-    }
-    //
-    return C;
-  }
-
-  // ===================================
-  // get data for internal faces search
-  // ===================================
-  //
-  // compound of split faces of theShape 
-  const TopoDS_Shape& CSF = myImageShape.Image(theShape).First();
-  //
-  TopTools_MapOfShape MSE, MFP;
-  TopTools_DataMapOfShapeListOfShape DMSEFP;
-  TopTools_MapIteratorOfMapOfShape itm;
-  TopTools_ListOfShape EmptyL;
-  TopTools_ListIteratorOfListOfShape itl;
-
-  // MSE filling: map of new section edges of CSF
-  expl.Init(CSF, TopAbs_EDGE);
-  for (; expl.More(); expl.Next()) {
-    const TopoDS_Shape& aE = expl.Current() ;
-    MSE.Add(aE);
-  }
-  //
-  // DMEF: map edge of CSF - faces of CSF
-  TopTools_IndexedDataMapOfShapeListOfShape DMEF;
-  TopExp::MapShapesAndAncestors(CSF, TopAbs_EDGE, TopAbs_FACE, DMEF);
-  //
-  // Fill
-  // 1.  MFP - a map of faces to process: map of resulting faces except
-  // those of theShape; we`ll add to C those of them which are inside CSF
-  // 2.  DMSEFP - edge of MSE => faces of MFP
-  //
-  itl.Initialize(myListShapes);
-  for (;itl.More(); itl.Next()) {
-    const TopoDS_Shape& aShape = itl.Value();
-    //
-    if ( theShape.IsSame(aShape)) {
-      continue;
-    }
-    // fill maps
-    // iterate on split faces of aShape
-    const TopoDS_Shape& CSF1 = myImageShape.Image(aShape).First();
-    TopoDS_Iterator itF (CSF1);
-    for ( ; itF.More(); itF.Next()) {
-      const TopoDS_Shape& aF1 = itF.Value();
-      MFP.Add(aF1);
-      // iterate on edges of split faces of aShape,
-      // add to DMSEFP edges that are new
-      expl.Init(aF1, TopAbs_EDGE);
-      for (; expl.More(); expl.Next()) {
-       TopoDS_Shape aE1 = expl.Current();
-       if ( MSE.Contains(aE1)) {// section edge
-         if (!DMSEFP.IsBound(aE1)) {
-           DMSEFP.Bind(aE1, EmptyL);
-         }
-         DMSEFP(aE1).Append(aF1);
-       }
-      }
-    }
-  }//for (;itl.More(); itl.Next()) 
-  //
-  // add tool faces... (is absent)
-  //
-  // ===========================
-  // find faces inside theShape
-  // ===========================
-  Standard_Boolean sameDom1, sameDom2;
-  Standard_Boolean skipAlreadyAdded = Standard_False;
-  Standard_Boolean GoodOri, inside;
-  Standard_Real dot;
-  TopTools_ListOfShape KeepFaces;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape Mapit;
-
-  // iterate on section edges, check faces of other shapes
-  // sharing section edges and put internal faces to KeepFaces
-  Mapit.Initialize(DMSEFP);
-  for (; Mapit.More() ; Mapit.Next()) {
-    // a new edge of theShape
-    const TopoDS_Edge& E = TopoDS::Edge (Mapit.Key());
-    //
-    //Standard_Boolean isSectionE=IsSectionEdge(E);//(OrigE);  
-    //
-    // split faces of other shapes sharing E
-    TopTools_ListOfShape& LSF = DMSEFP.ChangeFind(E);
-    //
-    itl.Initialize( LSF );
-    while (itl.More()) {
-      // a split faces of other shape
-      TopoDS_Face aFace1 = TopoDS::Face(itl.Value());
-      // remove aFace1 form DMSEFP and MFP
-      LSF.Remove( itl ); // == itl.Next();
-      if (!MFP.Remove(aFace1))
-       continue; // was not is MFP (i.e already checked)
-      //
-      // check if aFace1 was already added to 2 shells
-      if (!All &&
-         myAddedFacesMap.Contains(aFace1) &&
-         myAddedFacesMap.Contains(aFace1.Reversed())) {
-       skipAlreadyAdded = Standard_True;
-      }
-      //
-      TopoDS_Shape anOrigFace = aFace1;
-      if (myImagesFaces.IsImage(aFace1)){
-        anOrigFace = myImagesFaces.Root(aFace1);
-      }
-      //
-      // <- A was here
-      //
-      // check that anOrigFace is not same domain with CSF faces it intersects
-      //
-      const TopTools_ListOfShape& FL = DMEF.FindFromKey(E); //faces of CSF sharing E
-      //
-      const TopoDS_Shape& origF1 = myImagesFaces.IsImage(FL.First()) ?
-       myImagesFaces.Root(FL.First()) : FL.First();
-      //
-      const TopoDS_Shape& origF2 = myImagesFaces.IsImage(FL.Last()) ?
-       myImagesFaces.Root(FL.Last()) : FL.Last();
-      //
-      sameDom1 = anOrigFace.IsSame( origF1 );
-      sameDom2 = anOrigFace.IsSame( origF2 );
-      //
-      if (!(sameDom1 || sameDom2) && HasSameDomainF( TopoDS::Face(anOrigFace) )) {       
-       sameDom1 = IsSameDomainF( TopoDS::Face(anOrigFace), TopoDS::Face(origF1));
-        if (origF1 == origF2) {
-          sameDom2 = sameDom1;
-       }
-      }
-      if (sameDom1 && sameDom2){
-       continue;
-      }
-      //
-      if (sameDom1 || sameDom2) {
-       inside = NMTAlgo_Loop3d::IsInside (E,
-                                          TopoDS::Face(FL.First()),
-                                          TopoDS::Face(FL.Last()),
-                                          1, dot, GoodOri);
-       if (inside || (dot + Precision::Angular() >= 1.0)) {
-         continue; // E is convex between origF1 and origF2 or they are tangent
-       }
-      }
-      //
-      GetPlanes(E, DMEF, aFace1, aState);
-      if (aState==TopAbs_IN) {
-       KeepFaces.Append(aFace1);
-      }
-    } //while (itl.More()) {
-  } //for (; Mapit.More() ; Mapit.Next() )
-
-  // ===================================================
-  // add not distributed faces connected with KeepFaces
-  // ===================================================
-
-  // ultimate list of internal faces
-  TopTools_ListOfShape KeptFaces;
-  //
-  // add to MFP not split tool faces as well, they may be connected with
-  // tool faces interfering with theShape
-  /*
-  itm.Initialize(myMapTools);
-  for (; itm.More(); itm.Next() ) {
-    const TopoDS_Shape& aToolFace = itm.Key();
-    if (!myImageShape.HasImage(aToolFace)){
-      MFP.Add (aToolFace);
-    }
-  }
-  */
-  //
-  if (MFP.IsEmpty())
-    KeptFaces.Append (KeepFaces);
-  //
-  while (!KeepFaces.IsEmpty()) {
-    // KeepEdges : map of edges of faces kept last time
-    TopTools_IndexedMapOfShape KeepEdges;
-    for ( itl.Initialize(KeepFaces); itl.More(); itl.Next() ) {
-      TopExp::MapShapes( itl.Value(), TopAbs_EDGE, KeepEdges);
-      KeptFaces.Append( itl.Value() );
-    }
-    //
-    KeepFaces.Clear();
-    //
-    // keep faces connected with already kept faces by KeepEdges
-    for ( itm.Initialize(MFP); itm.More(); itm.Next() ) {
-      const TopoDS_Shape& FP = itm.Key();
-      for (expl.Init(FP,TopAbs_EDGE); expl.More(); expl.Next()) {
-        const TopoDS_Shape& se = expl.Current();
-        if (!MSE.Contains(se) && KeepEdges.Contains(se) ) {
-          KeepFaces.Append(FP);
-          MFP.Remove(FP);
-          break;
-        }
-      }
-    }
-  }
-
-  // ===============================================================
-  // here MFP contains faces outer of theShape and those of shapes
-  // which do not interfere with theShape at all and between which
-  // there may be those wrapped by theShape and whose faces may be
-  // needed to be returned as well
-  // ===============================================================
-
-  Standard_Boolean isSolid = (theShape.ShapeType() == TopAbs_SOLID);
-  if (All || isSolid)  // All is for sub-result removal
-  {
-    for ( itm.Initialize( MFP ); itm.More(); itm.Next() ) {
-      TopoDS_Shape aFace = itm.Key();
-
-      // find a shape aFace originates from
-      TopoDS_Shape anOrigShape = GetOriginalShape( aFace );
-
-      // find out if all faces of anOrigShape are not in MFP
-      // and by the way remove them from MFP
-      Standard_Boolean isAllOut = Standard_True;
-      TopoDS_Shape aSplitFaces = anOrigShape;
-      if (myImageShape.HasImage(anOrigShape))
-        aSplitFaces = myImageShape.Image(anOrigShape).First();
-
-      TopTools_ListOfShape aSplitFaceL;
-      for (expl.Init( aSplitFaces, TopAbs_FACE ); expl.More(); expl.Next())
-      {
-        const TopoDS_Shape & aSpFace = expl.Current();
-        // a tool face which become object has image but the whole tool shape has not
-        if (myImageShape.HasImage( aSpFace ))
-        {
-          TopExp_Explorer exF (myImageShape.Image( aSpFace ).First(), TopAbs_FACE );
-          for ( ; exF.More(); exF.Next() )
-          {
-            aSplitFaceL.Append( exF.Current() );
-            if ( ! MFP.Remove( exF.Current() ))
-              isAllOut = Standard_False;
-          }
-        }
-        else
-        {
-          aSplitFaceL.Append( aSpFace );
-          if ( ! MFP.Remove( aSpFace ))
-            isAllOut = Standard_False;
-        }
-      }
-      itm.Initialize( MFP );
-      if ( !isAllOut )
-        continue;
-
-      // classify anOrigShape against theShape
-      if (IsInside (anOrigShape, theShape)) {
-        if (isSolid && myClosedShapes.Contains(anOrigShape)) {
-          // to make a special care at solid reconstruction
-          myWrappingSolid.Add ( theShape );
-       }
-        // keep faces of an internal shape anOrigShape
-        KeptFaces.Append( aSplitFaceL );
-      }
-    }
-  }
-
-  // ====================================================
-  // check if kept faces form a shell without free edges
-  // ====================================================
-
-  DMEF.Clear();  // edge - kept faces
-  MFP.Clear(); // reuse it for wrong faces
-  if (CheckClosed) {
-    for (itl.Initialize(KeptFaces); itl.More(); itl.Next() ) 
-      TopExp::MapShapesAndAncestors(itl.Value(), TopAbs_EDGE, TopAbs_FACE, DMEF);
-
-    Standard_Integer i, nb = DMEF.Extent();
-    Standard_Boolean isClosed = Standard_False;
-    while (!isClosed) {
-      isClosed = Standard_True;
-      for (i=1;  isClosed && i<=nb;  ++i) {
-        const TopoDS_Shape& E = DMEF.FindKey( i );
-        if (! BRep_Tool::Degenerated( TopoDS::Edge( E )) &&
-            ! MSE.Contains( E ))
-          isClosed = ( DMEF(i).Extent() != 1 );
-      }
-      if (!isClosed) {
-        const TopoDS_Shape& F = DMEF.FindFromIndex( i-1 ).First(); // bad face
-        MFP.Add( F ); 
-        // remove bad face from DMEF
-        for (expl.Init( F, TopAbs_EDGE); expl.More(); expl.Next()) {
-         const TopoDS_Shape& E = expl.Current();
-          TopTools_ListOfShape& FL = DMEF.ChangeFromKey( E );
-          for (itl.Initialize( FL ); itl.More(); itl.Next() ) {
-            if ( F.IsSame( itl.Value() )) {
-              FL.Remove( itl );
-              break;
-            }
-          }
-        }
-      }
-    }
-  }
-
-  // ==============
-  // make a result
-  // ==============
-
-  TopoDS_Compound C;
-  // compound of removed internal faces
-  TopoDS_Compound CNotCl;
-
-  myBuilder.MakeCompound(C);
-  myBuilder.MakeCompound(CNotCl);
-
-  // add to compounds
-  itl.Initialize(KeptFaces);
-  for (; itl.More(); itl.Next() ) {
-    TopoDS_Shape & aIntFace = itl.Value();
-    //
-    if (!All &&
-       myAddedFacesMap.Contains(aIntFace) &&
-       myAddedFacesMap.Contains(aIntFace.Reversed())) {
-      continue;
-    }
-    //
-    if (! MFP.Contains( aIntFace )){
-      myBuilder.Add(C, aIntFace);
-    }
-    else{
-      myBuilder.Add(CNotCl, aIntFace);
-    }
-  }
-  //
-  if (!skipAlreadyAdded && CheckClosed) {
-    myInternalFaces.Bind(theShape, C);
-    myIntNotClFaces.Bind(theShape, CNotCl);
-  }
-  //
-  //
-  if (!myMapSIFC.IsBound(theShape)) {
-    TopoDS_Compound aCIF;
-    myBuilder.MakeCompound(aCIF);
-    //
-    itl.Initialize(KeptFaces);
-    for (; itl.More(); itl.Next() ) {
-      TopoDS_Shape & aIntFace = itl.Value();
-      if (! MFP.Contains(aIntFace )){
-       myBuilder.Add(aCIF, aIntFace);
-      }
-    }
-    myMapSIFC.Bind(theShape, aCIF);
-  }
-  //
-  return C;
-}
-//=======================================================================
-//function : IsInside
-//purpose  : Return True if the first vertex of S1 inside S2.
-//           If S1.IsNull(), check infinite point against S2.
-//=======================================================================
-Standard_Boolean NMTAlgo_Splitter::IsInside (const TopoDS_Shape& theS1,
-                                            const TopoDS_Shape& theS2)
-{
-  BRepClass3d_SolidClassifier aClassifier( theS2 );
-  //
-  TopExp_Explorer expl(theS1, TopAbs_VERTEX);
-  //
-  if (!expl.More()){
-    aClassifier.PerformInfinitePoint( ::RealSmall());
-  }
-  else  {
-    const TopoDS_Vertex & aVertex = TopoDS::Vertex( expl.Current() );
-    aClassifier.Perform (BRep_Tool::Pnt( aVertex ),
-                         BRep_Tool::Tolerance( aVertex ));
-  }
-  //
-  return ( aClassifier.State() == TopAbs_IN );
-}
-//=======================================================================
-//function : GetOriginalShape
-//purpose  : Return the  shape  aShape  originates from. aShape
-//           should be a face or more complex result shape
-//=======================================================================
-TopoDS_Shape NMTAlgo_Splitter::GetOriginalShape(const TopoDS_Shape& theShape) const
-{
-  TopoDS_Shape anOrigShape;
-
-  TopExp_Explorer expl( theShape, TopAbs_FACE);
-  if (expl.More()) {
-    TopoDS_Shape aFace = expl.Current();
-    if (myImagesFaces.IsImage( aFace ))
-      aFace = myImagesFaces.Root( aFace );
-    anOrigShape = myFaceShapeMap.Find( aFace );
-  }
-  return anOrigShape;
-}
-//=======================================================================
-//function :RefineShells 
-//purpose  : 
-//=======================================================================
-void RefineShells(const TopoDS_Shape& aS,
-                 TopTools_ListOfShape& aLNS)
-{
-  Standard_Boolean bFound;
-  Standard_Integer iS, jS, aNbSOrs, aNbSIms, aNbFOrs, aNbFIms, kFOrs, aNb;
-  TopTools_ListIteratorOfListOfShape aIt;
-  TopTools_IndexedMapOfShape aMSOrs, aMSIms, aMFOrs, aMFIms;
-  TopTools_IndexedDataMapOfShapeShape aMImOr;
-  TopTools_ListOfShape aLS;
-  //
-  TopExp::MapShapes(aS, TopAbs_SHELL, aMSOrs);
-  aIt.Initialize(aLNS);
-  for (;aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aSh=aIt.Value();
-    aMSIms.Add(aSh);
-  }
-  //
-  aNbSOrs=aMSOrs.Extent();
-  aNbSIms=aMSIms.Extent();
-  //
-  for (iS=1; iS<=aNbSOrs; ++iS) {
-    const TopoDS_Shape& aSOr=aMSOrs(iS);
-    aMFOrs.Clear();
-    TopExp::MapShapes(aSOr, TopAbs_FACE, aMFOrs);
-    aNbFOrs=aMFOrs.Extent();
-    //
-    for (jS=1; jS<=aNbSIms; ++jS) {
-      const TopoDS_Shape& aSIm=aMSIms(jS);
-      if (aMImOr.Contains(aSIm)) {
-       continue;
-      }
-      //
-      aMFIms.Clear();
-      TopExp::MapShapes(aSIm, TopAbs_FACE, aMFIms);
-      aNbFIms=aMFIms.Extent();
-      //
-      if (aNbFIms==aNbFOrs) {
-       bFound=Standard_True;
-       for (kFOrs=1; kFOrs<=aNbFOrs; ++kFOrs) {
-         const TopoDS_Shape& aFOr=aMFOrs(kFOrs);
-         if (!aMFIms.Contains(aFOr)) {
-           bFound=Standard_False;
-           break; //next aSIm
-         }
-       }
-       if (bFound){
-         aMImOr.Add(aSIm, aSOr);
-         break; //next aSOr
-       }
-      } //if (aNbFIms==aNbFOrs)
-    }
-  }
-  //
-  aNb=aMImOr.Extent();
-  aIt.Initialize(aLNS);
-  for (;aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aSh=aIt.Value();
-    if (aMImOr.Contains(aSh)) {
-      const TopoDS_Shape& aSOr=aMImOr.FindFromKey(aSh);
-      aLS.Append(aSOr);
-    }
-    else {
-      aLS.Append(aSh);
-    }
-  }
-  //
-  aLNS.Clear();
-  aLNS.Append(aLS);
-}
-
-//=======================================================================
-//function :RefineSolids 
-//purpose  : 
-//=======================================================================
-void RefineSolids(const TopoDS_Shape& aSolidOr,
-                 TopTools_ListOfShape& aLNS)
-{
-  Standard_Integer aNb, iS,  aNbSOrs, aNbSIms;
-  TopoDS_Shape aSolidIm;
-  TopTools_IndexedMapOfShape aMSOrs, aMSIms;
-  //
-  aNb=aLNS.Extent();
-  if (aNb!=1) {
-    return;
-  }
-  //
-  aSolidIm=aLNS.First();
-  
-  TopExp::MapShapes(aSolidOr, TopAbs_SHELL, aMSOrs);
-  TopExp::MapShapes(aSolidIm, TopAbs_SHELL, aMSIms);
-  aNbSOrs=aMSOrs.Extent();
-  aNbSIms=aMSIms.Extent();
-  if (aNbSOrs!=aNbSIms) {
-    return;
-  }
-  //
-  for (iS=1; iS<=aNbSOrs; ++iS) {
-    const TopoDS_Shape& aSOr=aMSOrs(iS);
-    if (!aMSIms.Contains(aSOr)) {
-      return;
-    }
-  }
-  //
-  aLNS.Clear();
-  aLNS.Append(aSolidOr);
-}
-//modified by NIZNHY-PKV Fri Feb 25 16:59:57 2005f XX
-//=======================================================================
-//function : GetPlanes
-//purpose  :
-//=======================================================================
-void GetPlanes (const TopoDS_Edge& anEx,
-               const TopTools_IndexedDataMapOfShapeListOfShape& anEFMapx,
-               const TopoDS_Face& aF1,
-               TopAbs_State& aStPF1)
-               
-{
-  Standard_Boolean bIsAdjExists;
-  Standard_Real aT, aT1, aT2;
-  TopAbs_Orientation anOrEx, anOr;
-  gp_Dir aDNFx1, aDNFx2, aDNF1; 
-  gp_Pnt aPx, aPx1, aPx2, aPF1;
-  TopoDS_Edge aERight, aSpxSimm;
-  TopoDS_Face aFx1, aFx2, aFF1;
-  TopTools_ListIteratorOfListOfShape anIt;
-  //
-  // Point on Edge
-  Handle(Geom_Curve)aC3D =BRep_Tool::Curve(anEx, aT1, aT2);
-  aT=BOPTools_Tools2D::IntermediatePoint(aT1, aT2);
-  
-  aC3D->D0(aT, aPx);
-  //
-  anOrEx=anEx.Orientation();
-  
-  aSpxSimm=anEx;
-  if (anOrEx==TopAbs_FORWARD) {
-    aSpxSimm.Orientation(TopAbs_REVERSED);
-  }
-  else if (anOrEx==TopAbs_REVERSED){
-    aSpxSimm.Orientation(TopAbs_FORWARD);
-  }
-  //
-  const TopTools_ListOfShape& aLF=anEFMapx.FindFromKey(anEx);
-  anIt.Initialize(aLF);
-  for (; anIt.More(); anIt.Next()) {
-    const TopoDS_Shape& aFE=anIt.Value();
-    aFx1=TopoDS::Face(aFE);
-    anOr=BOPTools_Tools3D::Orientation(anEx, aFx1);
-    if (anOr==anOrEx){
-      break;
-    }
-  }
-  //
-  BOPTools_Tools3D::GetApproxNormalToFaceOnEdge (anEx, aFx1, aT, aPx1, aDNFx1);
-  //
-  bIsAdjExists=BOPTools_Tools3D::GetAdjacentFace (aFx1, anEx, anEFMapx, aFx2);
-  if (!bIsAdjExists) {
-    BOPTools_Tools3D::GetApproxNormalToFaceOnEdge (aSpxSimm, aFx1, aT, aPx2, aDNFx2); 
-  }
-  else {
-    BOPTools_Tools3D::GetApproxNormalToFaceOnEdge (aSpxSimm, aFx2, aT, aPx2, aDNFx2);
-  }
-  //
-  aFF1=aF1;
-  aFF1.Orientation(TopAbs_FORWARD);
-  BOPTools_Tools3D::OrientEdgeOnFace (anEx, aFF1, aERight);
-  BOPTools_Tools3D::GetApproxNormalToFaceOnEdge (aERight, aFF1, aT, aPF1, aDNF1);
-  //
-  {
-    Standard_Real d12, d1, anAlfa12, anAlfa1, aTwoPI;
-    
-    aTwoPI=Standard_PI+Standard_PI;
-    
-    gp_Vec aVx1(aPx, aPx1);
-    gp_Dir aDBx1 (aVx1);
-    gp_Pln aPlnToCompare (aPx, aDNFx1);
-    
-    gp_Vec aVx2(aPx, aPx2);
-    gp_Dir aDBx2 (aVx2);
-    
-    anAlfa12=aDBx1.Angle(aDBx2);
-    d12=BOPTools_Tools3D::SignDistance(aPx2, aPlnToCompare);
-    if (d12 < 0.) {
-      anAlfa12=aTwoPI-anAlfa12;
-    }
-    
-    gp_Vec aVF1(aPx, aPF1);
-    gp_Dir aDBF1 (aVF1);
-    anAlfa1=aDBx1.Angle(aDBF1);
-    d1=BOPTools_Tools3D::SignDistance(aPF1, aPlnToCompare);
-    if (d1 < 0.) {
-      anAlfa1=aTwoPI-anAlfa1;
-    }
-    
-    aStPF1=TopAbs_OUT;
-    if (anAlfa1 > anAlfa12) {
-      aStPF1=TopAbs_IN;
-    }
-  }
-}
-//modified by NIZNHY-PKV Fri Feb 25 17:00:03 2005t XX 
-/*
-        A
-      //
-      TopoDS_Shape aFace2;
-      if ( !isSectionE ) {
-        while (itl.More()) {
-          aFace2 = itl.Value();
-         //
-          TopoDS_Shape anOrigFace2 = aFace2;
-         if (myImagesFaces.IsImage(aFace2)) {
-           anOrigFace2 = myImagesFaces.Root(aFace2);
-         }
-         //
-          if (!MFP.Contains( aFace2 )) {
-            LSF.Remove( itl );
-            continue;
-          }
-          //if (anOrigFace.IsSame( myImagesFaces.Root( aFace2 )))
-          if (anOrigFace.IsSame(anOrigFace2)) {
-            break;
-         }
-          itl.Next();
-        }
-        if (itl.More()) { // aFace2 found, remove it from maps
-          LSF.Remove( itl );
-          MFP.Remove(aFace2);
-        }
-        else{
-          aFace2.Nullify();
-       }
-        itl.Initialize( LSF );
-      } 
-      */
diff --git a/src/NMTAlgo/NMTAlgo_Splitter_2.cxx b/src/NMTAlgo/NMTAlgo_Splitter_2.cxx
deleted file mode 100644 (file)
index 8229af1..0000000
+++ /dev/null
@@ -1,660 +0,0 @@
-// File:       NMTAlgo_Splitter_2.cxx
-// Created:    Mon Feb  9 15:07:51 2004
-// Author:     Igor FEOKTISTOV
-//             <ifv@philipox.nnov.matra-dtv.fr>
-
-
-#include <NMTAlgo_Splitter.ixx>
-
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-#include <BOPTools_PInterferencePool.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfEEInterference.hxx>
-#include <BOPTools_EEInterference.hxx>
-#include <BOPTools_CArray1OfESInterference.hxx>
-#include <BOPTools_ESInterference.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <NMTTools_PaveFiller.hxx>
-#include <NMTTools_DSFiller.hxx>
-#include <NMTAlgo_Tools.hxx>
-
-//=======================================================================
-//function : KeepShapesInside
-//purpose  : remove shapes that are outside of S from result
-//=======================================================================
-  void NMTAlgo_Splitter::KeepShapesInside (const TopoDS_Shape& S)
-{
-  TopoDS_Iterator it;
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    for (it.Initialize( S ); it.More(); it.Next())
-      KeepShapesInside( it.Value());
-    return;
-  }
-
-  Standard_Boolean isTool = Standard_False;
-  if (!myImageShape.HasImage( S )) {
-    //isTool = CheckTool( S );
-    //if (!isTool) return;
-    return;
-  }
-
-  // build map of internal faces
-  TopTools_IndexedMapOfShape MIF;
-  TopoDS_Shape IntFacesComp = FindFacesInside( S, Standard_False, Standard_True);
-  TopExp::MapShapes( IntFacesComp, TopAbs_FACE, MIF );
-
-  TopoDS_Compound C;
-  myBuilder.MakeCompound(C);
-
-  TopAbs_ShapeEnum anInternalShapeType = TopAbs_SHAPE;
-  if (!MIF.IsEmpty())
-  {
-    // leave in the result only those shapes having a face in MIF
-    for (it.Initialize( myShape ); it.More(); it.Next()) {
-      const TopoDS_Shape & aResShape = it.Value();
-      TopExp_Explorer expResF( aResShape, TopAbs_FACE );
-      for (; expResF.More(); expResF.Next()) {
-        if ( MIF.Contains( expResF.Current())) {
-          myBuilder.Add( C, aResShape );
-          if (aResShape.ShapeType() < anInternalShapeType)
-            anInternalShapeType = aResShape.ShapeType();
-          break;
-        }
-      }
-    }
-  }
-
-  // may be S was not split by internal faces then it is missing
-  // in myShape, add it
-  if (!isTool &&
-      (anInternalShapeType > TopAbs_SOLID || S.ShapeType() > TopAbs_SOLID))
-  {
-    TopTools_IndexedMapOfShape MSF; // map of split faces of S
-    TopExp::MapShapes( myImageShape.Image(S).First(), TopAbs_FACE, MSF);
-
-    // find a shape having all faces in MSF
-    for (it.Initialize( myShape ); it.More(); it.Next()) {
-      TopExp_Explorer expResF( it.Value(), TopAbs_FACE );
-      for (; expResF.More(); expResF.Next()) {
-        if (! MSF.Contains( expResF.Current())) 
-          break;
-      }
-      if (! expResF.More()) {
-        myBuilder.Add( C, it.Value() );
-        break;
-      }
-    }
-  }
-
-  myShape = C;
-}
-
-//=======================================================================
-//function : RemoveShapesInside
-//purpose  : remove shapes that are inside S from result
-//=======================================================================
-  void NMTAlgo_Splitter::RemoveShapesInside (const TopoDS_Shape& S)
-{
-  TopoDS_Iterator it;
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    it.Initialize( S );
-    for (; it.More(); it.Next()) {
-      RemoveShapesInside( it.Value());
-    }
-    return;
-  }
-  //
-  Standard_Boolean isTool;
-  TopoDS_Shape IntFacesComp;
-  TopoDS_Compound C;
-  TopTools_IndexedMapOfShape MIF; // map of internal faces
-  TopTools_MapOfShape RFM;
-  TopTools_MapIteratorOfMapOfShape itF;
-  //
-  isTool=myToolShapes.Contains(S);
-  //isTool = Standard_False;
-  if (!myImageShape.HasImage( S )) {
-    return;
-  }
-  //
-  IntFacesComp = FindFacesInside( S, Standard_False, Standard_True);
-  //
-  TopExp::MapShapes( IntFacesComp, TopAbs_FACE, MIF);
-  if (MIF.IsEmpty()) {
-    return;
-  }
-  // add to MIF split faces of S
-  const TopoDS_Shape& aSIm=myImageShape.Image(S).First();
-  TopExp::MapShapes(aSIm, TopAbs_FACE, MIF);
-  //
-  // leave in the result only those shapes not having all face in MIF
-  myBuilder.MakeCompound(C);
-  //
-  // RFM : faces of removed shapes that encounter once
-  it.Initialize(myShape);
-  for (; it.More(); it.Next()) {
-    TopExp_Explorer expResF;
-    //
-    const TopoDS_Shape& aSR=it.Value();
-    //
-    expResF.Init(aSR, TopAbs_FACE);
-    for (; expResF.More(); expResF.Next()) {
-      const TopoDS_Shape& aFR=expResF.Current();
-      if (!MIF.Contains(aFR)) {
-       break;
-      }
-    }
-    //
-    if (expResF.More()) {
-      // add shape to result
-      myBuilder.Add(C, aSR);
-    }
-    else {
-      // add faces of a removed shape to RFM
-      for (expResF.ReInit(); expResF.More(); expResF.Next()) {
-       const TopoDS_Shape& aF = expResF.Current();
-       if (!RFM.Remove(aF)) {
-         RFM.Add(aF);
-       }
-      }
-    }
-  }// for (; it.More(); it.Next())
-  //
-  //
-  TopoDS_Compound aCx;
-  //
-  myBuilder.MakeCompound(aCx);
-  itF.Initialize (RFM);
-  for (; itF.More(); itF.Next()) {
-    const TopoDS_Shape& aF=itF.Key();
-    myBuilder.Add(aCx, aF);
-  }
-  //
-  if (!isTool) {
-    // rebuild S, it must remain in the result
-    Standard_Boolean isClosed = Standard_False;
-    switch (S.ShapeType()) {
-    case TopAbs_SOLID :
-      isClosed = Standard_True; break;
-    case TopAbs_SHELL: {
-      TopTools_IndexedDataMapOfShapeListOfShape MEF;
-      TopExp::MapShapesAndAncestors(S, TopAbs_EDGE, TopAbs_FACE, MEF);
-      Standard_Integer i;
-      for (i=1;  isClosed && i<=MEF.Extent();  ++i) {
-        isClosed = ( MEF(i).Extent() != 1 );
-      }
-      break;
-    }
-    default:
-      isClosed = Standard_False;
-    }
-    //
-    if (isClosed) {
-      // add to a new shape external faces of removed shapes, ie those in RFM
-      TopoDS_Shell Shell;
-      myBuilder.MakeShell(Shell);
-      // exclude redundant internal face with edges encounterd only once
-      TopTools_IndexedDataMapOfShapeListOfShape MEF;
-      //
-      itF.Initialize (RFM);
-      for ( ; itF.More(); itF.Next()) {
-       const TopoDS_Shape& aF=itF.Key();
-        TopExp::MapShapesAndAncestors(aF, TopAbs_EDGE, TopAbs_FACE, MEF);
-      }
-      // add only faces forming a closed shell
-      for (itF.Reset() ; itF.More(); itF.Next())  {
-       const TopoDS_Shape& aF=itF.Key();
-        TopExp_Explorer expE (aF, TopAbs_EDGE);
-        for (; expE.More(); expE.Next()) {
-          if (MEF.FindFromKey(expE.Current()).Extent() == 1) {
-            break;
-         }
-       }
-        if (!expE.More()) {
-          myBuilder.Add( Shell, aF);
-       }
-       else {
-         //int a=0;
-       }
-      }
-      
-      if (S.ShapeType() == TopAbs_SOLID) {
-        TopoDS_Solid Solid;
-        myBuilder.MakeSolid( Solid );
-        myBuilder.Add (Solid, Shell);
-        myBuilder.Add (C, Solid);
-      }
-      else {
-        myBuilder.Add (C, Shell);
-      }
-    } // if (isClosed) {
-    else {
-      it.Initialize(aSIm);
-      for (; it.More(); it.Next()) {
-       myBuilder.Add (C, it.Value());
-      }
-    }
-  }
-  //
-  myShape = C;
-}
-//
-//modified by NIZNHY-PKV Tue Feb  1 16:02:29 2005 f
-//=======================================================================
-//function : Modified
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape& NMTAlgo_Splitter::Modified (const TopoDS_Shape& S) 
-
-{
-  TopAbs_ShapeEnum aType;
-  //
-  myGenerated.Clear();
-  //
-  aType=S.ShapeType();
-  //
-  switch (aType) { 
-    case TopAbs_SOLID:
-    case TopAbs_FACE: 
-    case TopAbs_EDGE:
-    case TopAbs_VERTEX:
-      FindImage(S, myGenerated);
-      break;
-    
-    case TopAbs_SHELL:
-      break;
-      
-    case TopAbs_WIRE:
-      break;
-      
-    default:
-      break;
-  } 
-  //
-  return myGenerated;
-}
-//modified by NIZNHY-PKV Tue Feb  1 16:02:33 2005 t
-//=======================================================================
-//function : IsDeleted
-//purpose  : 
-//=======================================================================
-Standard_Boolean NMTAlgo_Splitter::IsDeleted (const TopoDS_Shape& S) 
-
-{
-  const TopTools_ListOfShape& aL = Modified(S);
-  if(aL.Extent() != 0) return Standard_False;
-
-  TopTools_MapOfShape aMap;
-  TopExp_Explorer anExp;
-
-  TopAbs_ShapeEnum aType = S.ShapeType();
-
-  if(aType == TopAbs_VERTEX || 
-     aType == TopAbs_EDGE   || 
-     aType == TopAbs_FACE     ) {
-
-    anExp.Init(myShape, aType);
-    for(; anExp.More(); anExp.Next()) {
-      if(S.IsSame(anExp.Current())) return Standard_False;
-    }
-
-  }
-  
-  return Standard_True;
-}
-//=======================================================================
-//function : Generated
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape& NMTAlgo_Splitter::Generated(const TopoDS_Shape& S) 
-{
-  myGenerated.Clear();
-  TopTools_ListIteratorOfListOfShape it;
-  TopTools_MapOfShape aMap;
-  TopExp_Explorer anExp;
-  Standard_Boolean bCheckVert = Standard_False;
-
-  if(S.ShapeType() == TopAbs_FACE) {
-    if (mySectionParts.Contains(S)) {
-      it.Initialize(mySectionParts.FindFromKey(S));
-      anExp.Init(myShape, TopAbs_EDGE);
-  
-      for(; anExp.More(); anExp.Next()) {
-       aMap.Add(anExp.Current());
-      }
-
-      for (; it.More(); it.Next()) {
-       if(aMap.Contains(it.Value())) {
-         myGenerated.Append(it.Value());
-       }
-      }
-    }
-
-    NMTTools_PaveFiller& aPF = myDSFiller->ChangePaveFiller();
-    const NMTDS_ShapesDataStructure& aDS = myDSFiller->DS();
-    const BOPTools_PInterferencePool& anIP = aPF.InterfPool();
-
-    Standard_Integer aNbS = aDS.NumberOfSourceShapes();
-    Standard_Integer anIndex = 0, i;
-
-    for(i = 1; i <= aNbS; ++i) {
-
-      const TopoDS_Shape& aS = aDS.Shape(i);
-      if(S.IsSame(aS)) {
-       anIndex = i;
-       break;
-      }
-
-    }
-
-    if(anIndex == 0) return myGenerated;
-    if(!anIP->HasInterference(anIndex)) return myGenerated;
-
-    const BOPTools_CArray1OfESInterference& aESs = anIP->ESInterferences();
-    Standard_Integer aNbI = aESs.Extent();
-
-    if(aNbI == 0) return myGenerated;
-
-    for(i = 1; i <= aNbI; ++i) {
-
-      const BOPTools_ESInterference& aES = aESs(i);
-      Standard_Integer ind1, ind2;
-      aES.Indices(ind1, ind2);
-
-      if(ind1 == anIndex || ind2 == anIndex) {
-
-       Standard_Integer aNSI = aES.NewShape();
-       if(aDS.GetShapeType(aNSI) == TopAbs_VERTEX) {
-         myGenerated.Append(aDS.Shape(aNSI));
-         bCheckVert = Standard_True;
-       }
-     
-      }
-
-    }
-         
-    if(bCheckVert) {
-      aMap.Clear();
-      anExp.Init(myShape, TopAbs_VERTEX);
-  
-      for(; anExp.More(); anExp.Next()) {
-       aMap.Add(anExp.Current());
-      }
-
-      it.Initialize(myGenerated);
-      for (; it.More(); it.Next()) {
-
-       if(it.Value().ShapeType() != TopAbs_VERTEX) continue;
-       
-       if(!aMap.Contains(it.Value())) {
-         myGenerated.Remove(it);
-       }
-
-      }
-    }
-   
-    return myGenerated;
-  }
-
-  if(S.ShapeType() == TopAbs_EDGE) {
-
-    NMTTools_PaveFiller& aPF = myDSFiller->ChangePaveFiller();
-    const NMTDS_ShapesDataStructure& aDS = myDSFiller->DS();
-    const BOPTools_PInterferencePool& anIP = aPF.InterfPool();
-
-    Standard_Integer aNbS = aDS.NumberOfSourceShapes();
-    Standard_Integer anIndex = 0, i;
-
-    for(i = 1; i <= aNbS; ++i) {
-
-      const TopoDS_Shape& aS = aDS.Shape(i);
-      if(S.IsSame(aS)) {
-       anIndex = i;
-       break;
-      }
-
-    }
-
-    if(anIndex == 0) return myGenerated;
-    if(!anIP->HasInterference(anIndex)) return myGenerated;
-
-    const BOPTools_CArray1OfEEInterference& aEEs = anIP->EEInterferences();
-    Standard_Integer aNbI = aEEs.Extent();
-
-    for(i = 1; i <= aNbI; ++i) {
-
-      const BOPTools_EEInterference& aEE = aEEs(i);
-      Standard_Integer ind1, ind2;
-      aEE.Indices(ind1, ind2);
-
-      if(ind1 == anIndex || ind2 == anIndex) {
-
-       Standard_Integer aNSI = aEE.NewShape();
-       if(aDS.GetShapeType(aNSI) == TopAbs_VERTEX) {
-         myGenerated.Append(aDS.Shape(aNSI));
-         bCheckVert = Standard_True;
-       }
-     
-      }
-         
-    }    
-
-    const BOPTools_CArray1OfESInterference& aESs = anIP->ESInterferences();
-    aNbI = aESs.Extent();
-
-    for(i = 1; i <= aNbI; ++i) {
-
-      const BOPTools_ESInterference& aES = aESs(i);
-      Standard_Integer ind1, ind2;
-      aES.Indices(ind1, ind2);
-
-      if(ind1 == anIndex || ind2 == anIndex) {
-
-       Standard_Integer aNSI = aES.NewShape();
-       if(aDS.GetShapeType(aNSI) == TopAbs_VERTEX) {
-         myGenerated.Append(aDS.Shape(aNSI));
-         bCheckVert = Standard_True;
-       }
-     
-      }
-         
-    }    
-
-    if(bCheckVert) {
-      aMap.Clear();
-      anExp.Init(myShape, TopAbs_VERTEX);
-  
-      for(; anExp.More(); anExp.Next()) {
-       aMap.Add(anExp.Current());
-      }
-
-      it.Initialize(myGenerated);
-      for (; it.More(); it.Next()) {
-
-       if(!aMap.Contains(it.Value())) {
-         myGenerated.Remove(it);
-       }
-      }
-    }
-    return myGenerated;
-  }
-  return myGenerated;
-}
-//modified by NIZNHY-PKV Tue Feb  1 10:26:18 2005f
-//=======================================================================
-//function : FindImage
-//purpose  : 
-//=======================================================================
-void NMTAlgo_Splitter::FindImage(const TopoDS_Shape& aS,
-                                TopTools_ListOfShape& aLIms)
-{
-  TopAbs_ShapeEnum aType;
-  //
-  aType=aS.ShapeType();
-  //
-  if (aType==TopAbs_SOLID) {
-    Standard_Boolean bHasImage, bHasInternalFaces;
-    Standard_Integer i, aNbSd;
-    TopTools_IndexedMapOfShape aMSo, aMSd;
-    TopoDS_Iterator aIt;
-    TopTools_IndexedDataMapOfShapeListOfShape aMFS;
-    TopTools_ListIteratorOfListOfShape aItLS;
-    //
-    bHasInternalFaces=myMapSIFC.IsBound(aS);
-    if (bHasInternalFaces){
-      TopExp::MapShapesAndAncestors(myShape, TopAbs_FACE, TopAbs_SOLID, aMFS);
-      //
-      const TopoDS_Shape& aIFC=myMapSIFC.Find(aS);
-      //
-      aIt.Initialize(aIFC);
-      for (; aIt.More(); aIt.Next()) {
-       const TopoDS_Shape& aIF=aIt.Value();
-       if (aMFS.Contains(aIF)) {
-         const TopTools_ListOfShape& aLS=aMFS.FindFromKey(aIF);
-         //
-         aItLS.Initialize(aLS);
-         for (; aItLS.More(); aItLS.Next()) {
-           const TopoDS_Shape& aSx=aItLS.Value();
-           aMSd.Add(aSx);
-         }
-       }
-      }
-      //
-      aNbSd=aMSd.Extent();
-      if (aNbSd) {
-       for (i=1; i<=aNbSd; ++i) {
-         const TopoDS_Shape& aSx=aMSd(i);
-         if (!aSx.IsSame(aS)) {
-           aLIms.Append(aSx);
-         }
-       }
-       return;
-      }
-    }
-    //
-    bHasImage=myImageShape.HasImage(aS);
-    if (!bHasImage) {
-      return;
-    }
-    //
-    TopoDS_Shape aSd;
-    //
-    TopExp::MapShapes(myShape, TopAbs_SOLID, aMSo);
-    //
-    const TopoDS_Shape& aFC=myImageShape.Image(aS).First();
-    bHasImage=NMTAlgo_Tools::FindImageSolid(aFC, aMSo, aSd);
-    if (bHasImage) {
-      if (!aSd.IsSame(aS)) {
-       aLIms.Append(aSd);
-      }
-    }
-  } //if (aType==TopAbs_SOLID) {
-  //==
-  else if (aType==TopAbs_FACE) {
-    TopTools_MapOfShape aMap;
-    TopTools_ListIteratorOfListOfShape aIt;
-    TopExp_Explorer anExp;
-    //
-    if (myModifiedFaces.IsBound(aS)) {
-      anExp.Init(myShape, aType);
-      for(; anExp.More(); anExp.Next()) {
-       aMap.Add(anExp.Current());
-      }
-      //
-      const TopTools_ListOfShape& aLS=myModifiedFaces.Find(aS);
-      aIt.Initialize(aLS);
-      for (; aIt.More(); aIt.Next()) {
-       const TopoDS_Shape& aFx=aIt.Value();
-       if (!aFx.IsSame(aS)) {
-         if (aMap.Contains(aFx)) {
-           aLIms.Append(aFx);
-         }
-       }
-      }
-    }
-  } // else if (aType==TopAbs_FACE)
-  //==
-  else if (aType==TopAbs_EDGE) {
-    TopTools_MapOfShape aMap;
-    TopTools_ListIteratorOfListOfShape aIt;
-    TopExp_Explorer anExp;
-    //
-    if (myImagesEdges.HasImage(aS)) {
-      anExp.Init(myShape, aType);
-      for(; anExp.More(); anExp.Next()) {
-       aMap.Add(anExp.Current());
-      }
-      //
-      const TopTools_ListOfShape& aLE=myImagesEdges.Image(aS);
-      aIt.Initialize(aLE);
-      for (; aIt.More(); aIt.Next()) {
-       const TopoDS_Shape& aEx=aIt.Value();
-       if (!aEx.IsSame(aS)) {
-         if(aMap.Contains(aEx)) {
-           aLIms.Append(aEx);
-         }
-       }
-      }
-    }
-  }// else if (aType==TopAbs_EDGE)
-  //==
-  else if (aType==TopAbs_VERTEX) {
-    Standard_Integer aNbS, anIndex, i, aSDVInd;
-    TopExp_Explorer anExp;
-    //
-    const NMTTools_DSFiller& aDSF = Filler();
-    const NMTTools_PaveFiller& aPF = aDSF.PaveFiller();
-    const NMTDS_ShapesDataStructure& aDS = aDSF.DS();
-    //
-    aNbS = aDS.NumberOfSourceShapes();
-    anIndex = 0;
-      //
-    for(i=1; i<=aNbS; ++i) {
-      const TopoDS_Shape& aSx = aDS.Shape(i);
-      if(aS.IsSame(aSx)) {
-       anIndex = i;
-       break;
-      }
-    }
-    //
-    if(!anIndex) {
-      return;
-    }
-    //
-    aSDVInd=aPF.FindSDVertex(anIndex);
-    if(!aSDVInd) {
-      return;
-    }
-    //
-    const TopoDS_Shape& aSDV=aDS.Shape(aSDVInd);
-    //
-    anExp.Init(myShape, aType);
-    for(; anExp.More(); anExp.Next()) {
-      const TopoDS_Shape& aVx=anExp.Current();
-      if(aSDV.IsSame(aVx)) {
-       aLIms.Append(aSDV);
-       break;
-      }
-    }
-  }// else if (aType==TopAbs_VERTEX) 
-}
-//modified by NIZNHY-PKV Tue Feb  1 10:26:22 2005t 
-
diff --git a/src/NMTAlgo/NMTAlgo_Tools.cdl b/src/NMTAlgo/NMTAlgo_Tools.cdl
deleted file mode 100644 (file)
index 9b067fd..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
--- File:       NMTAlgo_Tools.cdl
--- Created:    Fri Jan 30 16:29:14 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class Tools from NMTAlgo 
-
-       ---Purpose: 
-
-uses  
-    Orientation from TopAbs,
-
-    Shape from TopoDS, 
-    Edge  from TopoDS, 
-    Face  from TopoDS,
-    Shell from TopoDS, 
-        
-    ListOfShape from TopTools, 
-    IndexedMapOfShape from TopTools
---raises
-
-is
-    OrientFacesOnShell (myclass; 
-           aShell: Shell from TopoDS;  
-           aShellNew: out Shell from TopoDS); 
-        
-    OrientFacesOnShell (myclass; 
-           aF  : Face from TopoDS;  
-           aSh : out Shell from TopoDS);   
-           
-    Orientation(myclass;  
-           aE:  Edge from TopoDS; 
-           aF:  Face from TopoDS) 
-       returns Orientation from TopAbs; 
-        
-    Sense  (myclass;  
-           aF1:  Face from TopoDS; 
-           aF2:  Face from TopoDS) 
-       returns Integer from Standard; 
-        
-    IsInside (myclass;  
-           aS1:  Shape from TopoDS; 
-           aS2:  Shape from TopoDS) 
-       returns Boolean from Standard;  
-        
-    MakeShells(myclass; 
-       aFC:Shape from TopoDS;
-       aLS:out ListOfShape from TopTools);  
-       
-    MakeSolids(myclass; 
-       aLS:out ListOfShape from TopTools);     
-
-    MakeSolids(myclass; 
-       aFC:Shape from TopoDS;
-       aLS:out ListOfShape from TopTools);  
-        
-    BreakWebs (myclass;  
-           aS1:  Shape from TopoDS; 
-           aS2:out Shape from TopoDS);  
-        
-    FindImageSolid (myclass;  
-           aFC  :  Shape from TopoDS;  
-           aMSo :  IndexedMapOfShape from TopTools;
-           aSo  :  out Shape from TopoDS) 
-       returns Boolean from Standard;      
-           
---fields
-
-end Tools;
diff --git a/src/NMTAlgo/NMTAlgo_Tools.cxx b/src/NMTAlgo/NMTAlgo_Tools.cxx
deleted file mode 100644 (file)
index 409b748..0000000
+++ /dev/null
@@ -1,499 +0,0 @@
-// File:       NMTAlgo_Tools.cxx
-// Created:    Fri Jan 30 16:30:45 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTAlgo_Tools.ixx>
-
-#include <gp_Dir.hxx>
-
-#include <TopAbs_Orientation.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_MapOfOrientedShape.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <BOPTools_Tools3D.hxx>
-
-#include <NMTAlgo_Loop3d.hxx>
-#include <TopoDS_Iterator.hxx>
-
-
-//=======================================================================
-// function: Sense
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTAlgo_Tools::Sense (const TopoDS_Face& aF1,
-                                        const TopoDS_Face& aF2)
-{
-  Standard_Integer iSense=0;
-  gp_Dir aDNF1, aDNF2;
-  TopoDS_Edge aE1, aE2;
-  TopExp_Explorer anExp;
-  //
-  anExp.Init(aF1, TopAbs_EDGE);
-  for (; anExp.More(); anExp.Next()) {
-    aE1=TopoDS::Edge(anExp.Current());
-    if (!BRep_Tool::Degenerated(aE1)) {
-      if (!BRep_Tool::IsClosed(aE1, aF1)) {
-       break;
-      }
-    }
-  }
-  //
-  anExp.Init(aF2, TopAbs_EDGE);
-  for (; anExp.More(); anExp.Next()) {
-    aE2=TopoDS::Edge(anExp.Current());
-    if (!BRep_Tool::Degenerated(aE2)) {
-      if (!BRep_Tool::IsClosed(aE2, aF2)) {
-       if (aE2.IsSame(aE1)) {
-         iSense=1;
-         break;
-       }
-      }
-    }
-  }
-  //
-  if (!iSense) {
-    return iSense;
-  }
-  //
-  BOPTools_Tools3D::GetNormalToFaceOnEdge(aE1, aF1, aDNF1);
-  BOPTools_Tools3D::GetNormalToFaceOnEdge(aE2, aF2, aDNF2);
-  //
-  iSense=BOPTools_Tools3D::SenseFlag(aDNF1, aDNF2);
-  //
-  return iSense;
-}
-
-//=======================================================================
-// function: OrientFacesOnShell
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Tools::OrientFacesOnShell (const TopoDS_Face& aF1, 
-                                         TopoDS_Shell& aSh)
-{
-  Standard_Integer aNbFSh, iSenseFlag;
-  gp_Dir aDNF1, aDNF2;
-  TopExp_Explorer anExp;
-  TopoDS_Edge aE1, aESh;
-  TopTools_IndexedDataMapOfShapeListOfShape aMEFSh;
-  //
-  anExp.Init(aF1, TopAbs_EDGE);
-  for (; anExp.More(); anExp.Next()) {
-    aE1=TopoDS::Edge(anExp.Current());
-    if (!BRep_Tool::Degenerated(aE1)) {
-      break;
-    }
-  }
-  //
-  BOPTools_Tools3D::GetNormalToFaceOnEdge(aE1, aF1, aDNF1);
-  //
-  TopExp::MapShapesAndAncestors(aSh, TopAbs_EDGE, TopAbs_FACE, aMEFSh);
-  if (aMEFSh.Contains(aE1)) {
-    const TopTools_ListOfShape& aLFSh=aMEFSh.FindFromKey(aE1);
-    aNbFSh=aLFSh.Extent();
-    if (aNbFSh==1) {
-      const TopoDS_Face& aFSh=TopoDS::Face(aLFSh.First());
-      //
-      BOPTools_Tools3D::OrientEdgeOnFace(aE1, aFSh, aESh); 
-      BOPTools_Tools3D::GetNormalToFaceOnEdge(aESh, aFSh, aDNF2);
-      //
-      iSenseFlag=BOPTools_Tools3D::SenseFlag(aDNF1, aDNF2);
-      if (iSenseFlag==1) {
-       return;
-      }
-      //
-      anExp.Init(aSh, TopAbs_FACE);
-      for (; anExp.More(); anExp.Next()) {
-       const TopoDS_Shape& aFx=anExp.Current();
-       TopoDS_Shape *pFx=(TopoDS_Shape *)&aFx;
-       pFx->Reverse();
-      }
-    }
-  }
-}
-//=======================================================================
-// function: OrientFacesOnShell
-// purpose: 
-//=======================================================================
-  void NMTAlgo_Tools::OrientFacesOnShell (const TopoDS_Shell& aShell, 
-                                         TopoDS_Shell& aShellNew)
-{
-  Standard_Boolean bIsProcessed1, bIsProcessed2;
-  Standard_Integer i, aNbE, aNbF, j;
-  TopAbs_Orientation anOrE1, anOrE2;
-
-  TopTools_IndexedDataMapOfShapeListOfShape aEFMap;
-  TopTools_IndexedMapOfShape aProcessedFaces;
-  BRep_Builder aBB;
-
-  aBB.MakeShell(aShellNew);
-  
-  TopExp::MapShapesAndAncestors(aShell, TopAbs_EDGE, TopAbs_FACE, aEFMap);
-  
-  aNbE=aEFMap.Extent();
-  // 
-  // One seam edge  in aEFMap contains  2 equivalent faces.
-  for (i=1; i<=aNbE; i++) {
-    TopTools_ListOfShape& aLF=aEFMap.ChangeFromIndex(i);
-
-    if (aLF.Extent()>1) {
-      TopTools_ListOfShape aLFTmp;
-      TopTools_IndexedMapOfShape aFM;
-
-      TopTools_ListIteratorOfListOfShape anIt(aLF);
-      for (; anIt.More(); anIt.Next()) {
-       const TopoDS_Shape& aF=anIt.Value();
-       if (!aFM.Contains(aF)) {
-         aFM.Add(aF);
-         aLFTmp.Append(aF);
-       }
-      }
-      aLF.Clear();
-      aLF=aLFTmp;
-    }
-  }
-  //
-  // Do
-  for (i=1; i<=aNbE; i++) {
-    const TopoDS_Edge& aE=TopoDS::Edge(aEFMap.FindKey(i));
-
-    if (BRep_Tool::Degenerated(aE)) {
-      continue;
-    }
-
-    const TopTools_ListOfShape& aLF=aEFMap.FindFromIndex(i);
-    aNbF=aLF.Extent();
-    
-    if (aNbF==2) {
-      TopoDS_Face& aF1=TopoDS::Face(aLF.First());
-      TopoDS_Face& aF2=TopoDS::Face(aLF.Last() );
-      
-      
-      bIsProcessed1=aProcessedFaces.Contains(aF1);
-      bIsProcessed2=aProcessedFaces.Contains(aF2);
-     
-      if (bIsProcessed1 && bIsProcessed2) {
-       continue;
-      }
-
-      if (!bIsProcessed1 && !bIsProcessed2) {
-       aProcessedFaces.Add(aF1);
-       aBB.Add(aShellNew, aF1);
-
-       bIsProcessed1=!bIsProcessed1;
-      }
-
-      //
-      TopoDS_Face aF1x, aF2x;
-      
-      aF1x=aF1;
-      if (bIsProcessed1) {
-       j=aProcessedFaces.FindIndex(aF1);
-       aF1x=TopoDS::Face(aProcessedFaces.FindKey(j));
-      }
-      
-      aF2x=aF2;
-      if (bIsProcessed2) {
-       j=aProcessedFaces.FindIndex(aF2);
-       aF2x=TopoDS::Face(aProcessedFaces.FindKey(j));
-      }
-      //
-
-      anOrE1=NMTAlgo_Tools::Orientation(aE, aF1x); 
-      anOrE2=NMTAlgo_Tools::Orientation(aE, aF2x);
-
-      if (bIsProcessed1 && !bIsProcessed2) {
-       
-       if (anOrE1==anOrE2) {
-         if (!BRep_Tool::IsClosed(aE, aF1) &&
-             !BRep_Tool::IsClosed(aE, aF2)) {
-           aF2.Reverse();
-         }
-       }
-       aProcessedFaces.Add(aF2);
-       aBB.Add(aShellNew, aF2);
-      }
-      
-      else if (!bIsProcessed1 && bIsProcessed2) {
-       if (anOrE1==anOrE2) {
-         if (!BRep_Tool::IsClosed(aE, aF1) &&
-             !BRep_Tool::IsClosed(aE, aF2)) {
-           aF1.Reverse();
-         }
-       }
-       aProcessedFaces.Add(aF1);
-       aBB.Add(aShellNew, aF1);
-      }
-    }
-  }
-  //
-  //
-  for (i=1; i<=aNbE; i++) {
-    const TopoDS_Edge& aE=TopoDS::Edge(aEFMap.FindKey(i));
-
-    if (BRep_Tool::Degenerated(aE)) {
-      continue;
-    }
-
-    const TopTools_ListOfShape& aLF=aEFMap.FindFromIndex(i);
-    aNbF=aLF.Extent();
-    if (aNbF!=2) {
-      TopTools_ListIteratorOfListOfShape anIt(aLF);
-      for(; anIt.More(); anIt.Next()) {
-       const TopoDS_Face& aF=TopoDS::Face(anIt.Value());
-       if (!aProcessedFaces.Contains(aF)) {
-         aProcessedFaces.Add(aF);
-         aBB.Add(aShellNew, aF);
-       }
-      }
-    }
-  }
-}
-//=======================================================================
-//function : Orientation
-//purpose  :
-//=======================================================================
-  TopAbs_Orientation NMTAlgo_Tools::Orientation(const TopoDS_Edge& anE,
-                                               const TopoDS_Face& aF)
-{
-  TopAbs_Orientation anOr=TopAbs_INTERNAL;
-
-  TopExp_Explorer anExp;
-  anExp.Init(aF, TopAbs_EDGE);
-  for (; anExp.More(); anExp.Next()) {
-    const TopoDS_Edge& anEF1=TopoDS::Edge(anExp.Current());
-    if (anEF1.IsSame(anE)) {
-      anOr=anEF1.Orientation();
-      break;
-    }
-  }
-  return anOr;
-}
-//=======================================================================
-//function : IsInside
-//purpose  : Return True if the first vertex of S1 inside S2.
-//           If S1.IsNull(), check infinite point against S2.
-//=======================================================================
-  Standard_Boolean NMTAlgo_Tools::IsInside (const TopoDS_Shape& theS1,
-                                           const TopoDS_Shape& theS2)
-{
-  BRepClass3d_SolidClassifier aClassifier( theS2 );
-  //
-  TopExp_Explorer expl(theS1, TopAbs_VERTEX);
-  //
-  if (!expl.More()){
-    aClassifier.PerformInfinitePoint( ::RealSmall());
-  }
-  else  {
-    const TopoDS_Vertex & aVertex = TopoDS::Vertex( expl.Current() );
-    aClassifier.Perform (BRep_Tool::Pnt( aVertex ),
-                         BRep_Tool::Tolerance( aVertex ));
-  }
-  //
-  return ( aClassifier.State() == TopAbs_IN );
-}
-//=======================================================================
-//function : MakeShells
-//purpose  : 
-//=======================================================================
-  void NMTAlgo_Tools::MakeShells (const TopoDS_Shape& aFC,
-                                 TopTools_ListOfShape& aLNS)
-{
-  NMTAlgo_Loop3d aShellMaker;
-  TopTools_MapOfOrientedShape aMTmp;
-  //
-  aShellMaker.AddConstFaces(aFC);
-  aLNS=aShellMaker.MakeShells(aMTmp);
-}
-//=======================================================================
-//function : MakeSolids
-//purpose  : 
-//=======================================================================
-  void NMTAlgo_Tools::MakeSolids(const TopoDS_Shape& aFC,
-                                TopTools_ListOfShape& theShellList)
-{
-  NMTAlgo_Tools::MakeShells(aFC, theShellList);
-  NMTAlgo_Tools::MakeSolids(theShellList);
-}
-//=======================================================================
-//function : MakeSolids
-//purpose  : 
-//=======================================================================
-  void NMTAlgo_Tools::MakeSolids(TopTools_ListOfShape& theShellList)
-{
-  TopTools_ListOfShape aHoleShells, aNewSolids; 
-  TopoDS_Shape anInfinitePointShape;
-  TopTools_DataMapOfShapeShape aInOutMap;
-  TopTools_ListIteratorOfListOfShape aShellIt, aSolisIt;
-  BRep_Builder aBB;
-  //
-  aShellIt.Initialize(theShellList);
-  for ( ; aShellIt.More(); aShellIt.Next()) {
-    const TopoDS_Shape & aShell = aShellIt.Value();
-    // check if a shell is a hole of theSolid
-    if (NMTAlgo_Tools::IsInside(anInfinitePointShape, aShell)){
-      aHoleShells.Append(aShell);
-    }
-    else {
-      // make a solid from a shell
-      TopoDS_Solid Solid;
-      aBB.MakeSolid( Solid );
-      aBB.Add (Solid, aShell);
-      aNewSolids.Append (Solid);
-    }
-  }
-  //
-  // find outer a shell most close to each hole shell
-  aShellIt.Initialize(aHoleShells);
-  for (; aShellIt.More(); aShellIt.Next()){
-    const TopoDS_Shape & aHole = aShellIt.Value();
-    //
-    aSolisIt.Initialize(aNewSolids);
-    for ( ; aSolisIt.More(); aSolisIt.Next())    {
-      const TopoDS_Shape & aSolid = aSolisIt.Value();
-      //
-      if (! NMTAlgo_Tools::IsInside(aHole, aSolid)){
-        continue;
-      }
-      //
-      if ( aInOutMap.IsBound (aHole)){
-        const TopoDS_Shape & aSolid2 = aInOutMap( aHole );
-        if ( IsInside( aSolid, aSolid2 )) {
-          aInOutMap.UnBind( aHole );
-          aInOutMap.Bind ( aHole, aSolid );
-        }
-      }
-      else{
-        aInOutMap.Bind (aHole, aSolid);
-      }
-    }
-    //
-    // add aHole to a solid
-    if (aInOutMap.IsBound( aHole )){
-      TopoDS_Shape & aSolid=aInOutMap(aHole);
-      aBB.Add (aSolid, aHole);
-    }
-  }
-  theShellList.Clear();
-  theShellList.Append( aNewSolids );
-}
-//=======================================================================
-//function : BreakWebs
-//purpose  :
-//=======================================================================
-  void NMTAlgo_Tools::BreakWebs(const TopoDS_Shape& aCS,
-                               TopoDS_Shape& aCSR)
-{
-  Standard_Integer i, aNbF, aNbS;
-  TopTools_IndexedDataMapOfShapeListOfShape aMFS;
-  TopTools_MapOfShape aMF;
-  
-  TopoDS_Compound aFC, aCR;
-  BRep_Builder aBB;
-  //
-  aBB.MakeCompound(aFC);
-  TopExp::MapShapesAndAncestors(aCS, TopAbs_FACE, TopAbs_SOLID, aMFS);
-  //
-  aNbF=aMFS.Extent();
-  for (i=1; i<=aNbF; ++i) {
-    const TopoDS_Shape& aF=aMFS.FindKey(i);
-    const TopTools_ListOfShape& aLS=aMFS(i);
-    aNbS=aLS.Extent();
-    if (aNbS==2) {
-      aMF.Add(aF);
-    }
-    else {
-      aBB.Add(aFC, aF);
-    }
-  }
-  //
-  if (!aMF.Extent()) {
-    aCSR=aCS;
-    return;
-  }
-  //
-  TopTools_ListOfShape aLNS;
-  TopTools_ListIteratorOfListOfShape aItS;
-  //
-  NMTAlgo_Tools::MakeShells(aFC, aLNS);
-  NMTAlgo_Tools::MakeSolids(aLNS);
-  //
-  aBB.MakeCompound(aCR);
-  aItS.Initialize(aLNS);
-  for ( ;aItS.More(); aItS.Next()) {
-    const TopoDS_Shape& aS=aItS.Value();
-    aBB.Add(aCR, aS);
-  }
-  aCSR=aCR;
-}
-//=======================================================================
-//function : FindImageSolid
-//purpose  :
-//=======================================================================
-  Standard_Boolean NMTAlgo_Tools::FindImageSolid(const TopoDS_Shape& aFC,
-                                                const TopTools_IndexedMapOfShape& aMSo,
-                                                TopoDS_Shape& aSox)
-{
-  Standard_Boolean bFound=Standard_False;
-  Standard_Integer i, j, aNbSo, aNbF, aNbFSo;
-  TopoDS_Iterator aIt;
-  TopTools_IndexedMapOfShape aMFC, aMFSo;
-  //
-  aIt.Initialize(aFC);
-  for (; aIt.More(); aIt.Next()) {
-    const TopoDS_Shape& aF=aIt.Value();
-    aMFC.Add(aF);
-  }
-  //
-  aNbF=aMFC.Extent();
-  aNbSo=aMSo.Extent();
-  for (i=1; i<=aNbSo; ++i) {
-    const TopoDS_Shape& aSo=aMSo(i);
-    //
-    bFound=Standard_True;
-    aMFSo.Clear();
-    TopExp::MapShapes(aSo, TopAbs_FACE, aMFSo);
-    //
-    aNbFSo=aMFSo.Extent();
-    if (aNbFSo!=aNbF) {
-      bFound=Standard_False;
-      continue;
-    }
-    //
-    for (j=1; j<=aNbFSo; ++j) {
-      const TopoDS_Shape& aFSo=aMFSo(j);
-      if (!aMFC.Contains(aFSo)) {
-       bFound=Standard_False;
-       break;
-      }
-    }
-    if (bFound) {
-      aSox=aSo;
-      return bFound;
-    }
-  }
-  return bFound;
-}
diff --git a/src/NMTAlgo/NMTAlgo_Tools.hxx b/src/NMTAlgo/NMTAlgo_Tools.hxx
deleted file mode 100644 (file)
index 78e211e..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTAlgo_Tools_HeaderFile
-#define _NMTAlgo_Tools_HeaderFile
-
-#ifndef _TopAbs_Orientation_HeaderFile
-#include <TopAbs_Orientation.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class TopoDS_Shell;
-class TopoDS_Face;
-class TopoDS_Edge;
-class TopoDS_Shape;
-class TopTools_ListOfShape;
-class TopTools_IndexedMapOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTAlgo_Tools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  void OrientFacesOnShell(const TopoDS_Shell& aShell,TopoDS_Shell& aShellNew) ;
-Standard_EXPORT static  void OrientFacesOnShell(const TopoDS_Face& aF,TopoDS_Shell& aSh) ;
-Standard_EXPORT static  TopAbs_Orientation Orientation(const TopoDS_Edge& aE,const TopoDS_Face& aF) ;
-Standard_EXPORT static  Standard_Integer Sense(const TopoDS_Face& aF1,const TopoDS_Face& aF2) ;
-Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
-Standard_EXPORT static  void MakeShells(const TopoDS_Shape& aFC,TopTools_ListOfShape& aLS) ;
-Standard_EXPORT static  void MakeSolids(TopTools_ListOfShape& aLS) ;
-Standard_EXPORT static  void MakeSolids(const TopoDS_Shape& aFC,TopTools_ListOfShape& aLS) ;
-Standard_EXPORT static  void BreakWebs(const TopoDS_Shape& aS1,TopoDS_Shape& aS2) ;
-Standard_EXPORT static  Standard_Boolean FindImageSolid(const TopoDS_Shape& aFC,const TopTools_IndexedMapOfShape& aMSo,TopoDS_Shape& aSo) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTAlgo/NMTAlgo_Tools.ixx b/src/NMTAlgo/NMTAlgo_Tools.ixx
deleted file mode 100644 (file)
index 63e0dba..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTAlgo_Tools.jxx>
-
-
-
diff --git a/src/NMTAlgo/NMTAlgo_Tools.jxx b/src/NMTAlgo/NMTAlgo_Tools.jxx
deleted file mode 100644 (file)
index ce06e1a..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef _TopoDS_Shell_HeaderFile
-#include <TopoDS_Shell.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
-#include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _NMTAlgo_Tools_HeaderFile
-#include <NMTAlgo_Tools.hxx>
-#endif
diff --git a/src/NMTDS/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx b/src/NMTDS/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
deleted file mode 100644 (file)
index b971229..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#define _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger);
-
-class Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& operator=(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& operator=(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* operator->() 
-     {
-      return (NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger *)ControlAccess();
-     }
-
-    NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* operator->() const 
-     {
-      return (NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)();
-   Standard_EXPORT static const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTDS/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx b/src/NMTDS/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
deleted file mode 100644 (file)
index 7ea8762..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#define _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors);
-
-class Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)(const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)(const NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& operator=(const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& operator=(const NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* operator->() 
-     {
-      return (NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors *)ControlAccess();
-     }
-
-    NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* operator->() const 
-     {
-      return (NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)();
-   Standard_EXPORT static const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTDS/Makefile.in b/src/NMTDS/Makefile.in
deleted file mode 100644 (file)
index 7bba782..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#  GEOM NMTAlgo : partition algorithm
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libNMTDS.la
-
-LIB_SRC = \
-       NMTDS_CArray1OfIndexRange_0.cxx \
-       NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx \
-       NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx \
-       NMTDS_IndexRange.cxx \
-       NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx \
-       NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx \
-       NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx \
-       NMTDS_ShapesDataStructure.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = \
-       NMTDS_ShapesDataStructure.hxx \
-       NMTDS_PShapesDataStructure.hxx \
-       NMTDS_CArray1OfIndexRange.hxx \
-       NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx \
-       Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
-
-# idl files
-EXPORT_IDLS=
-
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS += $(CAS_LDPATH) -lTKBool -lTKBO -L${KERNEL_ROOT_DIR}/lib/salome
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/NMTDS/NMTDS.cdl b/src/NMTDS/NMTDS.cdl
deleted file mode 100644 (file)
index 19f4c09..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- File:       NMTDS.cdl
--- Created:    Fri Nov 28 10:13:19 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-package NMTDS 
-
-       ---Purpose: 
-
-uses   
-    
-    TCollection, 
-    TColStd,
-    Bnd,
-    TopoDS, 
-    TopAbs, 
-    TopTools, 
-    BooleanOperations,
-    BOPTColStd
-is  
-    class ShapesDataStructure;
-    class IndexRange; 
-
-    pointer PShapesDataStructure to ShapesDataStructure from NMTDS;
-
-    class CArray1OfIndexRange instantiates 
-       CArray1 from BOPTColStd(IndexRange from NMTDS); 
-     
-    class ListOfIndexedDataMapOfShapeAncestorsSuccessors instantiates 
-       List from TCollection(IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations); 
-        
-    class IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger instantiates 
-       IndexedDataMap from TCollection(Integer        from Standard, 
-                                       IndexedDataMapOfShapeInteger from BooleanOperations, 
-                                       MapIntegerHasher from TColStd); 
-                                        
-end NMTDS;
diff --git a/src/NMTDS/NMTDS_CArray1OfIndexRange.hxx b/src/NMTDS/NMTDS_CArray1OfIndexRange.hxx
deleted file mode 100644 (file)
index ad5d742..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_CArray1OfIndexRange_HeaderFile
-#define _NMTDS_CArray1OfIndexRange_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_OutOfRange;
-class Standard_OutOfMemory;
-class NMTDS_IndexRange;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_CArray1OfIndexRange  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_CArray1OfIndexRange(const Standard_Integer Length = 0,const Standard_Integer BlockLength = 5);
-Standard_EXPORT   void Resize(const Standard_Integer theNewLength) ;
-Standard_EXPORT   void Destroy() ;
-~NMTDS_CArray1OfIndexRange()
-{
-  Destroy();
-}
-
-Standard_EXPORT   Standard_Integer Length() const;
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   Standard_Integer FactLength() const;
-Standard_EXPORT   Standard_Integer Append(const NMTDS_IndexRange& Value) ;
-Standard_EXPORT   void Remove(const Standard_Integer Index) ;
-Standard_EXPORT  const NMTDS_IndexRange& Value(const Standard_Integer Index) const;
- const NMTDS_IndexRange& operator ()(const Standard_Integer Index) const
-{
-  return Value(Index);
-}
-
-Standard_EXPORT   NMTDS_IndexRange& ChangeValue(const Standard_Integer Index) ;
-  NMTDS_IndexRange& operator ()(const Standard_Integer Index) 
-{
-  return ChangeValue(Index);
-}
-
-Standard_EXPORT   void SetBlockLength(const Standard_Integer aBL) ;
-Standard_EXPORT   Standard_Integer BlockLength() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTDS_CArray1OfIndexRange(const NMTDS_CArray1OfIndexRange& AnArray);
-Standard_EXPORT   NMTDS_CArray1OfIndexRange& Assign(const NMTDS_CArray1OfIndexRange& Other) ;
-  NMTDS_CArray1OfIndexRange& operator =(const NMTDS_CArray1OfIndexRange& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   Standard_Boolean IsInvalidIndex(const Standard_Integer Index) const;
-
-
- // Fields PRIVATE
- //
-Standard_Address myStart;
-Standard_Integer myLength;
-Standard_Integer myFactLength;
-Standard_Integer myBlockLength;
-Standard_Boolean myIsAllocated;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_CArray1OfIndexRange_0.cxx b/src/NMTDS/NMTDS_CArray1OfIndexRange_0.cxx
deleted file mode 100644 (file)
index c6bf6ef..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_CArray1OfIndexRange.hxx>
-
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_OutOfMemory_HeaderFile
-#include <Standard_OutOfMemory.hxx>
-#endif
-#ifndef _NMTDS_IndexRange_HeaderFile
-#include <NMTDS_IndexRange.hxx>
-#endif
-
-#define Array1Item NMTDS_IndexRange
-#define Array1Item_hxx <NMTDS_IndexRange.hxx>
-#define BOPTColStd_CArray1 NMTDS_CArray1OfIndexRange
-#define BOPTColStd_CArray1_hxx <NMTDS_CArray1OfIndexRange.hxx>
-#include <BOPTColStd_CArray1.gxx>
-
diff --git a/src/NMTDS/NMTDS_IndexRange.cdl b/src/NMTDS/NMTDS_IndexRange.cdl
deleted file mode 100644 (file)
index 6ffa3b8..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- File:       NMTDS_IndexRange.cdl
--- Created:    Fri Nov 28 10:31:05 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class IndexRange from NMTDS 
-
-       ---Purpose: 
-
---uses
---raises
-
-is 
-    Create 
-       returns IndexRange from NMTDS; 
-        
-    SetFirst(me:out; 
-           aFirst:Integer from Standard);       
-        
-    SetLast(me:out; 
-           aLast:Integer from Standard);        
-     
-    First(me) 
-       returns Integer from Standard; 
-        
-    Last(me) 
-       returns Integer from Standard;                               
-
-    IsInRange(me; 
-           aIndex:Integer from Standard) 
-       returns Boolean from Standard; 
-
-fields 
-    myFirst  :  Integer from Standard is protected;  
-    myLast   :  Integer from Standard is protected;  
-
-end IndexRange;
diff --git a/src/NMTDS/NMTDS_IndexRange.cxx b/src/NMTDS/NMTDS_IndexRange.cxx
deleted file mode 100644 (file)
index fc406ac..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// File:       NMTDS_IndexRange.cxx
-// Created:    Fri Nov 28 10:34:59 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTDS_IndexRange.ixx>
-//=======================================================================
-//function :NMTDS_IndexRange::NMTDS_IndexRange
-//purpose  : 
-//=======================================================================
-  NMTDS_IndexRange::NMTDS_IndexRange()
-:
-  myFirst(0),
-  myLast(0)
-{
-}
-//=======================================================================
-//function :SetFirst
-//purpose  : 
-//=======================================================================
-  void NMTDS_IndexRange::SetFirst(const Standard_Integer aFirst)
-{
-  myFirst=aFirst;
-}
-//=======================================================================
-//function :First
-//purpose  : 
-//=======================================================================
-  Standard_Integer NMTDS_IndexRange::First()const
-{
-  return myFirst;
-}
-//=======================================================================
-//function :SetLast
-//purpose  : 
-//=======================================================================
-  void NMTDS_IndexRange::SetLast(const Standard_Integer aLast)
-{
-  myLast=aLast;
-}
-//=======================================================================
-//function :Last
-//purpose  : 
-//=======================================================================
-  Standard_Integer NMTDS_IndexRange::Last()const
-{
-  return myLast;
-}
-//=======================================================================
-//function :IsInRange
-//purpose  : 
-//=======================================================================
-  Standard_Boolean NMTDS_IndexRange::IsInRange(const Standard_Integer aIndex)const
-{
-  return (Standard_Boolean)(aIndex>=myFirst && aIndex<=myLast);
-}
diff --git a/src/NMTDS/NMTDS_IndexRange.hxx b/src/NMTDS/NMTDS_IndexRange.hxx
deleted file mode 100644 (file)
index 7698423..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_IndexRange_HeaderFile
-#define _NMTDS_IndexRange_HeaderFile
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_IndexRange  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_IndexRange();
-Standard_EXPORT   void SetFirst(const Standard_Integer aFirst) ;
-Standard_EXPORT   void SetLast(const Standard_Integer aLast) ;
-Standard_EXPORT   Standard_Integer First() const;
-Standard_EXPORT   Standard_Integer Last() const;
-Standard_EXPORT   Standard_Boolean IsInRange(const Standard_Integer aIndex) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-Standard_Integer myFirst;
-Standard_Integer myLast;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_IndexRange.ixx b/src/NMTDS/NMTDS_IndexRange.ixx
deleted file mode 100644 (file)
index 0f82182..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_IndexRange.jxx>
-
-
-
diff --git a/src/NMTDS/NMTDS_IndexRange.jxx b/src/NMTDS/NMTDS_IndexRange.jxx
deleted file mode 100644 (file)
index 6c84073..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _NMTDS_IndexRange_HeaderFile
-#include <NMTDS_IndexRange.hxx>
-#endif
diff --git a/src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx b/src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
deleted file mode 100644 (file)
index 18d90fc..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#define _NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#include <Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _BooleanOperations_IndexedDataMapOfShapeInteger_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class BooleanOperations_IndexedDataMapOfShapeInteger;
-class TColStd_MapIntegerHasher;
-class NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger;
-
-
-class NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger(const Standard_Integer& K1,const Standard_Integer K2,const BooleanOperations_IndexedDataMapOfShapeInteger& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  Standard_Integer& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  BooleanOperations_IndexedDataMapOfShapeInteger& Value() const;
-Standard_EXPORT ~NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Integer myKey1;
-Standard_Integer myKey2;
-BooleanOperations_IndexedDataMapOfShapeInteger myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem BooleanOperations_IndexedDataMapOfShapeInteger
-#define TheItem_hxx <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_Type_()
-#define TCollection_IndexedDataMap NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMap_hxx <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx b/src/NMTDS/NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx
deleted file mode 100644 (file)
index a69179f..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _BooleanOperations_IndexedDataMapOfShapeInteger_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#include <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#endif
-NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger::~NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger",
-                                                        sizeof(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger))) {
-       _anOtherObject = Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)((Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) ; 
-}
-Standard_Boolean NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger::~Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger() {}
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem BooleanOperations_IndexedDataMapOfShapeInteger
-#define TheItem_hxx <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_Type_()
-#define TCollection_IndexedDataMap NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMap_hxx <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx b/src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
deleted file mode 100644 (file)
index 94e0364..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#define _NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#include <Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class BooleanOperations_IndexedDataMapOfShapeInteger;
-class TColStd_MapIntegerHasher;
-class NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger& Assign(const NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger& Other) ;
-  NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger& operator =(const NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const Standard_Integer& K,const BooleanOperations_IndexedDataMapOfShapeInteger& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const Standard_Integer& K,const BooleanOperations_IndexedDataMapOfShapeInteger& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const Standard_Integer& K) const;
-Standard_EXPORT  const Standard_Integer& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const BooleanOperations_IndexedDataMapOfShapeInteger& FindFromIndex(const Standard_Integer I) const;
- const BooleanOperations_IndexedDataMapOfShapeInteger& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   BooleanOperations_IndexedDataMapOfShapeInteger& ChangeFromIndex(const Standard_Integer I) ;
-  BooleanOperations_IndexedDataMapOfShapeInteger& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const Standard_Integer& K) const;
-Standard_EXPORT  const BooleanOperations_IndexedDataMapOfShapeInteger& FindFromKey(const Standard_Integer& K) const;
-Standard_EXPORT   BooleanOperations_IndexedDataMapOfShapeInteger& ChangeFromKey(const Standard_Integer& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger(const NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx b/src/NMTDS/NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_0.cxx
deleted file mode 100644 (file)
index f3a1280..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _BooleanOperations_IndexedDataMapOfShapeInteger_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#include <NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#endif
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem BooleanOperations_IndexedDataMapOfShapeInteger
-#define TheItem_hxx <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_Type_()
-#define TCollection_IndexedDataMap NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger
-#define TCollection_IndexedDataMap_hxx <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx b/src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
deleted file mode 100644 (file)
index 9994af0..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#define _NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoMoreObject;
-class Standard_NoSuchObject;
-class NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors;
-class BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors;
-class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors();
-Standard_EXPORT NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& L);
-Standard_EXPORT   void Initialize(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& L) ;
-  Standard_Boolean More() const;
-Standard_EXPORT   void Next() ;
-Standard_EXPORT   BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& Value() const;
-
-
-friend class NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address current;
-Standard_Address previous;
-
-
-};
-
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#include <TCollection_ListIterator.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx b/src/NMTDS/NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
deleted file mode 100644 (file)
index bca4ea7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#ifndef _Standard_NoMoreObject_HeaderFile
-#include <Standard_NoMoreObject.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <TCollection_ListIterator.gxx>
-
diff --git a/src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx b/src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
deleted file mode 100644 (file)
index 5de01f3..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#define _NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-
-#ifndef _BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors;
-class NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors;
-class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-
-
-class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,const TCollection_MapNodePtr& n);
-  BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& Value() const;
-Standard_EXPORT ~NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors myValue;
-
-
-};
-
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#include <TCollection_ListNode.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx b/src/NMTDS/NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
deleted file mode 100644 (file)
index f7566ef..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors::~NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors",
-                                                        sizeof(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors))) {
-       _anOtherObject = Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)((Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) ; 
-}
-Standard_Boolean NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors::~Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors() {}
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <TCollection_ListNode.gxx>
-
diff --git a/src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx b/src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
deleted file mode 100644 (file)
index 600531c..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#define _NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoSuchObject;
-class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-class BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors;
-class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors();
-Standard_EXPORT   void Assign(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
-  void operator=(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) 
-{
-  Assign(Other);
-}
-
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   void Clear() ;
-~NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors()
-{
-  Clear();
-}
-
-  Standard_Boolean IsEmpty() const;
-Standard_EXPORT   void Prepend(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I) ;
-Standard_EXPORT   void Prepend(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& theIt) ;
-Standard_EXPORT   void Prepend(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
-Standard_EXPORT   void Append(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I) ;
-Standard_EXPORT   void Append(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& theIt) ;
-Standard_EXPORT   void Append(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other) ;
-Standard_EXPORT   BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& First() const;
-Standard_EXPORT   BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& Last() const;
-Standard_EXPORT   void RemoveFirst() ;
-Standard_EXPORT   void Remove(NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
-Standard_EXPORT   void InsertBefore(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
-Standard_EXPORT   void InsertBefore(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
-Standard_EXPORT   void InsertAfter(const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& I,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
-Standard_EXPORT   void InsertAfter(NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other,NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors& It) ;
-
-
-friend class NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors(const NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors& Other);
-
-
- // Fields PRIVATE
- //
-Standard_Address myFirst;
-Standard_Address myLast;
-
-
-};
-
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#include <TCollection_List.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx b/src/NMTDS/NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors_0.cxx
deleted file mode 100644 (file)
index f4bdab6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-#ifndef _NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#include <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#endif
-
-#define Item BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors
-#define Item_hxx <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListNode NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_hxx <NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define TCollection_ListIterator NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListIterator_hxx <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#define Handle_TCollection_ListNode Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_ListNode_Type_() NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_Type_()
-#define TCollection_List NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors
-#define TCollection_List_hxx <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <TCollection_List.gxx>
-
diff --git a/src/NMTDS/NMTDS_PShapesDataStructure.hxx b/src/NMTDS/NMTDS_PShapesDataStructure.hxx
deleted file mode 100644 (file)
index 11b37cb..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// File generated by CPPExt (Pointer)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTDS_PShapesDataStructure_HeaderFile
-#define _NMTDS_PShapesDataStructure_HeaderFile
-
-class NMTDS_ShapesDataStructure;
-
-typedef NMTDS_ShapesDataStructure* NMTDS_PShapesDataStructure;
-
-#endif
diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.cdl b/src/NMTDS/NMTDS_ShapesDataStructure.cdl
deleted file mode 100644 (file)
index 2339197..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
--- File:       NMTDS_ShapesDataStructure.cdl
--- Created:    Mon Dec  1 10:17:05 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class ShapesDataStructure from NMTDS  
-    inherits ShapesDataStructure from BooleanOperations  
-
-       ---Purpose: 
-
-uses
-    Shape from TopoDS, 
-    CArray1OfIndexRange from NMTDS, 
-    IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger from NMTDS
---raises
-
-is 
-    Create 
-       returns ShapesDataStructure from NMTDS; 
-        
-    SetCompositeShape(me:out; 
-           aS:Shape from TopoDS);   
-        
-    Init(me:out);
-     
-    Ranges(me) 
-       returns CArray1OfIndexRange from NMTDS; 
-    ---C++: return const & 
-     
-    CompositeShape(me) 
-        returns Shape from TopoDS; 
-    ---C++: return const &  
-     
-    ShapeRangeIndex(me; 
-       aId:Integer from Standard) 
-       returns  Integer from Standard;
-     
-    Rank (me; 
-         anIndex:Integer from Standard) 
-         returns Integer from Standard    
-       is redefined;                   
-        
-    ShapeIndex  (me;  
-           aS:Shape from TopoDS; 
-           iRank:Integer from Standard) 
-       returns Integer from Standard  
-       is redefined;                    
-fields
-    myCompositeShape:  Shape from TopoDS is protected; 
-    myRanges        :  CArray1OfIndexRange from NMTDS is protected; 
-    myShapeIndexMap :  IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger from NMTDS is protected;  
-     
-end ShapesDataStructure;
-    
diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.cxx b/src/NMTDS/NMTDS_ShapesDataStructure.cxx
deleted file mode 100644 (file)
index 6388a16..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-// File:       NMTDS_ShapesDataStructure.cxx
-// Created:    Mon Dec  1 10:21:04 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTDS_ShapesDataStructure.ixx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS_Shape.hxx>
-#include <BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx>
-#include <BooleanOperations_ShapeAndInterferences.hxx>
-#include <NMTDS_IndexRange.hxx>
-
-//===========================================================================
-//function : NMTDS_ShapesDataStructure::NMTDS_ShapesDataStructure
-//purpose  : 
-//===========================================================================
-  NMTDS_ShapesDataStructure::NMTDS_ShapesDataStructure()
-:
-  BooleanOperations_ShapesDataStructure()
-{}
-//===========================================================================
-//function : SetCompositeShape
-//purpose  : 
-//===========================================================================
-  void NMTDS_ShapesDataStructure::SetCompositeShape(const TopoDS_Shape& aS)
-{
-  myCompositeShape=aS;
-}
-//===========================================================================
-//function : CompositeShape
-//purpose  : 
-//===========================================================================
-  const TopoDS_Shape& NMTDS_ShapesDataStructure::CompositeShape()const
-{
-  return myCompositeShape;
-}
-//===========================================================================
-//function : Ranges
-//purpose  : 
-//===========================================================================
-  const NMTDS_CArray1OfIndexRange& NMTDS_ShapesDataStructure::Ranges()const
-{
-  return myRanges;
-}
-//===========================================================================
-//function : Init
-//purpose  : 
-//===========================================================================
-  void NMTDS_ShapesDataStructure::Init()
-{
-  Standard_Integer i, j, aNbSx, aNbS, aShift, aNbRanges;
-  Standard_Integer iFirst, iLast;
-  NMTDS_ListOfIndexedDataMapOfShapeAncestorsSuccessors aLx;
-  NMTDS_ListIteratorOfListOfIndexedDataMapOfShapeAncestorsSuccessors aLit;
-  TopoDS_Iterator anIt;
-  //
-  aNbS=0;
-  anIt.Initialize(myCompositeShape);
-  for (i=0; anIt.More(); anIt.Next(), ++i) {
-    const TopoDS_Shape& aSx=anIt.Value();
-    BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors aIndDatMapShape;
-    FillIndexedMapOfShapesAncestorsAndSuccessors(aSx, aIndDatMapShape);
-    aNbSx=aIndDatMapShape.Extent();
-    aNbS+=aNbSx;
-    aLx.Append(aIndDatMapShape);
-  }
-  //
-  // Fill myRanges
-  myRanges.Resize(i);
-  aLit.Initialize(aLx);
-  for (i=1; aLit.More(); aLit.Next(), ++i) {
-    const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& aM=aLit.Value();
-    aNbSx=aM.Extent();
-    if (i==1) {
-      iFirst=1;
-      iLast=aNbSx;
-      myRanges(i).SetFirst(iFirst);
-      myRanges(i).SetLast(iLast);
-      continue;
-    }
-    iFirst=myRanges(i-1).Last()+1;
-    iLast=iFirst+aNbSx-1;
-    myRanges(i).SetFirst(iFirst);
-    myRanges(i).SetLast(iLast);
-  }
-  //
-  myNumberOfShapesOfTheObject=aNbS;
-  myNumberOfShapesOfTheTool=aNbS;
-  myLength=3*aNbS;
-  //
-  // Allocate the whole Table
-  myListOfShapeAndInterferences = (BooleanOperations_PShapeAndInterferences)
-    Standard::Allocate(myLength*sizeof(BooleanOperations_ShapeAndInterferences));
-  //
-  // Fill the table
-  for (i=0; i<2; ++i) {
-    aShift=0;
-    if (i) {
-      aShift=myNumberOfShapesOfTheObject;
-    }
-    aLit.Initialize(aLx);
-    for (; aLit.More(); aLit.Next()) {
-      const BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors& aM=aLit.Value();
-      aNbSx=aM.Extent();
-      for (j=1; j<=aNbSx; ++j) {
-       const TopoDS_Shape& aSx=aM.FindKey(j);
-       const BooleanOperations_AncestorsSeqAndSuccessorsSeq& aASx=aM.FindFromIndex(j);
-       InsertShapeAndAncestorsSuccessors(aSx, aASx, aShift);
-      }
-      aShift+=aNbSx;
-    }
-  }
-  //
-  // myShapeIndexMap
-  myShapeIndexMap.Clear();
-  //
-  aNbRanges=myRanges.Extent();
-  for (i=1; i<=aNbRanges; ++i){
-    BooleanOperations_IndexedDataMapOfShapeInteger aSIM;
-    //
-    const NMTDS_IndexRange& aR=myRanges(i);
-    iFirst=aR.First();
-    iLast =aR.Last();
-    for (j=iFirst; j<=iLast; ++j) { 
-      const TopoDS_Shape& aS=GetShape(j);
-      aSIM.Add(aS, j);
-    }
-    myShapeIndexMap.Add(i, aSIM);
-  }
-  //
-  // myRefEdges
-  iLast=myNumberOfShapesOfTheObject+myNumberOfShapesOfTheTool;
-  myRefEdges.Resize(iLast);
-
-  for (i=1; i<=iLast; ++i) {
-    const TopoDS_Shape& aS=Shape(i);
-    myRefEdges(i)=0;
-    if (aS.ShapeType()==TopAbs_EDGE) {
-      myNbEdges++;
-      myRefEdges(i)=myNbEdges;
-    }
-  }
-}
-//===========================================================================
-//function : ShapeRangeIndex
-//purpose  : 
-//===========================================================================
-  Standard_Integer NMTDS_ShapesDataStructure::ShapeRangeIndex(const Standard_Integer aId)const
-{
-  Standard_Boolean bFound;
-  Standard_Integer i, aNbR, aIdx, aNbS, aZero=0;
-  //
-  aNbS=myNumberOfShapesOfTheObject+myNumberOfShapesOfTheTool;
-  
-  aIdx=aId;
-  if (aIdx > aNbS || aIdx < 1){
-    return aZero;
-  }
-  //  
-  if (aIdx > myNumberOfShapesOfTheObject) {
-    aIdx-=myNumberOfShapesOfTheObject;
-  }
-  //
-  aNbR=myRanges.Extent();
-  for (i=1; i<=aNbR; ++i) {
-    const NMTDS_IndexRange& aRange=myRanges(i);
-    bFound=aRange.IsInRange(aIdx);
-    if (bFound) {
-     return i;
-    }
-  }
-  return aZero;
-}
-//===========================================================================
-//function : Rank
-//purpose  : 
-//===========================================================================
-  Standard_Integer NMTDS_ShapesDataStructure::Rank(const Standard_Integer aId)const
-{
-  Standard_Boolean bFound;
-  Standard_Integer i, aNbR, aNbS, aZero=0;
-  //
-  aNbS=myNumberOfShapesOfTheObject;
-  
-  if (aId > aNbS || aId < 1){
-    return aZero;
-  }
-  //  
-  aNbR=myRanges.Extent();
-  for (i=1; i<=aNbR; ++i) {
-    const NMTDS_IndexRange& aRange=myRanges(i);
-    bFound=aRange.IsInRange(aId);
-    if (bFound) {
-     return i;
-    }
-  }
-  return aZero;
-}
-//===========================================================================
-//function : ShapeIndex
-//purpose  : 
-//===========================================================================
-  Standard_Integer NMTDS_ShapesDataStructure::ShapeIndex(const TopoDS_Shape& aS,
-                                                        const Standard_Integer aRank)const
-{
-  Standard_Boolean bFound;
-  Standard_Integer aIndex=0;
-  //
-  bFound=myShapeIndexMap.Contains(aRank);
-  if (!bFound) {
-    return aIndex;
-  }
-  //
-  const BooleanOperations_IndexedDataMapOfShapeInteger& aSIM=myShapeIndexMap.FindFromKey(aRank);
-  //
-  bFound=aSIM.Contains(aS);
-  if (!bFound) {
-    return aIndex;
-  }
-  //
-  aIndex=aSIM.FindFromKey(aS);
-  return aIndex;
-}
diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.hxx b/src/NMTDS/NMTDS_ShapesDataStructure.hxx
deleted file mode 100644 (file)
index 167ccc3..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTDS_ShapesDataStructure_HeaderFile
-#define _NMTDS_ShapesDataStructure_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTDS_CArray1OfIndexRange_HeaderFile
-#include <NMTDS_CArray1OfIndexRange.hxx>
-#endif
-#ifndef _NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#include <NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _BooleanOperations_ShapesDataStructure_HeaderFile
-#include <BooleanOperations_ShapesDataStructure.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-class TopoDS_Shape;
-class NMTDS_CArray1OfIndexRange;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTDS_ShapesDataStructure  : public BooleanOperations_ShapesDataStructure {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTDS_ShapesDataStructure();
-Standard_EXPORT   void SetCompositeShape(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void Init() ;
-Standard_EXPORT  const NMTDS_CArray1OfIndexRange& Ranges() const;
-Standard_EXPORT  const TopoDS_Shape& CompositeShape() const;
-Standard_EXPORT   Standard_Integer ShapeRangeIndex(const Standard_Integer aId) const;
-Standard_EXPORT virtual  Standard_Integer Rank(const Standard_Integer anIndex) const;
-Standard_EXPORT virtual  Standard_Integer ShapeIndex(const TopoDS_Shape& aS,const Standard_Integer iRank) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myCompositeShape;
-NMTDS_CArray1OfIndexRange myRanges;
-NMTDS_IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger myShapeIndexMap;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.ixx b/src/NMTDS/NMTDS_ShapesDataStructure.ixx
deleted file mode 100644 (file)
index 755a416..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTDS_ShapesDataStructure.jxx>
-
-
-
diff --git a/src/NMTDS/NMTDS_ShapesDataStructure.jxx b/src/NMTDS/NMTDS_ShapesDataStructure.jxx
deleted file mode 100644 (file)
index fc29ab6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTDS_CArray1OfIndexRange_HeaderFile
-#include <NMTDS_CArray1OfIndexRange.hxx>
-#endif
-#ifndef _NMTDS_ShapesDataStructure_HeaderFile
-#include <NMTDS_ShapesDataStructure.hxx>
-#endif
diff --git a/src/NMTTools/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx b/src/NMTTools/Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger.hxx
deleted file mode 100644 (file)
index b971229..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-#define _Handle_NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger);
-
-class Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& operator=(const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)& operator=(const NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* operator->() 
-     {
-      return (NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger *)ControlAccess();
-     }
-
-    NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger* operator->() const 
-     {
-      return (NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger)();
-   Standard_EXPORT static const Handle(NMTDS_IndexedDataMapNodeOfIndexedDataMapOfIntegerIndexedDataMapOfShapeInteger) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx b/src/NMTTools/Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors.hxx
deleted file mode 100644 (file)
index 7ea8762..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-#define _Handle_NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors);
-
-class Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)(const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)(const NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& operator=(const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)& operator=(const NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* operator->() 
-     {
-      return (NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors *)ControlAccess();
-     }
-
-    NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors* operator->() const 
-     {
-      return (NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors)();
-   Standard_EXPORT static const Handle(NMTDS_ListNodeOfListOfIndexedDataMapOfShapeAncestorsSuccessors) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx b/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx
deleted file mode 100644 (file)
index 17949ac..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#define _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger);
-
-class Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)& operator=(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)& operator=(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger* operator->() 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger *)ControlAccess();
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger* operator->() const 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)();
-   Standard_EXPORT static const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx b/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx
deleted file mode 100644 (file)
index cbcf4a0..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#define _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape);
-
-class Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)& operator=(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)& operator=(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape* operator->() 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape *)ControlAccess();
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape* operator->() const 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)();
-   Standard_EXPORT static const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx b/src/NMTTools/Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
deleted file mode 100644 (file)
index 8dfb499..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-#define _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock);
-
-class Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)& operator=(const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)& operator=(const NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock* operator->() 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock *)ControlAccess();
-     }
-
-    NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock* operator->() const 
-     {
-      return (NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)();
-   Standard_EXPORT static const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx b/src/NMTTools/Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx
deleted file mode 100644 (file)
index a773110..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#define _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTTools_ListNodeOfListOfCommonBlock;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTTools_ListNodeOfListOfCommonBlock);
-
-class Handle(NMTTools_ListNodeOfListOfCommonBlock) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTTools_ListNodeOfListOfCommonBlock)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTTools_ListNodeOfListOfCommonBlock)(const Handle(NMTTools_ListNodeOfListOfCommonBlock)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCommonBlock)(const NMTTools_ListNodeOfListOfCommonBlock* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCommonBlock)& operator=(const Handle(NMTTools_ListNodeOfListOfCommonBlock)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCommonBlock)& operator=(const NMTTools_ListNodeOfListOfCommonBlock* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTTools_ListNodeOfListOfCommonBlock* operator->() 
-     {
-      return (NMTTools_ListNodeOfListOfCommonBlock *)ControlAccess();
-     }
-
-    NMTTools_ListNodeOfListOfCommonBlock* operator->() const 
-     {
-      return (NMTTools_ListNodeOfListOfCommonBlock *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTTools_ListNodeOfListOfCommonBlock)();
-   Standard_EXPORT static const Handle(NMTTools_ListNodeOfListOfCommonBlock) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx b/src/NMTTools/Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx
deleted file mode 100644 (file)
index 66f8850..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _Handle_NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#define _Handle_NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_TCollection_MapNode_HeaderFile
-#include <Handle_TCollection_MapNode.hxx>
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(TCollection_MapNode);
-class NMTTools_ListNodeOfListOfCoupleOfShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape);
-
-class Handle(NMTTools_ListNodeOfListOfCoupleOfShape) : public Handle(TCollection_MapNode) {
-  public:
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-    Handle(NMTTools_ListNodeOfListOfCoupleOfShape)():Handle(TCollection_MapNode)() {} 
-    Handle(NMTTools_ListNodeOfListOfCoupleOfShape)(const Handle(NMTTools_ListNodeOfListOfCoupleOfShape)& aHandle) : Handle(TCollection_MapNode)(aHandle) 
-     {
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCoupleOfShape)(const NMTTools_ListNodeOfListOfCoupleOfShape* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) 
-     {
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCoupleOfShape)& operator=(const Handle(NMTTools_ListNodeOfListOfCoupleOfShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(NMTTools_ListNodeOfListOfCoupleOfShape)& operator=(const NMTTools_ListNodeOfListOfCoupleOfShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    NMTTools_ListNodeOfListOfCoupleOfShape* operator->() 
-     {
-      return (NMTTools_ListNodeOfListOfCoupleOfShape *)ControlAccess();
-     }
-
-    NMTTools_ListNodeOfListOfCoupleOfShape* operator->() const 
-     {
-      return (NMTTools_ListNodeOfListOfCoupleOfShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(NMTTools_ListNodeOfListOfCoupleOfShape)();
-   Standard_EXPORT static const Handle(NMTTools_ListNodeOfListOfCoupleOfShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/NMTTools/Makefile.in b/src/NMTTools/Makefile.in
deleted file mode 100644 (file)
index 9d5cbe8..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#  GEOM NMTTools : partition algorithm
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Julia DOROVSKIKH
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libNMTTools.la
-LIB_SRC = \
-       NMTTools_CommonBlock.cxx \
-       NMTTools_CommonBlockAPI.cxx \
-       NMTTools_CommonBlockPool_0.cxx \
-       NMTTools_CoupleOfShape.cxx \
-       NMTTools_DEProcessor.cxx \
-       NMTTools_DSFiller.cxx \
-       NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_0.cxx \
-       NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_0.cxx \
-       NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx \
-       NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx \
-       NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx \
-       NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx \
-       NMTTools_IteratorOfCoupleOfShape.cxx \
-       NMTTools_ListIteratorOfListOfCommonBlock_0.cxx \
-       NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx \
-       NMTTools_ListNodeOfListOfCommonBlock_0.cxx \
-       NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx \
-       NMTTools_ListOfCommonBlock_0.cxx \
-       NMTTools_ListOfCoupleOfShape_0.cxx \
-       NMTTools_PaveFiller.cxx \
-       NMTTools_PaveFiller_0.cxx \
-       NMTTools_PaveFiller_1.cxx \
-       NMTTools_PaveFiller_2.cxx \
-       NMTTools_PaveFiller_3.cxx \
-       NMTTools_PaveFiller_4.cxx \
-       NMTTools_PaveFiller_5.cxx \
-       NMTTools_PaveFiller_6.cxx \
-       NMTTools_PaveFiller_7.cxx \
-       NMTTools_PaveFiller_8.cxx \
-       NMTTools_PaveFiller_9.cxx \
-       NMTTools_PCurveMaker.cxx \
-       NMTTools_Tools.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = \
-       NMTTools_PDSFiller.hxx \
-       NMTTools_DSFiller.hxx \
-       NMTTools_PPaveFiller.hxx \
-       NMTTools_PaveFiller.hxx \
-       NMTTools_ListOfCoupleOfShape.hxx \
-       NMTTools_Tools.hxx \
-       NMTTools_CoupleOfShape.hxx \
-       NMTTools_ListIteratorOfListOfCoupleOfShape.hxx \
-       NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
-       NMTTools_IteratorOfCoupleOfShape.hxx \
-       NMTTools_CommonBlockPool.hxx \
-       Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx \
-       Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx
-
-# idl files
-EXPORT_IDLS=
-
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS += $(CAS_LDPATH) -lNMTDS -lTKBool -lTKBO -L${KERNEL_ROOT_DIR}/lib/salome
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/NMTTools/NMTTools.cdl b/src/NMTTools/NMTTools.cdl
deleted file mode 100644 (file)
index 78ba75d..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- File:       NMTTools.cdl
--- Created:    Thu Dec  4 16:55:49 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-package NMTTools 
-
-       ---Purpose: 
-
-uses  
-    
-    TCollection,
-    TColStd,
-    gp, 
-    TopAbs, 
-    TopoDS, 
-    TopTools, 
-    Geom2d,
-    BooleanOperations,
-    BOPTColStd,
-    IntTools,
-    BOPTools, 
-    
-    NMTDS
-
-is 
-    class IteratorOfCoupleOfShape; 
-    class DSFiller; 
-    class PaveFiller; 
-    class Tools; 
-    class CommonBlock; 
-    class CommonBlockAPI; 
-    class PCurveMaker; 
-    class DEProcessor; 
-    class CoupleOfShape; 
-    
-    pointer PPaveFiller to PaveFiller from NMTTools;
-    pointer PDSFiller   to DSFiller   from NMTTools;
-
-    class ListOfCommonBlock  instantiates  
-       List from TCollection(CommonBlock from NMTTools); 
-        
-    class CommonBlockPool    instantiates  
-       CArray1 from BOPTColStd (ListOfCommonBlock from NMTTools); 
-
-    class IndexedDataMapOfIndexedMapOfInteger instantiates  
-       IndexedDataMap from TCollection  (Integer from Standard, 
-                                         IndexedMapOfInteger from TColStd,
-                                         MapIntegerHasher from TColStd); 
-        
-    class IndexedDataMapOfShapePaveBlock instantiates  
-       IndexedDataMap from TCollection  (Shape from TopoDS, 
-                                         PaveBlock from BOPTools,
-                                         ShapeMapHasher from TopTools); 
-    
-    class IndexedDataMapOfShapeIndexedMapOfShape instantiates  
-       IndexedDataMap from TCollection  (Shape from TopoDS, 
-                                         IndexedMapOfShape from TopTools,
-                                         ShapeMapHasher from TopTools);   
-                                          
-    class ListOfCoupleOfShape  instantiates  
-       List from TCollection(CoupleOfShape from NMTTools);      
-
-end NMTTools;
diff --git a/src/NMTTools/NMTTools_CommonBlock.cdl b/src/NMTTools/NMTTools_CommonBlock.cdl
deleted file mode 100644 (file)
index 5971991..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
--- File:       NMTTools_CommonBlock.cdl
--- Created:    Tue Dec  9 12:11:48 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class CommonBlock from NMTTools 
-
-       ---Purpose: 
-
-uses 
-    ListOfInteger   from TColStd, 
-    PaveBlock       from BOPTools,
-    ListOfPaveBlock from BOPTools
-
---raises
-
-is 
-    Create 
-       returns CommonBlock from NMTTools; 
-        
-    AddPaveBlock(me:out; 
-           aPB : PaveBlock from BOPTools); 
-            
-    AddFace(me:out; 
-           aF : Integer from Standard); 
-        
-    AddFaces(me:out; 
-           aLF:  ListOfInteger from TColStd);    
-            
-    PaveBlocks(me) 
-       returns ListOfPaveBlock from BOPTools; 
-    ---C++:  return const &  
-    
-    Faces (me) 
-       returns ListOfInteger from TColStd; 
-    ---C++:  return const &  
-     
-    PaveBlock1  (me) 
-       returns  PaveBlock from BOPTools; 
-    ---C++:  return const &    
-        
-    PaveBlock1  (me:out; 
-           anIx: Integer from Standard) 
-       returns  PaveBlock from BOPTools; 
-    ---C++:  return & 
-     
-    PaveBlockOnEdge  (me:out;  
-           anIndex: Integer from Standard) 
-       returns  PaveBlock from BOPTools; 
-    ---C++:  return  &   
-     
-    IsPaveBlockOnFace  (me;  
-           anIndex: Integer from Standard) 
-       returns  Boolean from Standard; 
-     
-    IsPaveBlockOnEdge  (me;  
-           anIndex: Integer from Standard) 
-       returns  Boolean from Standard;   
-       
-    IsEqual  (me; 
-           aCB:CommonBlock from NMTTools) 
-       returns Boolean from Standard; 
-        
-    Contains(me; 
-           aPB:PaveBlock from BOPTools) 
-       returns  Boolean from Standard; 
-        
---    SetEdge (me:out;   
---         anEdge:Integer from Standard);  
-
---    Edge (me) 
---     returns Integer from Standard;  
-
-fields 
-    myPaveBlocks: ListOfPaveBlock from BOPTools is protected;  
-    myFaces     : ListOfInteger   from TColStd  is protected;  
-           
-end CommonBlock;
-
-
-
-
-
-
-
-
diff --git a/src/NMTTools/NMTTools_CommonBlock.cxx b/src/NMTTools/NMTTools_CommonBlock.cxx
deleted file mode 100644 (file)
index 80ab561..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-// File:       NMTTools_CommonBlock.cxx
-// Created:    Tue Dec  9 12:23:29 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_CommonBlock.ixx>
-
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-//=======================================================================
-// function:  NMTTools_CommonBlock::NMTTools_CommonBlock()
-// purpose: 
-//=======================================================================
-  NMTTools_CommonBlock::NMTTools_CommonBlock()
-{
-}
-//=======================================================================
-// function:  AddPaveBlock
-// purpose: 
-//=======================================================================
-  void NMTTools_CommonBlock::AddPaveBlock(const BOPTools_PaveBlock& aPB)
-{
-  myPaveBlocks.Append(aPB);
-}
-//=======================================================================
-// function:  AddFace
-// purpose: 
-//=======================================================================
-  void NMTTools_CommonBlock::AddFace(const Standard_Integer aF)
-{
-  myFaces.Append(aF);
-}
-//=======================================================================
-// function:  AddFaces
-// purpose: 
-//=======================================================================
-  void NMTTools_CommonBlock::AddFaces(const TColStd_ListOfInteger& aLF)
-{
-  TColStd_ListIteratorOfListOfInteger aIt(aLF);
-  //
-  for (; aIt.More(); aIt.Next()) {
-    myFaces.Append(aIt.Value());
-  }
-}
-//=======================================================================
-// function:  PaveBlocks
-// purpose: 
-//=======================================================================
-  const BOPTools_ListOfPaveBlock& NMTTools_CommonBlock::PaveBlocks()const
-{
-  return myPaveBlocks;
-}
-//=======================================================================
-// function:  Faces
-// purpose: 
-//=======================================================================
-  const TColStd_ListOfInteger& NMTTools_CommonBlock::Faces()const
-{
-  return myFaces;
-}
-//=======================================================================
-// function:  PaveBlock1
-// purpose: 
-//=======================================================================
-  const BOPTools_PaveBlock& NMTTools_CommonBlock::PaveBlock1()const
-{
-  return myPaveBlocks.First();
-}
-//=======================================================================
-// function:  PaveBlock1
-// purpose: 
-//=======================================================================
-   BOPTools_PaveBlock& NMTTools_CommonBlock::PaveBlock1(const Standard_Integer aIx)
-{
-  return PaveBlockOnEdge(aIx);
-}
-//=======================================================================
-// function:  PaveBlockOnEdge
-// purpose: 
-//=======================================================================
-   BOPTools_PaveBlock& NMTTools_CommonBlock::PaveBlockOnEdge(const Standard_Integer aIx)
-{
-  static BOPTools_PaveBlock aPBs;
-  Standard_Integer aIOr;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt(myPaveBlocks);
-  //
-  for (; anIt.More(); anIt.Next()) {
-    BOPTools_PaveBlock& aPB=anIt.Value();
-    aIOr=aPB.OriginalEdge();
-    if (aIOr==aIx){
-      return aPB;
-    }
-  }
-  return aPBs;
-}
-//=======================================================================
-// function:  IsPaveBlockOnFace
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_CommonBlock::IsPaveBlockOnFace(const Standard_Integer aIx)const
-{
-  Standard_Boolean bFound=Standard_False;
-  Standard_Integer nF;
-  TColStd_ListIteratorOfListOfInteger anIt(myFaces);
-  //
-  for (; anIt.More(); anIt.Next()) {
-    nF=anIt.Value();
-    if (nF==aIx){
-      return !bFound;
-    }
-  }
-  return bFound;
-}
-//=======================================================================
-// function:  IsPaveBlockOnEdge
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_CommonBlock::IsPaveBlockOnEdge(const Standard_Integer aIx)const
-{
-  Standard_Boolean bFound=Standard_False;
-  Standard_Integer aIOr;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt(myPaveBlocks);
-  //
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    aIOr=aPB.OriginalEdge();
-    if (aIOr==aIx){
-      return !bFound;
-    }
-  }
-  return bFound;
-}
-//=======================================================================
-// function:  IsEqual
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_CommonBlock::IsEqual(const NMTTools_CommonBlock& aOther)const
-{
-  Standard_Boolean bFound=Standard_True;
-  Standard_Integer aNb1, aNb2;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  aNb1=myPaveBlocks.Extent();
-  aNb2=aOther.myPaveBlocks.Extent();
-  //
-  if (!aNb1 && !aNb2) {
-    return bFound;
-  }
-  if (!aNb1) {
-    return !bFound;
-  }
-  if (!aNb2) {
-    return !bFound;
-  }
-  //
-  const BOPTools_PaveBlock& aPB=PaveBlock1();
-  //
-  anIt.Initialize(aOther.myPaveBlocks);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPBOther=anIt.Value();
-    if (aPB.IsEqual(aPBOther)){
-      return bFound;
-    }
-  }
-  return !bFound;
-}
-//=======================================================================
-// function:  Contains
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_CommonBlock::Contains(const BOPTools_PaveBlock& aPBx)const
-{
-  Standard_Boolean bFound=Standard_False;
-  Standard_Integer aNb1;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  aNb1=myPaveBlocks.Extent();
-  //
-  if (!aNb1) {
-    return bFound;
-  }
-  //
-  anIt.Initialize(myPaveBlocks);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    if (aPB.IsEqual(aPBx)) {
-      return !bFound;
-    }
-  }
-  return bFound;
-}
-/*
-//=======================================================================
-// function:  SetEdge
-// purpose: 
-//=======================================================================
-  void NMTTools_CommonBlock::SetEdge(const Standard_Integer anEdge)
-{
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  anIt.Initialize(myPaveBlocks);
-  for (; anIt.More(); anIt.Next()) {
-    BOPTools_PaveBlock& aPB=anIt.Value();
-    aPB.SetEdge(anEdge);
-  }
-}
-//=======================================================================
-// function:  Edge
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_CommonBlock::Edge()const
-{
-  Standard_Integer aNb;
-  //
-  aNb=myPaveBlocks.Extent();
-  //
-  if (!aNb) {
-    return aNb;
-  }
-  //
-  const BOPTools_PaveBlock& aPB=PaveBlock1();
-  aNb=aPB.Edge();
-  return aNb;
-}
-*/
diff --git a/src/NMTTools/NMTTools_CommonBlock.hxx b/src/NMTTools/NMTTools_CommonBlock.hxx
deleted file mode 100644 (file)
index 4964ae8..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#define _NMTTools_CommonBlock_HeaderFile
-
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _TColStd_ListOfInteger_HeaderFile
-#include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class BOPTools_PaveBlock;
-class TColStd_ListOfInteger;
-class BOPTools_ListOfPaveBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_CommonBlock  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_CommonBlock();
-Standard_EXPORT   void AddPaveBlock(const BOPTools_PaveBlock& aPB) ;
-Standard_EXPORT   void AddFace(const Standard_Integer aF) ;
-Standard_EXPORT   void AddFaces(const TColStd_ListOfInteger& aLF) ;
-Standard_EXPORT  const BOPTools_ListOfPaveBlock& PaveBlocks() const;
-Standard_EXPORT  const TColStd_ListOfInteger& Faces() const;
-Standard_EXPORT  const BOPTools_PaveBlock& PaveBlock1() const;
-Standard_EXPORT   BOPTools_PaveBlock& PaveBlock1(const Standard_Integer anIx) ;
-Standard_EXPORT   BOPTools_PaveBlock& PaveBlockOnEdge(const Standard_Integer anIndex) ;
-Standard_EXPORT   Standard_Boolean IsPaveBlockOnFace(const Standard_Integer anIndex) const;
-Standard_EXPORT   Standard_Boolean IsPaveBlockOnEdge(const Standard_Integer anIndex) const;
-Standard_EXPORT   Standard_Boolean IsEqual(const NMTTools_CommonBlock& aCB) const;
-Standard_EXPORT   Standard_Boolean Contains(const BOPTools_PaveBlock& aPB) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-BOPTools_ListOfPaveBlock myPaveBlocks;
-TColStd_ListOfInteger myFaces;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_CommonBlock.ixx b/src/NMTTools/NMTTools_CommonBlock.ixx
deleted file mode 100644 (file)
index 334b58a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_CommonBlock.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_CommonBlock.jxx b/src/NMTTools/NMTTools_CommonBlock.jxx
deleted file mode 100644 (file)
index dc32fca..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _TColStd_ListOfInteger_HeaderFile
-#include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_CommonBlockAPI.cdl b/src/NMTTools/NMTTools_CommonBlockAPI.cdl
deleted file mode 100644 (file)
index 63d08dc..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
--- File:       NMTTools_CommonBlockAPI.cdl
--- Created:    Mon Dec 15 11:35:46 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class CommonBlockAPI from NMTTools 
-
-       ---Purpose: 
-
-uses
-    ListOfCommonBlock from NMTTools, 
-    ListOfPaveBlock   from BOPTools, 
-    PaveBlock         from BOPTools, 
-    CommonBlock       from NMTTools 
-    
---raises
-
-is 
-    Create  (aList:ListOfCommonBlock from NMTTools)   
-       returns CommonBlockAPI from NMTTools; 
-        
-    List(me) 
-       returns  ListOfCommonBlock from NMTTools; 
-    ---C++:  return const & 
-       ---Purpose:   
-       --- Selector 
-       ---
-    CommonPaveBlocks(me;   
-           anE:Integer from  Standard) 
-       returns  ListOfPaveBlock from BOPTools;
-    ---C++:  return const &  
-       ---Purpose:   
-       --- Returns all PaveBlock-s (from the list) that are 
-       --- common for the given edge with  DS-index <anE>     
-       ---
-    IsCommonBlock   (me;  
-           aPB: PaveBlock from BOPTools) 
-       returns  Boolean from Standard;
-       ---Purpose:   
-       --- Returns TRUE if given PaveBlock <aPB> is 
-       --- common for the Blocks from the list  
-        
-    CommonBlock(me; 
-           aPB: PaveBlock from BOPTools) 
-       returns  CommonBlock from NMTTools;  
-    ---C++:  return &     
-
-fields
-    myListOfCommonBlock  :Address from Standard;
-    myListOfPaveBlock    :ListOfPaveBlock from BOPTools;
-    
-end CommonBlockAPI;
diff --git a/src/NMTTools/NMTTools_CommonBlockAPI.cxx b/src/NMTTools/NMTTools_CommonBlockAPI.cxx
deleted file mode 100644 (file)
index ceb0973..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-// File:       NMTTools_CommonBlockAPI.cxx
-// Created:    Mon Dec 15 11:38:04 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_CommonBlockAPI.ixx>
-
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-
-#include <NMTTools_CommonBlock.hxx>
-#include <NMTTools_ListOfCommonBlock.hxx>
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-
-//=======================================================================
-// function:  NMTTools_CommonBlockAPI::NMTTools_CommonBlockAPI
-// purpose: 
-//=======================================================================
-  NMTTools_CommonBlockAPI::NMTTools_CommonBlockAPI (const NMTTools_ListOfCommonBlock& aLCB)
-{
-  myListOfCommonBlock=(void *)&aLCB;
-}
-//=======================================================================
-// function:  List
-// purpose: 
-//=======================================================================
-  const NMTTools_ListOfCommonBlock& NMTTools_CommonBlockAPI::List () const
-{
-  NMTTools_ListOfCommonBlock* pListOfCommonBlock=(NMTTools_ListOfCommonBlock*)myListOfCommonBlock;
-  return *pListOfCommonBlock;
-}
-//=======================================================================
-// function:  CommonPaveBlocks
-// purpose:   get all CommonPaveBlocks
-//=======================================================================
-  const BOPTools_ListOfPaveBlock& NMTTools_CommonBlockAPI::CommonPaveBlocks(const Standard_Integer anE) const
-{
-  Standard_Integer anECurrent;
-  BOPTools_ListIteratorOfListOfPaveBlock anItPB;
-  //
-  BOPTools_ListOfPaveBlock* pmyListOfPaveBlock=(BOPTools_ListOfPaveBlock*) &myListOfPaveBlock;
-  pmyListOfPaveBlock->Clear();
-
-  NMTTools_ListOfCommonBlock* pListOfCommonBlock=(NMTTools_ListOfCommonBlock*)myListOfCommonBlock;
-
-  NMTTools_ListIteratorOfListOfCommonBlock anIt(*pListOfCommonBlock);
-  for (; anIt.More(); anIt.Next()) {
-    const NMTTools_CommonBlock& aCB=anIt.Value();
-    //
-    const BOPTools_ListOfPaveBlock& aLPB=aCB.PaveBlocks();
-    anItPB.Initialize(aLPB);
-    for (; anItPB.More(); anItPB.Next()) {
-      const BOPTools_PaveBlock& aPB=anItPB.Value();
-      anECurrent=aPB.OriginalEdge();
-      if (anECurrent==anE) {
-       pmyListOfPaveBlock->Append(aPB);
-       break;
-      }
-    }
-  }
-  return myListOfPaveBlock;
-}
-//=======================================================================
-// function:  IsCommonBlock
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_CommonBlockAPI::IsCommonBlock(const BOPTools_PaveBlock& aPB) const
-{
-  Standard_Integer anE;
-  //
-  anE=aPB.OriginalEdge();
-  //
-  CommonPaveBlocks(anE);
-  //
-  BOPTools_ListIteratorOfListOfPaveBlock anIt(myListOfPaveBlock);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB1=anIt.Value();
-    if (aPB1.IsEqual(aPB)) {
-      return Standard_True;
-    }
-  }
-  return Standard_False;
-}
-
-//=======================================================================
-// function:  CommonBlock
-// purpose: 
-//=======================================================================
-  NMTTools_CommonBlock& NMTTools_CommonBlockAPI::CommonBlock(const BOPTools_PaveBlock& aPB)const
-{
-  static NMTTools_CommonBlock aCBTMP;
-  //
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB;
-  BOPTools_ListIteratorOfListOfPaveBlock anItPB;
-  //
-  NMTTools_ListOfCommonBlock* pLCB=(NMTTools_ListOfCommonBlock*)myListOfCommonBlock;
-  //
-  anItCB.Initialize(*pLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    NMTTools_CommonBlock& aCB=anItCB.Value();
-    //
-    const BOPTools_ListOfPaveBlock& aLPB=aCB.PaveBlocks();
-    anItPB.Initialize(aLPB);
-    for (; anItPB.More(); anItPB.Next()) {
-      const BOPTools_PaveBlock& aPBx=anItPB.Value();
-      if (aPBx.IsEqual(aPB)) {
-       return aCB;
-      }
-    }
-  }
-  return aCBTMP;
-}
diff --git a/src/NMTTools/NMTTools_CommonBlockAPI.hxx b/src/NMTTools/NMTTools_CommonBlockAPI.hxx
deleted file mode 100644 (file)
index 37e84f4..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_CommonBlockAPI_HeaderFile
-#define _NMTTools_CommonBlockAPI_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class NMTTools_ListOfCommonBlock;
-class BOPTools_ListOfPaveBlock;
-class BOPTools_PaveBlock;
-class NMTTools_CommonBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_CommonBlockAPI  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_CommonBlockAPI(const NMTTools_ListOfCommonBlock& aList);
-Standard_EXPORT  const NMTTools_ListOfCommonBlock& List() const;
-Standard_EXPORT  const BOPTools_ListOfPaveBlock& CommonPaveBlocks(const Standard_Integer anE) const;
-Standard_EXPORT   Standard_Boolean IsCommonBlock(const BOPTools_PaveBlock& aPB) const;
-Standard_EXPORT   NMTTools_CommonBlock& CommonBlock(const BOPTools_PaveBlock& aPB) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address myListOfCommonBlock;
-BOPTools_ListOfPaveBlock myListOfPaveBlock;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_CommonBlockAPI.ixx b/src/NMTTools/NMTTools_CommonBlockAPI.ixx
deleted file mode 100644 (file)
index 983092a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_CommonBlockAPI.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_CommonBlockAPI.jxx b/src/NMTTools/NMTTools_CommonBlockAPI.jxx
deleted file mode 100644 (file)
index 49570db..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#include <NMTTools_ListOfCommonBlock.hxx>
-#endif
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlockAPI_HeaderFile
-#include <NMTTools_CommonBlockAPI.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_CommonBlockPool.hxx b/src/NMTTools/NMTTools_CommonBlockPool.hxx
deleted file mode 100644 (file)
index 01e53c6..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_CommonBlockPool_HeaderFile
-#define _NMTTools_CommonBlockPool_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_OutOfRange;
-class Standard_OutOfMemory;
-class NMTTools_ListOfCommonBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_CommonBlockPool  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_CommonBlockPool(const Standard_Integer Length = 0,const Standard_Integer BlockLength = 5);
-Standard_EXPORT   void Resize(const Standard_Integer theNewLength) ;
-Standard_EXPORT   void Destroy() ;
-~NMTTools_CommonBlockPool()
-{
-  Destroy();
-}
-
-Standard_EXPORT   Standard_Integer Length() const;
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   Standard_Integer FactLength() const;
-Standard_EXPORT   Standard_Integer Append(const NMTTools_ListOfCommonBlock& Value) ;
-Standard_EXPORT   void Remove(const Standard_Integer Index) ;
-Standard_EXPORT  const NMTTools_ListOfCommonBlock& Value(const Standard_Integer Index) const;
- const NMTTools_ListOfCommonBlock& operator ()(const Standard_Integer Index) const
-{
-  return Value(Index);
-}
-
-Standard_EXPORT   NMTTools_ListOfCommonBlock& ChangeValue(const Standard_Integer Index) ;
-  NMTTools_ListOfCommonBlock& operator ()(const Standard_Integer Index) 
-{
-  return ChangeValue(Index);
-}
-
-Standard_EXPORT   void SetBlockLength(const Standard_Integer aBL) ;
-Standard_EXPORT   Standard_Integer BlockLength() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_CommonBlockPool(const NMTTools_CommonBlockPool& AnArray);
-Standard_EXPORT   NMTTools_CommonBlockPool& Assign(const NMTTools_CommonBlockPool& Other) ;
-  NMTTools_CommonBlockPool& operator =(const NMTTools_CommonBlockPool& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   Standard_Boolean IsInvalidIndex(const Standard_Integer Index) const;
-
-
- // Fields PRIVATE
- //
-Standard_Address myStart;
-Standard_Integer myLength;
-Standard_Integer myFactLength;
-Standard_Integer myBlockLength;
-Standard_Boolean myIsAllocated;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_CommonBlockPool_0.cxx b/src/NMTTools/NMTTools_CommonBlockPool_0.cxx
deleted file mode 100644 (file)
index 33f0f25..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_CommonBlockPool.hxx>
-
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_OutOfMemory_HeaderFile
-#include <Standard_OutOfMemory.hxx>
-#endif
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#include <NMTTools_ListOfCommonBlock.hxx>
-#endif
-
-#define Array1Item NMTTools_ListOfCommonBlock
-#define Array1Item_hxx <NMTTools_ListOfCommonBlock.hxx>
-#define BOPTColStd_CArray1 NMTTools_CommonBlockPool
-#define BOPTColStd_CArray1_hxx <NMTTools_CommonBlockPool.hxx>
-#include <BOPTColStd_CArray1.gxx>
-
diff --git a/src/NMTTools/NMTTools_CoupleOfShape.cdl b/src/NMTTools/NMTTools_CoupleOfShape.cdl
deleted file mode 100644 (file)
index cf3e083..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- File:       NMTTools_CoupleOfShape.cdl
--- Created:    Wed Jan 28 15:03:39 2004
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2004
-
-
-class CoupleOfShape from NMTTools 
-
-       ---Purpose: 
-
-uses
-    Shape from TopoDS 
-    
---raises
-
-is 
-    Create 
-       returns CoupleOfShape from NMTTools; 
-
-    SetShape1(me:out; 
-       aS: Shape from TopoDS); 
-        
-    SetShape2(me:out; 
-       aS: Shape from TopoDS); 
-        
-    Shape1(me) 
-       returns Shape from TopoDS; 
-    ---C++: return const &      
-
-    Shape2(me) 
-       returns Shape from TopoDS; 
-    ---C++: return const & 
-    
-fields 
-    myShape1:Shape from TopoDS is protected;    
-    myShape2:Shape from TopoDS is protected;    
-
-end CoupleOfShape;
diff --git a/src/NMTTools/NMTTools_CoupleOfShape.cxx b/src/NMTTools/NMTTools_CoupleOfShape.cxx
deleted file mode 100644 (file)
index 91847f6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// File:       NMTTools_CoupleOfShape.cxx
-// Created:    Wed Jan 28 15:06:11 2004
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-#include <NMTTools_CoupleOfShape.ixx>
-
-//=======================================================================
-// function: NMTTools_CoupleOfShape::NMTTools_CoupleOfShape
-// purpose: 
-//=======================================================================
-  NMTTools_CoupleOfShape::NMTTools_CoupleOfShape()
-{}
-//=======================================================================
-// function: SetShape1
-// purpose: 
-//=======================================================================
-  void NMTTools_CoupleOfShape::SetShape1(const TopoDS_Shape& aS)
-{
-  myShape1=aS;
-}
-//=======================================================================
-// function: SetShape2
-// purpose: 
-//=======================================================================
-  void NMTTools_CoupleOfShape::SetShape2(const TopoDS_Shape& aS)
-{
-  myShape2=aS;
-}
-//=======================================================================
-// function: Shape1
-// purpose: 
-//=======================================================================
-  const TopoDS_Shape& NMTTools_CoupleOfShape::Shape1()const
-{
-  return myShape1;
-}
-//=======================================================================
-// function: Shape2
-// purpose: 
-//=======================================================================
-  const TopoDS_Shape& NMTTools_CoupleOfShape::Shape2()const
-{
-  return myShape2;
-}
diff --git a/src/NMTTools/NMTTools_CoupleOfShape.hxx b/src/NMTTools/NMTTools_CoupleOfShape.hxx
deleted file mode 100644 (file)
index 9a140f7..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#define _NMTTools_CoupleOfShape_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_CoupleOfShape  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_CoupleOfShape();
-Standard_EXPORT   void SetShape1(const TopoDS_Shape& aS) ;
-Standard_EXPORT   void SetShape2(const TopoDS_Shape& aS) ;
-Standard_EXPORT  const TopoDS_Shape& Shape1() const;
-Standard_EXPORT  const TopoDS_Shape& Shape2() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myShape1;
-TopoDS_Shape myShape2;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_CoupleOfShape.ixx b/src/NMTTools/NMTTools_CoupleOfShape.ixx
deleted file mode 100644 (file)
index 1895c6b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_CoupleOfShape.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_CoupleOfShape.jxx b/src/NMTTools/NMTTools_CoupleOfShape.jxx
deleted file mode 100644 (file)
index 9acf2b8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#include <NMTTools_CoupleOfShape.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_DEProcessor.cdl b/src/NMTTools/NMTTools_DEProcessor.cdl
deleted file mode 100644 (file)
index 8d286d5..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
--- File:       NMTTools_DEProcessor.cdl
--- Created:    Wed Sep 12 12:08:37 2001
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2001
-
-
-class DEProcessor from NMTTools 
-
-       ---Purpose:  
-       --   
-       --  The  Algorithm to compute and store in interferences' pool 
-       --- and in the Data  Structure  the following values        
-       --- for degenerated edges 
-       ---         1.  Paves/Pave set(s)
-       ---         2.  Split parts 
-       ---         3.  States (3D) for split parts 
-        --- 
-       
-uses  
-
-    Vertex from TopoDS,
-    Edge   from TopoDS, 
-    Face   from TopoDS, 
-     
-    PPaveFiller     from NMTTools, 
-    PaveFiller      from NMTTools, 
-    --PDSFiller       from NMTTools,   
-    ListOfPaveBlock from BOPTools,
-    PShapesDataStructure from NMTDS, 
-    IndexedDataMapOfIntegerDEInfo from BOPTools          
-
-
-is
-    --Create (aFiller:out PDSFiller from NMTTools) 
-    -- returns  DEProcessor from NMTTools; 
-       ---Purpose:  
-       --- Constructor 
-       --- 
-    Create (aFiller:out PaveFiller from NMTTools) 
-       returns  DEProcessor from NMTTools; 
-       ---Purpose:  
-       --- Constructor 
-       ---     
-    Do(me:out);   
-       ---Purpose: 
-       --- Launches the processor   
-       ---
-    IsDone(me) 
-       returns Boolean from Standard; 
-       ---Purpose:  
-       --- Returns TRUE if it is Ok       
-       ---
-    --- 
-    ---    Private block 
-    ---
-    ---
-    FindDegeneratedEdges (me:out) 
-       is  protected; 
-       
-    DoPaves  (me:out) 
-       is  protected; 
-        
-    FindPaveBlocks (me:out; 
-           nED:Integer from Standard; 
-           nVD:Integer from Standard; 
-           nFD:Integer from Standard; 
-           aLPB:out ListOfPaveBlock from BOPTools) 
-       is  protected; 
-     
-    FillPaveSet (me:out; 
-           nED:Integer from Standard; 
-           nVD:Integer from Standard; 
-           nFD:Integer from Standard; 
-           aLPB: ListOfPaveBlock from BOPTools) 
-       is  protected; 
-
-    FillSplitEdgesPool(me:out; 
-           nED:Integer from Standard)
-       is  protected; 
-  
-    MakeSplitEdges(me:out; 
-           nED:Integer from Standard;
-           nFD:Integer from Standard)
-       is  protected;   
-        
-    MakeSplitEdge  (me:out;   
-                   aS1: Edge from TopoDS; 
-                   aF : Face from TopoDS;           
-                   aV1: Vertex from TopoDS;         
-                   aP1: Real from Standard; 
-                   aV2: Vertex from TopoDS; 
-                   aP2: Real from Standard; 
-                   aNewEdge:out Edge from TopoDS) 
-       is protected;           
-     
-fields 
-        
-    --myDSFiller: PDSFiller   from NMTTools is protected;
-    myFiller  : PPaveFiller from NMTTools is protected; 
-    myDS      : PShapesDataStructure from NMTDS is protected;
-    myIsDone  : Boolean   from Standard is protected;   
-    myDEMap   : IndexedDataMapOfIntegerDEInfo from BOPTools is protected; 
-            
-end DEProcessor;
diff --git a/src/NMTTools/NMTTools_DEProcessor.cxx b/src/NMTTools/NMTTools_DEProcessor.cxx
deleted file mode 100644 (file)
index 1c6ea30..0000000
+++ /dev/null
@@ -1,492 +0,0 @@
-// File:       BOPTools_DEProcessor.cxx
-// Created:    Wed Sep 12 12:10:52 2001
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-#include <NMTTools_DEProcessor.ixx>
-
-#include <Precision.hxx>
-
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <TColStd_ListOfInteger.hxx>
-
-#include <gp_Pnt2d.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Sphere.hxx>
-
-#include <Geom2d_Curve.hxx>
-#include <Geom2d_Line.hxx>
-#include <Geom2dAdaptor_Curve.hxx>
-#include <Geom2dInt_GInter.hxx>
-
-#include <IntRes2d_IntersectionPoint.hxx>
-
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Solid.hxx>
-
-#include <TopExp.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-
-#include <BRepAdaptor_Surface.hxx>
-
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-
-#include <IntTools_Tools.hxx>
-#include <IntTools_Context.hxx>
-
-#include <BOPTools_DEInfo.hxx>
-#include <BOPTools_Pave.hxx>
-#include <BOPTools_ListOfPave.hxx>
-#include <BOPTools_ListIteratorOfListOfPave.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlockIterator.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_PavePool.hxx>
-#include <BOPTools_PaveSet.hxx>
-#include <BOPTools_Tools3D.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <BOPTools_SplitShapesPool.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-//#include <NMTTools_DSFiller.hxx>
-#include <NMTTools_PaveFiller.hxx>
-//
-#include <BOPTools_SequenceOfCurves.hxx>
-#include <BOPTools_Curve.hxx>
-
-
-
-//=======================================================================
-// function: NMTTools_DEProcessor::NMTTools_DEProcessor
-// purpose: 
-//=======================================================================
-  NMTTools_DEProcessor::NMTTools_DEProcessor(NMTTools_PaveFiller& aPaveFiller)
-:
-  myIsDone(Standard_False)
-{
-  myFiller=(NMTTools_PaveFiller*) &aPaveFiller;
-  myDS=myFiller->DS();
-}
-//=======================================================================
-// function: IsDone
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_DEProcessor::IsDone() const
-{
-  return myIsDone;
-}
-//=======================================================================
-// function:  Do
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::Do()
-{
-  Standard_Integer aNbE;
-  myIsDone=Standard_False;
-
-  FindDegeneratedEdges();
-  aNbE=myDEMap.Extent();
-  
-  if (!aNbE) {
-    myIsDone=Standard_True;
-    return;
-  }
-  DoPaves();
-}
-//=======================================================================
-// function:  FindDegeneratedEdges
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::FindDegeneratedEdges()
-{
-  Standard_Integer i, aNb, nV, nF, nVx, ip, iRankE;
-  TopTools_IndexedDataMapOfShapeListOfShape aMEF;
-  //
-  aNb=myDS->NumberOfShapesOfTheObject();
-  //
-  for (i=1; i<=aNb; i++) {
-    const TopoDS_Shape& aF=myDS->Shape(i);
-    if (aF.ShapeType()==TopAbs_FACE) {
-      TopExp::MapShapesAndAncestors (aF, TopAbs_EDGE, TopAbs_FACE, aMEF);
-    }
-  }
-  //
-  for (i=1; i<=aNb; i++) {
-    const TopoDS_Shape& aS=myDS->Shape(i);
-    if (aS.ShapeType()==TopAbs_EDGE) {
-      const TopoDS_Edge& aE=TopoDS::Edge(aS);
-      
-      if (BRep_Tool::Degenerated(aE)) {
-       iRankE=myDS->Rank(i);
-
-       TopoDS_Vertex aV=TopExp::FirstVertex(aE);
-
-       nVx=myDS->ShapeIndex(aV, iRankE);
-       //
-       nV=nVx;
-       ip=myFiller->FindSDVertex(nV);
-       if (ip) {
-         nV=ip;
-       }
-       //
-       TColStd_ListOfInteger aLFn;
-       const TopTools_ListOfShape& aLF=aMEF.FindFromKey(aE);
-       TopTools_ListIteratorOfListOfShape anIt(aLF);
-       for (; anIt.More(); anIt.Next()) {
-         const TopoDS_Shape& aF=anIt.Value();
-         nF=myDS->ShapeIndex(aF, iRankE);
-         aLFn.Append(nF);
-       }
-       BOPTools_DEInfo aDEInfo;
-       aDEInfo.SetVertex(nV);
-       aDEInfo.SetFaces(aLFn);
-
-       myDEMap.Add (i, aDEInfo);
-      }
-    }
-  }
-}
-//=======================================================================
-// function:  DoPaves
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::DoPaves()
-{
-
-  Standard_Integer i, aNbE, nED, nVD, nFD=0;
-  //
-  aNbE=myDEMap.Extent();
-  for (i=1; i<=aNbE; i++) {
-    nED=myDEMap.FindKey(i);
-    
-    const BOPTools_DEInfo& aDEInfo=myDEMap(i);
-    nVD=aDEInfo.Vertex();
-    // Fill PaveSet for the edge nED
-    const TColStd_ListOfInteger& nLF=aDEInfo.Faces();
-    TColStd_ListIteratorOfListOfInteger anIt(nLF);
-    for (; anIt.More(); anIt.Next()) {
-      nFD=anIt.Value();
-      
-      BOPTools_ListOfPaveBlock aLPB;
-      FindPaveBlocks(nED, nVD, nFD, aLPB);
-      FillPaveSet (nED, nVD, nFD, aLPB);
-    }
-    // 
-    // Fill aSplitEdges for the edge nED
-    FillSplitEdgesPool(nED);
-    //
-    // MakeSplitEdges
-    MakeSplitEdges(nED, nFD);
-    //
-  }// next nED
-}
-//=======================================================================
-// function:  FindPaveBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::FindPaveBlocks(const Standard_Integer ,
-                                           const Standard_Integer nVD,
-                                           const Standard_Integer nFD,
-                                           BOPTools_ListOfPaveBlock& aLPBOut)
-{
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  Standard_Integer i, aNb, nF2, nV;
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=(myFiller->InterfPool())->SSInterferences();
-  //
-  aNb=aFFs.Extent();
-  for (i=1; i<=aNb; ++i) {
-    BOPTools_SSInterference& aFF=aFFs(i);
-    //
-    nF2=aFF.OppositeIndex(nFD);
-    if (!nF2) {
-      continue;
-    }
-    //
-    // Split Parts 
-    const BOPTools_ListOfPaveBlock& aLPBSplits=aFF.PaveBlocks();
-    anIt.Initialize(aLPBSplits);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPBSp=anIt.Value();
-      //
-      const BOPTools_Pave& aPave1=aPBSp.Pave1();
-      nV=aPave1.Index();
-      if (nV==nVD) {
-       aLPBOut.Append(aPBSp);
-       continue;
-      }
-      //
-      const BOPTools_Pave& aPave2=aPBSp.Pave2();
-      nV=aPave2.Index();
-      if (nV==nVD) {
-       aLPBOut.Append(aPBSp);
-       continue;
-      }
-    }
-    //
-    // Section Parts
-    Standard_Integer j, aNbCurves;   
-    BOPTools_SequenceOfCurves& aSC=aFF.Curves();
-    aNbCurves=aSC.Length();
-    
-    for (j=1; j<=aNbCurves; j++) {
-      const BOPTools_Curve& aBC=aSC(j);
-      const BOPTools_ListOfPaveBlock& aLPBSe=aBC.NewPaveBlocks();
-
-      anIt.Initialize(aLPBSe);
-      for (; anIt.More(); anIt.Next()) {
-       const BOPTools_PaveBlock& aPBSe=anIt.Value();
-       
-       const BOPTools_Pave& aPv1=aPBSe.Pave1();
-       nV=aPv1.Index();
-       if (nV==nVD) {
-         aLPBOut.Append(aPBSe);
-         continue;
-       }
-       
-       const BOPTools_Pave& aPv2=aPBSe.Pave2();
-       nV=aPv2.Index();
-       if (nV==nVD) {
-         aLPBOut.Append(aPBSe);
-         continue;
-       }
-      }
-    }
-  }
-}
-//=======================================================================
-// function:  FillPaveSet
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::FillPaveSet (const Standard_Integer nED,
-                                         const Standard_Integer nVD,
-                                         const Standard_Integer nFD,
-                                         const BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Boolean bIsDone, bXDir, bRejectFlag;
-  Standard_Integer nE, aNbPoints, j;
-  Standard_Real aTD1, aTD2, aT1, aT2, aTolInter, aX, aDT;
-  //
-  aDT=Precision::PConfusion();
-  //
-  BOPTools_PaveSet& aPaveSet= (myFiller->ChangePavePool()).ChangeValue(myDS->RefEdge(nED));
-  //
-  // Clear aPaveSet, aSplitEdges
-  aPaveSet.ChangeSet().Clear();
-  //
-  const TopoDS_Edge& aDE=TopoDS::Edge(myDS->Shape(nED));
-  const TopoDS_Face& aDF=TopoDS::Face(myDS->Shape(nFD));
-  //
-  // 2D Curve of degenerated edge on the face aDF
-  Handle(Geom2d_Curve) aC2DDE=BRep_Tool::CurveOnSurface(aDE, aDF, aTD1, aTD2);
-  //
-  // Choose direction for Degenerated Edge
-  gp_Pnt2d aP2d1, aP2d2;
-  aC2DDE->D0(aTD1, aP2d1);
-  aC2DDE->D0(aTD2, aP2d2);
-
-  bXDir=Standard_False;
-  if (fabs(aP2d1.Y()-aP2d2.Y()) < aDT){
-    bXDir=!bXDir;
-  }
-  //
-  // Prepare bounding Paves
-  BOPTools_Pave aPave1 (nVD, aTD1, BooleanOperations_UnknownInterference);
-  aPaveSet.Append(aPave1);
-  BOPTools_Pave aPave2 (nVD, aTD2, BooleanOperations_UnknownInterference);
-  aPaveSet.Append(aPave2);
-  //
-  // Fill other paves 
-  BOPTools_ListIteratorOfListOfPaveBlock anIt(aLPB);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    nE=aPB.Edge();
-    const TopoDS_Edge& aE=TopoDS::Edge(myDS->Shape(nE));
-    
-    Handle(Geom2d_Curve) aC2D=BRep_Tool::CurveOnSurface(aE, aDF, aT1, aT2);
-    //
-    // Intersection
-    aTolInter=0.001;
-        
-    Geom2dAdaptor_Curve aGAC1, aGAC2;
-    
-    aGAC1.Load(aC2DDE, aTD1, aTD2);
-    Handle(Geom2d_Line) aL2D= Handle(Geom2d_Line)::DownCast(aC2D);
-    if (!aL2D.IsNull()) {
-      aGAC2.Load(aC2D);
-    }
-    else {
-      aGAC2.Load(aC2D, aT1, aT2);
-    }
-    
-    Geom2dInt_GInter aGInter(aGAC1, aGAC2, aTolInter, aTolInter);
-    
-    bIsDone=aGInter.IsDone();
-    if(bIsDone) {
-      aNbPoints=aGInter.NbPoints();
-      if (aNbPoints) { 
-       for (j=1; j<=aNbPoints; ++j) {
-         gp_Pnt2d aP2D=aGInter.Point(j).Value();
-         //
-         aX=(bXDir) ? aP2D.X(): aP2D.Y();
-         //
-         if (fabs (aX-aTD1) < aDT || fabs (aX-aTD2) < aDT) {
-           continue; 
-         }
-         if (aX < aTD1 || aX > aTD2) {
-           continue; 
-         }
-         //
-         bRejectFlag=Standard_False;
-         const BOPTools_ListOfPave& aListOfPave=aPaveSet.Set();
-         BOPTools_ListIteratorOfListOfPave aPaveIt(aListOfPave);
-         for (; aPaveIt.More(); aPaveIt.Next()) {
-           const BOPTools_Pave& aPavex=aPaveIt.Value();
-           Standard_Real aXx=aPavex.Param();
-           if (fabs (aX-aXx) < aDT) {
-             bRejectFlag=Standard_True;
-             break;
-           }
-         }
-         if (bRejectFlag) {
-           continue; 
-         }
-         //
-         BOPTools_Pave aPave(nVD, aX, BooleanOperations_UnknownInterference);
-         aPaveSet.Append(aPave);
-       }
-      }
-    }
-  }
-}
-//=======================================================================
-// function:  FillSplitEdgesPool
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::FillSplitEdgesPool (const Standard_Integer nED)
-{
-  BOPTools_SplitShapesPool& aSplitShapesPool=myFiller->ChangeSplitShapesPool();
-  BOPTools_ListOfPaveBlock& aSplitEdges=aSplitShapesPool.ChangeValue(myDS->RefEdge(nED));
-  //
-  aSplitEdges.Clear();
-  //
-  const BOPTools_PavePool& aPavePool=myFiller->PavePool();
-  BOPTools_PavePool* pPavePool=(BOPTools_PavePool*) &aPavePool;
-  BOPTools_PaveSet& aPaveSet= pPavePool->ChangeValue(myDS->RefEdge(nED));
-  
-  BOPTools_PaveBlockIterator aPBIt(nED, aPaveSet);
-  for (; aPBIt.More(); aPBIt.Next()) {
-    BOPTools_PaveBlock& aPB=aPBIt.Value();
-    aSplitEdges.Append(aPB);
-  }
-}
-//=======================================================================
-// function:  MakeSplitEdges
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::MakeSplitEdges (const Standard_Integer nED,
-                                            const Standard_Integer nFD)
-{
-  const BOPTools_SplitShapesPool& aSplitShapesPool=myFiller->SplitShapesPool();
-  const BOPTools_ListOfPaveBlock& aSplitEdges=aSplitShapesPool(myDS->RefEdge(nED));
-
-  Standard_Integer nV1, nV2, aNewShapeIndex;
-  Standard_Real    t1, t2;
-  TopoDS_Edge aE, aESplit;
-  TopoDS_Vertex aV1, aV2;
-
-  const TopoDS_Edge& aDE=TopoDS::Edge(myDS->Shape(nED));
-  const TopoDS_Face& aDF=TopoDS::Face(myDS->Shape(nFD));
-
-  BOPTools_ListIteratorOfListOfPaveBlock aPBIt(aSplitEdges);
-
-  for (; aPBIt.More(); aPBIt.Next()) {
-    BOPTools_PaveBlock& aPB=aPBIt.Value();
-    
-    const BOPTools_Pave& aPave1=aPB.Pave1();
-    nV1=aPave1.Index();
-    t1=aPave1.Param();
-    aV1=TopoDS::Vertex(myDS->GetShape(nV1));
-    aV1.Orientation(TopAbs_FORWARD);
-    
-    const BOPTools_Pave& aPave2=aPB.Pave2();
-    nV2=aPave2.Index();
-    t2=aPave2.Param();
-    aV2=TopoDS::Vertex(myDS->GetShape(nV2));
-    aV2.Orientation(TopAbs_REVERSED);
-    
-    MakeSplitEdge(aDE, aDF, aV1, t1, aV2, t2, aESplit); 
-    //
-    // Add Split Part of the Original Edge to the DS
-    BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-    
-    anASSeq.SetNewSuccessor(nV1);
-    anASSeq.SetNewOrientation(aV1.Orientation());
-    
-    anASSeq.SetNewSuccessor(nV2);
-    anASSeq.SetNewOrientation(aV2.Orientation());
-    
-    myDS->InsertShapeAndAncestorsSuccessors(aESplit, anASSeq);
-    aNewShapeIndex=myDS->NumberOfInsertedShapes();
-    myDS->SetState(aNewShapeIndex, BooleanOperations_UNKNOWN);
-    //
-    // Fill Split Set for the Original Edge
-    aPB.SetEdge(aNewShapeIndex);
-    //
-  }
-}
-//=======================================================================
-// function:  MakeSplitEdge
-// purpose: 
-//=======================================================================
-  void NMTTools_DEProcessor::MakeSplitEdge (const TopoDS_Edge&   aE,
-                                           const TopoDS_Face&   aF,
-                                           const TopoDS_Vertex& aV1,
-                                           const Standard_Real  aP1,
-                                           const TopoDS_Vertex& aV2,
-                                           const Standard_Real  aP2,
-                                           TopoDS_Edge& aNewEdge)
-{
-  Standard_Real aTol=1.e-7;
-
-  TopoDS_Edge E=aE;
-
-  E.EmptyCopy();
-  BRep_Builder BB;
-  BB.Add  (E, aV1);
-  BB.Add  (E, aV2);
-
-  BB.Range(E, aF, aP1, aP2);
-
-  BB.Degenerated(E, Standard_True);
-
-  BB.UpdateEdge(E, aTol);
-  aNewEdge=E;
-}
-/*
-//=======================================================================
-// function: NMTTools_DEProcessor::NMTTools_DEProcessor
-// purpose: 
-//=======================================================================
-  NMTTools_DEProcessor::NMTTools_DEProcessor(NMTTools_PDSFiller& pDSFiller)
-:
-  myIsDone(Standard_False)
-{
-  myDSFiller=pDSFiller;
-  myFiller=(NMTTools_PaveFiller*) &(myDSFiller->PaveFiller());
-  myDS=myFiller->DS();
-}
-*/
diff --git a/src/NMTTools/NMTTools_DEProcessor.hxx b/src/NMTTools/NMTTools_DEProcessor.hxx
deleted file mode 100644 (file)
index fb3ccbb..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_DEProcessor_HeaderFile
-#define _NMTTools_DEProcessor_HeaderFile
-
-#ifndef _NMTTools_PPaveFiller_HeaderFile
-#include <NMTTools_PPaveFiller.hxx>
-#endif
-#ifndef _NMTDS_PShapesDataStructure_HeaderFile
-#include <NMTDS_PShapesDataStructure.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _BOPTools_IndexedDataMapOfIntegerDEInfo_HeaderFile
-#include <BOPTools_IndexedDataMapOfIntegerDEInfo.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class NMTTools_PaveFiller;
-class BOPTools_ListOfPaveBlock;
-class TopoDS_Edge;
-class TopoDS_Face;
-class TopoDS_Vertex;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_DEProcessor  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_DEProcessor(NMTTools_PaveFiller& aFiller);
-Standard_EXPORT   void Do() ;
-Standard_EXPORT   Standard_Boolean IsDone() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void FindDegeneratedEdges() ;
-Standard_EXPORT   void DoPaves() ;
-Standard_EXPORT   void FindPaveBlocks(const Standard_Integer nED,const Standard_Integer nVD,const Standard_Integer nFD,BOPTools_ListOfPaveBlock& aLPB) ;
-Standard_EXPORT   void FillPaveSet(const Standard_Integer nED,const Standard_Integer nVD,const Standard_Integer nFD,const BOPTools_ListOfPaveBlock& aLPB) ;
-Standard_EXPORT   void FillSplitEdgesPool(const Standard_Integer nED) ;
-Standard_EXPORT   void MakeSplitEdges(const Standard_Integer nED,const Standard_Integer nFD) ;
-Standard_EXPORT   void MakeSplitEdge(const TopoDS_Edge& aS1,const TopoDS_Face& aF,const TopoDS_Vertex& aV1,const Standard_Real aP1,const TopoDS_Vertex& aV2,const Standard_Real aP2,TopoDS_Edge& aNewEdge) ;
-
-
- // Fields PROTECTED
- //
-NMTTools_PPaveFiller myFiller;
-NMTDS_PShapesDataStructure myDS;
-Standard_Boolean myIsDone;
-BOPTools_IndexedDataMapOfIntegerDEInfo myDEMap;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_DEProcessor.ixx b/src/NMTTools/NMTTools_DEProcessor.ixx
deleted file mode 100644 (file)
index 6844838..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_DEProcessor.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_DEProcessor.jxx b/src/NMTTools/NMTTools_DEProcessor.jxx
deleted file mode 100644 (file)
index a8c418d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef _NMTTools_PaveFiller_HeaderFile
-#include <NMTTools_PaveFiller.hxx>
-#endif
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _NMTTools_DEProcessor_HeaderFile
-#include <NMTTools_DEProcessor.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_DSFiller.cdl b/src/NMTTools/NMTTools_DSFiller.cdl
deleted file mode 100644 (file)
index 069e82c..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
--- File:       NMTTools_DSFiller.cdl
--- Created:    Fri Dec  5 13:57:03 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class DSFiller from NMTTools 
-
-       ---Purpose: 
-
-uses
-    Shape from TopoDS,  
-    InterferencePool     from BOPTools, 
-    PInterferencePool    from BOPTools,
-    ShapesDataStructure  from NMTDS, 
-    PShapesDataStructure from NMTDS,
-    PPaveFiller          from NMTTools, 
-    PaveFiller           from NMTTools
---raises
-
-is  
-    Create  
-       returns DSFiller from NMTTools; 
-        
-    Destroy (me:out);
-    ---C++: alias ~
-    ---Purpose: Destructor 
-    -- 
-    --  Selectors/Modifiers   
-    SetCompositeShape (me:out;  
-           aS:  Shape from TopoDS);  
-     
-    CompositeShape(me) 
-       returns  Shape from TopoDS; 
-       ---C++:  return  const& 
-     
-    SetNewFiller(me;  
-           aFlag:Boolean from  Standard); 
-     
-    IsNewFiller(me) 
-       returns Boolean from  Standard;  
-    --  
-    --  Perform the algo      
-    Perform (me:out);   
-    --
-    --  Protected section 
-    Clear   (me:out) 
-       is protected;  
-    --
-    -- Query section 
-    DS  (me) 
-       returns  ShapesDataStructure from NMTDS; 
-       ---C++:  return const &    
-        
-    InterfPool (me) 
-       returns  InterferencePool from BOPTools;
-    ---C++:  return const & 
-        
-    IsDone(me) 
-       returns  Boolean  from  Standard; 
-      
-    PaveFiller(me) 
-       returns PaveFiller from NMTTools; 
-    ---C++:  return const &
-
-    ChangePaveFiller (me:out) 
-       returns PaveFiller from NMTTools; 
-    ---C++:  return &
-
-fields
-    myCompositeShape  :  Shape from TopoDS is protected;
-    myDS              :  PShapesDataStructure from NMTDS is protected; 
-    myInterfPool      :  PInterferencePool    from BOPTools is protected;  
-    myPaveFiller      :  PPaveFiller from NMTTools is protected;   
-
-    myIsDone          :  Boolean from  Standard is protected; 
-    myIsNewFiller     :  Boolean from  Standard is protected;  
-
-end DSFiller;
diff --git a/src/NMTTools/NMTTools_DSFiller.cxx b/src/NMTTools/NMTTools_DSFiller.cxx
deleted file mode 100644 (file)
index d0e53b5..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-// File:       NMTTools_DSFiller.cxx
-// Created:    Fri Dec  5 14:06:34 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_DSFiller.ixx>
-#include <NMTTools_PaveFiller.hxx>
-
-//=======================================================================
-// function: NMTTools_DSFiller::NMTTools_DSFiller
-// purpose: 
-//=======================================================================
-  NMTTools_DSFiller::NMTTools_DSFiller()
-{
-  myPaveFiller=NULL;
-  myInterfPool=NULL;
-  myDS=NULL;
-  myIsNewFiller=Standard_True;
-  myIsDone=Standard_False;
-}
-//=======================================================================
-// function:Destroy
-// purpose:
-//=======================================================================
-  void NMTTools_DSFiller::Destroy() 
-{
-  Clear();
-}
-//=======================================================================
-// function: Clear
-// purpose: 
-//=======================================================================
-  void NMTTools_DSFiller::Clear()
-{
-  if (myPaveFiller!=NULL) {
-    delete myPaveFiller;
-  }
-  if (myInterfPool!=NULL) {
-    delete myInterfPool;
-  }
-  if (myDS!=NULL) {
-    delete myDS;
-  }
-  myPaveFiller=NULL;
-  myInterfPool=NULL;
-  myDS=NULL;
-}
-//=======================================================================
-// function: SetCompositeShape
-// purpose: 
-//=======================================================================
-  void NMTTools_DSFiller::SetCompositeShape(const TopoDS_Shape& aS)
-{
-  myCompositeShape=aS;
-}
-//=======================================================================
-// function: CompositeShape
-// purpose: 
-//=======================================================================
-  const TopoDS_Shape& NMTTools_DSFiller::CompositeShape()const
-{
-  return myCompositeShape;
-}
-//=======================================================================
-// function:  SetNewFiller
-// purpose: 
-//=======================================================================
-  void NMTTools_DSFiller::SetNewFiller(const Standard_Boolean aFlag) const
-{
-  NMTTools_DSFiller* pDSFiller=(NMTTools_DSFiller*)this;
-  pDSFiller->myIsNewFiller=aFlag;
-}
-//=======================================================================
-// function: IsNewFiller 
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_DSFiller::IsNewFiller() const
-{
-  return myIsNewFiller;
-}
-//=======================================================================
-// function: DS
-// purpose: 
-//=======================================================================
-  const NMTDS_ShapesDataStructure& NMTTools_DSFiller::DS () const 
-{
-  return *myDS;
-}
-//=======================================================================
-// function: InterfPool
-// purpose: 
-//=======================================================================
-  const BOPTools_InterferencePool& NMTTools_DSFiller::InterfPool () const
-{
-  return *myInterfPool;
-}
-//=======================================================================
-// function:  IsDone
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_DSFiller::IsDone()const 
-{
-  return myIsDone;
-}
-//=======================================================================
-// function:  PaveFiller
-// purpose: 
-//=======================================================================
-  const NMTTools_PaveFiller& NMTTools_DSFiller::PaveFiller()const 
-{
-  return *myPaveFiller;
-}
-//=======================================================================
-// function:  ChangePaveFiller
-// purpose: 
-//=======================================================================
-  NMTTools_PaveFiller& NMTTools_DSFiller::ChangePaveFiller() 
-{
-  return *myPaveFiller;
-}
-//=======================================================================
-// function:  Perform
-// purpose: 
-//=======================================================================
-  void NMTTools_DSFiller::Perform()
-{
-  myIsDone=Standard_False;
-  //
-  if (myCompositeShape.IsNull()) {
-    return;
-  }
-  //
-  //
-  // Clear contents of the DS if it was before
-  Clear();
-  //
-  myIsNewFiller=Standard_True;
-  //
-  myDS        = new NMTDS_ShapesDataStructure;
-  myDS->SetCompositeShape(myCompositeShape);
-  myDS->Init();
-  //
-  myInterfPool= new BOPTools_InterferencePool (*myDS);
-  //
-  myPaveFiller = new NMTTools_PaveFiller(*myInterfPool);
-  myPaveFiller->Perform();
-  myIsDone=myPaveFiller->IsDone();
-}
diff --git a/src/NMTTools/NMTTools_DSFiller.hxx b/src/NMTTools/NMTTools_DSFiller.hxx
deleted file mode 100644 (file)
index 09c398e..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_DSFiller_HeaderFile
-#define _NMTTools_DSFiller_HeaderFile
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTDS_PShapesDataStructure_HeaderFile
-#include <NMTDS_PShapesDataStructure.hxx>
-#endif
-#ifndef _BOPTools_PInterferencePool_HeaderFile
-#include <BOPTools_PInterferencePool.hxx>
-#endif
-#ifndef _NMTTools_PPaveFiller_HeaderFile
-#include <NMTTools_PPaveFiller.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class TopoDS_Shape;
-class NMTDS_ShapesDataStructure;
-class BOPTools_InterferencePool;
-class NMTTools_PaveFiller;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_DSFiller  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_DSFiller();
-Standard_EXPORT   void Destroy() ;
-~NMTTools_DSFiller()
-{
-  Destroy();
-}
-
-Standard_EXPORT   void SetCompositeShape(const TopoDS_Shape& aS) ;
-Standard_EXPORT  const TopoDS_Shape& CompositeShape() const;
-Standard_EXPORT   void SetNewFiller(const Standard_Boolean aFlag) const;
-Standard_EXPORT   Standard_Boolean IsNewFiller() const;
-Standard_EXPORT   void Perform() ;
-Standard_EXPORT  const NMTDS_ShapesDataStructure& DS() const;
-Standard_EXPORT  const BOPTools_InterferencePool& InterfPool() const;
-Standard_EXPORT   Standard_Boolean IsDone() const;
-Standard_EXPORT  const NMTTools_PaveFiller& PaveFiller() const;
-Standard_EXPORT   NMTTools_PaveFiller& ChangePaveFiller() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void Clear() ;
-
-
- // Fields PROTECTED
- //
-TopoDS_Shape myCompositeShape;
-NMTDS_PShapesDataStructure myDS;
-BOPTools_PInterferencePool myInterfPool;
-NMTTools_PPaveFiller myPaveFiller;
-Standard_Boolean myIsDone;
-Standard_Boolean myIsNewFiller;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_DSFiller.ixx b/src/NMTTools/NMTTools_DSFiller.ixx
deleted file mode 100644 (file)
index e55cf67..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_DSFiller.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_DSFiller.jxx b/src/NMTTools/NMTTools_DSFiller.jxx
deleted file mode 100644 (file)
index 078fd15..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _NMTDS_ShapesDataStructure_HeaderFile
-#include <NMTDS_ShapesDataStructure.hxx>
-#endif
-#ifndef _BOPTools_InterferencePool_HeaderFile
-#include <BOPTools_InterferencePool.hxx>
-#endif
-#ifndef _NMTTools_PaveFiller_HeaderFile
-#include <NMTTools_PaveFiller.hxx>
-#endif
-#ifndef _NMTTools_DSFiller_HeaderFile
-#include <NMTTools_DSFiller.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx
deleted file mode 100644 (file)
index cf09e4f..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#define _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TColStd_IndexedMapOfInteger_HeaderFile
-#include <TColStd_IndexedMapOfInteger.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TColStd_IndexedMapOfInteger;
-class TColStd_MapIntegerHasher;
-class NMTTools_IndexedDataMapOfIndexedMapOfInteger;
-
-
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger(const Standard_Integer& K1,const Standard_Integer K2,const TColStd_IndexedMapOfInteger& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  Standard_Integer& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TColStd_IndexedMapOfInteger& Value() const;
-Standard_EXPORT ~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Integer myKey1;
-Standard_Integer myKey2;
-TColStd_IndexedMapOfInteger myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TColStd_IndexedMapOfInteger
-#define TheItem_hxx <TColStd_IndexedMapOfInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_0.cxx
deleted file mode 100644 (file)
index 1d98995..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TColStd_IndexedMapOfInteger_HeaderFile
-#include <TColStd_IndexedMapOfInteger.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#include <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-#endif
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger::~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger",
-                                                        sizeof(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger))) {
-       _anOtherObject = Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)((Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) ; 
-}
-Standard_Boolean NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger::~Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger() {}
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TColStd_IndexedMapOfInteger
-#define TheItem_hxx <TColStd_IndexedMapOfInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx
deleted file mode 100644 (file)
index 7721dd9..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#define _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
-#include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_IndexedMapOfShape;
-class TopTools_ShapeMapHasher;
-class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape;
-
-
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape(const TopoDS_Shape& K1,const Standard_Integer K2,const TopTools_IndexedMapOfShape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  TopoDS_Shape& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  TopTools_IndexedMapOfShape& Value() const;
-Standard_EXPORT ~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Shape myKey1;
-Standard_Integer myKey2;
-TopTools_IndexedMapOfShape myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopTools_IndexedMapOfShape
-#define TheItem_hxx <TopTools_IndexedMapOfShape.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_0.cxx
deleted file mode 100644 (file)
index beaae44..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
-#include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#endif
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape",
-                                                        sizeof(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape))) {
-       _anOtherObject = Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)((Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) ; 
-}
-Standard_Boolean NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape::~Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape() {}
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopTools_IndexedMapOfShape
-#define TheItem_hxx <TopTools_IndexedMapOfShape.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
deleted file mode 100644 (file)
index 4537152..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-#define _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-class TopoDS_Shape;
-class BOPTools_PaveBlock;
-class TopTools_ShapeMapHasher;
-class NMTTools_IndexedDataMapOfShapePaveBlock;
-
-
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock(const TopoDS_Shape& K1,const Standard_Integer K2,const BOPTools_PaveBlock& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
-  TopoDS_Shape& Key1() const;
-  Standard_Integer& Key2() const;
-  TCollection_MapNodePtr& Next2() const;
-  BOPTools_PaveBlock& Value() const;
-Standard_EXPORT ~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Shape myKey1;
-Standard_Integer myKey2;
-BOPTools_PaveBlock myValue;
-TCollection_MapNodePtr myNext2;
-
-
-};
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem BOPTools_PaveBlock
-#define TheItem_hxx <BOPTools_PaveBlock.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-
-#include <TCollection_IndexedDataMapNode.lxx>
-
-#undef TheKey
-#undef TheKey_hxx
-#undef TheItem
-#undef TheItem_hxx
-#undef Hasher
-#undef Hasher_hxx
-#undef TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_hxx
-#undef Handle_TCollection_IndexedDataMapNode
-#undef TCollection_IndexedDataMapNode_Type_
-#undef TCollection_IndexedDataMap
-#undef TCollection_IndexedDataMap_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx
deleted file mode 100644 (file)
index fe39f53..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapOfShapePaveBlock_HeaderFile
-#include <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-#endif
-NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock::~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock",
-                                                        sizeof(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock))) {
-       _anOtherObject = Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)((Handle(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) ; 
-}
-Standard_Boolean NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock::~Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock() {}
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem BOPTools_PaveBlock
-#define TheItem_hxx <BOPTools_PaveBlock.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-#include <TCollection_IndexedDataMapNode.gxx>
-
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx b/src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx
deleted file mode 100644 (file)
index f7e220d..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_IndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#define _NMTTools_IndexedDataMapOfIndexedMapOfInteger_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TColStd_IndexedMapOfInteger;
-class TColStd_MapIntegerHasher;
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_IndexedDataMapOfIndexedMapOfInteger  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfIndexedMapOfInteger(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   NMTTools_IndexedDataMapOfIndexedMapOfInteger& Assign(const NMTTools_IndexedDataMapOfIndexedMapOfInteger& Other) ;
-  NMTTools_IndexedDataMapOfIndexedMapOfInteger& operator =(const NMTTools_IndexedDataMapOfIndexedMapOfInteger& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~NMTTools_IndexedDataMapOfIndexedMapOfInteger()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const Standard_Integer& K,const TColStd_IndexedMapOfInteger& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const Standard_Integer& K,const TColStd_IndexedMapOfInteger& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const Standard_Integer& K) const;
-Standard_EXPORT  const Standard_Integer& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TColStd_IndexedMapOfInteger& FindFromIndex(const Standard_Integer I) const;
- const TColStd_IndexedMapOfInteger& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TColStd_IndexedMapOfInteger& ChangeFromIndex(const Standard_Integer I) ;
-  TColStd_IndexedMapOfInteger& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const Standard_Integer& K) const;
-Standard_EXPORT  const TColStd_IndexedMapOfInteger& FindFromKey(const Standard_Integer& K) const;
-Standard_EXPORT   TColStd_IndexedMapOfInteger& ChangeFromKey(const Standard_Integer& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfIndexedMapOfInteger(const NMTTools_IndexedDataMapOfIndexedMapOfInteger& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx
deleted file mode 100644 (file)
index 0c4124f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TColStd_IndexedMapOfInteger_HeaderFile
-#include <TColStd_IndexedMapOfInteger.hxx>
-#endif
-#ifndef _TColStd_MapIntegerHasher_HeaderFile
-#include <TColStd_MapIntegerHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_HeaderFile
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#endif
-
-#define TheKey Standard_Integer
-#define TheKey_hxx <Standard_Integer.hxx>
-#define TheItem TColStd_IndexedMapOfInteger
-#define TheItem_hxx <TColStd_IndexedMapOfInteger.hxx>
-#define Hasher TColStd_MapIntegerHasher
-#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfIndexedMapOfInteger_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfIndexedMapOfInteger
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx b/src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx
deleted file mode 100644 (file)
index 9a7265c..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#define _NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TopoDS_Shape;
-class TopTools_IndexedMapOfShape;
-class TopTools_ShapeMapHasher;
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfShapeIndexedMapOfShape(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& Assign(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& Other) ;
-  NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& operator =(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~NMTTools_IndexedDataMapOfShapeIndexedMapOfShape()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const TopoDS_Shape& K,const TopTools_IndexedMapOfShape& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const TopoDS_Shape& K,const TopTools_IndexedMapOfShape& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopoDS_Shape& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const TopTools_IndexedMapOfShape& FindFromIndex(const Standard_Integer I) const;
- const TopTools_IndexedMapOfShape& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   TopTools_IndexedMapOfShape& ChangeFromIndex(const Standard_Integer I) ;
-  TopTools_IndexedMapOfShape& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopTools_IndexedMapOfShape& FindFromKey(const TopoDS_Shape& K) const;
-Standard_EXPORT   TopTools_IndexedMapOfShape& ChangeFromKey(const TopoDS_Shape& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfShapeIndexedMapOfShape(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx
deleted file mode 100644 (file)
index 44fb795..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
-#include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#endif
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem TopTools_IndexedMapOfShape
-#define TheItem_hxx <TopTools_IndexedMapOfShape.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapeIndexedMapOfShape_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapeIndexedMapOfShape
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock.hxx b/src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock.hxx
deleted file mode 100644 (file)
index 7880c6c..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_IndexedDataMapOfShapePaveBlock_HeaderFile
-#define _NMTTools_IndexedDataMapOfShapePaveBlock_HeaderFile
-
-#ifndef _TCollection_BasicMap_HeaderFile
-#include <TCollection_BasicMap.hxx>
-#endif
-#ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-#include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_DomainError;
-class Standard_OutOfRange;
-class Standard_NoSuchObject;
-class TopoDS_Shape;
-class BOPTools_PaveBlock;
-class TopTools_ShapeMapHasher;
-class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_IndexedDataMapOfShapePaveBlock  : public TCollection_BasicMap {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfShapePaveBlock(const Standard_Integer NbBuckets = 1);
-Standard_EXPORT   NMTTools_IndexedDataMapOfShapePaveBlock& Assign(const NMTTools_IndexedDataMapOfShapePaveBlock& Other) ;
-  NMTTools_IndexedDataMapOfShapePaveBlock& operator =(const NMTTools_IndexedDataMapOfShapePaveBlock& Other) 
-{
-  return Assign(Other);
-}
-
-Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
-Standard_EXPORT   void Clear() ;
-~NMTTools_IndexedDataMapOfShapePaveBlock()
-{
-  Clear();
-}
-
-Standard_EXPORT   Standard_Integer Add(const TopoDS_Shape& K,const BOPTools_PaveBlock& I) ;
-Standard_EXPORT   void Substitute(const Standard_Integer I,const TopoDS_Shape& K,const BOPTools_PaveBlock& T) ;
-Standard_EXPORT   void RemoveLast() ;
-Standard_EXPORT   Standard_Boolean Contains(const TopoDS_Shape& K) const;
-Standard_EXPORT  const TopoDS_Shape& FindKey(const Standard_Integer I) const;
-Standard_EXPORT  const BOPTools_PaveBlock& FindFromIndex(const Standard_Integer I) const;
- const BOPTools_PaveBlock& operator ()(const Standard_Integer I) const
-{
-  return FindFromIndex(I);
-}
-
-Standard_EXPORT   BOPTools_PaveBlock& ChangeFromIndex(const Standard_Integer I) ;
-  BOPTools_PaveBlock& operator ()(const Standard_Integer I) 
-{
-  return ChangeFromIndex(I);
-}
-
-Standard_EXPORT   Standard_Integer FindIndex(const TopoDS_Shape& K) const;
-Standard_EXPORT  const BOPTools_PaveBlock& FindFromKey(const TopoDS_Shape& K) const;
-Standard_EXPORT   BOPTools_PaveBlock& ChangeFromKey(const TopoDS_Shape& K) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_IndexedDataMapOfShapePaveBlock(const NMTTools_IndexedDataMapOfShapePaveBlock& Other);
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx b/src/NMTTools/NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx
deleted file mode 100644 (file)
index 4f55ceb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-
-#ifndef _Standard_DomainError_HeaderFile
-#include <Standard_DomainError.hxx>
-#endif
-#ifndef _Standard_OutOfRange_HeaderFile
-#include <Standard_OutOfRange.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _TopTools_ShapeMapHasher_HeaderFile
-#include <TopTools_ShapeMapHasher.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
-#include <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#endif
-
-#define TheKey TopoDS_Shape
-#define TheKey_hxx <TopoDS_Shape.hxx>
-#define TheItem BOPTools_PaveBlock
-#define TheItem_hxx <BOPTools_PaveBlock.hxx>
-#define Hasher TopTools_ShapeMapHasher
-#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
-#define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
-#define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_()
-#define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapePaveBlock
-#define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-#include <TCollection_IndexedDataMap.gxx>
-
diff --git a/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cdl b/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cdl
deleted file mode 100644 (file)
index 1d59d74..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- File:       NMTTools_IteratorOfCoupleOfShape.cdl
--- Created:    Thu Dec  4 16:57:48 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class IteratorOfCoupleOfShape from NMTTools  
-    inherits IteratorOfCoupleOfShape from BOPTools
-
-       ---Purpose: 
-
-uses 
-    ShapeEnum from TopAbs, 
-    IndexedMapOfCoupleOfInteger from BOPTools, 
-    PShapesDataStructure from NMTDS, 
-    ShapesDataStructure from NMTDS 
-    
-raises
-    NoSuchObject from Standard
-
-is  
-    Create  
-       returns IteratorOfCoupleOfShape from NMTTools; 
-        
-    SetDS(me:out; 
-           pDS:PShapesDataStructure from NMTDS); 
-           
-    Initialize(me: in out;  
-           Type1: ShapeEnum from TopAbs;
-           Type2: ShapeEnum from TopAbs) 
-       raises NoSuchObject from Standard 
-       is redefined; 
-     
-    Current(me; Index1: in out Integer from Standard;
-               Index2: in out Integer from Standard;
-               WithSubShape: out Boolean from Standard) 
-       is redefined; 
-        
-    More(me)  
-       returns Boolean from Standard 
-       is redefined;
-     
-    DS(me) 
-      returns ShapesDataStructure from NMTDS; 
-    ---C++:return const & 
-          
-fields
-    myPNMTPS          :  PShapesDataStructure from NMTDS is protected; 
-    myMap             :  IndexedMapOfCoupleOfInteger from BOPTools is protected; 
-    myIndex1          :  Integer from Standard is protected;
-    myIndex2          :  Integer from Standard is protected;
-    myWithSubShapeFlag:  Boolean from Standard is protected; 
-    
-end IteratorOfCoupleOfShape;
diff --git a/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx b/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx
deleted file mode 100644 (file)
index 155b9b8..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File:       NMTTools_IteratorOfCoupleOfShape.cxx
-// Created:    Thu Dec  4 17:00:03 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_IteratorOfCoupleOfShape.ixx>
-#include <Standard_NoSuchObject.hxx>
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <BOPTools_CoupleOfInteger.hxx>
-#include <NMTDS_CArray1OfIndexRange.hxx>
-#include <BooleanOperations_ShapesDataStructure.hxx>
-
-//=======================================================================
-// function: 
-// purpose: 
-//=======================================================================
-  NMTTools_IteratorOfCoupleOfShape::NMTTools_IteratorOfCoupleOfShape()
-:
-  BOPTools_IteratorOfCoupleOfShape()
-{
-  myIndex1=0;
-  myIndex2=0;
-  myWithSubShapeFlag=Standard_False;
-}
-//=======================================================================
-// function: SetDS
-// purpose: 
-//=======================================================================
-  void NMTTools_IteratorOfCoupleOfShape::SetDS(const NMTDS_PShapesDataStructure& PDS)
-{
-  myPNMTPS=PDS;
-  SetDataStructure(myPNMTPS);
-}
-//=======================================================================
-// function: Initialize
-// purpose: 
-//=======================================================================
-  void NMTTools_IteratorOfCoupleOfShape::Initialize(const TopAbs_ShapeEnum Type1,
-                                                   const TopAbs_ShapeEnum Type2)
-{
-  if(myPDS==NULL) {
-    Standard_NoSuchObject::Raise("NMTTools_IteratorOfCoupleOfShape::Initialize: myPDS==NULL");
-  }
-  //
-  myType1 = Type1;
-  myType2 = Type2;
-  myCurrentIndex1 = -1;
-  myCurrentIndex2 = -1;
-  //
-  myFirstLowerIndex=1;
-  myFirstUpperIndex=myPNMTPS->NumberOfShapesOfTheObject();
-  mySecondLowerIndex=myFirstUpperIndex+1;
-  mySecondUpperIndex=myFirstUpperIndex+myPNMTPS->NumberOfShapesOfTheTool();
-  //
-  Standard_Integer n1, n2, aIR1, aIR2;//, aN1, aN2, aNS;
-  //
-  const NMTDS_CArray1OfIndexRange& aRanges=myPNMTPS->Ranges();
-  //
-  //aNS=myPNMTPS->NumberOfShapesOfTheObject(); 
-  myIndex1=0;
-  myIndex2=0;
-  myWithSubShapeFlag=Standard_False;
-  //
-  myListOfCouple.Clear();
-  myMap.Clear();
-  //
-  NextP();
-  for (; MoreP(); NextP()) {
-    CurrentP(n1, n2);
-    //
-    aIR1=myPNMTPS->ShapeRangeIndex(n1);
-    aIR2=myPNMTPS->ShapeRangeIndex(n2);
-    if (aIR1==aIR2){
-      continue;
-    }
-    //
-    BOPTools_CoupleOfInteger aCouple(n1, n2);
-    myListOfCouple.Append(aCouple);
-    //
-    /*
-    aN1=(n1>aNS)? n1-aNS : n1;
-    aN2=(n2>aNS)? n2-aNS : n2;
-    BOPTools_CoupleOfInteger aCoupleX(aN1, aN2);
-    myMap.Add(aCoupleX);
-    */
-  }
-  myIterator.Initialize(myListOfCouple);
-} 
-//=======================================================================
-// function: Current
-// purpose: 
-//=======================================================================
-  void NMTTools_IteratorOfCoupleOfShape::Current(Standard_Integer& aIndex1,
-                                                Standard_Integer& aIndex2,
-                                                Standard_Boolean& aWithSubShape) const
-{
-  aIndex1=myIndex1;
-  aIndex2=myIndex2;
-  aWithSubShape=myWithSubShapeFlag;
-}
-//=======================================================================
-// function: More
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_IteratorOfCoupleOfShape::More()const
-{
-  Standard_Boolean  bMore, bWithSubShape;
-  Standard_Integer n1, n2, aNS, aN1, aN2;
-  BOPTools_CoupleOfInteger aCoupleX;
-  NMTTools_IteratorOfCoupleOfShape* pIt=(NMTTools_IteratorOfCoupleOfShape*)this;
-  //
-  aNS=myPNMTPS->NumberOfShapesOfTheObject();
-  pIt->myIndex1=0;
-  pIt->myIndex2=0;
-  pIt->myWithSubShapeFlag=Standard_False;
-  //
-  while (1) {
-    bMore=myIterator.More();
-    if (!bMore) {
-      break;
-    }
-    //
-    BOPTools_IteratorOfCoupleOfShape::Current(n1, n2, bWithSubShape);
-    aN1=(n1>aNS)? n1-aNS : n1;
-    aN2=(n2>aNS)? n2-aNS : n2;
-    aCoupleX.SetCouple(aN1, aN2);
-    if (!myMap.Contains(aCoupleX)) {
-      pIt->myMap.Add(aCoupleX);
-      //
-      pIt->myIndex1=aN1;
-      pIt->myIndex2=aN2;
-      pIt->myWithSubShapeFlag=bWithSubShape;
-      break;
-    }
-    //
-    pIt->Next();
-  }
-  return bMore;
-} 
diff --git a/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx b/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.hxx
deleted file mode 100644 (file)
index bcd6d0e..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
-#define _NMTTools_IteratorOfCoupleOfShape_HeaderFile
-
-#ifndef _NMTDS_PShapesDataStructure_HeaderFile
-#include <NMTDS_PShapesDataStructure.hxx>
-#endif
-#ifndef _BOPTools_IndexedMapOfCoupleOfInteger_HeaderFile
-#include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _BOPTools_IteratorOfCoupleOfShape_HeaderFile
-#include <BOPTools_IteratorOfCoupleOfShape.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-class Standard_NoSuchObject;
-class NMTDS_ShapesDataStructure;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_IteratorOfCoupleOfShape  : public BOPTools_IteratorOfCoupleOfShape {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_IteratorOfCoupleOfShape();
-Standard_EXPORT   void SetDS(const NMTDS_PShapesDataStructure& pDS) ;
-Standard_EXPORT virtual  void Initialize(const TopAbs_ShapeEnum Type1,const TopAbs_ShapeEnum Type2) ;
-Standard_EXPORT virtual  void Current(Standard_Integer& Index1,Standard_Integer& Index2,Standard_Boolean& WithSubShape) const;
-Standard_EXPORT virtual  Standard_Boolean More() const;
-Standard_EXPORT  const NMTDS_ShapesDataStructure& DS() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-NMTDS_PShapesDataStructure myPNMTPS;
-BOPTools_IndexedMapOfCoupleOfInteger myMap;
-Standard_Integer myIndex1;
-Standard_Integer myIndex2;
-Standard_Boolean myWithSubShapeFlag;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.ixx b/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.ixx
deleted file mode 100644 (file)
index f83e9fb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_IteratorOfCoupleOfShape.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.jxx b/src/NMTTools/NMTTools_IteratorOfCoupleOfShape.jxx
deleted file mode 100644 (file)
index de09396..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTDS_ShapesDataStructure_HeaderFile
-#include <NMTDS_ShapesDataStructure.hxx>
-#endif
-#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
-#include <NMTTools_IteratorOfCoupleOfShape.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock.hxx b/src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock.hxx
deleted file mode 100644 (file)
index 3620330..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
-#define _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoMoreObject;
-class Standard_NoSuchObject;
-class NMTTools_ListOfCommonBlock;
-class NMTTools_CommonBlock;
-class NMTTools_ListNodeOfListOfCommonBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_ListIteratorOfListOfCommonBlock  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_ListIteratorOfListOfCommonBlock();
-Standard_EXPORT NMTTools_ListIteratorOfListOfCommonBlock(const NMTTools_ListOfCommonBlock& L);
-Standard_EXPORT   void Initialize(const NMTTools_ListOfCommonBlock& L) ;
-  Standard_Boolean More() const;
-Standard_EXPORT   void Next() ;
-Standard_EXPORT   NMTTools_CommonBlock& Value() const;
-
-
-friend class NMTTools_ListOfCommonBlock;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address current;
-Standard_Address previous;
-
-
-};
-
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-
-#include <TCollection_ListIterator.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock_0.cxx b/src/NMTTools/NMTTools_ListIteratorOfListOfCommonBlock_0.cxx
deleted file mode 100644 (file)
index 10f5397..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-
-#ifndef _Standard_NoMoreObject_HeaderFile
-#include <Standard_NoMoreObject.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#include <NMTTools_ListOfCommonBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#include <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#endif
-
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-#include <TCollection_ListIterator.gxx>
-
diff --git a/src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape.hxx b/src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape.hxx
deleted file mode 100644 (file)
index 3430c79..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
-#define _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoMoreObject;
-class Standard_NoSuchObject;
-class NMTTools_ListOfCoupleOfShape;
-class NMTTools_CoupleOfShape;
-class NMTTools_ListNodeOfListOfCoupleOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_ListIteratorOfListOfCoupleOfShape  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_ListIteratorOfListOfCoupleOfShape();
-Standard_EXPORT NMTTools_ListIteratorOfListOfCoupleOfShape(const NMTTools_ListOfCoupleOfShape& L);
-Standard_EXPORT   void Initialize(const NMTTools_ListOfCoupleOfShape& L) ;
-  Standard_Boolean More() const;
-Standard_EXPORT   void Next() ;
-Standard_EXPORT   NMTTools_CoupleOfShape& Value() const;
-
-
-friend class NMTTools_ListOfCoupleOfShape;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-Standard_Address current;
-Standard_Address previous;
-
-
-};
-
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-
-#include <TCollection_ListIterator.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx b/src/NMTTools/NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx
deleted file mode 100644 (file)
index 9cba933..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-
-#ifndef _Standard_NoMoreObject_HeaderFile
-#include <Standard_NoMoreObject.hxx>
-#endif
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListOfCoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#include <NMTTools_CoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#endif
-
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-#include <TCollection_ListIterator.gxx>
-
diff --git a/src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock.hxx b/src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock.hxx
deleted file mode 100644 (file)
index 88cf585..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#define _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#endif
-
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class NMTTools_CommonBlock;
-class NMTTools_ListOfCommonBlock;
-class NMTTools_ListIteratorOfListOfCommonBlock;
-
-
-class NMTTools_ListNodeOfListOfCommonBlock : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTTools_ListNodeOfListOfCommonBlock(const NMTTools_CommonBlock& I,const TCollection_MapNodePtr& n);
-  NMTTools_CommonBlock& Value() const;
-Standard_EXPORT ~NMTTools_ListNodeOfListOfCommonBlock();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTTools_ListNodeOfListOfCommonBlock_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-NMTTools_CommonBlock myValue;
-
-
-};
-
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-
-#include <TCollection_ListNode.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock_0.cxx b/src/NMTTools/NMTTools_ListNodeOfListOfCommonBlock_0.cxx
deleted file mode 100644 (file)
index ad48895..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#include <NMTTools_ListOfCommonBlock.hxx>
-#endif
-#ifndef _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#endif
-NMTTools_ListNodeOfListOfCommonBlock::~NMTTools_ListNodeOfListOfCommonBlock() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTTools_ListNodeOfListOfCommonBlock_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTTools_ListNodeOfListOfCommonBlock",
-                                                        sizeof(NMTTools_ListNodeOfListOfCommonBlock),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTTools_ListNodeOfListOfCommonBlock) Handle(NMTTools_ListNodeOfListOfCommonBlock)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTTools_ListNodeOfListOfCommonBlock) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTTools_ListNodeOfListOfCommonBlock))) {
-       _anOtherObject = Handle(NMTTools_ListNodeOfListOfCommonBlock)((Handle(NMTTools_ListNodeOfListOfCommonBlock)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTTools_ListNodeOfListOfCommonBlock::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTTools_ListNodeOfListOfCommonBlock) ; 
-}
-Standard_Boolean NMTTools_ListNodeOfListOfCommonBlock::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTTools_ListNodeOfListOfCommonBlock) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTTools_ListNodeOfListOfCommonBlock::~Handle_NMTTools_ListNodeOfListOfCommonBlock() {}
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-#include <TCollection_ListNode.gxx>
-
diff --git a/src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape.hxx b/src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape.hxx
deleted file mode 100644 (file)
index cde01ee..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// File generated by CPPExt (Transient)
-//
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#define _NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#endif
-
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#include <NMTTools_CoupleOfShape.hxx>
-#endif
-#ifndef _TCollection_MapNode_HeaderFile
-#include <TCollection_MapNode.hxx>
-#endif
-#ifndef _TCollection_MapNodePtr_HeaderFile
-#include <TCollection_MapNodePtr.hxx>
-#endif
-class NMTTools_CoupleOfShape;
-class NMTTools_ListOfCoupleOfShape;
-class NMTTools_ListIteratorOfListOfCoupleOfShape;
-
-
-class NMTTools_ListNodeOfListOfCoupleOfShape : public TCollection_MapNode {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-NMTTools_ListNodeOfListOfCoupleOfShape(const NMTTools_CoupleOfShape& I,const TCollection_MapNodePtr& n);
-  NMTTools_CoupleOfShape& Value() const;
-Standard_EXPORT ~NMTTools_ListNodeOfListOfCoupleOfShape();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& NMTTools_ListNodeOfListOfCoupleOfShape_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-NMTTools_CoupleOfShape myValue;
-
-
-};
-
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-
-#include <TCollection_ListNode.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx b/src/NMTTools/NMTTools_ListNodeOfListOfCoupleOfShape_0.cxx
deleted file mode 100644 (file)
index 296236f..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Transient)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#include <NMTTools_CoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListOfCoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#endif
-NMTTools_ListNodeOfListOfCoupleOfShape::~NMTTools_ListNodeOfListOfCoupleOfShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("NMTTools_ListNodeOfListOfCoupleOfShape",
-                                                        sizeof(NMTTools_ListNodeOfListOfCoupleOfShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(NMTTools_ListNodeOfListOfCoupleOfShape) Handle(NMTTools_ListNodeOfListOfCoupleOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(NMTTools_ListNodeOfListOfCoupleOfShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape))) {
-       _anOtherObject = Handle(NMTTools_ListNodeOfListOfCoupleOfShape)((Handle(NMTTools_ListNodeOfListOfCoupleOfShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& NMTTools_ListNodeOfListOfCoupleOfShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) ; 
-}
-Standard_Boolean NMTTools_ListNodeOfListOfCoupleOfShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(NMTTools_ListNodeOfListOfCoupleOfShape) == AType || TCollection_MapNode::IsKind(AType)); 
-}
-Handle_NMTTools_ListNodeOfListOfCoupleOfShape::~Handle_NMTTools_ListNodeOfListOfCoupleOfShape() {}
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-#include <TCollection_ListNode.gxx>
-
diff --git a/src/NMTTools/NMTTools_ListOfCommonBlock.hxx b/src/NMTTools/NMTTools_ListOfCommonBlock.hxx
deleted file mode 100644 (file)
index 372139c..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#define _NMTTools_ListOfCommonBlock_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoSuchObject;
-class NMTTools_ListIteratorOfListOfCommonBlock;
-class NMTTools_CommonBlock;
-class NMTTools_ListNodeOfListOfCommonBlock;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_ListOfCommonBlock  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_ListOfCommonBlock();
-Standard_EXPORT   void Assign(const NMTTools_ListOfCommonBlock& Other) ;
-  void operator=(const NMTTools_ListOfCommonBlock& Other) 
-{
-  Assign(Other);
-}
-
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   void Clear() ;
-~NMTTools_ListOfCommonBlock()
-{
-  Clear();
-}
-
-  Standard_Boolean IsEmpty() const;
-Standard_EXPORT   void Prepend(const NMTTools_CommonBlock& I) ;
-Standard_EXPORT   void Prepend(const NMTTools_CommonBlock& I,NMTTools_ListIteratorOfListOfCommonBlock& theIt) ;
-Standard_EXPORT   void Prepend(NMTTools_ListOfCommonBlock& Other) ;
-Standard_EXPORT   void Append(const NMTTools_CommonBlock& I) ;
-Standard_EXPORT   void Append(const NMTTools_CommonBlock& I,NMTTools_ListIteratorOfListOfCommonBlock& theIt) ;
-Standard_EXPORT   void Append(NMTTools_ListOfCommonBlock& Other) ;
-Standard_EXPORT   NMTTools_CommonBlock& First() const;
-Standard_EXPORT   NMTTools_CommonBlock& Last() const;
-Standard_EXPORT   void RemoveFirst() ;
-Standard_EXPORT   void Remove(NMTTools_ListIteratorOfListOfCommonBlock& It) ;
-Standard_EXPORT   void InsertBefore(const NMTTools_CommonBlock& I,NMTTools_ListIteratorOfListOfCommonBlock& It) ;
-Standard_EXPORT   void InsertBefore(NMTTools_ListOfCommonBlock& Other,NMTTools_ListIteratorOfListOfCommonBlock& It) ;
-Standard_EXPORT   void InsertAfter(const NMTTools_CommonBlock& I,NMTTools_ListIteratorOfListOfCommonBlock& It) ;
-Standard_EXPORT   void InsertAfter(NMTTools_ListOfCommonBlock& Other,NMTTools_ListIteratorOfListOfCommonBlock& It) ;
-
-
-friend class NMTTools_ListIteratorOfListOfCommonBlock;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_ListOfCommonBlock(const NMTTools_ListOfCommonBlock& Other);
-
-
- // Fields PRIVATE
- //
-Standard_Address myFirst;
-Standard_Address myLast;
-
-
-};
-
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-
-#include <TCollection_List.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListOfCommonBlock_0.cxx b/src/NMTTools/NMTTools_ListOfCommonBlock_0.cxx
deleted file mode 100644 (file)
index d90f47b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListOfCommonBlock.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTTools_ListIteratorOfListOfCommonBlock_HeaderFile
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _NMTTools_ListNodeOfListOfCommonBlock_HeaderFile
-#include <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#endif
-
-#define Item NMTTools_CommonBlock
-#define Item_hxx <NMTTools_CommonBlock.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCommonBlock.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCommonBlock
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCommonBlock
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCommonBlock_Type_()
-#define TCollection_List NMTTools_ListOfCommonBlock
-#define TCollection_List_hxx <NMTTools_ListOfCommonBlock.hxx>
-#include <TCollection_List.gxx>
-
diff --git a/src/NMTTools/NMTTools_ListOfCoupleOfShape.hxx b/src/NMTTools/NMTTools_ListOfCoupleOfShape.hxx
deleted file mode 100644 (file)
index f92f994..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
-#define _NMTTools_ListOfCoupleOfShape_HeaderFile
-
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Handle_NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#include <Handle_NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class Standard_NoSuchObject;
-class NMTTools_ListIteratorOfListOfCoupleOfShape;
-class NMTTools_CoupleOfShape;
-class NMTTools_ListNodeOfListOfCoupleOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_ListOfCoupleOfShape  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_ListOfCoupleOfShape();
-Standard_EXPORT   void Assign(const NMTTools_ListOfCoupleOfShape& Other) ;
-  void operator=(const NMTTools_ListOfCoupleOfShape& Other) 
-{
-  Assign(Other);
-}
-
-Standard_EXPORT   Standard_Integer Extent() const;
-Standard_EXPORT   void Clear() ;
-~NMTTools_ListOfCoupleOfShape()
-{
-  Clear();
-}
-
-  Standard_Boolean IsEmpty() const;
-Standard_EXPORT   void Prepend(const NMTTools_CoupleOfShape& I) ;
-Standard_EXPORT   void Prepend(const NMTTools_CoupleOfShape& I,NMTTools_ListIteratorOfListOfCoupleOfShape& theIt) ;
-Standard_EXPORT   void Prepend(NMTTools_ListOfCoupleOfShape& Other) ;
-Standard_EXPORT   void Append(const NMTTools_CoupleOfShape& I) ;
-Standard_EXPORT   void Append(const NMTTools_CoupleOfShape& I,NMTTools_ListIteratorOfListOfCoupleOfShape& theIt) ;
-Standard_EXPORT   void Append(NMTTools_ListOfCoupleOfShape& Other) ;
-Standard_EXPORT   NMTTools_CoupleOfShape& First() const;
-Standard_EXPORT   NMTTools_CoupleOfShape& Last() const;
-Standard_EXPORT   void RemoveFirst() ;
-Standard_EXPORT   void Remove(NMTTools_ListIteratorOfListOfCoupleOfShape& It) ;
-Standard_EXPORT   void InsertBefore(const NMTTools_CoupleOfShape& I,NMTTools_ListIteratorOfListOfCoupleOfShape& It) ;
-Standard_EXPORT   void InsertBefore(NMTTools_ListOfCoupleOfShape& Other,NMTTools_ListIteratorOfListOfCoupleOfShape& It) ;
-Standard_EXPORT   void InsertAfter(const NMTTools_CoupleOfShape& I,NMTTools_ListIteratorOfListOfCoupleOfShape& It) ;
-Standard_EXPORT   void InsertAfter(NMTTools_ListOfCoupleOfShape& Other,NMTTools_ListIteratorOfListOfCoupleOfShape& It) ;
-
-
-friend class NMTTools_ListIteratorOfListOfCoupleOfShape;
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT NMTTools_ListOfCoupleOfShape(const NMTTools_ListOfCoupleOfShape& Other);
-
-
- // Fields PRIVATE
- //
-Standard_Address myFirst;
-Standard_Address myLast;
-
-
-};
-
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-
-#include <TCollection_List.lxx>
-
-#undef Item
-#undef Item_hxx
-#undef TCollection_ListNode
-#undef TCollection_ListNode_hxx
-#undef TCollection_ListIterator
-#undef TCollection_ListIterator_hxx
-#undef Handle_TCollection_ListNode
-#undef TCollection_ListNode_Type_
-#undef TCollection_List
-#undef TCollection_List_hxx
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_ListOfCoupleOfShape_0.cxx b/src/NMTTools/NMTTools_ListOfCoupleOfShape_0.cxx
deleted file mode 100644 (file)
index 047fbfa..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_ListOfCoupleOfShape.hxx>
-
-#ifndef _Standard_NoSuchObject_HeaderFile
-#include <Standard_NoSuchObject.hxx>
-#endif
-#ifndef _NMTTools_ListIteratorOfListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_CoupleOfShape_HeaderFile
-#include <NMTTools_CoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_ListNodeOfListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#endif
-
-#define Item NMTTools_CoupleOfShape
-#define Item_hxx <NMTTools_CoupleOfShape.hxx>
-#define TCollection_ListNode NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_hxx <NMTTools_ListNodeOfListOfCoupleOfShape.hxx>
-#define TCollection_ListIterator NMTTools_ListIteratorOfListOfCoupleOfShape
-#define TCollection_ListIterator_hxx <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#define Handle_TCollection_ListNode Handle_NMTTools_ListNodeOfListOfCoupleOfShape
-#define TCollection_ListNode_Type_() NMTTools_ListNodeOfListOfCoupleOfShape_Type_()
-#define TCollection_List NMTTools_ListOfCoupleOfShape
-#define TCollection_List_hxx <NMTTools_ListOfCoupleOfShape.hxx>
-#include <TCollection_List.gxx>
-
diff --git a/src/NMTTools/NMTTools_PCurveMaker.cdl b/src/NMTTools/NMTTools_PCurveMaker.cdl
deleted file mode 100644 (file)
index 0211e9d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- File:       NMTTools_PCurveMaker.cdl
--- Created:     
--- Author:     Peter KURNEV
---             <pkv@irinox>
-
-class PCurveMaker from NMTTools 
-
-       ---Purpose:  
-       --  Class provides computation p-curves for the edges and theirs  
-        --- split parts        
-
-uses 
-    PDSFiller from NMTTools
-    
-is   
-    Create (aFiller:out PDSFiller from NMTTools)  
-       returns PCurveMaker from NMTTools; 
-       ---Purpose:  
-       --- Constructor 
-       ---
-    Do(me:out);   
-       ---Purpose: 
-       --- Launch the processor   
-       ---
-    IsDone(me) 
-       returns Boolean from Standard;  
-       ---Purpose:  
-       --- Returns TRUE if Ok       
-       ---
-       
-fields  
-    myDSFiller: PDSFiller from NMTTools        is protected;
-    myIsDone  : Boolean   from Standard                is protected;   
-    
-end PCurveMaker;
diff --git a/src/NMTTools/NMTTools_PCurveMaker.cxx b/src/NMTTools/NMTTools_PCurveMaker.cxx
deleted file mode 100644 (file)
index aa85b1f..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// File:       NMTTools_PCurveMaker.cxx
-// Created:    
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PCurveMaker.ixx>
-
-#include <gp_Pnt2d.hxx>
-
-#include <Precision.hxx>
-
-#include <Geom_Curve.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <Geom2d_Curve.hxx>
-#include <GeomAdaptor_Curve.hxx>
-#include <GeomAdaptor_HCurve.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <TopExp.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepAdaptor_HSurface.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <NMTTools_DSFiller.hxx>
-
-#include <IntTools_Curve.hxx>
-
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_Tools2D.hxx>
-#include <NMTTools_PaveFiller.hxx>
-
-
-//=======================================================================
-// function: NMTTools_PCurveMaker
-// purpose: 
-//=======================================================================
-  NMTTools_PCurveMaker::NMTTools_PCurveMaker(NMTTools_PDSFiller& pDSFiller)
-:
-  myIsDone(Standard_False)
-{
-  myDSFiller=pDSFiller;
-}
-//=======================================================================
-// function: IsDone
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_PCurveMaker::IsDone() const
-{
-  return myIsDone;
-}
-//=======================================================================
-// function: Do
-// purpose: 
-//=======================================================================
-  void NMTTools_PCurveMaker::Do()
-{
-  Standard_Integer i, aNb,  nF1, nF2, nE;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  TopoDS_Face aF1FWD, aF2FWD;
-  //
-  NMTTools_PaveFiller *pFiller=(NMTTools_PaveFiller*) &(myDSFiller->PaveFiller());
-  NMTDS_ShapesDataStructure *pDS=pFiller->DS();
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=(pFiller->InterfPool())->SSInterferences();
-  //
-  aNb=aFFs.Extent();
-  for (i=1; i<=aNb; ++i) {
-    BOPTools_SSInterference& aFF=aFFs(i);
-    // Faces
-    aFF.Indices(nF1, nF2);
-    const TopoDS_Face& aF1=TopoDS::Face(pDS->Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(pDS->Shape(nF2));
-    //
-    // 1.Forwarding the Faces
-    aF1FWD=aF1;
-    aF1FWD.Orientation(TopAbs_FORWARD);
-    aF2FWD=aF2;
-    aF2FWD.Orientation(TopAbs_FORWARD);
-    //
-    // 2. In, On parts processing
-    const BOPTools_ListOfPaveBlock& aLPBInOn=aFF.PaveBlocks();
-    anIt.Initialize(aLPBInOn);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB=anIt.Value();
-      const BOPTools_PaveBlock& aPBInOn=pFiller->RealPaveBlock(aPB);
-      //
-      nE=aPBInOn.Edge();
-      const TopoDS_Edge& aE=TopoDS::Edge(pDS->Shape(nE));
-      
-      BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aE, aF1FWD);
-      BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aE, aF2FWD);
-    }
-  } //  for (i=1; i<=aNb; i++)
-  myIsDone=Standard_True;
-}
-
diff --git a/src/NMTTools/NMTTools_PCurveMaker.hxx b/src/NMTTools/NMTTools_PCurveMaker.hxx
deleted file mode 100644 (file)
index 5a53978..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_PCurveMaker_HeaderFile
-#define _NMTTools_PCurveMaker_HeaderFile
-
-#ifndef _NMTTools_PDSFiller_HeaderFile
-#include <NMTTools_PDSFiller.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_PCurveMaker  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_PCurveMaker(NMTTools_PDSFiller& aFiller);
-Standard_EXPORT   void Do() ;
-Standard_EXPORT   Standard_Boolean IsDone() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-NMTTools_PDSFiller myDSFiller;
-Standard_Boolean myIsDone;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_PCurveMaker.ixx b/src/NMTTools/NMTTools_PCurveMaker.ixx
deleted file mode 100644 (file)
index 28e9ca5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_PCurveMaker.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_PCurveMaker.jxx b/src/NMTTools/NMTTools_PCurveMaker.jxx
deleted file mode 100644 (file)
index 48e3458..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifndef _NMTTools_PCurveMaker_HeaderFile
-#include <NMTTools_PCurveMaker.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_PDSFiller.hxx b/src/NMTTools/NMTTools_PDSFiller.hxx
deleted file mode 100644 (file)
index 5cc9528..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// File generated by CPPExt (Pointer)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_PDSFiller_HeaderFile
-#define _NMTTools_PDSFiller_HeaderFile
-
-class NMTTools_DSFiller;
-
-typedef NMTTools_DSFiller* NMTTools_PDSFiller;
-
-#endif
diff --git a/src/NMTTools/NMTTools_PPaveFiller.hxx b/src/NMTTools/NMTTools_PPaveFiller.hxx
deleted file mode 100644 (file)
index eddf3ed..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// File generated by CPPExt (Pointer)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#ifndef _NMTTools_PPaveFiller_HeaderFile
-#define _NMTTools_PPaveFiller_HeaderFile
-
-class NMTTools_PaveFiller;
-
-typedef NMTTools_PaveFiller* NMTTools_PPaveFiller;
-
-#endif
diff --git a/src/NMTTools/NMTTools_PaveFiller.cdl b/src/NMTTools/NMTTools_PaveFiller.cdl
deleted file mode 100644 (file)
index e2a3394..0000000
+++ /dev/null
@@ -1,441 +0,0 @@
--- File:       NMTTools_PaveFiller.cdl
--- Created:    Fri Dec  5 14:35:00 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class PaveFiller from NMTTools 
-
-       ---Purpose: 
-
-uses    
-    ListOfInteger from TColStd,
-    Pnt from gp,
-    ShapeEnum  from  TopAbs, 
-    Vertex     from  TopoDS, 
-    Face       from  TopoDS, 
-    
-    Context     from IntTools, 
-    ShrunkRange from IntTools,
-      
-    IndexedDataMapOfShapeInteger from BooleanOperations, 
-    
-    InterferencePool  from BOPTools,
-    PInterferencePool from BOPTools, 
-    PavePool          from BOPTools, 
-    PaveBlock         from BOPTools,
-    ListOfPaveBlock   from BOPTools,
-    SplitShapesPool   from BOPTools, 
-    Pave              from BOPTools, 
-    PaveSet           from BOPTools, 
-    Curve             from BOPTools, 
-    SSInterference    from BOPTools, 
-    
-    IDMapOfPaveBlockIMapOfPaveBlock from BOPTools, 
-    IDMapOfPaveBlockIMapOfInteger   from BOPTools, 
-    SSIntersectionAttribute         from BOPTools, 
-    
-    CommonBlockPool         from NMTTools, 
-    CommonBlock             from NMTTools, 
-    ListOfCommonBlock       from NMTTools,
-    IteratorOfCoupleOfShape from NMTTools,
-    
-    ShapesDataStructure  from NMTDS, 
-    PShapesDataStructure from NMTDS 
-    
---raises
-
-is 
-    Create 
-       returns PaveFiller from NMTTools; 
-      
-    Create(aIP:InterferencePool from BOPTools)
-       returns PaveFiller from NMTTools; 
-     
-    Destroy (me: in out) 
-       is  virtual;    
-    ---C++: alias "Standard_EXPORT virtual ~NMTTools_PaveFiller(){Destroy();}"
-    -- 
-    --  Selectors/Modifiers
-    SetInterferencePool(me:out; 
-           aIP:InterferencePool from BOPTools);
-    
-    InterfPool(me:out) 
-       returns PInterferencePool from BOPTools; 
-    --  
-    --  Perform the algo  
-    Init       (me:out) 
-       is protected; 
-        
-    Perform    (me:out) 
-       is virtual;   
-        
-    PerformVV  (me:out) 
-       is virtual protected;  
-     
-    PerformVE  (me:out) 
-       is virtual protected; 
-     
-    PerformVF  (me:out) 
-       is virtual protected; 
-
-    PerformEE (me:out) 
-       is virtual protected; 
-      
-    PerformEF (me:out) 
-       is virtual protected; 
-   
-    PerformFF (me:out) 
-       is virtual protected; 
-     
-    MakeSplitEdges(me:out) 
-       is protected;   
-     
-    PreparePaveBlocks (me:out; 
-           aType1: ShapeEnum  from  TopAbs; 
-           aType2: ShapeEnum  from  TopAbs) 
-       is virtual protected; 
-     
-    CorrectShrunkRanges(me:out; 
-           aSide:  Integer  from  Standard; 
-           aPave:  Pave from BOPTools; 
-           aSR  :  out ShrunkRange  from  IntTools)
-       is protected; 
-        
-    PreparePaveBlocks (me:out;   
-           anE:Integer from Standard) 
-       is virtual protected;             
-                      
-    PerformNewVertices  (me:out) 
-       is virtual protected;  
-     
-    PrepareEdges  (me:out) 
-       is virtual protected;  
-     
-    SortTypes      (me;   
-           anInd1:in out Integer from Standard; 
-            anInd2:in out Integer from Standard) 
-       is protected; 
-     
-    ExpectedPoolLength(me) 
-       returns  Integer from Standard 
-       is protected;  
-    --
-    -- Query section 
-    IsDone(me) 
-       returns  Boolean from Standard; 
-
-    DS(me:out) 
-       returns PShapesDataStructure from NMTDS;  
-        
-    Context(me) 
-        returns Context from IntTools; 
-       ---C++:return const &   
-
-    ChangeContext(me:out) 
-        returns Context from IntTools;  
-       ---C++:return & 
-
-    PavePool(me) 
-       returns  PavePool from BOPTools; 
-       ---C++:return const &    
-
-    ChangePavePool(me:out) 
-       returns  PavePool from BOPTools; 
-       ---C++:return & 
-
-    CommonBlockPool(me) 
-       returns  CommonBlockPool from NMTTools; 
-       ---C++:return const &    
-
-    ChangeCommonBlockPool(me:out) 
-       returns  CommonBlockPool from NMTTools; 
-       ---C++:return & 
-
-    SplitShapesPool(me)  
-       returns  SplitShapesPool from BOPTools;
-       ---C++:return const &   
-
-    ChangeSplitShapesPool(me:out)  
-       returns  SplitShapesPool from BOPTools;
-       ---C++:return  &        
-     
-    FindSDVertex (me; 
-                   nV:  Integer  from  Standard) 
-       returns Integer from Standard; 
-
-    IsSuccesstorsComputed (me;  
-           iF1:Integer from  Standard; 
-           iF2:Integer from  Standard) 
-       returns  Boolean from Standard 
-       is protected;  
-
-    IsBlocksCoinside (me; 
-           aPB1:PaveBlock from BOPTools;
-           aPB2:PaveBlock from BOPTools) 
-       returns Boolean from Standard 
-       is protected; 
-     
-    RefinePavePool(me:out) 
-       is protected;  
-
-    CheckFacePaves(me:out;  
-            aV : Vertex  from TopoDS;  
-            nF:  Integer from Standard) 
-       returns Integer from Standard 
-       is protected;  
-        
-    ReplaceCommonBlocks (me:out; 
-           aLCB: ListOfCommonBlock from NMTTools) 
-        is protected; 
-     
-    RemoveCommonBlocks (me:out; 
-           aLCB: ListOfCommonBlock from NMTTools) 
-        is protected;
-     
-    SplitCommonBlocks (me:out; 
-           aLCB: ListOfCommonBlock from NMTTools) 
-        is protected;  
-
-    SplitCommonBlock (me:out; 
-           aCB : CommonBlock from NMTTools; 
-           aLCB: out ListOfCommonBlock from NMTTools) 
-        is protected; 
-
-    EECommonBlocks(me:out; 
-           aM:IDMapOfPaveBlockIMapOfPaveBlock from BOPTools) 
-       is protected; 
-     
-    EFCommonBlocks(me:out;  
-            aMapCB:IDMapOfPaveBlockIMapOfInteger from BOPTools) 
-        is protected;  
-        
-    EENewVertices (me:out;  
-           aM:IndexedDataMapOfShapeInteger from BooleanOperations) 
-       is protected;  
-
-    EENewVertices (me:out;  
-           aV:Vertex from TopoDS;  
-           aM:IndexedDataMapOfShapeInteger from BooleanOperations) 
-       is protected; 
-     
-    EFNewVertices (me:out; 
-           aM:IndexedDataMapOfShapeInteger from BooleanOperations) 
-       is protected; 
-     
-    EFNewVertices (me:out; 
-           aV:Vertex from TopoDS;  
-           aM:IndexedDataMapOfShapeInteger from BooleanOperations) 
-       is protected;   
-        
-    UpdateCommonBlocks(me:out) 
-       is protected;  
-     
-    UpdatePaveBlocks(me:out) 
-       is protected; 
-        
-    SplitIndex(me; 
-           aPB:PaveBlock from BOPTools) 
-       returns Integer from Standard  
-       is protected;                
-        
-    MakeBlocks(me:out) 
-       is protected;   
-
-    -------------------------------------------------------------- 
-    ---          
-    ---  Some API FUNCTIONS  
-    ---                 
-    SplitsInFace(me:out; 
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-
-    SplitsInFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-       
-    SplitsOnEdge(me:out; 
-                nE1 :Integer from Standard;  
-                nE2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-       
-    SplitsOnFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-       
-    SplitsOnFace(me:out;  
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-       
-    SplitsInFace(me:out; 
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-     
-    SplitsInFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-     
-    SplitsOnEdge(me:out; 
-                nE1 :Integer from Standard;  
-                nE2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-     
-    SplitsOnFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-
-    SplitsOnFace(me:out;  
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-    --
-    SplitsFace  (me:out;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools) 
-       returns Integer from Standard;  
-
-    SplitsFace  (me:out;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfInteger from TColStd) 
-       returns Integer from Standard;  
-
-    CommonBlocksFace (me:out;  
-                nF  :Integer from Standard;  
-                aLCB:out ListOfCommonBlock from NMTTools) 
-       returns Integer from Standard;   
-       
-    PrepareFace(me:out;  
-           nF  :  Integer from Standard; 
-           aF  : out Face from TopoDS); 
-     
-    -- 
-    RealPaveBlock(me:out;   
-           aPB:PaveBlock from BOPTools) 
-       returns PaveBlock from BOPTools; 
-    ---C++: return const &      
-    -- 
-    RealSplitsFace  (me:out;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-        
-    HasRealSplitsInOnFace (me:out; 
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard) 
-       returns Boolean from Standard; 
-        
-    RealSplitsInFace(me:out; 
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-     
-    RealSplitsInFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-     
-    RealSplitsOnEdge(me:out; 
-                nE1 :Integer from Standard;  
-                nE2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-     
-    RealSplitsOnFace(me:out; 
-                nE1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-
-    RealSplitsOnFace(me:out;  
-                aBid:Integer from Standard;  
-                nF1 :Integer from Standard;  
-                nF2 :Integer from Standard;  
-                aLs :out ListOfPaveBlock from BOPTools); 
-    --   
-    PrepareSetForFace(me:out;   
-               nF1 :Integer from Standard;  
-               nF2 :Integer from Standard;  
-    --modified by NIZNHY-PKV Fri Apr  1 11:19:15 2005f         
-               aLPB: ListOfPaveBlock from BOPTools;  
-    --modified by NIZNHY-PKV Fri Apr  1 10:54:16 2005t    
-               aPSF:out PaveSet from BOPTools); 
-                
-    PutPaveOnCurve(me:out;   
-               aPSF: PaveSet from BOPTools; 
-               aTol: Real from Standard;  
-               aBC : out Curve from BOPTools); 
-        
-    PutBoundPaveOnCurve (me:out; 
-                   aBC :out Curve from BOPTools;        
-                   aFF :out SSInterference from BOPTools); 
-       
-    PutBoundPaveOnCurve (me:out;  
-                   aP  : Pnt from  gp; 
-                   aT  : Real from Standard;                    
-                   aBC :out Curve from BOPTools;        
-                   aFF :out SSInterference from BOPTools); 
-       
-    FindPave            (me:out; 
-                   aP  : Pnt from gp;  
-                   aTpV: Real from Standard;  
-                   aPS : PaveSet from BOPTools; 
-                   aPV :out Pave from BOPTools) 
-       returns Boolean from Standard; 
-        
-    CheckIntermediatePoint(me:out;  
-                   aPB : PaveBlock      from BOPTools;  
-                   aPBR: PaveBlock      from BOPTools;  
-                   aTol: Real  from  Standard) 
-       returns Integer from Standard;  
-               
---    IsExistingPaveBlock (me:out; 
---                 aPB : PaveBlock      from BOPTools; 
---                         aFF : SSInterference from BOPTools) 
---     returns Boolean from Standard;  
-       
---modified by NIZNHY-PKV Fri Apr  1 09:35:34 2005f      
-    IsExistingPaveBlock (me:out; 
-                   aPB : PaveBlock       from BOPTools; 
-                   aLPB: ListOfPaveBlock from BOPTools; 
-                   aTol: Real  from  Standard) 
-       returns Boolean from Standard;  
---modified by NIZNHY-PKV Fri Apr  1 09:35:39 2005t      
-         
-    MakePCurves (me:out); 
-     
-fields 
-    myIntrPool         :  PInterferencePool from BOPTools      is protected; 
-    myDS               :  PShapesDataStructure from NMTDS      is protected;   
-    myIsDone           :  Boolean from Standard                 is protected; 
-    myNbSources        :  Integer from Standard                 is protected;  
-    myNbEdges          :  Integer from Standard                is protected;      
-    myDSIt             :  IteratorOfCoupleOfShape from NMTTools is protected;
-    -- 
-    myPavePool         :  PavePool from BOPTools                is protected;     
-    myPavePoolNew      :  PavePool from BOPTools                is protected;  
-    myCommonBlockPool  :  CommonBlockPool from NMTTools         is protected;  
-    mySplitShapesPool  :  SplitShapesPool from BOPTools                is protected;    
-    -- 
-    myContext          :  Context from IntTools                 is protected; 
-    mySectionAttribute :  SSIntersectionAttribute from BOPTools is protected;
-end PaveFiller;
diff --git a/src/NMTTools/NMTTools_PaveFiller.cxx b/src/NMTTools/NMTTools_PaveFiller.cxx
deleted file mode 100644 (file)
index 7e0ded5..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-// File:       NMTTools_PaveFiller.cxx
-// Created:    Fri Dec  5 14:58:54 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-//
-#include <NMTTools_PaveFiller.ixx>
-//
-#include <BOPTColStd_Failure.hxx>
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <NMTTools_DEProcessor.hxx>
-//QQ #include "utilities.h"
-
-//=======================================================================
-// function: NMTTools_PaveFiller::NMTTools_PaveFiller
-// purpose: 
-//=======================================================================
-  NMTTools_PaveFiller::NMTTools_PaveFiller()
-{
-  myIntrPool=NULL;
-  myDS=NULL;
-  myIsDone=Standard_False;
-  myNbSources=0;
-  myNbEdges=0;
-}
-//=======================================================================
-// function:NMTTools_PaveFiller::NMTTools_PaveFiller
-// purpose: 
-//=======================================================================
-  NMTTools_PaveFiller::NMTTools_PaveFiller(const BOPTools_InterferencePool& aIP)
-{
-  SetInterferencePool(aIP);
-}
-//=======================================================================
-// function: Destroy
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::Destroy()
-{
-}
-//=======================================================================
-// function: SetInterferencePool
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::SetInterferencePool(const BOPTools_InterferencePool& aIP)
-{
-  myIsDone=Standard_False;
-  //
-  myIntrPool=(BOPTools_InterferencePool*)&aIP;
-  myDS=(NMTDS_ShapesDataStructure*)myIntrPool->DS();
-  myNbSources=myDS->NumberOfShapesOfTheObject()+myDS->NumberOfShapesOfTheTool();
-  myNbEdges=myDS->NbEdges();
-}
-//=======================================================================
-// function:  InterfPool
-// purpose: 
-//=======================================================================
-  BOPTools_PInterferencePool NMTTools_PaveFiller::InterfPool()
-{
-  return myIntrPool;
-}
-//=======================================================================
-// function:IsDone
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_PaveFiller::IsDone() const
-{
-  return myIsDone;
-}
-//=======================================================================
-// function:  DS
-// purpose: 
-//=======================================================================
-  NMTDS_PShapesDataStructure NMTTools_PaveFiller::DS()
-{
-  return myDS;
-}
-//=======================================================================
-// function: Context
-// purpose: 
-//=======================================================================
-  const IntTools_Context& NMTTools_PaveFiller::Context() const
-{
-  return myContext;
-}
-//=======================================================================
-// function: ChangeContext
-// purpose: 
-//=======================================================================
-  IntTools_Context& NMTTools_PaveFiller::ChangeContext() 
-{
-  return myContext;
-}
-//=======================================================================
-// function: PavePool
-// purpose: 
-//=======================================================================
-  const BOPTools_PavePool& NMTTools_PaveFiller::PavePool() const
-{
-  return myPavePool;
-}
-//=======================================================================
-// function: ChangePavePool
-// purpose: 
-//=======================================================================
-  BOPTools_PavePool& NMTTools_PaveFiller::ChangePavePool()
-{
-  return myPavePool;
-}
-//=======================================================================
-// function:  CommonBlockPool
-// purpose: 
-//=======================================================================
-  const NMTTools_CommonBlockPool& NMTTools_PaveFiller::CommonBlockPool() const
-{
-  return myCommonBlockPool;
-}
-//=======================================================================
-// function:  ChangeCommonBlockPool
-// purpose: 
-//=======================================================================
-  NMTTools_CommonBlockPool& NMTTools_PaveFiller::ChangeCommonBlockPool()
-{
-  return myCommonBlockPool;
-}
-//=======================================================================
-// function:  SplitShapesPool
-// purpose: 
-//=======================================================================
-  const BOPTools_SplitShapesPool& NMTTools_PaveFiller::SplitShapesPool() const
-{
-  return mySplitShapesPool;
-}
-
-//=======================================================================
-// function:  ChangeSplitShapesPool
-// purpose: 
-//=======================================================================
-  BOPTools_SplitShapesPool& NMTTools_PaveFiller::ChangeSplitShapesPool()
-{
-  return mySplitShapesPool;
-}
-//=======================================================================
-// function: Init
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::Init()
-{
-  myDSIt.SetDS(myDS);
-}
-//=======================================================================
-// function: Perform
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::Perform()
-{
-  try {
-    // 0.
-    Init();//myDSIt.SetDS(myDS);
-    //
-    //1.VV
-    PerformVV();
-    PerformNewVertices();
-    //
-    // 2.VE
-    myPavePool.Resize (myNbEdges);
-    PrepareEdges();
-    
-    PerformVE();
-    //
-    // 3.VF
-    PerformVF();
-    //
-    // 4.EE
-    myCommonBlockPool.Resize (myNbEdges);
-    mySplitShapesPool.Resize (myNbEdges);
-    myPavePoolNew    .Resize (myNbEdges);
-    
-    PreparePaveBlocks(TopAbs_VERTEX, TopAbs_EDGE);
-    PreparePaveBlocks(TopAbs_EDGE, TopAbs_EDGE);
-    //
-    PerformEE();
-    //
-    RefinePavePool ();
-    //
-    myPavePoolNew.Destroy();
-    myPavePoolNew.Resize (myNbEdges);
-    //
-    // 5.EF
-    PreparePaveBlocks(TopAbs_EDGE, TopAbs_FACE);
-    PerformEF();
-    RefinePavePool();
-    //
-    myPavePoolNew.Destroy();
-    MakeSplitEdges();
-    UpdateCommonBlocks();
-    //
-    // 6. FF
-    PerformFF ();
-    MakeBlocks();
-    MakePCurves();
-    //
-    // 7.Postprocessing 
-    UpdatePaveBlocks();
-    //
-    NMTTools_DEProcessor aDEP(*this);
-    aDEP.Do();
-    //
-  }
-  catch (BOPTColStd_Failure& /*x*/) {
-    //QQ MESSAGE(x.Message() << flush);
-  }
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller.hxx b/src/NMTTools/NMTTools_PaveFiller.hxx
deleted file mode 100644 (file)
index addb7d0..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-// File generated by CPPExt (Value)
-//
-//                     Copyright (C) 1991 - 2000 by  
-//                      Matra Datavision SA.  All rights reserved.
-//  
-//                     Copyright (C) 2001 - 2004 by
-//                     Open CASCADE SA.  All rights reserved.
-// 
-// This file is part of the Open CASCADE Technology software.
-//
-// This software may be distributed and/or modified under the terms and
-// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
-// and appearing in the file LICENSE included in the packaging of this file.
-//  
-// This software is distributed on an "AS IS" basis, without warranty of any
-// kind, and Open CASCADE SA hereby disclaims all such warranties,
-// including without limitation, any warranties of merchantability, fitness
-// for a particular purpose or non-infringement. Please see the License for
-// the specific terms and conditions governing rights and limitations under the
-// License.
-
-#ifndef _NMTTools_PaveFiller_HeaderFile
-#define _NMTTools_PaveFiller_HeaderFile
-
-#ifndef _BOPTools_PInterferencePool_HeaderFile
-#include <BOPTools_PInterferencePool.hxx>
-#endif
-#ifndef _NMTDS_PShapesDataStructure_HeaderFile
-#include <NMTDS_PShapesDataStructure.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
-#include <NMTTools_IteratorOfCoupleOfShape.hxx>
-#endif
-#ifndef _BOPTools_PavePool_HeaderFile
-#include <BOPTools_PavePool.hxx>
-#endif
-#ifndef _NMTTools_CommonBlockPool_HeaderFile
-#include <NMTTools_CommonBlockPool.hxx>
-#endif
-#ifndef _BOPTools_SplitShapesPool_HeaderFile
-#include <BOPTools_SplitShapesPool.hxx>
-#endif
-#ifndef _IntTools_Context_HeaderFile
-#include <IntTools_Context.hxx>
-#endif
-#ifndef _BOPTools_SSIntersectionAttribute_HeaderFile
-#include <BOPTools_SSIntersectionAttribute.hxx>
-#endif
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class BOPTools_InterferencePool;
-class BOPTools_Pave;
-class IntTools_ShrunkRange;
-class IntTools_Context;
-class BOPTools_PavePool;
-class NMTTools_CommonBlockPool;
-class BOPTools_SplitShapesPool;
-class BOPTools_PaveBlock;
-class TopoDS_Vertex;
-class NMTTools_ListOfCommonBlock;
-class NMTTools_CommonBlock;
-class BOPTools_IDMapOfPaveBlockIMapOfPaveBlock;
-class BOPTools_IDMapOfPaveBlockIMapOfInteger;
-class BooleanOperations_IndexedDataMapOfShapeInteger;
-class TColStd_ListOfInteger;
-class BOPTools_ListOfPaveBlock;
-class TopoDS_Face;
-class BOPTools_PaveSet;
-class BOPTools_Curve;
-class BOPTools_SSInterference;
-class gp_Pnt;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_PaveFiller  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT NMTTools_PaveFiller();
-Standard_EXPORT NMTTools_PaveFiller(const BOPTools_InterferencePool& aIP);
-Standard_EXPORT virtual  void Destroy() ;
-Standard_EXPORT virtual ~NMTTools_PaveFiller(){Destroy();}
-Standard_EXPORT   void SetInterferencePool(const BOPTools_InterferencePool& aIP) ;
-Standard_EXPORT   BOPTools_PInterferencePool InterfPool() ;
-Standard_EXPORT virtual  void Perform() ;
-Standard_EXPORT   Standard_Boolean IsDone() const;
-Standard_EXPORT   NMTDS_PShapesDataStructure DS() ;
-Standard_EXPORT  const IntTools_Context& Context() const;
-Standard_EXPORT   IntTools_Context& ChangeContext() ;
-Standard_EXPORT  const BOPTools_PavePool& PavePool() const;
-Standard_EXPORT   BOPTools_PavePool& ChangePavePool() ;
-Standard_EXPORT  const NMTTools_CommonBlockPool& CommonBlockPool() const;
-Standard_EXPORT   NMTTools_CommonBlockPool& ChangeCommonBlockPool() ;
-Standard_EXPORT  const BOPTools_SplitShapesPool& SplitShapesPool() const;
-Standard_EXPORT   BOPTools_SplitShapesPool& ChangeSplitShapesPool() ;
-Standard_EXPORT   Standard_Integer FindSDVertex(const Standard_Integer nV) const;
-Standard_EXPORT   Standard_Integer SplitsInFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsInFace(const Standard_Integer nE1,const Standard_Integer nF2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnEdge(const Standard_Integer nE1,const Standard_Integer nE2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnFace(const Standard_Integer nE1,const Standard_Integer nF2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsInFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsInFace(const Standard_Integer nE1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnEdge(const Standard_Integer nE1,const Standard_Integer nE2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnFace(const Standard_Integer nE1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsOnFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsFace(const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Integer SplitsFace(const Standard_Integer nF2,TColStd_ListOfInteger& aLs) ;
-Standard_EXPORT   Standard_Integer CommonBlocksFace(const Standard_Integer nF,NMTTools_ListOfCommonBlock& aLCB) ;
-Standard_EXPORT   void PrepareFace(const Standard_Integer nF,TopoDS_Face& aF) ;
-Standard_EXPORT  const BOPTools_PaveBlock& RealPaveBlock(const BOPTools_PaveBlock& aPB) ;
-Standard_EXPORT   void RealSplitsFace(const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   Standard_Boolean HasRealSplitsInOnFace(const Standard_Integer nF1,const Standard_Integer nF2) ;
-Standard_EXPORT   void RealSplitsInFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   void RealSplitsInFace(const Standard_Integer nE1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   void RealSplitsOnEdge(const Standard_Integer nE1,const Standard_Integer nE2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   void RealSplitsOnFace(const Standard_Integer nE1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   void RealSplitsOnFace(const Standard_Integer aBid,const Standard_Integer nF1,const Standard_Integer nF2,BOPTools_ListOfPaveBlock& aLs) ;
-Standard_EXPORT   void PrepareSetForFace(const Standard_Integer nF1,const Standard_Integer nF2,const BOPTools_ListOfPaveBlock& aLPB,BOPTools_PaveSet& aPSF) ;
-Standard_EXPORT   void PutPaveOnCurve(const BOPTools_PaveSet& aPSF,const Standard_Real aTol,BOPTools_Curve& aBC) ;
-Standard_EXPORT   void PutBoundPaveOnCurve(BOPTools_Curve& aBC,BOPTools_SSInterference& aFF) ;
-Standard_EXPORT   void PutBoundPaveOnCurve(const gp_Pnt& aP,const Standard_Real aT,BOPTools_Curve& aBC,BOPTools_SSInterference& aFF) ;
-Standard_EXPORT   Standard_Boolean FindPave(const gp_Pnt& aP,const Standard_Real aTpV,const BOPTools_PaveSet& aPS,BOPTools_Pave& aPV) ;
-Standard_EXPORT   Standard_Integer CheckIntermediatePoint(const BOPTools_PaveBlock& aPB,const BOPTools_PaveBlock& aPBR,const Standard_Real aTol) ;
-Standard_EXPORT   Standard_Boolean IsExistingPaveBlock(const BOPTools_PaveBlock& aPB,const BOPTools_ListOfPaveBlock& aLPB,const Standard_Real aTol) ;
-Standard_EXPORT   void MakePCurves() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-Standard_EXPORT   void Init() ;
-Standard_EXPORT virtual  void PerformVV() ;
-Standard_EXPORT virtual  void PerformVE() ;
-Standard_EXPORT virtual  void PerformVF() ;
-Standard_EXPORT virtual  void PerformEE() ;
-Standard_EXPORT virtual  void PerformEF() ;
-Standard_EXPORT virtual  void PerformFF() ;
-Standard_EXPORT   void MakeSplitEdges() ;
-Standard_EXPORT virtual  void PreparePaveBlocks(const TopAbs_ShapeEnum aType1,const TopAbs_ShapeEnum aType2) ;
-Standard_EXPORT   void CorrectShrunkRanges(const Standard_Integer aSide,const BOPTools_Pave& aPave,IntTools_ShrunkRange& aSR) ;
-Standard_EXPORT virtual  void PreparePaveBlocks(const Standard_Integer anE) ;
-Standard_EXPORT virtual  void PerformNewVertices() ;
-Standard_EXPORT virtual  void PrepareEdges() ;
-Standard_EXPORT   void SortTypes(Standard_Integer& anInd1,Standard_Integer& anInd2) const;
-Standard_EXPORT   Standard_Integer ExpectedPoolLength() const;
-Standard_EXPORT   Standard_Boolean IsSuccesstorsComputed(const Standard_Integer iF1,const Standard_Integer iF2) const;
-Standard_EXPORT   Standard_Boolean IsBlocksCoinside(const BOPTools_PaveBlock& aPB1,const BOPTools_PaveBlock& aPB2) const;
-Standard_EXPORT   void RefinePavePool() ;
-Standard_EXPORT   Standard_Integer CheckFacePaves(const TopoDS_Vertex& aV,const Standard_Integer nF) ;
-Standard_EXPORT   void ReplaceCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB) ;
-Standard_EXPORT   void RemoveCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB) ;
-Standard_EXPORT   void SplitCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB) ;
-Standard_EXPORT   void SplitCommonBlock(const NMTTools_CommonBlock& aCB,NMTTools_ListOfCommonBlock& aLCB) ;
-Standard_EXPORT   void EECommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aM) ;
-Standard_EXPORT   void EFCommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfInteger& aMapCB) ;
-Standard_EXPORT   void EENewVertices(const BooleanOperations_IndexedDataMapOfShapeInteger& aM) ;
-Standard_EXPORT   void EENewVertices(const TopoDS_Vertex& aV,const BooleanOperations_IndexedDataMapOfShapeInteger& aM) ;
-Standard_EXPORT   void EFNewVertices(const BooleanOperations_IndexedDataMapOfShapeInteger& aM) ;
-Standard_EXPORT   void EFNewVertices(const TopoDS_Vertex& aV,const BooleanOperations_IndexedDataMapOfShapeInteger& aM) ;
-Standard_EXPORT   void UpdateCommonBlocks() ;
-Standard_EXPORT   void UpdatePaveBlocks() ;
-Standard_EXPORT   Standard_Integer SplitIndex(const BOPTools_PaveBlock& aPB) const;
-Standard_EXPORT   void MakeBlocks() ;
-
-
- // Fields PROTECTED
- //
-BOPTools_PInterferencePool myIntrPool;
-NMTDS_PShapesDataStructure myDS;
-Standard_Boolean myIsDone;
-Standard_Integer myNbSources;
-Standard_Integer myNbEdges;
-NMTTools_IteratorOfCoupleOfShape myDSIt;
-BOPTools_PavePool myPavePool;
-BOPTools_PavePool myPavePoolNew;
-NMTTools_CommonBlockPool myCommonBlockPool;
-BOPTools_SplitShapesPool mySplitShapesPool;
-IntTools_Context myContext;
-BOPTools_SSIntersectionAttribute mySectionAttribute;
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_PaveFiller.ixx b/src/NMTTools/NMTTools_PaveFiller.ixx
deleted file mode 100644 (file)
index 1ef3b7a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_PaveFiller.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_PaveFiller.jxx b/src/NMTTools/NMTTools_PaveFiller.jxx
deleted file mode 100644 (file)
index 9e8e7ce..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#ifndef _BOPTools_InterferencePool_HeaderFile
-#include <BOPTools_InterferencePool.hxx>
-#endif
-#ifndef _BOPTools_Pave_HeaderFile
-#include <BOPTools_Pave.hxx>
-#endif
-#ifndef _IntTools_ShrunkRange_HeaderFile
-#include <IntTools_ShrunkRange.hxx>
-#endif
-#ifndef _IntTools_Context_HeaderFile
-#include <IntTools_Context.hxx>
-#endif
-#ifndef _BOPTools_PavePool_HeaderFile
-#include <BOPTools_PavePool.hxx>
-#endif
-#ifndef _NMTTools_CommonBlockPool_HeaderFile
-#include <NMTTools_CommonBlockPool.hxx>
-#endif
-#ifndef _BOPTools_SplitShapesPool_HeaderFile
-#include <BOPTools_SplitShapesPool.hxx>
-#endif
-#ifndef _BOPTools_PaveBlock_HeaderFile
-#include <BOPTools_PaveBlock.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _NMTTools_ListOfCommonBlock_HeaderFile
-#include <NMTTools_ListOfCommonBlock.hxx>
-#endif
-#ifndef _NMTTools_CommonBlock_HeaderFile
-#include <NMTTools_CommonBlock.hxx>
-#endif
-#ifndef _BOPTools_IDMapOfPaveBlockIMapOfPaveBlock_HeaderFile
-#include <BOPTools_IDMapOfPaveBlockIMapOfPaveBlock.hxx>
-#endif
-#ifndef _BOPTools_IDMapOfPaveBlockIMapOfInteger_HeaderFile
-#include <BOPTools_IDMapOfPaveBlockIMapOfInteger.hxx>
-#endif
-#ifndef _BooleanOperations_IndexedDataMapOfShapeInteger_HeaderFile
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#endif
-#ifndef _TColStd_ListOfInteger_HeaderFile
-#include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef _BOPTools_ListOfPaveBlock_HeaderFile
-#include <BOPTools_ListOfPaveBlock.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _BOPTools_PaveSet_HeaderFile
-#include <BOPTools_PaveSet.hxx>
-#endif
-#ifndef _BOPTools_Curve_HeaderFile
-#include <BOPTools_Curve.hxx>
-#endif
-#ifndef _BOPTools_SSInterference_HeaderFile
-#include <BOPTools_SSInterference.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
-#include <gp_Pnt.hxx>
-#endif
-#ifndef _NMTTools_PaveFiller_HeaderFile
-#include <NMTTools_PaveFiller.hxx>
-#endif
diff --git a/src/NMTTools/NMTTools_PaveFiller_0.cxx b/src/NMTTools/NMTTools_PaveFiller_0.cxx
deleted file mode 100644 (file)
index d6b3251..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// File:       NMTTools_PaveFiller_0.cxx
-// Created:    Mon Dec  8 11:45:51 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TopAbs_ShapeEnum.hxx>
-#include <BOPTools_ListOfCoupleOfInteger.hxx>
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <BooleanOperations_OnceExplorer.hxx>
-
-//=======================================================================
-//function : SortTypes
-//purpose  : 
-//=======================================================================
-  void NMTTools_PaveFiller::SortTypes(Standard_Integer& theWhat,
-                                     Standard_Integer& theWith)const 
-{ 
-  Standard_Boolean aReverseFlag=Standard_True;
-
-  TopAbs_ShapeEnum aType1= myDS->GetShapeType(theWhat),
-                   aType2= myDS->GetShapeType(theWith);
-  
-  if (aType1==aType2)
-    return;
-  
-  if (aType1==TopAbs_EDGE && aType2==TopAbs_FACE){
-    aReverseFlag=Standard_False;
-  }
-
-  if (aType1==TopAbs_VERTEX && 
-      (aType2==TopAbs_FACE || aType2==TopAbs_EDGE)) {
-    aReverseFlag=Standard_False;
-  }
-  
-  Standard_Integer aWhat, aWith;
-  aWhat=(aReverseFlag) ? theWith : theWhat;
-  aWith=(aReverseFlag) ? theWhat : theWith;
-  
-  theWhat=aWhat;
-  theWith=aWith;
-}
-//=======================================================================
-// function:  ExpectedPoolLength
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::ExpectedPoolLength()const
-{
-  Standard_Integer aNbIIs;
-  Standard_Real aCfPredict=.5;
-
-  const BOPTools_ListOfCoupleOfInteger& aLC=myDSIt.ListOfCouple();
-  aNbIIs=aLC.Extent();
-  //
-  if (aNbIIs==1) {
-    return aNbIIs;
-  }
-  //
-  aNbIIs=(Standard_Integer) (aCfPredict*(Standard_Real)aNbIIs);
-  
-  return aNbIIs;
-}
-//=======================================================================
-// function:IsSuccesstorsComputed
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_PaveFiller::IsSuccesstorsComputed(const Standard_Integer aN1,
-                                                             const Standard_Integer aN2)const
-{
-  Standard_Integer nSuc, n1, n2;
-
-  BooleanOperations_OnceExplorer aExp(*myDS);
-  TopAbs_ShapeEnum aType=myDS->GetShapeType(aN1);
-
-  n1=aN1;
-  n2=aN2;
-
-  if (aType!=TopAbs_VERTEX) {
-    Standard_Integer ntmp=n1;
-    n1=n2;
-    n2=ntmp;
-  }
-
-  aType=myDS->GetShapeType(n2);
-  if (aType==TopAbs_EDGE) {
-    aExp.Init(n2, TopAbs_VERTEX);
-    for (; aExp.More(); aExp.Next()) {
-      nSuc=aExp.Current();
-      if (myIntrPool->IsComputed(n1, nSuc)) {
-       return Standard_True;
-      }
-    }
-  return Standard_False;
-  }
-
-  else if (aType==TopAbs_FACE) {
-    aExp.Init(n2, TopAbs_VERTEX);
-    for (; aExp.More(); aExp.Next()) {
-      nSuc=aExp.Current();
-      if (myIntrPool->IsComputed(n1, nSuc)) {
-       return Standard_True;
-      }
-    }
-
-    aExp.Init(n2, TopAbs_EDGE);
-    for (; aExp.More(); aExp.Next()) {
-      nSuc=aExp.Current();
-      if (myIntrPool->IsComputed(n1, nSuc)) {
-       return Standard_True;
-      }
-    }
-    return Standard_False;
-  }
-
-  return Standard_False;
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_1.cxx b/src/NMTTools/NMTTools_PaveFiller_1.cxx
deleted file mode 100644 (file)
index 5d1fa79..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-// File:       NMTTools_PaveFiller_1.cxx
-// Created:    Mon Dec  8 11:47:55 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <TopTools_ListOfShape.hxx>
-
-#include <IntTools_Tools.hxx>
-#include <BOPTools_VVInterference.hxx>
-#include <BOPTools_CArray1OfVVInterference.hxx>
-#include <BOPTools_VVInterference.hxx>
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <NMTTools_Tools.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-
-  
-//=======================================================================
-// function: PerformVV
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformVV() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Integer n1, n2,anIndexIn, aFlag, aWhat, aWith, aNbVVs, aBlockLength;
-  Standard_Boolean bJustAddInterference;
-  //
-  BOPTools_CArray1OfVVInterference& aVVs=myIntrPool->VVInterferences();
-  //
-  // BlockLength correction
-  aNbVVs=ExpectedPoolLength();
-  aBlockLength=aVVs.BlockLength();
-  if (aNbVVs > aBlockLength) {
-    aVVs.SetBlockLength(aNbVVs);
-  }
-  //
-  // V/V  BooleanOperations_VertexVertex
-  myDSIt.Initialize(TopAbs_VERTEX, TopAbs_VERTEX);
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, bJustAddInterference);
-    //
-    if (!myIntrPool->IsComputed(n1, n2)) {
-      anIndexIn=0;
-      aWhat=n1;
-      aWith=n2;
-      SortTypes(aWhat, aWith);
-      if (!bJustAddInterference) {
-       const TopoDS_Shape& aS1=myDS->GetShape(aWhat);
-       const TopoDS_Shape& aS2=myDS->GetShape(aWith);
-       //
-       const TopoDS_Vertex& aV1=TopoDS::Vertex(aS1);
-       const TopoDS_Vertex& aV2=TopoDS::Vertex(aS2);
-       aFlag=IntTools_Tools::ComputeVV (aV1, aV2);
-       //
-       if (!aFlag) {
-         BOPTools_VVInterference anInterf (aWhat, aWith);
-         anIndexIn=aVVs.Append(anInterf);
-       }
-      }
-      myIntrPool->AddInterference(aWhat, aWith, BooleanOperations_VertexVertex, anIndexIn);
-    }
-  }
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: PerformNewVertices
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformNewVertices() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Integer i, aNb, anIndex1, anIndex2, aNewShape;
-  TopoDS_Vertex aNewVertex;
-  BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-  //
-  Standard_Integer aNbChains, j, aNbV, aIdV, aNbL;
-  TColStd_IndexedMapOfInteger aMapWhole;
-  BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger aMapChains;//aMCV
-  TopTools_ListOfShape aLV;
-  TopTools_IndexedMapOfShape aM;
-  //
-  // 1. VV Interferences
-  BOPTools_CArray1OfVVInterference& VVs=myIntrPool->VVInterferences();
-  //
-  NMTTools_Tools::FindChains(VVs, aMapChains);
-  //
-  aNbChains=aMapChains.Extent();
-  for (i=1; i<=aNbChains; ++i) {
-    const TColStd_IndexedMapOfInteger& aChain=aMapChains(i);
-    //
-    aM.Clear();
-    aLV.Clear();
-    aNbV=aChain.Extent();
-    for (j=1; j<=aNbV; ++j) {
-      aIdV=aChain(j);
-      const TopoDS_Shape& aV=myDS->Shape(aIdV);
-      if (!aM.Contains(aV)) {
-       aM.Add(aV);
-       aLV.Append(aV);
-      }
-    }
-    //
-    aNbL=aLV.Extent();
-    if (aNbL==1){
-      aNewShape=aChain(1);
-    }
-    else if (aNbL>1) {
-      //
-      // Make new Vertex
-      NMTTools_Tools::MakeNewVertex(aLV, aNewVertex);
-      // Insert New Vertex in DS;
-      // aNewShape is # of DS-line, where aNewVertex is kept
-      myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-      aNewShape=myDS->NumberOfInsertedShapes();
-      //
-      // State of New Vertex is ON
-      myDS->SetState (aNewShape, BooleanOperations_ON);
-    }
-    //
-    // Insert New Vertex in Interference
-    aNb=VVs.Extent();
-    for (j=1; j<=aNb; ++j) {
-      BOPTools_VVInterference& VV=VVs(j);
-      anIndex1=VV.Index1();
-      anIndex2=VV.Index2();
-      if (aChain.Contains(anIndex1) || aChain.Contains(anIndex2)) {
-       VV.SetNewShape(aNewShape);
-      }
-    }
-  }
-  myIsDone=Standard_True;
-}
-
-//=======================================================================
-// function: FindSDVertex
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::FindSDVertex(const Standard_Integer nV)const
-{
-  Standard_Integer i, aNb, anIndex1, anIndex2, aNewShape=0;
-
-  BOPTools_CArray1OfVVInterference& VVs=myIntrPool->VVInterferences();
-  aNb=VVs.Extent();
-  
-  for (i=1; i<=aNb; i++) {
-    const BOPTools_VVInterference& VV=VVs(i);
-    anIndex1=VV.Index1();
-    anIndex2=VV.Index2();
-    if (nV==anIndex1 || nV==anIndex2) {
-      aNewShape=VV.NewShape();
-      return aNewShape;
-    }
-  }
-  return aNewShape;
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_2.cxx b/src/NMTTools/NMTTools_PaveFiller_2.cxx
deleted file mode 100644 (file)
index 0415192..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-// File:       NMTTools_PaveFiller_2.cxx
-// Created:    Mon Dec  8 12:02:56 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <Precision.hxx>
-
-#include <gp_Pnt.hxx>
-
-#include <Geom_Curve.hxx>
-
-#include <TopAbs_Orientation.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <BOPTools_Pave.hxx>
-#include <BOPTools_PaveSet.hxx>
-#include <BOPTools_CArray1OfVEInterference.hxx>
-#include <BOPTools_VEInterference.hxx>
-
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-//
-#include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
-#include <BOPTools_CoupleOfInteger.hxx>
-
-//=======================================================================
-// function: PrepareEdges
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PrepareEdges() 
-{
-  Standard_Integer  i, nV, ii, aNBSuc, ip, aNbShapesObject;
-  Standard_Real aT;
-  TopAbs_Orientation anOr;
-  TopoDS_Edge   aE;
-  TopoDS_Vertex aV;
-  //
-  aNbShapesObject=myDS->NumberOfShapesOfTheObject();
-  for (i=1; i<=myNbSources; ++i) {
-    if (myDS->GetShapeType(i)==TopAbs_EDGE) {
-      aE=TopoDS::Edge(myDS->Shape(i));
-      //
-      if (BRep_Tool::Degenerated(aE)){
-       continue;
-      }
-      //
-      BOPTools_PaveSet& aPaveSet=myPavePool(myDS->RefEdge(i));
-      //
-      // A <-
-      aNBSuc=myDS->NumberOfSuccessors(i);
-      for (ii=1; ii <=aNBSuc; ii++) {
-       nV=myDS->GetSuccessor(i, ii);
-       anOr=myDS->GetOrientation(i, ii);
-       aV=TopoDS::Vertex(myDS->Shape(nV));
-       aV.Orientation(anOr);
-       aT=BRep_Tool::Parameter(aV, aE);
-       //
-       ip=FindSDVertex(nV);
-       if (ip) {
-         aV=TopoDS::Vertex(myDS->Shape(ip));
-         aV.Orientation(anOr);// XX ? if the edge is closed it'll be amazing result 
-         nV=ip;
-       }
-       //
-       BOPTools_Pave aPave(nV, aT); 
-       aPaveSet.Append (aPave);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: PerformVE
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformVE() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean bJustAddInterference;
-  Standard_Integer n1, n2, anIndexIn, aFlag, aWhat, aWith, aNbVEs, aBlockLength, iSDV, nV1;
-  Standard_Real aT;
-  TopoDS_Vertex aV1;
-  TopoDS_Edge aE2;
-  BOPTools_IndexedMapOfCoupleOfInteger aSnareMap;
-  BOPTools_CoupleOfInteger aCouple;
-  //
-  BOPTools_CArray1OfVEInterference& aVEs=myIntrPool->VEInterferences();
-  //
-  myDSIt.Initialize (TopAbs_VERTEX, TopAbs_EDGE);
-  //
-  // BlockLength correction
-  aNbVEs=ExpectedPoolLength();
-  aBlockLength=aVEs.BlockLength();
-  if (aNbVEs > aBlockLength) {
-    aVEs.SetBlockLength(aNbVEs);
-  }
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, bJustAddInterference);
-    //
-    if (! myIntrPool->IsComputed(n1, n2)) {
-      if (! IsSuccesstorsComputed(n1, n2)) {
-       anIndexIn=0;
-       aWhat=n1; // Vertex
-       aWith=n2; // Edge
-       SortTypes(aWhat, aWith);
-       //
-       if(bJustAddInterference) {
-        myIntrPool->AddInterference(aWhat, aWith, BooleanOperations_VertexEdge, anIndexIn);
-        continue;
-       }
-       // Edge
-       aE2=TopoDS::Edge(myDS->Shape(aWith));
-       //
-       if (BRep_Tool::Degenerated(aE2)){
-         continue;
-       }
-       // Vertex
-       nV1=aWhat;
-       aV1=TopoDS::Vertex(myDS->Shape(aWhat));
-       //
-       iSDV=FindSDVertex(aWhat);
-       if (iSDV) {
-         nV1=iSDV;
-         aV1=TopoDS::Vertex(myDS->Shape(nV1));
-       }
-       //
-       aFlag=myContext.ComputeVE (aV1, aE2, aT);
-       //
-       if (!aFlag) {
-         //
-         // Add Interference to the Pool
-         BOPTools_VEInterference anInterf (aWhat, aWith, aT);
-         anIndexIn=aVEs.Append(anInterf);
-         //
-         // Add Pave to the Edge's myPavePool
-         aCouple.SetCouple(nV1, aWith);
-         if (!aSnareMap.Contains(aCouple)){
-           aSnareMap.Add(aCouple);
-           //
-           BOPTools_Pave aPave(nV1, aT, BooleanOperations_VertexEdge);
-           aPave.SetInterference(anIndexIn);
-           BOPTools_PaveSet& aPaveSet= myPavePool(myDS->RefEdge(aWith));
-           aPaveSet.Append(aPave);
-         }
-         //
-         // State for the Vertex in DS;
-         myDS->SetState (aWhat, BooleanOperations_ON);
-         // Insert Vertex in Interference Object
-         BOPTools_VEInterference& aVE=aVEs(anIndexIn);
-         aVE.SetNewShape(aWhat);
-       }
-       myIntrPool->AddInterference(aWhat, aWith, BooleanOperations_VertexEdge, anIndexIn);
-      }
-    }
-  }
-  myIsDone=Standard_True;
-}
-
-/*
-// A
-//
-      //                                                   cto900/M2
-      // Some of Edges can be [Semi] Infinite.  Such  Edges have no 
-      // vertices on correspondant INF ends.   So we  must  provide 
-      // these vertices formally (to obtain  Shrunk  Ranges for e.g). 
-      // In reality this vertex(-es) does not belong to the INF Edge.
-      // It just has reference in the DS.
-      //                            PKV Tue Apr 23 10:21:45 2002                 
-      {
-       Standard_Real aT1, aT2, aTolE;
-       Standard_Boolean bInf1, bInf2;
-       gp_Pnt aPx;
-       TopoDS_Vertex aVx; 
-       BRep_Builder aBB;
-       BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq; 
-       //
-       aTolE=BRep_Tool::Tolerance(aE);
-       Handle(Geom_Curve) aC3D=BRep_Tool::Curve (aE, aT1, aT2);
-       bInf1=Precision::IsNegativeInfinite(aT1);
-       bInf2=Precision::IsPositiveInfinite(aT2);
-
-       if (bInf1) {
-         aC3D->D0(aT1, aPx);
-         aBB.MakeVertex(aVx, aPx, aTolE);
-         myDS->InsertShapeAndAncestorsSuccessors(aVx, anASSeq);
-         nV=myDS->NumberOfInsertedShapes();
-         BOPTools_Pave aPave(nV, aT1); 
-         aPaveSet.Append (aPave);
-       }
-
-       if (bInf2) {
-         aC3D->D0(aT2, aPx);
-         aBB.MakeVertex(aVx, aPx, aTolE);
-         myDS->InsertShapeAndAncestorsSuccessors(aVx, anASSeq);
-         nV=myDS->NumberOfInsertedShapes();
-         BOPTools_Pave aPave(nV, aT2);
-         aPaveSet.Append (aPave); 
-       }
-      }
-*/
diff --git a/src/NMTTools/NMTTools_PaveFiller_3.cxx b/src/NMTTools/NMTTools_PaveFiller_3.cxx
deleted file mode 100644 (file)
index 149eed7..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// File:       NMTTools_PaveFiller_3.cxx
-// Created:    Mon Dec  8 16:06:56 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Face.hxx>
-
-#include <BOPTools_VSInterference.hxx>
-#include <BOPTools_CArray1OfVSInterference.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-//=======================================================================
-// function: PerformVF
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformVF() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean aJustAddInterference;
-  Standard_Integer n1, n2, anIndexIn, aFlag, aWhat, aWith, aNbVSs, aBlockLength, iSDV;
-  Standard_Real aU, aV;
-  TopoDS_Vertex aV1;
-  TopoDS_Face aF2;
-  //
-  BOPTools_CArray1OfVSInterference& aVSs=myIntrPool->VSInterferences();
-  //
-  // V/E Interferences 
-  myDSIt.Initialize(TopAbs_VERTEX, TopAbs_FACE);
-  //
-  // BlockLength correction
-  aNbVSs=ExpectedPoolLength();
-  aBlockLength=aVSs.BlockLength();
-  if (aNbVSs > aBlockLength) {
-    aVSs.SetBlockLength(aNbVSs);
-  }
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, aJustAddInterference);
-    //
-    if (! myIntrPool->IsComputed(n1, n2)) {
-      if (! IsSuccesstorsComputed(n1, n2)) {
-       anIndexIn=0;
-       aWhat=n1; // Vertex
-       aWith=n2; // Face
-       SortTypes(aWhat, aWith);
-       //
-       iSDV=FindSDVertex(aWhat);
-       //
-       if(aJustAddInterference) {
-         myIntrPool->AddInterference(aWhat, aWith, BooleanOperations_VertexSurface, anIndexIn);
-         continue;
-       }
-       //
-       aV1=TopoDS::Vertex(myDS->Shape(aWhat));
-       if (iSDV) {
-         aV1=TopoDS::Vertex(myDS->Shape(iSDV));
-       }
-       //
-       aF2=TopoDS::Face(myDS->Shape(aWith));
-       //
-       aFlag=myContext.ComputeVS (aV1, aF2, aU, aV);
-       //
-       if (!aFlag) {
-         //
-         // Add Interference to the Pool
-         BOPTools_VSInterference anInterf (aWhat, aWith, aU, aV);
-         anIndexIn=aVSs.Append(anInterf);
-         //
-         // SetState for Vertex in DS;
-         myDS->SetState (aWhat, BooleanOperations_ON);
-         // Insert Vertex in Interference Object
-         BOPTools_VSInterference& aVS=aVSs(anIndexIn);
-         aVS.SetNewShape(aWhat);
-       }
-       myIntrPool->AddInterference(aWhat, aWith, BooleanOperations_VertexSurface, anIndexIn);
-      }
-    }
-  }
-  myIsDone=Standard_True;
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_4.cxx b/src/NMTTools/NMTTools_PaveFiller_4.cxx
deleted file mode 100644 (file)
index 65baf7b..0000000
+++ /dev/null
@@ -1,1079 +0,0 @@
-// File:       NMTTools_PaveFiller_4.cxx
-// Created:    Mon Dec  8 17:08:58 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-//
-#include <stdio.h>
-#include <Precision.hxx>
-
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-
-#include <Bnd_Box.hxx>
-
-#include <IntTools_ShrunkRange.hxx>
-#include <IntTools_Range.hxx>
-#include <IntTools_CommonPrt.hxx>
-#include <IntTools_SequenceOfRanges.hxx>
-#include <IntTools_EdgeEdge.hxx>
-#include <IntTools_SequenceOfCommonPrts.hxx>
-
-#include <BOPTools_Pave.hxx>
-#include <BOPTools_PaveSet.hxx>
-#include <BOPTools_PaveBlockIterator.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_CArray1OfEEInterference.hxx>
-#include <BOPTools_EEInterference.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_CArray1OfVVInterference.hxx>
-#include <BOPTools_VVInterference.hxx>
-#include <BOPTools_CArray1OfEEInterference.hxx>
-#include <BOPTools_Tools.hxx>
-#include <BOPTools_IDMapOfPaveBlockIMapOfPaveBlock.hxx>
-#include <BOPTools_IMapOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPave.hxx>
-#include <BOPTools_SequenceOfPaveBlock.hxx>
-
-#include <BOPTColStd_Dump.hxx>
-#include <BOPTColStd_Failure.hxx>
-
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#include <BooleanOperations_KindOfInterference.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-#include <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-#include <NMTTools_ListOfCommonBlock.hxx>
-#include <NMTTools_CommonBlock.hxx>
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-
-//
-static 
-  void VertexParameters(const IntTools_CommonPrt& aCPart,
-                       Standard_Real& aT1, 
-                       Standard_Real& aT2);
-static
-  Standard_Boolean IsOnPave(const Standard_Real& aT1,
-                           const IntTools_Range& aRange,
-                           const Standard_Real& aTolerance);
-static
-  void EECommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB);
-
-static
-  void ProcessBlock(const BOPTools_PaveBlock& aPB,
-                   const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB,
-                   BOPTools_IMapOfPaveBlock& aProcessedBlocks,
-                   BOPTools_IMapOfPaveBlock& aChain);
-static
-  void FindChains(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB,
-                 NMTTools_ListOfCommonBlock& aLCB);
-
-//=======================================================================
-// function: PerformEE
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformEE() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean bJustAdd;
-  Standard_Integer n1, n2, anIndexIn, nE1, nE2, aNbVEs, aBlockLength;
-  Standard_Integer aTmp, aWhat, aWith, i, aNbCPrts, aDiscretize=30;
-  Standard_Real aTolE1, aTolE2, aDeflection=0.01;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt1, anIt2;
-  TopoDS_Edge aEWhat, aEWith; 
-  TopoDS_Vertex aNewVertex;
-  BooleanOperations_IndexedDataMapOfShapeInteger aMapVI;
-  BOPTools_IDMapOfPaveBlockIMapOfPaveBlock aMapCB;
-  //
-  BOPTools_CArray1OfEEInterference& aEEs=myIntrPool->EEInterferences();
-  //
-  // BlockLength correction
-  aNbVEs=ExpectedPoolLength();
-  aBlockLength=aEEs.BlockLength();
-  if (aNbVEs > aBlockLength) {
-    aEEs.SetBlockLength(aNbVEs);
-  }
-  //
-  myDSIt.Initialize(TopAbs_EDGE, TopAbs_EDGE);
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, bJustAdd);
-    anIndexIn = 0;
-    //
-    if (myIntrPool->IsComputed(n1, n2)) {
-      continue;
-    }
-    //
-    nE1=n1; 
-    nE2=n2; 
-    SortTypes(nE1, nE2);
-    //
-    if(bJustAdd) {
-      myIntrPool->AddInterference (nE1, nE2, BooleanOperations_EdgeEdge, anIndexIn);
-      continue;
-    }
-    //
-    const TopoDS_Edge& aE1=TopoDS::Edge(myDS->Shape(nE1));
-    const TopoDS_Edge& aE2=TopoDS::Edge(myDS->Shape(nE2));
-    //
-    if (BRep_Tool::Degenerated(aE1) || BRep_Tool::Degenerated(aE2)){
-      continue;
-    }
-    //
-    aTolE1=BRep_Tool::Tolerance(aE1);
-    aTolE2=BRep_Tool::Tolerance(aE2);
-    //
-    BOPTools_ListOfPaveBlock& aLPB1=mySplitShapesPool(myDS->RefEdge(nE1));
-    //
-    for (anIt1.Initialize(aLPB1); anIt1.More(); anIt1.Next()) {
-      BOPTools_PaveBlock& aPB1=anIt1.Value();
-      const IntTools_ShrunkRange& aShrunkRange1=aPB1.ShrunkRange();
-      //
-      const IntTools_Range& aSR1=aShrunkRange1.ShrunkRange();
-      const Bnd_Box&        aBB1=aShrunkRange1.BndBox();
-      //
-      BOPTools_ListOfPaveBlock& aLPB2=mySplitShapesPool(myDS->RefEdge(nE2));
-      //
-      for (anIt2.Initialize(aLPB2); anIt2.More(); anIt2.Next()) {
-       BOPTools_PaveBlock& aPB2=anIt2.Value();
-       const IntTools_ShrunkRange& aShrunkRange2=aPB2.ShrunkRange();
-      
-       const IntTools_Range& aSR2=aShrunkRange2.ShrunkRange();
-       const Bnd_Box&        aBB2=aShrunkRange2.BndBox();
-       //
-       if (aBB1.IsOut (aBB2)) {
-         continue;
-       }
-       // 
-       // EE
-       IntTools_EdgeEdge aEE;
-       aEE.SetEdge1 (aE1);
-       aEE.SetEdge2 (aE2);
-       aEE.SetTolerance1 (aTolE1);
-       aEE.SetTolerance2 (aTolE2);
-       aEE.SetDiscretize (aDiscretize);
-       aEE.SetDeflection (aDeflection);
-       //
-       IntTools_Range anewSR1 = aSR1;
-       IntTools_Range anewSR2 = aSR2;
-       //
-       BOPTools_Tools::CorrectRange (aE1, aE2, aSR1, anewSR1);
-       BOPTools_Tools::CorrectRange (aE2, aE1, aSR2, anewSR2);
-       //
-       aEE.SetRange1(anewSR1);
-       aEE.SetRange2(anewSR2);
-         
-       aEE.Perform();
-       //
-       anIndexIn=0;
-       //
-       if (aEE.IsDone()) {
-         // reverse order if it is necessary
-         aEWhat=aE1;
-         aEWith=aE2;
-         aWhat=nE1;
-         aWith=nE2;
-         if (aEE.Order()) {
-           aTmp=aWhat;
-           aWhat=aWith;
-           aWith=aTmp;
-           aEWhat=aE2;
-           aEWith=aE1;
-         }
-         //
-         const IntTools_SequenceOfCommonPrts& aCPrts=aEE.CommonParts();
-         aNbCPrts=aCPrts.Length();
-         for (i=1; i<=aNbCPrts; i++) {
-           const IntTools_CommonPrt& aCPart=aCPrts(i);
-           const IntTools_SequenceOfRanges& aRanges2=aCPart.Ranges2();
-           //
-           anIndexIn=0;
-           //
-           TopAbs_ShapeEnum aType=aCPart.Type();
-           switch (aType) {
-             case TopAbs_VERTEX:  {
-               Standard_Real aT1, aT2, aTol=Precision::PConfusion();
-               Standard_Boolean bIsOnPave1, bIsOnPave2;
-               IntTools_Range aR1, aR2;
-               //
-               VertexParameters(aCPart, aT1, aT2);
-               // 
-               //decide to keep the pave or not
-               aR1 = (aEE.Order()) ? anewSR2 : anewSR1;
-               aR2 = (aEE.Order()) ? anewSR1 : anewSR2;
-               //
-               bIsOnPave1=IsOnPave(aT1, aR1, aTol);
-               bIsOnPave2=IsOnPave(aT2, aR2, aTol);
-               //
-               if(bIsOnPave1 || bIsOnPave2) {
-                 myIntrPool->AddInterference (aWhat, aWith, BooleanOperations_EdgeEdge, anIndexIn);
-                 continue;
-               }
-               //
-               BOPTools_Tools::MakeNewVertex(aEWhat, aT1, aEWith, aT2, aNewVertex);
-               //
-               // Add Interference to the Pool
-               BOPTools_EEInterference anInterf (aWhat, aWith, aCPart);
-               //
-               anIndexIn=aEEs.Append(anInterf);
-               myIntrPool->AddInterference (aWhat, aWith, BooleanOperations_EdgeEdge, anIndexIn);
-               //
-               // Collect
-               aMapVI.Add(aNewVertex, anIndexIn);
-             }
-               break;
-               
-             case TopAbs_EDGE: {
-               Standard_Integer aNbComPrt2;
-               Standard_Boolean aCoinsideFlag;
-               //
-               aNbComPrt2=aRanges2.Length();
-               aCoinsideFlag=IsBlocksCoinside(aPB1, aPB2);
-               //
-               if (aNbComPrt2>1 || !aCoinsideFlag) {
-                 myIntrPool->AddInterference (aWhat, aWith, BooleanOperations_EdgeEdge, anIndexIn);
-                 break;
-               }
-               //
-               // Fill aMapCB
-               if (aMapCB.Contains(aPB1)) {
-                 BOPTools_IMapOfPaveBlock& aMapPB=aMapCB.ChangeFromKey(aPB1);
-                 aMapPB.Add(aPB1); 
-                 aMapPB.Add(aPB2); 
-               }
-               else {
-                 BOPTools_IMapOfPaveBlock aMapPB;
-                 aMapPB.Add(aPB1); 
-                 aMapPB.Add(aPB2); 
-                 aMapCB.Add(aPB1, aMapPB);
-               }
-               //
-               if (aMapCB.Contains(aPB2)) {
-                 BOPTools_IMapOfPaveBlock& aMapPB=aMapCB.ChangeFromKey(aPB2);
-                 aMapPB.Add(aPB1); 
-                 aMapPB.Add(aPB2); 
-               }
-               else {
-                 BOPTools_IMapOfPaveBlock aMapPB;
-                 aMapPB.Add(aPB1); 
-                 aMapPB.Add(aPB2); 
-                 aMapCB.Add(aPB2, aMapPB);
-               }
-             }
-               break;
-           default:
-             break;
-           } // switch (aType) 
-         } // for (i=1; i<=aNbCPrts; i++) 
-       }// if (aEE.IsDone())
-      } // for (; anIt2.More(); anIt2.Next()) 
-    } // for (; anIt1.More(); anIt1.Next()) 
-  }// for (; myDSIt.More(); myDSIt.Next()) 
-  //
-  EENewVertices (aMapVI);
-  EECommonBlocks(aMapCB);
-  //
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function:EECommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EECommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB)
-{
-  NMTTools_ListOfCommonBlock aLCB;
-  //
-  FindChains(aMapCB, aLCB);
-  ReplaceCommonBlocks(aLCB);
-}
-//=======================================================================
-// function:EENewVertices
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EENewVertices (const BooleanOperations_IndexedDataMapOfShapeInteger& aMapVI) 
-{
-  Standard_Integer aNb, i, j, aNewShape, aNbEdges, aNbIEE, aNbVV, aNbSimple;
-  Standard_Integer aWhat, aWith, i1, i2, nE1, nE2, nE, nV, aFlag;
-  Standard_Real aT;
-  TopoDS_Compound aCompound;
-  BRep_Builder aBB;
-  NMTTools_IndexedDataMapOfIndexedMapOfInteger aMNVE, aMNVIEE;
-  BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;      
-  BOPTools_Pave aPave;
-  TopoDS_Vertex aNewVertex;
-  TopTools_IndexedMapOfShape aMNVComplex, aMNVSimple;
-  //
-  BOPTools_CArray1OfEEInterference& aEEs=myIntrPool->EEInterferences();
-  //
-  aNb=aMapVI.Extent();
-  //
-  if (!aNb) { // no new vertices, no new problems 
-    return;
-  }
-  //
-  // 0. 
-  if (aNb==1) {
-    aNewVertex=TopoDS::Vertex(aMapVI.FindKey(1));
-    EENewVertices(aNewVertex, aMapVI);
-    return;
-  }
-  //
-  // 1. Make compound from new vertices
-  aBB.MakeCompound(aCompound);
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aV=aMapVI.FindKey(i);
-    aBB.Add(aCompound, aV);
-  }
-  //
-  // 2. VV intersection between these vertices 
-  //       using the auxiliary Filler
-  NMTDS_ShapesDataStructure tDS;
-  //
-  tDS.SetCompositeShape(aCompound);
-  tDS.Init();
-  //
-  BOPTools_InterferencePool tInterfPool(tDS);
-  NMTTools_PaveFiller tPaveFiller(tInterfPool);
-  //
-  tPaveFiller.Init();
-  //
-  tPaveFiller.PerformVV();
-  tPaveFiller.PerformNewVertices();
-  //
-  const BOPTools_CArray1OfVVInterference& aVVInterfs=tInterfPool.VVInterfs();
-  //
-  // 3. Separate Comlex and Simple new vertices
-  aNbVV=aVVInterfs.Extent();
-  for (i=1; i<=aNbVV; ++i) {
-    const BOPTools_VVInterference& aVV=aVVInterfs(i);
-    aVV.Indices(aWhat, aWith);
-    const TopoDS_Shape& aV1=tDS.Shape(aWhat);
-    const TopoDS_Shape& aV2=tDS.Shape(aWith);
-    aMNVComplex.Add(aV1);
-    aMNVComplex.Add(aV2);
-  }
-  //
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aV=aMapVI.FindKey(i);
-    if (!aMNVComplex.Contains(aV)) {
-      aMNVSimple.Add(aV);
-    }
-  }
-  //
-  // 4. Treat Simple new Vertices
-  aNbSimple=aMNVSimple.Extent();
-  for (i=1; i<=aNbSimple; ++i) {
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aMNVSimple(i));
-    EENewVertices(aV, aMapVI);
-  }
-  //
-  // 3. Fill Maps : NewVertex-edges (aMNVE) 
-  //                NewVertex-interferences (aMNVIEE)
-  for (i=1; i<=aNbVV; ++i) {
-    const BOPTools_VVInterference& aVV=aVVInterfs(i);
-    aNewShape=aVV.NewShape();
-    if (!aNewShape) {
-      continue;
-    }
-    //
-    if (!aMNVE.Contains(aNewShape)) {
-      TColStd_IndexedMapOfInteger aMx;
-      aMNVE.Add(aNewShape, aMx);
-    }
-    if (!aMNVIEE.Contains(aNewShape)) {
-      TColStd_IndexedMapOfInteger aMx;
-      aMNVIEE.Add(aNewShape, aMx);
-    }
-    //
-    TColStd_IndexedMapOfInteger& aME=aMNVE.ChangeFromKey(aNewShape);
-    TColStd_IndexedMapOfInteger& aMIEE=aMNVIEE.ChangeFromKey(aNewShape);
-    //
-    aVV.Indices(aWhat, aWith);
-    //aWhat
-    const TopoDS_Shape& aV1=tDS.Shape(aWhat);
-    i1=aMapVI.FindFromKey(aV1);
-    const BOPTools_EEInterference& aEE1=aEEs(i1);
-    aEE1.Indices(nE1, nE2);
-    aME.Add(nE1);
-    aME.Add(nE2);
-    aMIEE.Add(i1);
-    //aWith
-    const TopoDS_Shape& aV2=tDS.Shape(aWith);
-    i2=aMapVI.FindFromKey(aV2);
-    const BOPTools_EEInterference& aEE2=aEEs(i2);
-    aEE2.Indices(nE1, nE2);
-    aME.Add(nE1);
-    aME.Add(nE2);
-    aMIEE.Add(i2);
-    //
-    //printf(" VV: (%d, %d) -> %d\n", aWhat, aWith, aNewShape);
-  }
-  //
-  // 4. Process new vertices
-  aNb=aMNVE.Extent();
-  for (i=1; i<=aNb; ++i) { // xx
-    //
-    //  new Vertex
-    nV=aMNVE.FindKey(i);
-    aNewVertex=TopoDS::Vertex(tDS.Shape(nV));
-    //
-    // Insert New Vertex in DS;
-    myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-    aNewShape=myDS->NumberOfInsertedShapes();
-    myDS->SetState (aNewShape, BooleanOperations_ON);
-    //
-    // Update index of NewShape in EE interferences
-    const TColStd_IndexedMapOfInteger& aMIEE=aMNVIEE.FindFromKey(nV);//(i);
-    aNbIEE=aMIEE.Extent();
-    for (j=1; j<=aNbIEE; ++j) {
-      i1=aMIEE(j);
-      BOPTools_EEInterference& aEE1=aEEs(i1);
-      aEE1.SetNewShape(aNewShape);
-    }
-    // 
-    // Update Paves on edges
-    const TColStd_IndexedMapOfInteger& aME=aMNVE(i);
-    aNbEdges=aME.Extent();
-    for (j=1; j<=aNbEdges; ++j) {
-      nE=aME(j);
-      const TopoDS_Edge& aE=TopoDS::Edge(myDS->Shape(nE));
-      //
-      aFlag=myContext.ComputeVE (aNewVertex, aE, aT);
-      //
-      if (!aFlag) {
-       aPave.SetInterference(-1);
-       aPave.SetType (BooleanOperations_EdgeEdge);
-       aPave.SetIndex(aNewShape);
-       aPave.SetParam(aT);
-       //
-       BOPTools_PaveSet& aPaveSet=myPavePoolNew(myDS->RefEdge(nE));
-       aPaveSet.Append(aPave);
-      }
-    }
-  }// for (i=1; i<=aNb; ++i) {// xx
-}
-//=======================================================================
-// function:EENewVertices
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EENewVertices (const TopoDS_Vertex& aNewVertex,
-                                          const BooleanOperations_IndexedDataMapOfShapeInteger& aMapVI) 
-{
-  Standard_Integer  i, aNewShape, nE1, nE2;
-  Standard_Real  aT1, aT2;
-  BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;      
-  BOPTools_Pave aPave;
-  //
-  BOPTools_CArray1OfEEInterference& aEEs=myIntrPool->EEInterferences();
-  //
-  // one new vertex case is treated in usual way
-  //
-  // Insert New Vertex in DS;
-  myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-  aNewShape=myDS->NumberOfInsertedShapes();
-  myDS->SetState (aNewShape, BooleanOperations_ON);
-  // Insert New Vertex in EE Interference
-  i=aMapVI.FindFromKey(aNewVertex);
-  BOPTools_EEInterference& aEEInterf= aEEs(i);
-  aEEInterf.SetNewShape(aNewShape);
-  // Extact interference info
-  aEEInterf.Indices(nE1, nE2);
-  const IntTools_CommonPrt& aCPart=aEEInterf.CommonPrt();
-  VertexParameters(aCPart, aT1, aT2);
-  //
-  // Add Paves to the myPavePoolNew
-  aPave.SetInterference(i);
-  aPave.SetType (BooleanOperations_EdgeEdge);
-  aPave.SetIndex(aNewShape);
-  // Pave for edge nE1
-  aPave.SetParam(aT1);
-  BOPTools_PaveSet& aPaveSet1=myPavePoolNew(myDS->RefEdge(nE1));
-  aPaveSet1.Append(aPave);
-  // Pave for edge nE2
-  aPave.SetParam(aT2);
-  BOPTools_PaveSet& aPaveSet2=myPavePoolNew(myDS->RefEdge(nE2));
-  aPaveSet2.Append(aPave);
-}
-//=======================================================================
-// function: RefinePavePool
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::RefinePavePool()
-{
-  Standard_Integer  i, aNbNew;
-
-  for (i=1; i<=myNbSources; i++) {
-
-    if ((myDS->GetShape(i)).ShapeType()==TopAbs_EDGE) {
-      BOPTools_PaveSet& aPS= myPavePool(myDS->RefEdge(i));
-      //
-      BOPTools_PaveSet& aNewPS= myPavePoolNew(myDS->RefEdge(i));
-      BOPTools_ListOfPave& aNewLP=aNewPS.ChangeSet();
-      //
-      aNbNew=aNewLP.Extent();
-      if (aNbNew) {
-       BOPTools_ListIteratorOfListOfPave anIt(aNewLP);
-       for (; anIt.More(); anIt.Next()) {
-         const BOPTools_Pave& aPave=anIt.Value();
-         aPS.Append(aPave);
-       }
-       // Clear the ListOfPaveBlock
-       BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(i));
-       aLPB.Clear();
-       // Prepare the paveBlocks for that egde again
-       PreparePaveBlocks(i);
-      }
-      aNewLP.Clear();
-    }
-  }
-}
-//=======================================================================
-// function: PreparePaveBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PreparePaveBlocks(const TopAbs_ShapeEnum aType1, 
-                                             const TopAbs_ShapeEnum aType2)
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean Ok1, Ok2, Ok3;
-  Ok1= (aType1==TopAbs_VERTEX) &&  (aType2==TopAbs_EDGE) ;
-  Ok2= (aType1==TopAbs_EDGE)   &&  (aType2==TopAbs_EDGE) ;
-  Ok3= (aType1==TopAbs_EDGE)   &&  (aType2==TopAbs_FACE) ;
-  if (!Ok1 && !Ok2 && !Ok3) {
-    // error: Type mismatch
-    return;
-  }
-  //
-  Standard_Boolean aFlag = Standard_False;
-  Standard_Integer n1, n2, nE1, nE2, aNbSplits;
-  TColStd_MapOfInteger aMap;
-  //
-  myDSIt.Initialize(aType1, aType2);
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, aFlag);
-    nE1=n1; 
-    nE2=n2; 
-    SortTypes(nE1, nE2);
-    //
-    if (aType1==TopAbs_EDGE) {
-      BOPTools_ListOfPaveBlock& aLPB1=mySplitShapesPool(myDS->RefEdge(nE1));
-      aNbSplits=aLPB1.Extent();
-      if (!aNbSplits) {
-       if (!aMap.Contains(nE1)) { 
-         aMap.Add(nE1);
-         PreparePaveBlocks(nE1);
-         //
-         if (!myIsDone) {
-           return;
-         }
-       }
-      }
-    }
-    //
-    if (aType2==TopAbs_EDGE) {
-      BOPTools_ListOfPaveBlock& aLPB2=mySplitShapesPool(myDS->RefEdge(nE2));
-      aNbSplits=aLPB2.Extent();
-      if (!aNbSplits) {
-       if (!aMap.Contains(nE2)) { 
-         aMap.Add(nE2);
-         PreparePaveBlocks(nE2);
-         //
-         if (!myIsDone) {
-           return;
-         }
-       }
-      }
-    }// if (aType2==TopAbs_EDGE)
-  }// for (; myDSIt.More(); myDSIt.Next()) 
-
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: PreparePaveBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PreparePaveBlocks(const Standard_Integer nE)
-{
-  myIsDone=Standard_False;
-  
-  Standard_Integer nV1, nV2;
-
-  TopoDS_Edge aE;
-  TopoDS_Vertex aV1, aV2;
-    
-  // SplitShapesPool
-  BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(nE));
-  // Edge 
-  aE=TopoDS::Edge(myDS->Shape(nE));
-  //
-  if (!BRep_Tool::Degenerated(aE)){
-    //
-    BOPTools_PaveSet& aPS=myPavePool(myDS->RefEdge(nE));
-    
-    BOPTools_PaveBlockIterator aPBIt(nE, aPS);
-    for (; aPBIt.More(); aPBIt.Next()) {
-      BOPTools_PaveBlock& aPB=aPBIt.Value();
-      
-      const IntTools_Range& aRange=aPB.Range();
-      
-      const BOPTools_Pave& aPave1=aPB.Pave1();
-      nV1=aPave1.Index();
-      aV1=TopoDS::Vertex(myDS->GetShape(nV1));
-      
-      const BOPTools_Pave& aPave2=aPB.Pave2();
-      nV2=aPave2.Index();
-      aV2=TopoDS::Vertex(myDS->GetShape(nV2));
-      //
-      // ShrunkRange
-      IntTools_ShrunkRange aSR (aE, aV1, aV2, aRange, myContext);
-      //
-      Standard_Integer anErrorStatus;
-      anErrorStatus=aSR.ErrorStatus();
-
-      char buf[512];
-      if (!aSR.IsDone()) {
-       sprintf (buf, "Can not obtain ShrunkRange for Edge %d\n", nE);
-       BOPTColStd_Dump::PrintMessage(buf);
-       sprintf (buf, "Can not obtain ShrunkRange for Edge %d", nE);
-       throw 
-         BOPTColStd_Failure(buf) ;
-      }
-      //
-      if (anErrorStatus==6) {
-       sprintf(buf,
-               "Warning: [PreparePaveBlocks()] Max.Dummy Shrunk Range for Edge %d\n", nE);
-       BOPTColStd_Dump::PrintMessage(buf);
-      }
-      else {
-       // Check left paves and correct ShrunkRange if it is necessary
-       CorrectShrunkRanges (0, aPave1, aSR);
-       CorrectShrunkRanges (1, aPave2, aSR);
-      }
-      //
-      aPB.SetShrunkRange(aSR);
-      aLPB.Append(aPB);
-    } //for (; aPBIt1.More(); aPBIt1.Next()) 
-  }
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: CorrectShrunkRanges
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::CorrectShrunkRanges(const Standard_Integer aSide,
-                                               const BOPTools_Pave& aPave,
-                                               IntTools_ShrunkRange& aShrunkRange)
-{
-  BooleanOperations_KindOfInterference aType;
-  Standard_Integer anIndexInterf ;
-  //
-  aType=aPave.Type();
-  if (aType!=BooleanOperations_EdgeEdge) {
-    return;
-  }
-  //
-  anIndexInterf=aPave.Interference();
-  if (anIndexInterf<0) {
-    // it can be EE interf between E and (e1,e2,..en) -> vertex
-    // so we can't decide which aEE.CommonPrt() we should take.
-    return;
-  }
-
-  BOPTools_CArray1OfEEInterference& aEEs=myIntrPool->EEInterferences();
-  const BOPTools_EEInterference& aEE=aEEs(anIndexInterf);
-  const IntTools_CommonPrt& aCP=aEE.CommonPrt();
-  const TopoDS_Edge& aE1=aCP.Edge1();
-  const TopoDS_Edge& aE2=aCP.Edge2();
-
-  const IntTools_Range& aSR=aShrunkRange.ShrunkRange();
-  const TopoDS_Edge& aE=aShrunkRange.Edge();
-  IntTools_Range aNewRange;
-  IntTools_Range aCPRange;
-
-  if (aE1.IsSame(aE)) {
-    const IntTools_Range& aR1=aCP.Range1();
-    aCPRange=aR1;
-  }
-  if (aE2.IsSame(aE)) {
-    const IntTools_SequenceOfRanges& aSeqR=aCP.Ranges2();
-    const IntTools_Range& aR2=aSeqR(1);
-     aCPRange=aR2;
-  }
-  //
-  Standard_Real aCoeff=1.05, tV, tNV;
-  tV=aPave.Param();
-  if (aSide==0) { // Left
-    if (aCPRange.Last() > aSR.First()) {
-      tNV=aCPRange.Last();
-      tNV=tV+aCoeff*(tNV-tV);
-      aNewRange.SetFirst(tNV);
-      aNewRange.SetLast (aSR.Last());
-
-      if(aNewRange.First() > aNewRange.Last()) {
-       aShrunkRange.SetShrunkRange(aNewRange);
-      }
-    }
-  }
-  else { // Right
-    if (aCPRange.First() < aSR.Last()) {
-      tNV=aCPRange.First();
-      tNV=tV-aCoeff*(tV-tNV);
-      aNewRange.SetFirst(aSR.First());
-      aNewRange.SetLast (tNV);
-
-      if(aNewRange.First() < aNewRange.Last()) {
-       aShrunkRange.SetShrunkRange(aNewRange);
-      }
-    }
-  }
-}
-//=======================================================================
-// function:  IsBlocksCoinside
-// purpose: 
-//=======================================================================
-  Standard_Boolean 
-    NMTTools_PaveFiller::IsBlocksCoinside(const BOPTools_PaveBlock& aPB1,
-                                         const BOPTools_PaveBlock& aPB2) const
-{
-  Standard_Boolean bRetFlag=Standard_True;
-  Standard_Real aTolV11, aTolV12, aTolV21, aTolV22;
-  Standard_Real d1121, d1122, d1222, d1221, aTolSum, aCoeff=1.05;
-  gp_Pnt aP11, aP12, aP21, aP22;
-
-  const TopoDS_Vertex& aV11=TopoDS::Vertex(myDS->Shape(aPB1.Pave1().Index()));
-  const TopoDS_Vertex& aV12=TopoDS::Vertex(myDS->Shape(aPB1.Pave2().Index()));
-  const TopoDS_Vertex& aV21=TopoDS::Vertex(myDS->Shape(aPB2.Pave1().Index()));
-  const TopoDS_Vertex& aV22=TopoDS::Vertex(myDS->Shape(aPB2.Pave2().Index()));
-
-  aTolV11=BRep_Tool::Tolerance(aV11);
-  aTolV12=BRep_Tool::Tolerance(aV12);
-  aTolV21=BRep_Tool::Tolerance(aV21);
-  aTolV22=BRep_Tool::Tolerance(aV22);
-  
-  aP11=BRep_Tool::Pnt(aV11);
-  aP12=BRep_Tool::Pnt(aV12);
-  aP21=BRep_Tool::Pnt(aV21);
-  aP22=BRep_Tool::Pnt(aV22);
-
-  d1121=aP11.Distance(aP21);
-  aTolSum=aCoeff*(aTolV11+aTolV21);
-  if (d1121<aTolSum) {
-    d1222=aP12.Distance(aP22);
-    aTolSum=aCoeff*(aTolV12+aTolV22);
-    if (d1222<aTolSum) {
-      return bRetFlag;
-    }
-  }
-  //
-  d1122=aP11.Distance(aP22);
-  aTolSum=aCoeff*(aTolV11+aTolV22);
-  if (d1122<aTolSum) {
-    d1221=aP12.Distance(aP21);
-    aTolSum=aCoeff*(aTolV12+aTolV21);
-    if (d1221<aTolSum) {
-      return bRetFlag;
-    }
-  }
-  return !bRetFlag;
-}
-//=======================================================================
-// function: ReplaceCommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::ReplaceCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB)
-{
-  RemoveCommonBlocks(aLCB);
-  SplitCommonBlocks(aLCB);
-}
-//=======================================================================
-// function: SplitCommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::SplitCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB)
-{
-  Standard_Integer nE;
-  NMTTools_ListOfCommonBlock aLCBx;
-  NMTTools_ListIteratorOfListOfCommonBlock anIt, anItCBx;
-  BOPTools_ListIteratorOfListOfPaveBlock anItLPE;
-  //
-  anIt.Initialize(aLCB);
-  for (; anIt.More(); anIt.Next()) {
-    const NMTTools_CommonBlock& aCB=anIt.Value();
-    //
-    //XXX
-    aLCBx.Clear();
-    //XXX
-    SplitCommonBlock(aCB, aLCBx);
-    //
-    anItCBx.Initialize(aLCBx);
-    for (; anItCBx.More(); anItCBx.Next()) {
-      const NMTTools_CommonBlock& aCBx=anItCBx.Value();
-      const BOPTools_ListOfPaveBlock& aLPBx=aCBx.PaveBlocks();
-      //
-      anItLPE.Initialize(aLPBx);
-      for (; anItLPE.More(); anItLPE.Next()) {
-       const BOPTools_PaveBlock& aPBx=anItLPE.Value();
-       nE=aPBx.OriginalEdge();
-       NMTTools_ListOfCommonBlock& aLCBE=myCommonBlockPool(myDS->RefEdge(nE));
-       aLCBE.Append(aCBx);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: RemoveCommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::RemoveCommonBlocks(const NMTTools_ListOfCommonBlock& aLCB)
-{
-  Standard_Integer nE;
-  NMTTools_ListOfCommonBlock aLCBx;
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB, anItCBE;
-  BOPTools_ListIteratorOfListOfPaveBlock anItLPB;
-  //
-  anItCB.Initialize(aLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    const NMTTools_CommonBlock& aCB=anItCB.Value();
-    const BOPTools_ListOfPaveBlock& aLPB=aCB.PaveBlocks();
-    //
-    // Remove aCB from each edge 
-    anItLPB.Initialize(aLPB);
-    for (; anItLPB.More(); anItLPB.Next()) {
-      const BOPTools_PaveBlock& aPB=anItLPB.Value();
-      nE=aPB.OriginalEdge();
-      //
-      NMTTools_ListOfCommonBlock& aLCBE=myCommonBlockPool(myDS->RefEdge(nE));
-      anItCBE.Initialize(aLCBE);
-      for (; anItCBE.More(); anItCBE.Next()) {
-       const NMTTools_CommonBlock& aCBE=anItCBE.Value();
-       if (aCBE.IsEqual(aCB)) {
-         aLCBE.Remove(anItCBE);
-         break;
-       }
-      }
-    }
-  }
-}
-//=======================================================================
-// function: SplitCommonBlock
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::SplitCommonBlock(const NMTTools_CommonBlock& aCB,
-                                            NMTTools_ListOfCommonBlock& aLCBx)
-{
-  Standard_Integer i, j, k, nE, aNbE, aNbSPBx, aNbPB; 
-  BOPTools_SequenceOfPaveBlock aSPBx;
-  BOPTools_ListIteratorOfListOfPaveBlock anItLPB;
-  BOPTools_ListIteratorOfListOfPave anIt;
-  
-  BOPTools_PaveBlockIterator anPBIt; 
-  //
-  const BOPTools_ListOfPaveBlock& aLPB=aCB.PaveBlocks();
-  aNbE=aLPB.Extent();
-  //
-  // 1. Whether we realy need to split the common block ?
-  anItLPB.Initialize(aLPB);
-  for (; anItLPB.More(); anItLPB.Next()) {
-    const BOPTools_PaveBlock& aPB=anItLPB.Value();
-    nE=aPB.OriginalEdge();
-    BOPTools_PaveSet& aPSE=myPavePoolNew(myDS->RefEdge(nE));
-    aPSE.SortSet();
-    //
-    BOPTools_PaveSet aPSx;
-    //
-    const BOPTools_ListOfPave& aLPE=aPSE.Set();
-    anIt.Initialize(aLPE);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_Pave& aPx=anIt.Value();
-      if (aPB.IsInBlock(aPx)) {
-       aPSx.Append(aPx);
-      }
-    }
-    aNbPB=aPSx.Set().Extent();
-    break;
-  }
-  //
-  if (!aNbPB) {
-    // we need not split it
-    aLCBx.Append(aCB);
-    return;
-  }
-  //
-  // 2. Get sequence of pave Blocks containing all new pave blocks
-  // for each edges's source pave Block
-  anItLPB.Initialize(aLPB);
-  for (; anItLPB.More(); anItLPB.Next()) {
-    const BOPTools_PaveBlock& aPB=anItLPB.Value();
-    const BOPTools_Pave& aPave1=aPB.Pave1();
-    const BOPTools_Pave& aPave2=aPB.Pave2();
-    nE=aPB.OriginalEdge();
-    //
-    BOPTools_PaveSet aPSx;
-    //
-    // the set aPsx will contain bounadry paves aPave1, aPave2 and
-    // all paves of the edge nE that are inside block aPB
-    aPSx.Append(aPave1);
-    aPSx.Append(aPave2);
-    //
-    BOPTools_PaveSet& aPSE=myPavePoolNew(myDS->RefEdge(nE));
-    aPSE.SortSet();
-    //
-    const BOPTools_ListOfPave& aLPE=aPSE.Set();
-    anIt.Initialize(aLPE);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_Pave& aPx=anIt.Value();
-      if (aPB.IsInBlock(aPx)) {
-       aPSx.Append(aPx);
-      }
-    }
-    //
-    // Form pave blocks from aPSx and collect them in aSPBx
-    anPBIt.Initialize(nE, aPSx);
-    for (; anPBIt.More(); anPBIt.Next()) {
-      const BOPTools_PaveBlock& aPBx=anPBIt.Value();
-      aSPBx.Append(aPBx);
-    }
-  }
-  //
-  // 3. Do new common blocks 
-  //
-  const TColStd_ListOfInteger& aLF=aCB.Faces();
-  aNbSPBx=aSPBx.Length();
-  aNbPB=aNbSPBx/aNbE;
-  //
-  for (i=1; i<=aNbPB; ++i) {
-    NMTTools_CommonBlock aCBx;
-    //
-    aCBx.AddFaces(aLF);
-    //
-    for (j=1; j<=aNbE; ++j) {
-      k=i+(j-1)*aNbPB;
-      const BOPTools_PaveBlock& aPB=aSPBx(k);
-      aCBx.AddPaveBlock(aPB);
-    }
-    aLCBx.Append(aCBx);
-  }
-}
-
-//=======================================================================
-// function: VertexParameters
-// purpose: 
-//=======================================================================
-void VertexParameters(const IntTools_CommonPrt& aCPart,
-                     Standard_Real& aT1, 
-                     Standard_Real& aT2)
-{
-  const IntTools_Range& aR1=aCPart.Range1();
-  aT1=0.5*(aR1.First()+aR1.Last());
-  //
-  if((aCPart.VertexParameter1() >= aR1.First()) &&
-     (aCPart.VertexParameter1() <= aR1.Last())) {
-    aT1 = aCPart.VertexParameter1();
-  }
-  //
-  const IntTools_SequenceOfRanges& aRanges2=aCPart.Ranges2();
-  const IntTools_Range& aR2=aRanges2(1);
-  aT2=0.5*(aR2.First()+aR2.Last());
-  //
-  if((aCPart.VertexParameter2() >= aR2.First()) &&
-     (aCPart.VertexParameter2() <= aR2.Last())) {
-    aT2 = aCPart.VertexParameter2();
-  }
-}
-//=======================================================================
-// function: KeepPave
-// purpose: 
-//=======================================================================
-Standard_Boolean IsOnPave(const Standard_Real& aT1,
-                         const IntTools_Range& aRange,
-                         const Standard_Real& aTolerance)
-{
-  Standard_Boolean firstisonpave1, firstisonpave2, bIsOnPave;
-  //
-  firstisonpave1  = (Abs(aRange.First() - aT1) < aTolerance);
-  firstisonpave2  = (Abs(aRange.Last()  - aT1) < aTolerance);
-  bIsOnPave=(firstisonpave1 || firstisonpave2);
-  return bIsOnPave;
-}
-
-//=======================================================================
-// function:FindChains
-// purpose: 
-//=======================================================================
-void FindChains(const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB,
-               NMTTools_ListOfCommonBlock& aLCB)
-{
-  Standard_Integer  i, j, aNbCB, aNbPB;
-  BOPTools_IMapOfPaveBlock aProcessedBlocks, aChain;
-  //
-  aNbCB=aMapCB.Extent();
-  for (i=1; i<=aNbCB; ++i) {
-    const BOPTools_PaveBlock& aPB=aMapCB.FindKey(i);
-    if (aProcessedBlocks.Contains(aPB)) {
-      continue;
-    }
-    //
-    aProcessedBlocks.Add(aPB);
-    aChain.Add(aPB);
-    //
-    const BOPTools_IMapOfPaveBlock& aMapPB=aMapCB(i);
-    aNbPB=aMapPB.Extent();
-    for (j=1; j<=aNbPB; ++j) {
-      const BOPTools_PaveBlock& aPBx=aMapPB(j);
-      ProcessBlock(aPBx, aMapCB, aProcessedBlocks, aChain);
-    }
-    //
-    NMTTools_CommonBlock aCB;
-    //
-    aNbPB=aChain.Extent();
-    for (j=1; j<=aNbPB; ++j) {
-      const BOPTools_PaveBlock& aPBx=aChain(j);
-      aCB.AddPaveBlock(aPBx);
-    }
-    aLCB.Append(aCB);
-    aChain.Clear();
-  }
-}
-//=======================================================================
-// function:ProcessBlock
-// purpose: 
-//=======================================================================
-void ProcessBlock(const BOPTools_PaveBlock& aPB,
-                 const BOPTools_IDMapOfPaveBlockIMapOfPaveBlock& aMapCB,
-                 BOPTools_IMapOfPaveBlock& aProcessedBlocks,
-                 BOPTools_IMapOfPaveBlock& aChain)
-{
-  Standard_Integer j, aNbPB;
-  //
-  if (aProcessedBlocks.Contains(aPB)) {
-    return;
-  }
-  aProcessedBlocks.Add(aPB);
-  aChain.Add(aPB);
-  //
-  const BOPTools_IMapOfPaveBlock& aMapPB=aMapCB.FindFromKey(aPB);
-  aNbPB=aMapPB.Extent();
-  for (j=1; j<=aNbPB; ++j) {
-    const BOPTools_PaveBlock& aPBx=aMapPB(j);
-    ProcessBlock(aPBx, aMapCB, aProcessedBlocks, aChain);
-  }
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_5.cxx b/src/NMTTools/NMTTools_PaveFiller_5.cxx
deleted file mode 100644 (file)
index 392267f..0000000
+++ /dev/null
@@ -1,605 +0,0 @@
-// File:       NMTTools_PaveFiller_5.cxx
-// Created:    Mon Dec 15 11:28:33 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-
-#include <Bnd_Box.hxx>
-
-#include <TopAbs_ShapeEnum.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <IntTools_ShrunkRange.hxx>
-#include <IntTools_Range.hxx>
-#include <IntTools_EdgeFace.hxx>
-#include <IntTools_PContext.hxx>
-#include <IntTools_SequenceOfCommonPrts.hxx>
-#include <IntTools_CommonPrt.hxx>
-#include <IntTools_Tools.hxx>
-
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#include <BooleanOperations_OnceExplorer.hxx>
-
-#include <BOPTools_Tools.hxx>
-#include <BOPTools_Pave.hxx>
-#include <BOPTools_PaveSet.hxx>
-#include <BOPTools_ListOfPave.hxx>
-#include <BOPTools_ListIteratorOfListOfPave.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_ESInterference.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_CArray1OfVVInterference.hxx>
-#include <BOPTools_CArray1OfESInterference.hxx>
-#include <BOPTools_VVInterference.hxx>
-#include <BOPTools_ESInterference.hxx>
-#include <BOPTools_IDMapOfPaveBlockIMapOfInteger.hxx>
-#include <BOPTools_IMapOfPaveBlock.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-#include <NMTTools_ListOfCommonBlock.hxx>
-#include <NMTTools_CommonBlockAPI.hxx>
-#include <NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx>
-#include <NMTTools_CommonBlockAPI.hxx>
-#include <NMTTools_ListOfCommonBlock.hxx>
-
-static
-  void VertexParameter(const IntTools_CommonPrt& aCPart,
-                      Standard_Real& aT);
-static
-  Standard_Boolean IsOnPave(const Standard_Real& aTR,
-                           const IntTools_Range& aCPRange,
-                           const Standard_Real& aTolerance);
-
-//=======================================================================
-// function: PerformEF
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformEF() 
-{
-  myIsDone=Standard_False;
-  
-  Standard_Integer n1, n2, anIndexIn=0, nE, nF, aNbEFs, aBlockLength;
-  Standard_Boolean bJustAdd;
-  Standard_Real aTolE, aTolF, aDeflection=0.01;
-  Standard_Integer aDiscretize=35;
-  BooleanOperations_IndexedDataMapOfShapeInteger aMapVI;
-  BOPTools_IDMapOfPaveBlockIMapOfInteger aMapCB;
-  BOPTools_IMapOfPaveBlock aIMPBx;
-  
-  //
-  BOPTools_CArray1OfESInterference& aEFs=myIntrPool->ESInterferences();
-  //
-  myDSIt.Initialize(TopAbs_EDGE, TopAbs_FACE);
-  //
-  // BlockLength correction
-  aNbEFs=ExpectedPoolLength();
-  aBlockLength=aEFs.BlockLength();
-  if (aNbEFs > aBlockLength) {
-    aEFs.SetBlockLength(aNbEFs);
-  }
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, bJustAdd);
-    anIndexIn = 0;
-    //
-    if (myIntrPool->IsComputed(n1, n2)) {
-      continue;
-    }
-    //
-    nE=n1; 
-    nF=n2; 
-    SortTypes(nE, nF);
-    //
-    // all Common Blocks for face nF
-    //XXX
-    NMTTools_ListOfCommonBlock aLCBF;
-    CommonBlocksFace(nF, aLCBF);
-    NMTTools_CommonBlockAPI aCBAPIF(aLCBF);
-    //XXX
-    if(bJustAdd) {
-      myIntrPool->AddInterference (nE, nF, BooleanOperations_EdgeSurface, anIndexIn);
-      continue;
-    }
-    // Edge
-    const TopoDS_Edge& aE=TopoDS::Edge(myDS->GetShape(nE));
-    if (BRep_Tool::Degenerated(aE)){
-      continue;
-    }
-    aTolE=BRep_Tool::Tolerance(aE);
-    // Face
-    const TopoDS_Face& aF=TopoDS::Face(myDS->GetShape(nF));
-    aTolF=BRep_Tool::Tolerance(aF);
-    const Bnd_Box& aBBF=myDS->GetBoundingBox(nF); 
-    //
-    // Process each PaveBlock on edge nE
-    BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(nE));
-    //
-    BOPTools_ListIteratorOfListOfPaveBlock anIt(aLPB);
-    for (; anIt.More(); anIt.Next()) {
-      BOPTools_PaveBlock& aPB=anIt.Value();
-      //XXX
-      if (aCBAPIF.IsCommonBlock(aPB)) {
-       continue;
-      }
-      //XXX
-      const IntTools_ShrunkRange& aShrunkRange=aPB.ShrunkRange();
-      const IntTools_Range& aSR =aShrunkRange.ShrunkRange();
-      const Bnd_Box&        aBBE=aShrunkRange.BndBox();
-      //
-      if (aBBF.IsOut (aBBE)) {
-       continue;
-      }
-      // 
-      // EF
-      IntTools_EdgeFace aEF;
-      aEF.SetEdge (aE);
-      aEF.SetFace (aF);
-      aEF.SetTolE (aTolE);
-      aEF.SetTolF (aTolF);
-      aEF.SetDiscretize (aDiscretize);
-      aEF.SetDeflection (aDeflection);
-      // 
-      aEF.SetContext((IntTools_PContext)&myContext);
-      // 
-      IntTools_Range anewSR = aSR;
-      // 
-      // Correction of the Shrunk Range 
-      BOPTools_Tools::CorrectRange(aE, aF, aSR, anewSR);
-      aEF.SetRange (anewSR);
-      //
-      aEF.Perform();
-      //
-      if (aEF.IsDone()) {
-       const IntTools_SequenceOfCommonPrts& aCPrts=aEF.CommonParts();
-       Standard_Integer i, aNbCPrts;
-       aNbCPrts=aCPrts.Length();
-       for (i=1; i<=aNbCPrts; i++) {
-         //
-         anIndexIn=0;
-         //
-         const IntTools_CommonPrt& aCPart=aCPrts(i);
-         TopAbs_ShapeEnum aType=aCPart.Type();
-         switch (aType) {
-
-           case TopAbs_VERTEX:  {
-             Standard_Boolean bIsOnPave1, bIsOnPave2;
-             Standard_Integer nVF;
-             Standard_Real aT, aTolToDecide; 
-             TopoDS_Vertex aNewVertex;
-             //
-             const IntTools_Range& aR=aCPart.Range1();
-             //
-             // New Vertex
-             VertexParameter(aCPart, aT);
-             BOPTools_Tools::MakeNewVertex(aE, aT, aF, aNewVertex);
-             //
-             //decide to add pave or not
-             aTolToDecide=5.e-8;
-             //
-             bIsOnPave1=IsOnPave(anewSR.First(), aR, aTolToDecide); 
-             bIsOnPave2=IsOnPave(anewSR.Last() , aR, aTolToDecide); 
-             //
-             if (!bIsOnPave1 && !bIsOnPave2) {
-               nVF=CheckFacePaves(aNewVertex, nF);
-               if (!nVF) {
-                 // really new vertex
-                 // Add Interference to the Pool
-                 BOPTools_ESInterference anInterf (nE, nF, aCPart);
-                 anIndexIn=aEFs.Append(anInterf);
-                 anInterf.SetNewShape(0);
-                 //
-                 aMapVI.Add(aNewVertex, anIndexIn);
-                 aIMPBx.Add(aPB);
-                 //
-               }// if (!nVF)
-             }// if (!bIsOnPave1 && !bIsOnPave2) 
-             myIntrPool->AddInterference (nE, nF, BooleanOperations_EdgeSurface, anIndexIn);
-           }// case TopAbs_VERTEX:
-             break;
-           //
-           case TopAbs_EDGE: {
-             Standard_Boolean aCoinsideFlag;
-             //
-             aCoinsideFlag=BOPTools_Tools::IsBlockInOnFace(aPB, aF, myContext);
-             if (!aCoinsideFlag) {
-               myIntrPool->AddInterference (nE, nF, BooleanOperations_EdgeSurface, anIndexIn);
-               break;
-             }
-             //
-             // Fill aMapCB
-             if (aMapCB.Contains(aPB)) {
-               TColStd_IndexedMapOfInteger& aMapF=aMapCB.ChangeFromKey(aPB);
-               aMapF.Add(nF);
-             }
-             else {
-               TColStd_IndexedMapOfInteger aMapF;
-               aMapF.Add(nF);
-               aMapCB.Add(aPB, aMapF);
-             }
-             //modified by NIZNHY-PKV Fri Jan 23 14:13:08 2004 f
-             aIMPBx.Add(aPB);
-             //modified by NIZNHY-PKV Fri Jan 23 14:13:10 2004 t
-           }// case TopAbs_EDGE:
-             break;
-
-           default:
-             break;
-         } // switch (aType) 
-       } // for (i=1; i<=aNbCPrts; i++) 
-      } //if (aEF.IsDone())
-    } // for (; anIt.More(); anIt.Next()) 
-  }// for (; myDSIt.More(); myDSIt.Next()) 
-  //
-  // Treat New vertices
-  EFNewVertices(aMapVI);
-  //
-  // Add draft Common Blocks of EF type 
-  EFCommonBlocks(aMapCB);
-  //
-  // Collect all CB we suspected to split by new vertices
-  NMTTools_ListOfCommonBlock aLCBx;
-  {
-    Standard_Integer i, aNbPBx, nEx;
-    BOPTools_IMapOfPaveBlock aMx;
-    //
-    aNbPBx=aIMPBx.Extent();
-    for (i=1; i<=aNbPBx; ++i) {
-      const BOPTools_PaveBlock& aPBx=aIMPBx(i);
-      nEx=aPBx.OriginalEdge();
-      NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nEx));
-      if (aLCB.Extent()) {
-       NMTTools_CommonBlockAPI aCBAPIx(aLCB);
-       if (aCBAPIx.IsCommonBlock(aPBx)) {
-         NMTTools_CommonBlock& aCBx=aCBAPIx.CommonBlock(aPBx);
-         const BOPTools_PaveBlock& aPB1=aCBx.PaveBlock1();
-         if (!aMx.Contains(aPB1)){
-           aMx.Add(aPB1);
-           aLCBx.Append(aCBx);
-         }
-       }
-      }
-    }
-  }
-  //
-  // Split the common blocks above
-  if (aLCBx.Extent()) {
-    ReplaceCommonBlocks(aLCBx);
-  }
-  //
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function:EFCommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EFCommonBlocks(const BOPTools_IDMapOfPaveBlockIMapOfInteger& aMapCB)
-{
-  Standard_Integer i, aNbPB, nE, j, aNbF, nF;
-  //
-  aNbPB=aMapCB.Extent();
-  //
-  for (i=1; i<=aNbPB; ++i) {
-    const BOPTools_PaveBlock& aPB=aMapCB.FindKey(i);
-    const TColStd_IndexedMapOfInteger& aMapF=aMapCB.FindFromIndex(i);
-    aNbF=aMapF.Extent();
-    //
-    nE=aPB.OriginalEdge();
-    //
-    NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE));
-    //
-    NMTTools_CommonBlockAPI aCBAPI(aLCB);
-    if (aCBAPI.IsCommonBlock(aPB)) {
-      NMTTools_CommonBlock& aCB=aCBAPI.CommonBlock(aPB);
-      for (j=1; j<=aNbF; ++j) {
-       nF=aMapF(j);
-       aCB.AddFace(nF);
-      }
-    }
-    else {
-      NMTTools_CommonBlock aCB;
-      //
-      aCB.AddPaveBlock(aPB);
-      for (j=1; j<=aNbF; ++j) {
-       nF=aMapF(j);
-       aCB.AddFace(nF);
-      }
-      aLCB.Append(aCB);
-    }
-  }
-}
-//=======================================================================
-// function:EFNewVertices
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EFNewVertices (const BooleanOperations_IndexedDataMapOfShapeInteger& aMapVI) 
-{
-  Standard_Integer i, j, aNb, aNewShape, aFlag, iX, aNbVV, aNbSimple;
-  Standard_Integer aWhat, aWith, nE, nF, nV, aNbIEF, aNbEdges;
-  Standard_Real aT;
-  TopoDS_Compound aCompound;
-  TopoDS_Vertex aNewVertex;
-  BRep_Builder aBB;
-  BOPTools_Pave aPave;
-  NMTTools_IndexedDataMapOfIndexedMapOfInteger aMNVE, aMNVIEF;
-  BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-  TopTools_IndexedMapOfShape aMNVComplex, aMNVSimple;
-  //
-  BOPTools_CArray1OfESInterference& aEFs=myIntrPool->ESInterferences();
-  //
-  aNb=aMapVI.Extent();
-  //
-  if (!aNb) { // no new vertices, no new problems 
-    return;
-  }
-  //
-  // 0.
-  if (aNb==1) {
-    aNewVertex=TopoDS::Vertex(aMapVI.FindKey(1));
-    EFNewVertices(aNewVertex, aMapVI);
-    return;
-  }
-  //
-  // 1. Make compound from new vertices
-  aBB.MakeCompound(aCompound);
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aV=aMapVI.FindKey(i);
-    aBB.Add(aCompound, aV);
-  }
-  //
-  // 2. VV intersection between these vertices 
-  //       using the auxiliary Filler
-  NMTDS_ShapesDataStructure tDS;
-  //
-  tDS.SetCompositeShape(aCompound);
-  tDS.Init();
-  //
-  BOPTools_InterferencePool tInterfPool(tDS);
-  NMTTools_PaveFiller tPaveFiller(tInterfPool);
-  //
-  tPaveFiller.Init();
-  //
-  tPaveFiller.PerformVV();
-  tPaveFiller.PerformNewVertices();
-  //
-  const BOPTools_CArray1OfVVInterference& aVVInterfs=tInterfPool.VVInterfs();
-  //
-  // 3. Separate Comlex and Simple new vertices
-  aNbVV=aVVInterfs.Extent();
-   for (i=1; i<=aNbVV; ++i) {
-    const BOPTools_VVInterference& aVV=aVVInterfs(i);
-    aVV.Indices(aWhat, aWith);
-    const TopoDS_Shape& aV1=tDS.Shape(aWhat);
-    const TopoDS_Shape& aV2=tDS.Shape(aWith);
-    aMNVComplex.Add(aV1);
-    aMNVComplex.Add(aV2);
-  }
-  //
-  for (i=1; i<=aNb; ++i) {
-    const TopoDS_Shape& aV=aMapVI.FindKey(i);
-    if (!aMNVComplex.Contains(aV)) {
-      aMNVSimple.Add(aV);
-    }
-  }
-  //
-  // 4. Treat Simple new Vertices
-  aNbSimple=aMNVSimple.Extent();
-  for (i=1; i<=aNbSimple; ++i) {
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aMNVSimple(i));
-    EFNewVertices(aV, aMapVI);
-  }
-  //
-  // 3. Fill Maps : NewVertex-edges (aMNVE) 
-  //                NewVertex-interferences (aMNVIEE)
-  aNb=aVVInterfs.Extent();
-  for (i=1; i<=aNb; ++i) {
-    const BOPTools_VVInterference& aVV=aVVInterfs(i);
-    aNewShape=aVV.NewShape();
-    if (!aNewShape) {
-      continue;
-    }
-    //
-    if (!aMNVE.Contains(aNewShape)) {
-      TColStd_IndexedMapOfInteger aMx;
-      aMNVE.Add(aNewShape, aMx);
-    }
-    if (!aMNVIEF.Contains(aNewShape)) {
-      TColStd_IndexedMapOfInteger aMx;
-      aMNVIEF.Add(aNewShape, aMx);
-    }
-    //
-    TColStd_IndexedMapOfInteger& aME=aMNVE.ChangeFromKey(aNewShape);
-    TColStd_IndexedMapOfInteger& aMIEF=aMNVIEF.ChangeFromKey(aNewShape);
-    //
-    aVV.Indices(aWhat, aWith);
-    //aWhat
-    const TopoDS_Shape& aV1=tDS.Shape(aWhat);
-    iX=aMapVI.FindFromKey(aV1);
-    const BOPTools_ESInterference& aEF1=aEFs(iX);
-    aEF1.Indices(nE, nF);
-    SortTypes(nE, nF);
-    aME.Add(nE);
-    aMIEF.Add(iX);
-    //aWith
-    const TopoDS_Shape& aV2=tDS.Shape(aWith);
-    iX=aMapVI.FindFromKey(aV2);
-    const BOPTools_ESInterference& aEF2=aEFs(iX);
-    aEF2.Indices(nE, nF);
-    SortTypes(nE, nF);
-    aME.Add(nE);
-    aMIEF.Add(iX);
-  }
-  // 4. Process new vertices
-  aNb=aMNVE.Extent();
-  for (i=1; i<=aNb; ++i) { // xx
-    //
-    //  new Vertex
-    nV=aMNVE.FindKey(i);
-    aNewVertex=TopoDS::Vertex(tDS.Shape(nV));
-    //
-    // Insert New Vertex in DS;
-    myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-    aNewShape=myDS->NumberOfInsertedShapes();
-    myDS->SetState (aNewShape, BooleanOperations_ON);
-    //
-    // Update index of NewShape in EF interferences
-    const TColStd_IndexedMapOfInteger& aMIEF=aMNVIEF.FindFromKey(nV);
-    aNbIEF=aMIEF.Extent();
-    for (j=1; j<=aNbIEF; ++j) {
-      iX=aMIEF(j);
-      BOPTools_ESInterference& aEF=aEFs(iX);
-      aEF.SetNewShape(aNewShape);
-    }
-    // 
-    // Update Paves on all edges 
-    const TColStd_IndexedMapOfInteger& aME=aMNVE(i);
-    aNbEdges=aME.Extent();
-    for (j=1; j<=aNbEdges; ++j) {
-      nE=aME(j);
-      const TopoDS_Edge& aE=TopoDS::Edge(myDS->Shape(nE));
-      //
-      aFlag=myContext.ComputeVE (aNewVertex, aE, aT);
-      //
-      if (!aFlag) {
-       aPave.SetInterference(-1);
-       aPave.SetType (BooleanOperations_EdgeSurface);
-       aPave.SetIndex(aNewShape);
-       aPave.SetParam(aT);
-       //
-       BOPTools_PaveSet& aPaveSet=myPavePoolNew(myDS->RefEdge(nE));
-       aPaveSet.Append(aPave);
-      }
-    }
-  }
-}
-//=======================================================================
-// function:EFNewVertices
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::EFNewVertices (const TopoDS_Vertex& aNewVertex,
-                                          const BooleanOperations_IndexedDataMapOfShapeInteger& aMapVI) 
-{
-  Standard_Integer i, aNewShape, nE, nF;
-  Standard_Real aT;
-  BOPTools_Pave aPave;
-  BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-  //
-  BOPTools_CArray1OfESInterference& aEFs=myIntrPool->ESInterferences();
-  //
-  // Insert New Vertex in DS;
-  myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-  aNewShape=myDS->NumberOfInsertedShapes();
-  myDS->SetState (aNewShape, BooleanOperations_ON);
-  // Insert New Vertex in EFInterference
-  i=aMapVI.FindFromKey(aNewVertex);
-  BOPTools_ESInterference& aEFInterf= aEFs(i);
-  aEFInterf.SetNewShape(aNewShape);
-  // Extract interference info
-  aEFInterf.Indices(nE, nF);
-  SortTypes(nE, nF);
-  const IntTools_CommonPrt& aCPart=aEFInterf.CommonPrt();
-  VertexParameter(aCPart, aT);
-  //
-  // Pave for edge nE
-  aPave.SetInterference(i);
-  aPave.SetType (BooleanOperations_EdgeSurface);
-  aPave.SetIndex(aNewShape);
-  aPave.SetParam(aT);
-  // Append the Pave to the myPavePoolNew
-  BOPTools_PaveSet& aPaveSet=myPavePoolNew(myDS->RefEdge(nE));
-  aPaveSet.Append(aPave);
-  //
-}
-//=======================================================================
-// function: CheckFacePaves
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::CheckFacePaves (const TopoDS_Vertex& aNewVertex,
-                                                       const Standard_Integer nF)
-{
-  Standard_Integer nEF, nVF, iFlag, i, aNbV;
-  BOPTools_ListIteratorOfListOfPave anIt;
-  TColStd_IndexedMapOfInteger aMVF;
-  // 
-  BooleanOperations_OnceExplorer aExp(*myDS);
-  //
-  aExp.Init(nF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nEF=aExp.Current();
-    BOPTools_PaveSet& aPaveSet=myPavePool(myDS->RefEdge(nEF));
-    const BOPTools_ListOfPave& aLP=aPaveSet.Set();
-    anIt.Initialize(aLP);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_Pave& aPave=anIt.Value();
-      nVF=aPave.Index();
-      aMVF.Add(nVF);
-    }
-  }
-  //
-  aNbV=aMVF.Extent();
-  for (i=1; i<=aNbV; ++i) {
-    nVF=aMVF(i);
-    const TopoDS_Vertex& aVF=TopoDS::Vertex(myDS->Shape(nVF));
-    iFlag=IntTools_Tools::ComputeVV(aNewVertex, aVF);
-    if (!iFlag) {
-      return nVF;
-    }
-  }
-  return 0;
-}
-
-//
-//=======================================================================
-// function: VertexParameter
-// purpose: 
-//=======================================================================
-void VertexParameter(const IntTools_CommonPrt& aCPart,
-                    Standard_Real& aT)
-{
-  const IntTools_Range& aR=aCPart.Range1();
-  aT=0.5*(aR.First()+aR.Last());
-  //
-  if((aCPart.VertexParameter1() >= aR.First()) &&
-     (aCPart.VertexParameter1() <= aR.Last())) {
-    aT = aCPart.VertexParameter1();
-  }
-}
-//=======================================================================
-// function: IsOnPave
-// purpose: 
-//=======================================================================
-Standard_Boolean IsOnPave(const Standard_Real& aTR,
-                         const IntTools_Range& aCPRange,
-                         const Standard_Real& aTolerance)
-{
-  Standard_Boolean bIsOnPave;
-  Standard_Real aT1, aT2, dT1, dT2;
-  //
-  aT1=aCPRange.First();
-  aT2=aCPRange.Last();
-  bIsOnPave=(aTR>=aT1 && aTR<=aT1);
-  if (bIsOnPave) {
-    return bIsOnPave;
-  }
-  dT1=Abs(aTR-aT1);  
-  dT2=Abs(aTR-aT2);
-  bIsOnPave=(dT1<=aTolerance || dT2<=aTolerance);
-  return bIsOnPave;
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_6.cxx b/src/NMTTools/NMTTools_PaveFiller_6.cxx
deleted file mode 100644 (file)
index 139a6ea..0000000
+++ /dev/null
@@ -1,1201 +0,0 @@
-// File:       NMTTools_PaveFiller_6.cxx
-// Created:    Fri Dec 19 10:27:31 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <Precision.hxx>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-#include <Geom2d_Curve.hxx>
-#include <Geom_TrimmedCurve.hxx>
-
-#include <GeomAdaptor_Curve.hxx>
-#include <BndLib_Add3dCurve.hxx>
-
-#include <TopoDS_Face.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <TopExp.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <BRepBndLib.hxx>
-
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-#include <BOPTColStd_IndexedDataMapOfIntegerInteger.hxx>
-
-#include <BooleanOperations_IndexedDataMapOfShapeInteger.hxx>
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-#include <BooleanOperations_OnceExplorer.hxx>
-#include <BooleanOperations_ShapesDataStructure.hxx>
-
-#include <IntTools_SequenceOfPntOn2Faces.hxx>
-#include <IntTools_SequenceOfCurves.hxx>
-#include <IntTools_FaceFace.hxx>
-#include <IntTools_Tools.hxx>
-
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <BOPTools_ListIteratorOfListOfInterference.hxx>
-#include <BOPTools_CArray1OfInterferenceLine.hxx>
-#include <BOPTools_InterferenceLine.hxx>
-#include <BOPTools_ListOfInterference.hxx>
-#include <BOPTools_Interference.hxx>
-#include <BOPTools_InterferencePool.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPave.hxx>
-#include <BOPTools_Tools.hxx>
-#include <BOPTools_PaveBlockIterator.hxx>
-#include <BOPTools_Tools2D.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
-#include <NMTTools_CommonBlockAPI.hxx>
-#include <Geom2d_Curve.hxx>
-#include <NMTTools_Tools.hxx>
-#include <BRepLib.hxx>
-#include <Geom2d_TrimmedCurve.hxx>
-
-static 
-  Standard_Boolean IsPairFound(const Standard_Integer nF1,
-                              const Standard_Integer nF2,
-                              BOPTools_InterferencePool* myIntrPool,
-                              BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapWhat,
-                              BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapWith);
-
-static
-  void FMapWhat(const Standard_Integer nF,
-               BOPTools_InterferencePool* myIntrPool,
-               TColStd_IndexedMapOfInteger& aMapWhat);
-static
-  void FMapWith(const Standard_Integer nF,
-               BOPTools_InterferencePool* myIntrPool,
-               TColStd_IndexedMapOfInteger& aMapWith);
-static
-  Standard_Boolean IsFound(const TColStd_IndexedMapOfInteger& aMapWhat,
-                          const TColStd_IndexedMapOfInteger& aMapWith);
-
-
-//=======================================================================
-// function: PerformFF
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PerformFF() 
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean bIsFound, bJustAdd, bIsComputed;
-  Standard_Integer n1, n2, anIndexIn, nF1, nF2, aBlockLength, aNbFFs;
-  Standard_Boolean bToApproxC3d, bToApproxC2dOnS1, bToApproxC2dOnS2, bIsDone;
-  Standard_Integer aNbCurves, aNbPoints;
-  Standard_Real anApproxTol, aTolR3D, aTolR2D;
-  BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger aMapWhat, aMapWith;
-  IntTools_SequenceOfPntOn2Faces aPnts;
-  IntTools_SequenceOfCurves aCvs;
-  BooleanOperations_KindOfInterference aTypeFF=BooleanOperations_SurfaceSurface;
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=myIntrPool->SSInterferences();
-  //
-  //  F/F Interferences  [BooleanOperations_SurfaceSurface]
-  myDSIt.Initialize(TopAbs_FACE, TopAbs_FACE);
-  //
-  // BlockLength correction
-  aNbFFs=ExpectedPoolLength();
-  aBlockLength=aFFs.BlockLength();
-  if (aNbFFs > aBlockLength) {
-    aFFs.SetBlockLength(aNbFFs);
-  }
-  //
-  for (; myDSIt.More(); myDSIt.Next()) {
-    myDSIt.Current(n1, n2, bJustAdd);
-    //
-    bIsComputed=myIntrPool->IsComputed(n1, n2);
-    if (bIsComputed) {
-      continue;
-    }
-    //
-    nF1 = n2;
-    nF2 = n1;
-    if(n1 < n2) {
-      nF1 = n1;
-      nF2 = n2;
-    }
-    anIndexIn=0;
-    aPnts.Clear();
-    aCvs.Clear();
-    //
-    bIsFound=IsPairFound(nF1, nF2, myIntrPool, aMapWhat, aMapWith);
-    //
-    if (bJustAdd) {
-      if (!bIsFound) {
-       myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-      }
-      else{
-       BOPTools_SSInterference anInterf (nF1, nF2, 1.e-07, 1.e-07, aCvs, aPnts);
-       anIndexIn=aFFs.Append(anInterf);
-       myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-      }
-      continue;
-    }
-    //
-    const TopoDS_Face& aF1=TopoDS::Face(myDS->Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(myDS->Shape(nF2));
-    //
-    // FF
-    bToApproxC3d     = mySectionAttribute.Approximation();
-    bToApproxC2dOnS1 = mySectionAttribute.PCurveOnS1();
-    bToApproxC2dOnS2 = mySectionAttribute.PCurveOnS2();
-    //
-    anApproxTol=1.e-7;
-    //
-    IntTools_FaceFace aFF;
-    //
-    aFF.SetParameters (bToApproxC3d, bToApproxC2dOnS1, 
-                      bToApproxC2dOnS2, anApproxTol);
-    //
-    aFF.Perform(aF1, aF2);
-    //
-    bIsDone=aFF.IsDone();
-    //
-    if (!bIsDone) {
-      if (!bIsFound) {
-       myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-      }
-      else {
-       BOPTools_SSInterference anInterf (nF1, nF2, 1.e-07, 1.e-07, aCvs, aPnts);
-       anIndexIn=aFFs.Append(anInterf);
-       myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-      }
-      continue;
-    }
-    //
-    aTolR3D=aFF.TolReached3d();
-    aTolR2D=aFF.TolReached2d();
-    if (aTolR3D < 1.e-7){
-      aTolR3D=1.e-7;
-    } 
-    //
-    aFF.PrepareLines3D();
-    //
-    const IntTools_SequenceOfCurves& aCvsX=aFF.Lines();
-    const IntTools_SequenceOfPntOn2Faces& aPntsX=aFF.Points();
-    //
-    aNbCurves=aCvsX.Length();
-    aNbPoints=aPntsX.Length();
-    //
-    if (!aNbCurves && !aNbPoints) {
-      BOPTools_SSInterference anInterf (nF1, nF2, 1.e-07, 1.e-07, aCvs, aPnts);
-      anIndexIn=aFFs.Append(anInterf);
-      myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-      continue;
-    }
-    //
-    {
-      BOPTools_SSInterference anInterf (nF1, nF2, aTolR3D, aTolR2D, aCvsX, aPntsX);
-      anIndexIn=aFFs.Append(anInterf);
-      myIntrPool->AddInterference (nF1, nF2, aTypeFF, anIndexIn);
-    }
-    //
-  }// for (; myDSIt.More(); myDSIt.Next()) 
-  //
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: MakeBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::MakeBlocks()
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean bIsExistingPaveBlock, bIsValidIn2D;
-  Standard_Integer i, aNbFFs, nF1, nF2, aBid=0;
-  Standard_Integer nV1, nV2, j, aNbCurves;
-  Standard_Real aTolR3D, aTol2D, aT1, aT2, aTolPPC=Precision::PConfusion();
-  NMTTools_IndexedDataMapOfShapePaveBlock aMEPB;
-  BooleanOperations_IndexedDataMapOfShapeInteger aMapEI;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;  
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=myIntrPool->SSInterferences();
-  //
-  // 1. Produce Section Edges from intersection curves
-  //    between each pair of faces
-  //
-  aNbFFs=aFFs.Extent();
-  for (i=1; i<=aNbFFs; ++i) {
-    BOPTools_SSInterference& aFFi=aFFs(i);
-    // 
-    // Faces
-    aFFi.Indices(nF1, nF2);
-    const TopoDS_Face& aF1=TopoDS::Face(myDS->Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(myDS->Shape(nF2));
-    //
-    BOPTools_ListOfPaveBlock aLPB, aLPBC;
-    //
-    //modified by NIZNHY-PKV Fri Mar 11 15:43:02 2005 f
-    {
-      Standard_Integer nFj1, nFj2, nE;
-      TColStd_IndexedMapOfInteger aMFence;
-      BOPTools_ListOfPaveBlock aLPBCx;
-      //
-      for (j=1; j<=aNbFFs; ++j) {
-       BOPTools_SSInterference& aFFj=aFFs(j);
-       aFFj.Indices(nFj1, nFj2);
-       //
-       if ((nF1==nFj1 && nFj2!=nF2) ||
-           (nF1==nFj2 && nFj1!=nF2) ||
-           (nF2==nFj1 && nFj2!=nF1) ||
-           (nF2==nFj2 && nFj1!=nF1)) {
-         RealSplitsInFace (aBid, nFj1, nFj2, aLPBCx);
-         RealSplitsInFace (aBid, nFj2, nFj1, aLPBCx);
-         RealSplitsOnFace (aBid, nFj1, nFj2, aLPBCx);
-       }
-      }
-      //
-      anIt.Initialize(aLPBCx);
-      for (; anIt.More(); anIt.Next()) {
-       const BOPTools_PaveBlock& aPBCx=anIt.Value();
-       //
-       nE=aPBCx.Edge();
-       if (!aMFence.Contains(nE)) {
-         aMFence.Add(nE);
-         aLPBC.Append(aPBCx);
-       }
-      }
-    }
-    //
-    //modified by NIZNHY-PKV Fri Apr  1 09:49:57 2005t
-    //
-    RealSplitsInFace (aBid, nF1, nF2, aLPB);
-    RealSplitsInFace (aBid, nF2, nF1, aLPB);
-    RealSplitsOnFace (aBid, nF1, nF2, aLPB);
-    //
-    anIt.Initialize(aLPB);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB=anIt.Value();
-      aFFi.AppendBlock(aPB);
-    }
-    //
-    BOPTools_SequenceOfCurves& aSCvs=aFFi.Curves();
-    aNbCurves=aSCvs.Length();
-    if (!aNbCurves) {
-      continue;
-    }
-    //
-    aTolR3D=aFFi.TolR3D();
-    aTol2D=(aTolR3D < 1.e-3) ? 1.e-3 : aTolR3D;
-    //
-    BOPTools_PaveSet aPSF;
-    //
-    //modified by NIZNHY-PKV Fri Apr  1 10:53:09 2005f
-    PrepareSetForFace (nF1, nF2, aLPBC, aPSF);
-    //PrepareSetForFace (nF1, nF2, aPSF);
-    //modified by NIZNHY-PKV Thu Mar 31 16:16:47 2005t
-    //
-    // Put Paves On Curves
-    for (j=1; j<=aNbCurves; ++j) {
-      BOPTools_Curve& aBC=aSCvs(j);
-      // DEBUG
-      const IntTools_Curve& aC=aBC.Curve();
-      Handle (Geom_Curve) aC3D= aC.Curve();
-      //
-      PutPaveOnCurve (aPSF, aTolR3D, aBC);
-    }
-    //
-    // Put bounding paves on curves
-    for (j=1; j<=aNbCurves; ++j) {
-      BOPTools_Curve& aBC=aSCvs(j);
-      PutBoundPaveOnCurve (aBC, aFFi);
-    }
-    //
-    //  Pave Blocks on Curves
-    for (j=1; j<=aNbCurves; ++j) {
-      BOPTools_Curve& aBC=aSCvs(j);
-      const IntTools_Curve& aIC= aBC.Curve();
-      BOPTools_PaveSet& aPaveSet=aBC.Set();
-      //
-      BOPTools_PaveBlockIterator aPBIter(0, aPaveSet);
-      for (; aPBIter.More(); aPBIter.Next()) {
-       BOPTools_PaveBlock& aPBNew=aPBIter.Value();
-       aPBNew.SetCurve(aIC);
-       aPBNew.SetFace1(nF1);
-       aPBNew.SetFace2(nF2);
-       //
-       nV1=aPBNew.Pave1().Index();
-       nV2=aPBNew.Pave2().Index();
-       aT1=aPBNew.Pave1().Param();
-       aT2=aPBNew.Pave2().Param();
-       // ???
-       if((nV1==nV2) && (Abs(aT2 - aT1) < aTolPPC)) {
-         continue;// mkk ft
-       }
-       //
-       //modified by NIZNHY-PKV Fri Apr  1 09:56:11 2005f
-       // 1
-       const BOPTools_ListOfPaveBlock& aLPBFF=aFFi.PaveBlocks();
-       bIsExistingPaveBlock=IsExistingPaveBlock(aPBNew, aLPBFF, aTolR3D);
-       //bIsExistingPaveBlock=IsExistingPaveBlock(aPBNew, aFFi);
-       if (bIsExistingPaveBlock) {
-         continue;
-       }
-       // 2
-       bIsExistingPaveBlock=IsExistingPaveBlock(aPBNew, aLPBC, aTolR3D);
-       if (bIsExistingPaveBlock) {
-         continue;
-       }
-       //modified by NIZNHY-PKV Fri Apr  1 09:56:14 2005t
-       // Checking of validity in 2D
-       //
-       bIsValidIn2D=myContext.IsValidBlockForFaces(aT1, aT2, aIC, aF1, aF2, aTol2D);
-       if (!bIsValidIn2D) {
-         continue;
-       }
-       //
-       //aBC.AppendNewBlock(aPBNew);
-       //
-       // Make Section Edge  
-       TopoDS_Edge aES;
-       //
-       const TopoDS_Vertex& aV1=TopoDS::Vertex(myDS->Shape(nV1));
-       const TopoDS_Vertex& aV2=TopoDS::Vertex(myDS->Shape(nV2));
-       //
-       BOPTools_Tools::MakeSectEdge (aIC, aV1, aT1, aV2, aT2, aES);
-       //
-       {
-         Standard_Real aTolR2D;
-         //
-         aTolR2D=aFFi.TolR2D();
-         Handle(Geom2d_Curve) aC2D1=aIC.FirstCurve2d();
-         Handle(Geom2d_Curve) aC2D2=aIC.SecondCurve2d();
-         //
-         NMTTools_Tools::MakePCurve(aES, aF1, aC2D1, aTolR2D);
-         NMTTools_Tools::MakePCurve(aES, aF2, aC2D2, aTolR2D);
-       }
-       //
-       aMEPB.Add(aES, aPBNew);
-       aMapEI.Add(aES, i);
-      }
-    } // end of for (j=1; j<=aNbCurves; ++j)
-  }// for (i=1; i<=aNbFFs; ++i)
-  //=============================================================
-  //
-  // II. Post treatment 
-  //
-  // Input data: aMEPB, aMapEI
-  // Result    : section edges in myDS
-  //
-  Standard_Integer aNbSE;
-  //
-  aNbSE=aMEPB.Extent();
-  if (!aNbSE) {
-    // there is nothing to do here
-    return;
-  } 
-  //
-  BRep_Builder aBB;
-  TopoDS_Compound aCompound;
-  //
-  // 1. Make compound from SE
-  aBB.MakeCompound(aCompound);
-  for (i=1; i<=aNbSE; ++i) {
-    const TopoDS_Shape& aSE=aMEPB.FindKey(i);
-    aBB.Add(aCompound, aSE);
-  }
-  //
-  //
-  // 2. Intersect SE using auxiliary Filler
-  NMTDS_ShapesDataStructure tDS;
-  //
-  tDS.SetCompositeShape(aCompound);
-  tDS.Init();
-  //
-  BOPTools_InterferencePool tIP(tDS);
-  NMTTools_PaveFiller tPF(tIP);
-  //
-  // 2.1.VV
-  tPF.Init();
-  tPF.PerformVV();
-  tPF.PerformNewVertices();
-  //
-  // 2.2.VE
-  tPF.myPavePool.Resize (tPF.myNbEdges);
-  tPF.PrepareEdges();
-  tPF.PerformVE();
-  //
-  // 2.3.VF
-  tPF.PerformVF();
-  //
-  // 2.4.EE
-  tPF.myCommonBlockPool.Resize (tPF.myNbEdges);
-  tPF.mySplitShapesPool.Resize (tPF.myNbEdges);
-  tPF.myPavePoolNew    .Resize (tPF.myNbEdges);
-  
-  tPF.PreparePaveBlocks(TopAbs_VERTEX, TopAbs_EDGE);
-  tPF.PreparePaveBlocks(TopAbs_EDGE, TopAbs_EDGE);
-  //
-  tPF.PerformEE();
-  //
-  tPF.RefinePavePool ();
-  //
-  tPF.myPavePoolNew.Destroy();
-  //
-  tPF.MakeSplitEdges();
-  tPF.UpdateCommonBlocks();
-  //
-  // 3. Treatment of the result of intersection
-  //
-  Standard_Integer aNbOld, aNbLines, aNbPB, mV1, mV2, nE, mE, iFF;
-  TopAbs_ShapeEnum aType;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTColStd_IndexedDataMapOfIntegerInteger aMNewOld;
-  //
-  const BOPTools_SplitShapesPool& aSSP=tPF.mySplitShapesPool;
-  const NMTTools_CommonBlockPool& aCBP=tPF.myCommonBlockPool;
-  //
-  aNbLines=tDS.NumberOfInsertedShapes();
-  aNbOld=tDS.NumberOfShapesOfTheObject();
-  // 
-  // 3.1 Links between indices in tDS and DS (kept in aMNewOld)
-  //
-  // 3.1.1.Old vertices [ links ]
-  for (i=1; i<=aNbOld; ++i) {
-    const TopoDS_Shape& aV=tDS.Shape(i);
-    aType=aV.ShapeType();
-    if (aType!=TopAbs_VERTEX) {
-      continue;
-    }
-    //
-    for (j=1; j<=aNbSE; ++j) {
-      const BOPTools_PaveBlock& aPBSE=aMEPB(j);
-      nV1=aPBSE.Pave1().Index();
-      const TopoDS_Shape& aV1=myDS->Shape(nV1);
-      if (aV1.IsSame(aV)) {
-       aMNewOld.Add(i, nV1);
-       break;
-      }
-      nV2=aPBSE.Pave2().Index();
-      const TopoDS_Shape& aV2=myDS->Shape(nV2);
-      if (aV2.IsSame(aV)) {
-       aMNewOld.Add(i, nV2);
-       break;
-      }
-    }
-  }
-  //
-  // 3.1.2. New vertices [ links ]
-  i=tDS.NumberOfSourceShapes()+1;
-  for (; i<=aNbLines; ++i) {
-    const TopoDS_Shape& aV=tDS.Shape(i);
-    aType=aV.ShapeType();
-    if (aType!=TopAbs_VERTEX) {
-      continue;
-    }
-    //
-    // Insert new vertex in myDS
-    BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-    myDS->InsertShapeAndAncestorsSuccessors(aV, anASSeq);
-    nV1=myDS->NumberOfInsertedShapes();
-    // link
-    aMNewOld.Add(i, nV1);
-  }
-  //
-  // 3.2. Treatment of section edges (SE)
-  for (i=1; i<=aNbOld; ++i) {
-    const TopoDS_Shape& aE=tDS.Shape(i);
-    aType=aE.ShapeType();
-    if (aType!=TopAbs_EDGE) {
-      continue;
-    }
-    //
-    //  block of section edge that we already have for this SE
-    BOPTools_PaveBlock& aPBSE=aMEPB.ChangeFromKey(aE);
-    //
-    // Corresponding FF-interference
-    iFF=aMapEI.FindFromKey(aE);
-    BOPTools_SSInterference& aFFi=aFFs(iFF);
-    BOPTools_SequenceOfCurves& aSCvs=aFFi.Curves();
-    //
-    BOPTools_Curve& aBC=aSCvs(1); 
-    //
-    const BOPTools_ListOfPaveBlock& aLPB=aSSP(tDS.RefEdge(i));
-    aNbPB=aLPB.Extent();
-    //
-    if (!aNbPB) {
-      // no pave blocks -> use aPBSE and whole edge aE
-      BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-      //
-      nV1=aPBSE.Pave1().Index();
-      const TopoDS_Shape& aV1=myDS->Shape(nV1);
-      nV2=aPBSE.Pave2().Index();
-      const TopoDS_Shape& aV2=myDS->Shape(nV2);
-      //
-      anASSeq.SetNewSuccessor(nV1);
-      anASSeq.SetNewOrientation(aV1.Orientation());
-      anASSeq.SetNewSuccessor(nV2);
-      anASSeq.SetNewOrientation(aV2.Orientation());
-      //
-      myDS->InsertShapeAndAncestorsSuccessors(aE, anASSeq);
-      nE=myDS->NumberOfInsertedShapes();
-      //
-      aPBSE.SetEdge(nE);
-      aBC.AppendNewBlock(aPBSE);
-      //
-      continue;
-    }
-    //
-    nF1=aPBSE.Face1();
-    nF2=aPBSE.Face2();
-    const TopoDS_Face& aF1=TopoDS::Face(myDS->Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(myDS->Shape(nF2));
-    //
-    const NMTTools_ListOfCommonBlock& aLCB=aCBP(tDS.RefEdge(i));
-    NMTTools_CommonBlockAPI aCBAPI(aLCB);
-    //
-    aIt.Initialize(aLPB);
-    for (; aIt.More(); aIt.Next()) {
-      BOPTools_PaveBlock aPB=aIt.Value();
-      //
-      if (aCBAPI.IsCommonBlock(aPB)) {
-       // it can be Common Block
-       Standard_Real aTolEx;
-       Handle(Geom2d_Curve) aC2D1, aC2D2;
-       TopoDS_Face aF1FWD, aF2FWD;
-       //
-       NMTTools_CommonBlock& aCB=aCBAPI.CommonBlock(aPB);
-       const BOPTools_ListOfPaveBlock& aLPBx=aCB.PaveBlocks();
-       //
-       aPB=aCB.PaveBlock1();
-       mE=aPB.Edge(); // index of edge in tDS
-       const TopoDS_Edge& aEx=TopoDS::Edge(tDS.Shape(mE));
-       aTolEx=BRep_Tool::Tolerance(aEx);
-        //
-        // Commented out by EAP in the frame of PAL9151
-        //
-//     Standard_Boolean bHasPCOnF, bFound;
-//     Standard_Integer nF, k, nEOrx, nF1x, nF2x;
-//     Standard_Real aTolEx, aT1x, aT2x;
-//     BOPTools_ListIteratorOfListOfPaveBlock aItPBx;
-       //
-//     for (k=0; k<2; ++k) {   
-//       nF=(!k) ? nF1 : nF2;
-//       const TopoDS_Face& aF=TopoDS::Face(myDS->Shape(nF));
-//       //
-//       bHasPCOnF=BOPTools_Tools2D::HasCurveOnSurface(aEx, aF); 
-//       if (bHasPCOnF) {
-//         continue;
-//       }
-//       //
-//       bFound=Standard_False;
-//       aItPBx.Initialize(aLPBx);
-//       for (; aItPBx.More(); aItPBx.Next()) {
-//         BOPTools_PaveBlock& aPBx=aIt.Value();
-//         nEOrx=aPBx.OriginalEdge();
-//         const TopoDS_Shape& aEOrx=tDS.Shape(nEOrx);
-//         BOPTools_PaveBlock& aPBSEx=aMEPB.ChangeFromKey(aEOrx);
-//         aT1x=aPBSEx.Pave1().Param();
-//         aT2x=aPBSEx.Pave2().Param();
-//         const IntTools_Curve& aICx=aPBSEx.Curve();
-//         //
-//         nF1x=aPBSEx.Face1();
-//         nF2x=aPBSEx.Face2();
-//         //
-//         if (nF1x==nF) {
-//           Handle(Geom2d_Curve) aC2D1x=aICx.FirstCurve2d();
-//           Handle(Geom2d_TrimmedCurve)aC2D1xT =new Geom2d_TrimmedCurve(aC2D1x, aT1x, aT2x);
-//           aBB.UpdateEdge(aEx, aC2D1xT, aF, aTolEx);
-//           bFound=!bFound;
-//           break;
-//         }
-//         //
-//         if (nF2x==nF) {
-//           Handle(Geom2d_Curve) aC2D2x=aICx.SecondCurve2d();
-//           Handle(Geom2d_TrimmedCurve)aC2D2xT =new Geom2d_TrimmedCurve(aC2D2x, aT1x, aT2x);
-//           aBB.UpdateEdge(aEx, aC2D2xT, aF, aTolEx);
-//           bFound=!bFound;
-//           break;
-//         }
-//       }
-//       if (bFound){
-//         BRepLib::SameParameter(aEx, aTolEx, Standard_True);
-//       }
-//     }
-        //
-        // The code till the if block end is restored from V2_2_2 revision
-        //
-       aF1FWD=aF1;
-       aF1FWD.Orientation(TopAbs_FORWARD);
-       NMTTools_Tools::MakePCurve(aEx, aF1FWD, aC2D1, aTolEx);
-       //
-       aF2FWD=aF2;
-       aF2FWD.Orientation(TopAbs_FORWARD);
-       NMTTools_Tools::MakePCurve(aEx, aF2FWD, aC2D2, aTolEx);
-      } //if (aCBAPI.IsCommonBlock(aPB))
-      //
-      // new SE
-      mE=aPB.Edge(); // index of edge in tDS
-      const TopoDS_Shape& aSp=tDS.Shape(mE);
-      //
-      const BOPTools_Pave& aPave1=aPB.Pave1();
-      aT1=aPave1.Param();
-      mV1=aPave1.Index();            // index in tDS
-      nV1=aMNewOld.FindFromKey(mV1); // index in myDS
-      const TopoDS_Shape& aV1=myDS->Shape(nV1);
-      //
-      const BOPTools_Pave& aPave2=aPB.Pave2();
-      aT2=aPave2.Param();
-      mV2=aPave2.Index();
-      nV2=aMNewOld.FindFromKey(mV2);
-      const TopoDS_Shape& aV2=myDS->Shape(nV2);
-      //
-      if (!aMNewOld.Contains(mE)) {
-       // add new SE to the myDS
-       BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-       //
-       anASSeq.SetNewSuccessor(nV1);
-       anASSeq.SetNewOrientation(aV1.Orientation());
-
-       anASSeq.SetNewSuccessor(nV2);
-       anASSeq.SetNewOrientation(aV2.Orientation());
-       
-       myDS->InsertShapeAndAncestorsSuccessors(aSp, anASSeq);
-       nE=myDS->NumberOfInsertedShapes();
-       //
-       aMNewOld.Add(mE, nE);
-      }
-      else {
-       nE=aMNewOld.FindFromKey(mE);
-      }
-      // Form PaveBlock;
-      BOPTools_PaveBlock aPBx;
-      BOPTools_Pave aP1, aP2;
-      //
-      aPBx.SetFace1(nF1);
-      aPBx.SetFace1(nF2);
-      //
-      aP1.SetIndex(nV1);
-      aP1.SetParam(aT1);
-      //
-      aP2.SetIndex(nV2);
-      aP2.SetParam(aT2);
-      //
-      aPBx.SetPave1(aP1);
-      aPBx.SetPave2(aP2);
-      //
-      aPBx.SetEdge(nE);
-      //
-      aBC.AppendNewBlock(aPBx);
-    }// for (; aIt.More(); aIt.Next()) 
-  }// for (i=1; i<=aNbOld; ++i) 
-  //
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: MakePCurves
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::MakePCurves()
-{
-  Standard_Integer i, aNb,  nF1, nF2, nE;
-  TopoDS_Face aF1FWD, aF2FWD;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=myIntrPool->SSInterferences();
-  //
-  aNb=aFFs.Extent();
-  for (i=1; i<=aNb; i++) {
-    BOPTools_SSInterference& aFF=aFFs(i);
-    aFF.Indices(nF1, nF2);
-    //
-    const TopoDS_Face& aF1=TopoDS::Face(myDS->Shape(nF1));
-    const TopoDS_Face& aF2=TopoDS::Face(myDS->Shape(nF2));
-    //
-    aF1FWD=aF1;
-    aF1FWD.Orientation(TopAbs_FORWARD);
-    aF2FWD=aF2;
-    aF2FWD.Orientation(TopAbs_FORWARD);
-    //
-    // In, On parts processing
-    const BOPTools_ListOfPaveBlock& aLPBInOn=aFF.PaveBlocks();
-    //
-    anIt.Initialize(aLPBInOn);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB=anIt.Value();
-      nE=aPB.Edge();
-      const TopoDS_Edge& aE=TopoDS::Edge(myDS->Shape(nE));
-      
-      BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aE, aF1FWD);
-      BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aE, aF2FWD);
-    }
-  } 
-}
-//modified by NIZNHY-PKV Fri Apr  1 09:36:06 2005f
-//=======================================================================
-// function: IsExistingPaveBlock
-// purpose: 
-//=======================================================================
-   Standard_Boolean NMTTools_PaveFiller::IsExistingPaveBlock(const BOPTools_PaveBlock& aPBNew,
-                                                            const BOPTools_ListOfPaveBlock& aLPBR,
-                                                            const Standard_Real aTolR3D)
-{
-  Standard_Boolean bFlag;
-  Standard_Integer nVNew1, nVNew2, nV1, nV2, iC;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  bFlag=Standard_False;
-  nVNew1=aPBNew.Pave1().Index();
-  nVNew2=aPBNew.Pave2().Index();
-  //
-  anIt.Initialize(aLPBR);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPBR=anIt.Value();
-    nV1=aPBR.Pave1().Index();
-    nV2=aPBR.Pave2().Index();
-    if (nVNew1==nV1 || nVNew1==nV2 || nVNew2==nV1 || nVNew2==nV2) {
-      //
-      iC=CheckIntermediatePoint(aPBNew, aPBR, aTolR3D);
-      if (!iC) {
-       return !bFlag;
-      }
-    }
-  }
-  return bFlag;
-}
-//modified by NIZNHY-PKV Fri Apr  1 09:36:06 2005t
-//=======================================================================
-// function: CheckIntermediatePoint
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::CheckIntermediatePoint(const BOPTools_PaveBlock& aPB,
-                                                              const BOPTools_PaveBlock& aPBR,
-                                                              const Standard_Real aTolC)
-                                                        
-{
-  Standard_Real aT11, aT12, aTM, aTmp;
-  Standard_Integer iVM, nE2;
-  gp_Pnt aPM;
-  BRep_Builder aBB;
-  TopoDS_Vertex aVM;
-  // 
-  // Vertex
-  const BOPTools_Pave& aPave11=aPB.Pave1();
-  aT11=aPave11.Param();
-  // 
-  const BOPTools_Pave& aPave12=aPB.Pave2();
-  aT12=aPave12.Param();
-  //
-  aTM=IntTools_Tools::IntermediatePoint (aT11, aT12);
-  //
-  const IntTools_Curve& aIC=aPB.Curve();
-  aIC.D0(aTM, aPM);
-  //
-  aBB.MakeVertex (aVM, aPM, aTolC);
-  //
-  //Edge
-  nE2=aPBR.Edge();
-  const TopoDS_Edge& aE2=TopoDS::Edge(myDS->GetShape(nE2));
-  // VE
-  iVM=myContext.ComputeVE(aVM, aE2, aTmp); 
-  //
-  return iVM;
-}
-//=======================================================================
-// function: PutBoundPaveOnCurve
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PutBoundPaveOnCurve(BOPTools_Curve& aBC,
-                                               BOPTools_SSInterference& aFFi)
-{ 
-  Standard_Boolean bHasBounds, bVF;
-  Standard_Integer nF1, nF2;
-  Standard_Real aT1, aT2, aTolR3D;
-  gp_Pnt aP1, aP2;
-  //
-  const IntTools_Curve& aIC=aBC.Curve();
-  bHasBounds=aIC.HasBounds ();
-  if (!bHasBounds){
-    return;
-  }
-  //
-  // Bounds
-  aIC.Bounds (aT1, aT2, aP1, aP2);
-  //
-  // Faces
-  aFFi.Indices(nF1, nF2);
-  aTolR3D=aFFi.TolR3D();
-  //
-  const TopoDS_Face& aF1=TopoDS::Face(myDS->GetShape(nF1));
-  const TopoDS_Face& aF2=TopoDS::Face(myDS->GetShape(nF2));
-  //
-  bVF=myContext.IsValidPointForFaces (aP1, aF1, aF2, aTolR3D);
-  if (bVF) {
-    PutBoundPaveOnCurve (aP1, aT1, aBC, aFFi);
-  }
-  //
-  bVF=myContext.IsValidPointForFaces (aP2, aF1, aF2, aTolR3D);
-  if (bVF) {
-    PutBoundPaveOnCurve (aP2, aT2, aBC, aFFi);
-  }
-}
-//=======================================================================
-// function: PutBoundPaveOnCurve
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PutBoundPaveOnCurve(const gp_Pnt& aP,
-                                               const Standard_Real aT,
-                                               BOPTools_Curve& aBC,
-                                               BOPTools_SSInterference& aFFi)
-{ 
-  Standard_Boolean bFound1, bFound2;
-  Standard_Integer nV;
-  Standard_Real aTolV=aFFi.TolR3D();
-
-  BOPTools_Pave aPave1, aPave2, aPave;
-  BOPTools_PaveSet& aCPS=aBC.Set();
-  BOPTools_PaveSet& aFFiPS=aFFi.NewPaveSet();
-  const IntTools_Curve& aIC=aBC.Curve();
-  //
-  bFound1=FindPave(aP, aTolV, aCPS  , aPave1);
-  bFound2=FindPave(aP, aTolV, aFFiPS, aPave2);
-  //
-  if (!bFound1 && !bFound2) {
-    TopoDS_Vertex aNewVertex;
-    BOPTools_Tools::MakeNewVertex(aP, aTolV, aNewVertex);
-    //
-    BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-    myDS->InsertShapeAndAncestorsSuccessors(aNewVertex, anASSeq);
-    nV=myDS->NumberOfInsertedShapes();
-    aPave.SetIndex(nV);
-    aPave.SetParam(aT);
-
-    aCPS.Append(aPave);
-    aFFiPS.Append(aPave);
-    //
-    // Append Techno Vertex to the Curve
-    TColStd_ListOfInteger& aTVs=aBC.TechnoVertices();
-    aTVs.Append(nV);
-  }
-  
-  if (bFound1 && !bFound2) {
-    nV=aPave1.Index();
-    aPave.SetIndex(nV);
-    aPave.SetParam(aT);
-    aFFiPS.Append(aPave);
-    //
-    const TopoDS_Vertex& aV=TopoDS::Vertex(myDS->Shape(nV));
-    BOPTools_Tools::UpdateVertex (aIC, aT, aV);
-  }
-  
-  if (!bFound1 && bFound2) {
-    nV=aPave2.Index();
-    aPave.SetIndex(nV);
-    aPave.SetParam(aT);
-    aCPS.Append(aPave);
-    //
-    const TopoDS_Vertex& aV=TopoDS::Vertex(myDS->Shape(nV));
-    BOPTools_Tools::UpdateVertex (aIC, aT, aV);
-  }
-}
-//=======================================================================
-// function: FindPave
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_PaveFiller::FindPave(const gp_Pnt& aP,
-                                                const Standard_Real aTolPV, 
-                                                const BOPTools_PaveSet& aPS,
-                                                BOPTools_Pave& aPave)
-{
-  Standard_Integer nV;
-  Standard_Boolean bIsVertex=Standard_False;
-  const BOPTools_ListOfPave& aLP=aPS.Set();
-  BOPTools_ListIteratorOfListOfPave anIt(aLP);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_Pave& aPC=anIt.Value();
-    nV=aPC.Index();
-    const TopoDS_Vertex& aV=TopoDS::Vertex(myDS->Shape(nV));
-    bIsVertex=IntTools_Tools::IsVertex (aP, aTolPV, aV);
-    if (bIsVertex) {
-      aPave=aPC;
-      return bIsVertex;
-    }
-  }
-  return bIsVertex;
-}
-//=======================================================================
-// function: PrepareSetForFace
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PrepareSetForFace(const Standard_Integer nF1,
-                                             const Standard_Integer nF2,
-                                             const BOPTools_ListOfPaveBlock& aLPBC,
-                                             BOPTools_PaveSet& aPSF)
-{
-  Standard_Integer nV1, nV2; 
-  TColStd_MapOfInteger aMap;
-  BOPTools_ListOfPaveBlock aLPB1, aLPB2, aLPBS;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  RealSplitsFace(nF1, aLPB1);
-  anIt.Initialize(aLPB1);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    aLPBS.Append(aPB);
-  }
-  //
-  RealSplitsFace(nF2, aLPB2);
-  anIt.Initialize(aLPB2);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    aLPBS.Append(aPB);
-  }
-  //
-  anIt.Initialize(aLPBC);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    aLPBS.Append(aPB);
-  }
-  //
-  anIt.Initialize(aLPBS);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    const BOPTools_Pave& aPave1=aPB.Pave1();
-    nV1=aPave1.Index();
-    if (!aMap.Contains(nV1)) {
-      aMap.Add(nV1);
-      aPSF.Append(aPave1);
-    }
-    const BOPTools_Pave& aPave2=aPB.Pave2();
-    nV2=aPave2.Index();
-    if (!aMap.Contains(nV2)) {
-      aMap.Add(nV2);
-      aPSF.Append(aPave2);
-    }
-  }
-}
-//=======================================================================
-// function: PutPaveOnCurve
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PutPaveOnCurve(const BOPTools_PaveSet& aPaveSet,
-                                          const Standard_Real aTolR3D,
-                                          BOPTools_Curve& aBC)
-{ 
-  Standard_Integer nV;
-  Standard_Boolean bIsVertexOnLine;
-  Standard_Real aT;
-  BOPTools_ListIteratorOfListOfPave anIt;
-  Bnd_Box aBBC;
-  GeomAdaptor_Curve aGAC;
-  //
-  const IntTools_Curve& aC=aBC.Curve();
-  Handle (Geom_Curve) aC3D= aC.Curve();
-  aGAC.Load(aC3D);
-  BndLib_Add3dCurve::Add(aGAC, aTolR3D, aBBC);
-  //
-  const BOPTools_ListOfPave& aLP=aPaveSet.Set();
-  anIt.Initialize(aLP);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_Pave& aPave=anIt.Value();
-    //
-    nV=aPave.Index();
-    const TopoDS_Vertex& aV=TopoDS::Vertex(myDS->Shape(nV));
-    //
-    Bnd_Box aBBV;
-    BRepBndLib::Add(aV, aBBV);
-    if (aBBC.IsOut(aBBV)){
-      continue; 
-    }
-    //
-    bIsVertexOnLine=myContext.IsVertexOnLine(aV, aC, aTolR3D, aT);
-    //
-    if (bIsVertexOnLine) {
-      BOPTools_Pave aPaveNew(nV, aT, BooleanOperations_SurfaceSurface);
-      BOPTools_PaveSet& aPS=aBC.Set();
-      aPS.Append(aPaveNew);
-      //<-B
-      BOPTools_Tools::UpdateVertex (aC, aT, aV);
-    }
-  }
-}
-/////////////
-//=======================================================================
-// function: IsPairFound
-// purpose: 
-//=======================================================================
-Standard_Boolean IsPairFound(const Standard_Integer nF1,
-                            const Standard_Integer nF2,
-                            BOPTools_InterferencePool* myIntrPool,
-                            BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapWhat,
-                            BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapWith)
-{
-  Standard_Boolean bIsFound;
-  //
-  if (!aMapWhat.Contains(nF1)) {
-    TColStd_IndexedMapOfInteger aMWhat;
-    FMapWhat(nF1, myIntrPool, aMWhat);
-    aMapWhat.Add(nF1, aMWhat);
-  }
-  //
-  if (!aMapWith.Contains(nF2)) {
-    TColStd_IndexedMapOfInteger aMWith;
-    FMapWith(nF2, myIntrPool, aMWith);
-    aMapWith.Add(nF2, aMWith);
-  }
-  //
-  const TColStd_IndexedMapOfInteger& aMWht=aMapWhat.FindFromKey(nF1);
-  const TColStd_IndexedMapOfInteger& aMWit=aMapWith.FindFromKey(nF2);
-  //
-  bIsFound=IsFound(aMWht, aMWit);
-  //
-  return bIsFound;
-}
-//=======================================================================
-// function: FMapWhat
-// purpose: 
-//=======================================================================
-void FMapWhat(const Standard_Integer nF,
-             BOPTools_InterferencePool* myIntrPool,
-             TColStd_IndexedMapOfInteger& aMapWhat)
-                   
-{
-  Standard_Integer nE, nV;
-  
-
-  BooleanOperations_ShapesDataStructure* myDS=myIntrPool->DS();
-  BooleanOperations_OnceExplorer aExp(*myDS);
-  //
-  //  What
-  aMapWhat.Add(nF);
-  aExp.Init(nF, TopAbs_VERTEX);
-  for (; aExp.More(); aExp.Next()) {
-    nV=aExp.Current();
-    aMapWhat.Add(nV);
-  }
-  //
-  aExp.Init(nF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE=aExp.Current();
-    aMapWhat.Add(nE);
-  }
-}
-//=======================================================================
-// function: FMapWith
-// purpose: 
-//=======================================================================
-void FMapWith(const Standard_Integer nF,
-             BOPTools_InterferencePool* myIntrPool,
-             TColStd_IndexedMapOfInteger& aMapWith)
-{
-  TColStd_IndexedMapOfInteger aMapWhat;
-  
-  FMapWhat(nF, myIntrPool, aMapWhat);
-  //
-  // With
-  Standard_Integer i, aNb, anIndex, aWhat, aWith;
-  BOPTools_ListIteratorOfListOfInterference anIt;
-  
-  const BOPTools_CArray1OfInterferenceLine& anArrIL= myIntrPool->InterferenceTable();
-
-  aNb=aMapWhat.Extent();
-  for (i=1; i<=aNb; i++) {
-    aWhat=aMapWhat(i);
-    
-    const BOPTools_InterferenceLine& aWithLine=anArrIL(aWhat);
-  
-    const BOPTools_ListOfInterference& aLI=aWithLine.List();
-    anIt.Initialize(aLI);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_Interference& anIntf=anIt.Value();
-      anIndex=anIntf.Index();
-      if (anIndex) {
-       aWith=anIntf.With();
-       aMapWith.Add(aWith);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: IsFound
-// purpose: 
-//=======================================================================
-Standard_Boolean IsFound(const TColStd_IndexedMapOfInteger& aMapWhat,
-                        const TColStd_IndexedMapOfInteger& aMapWith)
-{
-  Standard_Boolean bFlag=Standard_False;
-  Standard_Integer i, aNb, aWhat;
-
-  aNb=aMapWhat.Extent();
-  for (i=1; i<=aNb; i++) {
-    aWhat=aMapWhat(i);
-    if (aMapWith.Contains(aWhat)) {
-      return !bFlag;
-    }
-  }
-  return bFlag;
-}
-/*
-//=======================================================================
-// function: PrepareSetForFace
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PrepareSetForFace(const Standard_Integer nF1,
-                                             const Standard_Integer nF2,
-                                             BOPTools_PaveSet& aPSF)
-{
-  Standard_Integer nV1, nV2; 
-  TColStd_MapOfInteger aMap;
-  BOPTools_ListOfPaveBlock aLPB1, aLPB2;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  RealSplitsFace(nF1, aLPB1);
-  RealSplitsFace(nF2, aLPB2);
-  //
-  aLPB1.Append(aLPB2);
-  //
-  anIt.Initialize(aLPB1);
-  for (; anIt.More(); anIt.Next()) {
-    const BOPTools_PaveBlock& aPB=anIt.Value();
-    const BOPTools_Pave& aPave1=aPB.Pave1();
-    nV1=aPave1.Index();
-    if (!aMap.Contains(nV1)) {
-      aMap.Add(nV1);
-      aPSF.Append(aPave1);
-    }
-    const BOPTools_Pave& aPave2=aPB.Pave2();
-    nV2=aPave2.Index();
-    if (!aMap.Contains(nV2)) {
-      aMap.Add(nV2);
-      aPSF.Append(aPave2);
-    }
-  }
-}
-*/
-/*
-//=======================================================================
-// function: IsExistingPaveBlock
-// purpose: 
-//=======================================================================
-   Standard_Boolean NMTTools_PaveFiller::IsExistingPaveBlock(const BOPTools_PaveBlock& aPBNew,
-                                                            const BOPTools_SSInterference& aFFi)
-{
-  Standard_Boolean bFlag;
-  Standard_Real aTolR3D;
-  //
-  aTolR3D=aFFi.TolR3D();
-  const BOPTools_ListOfPaveBlock& aLPBR=aFFi.PaveBlocks();
-  //
-  bFlag=IsExistingPaveBlock(aPBNew, aLPBR, aTolR3D);
-  //
-  return bFlag;
-}
-*/
diff --git a/src/NMTTools/NMTTools_PaveFiller_7.cxx b/src/NMTTools/NMTTools_PaveFiller_7.cxx
deleted file mode 100644 (file)
index 5f8f5fe..0000000
+++ /dev/null
@@ -1,261 +0,0 @@
-// File:       NMTTools_PaveFiller_7.cxx
-// Created:    Thu Dec 18 15:14:55 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-#include <TopAbs_Orientation.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_Pave.hxx>
-#include <BOPTools_Tools.hxx>
-#include <BooleanOperations_AncestorsSeqAndSuccessorsSeq.hxx>
-#include <BRep_Tool.hxx>
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#include <BOPTools_SSInterference.hxx>
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopExp.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-//=======================================================================
-// function: MakeSplitEdges
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::MakeSplitEdges()
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Boolean bIsNewVertex1, bIsNewVertex2;
-  Standard_Integer i, aNbS, nV1, nV2, aNbPaveBlocks, aNewShapeIndex;
-  Standard_Real    t1, t2;
-  TopAbs_Orientation anOri;
-  TopoDS_Edge aE, aESplit;
-  TopoDS_Vertex aV1, aV2;
-  //
-  aNbS=myDS->NumberOfShapesOfTheObject();
-  for (i=1; i<=aNbS; ++i) {
-    if (myDS->GetShapeType(i) != TopAbs_EDGE)
-      continue;
-    //
-    // Original Edge
-    aE=TopoDS::Edge(myDS->Shape(i));
-    if (BRep_Tool::Degenerated(aE)){
-      continue;
-    }
-    //
-    anOri=aE.Orientation(); 
-    aE.Orientation(TopAbs_FORWARD);
-    //
-    // Making Split Edges
-    //
-    // Split Set for the Original Edge i
-    BOPTools_ListOfPaveBlock& aSplitEdges=mySplitShapesPool(myDS->RefEdge(i));
-    BOPTools_ListIteratorOfListOfPaveBlock aPBIt(aSplitEdges);
-    //
-    aNbPaveBlocks=aSplitEdges.Extent();
-  
-    for (; aPBIt.More(); aPBIt.Next()) {
-      BOPTools_PaveBlock& aPB=aPBIt.Value();
-      // aPave1
-      const BOPTools_Pave& aPave1=aPB.Pave1();
-      nV1=aPave1.Index();
-      t1=aPave1.Param();
-      aV1=TopoDS::Vertex(myDS->GetShape(nV1));
-      aV1.Orientation(TopAbs_FORWARD);
-      // aPave2
-      const BOPTools_Pave& aPave2=aPB.Pave2();
-      nV2=aPave2.Index();
-      t2=aPave2.Param();
-      aV2=TopoDS::Vertex(myDS->GetShape(nV2));
-      aV2.Orientation(TopAbs_REVERSED);
-      //xx
-      if (aNbPaveBlocks==1) {
-       bIsNewVertex1=myDS->IsNewShape (nV1);
-       bIsNewVertex2=myDS->IsNewShape (nV2);
-       if (!bIsNewVertex1 && !bIsNewVertex2) {
-         aPB.SetEdge(i);
-         continue;
-       }
-      }
-      //xx
-      BOPTools_Tools::MakeSplitEdge(aE, aV1, t1, aV2, t2, aESplit);  
-      //
-      // Add Split Part of the Original Edge to the DS
-      BooleanOperations_AncestorsSeqAndSuccessorsSeq anASSeq;
-
-      anASSeq.SetNewSuccessor(nV1);
-      anASSeq.SetNewOrientation(aV1.Orientation());
-
-      anASSeq.SetNewSuccessor(nV2);
-      anASSeq.SetNewOrientation(aV2.Orientation());
-      //
-      if (anOri==TopAbs_INTERNAL) {
-       anASSeq.SetNewAncestor(i);
-       aESplit.Orientation(anOri);
-      }
-      //
-      myDS->InsertShapeAndAncestorsSuccessors(aESplit, anASSeq);
-      aNewShapeIndex=myDS->NumberOfInsertedShapes();
-      myDS->SetState(aNewShapeIndex, BooleanOperations_UNKNOWN);
-      //
-      // Fill Split Set for the Original Edge
-      aPB.SetEdge(aNewShapeIndex);
-      //
-    }
-  } 
-  myIsDone=Standard_True;
-}
-//=======================================================================
-// function: UpdateCommonBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::UpdateCommonBlocks()
-{
-  myIsDone=Standard_False;
-  //
-  Standard_Integer nE, aNbS,  nSp, nEx, nSpx;
-  NMTTools_ListIteratorOfListOfCommonBlock aCBIt;
-  BOPTools_ListIteratorOfListOfPaveBlock aPBIt;
-  //
-  aNbS=myDS->NumberOfShapesOfTheObject();
-  //
-  for (nE=1; nE<=aNbS; ++nE) {
-    if (myDS->GetShapeType(nE)!=TopAbs_EDGE){
-      continue;
-    }
-    if (BRep_Tool::Degenerated(TopoDS::Edge(myDS->Shape(nE)))){
-      continue;
-    }
-    //
-    NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE));
-    BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool  (myDS->RefEdge(nE));
-    //
-    aCBIt.Initialize(aLCB);
-    for (; aCBIt.More(); aCBIt.Next()) {
-      NMTTools_CommonBlock& aCB=aCBIt.Value();
-      BOPTools_PaveBlock& aPB=aCB.PaveBlock1(nE);
-      nSp=SplitIndex(aPB);
-      aPB.SetEdge(nSp);
-      //
-      const BOPTools_ListOfPaveBlock& aCBLPB=aCB.PaveBlocks();
-      aPBIt.Initialize(aCBLPB);
-      for (; aPBIt.More(); aPBIt.Next()) {
-       BOPTools_PaveBlock& aPBx=aPBIt.Value();
-       nEx=aPBx.OriginalEdge();
-       if (nEx==nE) {
-         continue;
-       }
-       //
-       nSpx=SplitIndex(aPBx);
-       aPBx.SetEdge(nSpx);
-      }
-      //
-    }
-  }
-}
-//=======================================================================
-// function: SplitIndex
-// purpose: 
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitIndex(const BOPTools_PaveBlock& aPBx)const 
-{
-  Standard_Integer anOriginalEdge, anEdgeIndex=0;
-
-  anOriginalEdge=aPBx.OriginalEdge();
-
-  const BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(anOriginalEdge));
-  //
-  BOPTools_ListIteratorOfListOfPaveBlock anIt(aLPB);
-  for (; anIt.More(); anIt.Next()) {
-    BOPTools_PaveBlock& aPB=anIt.Value();
-    if (aPB.IsEqual(aPBx)) {
-      anEdgeIndex=aPB.Edge();
-      return anEdgeIndex;
-    }
-  }
-  return anEdgeIndex;
-} 
-//=======================================================================
-// function: UpdatePaveBlocks
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::UpdatePaveBlocks()
-{
-  myIsDone=Standard_False;
-  //
-  
-  Standard_Integer i, aNbFFs, nF1, nF2, aNbF, nF, iRankF, nE, nV1, nV2, aNbPB;
-  Standard_Real aT1, aT2;
-  TColStd_IndexedMapOfInteger aMF, aME;
-  TopExp_Explorer aExp;
-  TopoDS_Vertex aV1, aV2;
-  TopoDS_Edge aE;
-  BOPTools_Pave aPave1, aPave2;
-  BOPTools_PaveBlock aPB;
-  //
-  BOPTools_CArray1OfSSInterference& aFFs=myIntrPool->SSInterferences();
-  //
-  aNbFFs=aFFs.Extent();
-  for (i=1; i<=aNbFFs; ++i) {
-    BOPTools_SSInterference& aFFi=aFFs(i);
-    aFFi.Indices(nF1, nF2);
-    aMF.Add(nF1);
-    aMF.Add(nF2);
-  }
-  //
-  aNbF=aMF.Extent();
-  for(i=1; i<=aNbF; ++i) {
-    nF=aMF(i);
-    iRankF=myDS->Rank(nF);
-    const TopoDS_Shape& aF=myDS->Shape(nF);
-    aExp.Init(aF, TopAbs_EDGE);
-    for(; aExp.More();  aExp.Next()) {
-      aE=TopoDS::Edge(aExp.Current());
-      //
-      if (BRep_Tool::Degenerated(aE)) {
-       continue;
-      }
-      //
-      nE=myDS->ShapeIndex(aE, iRankF);
-      //
-      if (aME.Contains(nE)) {
-       continue;
-      }
-      aME.Add(nE);
-      //
-      BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(nE));
-      aNbPB=aLPB.Extent();
-      if (aNbPB) {
-       continue;
-      }
-      TopExp::Vertices(aE, aV1, aV2);
-      //
-      nV1=myDS->ShapeIndex(aV1, iRankF);
-      aT1=BRep_Tool::Parameter(aV1, aE);
-      aPave1.SetIndex(nV1);
-      aPave1.SetParam(aT1);
-      //
-      nV2=myDS->ShapeIndex(aV2, iRankF);
-      aT2=BRep_Tool::Parameter(aV2, aE);
-      aPave2.SetIndex(nV2);
-      aPave2.SetParam(aT2);
-      //
-      aPB.SetEdge(nE);
-      aPB.SetOriginalEdge(nE);
-      aPB.SetPave1(aPave1);
-      aPB.SetPave2(aPave2);
-      //
-      aLPB.Append(aPB);
-    }
-  }
-} 
diff --git a/src/NMTTools/NMTTools_PaveFiller_8.cxx b/src/NMTTools/NMTTools_PaveFiller_8.cxx
deleted file mode 100644 (file)
index 174c523..0000000
+++ /dev/null
@@ -1,595 +0,0 @@
-// File:       NMTTools_PaveFiller_8.cxx
-// Created:    Fri Dec 19 11:15:53 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <TColStd_ListOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-
-#include <BooleanOperations_ShapesDataStructure.hxx>
-#include <BooleanOperations_OnceExplorer.hxx>
-
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-#include <NMTTools_ListOfCommonBlock.hxx>
-#include <NMTTools_ListIteratorOfListOfCommonBlock.hxx>
-#include <NMTTools_CommonBlock.hxx>
-#include <NMTTools_CommonBlockAPI.hxx>
-
-//=======================================================================
-// function: RealPaveBlock
-// purpose:
-//=======================================================================
-  const BOPTools_PaveBlock& NMTTools_PaveFiller::RealPaveBlock(const BOPTools_PaveBlock& aPB)
-{
-  Standard_Integer nE;
-  //
-  nE=aPB.OriginalEdge();
-  const NMTTools_ListOfCommonBlock& aLCBE=myCommonBlockPool(myDS->RefEdge(nE));
-  NMTTools_CommonBlockAPI aCBAPI(aLCBE);
-  if (aCBAPI.IsCommonBlock(aPB)) {
-    NMTTools_CommonBlock& aCB=aCBAPI.CommonBlock(aPB);
-    const BOPTools_PaveBlock& aPBx=aCB.PaveBlock1();
-    return aPBx;
-  }
-  return aPB;
-}
-//=======================================================================
-// function: CommonBlocksFace
-// purpose:
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::CommonBlocksFace(const Standard_Integer nF,
-                                                        NMTTools_ListOfCommonBlock& aLCB)
-{
-  Standard_Integer nE;
-  TopAbs_ShapeEnum aT;
-  NMTTools_ListIteratorOfListOfCommonBlock anIt;
-  //
-  aT=myDS->GetShapeType(nF);
-  //
-  if (aT!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  //
-  aExp.Init(nF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE=aExp.Current();
-    const NMTTools_ListOfCommonBlock& aLCBE=myCommonBlockPool(myDS->RefEdge(nE));
-    anIt.Initialize(aLCBE);
-    for (; anIt.More(); anIt.Next()) {
-      const NMTTools_CommonBlock& aCBE=anIt.Value();
-      aLCB.Append(aCBE);
-    }
-  }
-  return 0; //Ok
-}
-//
-// 1 RealSplits
-//
-//
-//=======================================================================
-// function: RealSplitsFace
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsFace(const Standard_Integer nF,
-                                          BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  //
-  aExp.Init(nF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE=aExp.Current();
-    const BOPTools_ListOfPaveBlock& aLPBE=mySplitShapesPool(myDS->RefEdge(nE));
-    anIt.Initialize(aLPBE);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB=anIt.Value();
-      const BOPTools_PaveBlock& aPBR=RealPaveBlock(aPB);
-      aLPB.Append(aPBR);
-    }
-  }
-}
-//=======================================================================
-// function: HasRealSplitsInOnFace
-// purpose:
-//=======================================================================
-  Standard_Boolean NMTTools_PaveFiller::HasRealSplitsInOnFace(const Standard_Integer nF1,
-                                                             const Standard_Integer nF2)
-{
-  Standard_Boolean bFlag;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  RealSplitsInFace(0, nF1, nF2, aLPB);
-  //
-  bFlag=!aLPB.IsEmpty();
-  if (bFlag) {
-    return bFlag;
-  }
-  //
-  RealSplitsInFace(0, nF1, nF2, aLPB);
-  //
-  bFlag=!aLPB.IsEmpty();
-  return bFlag;
-}
-//=======================================================================
-// function: RealSplitsInFace
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsInFace(const Standard_Integer ,//for overriding
-                                            const Standard_Integer nF1,
-                                            const Standard_Integer nF2,
-                                            BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE1;
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  aExp.Init(nF1, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE1=aExp.Current();
-    RealSplitsInFace (nE1, nF2, aLPB);
-  }
-}
-//=======================================================================
-// function: RealSplitsInFace
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsInFace(const Standard_Integer nE1,
-                                            const Standard_Integer nF2,
-                                            BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nF1;
-  //
-  TColStd_ListIteratorOfListOfInteger anItLFCB;
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB;
-  //
-  const NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE1));
-  //
-  anItCB.Initialize(aLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    NMTTools_CommonBlock& aCB=anItCB.Value();
-    const BOPTools_PaveBlock& aPB1=aCB.PaveBlock1(nE1);
-    const BOPTools_PaveBlock& aPB1R=RealPaveBlock(aPB1);
-
-    const TColStd_ListOfInteger& aLFCB=aCB.Faces();
-    anItLFCB.Initialize(aLFCB);
-    for (; anItLFCB.More(); anItLFCB.Next()) {
-      nF1=anItLFCB.Value();
-      if (nF1==nF2) {
-       aLPB.Append(aPB1R);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: RealSplitsOnEdge
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsOnEdge(const Standard_Integer nE1,
-                                            const Standard_Integer nE2,
-                                            BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE;
-  //
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB;
-  //
-  const NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE1));
-
-  anItCB.Initialize(aLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    NMTTools_CommonBlock& aCB=anItCB.Value();
-    const BOPTools_PaveBlock& aPB1=aCB.PaveBlock1(nE1);
-    const BOPTools_PaveBlock& aPB1R=RealPaveBlock(aPB1);
-    //
-    const BOPTools_ListOfPaveBlock& aLPBx=aCB.PaveBlocks();
-    anIt.Initialize(aLPBx);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB2=anIt.Value();
-      nE=aPB2.OriginalEdge();
-      if (nE==nE2) {
-       aLPB.Append(aPB1R);
-      }
-    }
-  }
-}
-//=======================================================================
-// function: RealSplitsOnFace
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsOnFace(const Standard_Integer nE1,
-                                            const Standard_Integer nF2,
-                                            BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE2;
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  aExp.Init(nF2, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE2=aExp.Current();
-    RealSplitsOnEdge(nE1, nE2, aLPB);
-  }
-}
-//=======================================================================
-// function: RealSplitsOnFace
-// purpose:
-//=======================================================================
-  void NMTTools_PaveFiller::RealSplitsOnFace(const Standard_Integer ,//for overriding
-                                            const Standard_Integer nF1,
-                                            const Standard_Integer nF2,
-                                            BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE1;
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*myDS);
-  aExp.Init(nF1, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE1=aExp.Current();
-    RealSplitsOnFace(nE1, nF2, aLPB);
-  }
-}
-
-// 2 SimpleSplits
-//=======================================================================
-// function: SplitsFace
-// purpose:
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsFace(const Standard_Integer nF,
-                                                  BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE;
-  TopAbs_ShapeEnum aT;
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  //
-  aT=myDS->GetShapeType(nF);
-  //
-  if (aT!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  //
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  //
-  aExp.Init(nF, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE=aExp.Current();
-    const BOPTools_ListOfPaveBlock& aLPBE=mySplitShapesPool(myDS->RefEdge(nE));
-    anIt.Initialize(aLPBE);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPBE=anIt.Value();
-      aLPB.Append(aPBE);
-    }
-  }
-  return 0; //Ok
-}
-
-//=======================================================================
-// function: SplitsInFace
-// purpose: splits of edges from nF1 in nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsInFace(const Standard_Integer ,//for overriding
-                                                    const Standard_Integer nF1,
-                                                    const Standard_Integer nF2,
-                                                    BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE1;
-  TopAbs_ShapeEnum aT1, aT2;
-
-  aT1=myDS->GetShapeType(nF1);
-  aT2=myDS->GetShapeType(nF2);
-
-  if (aT1!=TopAbs_FACE || aT2!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  aExp.Init(nF1, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE1=aExp.Current();
-    SplitsInFace (nE1, nF2, aLPB);
-  }
-  return 0; //Ok
-}
-//=======================================================================
-// function: SplitsInFace
-// purpose: splits of edge nE1 in aFace2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsInFace(const Standard_Integer nE1,
-                                                    const Standard_Integer nF2,
-                                                    BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nF1;
-  TopAbs_ShapeEnum aT1, aT2;
-
-  aT1=myDS->GetShapeType(nE1);
-  aT2=myDS->GetShapeType(nF2);
-
-  if (aT1!=TopAbs_EDGE || aT2!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  //
-  TColStd_ListIteratorOfListOfInteger anItLFCB;
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB;
-  //
-  const NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE1));
-  //
-  anItCB.Initialize(aLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    NMTTools_CommonBlock& aCB=anItCB.Value();
-    const BOPTools_PaveBlock& aPB1=aCB.PaveBlock1(nE1);
-
-    const TColStd_ListOfInteger& aLFCB=aCB.Faces();
-    anItLFCB.Initialize(aLFCB);
-    for (; anItLFCB.More(); anItLFCB.Next()) {
-      nF1=anItLFCB.Value();
-      if (nF1==nF2) {
-       aLPB.Append(aPB1);
-      }
-    }
-  }
-  return 0; //Ok
-}
-//=======================================================================
-// function: SplitsOnEdge
-// purpose:  splits of edge nE1 on nE2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnEdge(const Standard_Integer nE1,
-                                                    const Standard_Integer nE2,
-                                                    BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE;
-  TopAbs_ShapeEnum aT1, aT2;
-
-  aT1=myDS->GetShapeType(nE1);
-  aT2=myDS->GetShapeType(nE2);
-
-  if (aT1!=TopAbs_EDGE || aT2!=TopAbs_EDGE) {
-    return 1; // Type mismatch
-  }
-  //
-  BOPTools_ListIteratorOfListOfPaveBlock anIt;
-  NMTTools_ListIteratorOfListOfCommonBlock anItCB;
-  //
-  const NMTTools_ListOfCommonBlock& aLCB=myCommonBlockPool(myDS->RefEdge(nE1));
-
-  anItCB.Initialize(aLCB);
-  for (; anItCB.More(); anItCB.Next()) {
-    NMTTools_CommonBlock& aCB=anItCB.Value();
-    const BOPTools_PaveBlock& aPB1=aCB.PaveBlock1(nE1);//XXX
-    //
-    const BOPTools_ListOfPaveBlock& aLPBx=aCB.PaveBlocks();
-    anIt.Initialize(aLPBx);
-    for (; anIt.More(); anIt.Next()) {
-      const BOPTools_PaveBlock& aPB2=anIt.Value();
-      nE=aPB2.OriginalEdge();
-      if (nE==nE2) {
-       aLPB.Append(aPB1);
-      }
-    }
-  }
-  return 0; //Ok
-}
-//=======================================================================
-// function: SplitsOnFace
-// purpose:  splits of edge nE1 on face nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnFace(const Standard_Integer nE1,
-                                                    const Standard_Integer nF2,
-                                                    BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE2, ip;
-  TopAbs_ShapeEnum aT1, aT2;
-
-  aT1=myDS->GetShapeType(nE1);
-  aT2=myDS->GetShapeType(nF2);
-
-  if (aT1!=TopAbs_EDGE || aT2!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*pDS);
-  aExp.Init(nF2, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE2=aExp.Current();
-    ip=SplitsOnEdge(nE1, nE2, aLPB);
-    if (ip) {
-      return ip;
-    }
-  }
-  return 0; //Ok
-}
-//=======================================================================
-// function: SplitsOnFace
-// purpose:  splits of edges from face nF1 on face nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnFace(const Standard_Integer ,//for overriding
-                                                    const Standard_Integer nF1,
-                                                    const Standard_Integer nF2,
-                                                    BOPTools_ListOfPaveBlock& aLPB)
-{
-  Standard_Integer nE1, ip;
-  TopAbs_ShapeEnum aT1, aT2;
-
-  aT1=myDS->GetShapeType(nF1);
-  aT2=myDS->GetShapeType(nF2);
-
-  if (aT1!=TopAbs_FACE || aT2!=TopAbs_FACE) {
-    return 1; // Type mismatch
-  }
-  BooleanOperations_ShapesDataStructure *pDS=myDS;
-  BooleanOperations_OnceExplorer aExp(*myDS);
-  aExp.Init(nF1, TopAbs_EDGE);
-  for (; aExp.More(); aExp.Next()) {
-    nE1=aExp.Current();
-    ip=SplitsOnFace(nE1, nF2, aLPB);
-    if (ip) {
-      return ip;
-    }
-  }
-  return 0; //Ok
-}
-
-// 3 Simple Splits indices
-//=======================================================================
-// function: SplitsFace
-// purpose:
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsFace(const Standard_Integer nF,
-                                                  TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsFace(nF, aLPB);
-   if (iErr) {
-    return iErr;
-  }
-
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return 0; //Ok
-}
-
-//=======================================================================
-// function: SplitsInFace
-// purpose: splits of edges from nF1 in nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsInFace(const Standard_Integer ,//for overriding
-                                                    const Standard_Integer nF1,
-                                                    const Standard_Integer nF2,
-                                                    TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsInFace(0, nF1, nF2, aLPB);
-  if (iErr) {
-    return iErr;
-  }
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return iErr;
-}
-//=======================================================================
-// function: SplitsInFace
-// purpose: splits of edge nE1 in aFace2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsInFace(const Standard_Integer nE1,
-                                                    const Standard_Integer nF2,
-                                                    TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsInFace(nE1, nF2, aLPB);
-  if (iErr) {
-    return iErr;
-  }
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return iErr;
-}
-//=======================================================================
-// function: SplitsOnEdge
-// purpose:  splits of edge nE1 on nE2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnEdge(const Standard_Integer nE1,
-                                                    const Standard_Integer nE2,
-                                                    TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsOnEdge(nE1, nE2, aLPB);
-  if (iErr) {
-    return iErr;
-  }
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return iErr;
-}
-//=======================================================================
-// function: SplitsOnFace
-// purpose:  splits of edge nE1 on face nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnFace(const Standard_Integer nE1,
-                                                    const Standard_Integer nF2,
-                                                    TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsOnEdge(nE1, nF2, aLPB);
-  if (iErr) {
-    return iErr;
-  }
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return iErr;
-}
-//=======================================================================
-// function: SplitsOnFace
-// purpose:  splits of edges from face nF1 on face nF2
-//=======================================================================
-  Standard_Integer NMTTools_PaveFiller::SplitsOnFace(const Standard_Integer ,//for overriding
-                                                    const Standard_Integer nF1,
-                                                    const Standard_Integer nF2,
-                                                    TColStd_ListOfInteger& aSplits)
-{
-  Standard_Integer nE, iErr;
-  BOPTools_ListIteratorOfListOfPaveBlock aIt;
-  BOPTools_ListOfPaveBlock aLPB;
-  //
-  iErr=SplitsOnFace(0, nF1, nF2, aLPB);
-   if (iErr) {
-    return iErr;
-  }
-
-  aIt.Initialize(aLPB);
-  for (; aIt.More(); aIt.Next()) {
-    const BOPTools_PaveBlock& aPB=aIt.Value();
-    nE=aPB.Edge();
-    aSplits.Append(nE);
-  }
-  return 0; //Ok
-}
diff --git a/src/NMTTools/NMTTools_PaveFiller_9.cxx b/src/NMTTools/NMTTools_PaveFiller_9.cxx
deleted file mode 100644 (file)
index 2e525fd..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// File:       NMTTools_PaveFiller_9.cxx
-// Created:    Fri Dec 19 11:15:53 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-#include <NMTTools_PaveFiller.ixx>
-
-#include <Geom_Surface.hxx>
-
-#include <TopLoc_Location.hxx>
-#include <TopAbs_Orientation.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopExp_Explorer.hxx>
-
-#include <BOPTools_ListIteratorOfListOfPaveBlock.hxx>
-#include <BOPTools_ListOfPaveBlock.hxx>
-#include <BOPTools_PaveBlock.hxx>
-#include <BOPTools_Tools3D.hxx>
-
-#include <NMTDS_ShapesDataStructure.hxx>
-
-#include <NMTTools_CommonBlockAPI.hxx>
-#include <NMTTools_CommonBlock.hxx>
-
-
-//=======================================================================
-// function: PrepareFace
-// purpose: 
-//=======================================================================
-  void NMTTools_PaveFiller::PrepareFace(const Standard_Integer nF, 
-                                       TopoDS_Face& newFace)
-{
-  Standard_Boolean bToReverse, bIsDegenerated;
-  Standard_Integer iRankF, nE, nSp, aNbPB;
-  Standard_Real aTol;
-  TopLoc_Location aLoc;
-  TopoDS_Face aF;
-  TopoDS_Wire newWire;
-  TopoDS_Edge aSp;
-  TopAbs_Orientation anOrF, anOrE;
-  BRep_Builder aBB;
-  TopExp_Explorer aExpW, aExpE;
-  BOPTools_ListIteratorOfListOfPaveBlock aItPB;
-  //
-  iRankF=myDS->Rank(nF);
-  aF=TopoDS::Face(myDS->Shape(nF));
-  anOrF=aF.Orientation();
-  aF.Orientation(TopAbs_FORWARD);
-  //
-  Handle(Geom_Surface) aS=BRep_Tool::Surface(aF, aLoc);
-  aTol=BRep_Tool::Tolerance(aF);
-  //
-  aBB.MakeFace (newFace, aS, aLoc, aTol);
-  //
-  aExpW.Init(aF, TopAbs_WIRE);
-  for (; aExpW.More(); aExpW.Next()) {
-    const TopoDS_Shape& aW=aExpW.Current();
-    aBB.MakeWire(newWire);
-    //
-    aExpE.Init(aW, TopAbs_EDGE);
-    for (; aExpE.More(); aExpE.Next()) {
-      const TopoDS_Edge& aE=TopoDS::Edge(aExpE.Current());
-      bIsDegenerated=BRep_Tool::Degenerated(aE);
-      anOrE=aE.Orientation();
-      //
-      nE=myDS->ShapeIndex(aE, iRankF);
-      const BOPTools_ListOfPaveBlock& aLPB=mySplitShapesPool(myDS->RefEdge(nE));
-      aNbPB=aLPB.Extent();
-      if (!aNbPB) {
-       aBB.Add(newWire, aE);
-       continue;
-      }
-      //
-      aItPB.Initialize(aLPB);
-      for (; aItPB.More(); aItPB.Next()) {
-       const BOPTools_PaveBlock& aPB=aItPB.Value();
-       const BOPTools_PaveBlock& aPBR=RealPaveBlock(aPB);
-       nSp=aPBR.Edge();
-       //
-       aSp=TopoDS::Edge(myDS->Shape(nSp));
-       if (!bIsDegenerated) {
-         bToReverse=BOPTools_Tools3D::IsSplitToReverse1(aSp, aE, myContext);
-         if (bToReverse) {
-           aSp.Reverse();
-         }
-       }
-       else {
-        aSp.Orientation(anOrE);
-       }
-       aBB.Add(newWire, aSp);
-      }
-    }
-    aBB.Add(newFace, newWire);
-  }
-  newFace.Orientation(anOrF);
-}
diff --git a/src/NMTTools/NMTTools_Tools.cdl b/src/NMTTools/NMTTools_Tools.cdl
deleted file mode 100644 (file)
index 5e6e5cf..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
--- File:       NMTTools_Tools.cdl
--- Created:    Mon Dec  8 10:32:34 2003
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2003
-
-
-class Tools from NMTTools 
-
-       ---Purpose: 
-
-uses
-    Vertex from TopoDS, 
-    Edge from TopoDS, 
-    Face from TopoDS, 
-    Context from IntTools,  
-    Curve from Geom2d,
-     
-    ListOfShape from TopTools,
-    IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd, 
-    CArray1OfVVInterference from BOPTools, 
-    CArray1OfSSInterference from BOPTools, 
-    ListOfCoupleOfShape from NMTTools, 
-    IndexedDataMapOfShapeIndexedMapOfShape from NMTTools
-
---raises
-
-is 
-    MakeNewVertex  (myclass;  
-                   aLV : ListOfShape from TopTools; 
-                   aNewVertex: out Vertex from TopoDS); 
-    FindChains(myclass; 
-       aVVs:CArray1OfVVInterference from BOPTools; 
-       aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
-     
-    FindChains(myclass; 
-       aVVs:CArray1OfSSInterference from BOPTools; 
-       aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd);  
-     
-    FindChains(myclass;   
-       aMCV: IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd; 
-       aMCX: out IndexedDataMapOfIntegerIndexedMapOfInteger from BOPTColStd); 
-       
-     
-    IsSplitInOnFace(myclass; 
-           aE  : Edge from TopoDS; 
-           aF  : Face from TopoDS; 
-           aCtx:out Context from IntTools) 
-       returns Boolean from Standard; 
-
-    AreFacesSameDomain(myclass; 
-           aF1  : Face from TopoDS; 
-           aF2  : Face from TopoDS; 
-           aCtx : out Context from IntTools) 
-       returns Boolean from Standard; 
-
-    FindChains(myclass; 
-           aLCS:ListOfCoupleOfShape from NMTTools; 
-           aM  :out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);    
-
-    FindChains(myclass; 
-           aM1: IndexedDataMapOfShapeIndexedMapOfShape from NMTTools;
-           aM2:out  IndexedDataMapOfShapeIndexedMapOfShape from NMTTools);
-     
-    MakePCurve(myclass;  
-           aE  :  Edge from TopoDS; 
-           aF  :  Face from TopoDS;  
-           aC2D:  Curve from Geom2d; 
-           aTolR2D: Real from Standard);    
---fields
-
-end Tools;
diff --git a/src/NMTTools/NMTTools_Tools.cxx b/src/NMTTools/NMTTools_Tools.cxx
deleted file mode 100644 (file)
index 40cc24a..0000000
+++ /dev/null
@@ -1,550 +0,0 @@
-// File:       NMTTools_Tools.cxx
-// Created:    Mon Dec  8 10:35:15 2003
-// Author:     Peter KURNEV
-//             <pkv@irinox>
-
-
-#include <NMTTools_Tools.ixx>
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_XYZ.hxx>
-#include <gp_Pnt2d.hxx>
-
-#include <Geom_Surface.hxx>
-#include <GeomAPI_ProjectPointOnSurf.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS_Edge.hxx>
-
-#include <TopExp.hxx>
-
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-#include <BRep_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepTools.hxx>
-
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-
-#include <BOPTools_VVInterference.hxx>
-#include <BOPTools_SSInterference.hxx>
-
-#include <BOPTools_Tools2D.hxx>
-#include <BOPTools_Tools.hxx>
-#include <NMTTools_ListIteratorOfListOfCoupleOfShape.hxx>
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#include <NMTTools_CoupleOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <Geom2d_Curve.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <BOPTools_Tools2D.hxx>
-#include <BRepLib.hxx>
-#include <BOPTools_Tools3D.hxx>
-#include <TopExp_Explorer.hxx>
-
-static 
-  void ProcessBlock(const Standard_Integer iV,
-                   const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,
-                   TColStd_IndexedMapOfInteger& aProcessed,
-                   TColStd_IndexedMapOfInteger& aChain);
-static
-  void ProcessBlock(const TopoDS_Shape& aF,
-                   const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aMCV,
-                   TopTools_IndexedMapOfShape& aProcessed,
-                   TopTools_IndexedMapOfShape& aChain);
-
-//=======================================================================
-// function: MakePCurve
-// purpose: 
-//=======================================================================
-  void  NMTTools_Tools::MakePCurve(const TopoDS_Edge& aE,
-                                  const TopoDS_Face& aF,
-                                  const Handle(Geom2d_Curve)& aC2Dx,
-                                  const Standard_Real aTolR2D)
-{
-  Standard_Integer k, aNbV;   
-  Standard_Real aTolEdge, aTolFact, aTolV, aTolVmax;
-  Standard_Real aTFirst, aTLast, aOutFirst, aOutLast, aOutTol;
-  TopoDS_Face aFFWD;
-  TopTools_IndexedMapOfShape aVMap;
-  BRep_Builder aBB;
-  //
-  aFFWD=aF;
-  aFFWD.Orientation(TopAbs_FORWARD);
-  //
-  aTolEdge=BRep_Tool::Tolerance(aE);
-  aTolFact=Max(aTolEdge, aTolR2D);
-  //
-  TopExp::MapShapes(aE, TopAbs_VERTEX, aVMap);
-  //
-  aTolVmax=-1.;
-  aNbV=aVMap.Extent();
-  for (k=1; k<=aNbV; ++k) {
-    const TopoDS_Vertex& aV=TopoDS::Vertex(aVMap(k));
-    aTolV=BRep_Tool::Tolerance(aV);
-    if (aTolV>aTolVmax) {
-      aTolVmax=aTolV;
-    }
-  }
-  //
-  if (aTolFact>aTolVmax) {
-    aTolFact=aTolVmax;
-  }
-  //
-  const Handle(Geom_Curve)& aC3DE=BRep_Tool::Curve(aE, aTFirst, aTLast);
-  Handle(Geom_TrimmedCurve)aC3DETrim=new Geom_TrimmedCurve(aC3DE, aTFirst, aTLast);
-  //
-  Handle(Geom2d_Curve) aC2D, aC2DA;
-  //
-  aC2D=aC2Dx;
-  if (aC2D.IsNull()) {
-    BOPTools_Tools2D::BuildPCurveForEdgeOnFace(aE, aFFWD);
-    BOPTools_Tools2D::CurveOnSurface(aE, aFFWD, aC2D, aOutFirst, aOutLast, aOutTol, Standard_True);
-  }
-  if (aC3DE->IsPeriodic()) {
-    BOPTools_Tools2D::AdjustPCurveOnFace(aFFWD, aTFirst, aTLast,  aC2D, aC2DA); 
-  }
-  else {
-    BOPTools_Tools2D::AdjustPCurveOnFace(aFFWD, aC3DETrim, aC2D, aC2DA); 
-  }
-  //
-  aBB.UpdateEdge(aE, aC2DA, aFFWD, aTolFact);
-  BRepLib::SameParameter(aE);
-}
-  
-//=======================================================================
-// function: IsSplitInOnFace
-// purpose: 
-//=======================================================================
-  Standard_Boolean NMTTools_Tools::IsSplitInOnFace(const TopoDS_Edge& aE,
-                                                  const TopoDS_Face& aF,
-                                                  IntTools_Context& aContext)
-{
-  Standard_Boolean bFlag;
-  Standard_Real aT, aTolE, aTolF, aTol, aDist, aU, aV;
-  gp_Pnt aP;
-  gp_Pnt2d aP2D;
-  //
-  aTolE=BRep_Tool::Tolerance(aE);
-  aTolF=BRep_Tool::Tolerance(aF);
-  aTol=aTolE+aTolF;
-  //
-  GeomAPI_ProjectPointOnSurf& aProjector=aContext.ProjPS(aF);
-  //
-  aT=BOPTools_Tools2D::IntermediatePoint(aE);
-  BOPTools_Tools::PointOnEdge(aE, aT, aP);
-  //
-  aProjector.Perform(aP);
-  bFlag=aProjector.IsDone();
-  if (!bFlag) {
-    return bFlag;
-  }
-  //
-  aDist=aProjector.LowerDistance();
-  bFlag=(aDist <= aTol);
-  if (!bFlag) {
-    return bFlag;
-  }
-  //
-  aProjector.LowerDistanceParameters(aU, aV);
-  aP2D.SetCoord(aU, aV);
-  bFlag=aContext.IsPointInOnFace (aF, aP2D);
-  return bFlag;
-}
-//=======================================================================
-// function: NMTTools_Tools::MakeNewVertex
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::MakeNewVertex(const TopTools_ListOfShape& aLVs,
-                                    TopoDS_Vertex& aNewVertex)
-{
-  Standard_Integer aNb;
-  Standard_Real aTi, aDi, aDmax=-1.e5;
-  gp_Pnt aPi, aP;
-  gp_XYZ aXYZ(0.,0.,0.), aXYZi;
-  TopTools_ListIteratorOfListOfShape anIt;
-  //
-  aNb=aLVs.Extent();
-  if (!aNb) {
-    return;
-  }
-  //
-  anIt.Initialize(aLVs);
-  for (; anIt.More(); anIt.Next()) {
-    TopoDS_Vertex aVi=TopoDS::Vertex(anIt.Value());
-    aPi=BRep_Tool::Pnt(aVi);
-    aXYZi=aPi.XYZ();
-    aXYZ=aXYZ+aXYZi;
-  }
-  //
-  aXYZ.Divide((Standard_Real)aNb);
-  aP.SetXYZ(aXYZ);
-  //
-  anIt.Initialize(aLVs);
-  for (; anIt.More(); anIt.Next()) {
-    TopoDS_Vertex aVi=TopoDS::Vertex(anIt.Value());
-    aPi=BRep_Tool::Pnt(aVi);
-    aTi=BRep_Tool::Tolerance(aVi);
-    aDi=aP.Distance(aPi);
-    aDi=aDi+aTi;
-    if (aDi > aDmax) {
-      aDmax=aDi;
-    }
-  }
-  BRep_Builder aBB;
-  aBB.MakeVertex (aNewVertex, aP, aDmax);
-}
-//=======================================================================
-// function: FindChains
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::FindChains(const BOPTools_CArray1OfSSInterference& FFs,
-                                 BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapChains)
-{
-  Standard_Boolean bIsTangentFaces;
-  Standard_Integer j, aNb, anIndex1, anIndex2;
-  BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger aMCV;
-  //
-  aNb=FFs.Extent();
-  for (j=1; j<=aNb; ++j) {
-    const BOPTools_SSInterference& aFF=FFs(j);
-    //
-    bIsTangentFaces=aFF.IsTangentFaces();
-    if (!bIsTangentFaces) {
-      continue;
-    }
-    //
-    aFF.Indices(anIndex1, anIndex2);
-    //
-    if (aMCV.Contains(anIndex1)) {
-      TColStd_IndexedMapOfInteger& aMV=aMCV.ChangeFromKey(anIndex1);
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-    }
-    else {
-      TColStd_IndexedMapOfInteger aMV;
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-      aMCV.Add(anIndex1, aMV);
-    }
-    //
-    if (aMCV.Contains(anIndex2)) {
-      TColStd_IndexedMapOfInteger& aMV=aMCV.ChangeFromKey(anIndex2);
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-    }
-    else {
-      TColStd_IndexedMapOfInteger aMV;
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-      aMCV.Add(anIndex2, aMV);
-    }
-  }
-  NMTTools_Tools::FindChains(aMCV, aMapChains);
-}
-//=======================================================================
-// function: FindChains
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::FindChains(const BOPTools_CArray1OfVVInterference& VVs,
-                                 BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapChains)
-{
-  Standard_Integer j, aNb, anIndex1, anIndex2;
-  BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger aMCV;
-  //
-  aNb=VVs.Extent();
-  for (j=1; j<=aNb; ++j) {
-    const BOPTools_VVInterference& VV=VVs(j);
-    VV.Indices(anIndex1, anIndex2);
-    //
-    if (aMCV.Contains(anIndex1)) {
-      TColStd_IndexedMapOfInteger& aMV=aMCV.ChangeFromKey(anIndex1);
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-    }
-    else {
-      TColStd_IndexedMapOfInteger aMV;
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-      aMCV.Add(anIndex1, aMV);
-    }
-    //
-    if (aMCV.Contains(anIndex2)) {
-      TColStd_IndexedMapOfInteger& aMV=aMCV.ChangeFromKey(anIndex2);
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-    }
-    else {
-      TColStd_IndexedMapOfInteger aMV;
-      aMV.Add(anIndex1);
-      aMV.Add(anIndex2);
-      aMCV.Add(anIndex2, aMV);
-    }
-  }
-  NMTTools_Tools::FindChains(aMCV, aMapChains);
-}
-
-//=======================================================================
-// function: FindChains
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,
-                                 BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMapChains)
-{
-  Standard_Integer  i, j, aNbCV, aNbV, iV, iVx;
-  TColStd_IndexedMapOfInteger aProcessed, aChain;
-  //
-  aNbCV=aMCV.Extent();
-  for (i=1; i<=aNbCV; ++i) {
-    iV=aMCV.FindKey(i);
-    if (aProcessed.Contains(iV)) {
-      continue;
-    }
-    //
-    aProcessed.Add(iV);
-    aChain.Add(iV);
-    //
-    const TColStd_IndexedMapOfInteger& aMV=aMCV(i);
-    aNbV=aMV.Extent();
-    for (j=1; j<=aNbV; ++j) {
-      iVx=aMV(j);
-      ProcessBlock(iVx, aMCV, aProcessed, aChain);
-    }
-    aMapChains.Add(i, aChain);
-    aChain.Clear();
-  }
-}
-//=======================================================================
-// function: ProcessBlock
-// purpose: 
-//=======================================================================
-void ProcessBlock(const Standard_Integer iV,
-                 const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,
-                 TColStd_IndexedMapOfInteger& aProcessed,
-                 TColStd_IndexedMapOfInteger& aChain)
-{
-  Standard_Integer j, aNbV, iVx;
-  //
-  if (aProcessed.Contains(iV)) {
-    return;
-  }
-  aProcessed.Add(iV);
-  aChain.Add(iV);
-  //
-  const TColStd_IndexedMapOfInteger& aMV=aMCV.FindFromKey(iV);
-  aNbV=aMV.Extent();
-  for (j=1; j<=aNbV; ++j) {
-    iVx=aMV(j);
-    ProcessBlock(iVx, aMCV, aProcessed, aChain);
-  }
-}
-//=======================================================================
-// function: AreFacesSameDomain
-// purpose : 
-//=======================================================================
-  Standard_Boolean NMTTools_Tools::AreFacesSameDomain(const TopoDS_Face& aF1x,
-                                                     const TopoDS_Face& aF2y,
-                                                     IntTools_Context& aCtx)
-{
-  Standard_Boolean bFlag;
-  Standard_Integer i, aNbE1, aNbE2;
-  
-  TopTools_IndexedMapOfShape aME1, aME2;
-  TopoDS_Edge aEF1, aEF2;
-  TopoDS_Face aF1, aF2;
-  //
-  aF1=aF1x;
-  aF1.Orientation(TopAbs_FORWARD);
-  aF2=aF2y;
-  aF2.Orientation(TopAbs_FORWARD);
-  //
-  TopExp::MapShapes(aF1, TopAbs_EDGE, aME1);
-  TopExp::MapShapes(aF2, TopAbs_EDGE, aME2);
-  //
-  bFlag=Standard_False;
-  //
-  aNbE1=aME1.Extent();
-  aNbE2=aME2.Extent();
-  //
-  if(!aNbE1 || !aNbE2){
-    return bFlag;
-  }
-  //
-  if(aNbE1!=aNbE2) {
-    return bFlag;
-  }
-  //
-  for (i=1; i<=aNbE1; ++i) {
-    const TopoDS_Edge& aE1=TopoDS::Edge(aME1(i));
-    if (BRep_Tool::Degenerated(aE1)) {
-      // not try to compare deg edges because it 
-      // can not have same TShape on different faces at all
-      continue; 
-    }
-    if (!aME2.Contains(aE1)) {
-      return bFlag;
-    }
-  }
-  //
-  Standard_Real aTolF1, aTolF2, aTol;
-  gp_Pnt2d aP2D;
-  gp_Pnt aP;
-  TopExp_Explorer anExp;
-  //
-  aTolF1=BRep_Tool::Tolerance(aF1);
-  aTolF2=BRep_Tool::Tolerance(aF2);
-  aTol=aTolF1+aTolF2;
-  //
-  anExp.Init(aF1, TopAbs_EDGE);
-  for (; anExp.More(); anExp.Next()) {
-    const TopoDS_Edge& aE1=TopoDS::Edge(anExp.Current());
-    if (!BRep_Tool::Degenerated(aE1)) {
-      BOPTools_Tools3D::PointNearEdge(aE1, aF1, aP2D, aP);
-      bFlag=aCtx.IsValidPointForFace(aP, aF2, aTol);
-      break;
-    }
-  }
-  return bFlag;
-  /*
-  //
-  Standard_Real aU1, aU2, aV1, aV2;
-  Standard_Real dU, dV, aU, aV;
-  Standard_Integer aNbP=5, aNbP1, j;
-  gp_Pnt2d aP2D;
-  gp_Pnt aP;
-  //
-  aTolF1=BRep_Tool::Tolerance(aF1);
-  aTolF2=BRep_Tool::Tolerance(aF2);
-  aTol=aTolF1+aTolF2;
-  //
-  BRepTools::UVBounds(aF1, aU1, aU2, aV1, aV2);
-  Handle(Geom_Surface) aS1=BRep_Tool::Surface(aF1);
-  //
-  aNbP1=aNbP+1;
-  dU=(aU2-aU1)/aNbP1;
-  dV=(aV2-aV1)/aNbP1;
-  //
-  for (i=1; i<=aNbP; ++i) {
-    aU=aU1+i*dU;
-    for (j=1; j<=aNbP; ++j) {
-      aV=aV1+j*dV;
-      aP2D.SetCoord(aU, aV);
-      //
-      if(aCtx.IsPointInFace(aF1, aP2D)) {
-       aP=aS1->Value(aU, aV);
-       bFlag=aCtx.IsValidPointForFace(aP, aF2, aTol);
-       if (!bFlag) {
-         return bFlag;
-       }
-      }
-    }
-  }
-  */
-  //
-  return bFlag;
-}
-//=======================================================================
-// function: FindChains
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,
-                                 NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aMapChains)
-{
-  NMTTools_ListIteratorOfListOfCoupleOfShape aItCS; 
-  NMTTools_IndexedDataMapOfShapeIndexedMapOfShape aMCV;
-  //
-  aItCS.Initialize(aLCS);
-  for (; aItCS.More(); aItCS.Next()) {
-    const NMTTools_CoupleOfShape& aCS=aItCS.Value();
-    //
-    const TopoDS_Shape& aF1=aCS.Shape1();
-    const TopoDS_Shape& aF2=aCS.Shape2();
-    //
-    //
-    if (aMCV.Contains(aF1)) {
-      TopTools_IndexedMapOfShape& aMV=aMCV.ChangeFromKey(aF1);
-      aMV.Add(aF1);
-      aMV.Add(aF2);
-    }
-    else {
-      TopTools_IndexedMapOfShape aMV;
-      aMV.Add(aF1);
-      aMV.Add(aF2);
-      aMCV.Add(aF1, aMV);
-    }
-    //
-    if (aMCV.Contains(aF2)) {
-      TopTools_IndexedMapOfShape& aMV=aMCV.ChangeFromKey(aF2);
-      aMV.Add(aF1);
-      aMV.Add(aF2);
-    }
-    else {
-      TopTools_IndexedMapOfShape aMV;
-      aMV.Add(aF1);
-      aMV.Add(aF2);
-      aMCV.Add(aF2, aMV);
-    }
-  }
-  NMTTools_Tools::FindChains(aMCV, aMapChains);
-}
-//=======================================================================
-// function: FindChains
-// purpose : 
-//=======================================================================
-  void NMTTools_Tools::FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aMCV,
-                                 NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aMapChains)
-{
-  Standard_Integer  i, j, aNbCV, aNbV;
-  TopTools_IndexedMapOfShape aProcessed, aChain;
-  //
-  aNbCV=aMCV.Extent();
-  for (i=1; i<=aNbCV; ++i) {
-    const TopoDS_Shape& aF=aMCV.FindKey(i);
-    if (aProcessed.Contains(aF)) {
-      continue;
-    }
-    //
-    aProcessed.Add(aF);
-    aChain.Add(aF);
-    //
-    const TopTools_IndexedMapOfShape& aMV=aMCV(i);
-    aNbV=aMV.Extent();
-    for (j=1; j<=aNbV; ++j) {
-      const TopoDS_Shape& aFx=aMV(j);
-      ProcessBlock(aFx, aMCV, aProcessed, aChain);
-    }
-    aMapChains.Add(aF, aChain);
-    aChain.Clear();
-  }
-}
-//=======================================================================
-// function: ProcessBlock
-// purpose: 
-//=======================================================================
-void ProcessBlock(const TopoDS_Shape& aF,
-                 const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aMCV,
-                 TopTools_IndexedMapOfShape& aProcessed,
-                 TopTools_IndexedMapOfShape& aChain)
-{
-  Standard_Integer j, aNbV;
-  //
-  if (aProcessed.Contains(aF)) {
-    return;
-  }
-  aProcessed.Add(aF);
-  aChain.Add(aF);
-  //
-  const TopTools_IndexedMapOfShape& aMV=aMCV.FindFromKey(aF);
-  aNbV=aMV.Extent();
-  for (j=1; j<=aNbV; ++j) {
-    const TopoDS_Shape& aFx=aMV(j);
-    ProcessBlock(aFx, aMCV, aProcessed, aChain);
-  }
-}
diff --git a/src/NMTTools/NMTTools_Tools.hxx b/src/NMTTools/NMTTools_Tools.hxx
deleted file mode 100644 (file)
index 73236fe..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-
-#ifndef _NMTTools_Tools_HeaderFile
-#define _NMTTools_Tools_HeaderFile
-
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_Geom2d_Curve_HeaderFile
-#include <Handle_Geom2d_Curve.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class TopTools_ListOfShape;
-class TopoDS_Vertex;
-class BOPTools_CArray1OfVVInterference;
-class BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger;
-class BOPTools_CArray1OfSSInterference;
-class TopoDS_Edge;
-class TopoDS_Face;
-class IntTools_Context;
-class NMTTools_ListOfCoupleOfShape;
-class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape;
-class Geom2d_Curve;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class NMTTools_Tools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  void MakeNewVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewVertex) ;
-Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfVVInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfSSInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-Standard_EXPORT static  void FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-Standard_EXPORT static  Standard_Boolean IsSplitInOnFace(const TopoDS_Edge& aE,const TopoDS_Face& aF,IntTools_Context& aCtx) ;
-Standard_EXPORT static  Standard_Boolean AreFacesSameDomain(const TopoDS_Face& aF1,const TopoDS_Face& aF2,IntTools_Context& aCtx) ;
-Standard_EXPORT static  void FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM) ;
-Standard_EXPORT static  void FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM1,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM2) ;
-Standard_EXPORT static  void MakePCurve(const TopoDS_Edge& aE,const TopoDS_Face& aF,const Handle(Geom2d_Curve)& aC2D,const Standard_Real aTolR2D) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/NMTTools/NMTTools_Tools.ixx b/src/NMTTools/NMTTools_Tools.ixx
deleted file mode 100644 (file)
index 80f2f41..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// File generated by CPPExt (Value)
-//                     Copyright (C) 1991,1995 by
-//  
-//                      MATRA DATAVISION, FRANCE
-//  
-// This software is furnished in accordance with the terms and conditions
-// of the contract and with the inclusion of the above copyright notice.
-// This software or any other copy thereof may not be provided or otherwise
-// be made available to any other person. No title to an ownership of the
-// software is hereby transferred.
-//  
-// At the termination of the contract, the software and all copies of this
-// software must be deleted.
-//
-#include <NMTTools_Tools.jxx>
-
-
-
diff --git a/src/NMTTools/NMTTools_Tools.jxx b/src/NMTTools/NMTTools_Tools.jxx
deleted file mode 100644 (file)
index 13f814d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _BOPTools_CArray1OfVVInterference_HeaderFile
-#include <BOPTools_CArray1OfVVInterference.hxx>
-#endif
-#ifndef _BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger_HeaderFile
-#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
-#endif
-#ifndef _BOPTools_CArray1OfSSInterference_HeaderFile
-#include <BOPTools_CArray1OfSSInterference.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _IntTools_Context_HeaderFile
-#include <IntTools_Context.hxx>
-#endif
-#ifndef _NMTTools_ListOfCoupleOfShape_HeaderFile
-#include <NMTTools_ListOfCoupleOfShape.hxx>
-#endif
-#ifndef _NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
-#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
-#endif
-#ifndef _Geom2d_Curve_HeaderFile
-#include <Geom2d_Curve.hxx>
-#endif
-#ifndef _NMTTools_Tools_HeaderFile
-#include <NMTTools_Tools.hxx>
-#endif
diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx
deleted file mode 100644 (file)
index eb2b741..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AISShape.cxx
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-/*!
-  \class GEOM_AISShape GEOM_AISShape.hxx
-  \brief ....
-*/
-
-#include "GEOM_AISShape.ixx"
-#include "SALOME_InteractiveObject.hxx"
-
-#include "utilities.h"
-
-// Open CASCADE Includes
-#include <AIS_Drawer.hxx>
-#include <AIS_InteractiveContext.hxx>
-#include <Graphic3d_AspectFillArea3d.hxx>
-#include <Prs3d_Drawer.hxx>
-#include <Prs3d_IsoAspect.hxx>
-#include <Prs3d_LineAspect.hxx>
-#include <Prs3d_ShadingAspect.hxx>
-#include <SelectBasics_SensitiveEntity.hxx>
-#include <SelectMgr_EntityOwner.hxx>
-#include <SelectMgr_IndexedMapOfOwner.hxx>
-#include <SelectMgr_Selection.hxx>
-#include <StdSelect_DisplayMode.hxx>
-#include <StdPrs_WFShape.hxx>
-#include <StdPrs_ShadedShape.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TColStd_ListIteratorOfListOfInteger.hxx>
-#include <TColStd_ListOfInteger.hxx>
-#include <TopExp.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-using namespace std;
-
-static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj,
-                            const Handle(AIS_InteractiveContext)& theIC,
-                            SelectMgr_IndexedMapOfOwner& theMap )
-{
-  if ( theObj.IsNull() || theIC.IsNull() )
-    return;
-
-  TColStd_ListOfInteger modes;
-  theIC->ActivatedModes( theObj, modes );
-
-  TColStd_ListIteratorOfListOfInteger itr( modes );
-  for (; itr.More(); itr.Next() ) {
-    int m = itr.Value();
-    if ( !theObj->HasSelection( m ) )
-      continue;
-
-    Handle(SelectMgr_Selection) sel = theObj->Selection( m );
-
-    for ( sel->Init(); sel->More(); sel->Next() ) {
-      Handle(SelectBasics_SensitiveEntity) entity = sel->Sensitive();
-      if ( entity.IsNull() )
-       continue;
-
-      Handle(SelectMgr_EntityOwner) owner =
-       Handle(SelectMgr_EntityOwner)::DownCast(entity->OwnerId());
-      if ( !owner.IsNull() )
-       theMap.Add( owner );
-    }
-  }
-}
-
-static void indicesToOwners( const TColStd_IndexedMapOfInteger& aIndexMap,
-                            const TopoDS_Shape& aMainShape,
-                            const SelectMgr_IndexedMapOfOwner& anAllMap, 
-                            SelectMgr_IndexedMapOfOwner& aToHiliteMap )
-{
-  TopTools_IndexedMapOfShape aMapOfShapes;
-  TopExp::MapShapes(aMainShape, aMapOfShapes);
-
-  for  ( Standard_Integer i = 1, n = anAllMap.Extent(); i <= n; i++ ) {
-    Handle(SelectMgr_EntityOwner) anOwner = anAllMap( i );
-    if ( anOwner.IsNull() || !anOwner->HasShape() )
-      continue;
-
-    const TopoDS_Shape& aSubShape = anOwner->Shape();
-    Standard_Integer aSubShapeId = aMapOfShapes.FindIndex( aSubShape );
-    if ( !aSubShapeId || !aIndexMap.Contains( aSubShapeId ) )
-      continue;
-    
-    if ( !aToHiliteMap.Contains( anOwner ) )
-      aToHiliteMap.Add( anOwner );
-  }
-}
-
-GEOM_AISShape::GEOM_AISShape(const TopoDS_Shape& shape,
-                            const Standard_CString aName): SALOME_AISShape(shape)
-{
-  myName = new char [strlen(aName)+1];
-  strcpy( myName, aName);
-
-  myShadingColor = Quantity_Color( Quantity_NOC_GOLDENROD );
-}
-
-void GEOM_AISShape::setIO(const Handle(SALOME_InteractiveObject)& io){
-  SetOwner( io );
-}
-
-Handle(SALOME_InteractiveObject) GEOM_AISShape::getIO(){
-  Handle(SALOME_InteractiveObject) IO;
-  if ( !GetOwner().IsNull() )
-    IO = Handle(SALOME_InteractiveObject)::DownCast( GetOwner() );
-  return IO;
-}
-
-Standard_Boolean GEOM_AISShape::hasIO(){
-  return !getIO().IsNull();
-}
-
-void GEOM_AISShape::setName(const Standard_CString aName)
-{
-  myName = new char [strlen(aName)+1];
-  strcpy( myName, aName);
-
-  Handle(SALOME_InteractiveObject) IO = getIO();
-  if ( !IO.IsNull() )
-    IO->setName(aName);
-}
-
-Standard_CString GEOM_AISShape::getName(){
-  return myName;
-}
-
-void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
-                           const Handle(Prs3d_Presentation)& aPrs,
-                           const Standard_Integer aMode)
-{  
-  if (IsInfinite()) aPrs->SetInfiniteState(Standard_True); //pas de prise en compte lors du FITALL
-  
-  StdSelect_DisplayMode d = (StdSelect_DisplayMode) aMode;
-
-  switch (d) {
-  case StdSelect_DM_Wireframe: 
-    {
-      StdPrs_WFShape::Add(aPrs,myshape,myDrawer);
-      break;
-    }
-  case StdSelect_DM_Shading:
-    {
-      myDrawer->ShadingAspect()->Aspect()->SetDistinguishOn();
-      
-      Graphic3d_MaterialAspect aMatAspect;
-      aMatAspect.SetAmbient( 0.5 );
-      aMatAspect.SetDiffuse( 0.5 );
-      aMatAspect.SetEmissive( 0.5 );
-      aMatAspect.SetShininess(0.5 );
-      aMatAspect.SetSpecular( 0.5 );
-      
-      myDrawer->ShadingAspect()->Aspect()->SetFrontMaterial(aMatAspect);
-      myDrawer->ShadingAspect()->Aspect()->SetBackMaterial(Graphic3d_NOM_JADE);
-      
-      Graphic3d_MaterialAspect FMat = myDrawer->ShadingAspect()->Aspect()->FrontMaterial();
-      Graphic3d_MaterialAspect BMat = myDrawer->ShadingAspect()->Aspect()->BackMaterial();
-      FMat.SetTransparency(myTransparency); BMat.SetTransparency(myTransparency);
-      myDrawer->ShadingAspect()->Aspect()->SetFrontMaterial(FMat);
-      myDrawer->ShadingAspect()->Aspect()->SetBackMaterial(BMat);
-
-      //Handle(Graphic3d_AspectFillArea3d) a4bis = myDrawer->ShadingAspect()->Aspect();
-      //       P->SetPrimitivesAspect(a4bis);
-      //        G->SetGroupPrimitivesAspect(a4bis);
-      //a4bis->SetInteriorColor(myShadingColor);
-      myDrawer->ShadingAspect()->SetColor(myShadingColor);
-
-      StdPrs_ShadedShape::Add(aPrs,myshape,myDrawer);
-      break;
-    }
-  }
-  //  aPrs->ReCompute(); // for hidden line recomputation if necessary...
-}
-
-void GEOM_AISShape::SetTransparency(const Standard_Real aValue)
-{
-  if(aValue<0.0 || aValue>1.0) return;
-  
-  if(aValue<=0.05) 
-    {
-      UnsetTransparency();
-      return;
-    }
-
-  Graphic3d_MaterialAspect FMat = myDrawer->ShadingAspect()->Aspect()->FrontMaterial();
-  Graphic3d_MaterialAspect BMat = myDrawer->ShadingAspect()->Aspect()->BackMaterial();
-  FMat.SetTransparency(aValue); BMat.SetTransparency(aValue);
-  myDrawer->ShadingAspect()->Aspect()->SetFrontMaterial(FMat);
-  myDrawer->ShadingAspect()->Aspect()->SetBackMaterial(BMat);
-  myTransparency = aValue;
-}
-
-void GEOM_AISShape::SetShadingColor(const Quantity_Color &aCol)
-{
-  myShadingColor = aCol;
-}
-
-void GEOM_AISShape::highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, 
-                                      const Standard_Boolean aHighlight )
-{
-  Handle(AIS_InteractiveObject) anObj = this;
-  Handle(AIS_InteractiveContext) anIC = GetContext();
-  if ( anIC.IsNull() || !anIC->HasOpenedContext() ) 
-    return;
-
-  Standard_Boolean isAutoHilight = anIC->AutomaticHilight();
-  anIC->SetAutomaticHilight( false );
-
-  anIC->ClearSelected( false );
-
-  if ( aHighlight ) {
-    SelectMgr_IndexedMapOfOwner anAllMap, aToHiliteMap;
-
-    // Get entity owners for all activated selection modes
-    getEntityOwners( anObj, anIC, anAllMap );
-
-    // Convert <aIndexMap> into the map of owners to highlight/unhighlight
-    indicesToOwners( aIndexMap, Shape(), anAllMap, aToHiliteMap );
-
-
-    for ( Standard_Integer i = 1, n = aToHiliteMap.Extent(); i <= n; i++ )
-      anIC->AddOrRemoveSelected( aToHiliteMap( i ), false );
-  }
-
-  anIC->SetAutomaticHilight( isAutoHilight );
-  anIC->HilightSelected( false );
-}
diff --git a/src/OBJECT/GEOM_AISShape.hxx b/src/OBJECT/GEOM_AISShape.hxx
deleted file mode 100644 (file)
index 96ae886..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AISShape.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_AISShape_HeaderFile
-#define _GEOM_AISShape_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOM_AISShape_HeaderFile
-#include "Handle_GEOM_AISShape.hxx"
-#endif
-
-#ifndef _Handle_SALOME_InteractiveObject_HeaderFile
-#include "Handle_SALOME_InteractiveObject.hxx"
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-#ifndef _SALOME_AISShape_HeaderFile
-#include "SALOME_AISShape.hxx"
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile
-#include <Handle_PrsMgr_PresentationManager3d.hxx>
-#endif
-#ifndef _Handle_Prs3d_Presentation_HeaderFile
-#include <Handle_Prs3d_Presentation.hxx>
-#endif
-
-class PrsMgr_PresentationManager3d;
-class Prs3d_Presentation;
-class SALOME_InteractiveObject;
-class TopoDS_Shape;
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define OBJECT_WNT_EXPORT __declspec( dllexport )
-#else
-#define OBJECT_WNT_EXPORT
-#endif
-class  OBJECT_WNT_EXPORT GEOM_AISShape : public SALOME_AISShape {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-       GEOM_AISShape(const TopoDS_Shape& shape, const Standard_CString aName);
-       Standard_Boolean hasIO() ;
-       void setIO(const Handle(SALOME_InteractiveObject)& name) ;
-       void setName(const Standard_CString aName) ;
-       Standard_CString getName() ;
-       Handle_SALOME_InteractiveObject getIO() ;
-       void highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, const Standard_Boolean aHighlight );
-       ~GEOM_AISShape();
-
-       void SetTransparency(const Standard_Real aValue);
-       void SetShadingColor(const Quantity_Color &aCol);
-
-       virtual  void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
-                                     const Handle(Prs3d_Presentation)& aPresentation,
-                                     const Standard_Integer aMode = 0) ;
-
- // Type management
- //
-       friend Handle_Standard_Type& GEOM_AISShape_Type_();
-       const Handle(Standard_Type)& DynamicType() const;
-       Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-  Standard_CString myName;
-  Quantity_Color myShadingColor;
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/OBJECT/GEOM_AISShape.ixx b/src/OBJECT/GEOM_AISShape.ixx
deleted file mode 100644 (file)
index 7baed81..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AISShape.ixx
-//  Module : GEOM
-
-#include "GEOM_AISShape.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_AISShape::~GEOM_AISShape() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_AISShape_Type_()
-{
-
-  static Handle_Standard_Type aType1 = STANDARD_TYPE(SALOME_AISShape);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SALOME_AISShape);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(AIS_Shape);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(AIS_Shape);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(AIS_InteractiveObject);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(AIS_InteractiveObject);
-  static Handle_Standard_Type aType4 = STANDARD_TYPE(SelectMgr_SelectableObject);
-  if ( aType4.IsNull()) aType4 = STANDARD_TYPE(SelectMgr_SelectableObject);
-  static Handle_Standard_Type aType5 = STANDARD_TYPE(PrsMgr_PresentableObject);
-  if ( aType5.IsNull()) aType5 = STANDARD_TYPE(PrsMgr_PresentableObject);
-  static Handle_Standard_Type aType6 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType6.IsNull()) aType6 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType7 = STANDARD_TYPE(Standard_Transient);
-  if ( aType7.IsNull()) aType7 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,aType6,aType7,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_AISShape",
-                                                        sizeof(GEOM_AISShape),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_AISShape) Handle(GEOM_AISShape)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_AISShape) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_AISShape))) {
-       _anOtherObject = Handle(GEOM_AISShape)((Handle(GEOM_AISShape)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_AISShape::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_AISShape) ; 
-}
-Standard_Boolean GEOM_AISShape::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_AISShape) == AType || SALOME_AISShape::IsKind(AType)); 
-}
-Handle_GEOM_AISShape::~Handle_GEOM_AISShape() {}
-
diff --git a/src/OBJECT/GEOM_AISShape.jxx b/src/OBJECT/GEOM_AISShape.jxx
deleted file mode 100644 (file)
index 8f66299..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AISShape.jxx
-//  Module : GEOM
-
-#ifndef _GEOM_InteractiveObject_HeaderFile
-#include "GEOM_InteractiveObject.hxx"
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _GEOM_AISShape_HeaderFile
-#include "GEOM_AISShape.hxx"
-#endif
-#ifndef _PrsMgr_PresentationManager3d_HeaderFile
-#include <PrsMgr_PresentationManager3d.hxx>
-#endif
-#ifndef _Prs3d_Presentation_HeaderFile
-#include <Prs3d_Presentation.hxx>
-#endif
\ No newline at end of file
diff --git a/src/OBJECT/GEOM_AISTrihedron.cxx b/src/OBJECT/GEOM_AISTrihedron.cxx
deleted file mode 100755 (executable)
index 5ca66f7..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-//  GEOM_AISTrihedron : Filter for VTK viewer\r
-//\r
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS\r
-//\r
-//  This library is free software; you can redistribute it and/or\r
-//  modify it under the terms of the GNU Lesser General Public\r
-//  License as published by the Free Software Foundation; either\r
-//  version 2.1 of the License.\r
-//\r
-//  This library is distributed in the hope that it will be useful,\r
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-//  Lesser General Public License for more details.\r
-//\r
-//  You should have received a copy of the GNU Lesser General Public\r
-//  License along with this library; if not, write to the Free Software\r
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
-//\r
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org\r
-//\r
-//\r
-//\r
-//  File   : GEOM_AISTrihedron.cxx\r
-//  Author : Sergey LITONIN\r
-//  Module : SALOME\r
-\r
-#include "GEOM_AISTrihedron.hxx"\r
-#include <Geom_Axis2Placement.hxx>\r
-\r
-IMPLEMENT_STANDARD_HANDLE(GEOM_AISTrihedron, AIS_Trihedron)\r
-IMPLEMENT_STANDARD_RTTIEXT(GEOM_AISTrihedron, AIS_Trihedron)\r
-\r
-/*\r
-  Class       : GEOM_AISTrihedron\r
-  Description : Interactive object for displaying local CS\r
-*/\r
-\r
-GEOM_AISTrihedron::GEOM_AISTrihedron( const Handle(Geom_Axis2Placement)& thePlc )\r
-: AIS_Trihedron( thePlc )\r
-{\r
-\r
-}\r
-Handle(SALOME_InteractiveObject) GEOM_AISTrihedron::getIO()\r
-{\r
-  return myObject;\r
-}\r
-Standard_Boolean GEOM_AISTrihedron::hasIO()\r
-{\r
-  return !myObject.IsNull();\r
-}\r
-\r
-Standard_CString GEOM_AISTrihedron::getName()\r
-{\r
-  return myName.ToCString();\r
-}\r
-void GEOM_AISTrihedron::setName( Standard_CString aName )\r
-{\r
-  myName = TCollection_AsciiString( aName );\r
-}\r
-\r
-void GEOM_AISTrihedron::setIO( const Handle(SALOME_InteractiveObject)& theIO )\r
-{\r
-  myObject = theIO;\r
-}\r
-\r
-\r
-\r
-\r
-\r
-\r
-  
\ No newline at end of file
diff --git a/src/OBJECT/GEOM_AISTrihedron.hxx b/src/OBJECT/GEOM_AISTrihedron.hxx
deleted file mode 100755 (executable)
index bd38a70..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM_AISTrihedron : Filter for VTK viewer\r
-//\r
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS\r
-//\r
-//  This library is free software; you can redistribute it and/or\r
-//  modify it under the terms of the GNU Lesser General Public\r
-//  License as published by the Free Software Foundation; either\r
-//  version 2.1 of the License.\r
-//\r
-//  This library is distributed in the hope that it will be useful,\r
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-//  Lesser General Public License for more details.\r
-//\r
-//  You should have received a copy of the GNU Lesser General Public\r
-//  License along with this library; if not, write to the Free Software\r
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
-//\r
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org\r
-//\r
-//\r
-//\r
-//  File   : GEOM_AISTrihedron.hxx\r
-//  Author : Sergey LITONIN\r
-//  Module : SALOME\r
-\r
-#ifndef GEOM_AISTrihedron_HeaderFile\r
-#define GEOM_AISTrihedron_HeaderFile\r
-\r
-#include <SALOME_InteractiveObject.hxx>\r
-\r
-#include <AIS_Trihedron.hxx>\r
-#include <Standard_DefineHandle.hxx>\r
-#include <TCollection_AsciiString.hxx>\r
-\r
-class Handle(Geom_Axis2Placement);\r
-\r
-DEFINE_STANDARD_HANDLE(GEOM_AISTrihedron, AIS_Trihedron)\r
-\r
-/*\r
-  Class       : GEOM_AISTrihedron\r
-  Description : Interactive object for displaying local CS\r
-*/\r
-\r
-class GEOM_AISTrihedron : public AIS_Trihedron\r
-{\r
-public:\r
-\r
-  Standard_EXPORT                                  GEOM_AISTrihedron( const Handle(Geom_Axis2Placement)& );\r
-\r
-  Standard_EXPORT Handle(SALOME_InteractiveObject) getIO();\r
-  Standard_EXPORT void                             setIO( const Handle(SALOME_InteractiveObject)& );\r
-  Standard_EXPORT Standard_Boolean                 hasIO();\r
-  Standard_EXPORT Standard_CString                 getName();\r
-  Standard_EXPORT void                             setName( Standard_CString aName );\r
-\r
-private:\r
-\r
-  TCollection_AsciiString                          myName;\r
-  Handle(SALOME_InteractiveObject)                 myObject;\r
-\r
-public:\r
-  DEFINE_STANDARD_RTTI(GEOM_AISTrihedron)\r
-};\r
-\r
-#endif\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
diff --git a/src/OBJECT/GEOM_Actor.cxx b/src/OBJECT/GEOM_Actor.cxx
deleted file mode 100644 (file)
index e16b174..0000000
+++ /dev/null
@@ -1,475 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Actor.cxx
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-/*!
-  \class GEOM_Actor GEOM_Actor.h
-  \brief This class allows to display an OpenCASCADE CAD model in a VTK viewer.
-*/
-
-#include "GEOM_Actor.h"
-
-#include <vtkObjectFactory.h>
-#include <vtkPolyData.h>
-#include <vtkPolyDataMapper.h>
-#include <vtkPolyDataNormals.h>
-
-#include <vtkTransform.h>
-#include <vtkMatrix4x4.h>
-#include <vtkMath.h>
-
-#include <vtkRenderer.h>
-#include <vtkCamera.h>
-
-// OpenCASCADE Includes
-#include "GEOM_OCCReader.h"
-#include <BRep_Tool.hxx>
-
-using namespace std;
-
-//-------------------------------------------------------------
-// Main methods
-//-------------------------------------------------------------
-
-
-GEOM_Actor* GEOM_Actor::New()
-{
-  // First try to create the object from the vtkObjectFactory
-  vtkObject* ret = vtkObjectFactory::CreateInstance("GEOM_Actor");
-  if(ret)
-    {
-      return (GEOM_Actor*)ret;
-    }
-  // If the factory was unable to create the object, then create it here.
-  return new GEOM_Actor;
-}
-
-
-GEOM_Actor::GEOM_Actor()
-{
-  this->Device = vtkActor::New();
-
-  this->WireframeMapper = NULL;
-  this->ShadingMapper = NULL;
-
-  this->ShadingProperty = NULL;
-  this->WireframeProperty = NULL;
-
-  this->deflection = 0;
-  myDisplayMode = 0; 
-
-  this->myIO = NULL;
-  this->myName = "";
-
-  this->HighlightProperty = NULL;
-  this->myIsHighlighted = false;
-
-  this->subshape = false;
-  this->myIsInfinite = false;
-}
-
-GEOM_Actor::~GEOM_Actor()
-{
-  if (WireframeMapper != NULL)
-    WireframeMapper->Delete();
-  if (ShadingMapper != NULL)
-    ShadingMapper->Delete();
-  if (ShadingProperty != NULL)
-    ShadingProperty->Delete();
-  if (WireframeProperty != NULL)
-    WireframeProperty->Delete();
-  if (HighlightProperty != NULL)
-    HighlightProperty->Delete();
-}
-
-
-void GEOM_Actor::ShallowCopy(vtkProp *prop)
-{
-  GEOM_Actor *f = GEOM_Actor::SafeDownCast(prop);
-  if ( f != NULL )
-    {
-      this->setInputShape(f->getTopo(),f->getDeflection(),f->getDisplayMode());
-      this->setName( f->getName() );
-      if ( f->hasIO() )
-       this->setIO( f->getIO() );
-      this->ShadingMapper = NULL;
-      this->WireframeMapper = NULL;
-    } else {
-      this->myIO = NULL;
-      this->myName = "";
-      this->ShadingMapper = NULL;
-      this->WireframeMapper = NULL;
-    }
-
-  // Now do superclass
-  this->SALOME_Actor::ShallowCopy(prop);
-}
-
-//-------------------------------------------------------------
-// Set parameters
-//-------------------------------------------------------------
-
-
-void GEOM_Actor::setDisplayMode(int thenewmode) {
-  myDisplayMode = thenewmode;
-  if ( thenewmode >=1 ) {
-    if ((myShape.ShapeType() == TopAbs_WIRE) || 
-       (myShape.ShapeType() == TopAbs_EDGE) || 
-       (myShape.ShapeType() == TopAbs_VERTEX)) {
-      if ( !subshape )
-       CreateWireframeMapper();
-      else
-       return;
-    } else
-      CreateShadingMapper();
-  } else
-    CreateWireframeMapper();
-}
-
-void GEOM_Actor::setDeflection(double adef) {
-  deflection = adef;
-}
-
-void GEOM_Actor::setInputShape(const TopoDS_Shape& aShape,double adef,int imode) {
-  myShape = aShape;
-  deflection = adef;
-  setDisplayMode(imode);
-}
-
-//-------------------------------------------------------------
-// Get parameters
-//-------------------------------------------------------------
-
-const TopoDS_Shape& GEOM_Actor::getTopo() {
-  return myShape;
-}
-
-double GEOM_Actor::getDeflection() {
-  return deflection;
-}
-
-void GEOM_Actor::SetWireframeProperty(vtkProperty* Prop) {
-  this->WireframeProperty = Prop;
-}
-
-void GEOM_Actor::SetShadingProperty(vtkProperty* Prop) {
-  this->ShadingProperty = Prop;
-}
-
-
-//-------------------------------------------------------------
-// Mapper creating function
-//-------------------------------------------------------------
-void GEOM_Actor::CreateMapper(int theMode) {
-  this->myIsInfinite = (bool)myShape.Infinite();  
-  if(myShape.ShapeType() == TopAbs_VERTEX) {
-    gp_Pnt aPnt = BRep_Tool::Pnt(TopoDS::Vertex(myShape));
-    this->SetPosition(aPnt.X(),aPnt.Y(),aPnt.Z());
-  }
-  GEOM_OCCReader* aread = GEOM_OCCReader::New();
-  aread->setTopo(myShape);
-  aread->setDisplayMode(theMode);
-  aread->GetOutput()->ReleaseDataFlagOn(); 
-    
-  vtkPolyDataMapper* aMapper = vtkPolyDataMapper::New();
-  if (theMode == 0) { 
-    aMapper->SetInput(aread->GetOutput());
-  } else {
-    vtkPolyDataNormals *normals = vtkPolyDataNormals::New();
-    normals->SetInput(aread->GetOutput());
-    aMapper->SetInput(normals->GetOutput());
-  }
-  aread->Delete();
-  this->SetMapper(theMode == 0? WireframeMapper = aMapper : ShadingMapper = aMapper);
-}
-
-void GEOM_Actor::CreateShadingMapper() {
-  CreateMapper(1);
-}
-
-
-void GEOM_Actor::CreateWireframeMapper() {
-  CreateMapper(0);
-}
-
-//-------------------------------------------------------------
-// Render function
-//-------------------------------------------------------------
-
-void GEOM_Actor::Render(vtkRenderer *ren, vtkMapper *Mapper)
-{
-  /* render the property */
-  if (!this->Property) {
-    // force creation of a property
-    this->GetProperty();
-    this->Property->SetInterpolation(1);
-    this->Property->SetRepresentationToSurface();
-    this->Property->SetAmbient(0.3);
-    this->Property->SetAmbientColor(0.88,0.86,0.2);
-    this->Property->SetDiffuseColor(0.99,0.7,0.21);
-    this->Property->SetSpecularColor(0.99,0.98,0.83);
-  }
-
-  if(!myIsHighlighted) {
-    if ( myIsPreselected ) 
-      this->Property = PreviewProperty;
-    else if(myDisplayMode >= 1) {
-      // SHADING
-      this->Property = ShadingProperty;
-    }
-    else {
-      this->Property = WireframeProperty;     
-    }
-
-  }
-
-  this->Property->Render(this, ren);
-  if (this->BackfaceProperty) {
-    this->BackfaceProperty->BackfaceRender(this, ren);
-    this->Device->SetBackfaceProperty(this->BackfaceProperty);
-  }
-  this->Device->SetProperty(this->Property);
-  // Store information on time it takes to render.
-  // We might want to estimate time from the number of polygons in mapper.
-  if(myDisplayMode >= 1) {
-    if((myShape.ShapeType() == TopAbs_WIRE) || 
-       (myShape.ShapeType() == TopAbs_EDGE) || 
-       (myShape.ShapeType() == TopAbs_VERTEX)) {
-      if ( !subshape ) {
-       if(WireframeMapper==NULL) CreateWireframeMapper();
-      } else
-       return;
-    }
-    else {
-      if(ShadingMapper==NULL) CreateShadingMapper();
-    }
-  }
-  else {
-    if(WireframeMapper==NULL) CreateWireframeMapper();
-  }
-  if(myShape.ShapeType() == TopAbs_VERTEX) {
-    if(ren){
-      //The parameter determine size of vertex actor relate to diagonal of RendererWindow
-      static float delta = 0.01;
-      float X1 = -1, Y1 = -1, Z1 = 0;
-      ren->ViewToWorld(X1,Y1,Z1);
-      float X2 = +1, Y2 = +1, Z2 = 0;
-      ren->ViewToWorld(X2,Y2,Z2);
-      Z2 = sqrt((X2-X1)*(X2-X1) + (Y2-Y1)*(Y2-Y1) + (Z2-Z1)*(Z2-Z1));
-      this->SetScale(Z2*delta);
-    }
-    vtkMatrix4x4 *aMatrix = vtkMatrix4x4::New();
-    this->GetMatrix(ren->GetActiveCamera(), aMatrix);
-    this->Device->SetUserMatrix(aMatrix);
-    this->Device->Render(ren,this->Mapper);
-    aMatrix->Delete();    
-  } else
-    this->Device->Render(ren, this->Mapper);
- if(WireframeMapper!=NULL) this->EstimatedRenderTime = WireframeMapper->GetTimeToDraw(); 
- else if(ShadingMapper!=NULL) this->EstimatedRenderTime = ShadingMapper->GetTimeToDraw();
-}
-
-// SubShape
-void GEOM_Actor::SubShapeOn()
-{
-  subshape = true;
-}
-void GEOM_Actor::SubShapeOff()
-{
-  subshape = false;
-}
-
-//-------------------------------------------------------------
-// Opacity methods
-//-------------------------------------------------------------
-
-void GEOM_Actor::SetOpacity(float opa)
-{
-  //HighlightProperty->SetOpacity(opa);
-  SALOME_Actor::SetOpacity(opa);
-  ShadingProperty->SetOpacity(opa);
-}
-
-float GEOM_Actor::GetOpacity() {
-  return ShadingProperty->GetOpacity();
-}
-
-//-------------------------------------------------------------
-// Color methods
-//-------------------------------------------------------------
-void GEOM_Actor::SetColor(float r,float g,float b) {
-  ShadingProperty->SetColor(r,g,b);  
-}
-
-void GEOM_Actor::GetColor(float& r,float& g,float& b) {
-  float color[3];
-  ShadingProperty->GetColor(color);
-  r = color[0];
-  g = color[1];
-  b = color[2];
-}
-
-//-------------------------------------------------------------
-// Highlight methods
-//-------------------------------------------------------------
-
-void GEOM_Actor::highlight(bool highlight) {
-
-  if(highlight && !myIsHighlighted) {
-    myIsHighlighted=true;
-    // build highlight property is necessary
-    if(HighlightProperty==NULL) {
-      HighlightProperty = vtkProperty::New();
-      HighlightProperty->SetAmbient(0.5);
-      HighlightProperty->SetDiffuse(0.3);
-      HighlightProperty->SetSpecular(0.2);
-      HighlightProperty->SetRepresentationToSurface();
-      HighlightProperty->SetAmbientColor(1, 1, 1);
-      HighlightProperty->SetDiffuseColor(1, 1, 1);
-      HighlightProperty->SetSpecularColor(0.5, 0.5, 0.5); 
-    }
-      
-    this->Property = HighlightProperty;
-  }
-  else if (!highlight) {
-    if(myIsHighlighted) {
-      myIsHighlighted=false;
-      if(myDisplayMode==1) {
-       //unhilight in shading
-       this->Property = ShadingProperty;
-      }
-      else {
-       //unhilight in wireframe
-       this->Property = WireframeProperty;
-      }
-    }
-  }
-}
-
-void GEOM_Actor::SetHighlightProperty(vtkProperty* Prop) {
-  this->HighlightProperty = Prop;
-}
-
-
-void GEOM_Actor::ReleaseGraphicsResources(vtkWindow *renWin) 
-{
-  vtkActor::ReleaseGraphicsResources(renWin);
-  
-  // broadcast the message down to the individual LOD mappers
-
-  if(WireframeMapper) this->WireframeMapper->ReleaseGraphicsResources(renWin);
-  if(ShadingMapper) this->ShadingMapper->ReleaseGraphicsResources(renWin);
-}
-
-
-// Copy the follower's composite 4x4 matrix into the matrix provided.
-void GEOM_Actor::GetMatrix(vtkCamera* theCam, vtkMatrix4x4 *result)
-{
-  double *pos, *vup;
-  double Rx[3], Ry[3], Rz[3], p1[3];
-  vtkMatrix4x4 *matrix = vtkMatrix4x4::New();
-  int i;
-  double distance;
-  
-  this->GetOrientation();
-  this->Transform->Push();  
-  this->Transform->PostMultiply();  
-  this->Transform->Identity();
-
-  // apply user defined matrix last if there is one 
-  if (this->UserMatrix)
-    {
-    this->Transform->Concatenate(this->UserMatrix);
-    }
-
-  this->Transform->Translate(-this->Origin[0],
-                             -this->Origin[1],
-                             -this->Origin[2]);
-  // scale
-  this->Transform->Scale(this->Scale[0],
-                         this->Scale[1],
-                         this->Scale[2]);
-  
-  // rotate
-  this->Transform->RotateY(this->Orientation[1]);
-  this->Transform->RotateX(this->Orientation[0]);
-  this->Transform->RotateZ(this->Orientation[2]);
-
-  if (theCam)
-    {
-    // do the rotation
-    // first rotate y 
-    pos = theCam->GetPosition();
-    vup = theCam->GetViewUp();
-
-    if (theCam->GetParallelProjection())
-      {
-      theCam->GetDirectionOfProjection(Rz);
-      }
-    else
-      {
-      distance = sqrt(
-       (pos[0] - this->Position[0])*(pos[0] - this->Position[0]) +
-        (pos[1] - this->Position[1])*(pos[1] - this->Position[1]) +
-        (pos[2] - this->Position[2])*(pos[2] - this->Position[2]));
-      for (i = 0; i < 3; i++)
-       {
-        Rz[i] = (pos[i] - this->Position[i])/distance;
-       }
-      }
-  
-    vtkMath::Cross(vup,Rz,Rx);
-    vtkMath::Normalize(Rx);
-    vtkMath::Cross(Rz,Rx,Ry);
-    
-    matrix->Element[0][0] = Rx[0];
-    matrix->Element[1][0] = Rx[1];
-    matrix->Element[2][0] = Rx[2];
-    matrix->Element[0][1] = Ry[0];
-    matrix->Element[1][1] = Ry[1];
-    matrix->Element[2][1] = Ry[2];
-    matrix->Element[0][2] = Rz[0];
-    matrix->Element[1][2] = Rz[1];
-    matrix->Element[2][2] = Rz[2];
-    
-    this->Transform->Concatenate(matrix);
-    }
-  
-  // translate to projection reference point PRP
-  // this is the camera's position blasted through
-  // the current matrix
-  p1[0] = this->Origin[0] + this->Position[0];
-  p1[1] = this->Origin[1] + this->Position[1];
-  p1[2] = this->Origin[2] + this->Position[2];
-
-  this->Transform->Translate(p1[0],p1[1],p1[2]);
-  this->Transform->GetMatrix(result);
-  
-  matrix->Delete();
-  this->Transform->Pop();  
-}  
diff --git a/src/OBJECT/GEOM_Actor.h b/src/OBJECT/GEOM_Actor.h
deleted file mode 100644 (file)
index 7229b9e..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_Actor.h
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-#ifndef GEOM_ACTOR_H
-#define GEOM_ACTOR_H
-
-#include "SALOME_Actor.h"
-
-//OpenCASCADE
-#include <TopoDS_Shape.hxx>
-#include <TopoDS.hxx>
-
-class vtkCamera;
-class TopoDS_Shape;
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT GEOM_Actor : public SALOME_Actor {
- public:
-  vtkTypeMacro(GEOM_Actor,SALOME_Actor);
-
-  static GEOM_Actor* New();
-
-  // Description:
-  // This causes the actor to be rendered. It, in turn, will render the actor's
-  // property and then mapper.
-  virtual void Render(vtkRenderer *, vtkMapper *);
-
-  // Description:
-  // Release any graphics resources that are being consumed by this actor.
-  // The parameter window could be used to determine which graphic
-  // resources to release.
-  void ReleaseGraphicsResources(vtkWindow *);
-
-  const TopoDS_Shape& getTopo();
-  void setInputShape(const TopoDS_Shape& ashape,double adef1,int imode);
-
-  double getDeflection();
-  void setDeflection(double adefl);
-
-  // SubShape
-  void SubShapeOn();
-  void SubShapeOff();
-  
-  // Display Mode
-  virtual void setDisplayMode(int);
-
-  // Highlight
-  virtual void highlight(bool theHighlight);
-  virtual bool hasHighlight() { return true; }
-
-  void ShallowCopy(vtkProp *prop);
-
-  // Properties
-  void SetHighlightProperty(vtkProperty* Prop);
-  void SetWireframeProperty(vtkProperty* Prop);
-  void SetShadingProperty(vtkProperty* Prop);
-
-  // Opacity
-  void SetOpacity(float opa);
-  float GetOpacity();
-
-  // Color
-  void SetColor(float r,float g,float b);
-  void GetColor(float& r,float& g,float& b);
-
-  virtual bool IsInfinite() {return myIsInfinite;}  
- protected:
-
-  GEOM_Actor();
-  ~GEOM_Actor();
-  GEOM_Actor(const GEOM_Actor&) {};
-  void operator=(const GEOM_Actor&) {};
-
-  void CreateWireframeMapper();
-  void CreateShadingMapper();
-  void CreateMapper(int theMode);
-  void GetMatrix(vtkCamera* theCam, vtkMatrix4x4 *result);
-
-
- private:
-
-  bool subshape;
-  bool myIsInfinite;
-
-  TopoDS_Shape myShape;
-  double deflection;
-
-  vtkMapper* ShadingMapper;
-  vtkMapper* WireframeMapper;
-
-  vtkProperty* ShadingProperty;
-  vtkProperty* WireframeProperty;
-  vtkProperty* HighlightProperty;
-};
-
-
-#endif //GEOM_ACTOR_H
-
diff --git a/src/OBJECT/GEOM_AssemblyBuilder.cxx b/src/OBJECT/GEOM_AssemblyBuilder.cxx
deleted file mode 100644 (file)
index a44aa7d..0000000
+++ /dev/null
@@ -1,421 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AssemblyBuilder.cxx
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-/*!
-  \class GEOM_AssemblyBuilder GEOM_AssemblyBuilder.h
-  \brief ....
-*/
-
-#include "GEOM_AssemblyBuilder.h"
-#include "GEOM_Actor.h"
-#include "utilities.h"
-
-// Open CASCADE Includes
-#include <TopExp_Explorer.hxx>
-#include <Bnd_Box.hxx>
-#include <BRepMesh_IncrementalMesh.hxx>
-#include <Poly_Triangulation.hxx>
-#include <BRepBndLib.hxx>
-#include <BRep_Tool.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopExp.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopoDS_Iterator.hxx>
-
-using namespace std;
-// SALOME
-
-#define MAX2(X, Y)     (  Abs(X) > Abs(Y)? Abs(X) : Abs(Y) )
-#define MAX3(X, Y, Z)  ( MAX2 ( MAX2(X,Y) , Z) )
-
-
-
-
-
-void GEOM_AssemblyBuilder::InitProperties(vtkProperty* IsoProp,
-                                         vtkProperty* FaceProp,
-                                         vtkProperty* EdgeFProp,
-                                         vtkProperty* EdgeSProp,
-                                         vtkProperty* EdgeIProp,
-                                         vtkProperty* VertexProp,
-                                         vtkProperty* IsoPVProp,
-                                         vtkProperty* EdgePVProp,
-                                         vtkProperty* VertexPVProp)
-{
-  // Shading like default OCC material
-  FaceProp->SetRepresentationToSurface();
-  FaceProp->SetInterpolationToGouraud();
-  FaceProp->SetAmbient(1.0);
-  FaceProp->SetDiffuse(1.0);
-  FaceProp->SetSpecular(0.4);
-  FaceProp->SetAmbientColor(0.329412, 0.223529, 0.027451);
-  FaceProp->SetDiffuseColor(0.780392, 0.568627, 0.113725);
-  FaceProp->SetSpecularColor(0.992157, 0.941176, 0.807843);
-
-  // Wireframe for iso
-  IsoProp->SetRepresentationToWireframe();
-  IsoProp->SetAmbientColor(0.5, 0.5, 0.5);
-  IsoProp->SetDiffuseColor(0.5, 0.5, 0.5);
-  IsoProp->SetSpecularColor(0.5, 0.5, 0.5);
-
-  // Wireframe for iso
-  IsoPVProp->SetRepresentationToWireframe();
-  IsoPVProp->SetAmbientColor(0, 1, 1);
-  IsoPVProp->SetDiffuseColor(0, 1, 1);
-  IsoPVProp->SetSpecularColor(0, 1, 1);
-
-  // Wireframe for shared edge 
-  EdgeSProp->SetRepresentationToWireframe();
-  EdgeSProp->SetAmbientColor(1, 1, 0);
-  EdgeSProp->SetDiffuseColor(1, 1, 0);
-  EdgeSProp->SetSpecularColor(1, 1, 0);
-
-  // Wireframe for free edge 
-  EdgeFProp->SetRepresentationToWireframe();
-  EdgeFProp->SetAmbientColor(0, 1, 0);
-  EdgeFProp->SetDiffuseColor(0, 1, 0);
-  EdgeFProp->SetSpecularColor(0, 1, 0);
-
-  // Wireframe for isolated edge 
-  EdgeIProp->SetRepresentationToWireframe();
-  EdgeIProp->SetAmbientColor(1, 0, 0);
-  EdgeIProp->SetDiffuseColor(1, 0, 0);
-  EdgeIProp->SetSpecularColor(1, 0, 0);
-
-  // Wireframe for Preview edge 
-  EdgePVProp->SetRepresentationToWireframe();
-  EdgePVProp->SetAmbientColor(1, 1, 0);
-  EdgePVProp->SetDiffuseColor(1, 1, 0);
-  EdgePVProp->SetSpecularColor(1, 1, 0);
-
-  // Wireframe for vertex 
-  VertexProp->SetRepresentationToWireframe();
-  VertexProp->SetAmbientColor(1, 1, 0);
-  VertexProp->SetDiffuseColor(1, 1, 0);
-  VertexProp->SetSpecularColor(1, 1, 0);
-
-  // Wireframe for vertex 
-  VertexPVProp->SetRepresentationToWireframe();
-  VertexPVProp->SetAmbientColor(0, 1, 1);
-  VertexPVProp->SetDiffuseColor(0, 1, 1);
-  VertexPVProp->SetSpecularColor(0, 1, 1);
-}
-
-
-void GEOM_AssemblyBuilder::MeshShape(const TopoDS_Shape myShape,
-                                        Standard_Real deflection,
-                                        Standard_Boolean forced)
-{
-  // Mesh the shape if necessary
-  Standard_Boolean alreadymesh = Standard_True;
-  TopExp_Explorer ex;
-  TopLoc_Location aLoc;
-
-  for (ex.Init(myShape, TopAbs_FACE); ex.More(); ex.Next()) {
-    const TopoDS_Face& aFace = TopoDS::Face(ex.Current());
-    Handle(Poly_Triangulation) aPoly = BRep_Tool::Triangulation(aFace,aLoc);
-    if(aPoly.IsNull()) { alreadymesh = Standard_False; break; }
-  }
-
-  if(!alreadymesh || forced) {
-    if(deflection<=0) {
-      // Compute default deflection
-      Bnd_Box B;
-      BRepBndLib::Add(myShape, B);
-      Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax;
-      B.Get(aXmin, aYmin, aZmin, aXmax, aYmax, aZmax);
-      deflection = MAX3( aXmax-aXmin , aYmax-aYmin , aZmax-aZmin) * 0.001 *4;
-    }
-    BRepMesh_IncrementalMesh MESH(myShape,deflection);
-  }
-}
-
-
-
-vtkActorCollection* GEOM_AssemblyBuilder::BuildActors(const TopoDS_Shape& myShape,
-                                                         Standard_Real deflection,
-                                                         Standard_Integer mode,
-                                                         Standard_Boolean forced) {
-
-  vtkActorCollection* AISActors = vtkActorCollection::New();
-
-  if(myShape.ShapeType() == TopAbs_COMPOUND) {
-    TopoDS_Iterator anItr(myShape);
-    for(; anItr.More(); anItr.Next()) {
-      vtkActorCollection* theActors = GEOM_AssemblyBuilder::BuildActors(anItr.Value(), deflection, mode, forced);
-      theActors->InitTraversal();
-      vtkActor* anActor = (vtkActor*)theActors->GetNextActor();
-      while(!(anActor==NULL)) {
-       AISActors->AddItem(anActor);
-       anActor = (vtkActor*)theActors->GetNextActor();
-      }
-    }
-  }
-  // Create graphics properties
-
-  vtkProperty* IsoProp = vtkProperty::New();
-  vtkProperty* FaceProp = vtkProperty::New();
-  vtkProperty* EdgeFProp = vtkProperty::New();
-  vtkProperty* EdgeSProp = vtkProperty::New();
-  vtkProperty* EdgeIProp = vtkProperty::New();
-  vtkProperty* VertexProp = vtkProperty::New();
-
-  vtkProperty* IsoPVProp = vtkProperty::New();
-  vtkProperty* EdgePVProp = vtkProperty::New();
-  vtkProperty* VertexPVProp = vtkProperty::New();
-
-  InitProperties(IsoProp,FaceProp,EdgeFProp,EdgeSProp,EdgeIProp,VertexProp,IsoPVProp,EdgePVProp,VertexPVProp);
-
-  MeshShape(myShape,deflection,forced);
-
-  if ( myShape.ShapeType() <= 4 && myShape.ShapeType() != TopAbs_COMPOUND) {
-    
-    // FACE Actor
-    // look if edges are free or shared 
-    TopTools_IndexedDataMapOfShapeListOfShape edgemap;
-    TopExp::MapShapesAndAncestors(myShape,TopAbs_EDGE,TopAbs_FACE,edgemap);
-    
-    TopExp_Explorer ex;
-    
-    for (ex.Init(myShape, TopAbs_FACE); ex.More(); ex.Next()) {
-      
-      GEOM_Actor* FaceActor = GEOM_Actor::New();
-      FaceActor->SetShadingProperty(FaceProp);
-      FaceActor->SetWireframeProperty(IsoProp);
-
-      FaceActor->SetPreviewProperty(IsoPVProp);
-      
-      FaceActor->setInputShape(ex.Current(),deflection,mode);
-      
-      AISActors->AddItem(FaceActor);
-      
-      TopExp_Explorer ex2;
-      for (ex2.Init(ex.Current(), TopAbs_EDGE); ex2.More(); ex2.Next()) {
-       const TopoDS_Edge& aEdge = TopoDS::Edge(ex2.Current());
-       
-       if (BRep_Tool::Degenerated(aEdge)) {    
-         continue;
-       }
-       
-       // compute the number of faces
-       Standard_Integer nbf = edgemap.FindFromKey(ex2.Current()).Extent();
-       GEOM_Actor* EdgeActor = GEOM_Actor::New();
-       EdgeActor->SubShapeOn();
-       EdgeActor->setInputShape(ex2.Current(),deflection,mode);
-       switch (nbf) {
-         
-       case 0 : // isolated edge
-         {
-           EdgeActor->SetShadingProperty(EdgeIProp);
-           EdgeActor->SetWireframeProperty(EdgeIProp);
-         }
-         break;
-         
-       case 1 :// edge in only one face
-         {
-           EdgeActor->SetShadingProperty(EdgeFProp);
-           EdgeActor->SetWireframeProperty(EdgeFProp);
-         }
-         break;
-         
-       default :   // edge shared by at least two faces      
-         {
-           EdgeActor->SetShadingProperty(EdgeSProp);
-           EdgeActor->SetWireframeProperty(EdgeSProp);
-         }
-       }
-       EdgeActor->SetPreviewProperty(EdgePVProp);
-       AISActors->AddItem(EdgeActor);
-      }
-    }
-  } else if ( myShape.ShapeType() == TopAbs_WIRE ) { // WIRE Actor
-    TopExp_Explorer ex;
-    for (ex.Init(myShape, TopAbs_EDGE); ex.More(); ex.Next()) {
-      const TopoDS_Edge& aEdge = TopoDS::Edge(ex.Current());
-       
-      if (BRep_Tool::Degenerated(aEdge)) {    
-       continue;
-      }
-       
-      GEOM_Actor* EdgeActor = GEOM_Actor::New();
-      EdgeActor->setInputShape(ex.Current(),deflection,mode);
-      EdgeActor->SetShadingProperty(EdgeIProp);
-      EdgeActor->SetWireframeProperty(EdgeIProp);
-      EdgeActor->SetPreviewProperty(EdgePVProp);
-      
-      AISActors->AddItem(EdgeActor);
-    }
-  } else if ( myShape.ShapeType() == TopAbs_EDGE ) { // EDGE Actor
-    GEOM_Actor* EdgeActor = GEOM_Actor::New();
-    EdgeActor->setInputShape(myShape,deflection,mode);
-    EdgeActor->SetShadingProperty(EdgeIProp);
-    EdgeActor->SetWireframeProperty(EdgeIProp);
-    EdgeActor->SetPreviewProperty(EdgePVProp);
-    
-    AISActors->AddItem(EdgeActor);
-  } else if ( myShape.ShapeType() == TopAbs_VERTEX ) { // VERTEX Actor
-    GEOM_Actor* VertexActor = GEOM_Actor::New();
-    VertexActor->setInputShape(myShape,deflection,mode);
-    VertexActor->SetShadingProperty(VertexProp);
-    VertexActor->SetWireframeProperty(VertexProp);
-    VertexActor->SetPreviewProperty(VertexPVProp);
-    
-    AISActors->AddItem(VertexActor);
-  
-  } 
-  
-  return AISActors;
-
-}
-
-
-
-//-------------------------------------------------------------
-// BUILD ASSEMBLY
-//-------------------------------------------------------------
-vtkAssembly*  GEOM_AssemblyBuilder::BuildAssembly(const TopoDS_Shape& myShape,
-                                                     Standard_Real deflection,
-                                                     Standard_Integer mode,
-                                                     Standard_Boolean forced)
-{
-  // Create a new vtkAssembly
-
-  vtkAssembly* myVTKShape = vtkAssembly::New();
-
-
-  // Create graphics properties
-
-  vtkProperty* IsoProp = vtkProperty::New();
-  vtkProperty* FaceProp = vtkProperty::New();
-  vtkProperty* EdgeFProp = vtkProperty::New();
-  vtkProperty* EdgeSProp = vtkProperty::New();
-  vtkProperty* EdgeIProp = vtkProperty::New();
-  vtkProperty* VertexProp = vtkProperty::New();
-  vtkProperty* EdgePVProp = vtkProperty::New();
-  vtkProperty* VertexPVProp = vtkProperty::New();
-  vtkProperty* IsoPVProp = vtkProperty::New();
-
-  InitProperties(IsoProp,FaceProp,EdgeFProp,EdgeSProp,EdgeIProp,VertexProp,IsoPVProp,EdgePVProp,VertexPVProp);
-
-  MeshShape(myShape,deflection,forced);
-
-  
-  // FACE Actor
-  
-  // look if edges are free or shared 
-  TopTools_IndexedDataMapOfShapeListOfShape edgemap;
-  TopExp::MapShapesAndAncestors(myShape,TopAbs_EDGE,TopAbs_FACE,edgemap);
-  
-  TopExp_Explorer ex;
-
-  for (ex.Init(myShape, TopAbs_FACE); ex.More(); ex.Next()) {
-    //const TopoDS_Face& aFace = TopoDS::Face(ex.Current());
-    
-    GEOM_Actor* FaceActor = GEOM_Actor::New();
-    FaceActor->SetShadingProperty(FaceProp);
-    FaceActor->SetWireframeProperty(IsoProp);
-    
-    vtkAssembly* myFaceAssembly = vtkAssembly::New();
-
-   
-    FaceActor->setInputShape(ex.Current(),deflection,mode);
-    myFaceAssembly->AddPart(FaceActor);
-    
-    TopExp_Explorer ex2;
-    for (ex2.Init(ex.Current(), TopAbs_EDGE); ex2.More(); ex2.Next()) {
-      const TopoDS_Edge& aEdge = TopoDS::Edge(ex2.Current());
-      if (BRep_Tool::Degenerated(aEdge)) {    
-       continue;
-      }
-      
-    
-      // compute the number of faces
-      Standard_Integer nbf = edgemap.FindFromKey(ex2.Current()).Extent();
-      GEOM_Actor* EdgeActor = GEOM_Actor::New();
-      switch (nbf) {
-       
-      case 0 : // isolated edge
-       {
-         EdgeActor->SetShadingProperty(EdgeIProp);
-         EdgeActor->SetWireframeProperty(EdgeIProp);
-       }
-       break;
-       
-      case 1 :// edge in only one face
-       {
-         EdgeActor->SetShadingProperty(EdgeFProp);
-         EdgeActor->SetWireframeProperty(EdgeFProp);
-       }
-       break;
-       
-      default :   // edge shared by at least two faces      
-       {
-         EdgeActor->SetShadingProperty(EdgeSProp);
-         EdgeActor->SetWireframeProperty(EdgeSProp);
-       }
-      }
-  
-      EdgeActor->setInputShape(ex2.Current(),deflection,mode);
-      myFaceAssembly->AddPart(EdgeActor);
-    }
-    myVTKShape->AddPart(myFaceAssembly);
-  }
-  
-  return myVTKShape;
-}
-
-//-------------------------------------------------------------
-// CHANGE SPECIFIC DISPLAY MODE
-//-------------------------------------------------------------
-void  GEOM_AssemblyBuilder::SwitchDisplayMode(vtkAssembly* aOCCAssembly)
-{
-}
-
-void  GEOM_AssemblyBuilder::SwitchDisplayMode(vtkActorCollection* aOCCAssembly)
-{
-}
-
-//-------------------------------------------------------------
-// DISPLAY/ERASE
-//-------------------------------------------------------------
-
-void GEOM_AssemblyBuilder::DisplayErase(vtkAssembly* mySALOMEAssembly)
-{
-}
-
-
-void GEOM_AssemblyBuilder::DisplayErase(vtkActorCollection* mySALOMEActors)
-{
-}
-
-
-
-
-
diff --git a/src/OBJECT/GEOM_AssemblyBuilder.h b/src/OBJECT/GEOM_AssemblyBuilder.h
deleted file mode 100644 (file)
index 4436b0b..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_AssemblyBuilder.h
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-#include <vtkAssembly.h>
-#include <vtkPropAssembly.h>
-#include <vtkActorCollection.h>
-
-// Open CASCADE Inlcudes
-#include <TopoDS.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT GEOM_AssemblyBuilder {
-
- private:
-
-  static void InitProperties(vtkProperty* IsoProp,
-                            vtkProperty* FaceProp,
-                            vtkProperty* EdgeFProp,
-                            vtkProperty* EdgeSProp,
-                            vtkProperty* EdgeIProp,
-                            vtkProperty* VertexProp,
-                            vtkProperty* IsoPVProp,
-                            vtkProperty* EdgePVProp,
-                            vtkProperty* VertePVProp);
-
-  static void MeshShape(const TopoDS_Shape myShape,
-                       Standard_Real deflection,
-                       Standard_Boolean forced);
-
-
- public:
-
-
-  //------------------------------------------------------------------
-  // WARNING! Poor graphic performance :-(  use BuildActors instead
-  //------------------------------------------------------------------
-  static vtkAssembly* BuildAssembly(const TopoDS_Shape& myShape,
-                                   Standard_Real deflection,
-                                   Standard_Integer amode,
-                                   Standard_Boolean forced);
-
-  //------------------------------------------------------------------
-  // Good performance
-  //------------------------------------------------------------------
-
-  static vtkActorCollection* BuildActors(const TopoDS_Shape& myShape,
-                                        Standard_Real deflection,
-                                        Standard_Integer amode,
-                                        Standard_Boolean forced);
-
-
-  //------------------------------------------------------------------
-  // Change mode - Not implemented !!
-  //------------------------------------------------------------------
-
-  static void SwitchDisplayMode(vtkAssembly* mySALOMEAssembly);
-  static void SwitchDisplayMode(vtkActorCollection* mySALOMEActors);
-
-  //------------------------------------------------------------------
-  // Erase/Display - Not implemented !!
-  //------------------------------------------------------------------
-
-  static void DisplayErase(vtkAssembly* mySALOMEAssembly);
-  static void DisplayErase(vtkActorCollection* mySALOMEActors);
-
-
-};
diff --git a/src/OBJECT/GEOM_InteractiveObject.cxx b/src/OBJECT/GEOM_InteractiveObject.cxx
deleted file mode 100644 (file)
index caa8567..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_InteractiveObject.cxx
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-/*!
-  \class GEOM_InteractiveObject GEOM_InteractiveObject.hxx
-  \brief ....
-*/
-
-#include "GEOM_InteractiveObject.ixx"
-
-using namespace std;
-
-GEOM_InteractiveObject::GEOM_InteractiveObject()
-  : SALOME_InteractiveObject()
-{
-  myIOR       = "";
-  myFatherIOR = "";
-}
-
-GEOM_InteractiveObject::GEOM_InteractiveObject(const char* anIOR,
-                                              const char* aFatherIOR,
-                                              const char* aComponentDataType,
-                                              const char* anEntry)
-  : SALOME_InteractiveObject(anEntry,aComponentDataType)
-{
-  myIOR       = anIOR;
-  myFatherIOR = aFatherIOR;
-}
-
-const char* GEOM_InteractiveObject::getIOR(){
-  return myIOR.c_str();
-}
-
-const char* GEOM_InteractiveObject::getFatherIOR(){
-  return myFatherIOR.c_str();
-}
-
-Standard_Boolean GEOM_InteractiveObject::isSame(const Handle(SALOME_InteractiveObject)& anIO ){
-  if ( anIO->hasEntry() && this->hasEntry() ) {
-    if ( myEntry == anIO->getEntry() )
-      return Standard_True;
-  }
-  
-  if ( anIO->IsKind(STANDARD_TYPE(GEOM_InteractiveObject))) {
-    Handle(GEOM_InteractiveObject) theIO = Handle(GEOM_InteractiveObject)::DownCast( anIO );
-    if ( myIOR == theIO->getIOR() )
-      return Standard_True;
-  }
-
-  return Standard_False;
-}
diff --git a/src/OBJECT/GEOM_InteractiveObject.hxx b/src/OBJECT/GEOM_InteractiveObject.hxx
deleted file mode 100644 (file)
index 93911df..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_InteractiveObject.hxx
-//  Module : GEOM
-
-#ifndef _GEOM_InteractiveObject_HeaderFile
-#define _GEOM_InteractiveObject_HeaderFile
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Handle_GEOM_InteractiveObject_HeaderFile
-#include "Handle_GEOM_InteractiveObject.hxx"
-#endif
-
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
-#ifndef _SALOME_InteractiveObject_HeaderFile
-#include "SALOME_InteractiveObject.hxx"
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_SALOME_InteractiveObject_HeaderFile
-#include "Handle_SALOME_InteractiveObject.hxx"
-#endif
-class SALOME_InteractiveObject;
-
-
-class GEOM_InteractiveObject : public SALOME_InteractiveObject {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-Standard_EXPORT GEOM_InteractiveObject();
-Standard_EXPORT GEOM_InteractiveObject(const char* anIOR,
-                                      const char* aFatherIOR,
-                                      const char* aComponentDataType,
-                                      const char* anEntry = "");
-Standard_EXPORT   void setIOR(const char* anEntry) ;
-Standard_EXPORT   const char* getIOR() ;
-Standard_EXPORT   void setFatherIOR(const char* anEntry) ;
-Standard_EXPORT   const char* getFatherIOR() ;
-Standard_EXPORT   virtual Standard_Boolean isSame(const Handle(SALOME_InteractiveObject)& anIO) ;
-Standard_EXPORT   ~GEOM_InteractiveObject();
-
-
-
-
- // Type management
- //
- Standard_EXPORT friend Handle_Standard_Type& GEOM_InteractiveObject_Type_();
- Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
- Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-std::string myIOR;
-std::string myFatherIOR;
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/OBJECT/GEOM_InteractiveObject.ixx b/src/OBJECT/GEOM_InteractiveObject.ixx
deleted file mode 100644 (file)
index dccdbb9..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_InteractiveObject.ixx
-//  Module : GEOM
-
-#include "GEOM_InteractiveObject.jxx"
-
-#ifndef _Standard_TypeMismatch_HeaderFile
-#include <Standard_TypeMismatch.hxx>
-#endif
-
-GEOM_InteractiveObject::~GEOM_InteractiveObject() {}
-
-
-Standard_EXPORT Handle_Standard_Type& GEOM_InteractiveObject_Type_()
-{
-
-    static Handle_Standard_Type aType1 = STANDARD_TYPE(SALOME_InteractiveObject);
-  if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SALOME_InteractiveObject);
-  static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
-  if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
-  static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
-  if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
-
-  static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
-  static Handle_Standard_Type _aType = new Standard_Type("GEOM_InteractiveObject",
-                                                        sizeof(GEOM_InteractiveObject),
-                                                        1,
-                                                        (Standard_Address)_Ancestors,
-                                                        (Standard_Address)NULL);
-
-  return _aType;
-}
-
-
-// DownCast method
-//   allow safe downcasting
-//
-const Handle(GEOM_InteractiveObject) Handle(GEOM_InteractiveObject)::DownCast(const Handle(Standard_Transient)& AnObject) 
-{
-  Handle(GEOM_InteractiveObject) _anOtherObject;
-
-  if (!AnObject.IsNull()) {
-     if (AnObject->IsKind(STANDARD_TYPE(GEOM_InteractiveObject))) {
-       _anOtherObject = Handle(GEOM_InteractiveObject)((Handle(GEOM_InteractiveObject)&)AnObject);
-     }
-  }
-
-  return _anOtherObject ;
-}
-const Handle(Standard_Type)& GEOM_InteractiveObject::DynamicType() const 
-{ 
-  return STANDARD_TYPE(GEOM_InteractiveObject) ; 
-}
-Standard_Boolean GEOM_InteractiveObject::IsKind(const Handle(Standard_Type)& AType) const 
-{ 
-  return (STANDARD_TYPE(GEOM_InteractiveObject) == AType || SALOME_InteractiveObject::IsKind(AType)); 
-}
-Handle_GEOM_InteractiveObject::~Handle_GEOM_InteractiveObject() {}
-
diff --git a/src/OBJECT/GEOM_InteractiveObject.jxx b/src/OBJECT/GEOM_InteractiveObject.jxx
deleted file mode 100644 (file)
index 8884bdc..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_InteractiveObject.jxx
-//  Module : GEOM
-
-#ifndef _SALOME_InteractiveObject_HeaderFile
-#include "SALOME_InteractiveObject.hxx"
-#endif
-#ifndef _GEOM_InteractiveObject_HeaderFile
-#include "GEOM_InteractiveObject.hxx"
-#endif
diff --git a/src/OBJECT/GEOM_OCCReader.cxx b/src/OBJECT/GEOM_OCCReader.cxx
deleted file mode 100644 (file)
index 933c670..0000000
+++ /dev/null
@@ -1,995 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_OCCReader.h
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-#include "GEOM_OCCReader.h"
-
-// VTK Includes
-#include <vtkPoints.h>
-#include <vtkCellArray.h>
-
-#include <vtkObjectFactory.h>
-#include <vtkPolyData.h>
-#include <vtkPolyDataMapper.h>
-#include <vtkMergePoints.h>
-
-#include <vtkTransform.h>
-#include <vtkMatrix4x4.h>
-
-// OpenCASCADE Includes
-#include <BRepAdaptor_Surface.hxx>
-#include <TopExp_Explorer.hxx>
-#include <BRepMesh_IncrementalMesh.hxx>
-#include <Poly_Triangulation.hxx>
-#include <Poly_Polygon3D.hxx>
-#include <BRep_Tool.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Wire.hxx>
-#include <BRepBndLib.hxx>
-#include <TopoDS.hxx>
-#include <TopAbs.hxx>
-#include <Precision.hxx>
-#include <BRepTools.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom2dAdaptor_Curve.hxx>
-#include <Geom2dHatch_Intersector.hxx>
-#include <Geom2dHatch_Hatcher.hxx>
-#include <Geom2d_Curve.hxx>
-#include <Geom2d_Line.hxx>
-#include <Geom2d_TrimmedCurve.hxx>
-#include <HatchGen_Domain.hxx>
-#include <GeomAbs_IsoType.hxx>
-#include <Precision.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <gp_Dir2d.hxx>
-#include <gp_Pnt2d.hxx>
-#include <TColStd_Array1OfInteger.hxx>
-#include <TColStd_Array1OfReal.hxx>
-#include <Adaptor3d_HCurve.hxx>
-
-#include "utilities.h"
-
-using namespace std;
-
-#define MAX2(X, Y)     (  Abs(X) > Abs(Y)? Abs(X) : Abs(Y) )
-#define MAX3(X, Y, Z)  ( MAX2 ( MAX2(X,Y) , Z) )
-
-// Constante for iso building
-static Standard_Real IntersectorConfusion = 1.e-10 ; // -8 ;
-static Standard_Real IntersectorTangency  = 1.e-10 ; // -8 ;
-static Standard_Real HatcherConfusion2d   = 1.e-8 ;
-static Standard_Real HatcherConfusion3d   = 1.e-8 ;
-
-static Standard_Integer lastVTKpoint = 0;
-static Standard_Integer PlotCount = 0;
-static Standard_Real IsoRatio = 1.001;
-static Standard_Integer MaxPlotCount = 5; 
-
-//=======================================================================
-// Function : New
-// Purpose  : 
-//=======================================================================
-
-GEOM_OCCReader* GEOM_OCCReader::New()
-{
-  vtkObject* ret = vtkObjectFactory::CreateInstance("GEOM_OCCReader");
-  if(ret) {
-    return (GEOM_OCCReader*)ret;
-  }
-  return new GEOM_OCCReader;
-}
-
-//=======================================================================
-// Function : GEOM_OCCReader
-// Purpose  : 
-//=======================================================================
-
-GEOM_OCCReader::GEOM_OCCReader()
-{
-  //this->myShape = NULL;
-  this->amode = 0;
-  this->forced = Standard_False;
-  this->discretiso = 15;
-  this->nbisos = 1;
-}
-//=======================================================================
-// Function : ~GEOM_OCCReader
-// Purpose  : 
-//=======================================================================
-
-GEOM_OCCReader::~GEOM_OCCReader()
-{
-}
-
-
-//=======================================================================
-// Function : Execute
-// Purpose  : 
-//=======================================================================
-
-
-void GEOM_OCCReader::Execute() {
-
-  vtkPolyData* output = this->GetOutput();
-  vtkPoints* Pts = NULL;
-  vtkCellArray* Cells = NULL;
-  TopLoc_Location aLoc;
-
-  // Allocation
-  Pts = vtkPoints::New();
-  Cells = vtkCellArray::New();
-       
-  //Compute number of triangles and points
-  Standard_Integer nbpoly=0,nbpts=0;
-
-  if(amode==1) {
-    //for shading
-    
-    if(myShape.ShapeType() == TopAbs_FACE) {
-      // whole FACE 
-      const TopoDS_Face& aFace = TopoDS::Face(myShape);
-      Handle(Poly_Triangulation) aPoly = BRep_Tool::Triangulation(aFace,aLoc);
-      if(aPoly.IsNull()) {
-       Pts->Delete();
-       Cells->Delete();
-       return;
-      }
-
-      nbpts = aPoly->NbNodes();
-      nbpoly = aPoly->NbTriangles();
-
-      Pts->SetNumberOfPoints(nbpts);
-      Cells->Allocate(Cells->EstimateSize(nbpoly,3));
-    }
-    else { 
-       Cells->Delete();
-       Pts->Delete();
-       return; 
-    }
-  }
-
-  // Start computation
-  if(amode == 0) {
-    ComputeWireframe(Pts,Cells);
-    output->SetPoints(Pts);
-    output->SetLines(Cells);
-    output->Squeeze();
-  }
-  else {
-    if(myShape.ShapeType() == TopAbs_FACE) {
-      ComputeShading(Pts,Cells);
-
-      output->SetPoints(Pts);
-      output->SetPolys(Cells);
-      output->Squeeze();
-    }
-  }
-  Pts->Delete();
-  Cells->Delete();
-  
-}
-
-//=======================================================================
-// Function : ComputeWireframe
-// Purpose  : Compute the shape in CAD wireframe mode
-//=======================================================================
-
-void GEOM_OCCReader::ComputeWireframe(vtkPoints* Pts,vtkCellArray* Cells){
-
-  // Check the type of the shape:
-  if(myShape.ShapeType() == TopAbs_FACE) {
-    // Face
-    TransferFaceWData(TopoDS::Face(myShape),Pts,Cells);
-  } else if(myShape.ShapeType() == TopAbs_EDGE) {
-    // Edge
-    TransferEdgeWData(TopoDS::Edge(myShape),Pts,Cells);
-  } else {
-    if(myShape.ShapeType() == TopAbs_VERTEX) {
-      // Vertex
-      TransferVertexWData(TopoDS::Vertex(myShape),Pts,Cells);
-    }
-  }
-}
-
-//=======================================================================
-// Function : TransferFaceWData
-// Purpose  : Transfert wireframe data for FACE
-//=======================================================================
-
-void GEOM_OCCReader::TransferFaceWData(const TopoDS_Face& aFace,
-                                        vtkPoints* Pts,
-                                        vtkCellArray* Cells) 
-{
-  TopoDS_Face aCopyFace = aFace; 
-  aCopyFace.Orientation (TopAbs_FORWARD);
-  createISO(aCopyFace,Precision::Infinite(),1,Pts,Cells);
-}
-
-//=======================================================================
-// Function : createISO
-// Purpose  : Create ISO for Face Wireframe representation 
-//=======================================================================
-
-void GEOM_OCCReader::createISO (const TopoDS_Face&     TopologicalFace,
-                                 const Standard_Real    Infinite,
-                                 const Standard_Integer NbIsos,
-                                 vtkPoints* Pts,
-                                 vtkCellArray* Cell)
-{
-  Geom2dHatch_Hatcher aHatcher (Geom2dHatch_Intersector (IntersectorConfusion,
-                                                        IntersectorTangency),
-                               HatcherConfusion2d,
-                               HatcherConfusion3d,
-                               Standard_True,
-                               Standard_False);
-  
-  Standard_Real myInfinite,myUMin,myUMax,myVMin,myVMax;
-  //myInfinite = Precision::Infinite();
-  myInfinite = 1e38; // VTK uses float numbers - Precision::Infinite() is double and can not be accepted.
-
-  Standard_Integer myNbDom;
-  TColStd_Array1OfReal myUPrm(1, NbIsos),myVPrm(1, NbIsos);
-  TColStd_Array1OfInteger myUInd(1, NbIsos),myVInd(1, NbIsos);
-
-  myUInd.Init(0);
-  myVInd.Init(0);
-
-  //-----------------------------------------------------------------------
-  // If the Min Max bounds are infinite, there are bounded to Infinite
-  // value.
-  //-----------------------------------------------------------------------
-
-  BRepTools::UVBounds (TopologicalFace, myUMin, myUMax, myVMin, myVMax) ;
-  Standard_Boolean InfiniteUMin = Precision::IsNegativeInfinite (myUMin) ;
-  Standard_Boolean InfiniteUMax = Precision::IsPositiveInfinite (myUMax) ;
-  Standard_Boolean InfiniteVMin = Precision::IsNegativeInfinite (myVMin) ;
-  Standard_Boolean InfiniteVMax = Precision::IsPositiveInfinite (myVMax) ;
-  if (InfiniteUMin && InfiniteUMax) {
-    myUMin = - myInfinite ;
-    myUMax =   myInfinite ;
-  } else if (InfiniteUMin) {
-    myUMin = myUMax - myInfinite ;
-  } else if (InfiniteUMax) {
-    myUMax = myUMin + myInfinite ;
-  }
-  if (InfiniteVMin && InfiniteVMax) {
-    myVMin = - myInfinite ;
-    myVMax =   myInfinite ;
-  } else if (InfiniteVMin) {
-    myVMin = myVMax - myInfinite ;
-  } else if (InfiniteVMax) {
-    myVMax = myVMin + myInfinite ;
-  }
-
-  //-----------------------------------------------------------------------
-  // Retreiving the edges and loading them into the hatcher.
-  //-----------------------------------------------------------------------
-
-  TopExp_Explorer ExpEdges ;
-  for (ExpEdges.Init (TopologicalFace, TopAbs_EDGE) ; ExpEdges.More() ; ExpEdges.Next()) {
-    const TopoDS_Edge& TopologicalEdge = TopoDS::Edge (ExpEdges.Current()) ;
-    Standard_Real U1, U2 ;
-    const Handle(Geom2d_Curve) PCurve = BRep_Tool::CurveOnSurface (TopologicalEdge, TopologicalFace, U1, U2) ;
-
-    if ( PCurve.IsNull() ) {
-      return;
-    }
-
-    if ( U1==U2) {
-      return;
-    }
-
-    //-- Test if a TrimmedCurve is necessary
-    if(   Abs(PCurve->FirstParameter()-U1)<= Precision::PConfusion() 
-         && Abs(PCurve->LastParameter()-U2)<= Precision::PConfusion()) { 
-      aHatcher.AddElement (PCurve, TopologicalEdge.Orientation()) ;      
-    }
-    else { 
-      if (!PCurve->IsPeriodic()) {
-       Handle (Geom2d_TrimmedCurve) TrimPCurve =Handle(Geom2d_TrimmedCurve)::DownCast(PCurve);
-       if (!TrimPCurve.IsNull()) {
-         if (TrimPCurve->BasisCurve()->FirstParameter()-U1 > Precision::PConfusion() ||
-             U2-TrimPCurve->BasisCurve()->LastParameter()  > Precision::PConfusion()) {
-           aHatcher.AddElement (PCurve, TopologicalEdge.Orientation()) ;      
-           return;
-         }
-       }
-       else {
-         if (PCurve->FirstParameter()-U1 > Precision::PConfusion()){
-           U1=PCurve->FirstParameter();
-         }
-         if (U2-PCurve->LastParameter()  > Precision::PConfusion()){
-           U2=PCurve->LastParameter();
-         }
-       }
-      }
-      Handle (Geom2d_TrimmedCurve) TrimPCurve = new Geom2d_TrimmedCurve (PCurve, U1, U2) ;
-      aHatcher.AddElement (TrimPCurve, TopologicalEdge.Orientation()) ;
-    }
-  }
-
-
-  //-----------------------------------------------------------------------
-  // Loading and trimming the hatchings.
-  //-----------------------------------------------------------------------
-
-  Standard_Integer IIso ;
-  Standard_Real DeltaU = Abs (myUMax - myUMin) ;
-  Standard_Real DeltaV = Abs (myVMax - myVMin) ;
-  Standard_Real confusion = Min (DeltaU, DeltaV) * HatcherConfusion3d ;
-  aHatcher.Confusion3d (confusion) ;
-
-  Standard_Real StepU = DeltaU / (Standard_Real) NbIsos ;
-  if (StepU > confusion) {
-    Standard_Real UPrm = myUMin + StepU / 2. ;
-    gp_Dir2d Dir (0., 1.) ;
-    for (IIso = 1 ; IIso <= NbIsos ; IIso++) {
-      myUPrm(IIso) = UPrm ;
-      gp_Pnt2d Ori (UPrm, 0.) ;
-      Geom2dAdaptor_Curve HCur (new Geom2d_Line (Ori, Dir)) ;
-      myUInd(IIso) = aHatcher.AddHatching (HCur) ;
-      UPrm += StepU ;
-    }
-  }
-
-  Standard_Real StepV = DeltaV / (Standard_Real) NbIsos ;
-  if (StepV > confusion) {
-    Standard_Real VPrm = myVMin + StepV / 2. ;
-    gp_Dir2d Dir (1., 0.) ;
-    for (IIso = 1 ; IIso <= NbIsos ; IIso++) {
-      myVPrm(IIso) = VPrm ;
-      gp_Pnt2d Ori (0., VPrm) ;
-      Geom2dAdaptor_Curve HCur (new Geom2d_Line (Ori, Dir)) ;
-      myVInd(IIso) = aHatcher.AddHatching (HCur) ;
-      VPrm += StepV ;
-    }
-  }
-
-  //-----------------------------------------------------------------------
-  // Computation.
-  //-----------------------------------------------------------------------
-
-  aHatcher.Trim() ;
-
-  myNbDom = 0 ;
-  for (IIso = 1 ; IIso <= NbIsos ; IIso++) {
-    Standard_Integer Index ;
-
-    Index = myUInd(IIso) ;
-    if (Index != 0) {
-      if (aHatcher.TrimDone (Index) && !aHatcher.TrimFailed (Index)) {
-       aHatcher.ComputeDomains (Index);
-       if (aHatcher.IsDone (Index)) myNbDom = myNbDom + aHatcher.NbDomains (Index) ;
-      }
-    }
-
-    Index = myVInd(IIso) ;
-    if (Index != 0) {
-      if (aHatcher.TrimDone (Index) && !aHatcher.TrimFailed (Index)) {
-       aHatcher.ComputeDomains (Index);
-       if (aHatcher.IsDone (Index)) myNbDom = myNbDom + aHatcher.NbDomains (Index) ;
-      }
-    }
-  }
-
-  //-----------------------------------------------------------------------
-  // Push iso lines in vtk kernel
-  //-----------------------------------------------------------------------
-
-
-  Standard_Integer pt_start_idx = 0;
-
-  for (Standard_Integer UIso = myUPrm.Lower() ; UIso <= myUPrm.Upper() ; UIso++) {
-    Standard_Integer UInd = myUInd.Value (UIso) ;
-    if (UInd != 0) {
-      Standard_Real UPrm = myUPrm.Value (UIso) ;
-      if (!aHatcher.IsDone (UInd)) {
-       MESSAGE("DBRep_IsoBuilder:: U iso of parameter: "<<UPrm)
-       switch (aHatcher.Status (UInd)) {
-       case HatchGen_NoProblem          : MESSAGE("No Problem")          ; break ;
-       case HatchGen_TrimFailure        : MESSAGE("Trim Failure")        ; break ;
-       case HatchGen_TransitionFailure  : MESSAGE("Transition Failure")  ; break ;
-       case HatchGen_IncoherentParity   : MESSAGE("Incoherent Parity")   ; break ;
-       case HatchGen_IncompatibleStates : MESSAGE("Incompatible States") ; break ;
-       }
-      } else {
-       Standard_Integer NbDom = aHatcher.NbDomains (UInd) ;
-       for (Standard_Integer IDom = 1 ; IDom <= NbDom ; IDom++) {
-         const HatchGen_Domain& Dom = aHatcher.Domain (UInd, IDom) ;
-         Standard_Real V1 = Dom.HasFirstPoint()  ? Dom.FirstPoint().Parameter()  : myVMin - myInfinite ;
-         Standard_Real V2 = Dom.HasSecondPoint() ? Dom.SecondPoint().Parameter() : myVMax + myInfinite ;
-         DrawIso(GeomAbs_IsoU, UPrm, V1, V2, Pts, Cell,pt_start_idx);
-       }
-      }
-    }
-  }
-
-  for (Standard_Integer VIso = myVPrm.Lower() ; VIso <= myVPrm.Upper() ; VIso++) {
-    Standard_Integer VInd = myVInd.Value (VIso) ;
-    if (VInd != 0) {
-      Standard_Real VPrm = myVPrm.Value (VIso) ;
-      if (!aHatcher.IsDone (VInd)) {
-       MESSAGE("DBRep_IsoBuilder:: V iso of parameter: "<<VPrm)
-       switch (aHatcher.Status (VInd)) {
-       case HatchGen_NoProblem          : MESSAGE("No Problem")          ; break ;
-       case HatchGen_TrimFailure        : MESSAGE("Trim Failure")        ; break ;
-       case HatchGen_TransitionFailure  : MESSAGE("Transition Failure")  ; break ;
-       case HatchGen_IncoherentParity   : MESSAGE("Incoherent Parity")   ; break ;
-       case HatchGen_IncompatibleStates : MESSAGE("Incompatible States") ; break ;
-       }
-      } else {
-       Standard_Integer NbDom = aHatcher.NbDomains (VInd) ;
-       for (Standard_Integer IDom = 1 ; IDom <= NbDom ; IDom++) {
-         const HatchGen_Domain& Dom = aHatcher.Domain (VInd, IDom) ;
-         Standard_Real U1 = Dom.HasFirstPoint()  ? Dom.FirstPoint().Parameter()  : myVMin - myInfinite ;
-         Standard_Real U2 = Dom.HasSecondPoint() ? Dom.SecondPoint().Parameter() : myVMax + myInfinite ;
-         DrawIso(GeomAbs_IsoV, VPrm, U1, U2, Pts, Cell,pt_start_idx) ;
-       }
-      }
-    }
-  }
-
-}
-
-//=======================================================================
-// Function : MoveTo
-// Purpose  : Init VTK ISO PLOT
-//=======================================================================
-void GEOM_OCCReader::MoveTo(gp_Pnt P,
-                             vtkPoints* Pts)
-{    
-  float coord[3];
-
-  coord[0] = P.X(); coord[1] = P.Y(); coord[2] = P.Z();
-  lastVTKpoint = Pts->InsertNextPoint(coord);
-    
-} 
-
-//=======================================================================
-// Function : DrawTo
-// Purpose  : Plot point in VTK
-//=======================================================================
-void GEOM_OCCReader::DrawTo(gp_Pnt P,
-                             vtkPoints* Pts,
-                             vtkCellArray* Cells)
-{
-  float coord[3];
-  coord[0] = P.X(); coord[1] = P.Y(); coord[2] = P.Z();
-  Standard_Integer NewVTKpoint =  Pts->InsertNextPoint(coord);
-
-  int pts[2];
-  pts[0] = lastVTKpoint;
-  pts[1] = NewVTKpoint;
-
-  Cells->InsertNextCell(2,pts);
-    
-  lastVTKpoint = NewVTKpoint;
-}
-
-
-//=======================================================================
-// Function : DrawIso
-// Purpose  : Draw an iso on vtk
-//=======================================================================
-void GEOM_OCCReader::DrawIso(GeomAbs_IsoType T, 
-                              Standard_Real Par, 
-                              Standard_Real T1,
-                              Standard_Real T2,
-                              vtkPoints* Pts,
-                              vtkCellArray* Cells,
-                              Standard_Integer& startidx)
-{
-
-  Standard_Boolean halt = Standard_False;
-  Standard_Integer j,myDiscret = discretiso;
-  Standard_Real U1,U2,V1,V2,stepU=0.,stepV=0.;
-  gp_Pnt P;
-  TopLoc_Location l;
-
-  const Handle(Geom_Surface)& S = BRep_Tool::Surface(TopoDS::Face(myShape),l);
-  if (!S.IsNull()) {
-    BRepAdaptor_Surface S(TopoDS::Face(myShape),Standard_False);
-      
-    GeomAbs_SurfaceType SurfType = S.GetType();
-
-    GeomAbs_CurveType CurvType = GeomAbs_OtherCurve;
-
-    Standard_Integer Intrv, nbIntv;
-    Standard_Integer nbUIntv = S.NbUIntervals(GeomAbs_CN);
-    Standard_Integer nbVIntv = S.NbVIntervals(GeomAbs_CN);
-    TColStd_Array1OfReal TI(1,Max(nbUIntv, nbVIntv)+1);
-
-
-    if (T == GeomAbs_IsoU) {
-      S.VIntervals(TI, GeomAbs_CN);
-      V1 = Max(T1, TI(1));
-      V2 = Min(T2, TI(2));
-      U1 = Par;
-      U2 = Par;
-      stepU = 0;
-      nbIntv = nbVIntv;
-    }
-    else {
-      S.UIntervals(TI, GeomAbs_CN);
-      U1 = Max(T1, TI(1));
-      U2 = Min(T2, TI(2));
-      V1 = Par;
-      V2 = Par;
-      stepV = 0;
-      nbIntv = nbUIntv;
-    }  
-       
-    S.D0(U1,V1,P);
-    MoveTo(P,Pts);
-
-    for (Intrv = 1; Intrv <= nbIntv; Intrv++) {
-
-      if (TI(Intrv) <= T1 && TI(Intrv + 1) <= T1)
-       continue;
-      if (TI(Intrv) >= T2 && TI(Intrv + 1) >= T2)
-       continue;
-      if (T == GeomAbs_IsoU) {
-       V1 = Max(T1, TI(Intrv));
-       V2 = Min(T2, TI(Intrv + 1));
-       stepV = (V2 - V1) / myDiscret;
-      }
-      else {
-       U1 = Max(T1, TI(Intrv));
-       U2 = Min(T2, TI(Intrv + 1));
-       stepU = (U2 - U1) / myDiscret;
-      }
-
-      switch (SurfType) {
-       //-------------GeomAbs_Plane---------------
-      case GeomAbs_Plane :
-       break;
-       //----GeomAbs_Cylinder   GeomAbs_Cone------
-      case GeomAbs_Cylinder :
-      case GeomAbs_Cone :
-       if (T == GeomAbs_IsoV) {
-         for (j = 1; j < myDiscret; j++) {
-           U1 += stepU;
-           V1 += stepV;
-           S.D0(U1,V1,P);
-           DrawTo(P,Pts,Cells);
-         }
-       }
-       break;
-       //---GeomAbs_Sphere   GeomAbs_Torus--------
-       //GeomAbs_BezierSurface GeomAbs_BezierSurface
-      case GeomAbs_Sphere :
-      case GeomAbs_Torus :
-      case GeomAbs_OffsetSurface :
-      case GeomAbs_OtherSurface :
-       for (j = 1; j < myDiscret; j++) {
-         U1 += stepU;
-         V1 += stepV;
-         S.D0(U1,V1,P);
-         DrawTo(P,Pts,Cells);
-       }
-       break;
-       //-------------GeomAbs_BSplineSurface------
-      case GeomAbs_BezierSurface :
-      case GeomAbs_BSplineSurface :
-       for (j = 1; j <= myDiscret/2; j++) {
-
-         PlotCount = 0;
-
-         PlotIso ( S, T, U1, V1, (T == GeomAbs_IsoV) ? stepU*2. : stepV*2., halt, Pts, Cells);
-         U1 += stepU*2.;
-         V1 += stepV*2.;
-       }
-       break;
-       //-------------GeomAbs_SurfaceOfExtrusion--
-       //-------------GeomAbs_SurfaceOfRevolution-
-      case GeomAbs_SurfaceOfExtrusion :
-      case GeomAbs_SurfaceOfRevolution :
-       if ((T == GeomAbs_IsoV && SurfType == GeomAbs_SurfaceOfRevolution) ||
-           (T == GeomAbs_IsoU && SurfType == GeomAbs_SurfaceOfExtrusion)) {
-         if (SurfType == GeomAbs_SurfaceOfExtrusion) break;
-         for (j = 1; j < myDiscret; j++) {
-           U1 += stepU;
-           V1 += stepV;
-           S.D0(U1,V1,P);
-           DrawTo(P,Pts,Cells);
-         }
-       } else {
-         CurvType = (S.BasisCurve())->GetType();
-         switch (CurvType) {
-         case GeomAbs_Line :
-           break;
-         case GeomAbs_Circle :
-         case GeomAbs_Ellipse :
-           for (j = 1; j < myDiscret; j++) {
-             U1 += stepU;
-             V1 += stepV;
-             S.D0(U1,V1,P);
-             DrawTo(P,Pts,Cells);
-           }
-           break;
-         case GeomAbs_Parabola :
-         case GeomAbs_Hyperbola :
-         case GeomAbs_BezierCurve :
-         case GeomAbs_BSplineCurve :
-         case GeomAbs_OtherCurve :
-           for (j = 1; j <= myDiscret/2; j++) {
-
-             PlotCount = 0;
-
-             PlotIso ( S, T, U1, V1,(T == GeomAbs_IsoV) ? stepU*2. : stepV*2., halt, Pts, Cells);
-             U1 += stepU*2.;
-             V1 += stepV*2.;
-           }
-           break;
-         }
-       }
-      }
-    }
-    S.D0(U2,V2,P);
-    DrawTo(P,Pts,Cells);
-  }  
-}
-
-//=======================================================================
-// Function : PlotIso
-// Purpose  : Plot iso for other surface
-//=======================================================================
-
-void GEOM_OCCReader::PlotIso (BRepAdaptor_Surface& S, 
-                               GeomAbs_IsoType T,
-                               Standard_Real& U, 
-                               Standard_Real& V, 
-                               Standard_Real Step, 
-                               Standard_Boolean& halt,
-                               vtkPoints* Pts,
-                               vtkCellArray* Cells)
-{
-
-  ++PlotCount; 
-
-  gp_Pnt Pl, Pr, Pm;
-
-  if (T == GeomAbs_IsoU) {
-    S.D0(U, V, Pl);
-    S.D0(U, V + Step/2., Pm);
-    S.D0(U, V + Step, Pr);
-  } else {
-    S.D0(U, V, Pl);
-    S.D0(U + Step/2., V, Pm);
-    S.D0(U + Step, V, Pr);
-  }
-
-  if (PlotCount > MaxPlotCount) {
-    DrawTo(Pr,Pts,Cells);
-    return;
-  }
-
-  if (Pm.Distance(Pl) + Pm.Distance(Pr) <= IsoRatio*Pl.Distance(Pr)) {
-    DrawTo(Pr,Pts,Cells);
-  } else 
-    if (T == GeomAbs_IsoU) {
-      PlotIso ( S, T, U, V, Step/2, halt, Pts, Cells);
-      Standard_Real aLocalV = V + Step/2 ;
-      PlotIso ( S, T, U, aLocalV , Step/2, halt, Pts, Cells);
-    } else {
-      PlotIso ( S, T, U, V, Step/2, halt, Pts, Cells);
-      Standard_Real aLocalU = U + Step/2 ;
-      PlotIso ( S, T, aLocalU , V, Step/2, halt, Pts, Cells);
-    }
-}
-
-//=======================================================================
-// Function : TransferEdgeWData
-// Purpose  : Transfert wireframe data for EDGE
-//=======================================================================
-
-void GEOM_OCCReader::TransferEdgeWData(const TopoDS_Edge& aEdge,
-                                        vtkPoints* Pts,
-                                        vtkCellArray* Cells) {
-  
-  
-  Handle(Poly_PolygonOnTriangulation) aEdgePoly;
-  Standard_Integer i = 1;
-  Handle(Poly_Triangulation) T;
-  TopLoc_Location aEdgeLoc;
-  BRep_Tool::PolygonOnTriangulation(aEdge, aEdgePoly, T, aEdgeLoc, i);
-  
-  Handle(Poly_Polygon3D) P;
-  if(aEdgePoly.IsNull()) {
-    P = BRep_Tool::Polygon3D(aEdge, aEdgeLoc);
-  }
-
-  if(P.IsNull() && aEdgePoly.IsNull())
-    return;
-  
-  // Location edges
-  //---------------
-  
-  gp_Trsf edgeTransf;
-  Standard_Boolean isidtrsf = true;
-  if(!aEdgeLoc.IsIdentity())  {
-    isidtrsf = false;
-    edgeTransf = aEdgeLoc.Transformation();
-  }
-
-  Standard_Integer nbnodes;
-  if (aEdgePoly.IsNull()) {
-    nbnodes = P->NbNodes();
-    const TColgp_Array1OfPnt& theNodesP = P->Nodes();
-
-    float coord[3];
-    int pts[2];
-  
-    for(int j=1;j<nbnodes;j++) {
-      gp_Pnt pt1 = theNodesP(j);
-      gp_Pnt pt2 = theNodesP(j+1);
-    
-      if(!isidtrsf) {
-       // apply edge transformation
-       pt1.Transform(edgeTransf);
-       pt2.Transform(edgeTransf);
-      }
-      
-      // insert pt1
-      coord[0] = pt1.X(); coord[1] = pt1.Y(); coord[2] = pt1.Z();
-      pts[0] = Pts->InsertNextPoint(coord);
-      
-      // insert pt2
-      coord[0] = pt2.X(); coord[1] = pt2.Y(); coord[2] = pt2.Z();
-      pts[1] = Pts->InsertNextPoint(coord);
-      
-      // insert line (pt1,pt2)
-      Cells->InsertNextCell(2,pts);
-    }
-  } else {
-    nbnodes = aEdgePoly->NbNodes();
-    const TColStd_Array1OfInteger& Nodesidx = aEdgePoly->Nodes();
-    const TColgp_Array1OfPnt& theNodesPoly = T->Nodes();
-
-    float coord[3];
-    int pts[2];
-    
-    for(int j=1;j<nbnodes;j++) {
-      Standard_Integer id1 = Nodesidx(j);
-      Standard_Integer id2 = Nodesidx(j+1);
-      
-      gp_Pnt pt1 = theNodesPoly(id1);
-      gp_Pnt pt2 = theNodesPoly(id2);
-          
-      if(!isidtrsf) {
-       // apply edge transformation
-       pt1.Transform(edgeTransf);
-       pt2.Transform(edgeTransf);
-      }
-      
-      // insert pt1
-      coord[0] = pt1.X(); coord[1] = pt1.Y(); coord[2] = pt1.Z();
-      pts[0] = Pts->InsertNextPoint(coord);
-      
-      // insert pt2
-      coord[0] = pt2.X(); coord[1] = pt2.Y(); coord[2] = pt2.Z();
-      pts[1] = Pts->InsertNextPoint(coord);
-      
-      // insert line (pt1,pt2)
-      Cells->InsertNextCell(2,pts);
-    }
-  }
-}
-
-/*  Standard_Integer nbnodes = aEdgePoly->NbNodes();
-  const TColStd_Array1OfInteger& Nodesidx = aEdgePoly->Nodes();
-  const TColgp_Array1OfPnt& theNodes = T->Nodes();
-    
-  float coord[3];
-  int pts[2];
-    
-
-  // PUSH NODES
-  for(i=1;i<=nbnodes;i++) {
-    Standard_Integer id = Nodesidx(i);
-    gp_Pnt pt = theNodes(id);
-    float coord[3];
-    if(!isidtrsf) pt.Transform(edgeTransf);
-
-    coord[0] = pt.X(); coord[1] = pt.Y(); coord[2] = pt.Z();
-
-    Pts->SetPoint(id-1,coord);
-
-  }
-
-  // PUSH EDGES
-  for(i=1;i<nbnodes;i++) {
-      
-    Standard_Integer id1 = Nodesidx(i);
-    Standard_Integer id2 = Nodesidx(i+1);
-    
-    int pts[2];
-    pts[0] = id1-1; pts[1] = id2-1;
-
-    // insert line (pt1,pt2)
-    Cells->InsertNextCell(2,pts);
-  }
-  
-  }*/
-
-//=======================================================================
-// Function : TransferVertexWData
-// Purpose  : Transfert wireframe data for VERTEX
-//=======================================================================
-
-void GEOM_OCCReader::TransferVertexWData(const TopoDS_Vertex& aVertex,
-                                        vtkPoints* Pts,
-                                        vtkCellArray* Cells) {
-#define ZERO_COORD coord[0] = 0.0; coord[1] = 0.0; coord[2] = 0.0
-  
-  gp_Pnt P = BRep_Tool::Pnt( aVertex );
-  float delta = 1, coord[3];
-  int pts[2];
-  // insert pt
-  ZERO_COORD; coord[0] = +delta;
-  pts[0] = Pts->InsertNextPoint(coord);
-  coord[0] = -delta;
-  pts[1] = Pts->InsertNextPoint(coord);
-  // insert line (pt1,pt2)
-  Cells->InsertNextCell(2,pts);
-
-  ZERO_COORD; coord[1] = +delta;
-  pts[0] = Pts->InsertNextPoint(coord);
-  coord[1] = -delta;
-  pts[1] = Pts->InsertNextPoint(coord);
-  // insert line (pt1,pt2)
-  Cells->InsertNextCell(2,pts);
-
-  ZERO_COORD; coord[2] = +delta;
-  pts[0] = Pts->InsertNextPoint(coord);
-  coord[2] = -delta;
-  pts[1] = Pts->InsertNextPoint(coord);
-  // insert line (pt1,pt2)
-  Cells->InsertNextCell(2,pts);
-
-#undef ZERO_COORD
-}      
-
-//=======================================================================
-// Function : TransferEdgeSData(
-// Purpose  : Transfert shading data for EDGE
-//=======================================================================
-
-void GEOM_OCCReader::TransferEdgeSData(const TopoDS_Edge& aFace,
-                                        vtkPoints* Pts,
-                                        vtkCellArray* Cells) 
-{
-}
-
-
-//=======================================================================
-// Function : TransferFaceSData
-// Purpose  : Transfert shading data for FACE
-//=======================================================================
-void GEOM_OCCReader::TransferFaceSData(const TopoDS_Face& aFace,
-                                        vtkPoints* Pts,
-                                        vtkCellArray* Cells) {
-
-  TopLoc_Location aLoc;
-  Handle(Poly_Triangulation) aPoly = BRep_Tool::Triangulation(aFace,aLoc);
-  if(aPoly.IsNull()) return;
-  else {
-    
-    gp_Trsf myTransf;
-    Standard_Boolean identity = true;
-    if(!aLoc.IsIdentity())  {
-      identity = false;
-      myTransf = aLoc.Transformation();
-    }
-
-    Standard_Integer nbNodesInFace = aPoly->NbNodes();
-    Standard_Integer nbTriInFace = aPoly->NbTriangles();
-               
-    const Poly_Array1OfTriangle& Triangles = aPoly->Triangles();
-    const TColgp_Array1OfPnt& Nodes = aPoly->Nodes();
-      
-    Standard_Integer i;
-    for(i=1;i<=nbNodesInFace;i++) {
-      gp_Pnt P = Nodes(i);
-      float coord[3];
-      if(!identity) P.Transform(myTransf);
-      coord[0] = P.X(); coord[1] = P.Y(); coord[2] = P.Z();
-      Pts->SetPoint(i-1,coord);
-    }
-
-    for(i=1;i<=nbTriInFace;i++) {
-      // Get the triangle
-       
-      Standard_Integer N1,N2,N3;
-      Triangles(i).Get(N1,N2,N3);
-       
-      int pts[3];
-      pts[0] = N1-1; pts[1] = N2-1; pts[2] = N3-1;
-      Cells->InsertNextCell(3,pts);
-
-    }
-  } 
-}
-
-//=======================================================================
-// Function : ComputeShading
-// Purpose  : Compute the shape in shading mode
-//=======================================================================
-void GEOM_OCCReader::ComputeShading(vtkPoints* Pts,vtkCellArray* Cells){
-
-  // Check the type of the shape:
-  if(myShape.ShapeType() == TopAbs_FACE) {
-    // Face
-    TransferFaceSData(TopoDS::Face(myShape),Pts,Cells);
-  }
-  else {
-    if(myShape.ShapeType() == TopAbs_EDGE) {
-      // Edge
-      TransferEdgeSData(TopoDS::Edge(myShape),Pts,Cells);
-    }
-    else {
-    }
-
-  } 
-
-}
-
-//=======================================================================
-// Function : 
-// Purpose  : Set parameters
-//=======================================================================
-void GEOM_OCCReader::setDisplayMode(int thenewmode) {
-  amode = thenewmode;
-}
-
-void GEOM_OCCReader::setTopo(const TopoDS_Shape& aShape) {
-  myShape = aShape;
-}
-
-void GEOM_OCCReader::setForceUpdate(Standard_Boolean bol) {
-  forced = bol;
-}
-
-//=======================================================================
-// Function : 
-// Purpose  : Get parameters
-//=======================================================================
-const TopoDS_Shape& GEOM_OCCReader::getTopo() {
-  return myShape;
-}
-
-int GEOM_OCCReader::getDisplayMode() {
-  return amode;
-}
-
-
diff --git a/src/OBJECT/GEOM_OCCReader.h b/src/OBJECT/GEOM_OCCReader.h
deleted file mode 100644 (file)
index e10ce3c..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_OCCReader.h
-//  Author : Christophe ATTANASIO
-//  Module : GEOM
-//  $Header$
-
-/*!
-  \class GEOM_OCCReader GEOM_OCCReader.h
-  \brief This class allow to display a OpenCASCADE CAD model in a VTK viewer.
-*/
-
-#ifndef GEOM_OCCREADER_H
-#define GEOM_OCCREADER_H
-
-#include <vtkPolyDataSource.h>
-
-class vtkPoints;
-class vtkCellArray;
-
-// OpenCASCADE
-#include <TopoDS_Shape.hxx>
-#include <TopoDS.hxx>
-#include <Poly_Polygon3D.hxx>
-#include <Poly_PolygonOnTriangulation.hxx>
-#include <GeomAbs_IsoType.hxx>
-#include <BRepAdaptor_Surface.hxx>
-
-#ifdef _WIN_32
-#define VTKOCC_EXPORT __declspec (dllexport)
-#else
-#define VTKOCC_EXPORT
-#endif
-
-class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
-
-  // methods   
-
- public:       
-
-  static GEOM_OCCReader* New();
-
-  const TopoDS_Shape& getTopo();
-
-  void setTopo(const TopoDS_Shape& ashape);
-
-  int  getDisplayMode();
-  void setDisplayMode(int);
-
-  void setForceUpdate(Standard_Boolean bol);
-
- protected:
-
-  GEOM_OCCReader();
-  ~GEOM_OCCReader();
-  void Execute();      
-
-  void ComputeShading(vtkPoints* Pts,vtkCellArray* Cells);
-  void ComputeWireframe(vtkPoints* Pts,vtkCellArray* Cells);
-
-  void TransferFaceSData(const TopoDS_Face& aFace,
-                        vtkPoints* Pts,
-                        vtkCellArray* Cells);
-
-  void TransferFaceWData(const TopoDS_Face& aFace,
-                        vtkPoints* Pts,
-                        vtkCellArray* Cells);
-
-  void TransferEdgeSData(const TopoDS_Edge& aEdge,
-                        vtkPoints* Pts,
-                        vtkCellArray* Cells);
-
-  void TransferEdgeWData(const TopoDS_Edge& aEdge,
-                        vtkPoints* Pts,
-                        vtkCellArray* Cells);
-
-  void TransferVertexWData(const TopoDS_Vertex& aVertex,
-                          vtkPoints* Pts,
-                          vtkCellArray* Cells);
-
-  void createISO(const TopoDS_Face &, 
-                double, int,
-                vtkPoints* Pts,
-                vtkCellArray* Cells);
-  
-  void DrawIso(GeomAbs_IsoType aType,
-              Standard_Real PParm,
-              Standard_Real p1,
-              Standard_Real p2,
-              vtkPoints* Pts,
-              vtkCellArray* Cells,
-              Standard_Integer& startidx);
-  
-  void MoveTo(gp_Pnt P,
-             vtkPoints* Pts);
-
-  void DrawTo(gp_Pnt P,
-             vtkPoints* Pts,
-             vtkCellArray* Cells);
-
-  void PlotIso(BRepAdaptor_Surface& S, 
-              GeomAbs_IsoType T,
-              Standard_Real& U, 
-              Standard_Real& V, 
-              Standard_Real Step, 
-              Standard_Boolean& halt,
-              vtkPoints* Pts,
-              vtkCellArray* Cells);
-
-  // fields
-
- private:
-
-  Standard_Boolean       forced;
-  int                    discretiso;
-  int                   amode;
-  int                    nbisos;
-  TopoDS_Shape           myShape;
-
-};
-
-#endif //GEOM_OCCREADER_H
diff --git a/src/OBJECT/GEOM_VTKTrihedron.cxx b/src/OBJECT/GEOM_VTKTrihedron.cxx
deleted file mode 100644 (file)
index 67e32ce..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-//  SALOME GEOM : 
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_VTKTrihedron.cxx
-//  Author : Sergey LITONIN
-//  Module : SALOME
-//  $Header:
-
-#include "GEOM_VTKTrihedron.hxx"
-#include "utilities.h"
-#include "GEOM_OCCReader.h"
-
-#include <Geom_Axis2Placement.hxx>
-#include <gp_Ax2.hxx>
-#include <gp_Ax3.hxx>
-#include <gp_Pnt.hxx>
-#include <BRep_Builder.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Compound.hxx>
-
-#include <vtkMath.h>
-#include <vtkMapper.h>
-#include <vtkDataSet.h>
-#include <vtkRenderer.h>
-#include <vtkFollower.h>
-#include <vtkRenderWindow.h>
-#include <vtkObjectFactory.h>
-#include <vtkPolyData.h>
-#include <vtkActor.h>
-#include <vtkProperty.h>
-#include <vtkLineSource.h>
-#include <vtkConeSource.h>
-#include <vtkPolyDataMapper.h>
-#include <vtkAppendPolyData.h>
-#include <vtkMatrix4x4.h>
-#include <vtkTransform.h>
-
-#include "VTKViewer_VectorText.h"
-
-
-
-/*
-  Class       : GEOM_VTKTrihedron
-  Description : Class for displaying axis of trihedron in VTK viewer.
-                Placement of trihedron is chahged with SetPlacement() method
-*/
-class GEOM_VTKTrihedronAxis : public VTKViewer_Axis
-{
-protected:
-
-                                GEOM_VTKTrihedronAxis();
-                                GEOM_VTKTrihedronAxis( const GEOM_VTKTrihedronAxis& );
-                                ~GEOM_VTKTrihedronAxis();
-
-public:
-
-                                vtkTypeMacro( GEOM_VTKTrihedronAxis, VTKViewer_Axis );
-  static GEOM_VTKTrihedronAxis* New();
-
-  void                          SetAxis( const gp_Ax1& theAxis, const int theRot, float theColor[ 3 ] );
-  virtual void                  Render( vtkRenderer* theRenderer );
-  virtual void                  SetSize( float theSize );
-  gp_Pnt                        GetOri() const;
-  void                          SetColor( const float theColor[ 3 ] );
-
-private:
-
-  float                         myOri[ 3 ];
-  vtkMatrix4x4*                 myMatrix;
-  vtkTransform*                 myTrsf;
-};
-
-vtkStandardNewMacro( GEOM_VTKTrihedronAxis );
-
-GEOM_VTKTrihedronAxis::GEOM_VTKTrihedronAxis()
-{
-  vtkProperty* aProperty = vtkProperty::New();
-  aProperty->SetColor( 0.0, 0.0, 1.0 );
-  SetProperty( aProperty );
-  aProperty->Delete();
-  myMatrix = vtkMatrix4x4::New();
-  myTrsf = vtkTransform::New();
-}
-
-GEOM_VTKTrihedronAxis::~GEOM_VTKTrihedronAxis()
-{
-  myMatrix->Delete();
-  myTrsf->Delete();
-}
-
-void GEOM_VTKTrihedronAxis::SetSize( float theSize )
-{
-  float aPosition[ 3 ] = { myOri[ 0 ] + myDir[ 0 ] * theSize,
-                           myOri[ 1 ] + myDir[ 1 ] * theSize,
-                           myOri[ 2 ] + myDir[ 2 ] * theSize };
-                           
-  myLineSource->SetPoint1( myOri[ 0 ], myOri[ 1 ], myOri[ 2 ] );
-  myLineSource->SetPoint2( aPosition );
-
-  myArrowActor->SetPosition( 0, 0, 0 );
-  myArrowActor->SetOrientation( 0, 0, 0 );
-  myArrowActor->SetUserMatrix( 0 );
-  
-
-  gp_Trsf aTrsf;
-  aTrsf.SetDisplacement( gp_Ax3( gp_Pnt( 0, 0, 0 ), gp_Dir( 1, 0, 0 ) ),
-                         gp_Ax3( GetOri(), gp_Dir( myDir[ 0 ], myDir[ 1 ], myDir[ 2 ] ) ) );
-
-  const gp_XYZ& aTrans = aTrsf.TranslationPart();
-  gp_Mat aRot = aTrsf.VectorialPart();
-
-  for ( int i = 1; i <= 3; i++ )
-    for ( int j = 1; j <= 3; j++ )
-      myMatrix->SetElement( i - 1, j - 1, aRot( i, j ) );
-
-  myArrowActor->SetUserMatrix( myMatrix );
-  myArrowActor->SetPosition( aPosition );
-    
-  myLabelActor->SetPosition( 0, 0, 0 );
-  myLabelActor->AddPosition( aPosition );
-}
-
-void GEOM_VTKTrihedronAxis::Render(vtkRenderer* theRenderer)
-{
-  myLineActor->Render( theRenderer );
-  myArrowActor->Render( theRenderer );
-  myLabelActor->Render( theRenderer );
-
-  vtkCamera* aCamera = theRenderer->GetActiveCamera();
-  SetCamera( aCamera );
-}
-
-gp_Pnt GEOM_VTKTrihedronAxis::GetOri() const
-{
-  return gp_Pnt( myOri[ 0 ], myOri[ 1 ], myOri[ 2 ] );
-}
-
-void GEOM_VTKTrihedronAxis::SetAxis( const gp_Ax1& theAxis,
-                                     const int     theRot,
-                                     float         theColor[ 3 ] )
-{
-  gp_Pnt aLoc = theAxis.Location();
-  gp_Dir aDir = theAxis.Direction();
-
-  myOri[ 0 ] = aLoc.X();
-  myOri[ 1 ] = aLoc.Y();
-  myOri[ 2 ] = aLoc.Z();
-
-  myDir[ 0 ] = aDir.X();
-  myDir[ 1 ] = aDir.Y();
-  myDir[ 2 ] = aDir.Z();
-
-  float aColor[ 3 ] = { 0, 0, 0 };
-  aColor[ theRot ] = 1;
-  vtkProperty* aProperty = vtkProperty::New();
-  if ( theColor[ 0 ] == -1 )
-    aProperty->SetColor( aColor[ 0 ], aColor[ 1 ], aColor[ 2 ] );
-  else
-    aProperty->SetColor( theColor[ 0 ], theColor[ 1 ], theColor[ 2 ] );
-  SetProperty( aProperty );
-  aProperty->Delete();
-
-  if      ( theRot == 0 ) myVectorText->SetText( "X" );
-  else if ( theRot == 1 ) myVectorText->SetText( "Y" );
-  else if ( theRot == 2 ) myVectorText->SetText( "Z" );
-}
-
-void GEOM_VTKTrihedronAxis::SetColor( const float theColor[ 3 ] )
-{
-  vtkProperty* aProperty = vtkProperty::New();
-  aProperty->SetColor( theColor[ 0 ], theColor[ 1 ], theColor[ 2 ] );
-  SetProperty( aProperty );
-  aProperty->Delete();
-}
-
-
-/*
-  Class       : GEOM_VTKTrihedron
-  Description : Class for displaying trihedron of local CS in VTK viewer.
-                Placement of trihedron is chahged with SetPlacement() method
-*/
-
-vtkStandardNewMacro( GEOM_VTKTrihedron );
-
-GEOM_VTKTrihedron::GEOM_VTKTrihedron()
-{
-  myMapper = vtkPolyDataMapper::New();
-  myAxis[ 0 ] = myAxis[ 1 ] = myAxis[ 2 ] = 0;
-  myPresent = vtkActorCollection::New();
-  mySize = 100;
-  SetInfinitive( true );
-  myColor[ 0 ] = myColor[ 1 ] = myColor[ 1 ] = -1;
-  SetInfinitive( true );
-}
-
-GEOM_VTKTrihedron::~GEOM_VTKTrihedron()
-{
-  myPresent->RemoveAllItems();
-  myPresent->Delete();
-  for ( int i = 0; i < 3; i++ )
-    myAxis[i]->Delete();
-
-  if ( myMapper )
-    myMapper->Delete();
-}
-
-void GEOM_VTKTrihedron::SetSize( float theSize )
-{
-  mySize = theSize;
-  for ( int i = 0; i < 3; i++ )
-    myAxis[i]->SetSize( theSize );
-
-
-  // Calculate new sensitive area
-  gp_Pnt anOri = ( (GEOM_VTKTrihedronAxis*)myAxis[ 0 ] )->GetOri();
-  gp_Pnt aEndX( myLocation.XYZ() + myDirX.XYZ() * mySize );
-  gp_Pnt aEndY( myLocation.XYZ() + myDirY.XYZ() * mySize );
-  gp_Pnt aEndZ( myLocation.XYZ() + myDirZ.XYZ() * mySize );
-
-  vtkLineSource* aSrcX = vtkLineSource::New();
-  vtkLineSource* aSrcY = vtkLineSource::New();
-  vtkLineSource* aSrcZ = vtkLineSource::New();
-
-  aSrcX->SetPoint1( anOri.X(), anOri.Y(), anOri.Z() );
-  aSrcX->SetPoint2( aEndX.X(), aEndX.Y(), aEndX.Z() );
-
-  aSrcY->SetPoint1( anOri.X(), anOri.Y(), anOri.Z() );
-  aSrcY->SetPoint2( aEndY.X(), aEndY.Y(), aEndY.Z() );
-
-  aSrcZ->SetPoint1( anOri.X(), anOri.Y(), anOri.Z() );
-  aSrcZ->SetPoint2( aEndZ.X(), aEndZ.Y(), aEndZ.Z() );
-
-  vtkAppendPolyData* aRes = vtkAppendPolyData::New();
-  aRes->AddInput( aSrcX->GetOutput() );
-  aRes->AddInput( aSrcY->GetOutput() );
-  aRes->AddInput( aSrcZ->GetOutput() );
-  
-  myMapper->SetInput( aRes->GetOutput() );
-  SALOME_Actor::SetMapper( myMapper );
-
-  aSrcX->Delete();
-  aSrcY->Delete();
-  aSrcZ->Delete();
-  aRes->Delete();
-}
-
-void GEOM_VTKTrihedron::SetVisibility( VTKViewer_Trihedron::TVisibility theVis )
-{
-  for ( int i = 0; i < 3; i++ )
-    myAxis[i]->SetVisibility( theVis );
-}
-
-void GEOM_VTKTrihedron::AddToRender( vtkRenderer* theRenderer )
-{
-  vtkCamera* aCamera = theRenderer->GetActiveCamera();
-  for(int i = 0; i < 3; i++)
-  {
-    myAxis[i]->AddToRender(theRenderer);
-    myAxis[i]->SetCamera(aCamera);
-  }
-
-  theRenderer->AddActor( this );
-}
-
-void GEOM_VTKTrihedron::RemoveFromRender( vtkRenderer* theRenderer )
-{
-  myPresent->InitTraversal();
-  while(vtkActor* anActor = myPresent->GetNextActor())
-    theRenderer->RemoveActor(anActor);
-}
-
-int GEOM_VTKTrihedron::GetVisibleActorCount(vtkRenderer* theRenderer)
-{
-  vtkActorCollection* aCollection = theRenderer->GetActors();
-  aCollection->InitTraversal();
-  int aCount = 0;
-  while( vtkActor* prop = aCollection->GetNextActor() )
-    if ( prop->GetVisibility() )
-      if ( SALOME_Actor* anActor = SALOME_Actor::SafeDownCast( prop ) )
-    if ( !anActor->IsInfinitive() )
-      aCount++;
-
-  vtkCamera* aCamera = theRenderer->GetActiveCamera();
-  for(int i = 0; i < 3; i++)
-    myAxis[i]->SetCamera( aCamera );
-
-  return aCount;
-}
-
-void GEOM_VTKTrihedron::SetCamera( vtkCamera* theCamera )
-{
-  for(int i = 0; i < 3; i++)
-    myAxis[i]->SetCamera( theCamera );
-}
-
-void GEOM_VTKTrihedron::SetPlacement( const Handle(Geom_Axis2Placement)& thePlc )
-{
-  gp_Ax2 anAx2 = thePlc->Ax2();
-
-  myDirX = anAx2.XDirection();
-  myDirY = anAx2.YDirection();
-  myDirZ = anAx2.Direction();
-
-  myLocation = anAx2.Axis().Location();
-
-  if ( myAxis[ 0 ] != 0 ) myAxis[ 0 ]->Delete();
-  if ( myAxis[ 1 ] != 0 ) myAxis[ 1 ]->Delete();
-  if ( myAxis[ 2 ] != 0 ) myAxis[ 2 ]->Delete();
-
-  myAxis[ 0 ] = GEOM_VTKTrihedronAxis::New();
-  myAxis[ 1 ] = GEOM_VTKTrihedronAxis::New();
-  myAxis[ 2 ] = GEOM_VTKTrihedronAxis::New();
-
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 0 ] )->SetAxis( gp_Ax1( myLocation, myDirX ), 0, myColor );
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 1 ] )->SetAxis( gp_Ax1( myLocation, myDirY ), 1, myColor );
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 2 ] )->SetAxis( gp_Ax1( myLocation, myDirZ ), 2, myColor );
-
-  SetSize( mySize );
-}
-
-vtkMapper* GEOM_VTKTrihedron::GetMapper()
-{
-  return myMapper;
-}
-
-void GEOM_VTKTrihedron::Render(vtkRenderer* r, vtkMapper *)
-{
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 0 ] )->Render( r );
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 1 ] )->Render( r );
-  ( (GEOM_VTKTrihedronAxis*)myAxis[ 2 ] )->Render( r );
-}
-
-void GEOM_VTKTrihedron::SetColor( float r, float g, float b )
-{
-  myColor[ 0 ] = r;
-  myColor[ 1 ] = g;
-  myColor[ 2 ] = b;
-
-  if ( myAxis[ 0 ] ) ( (GEOM_VTKTrihedronAxis*)myAxis[ 0 ] )->SetColor( myColor );
-  if ( myAxis[ 1 ] ) ( (GEOM_VTKTrihedronAxis*)myAxis[ 1 ] )->SetColor( myColor );
-  if ( myAxis[ 2 ] ) ( (GEOM_VTKTrihedronAxis*)myAxis[ 2 ] )->SetColor( myColor );
-}
-
-void GEOM_VTKTrihedron::GetColor( float& r, float& g, float& b )
-{
-  r = myColor[ 0 ];
-  g = myColor[ 1 ];
-  b = myColor[ 2 ];
-}
-
-bool GEOM_VTKTrihedron::IsSetCamera() const
-{
-  return true;
-}
-
-bool GEOM_VTKTrihedron::IsResizable() const
-{
-  return true;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/OBJECT/GEOM_VTKTrihedron.hxx b/src/OBJECT/GEOM_VTKTrihedron.hxx
deleted file mode 100644 (file)
index 92332c8..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-//  SALOME GEOM : 
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : GEOM_VTKTrihedron.h
-//  Author : Sergey LITONIN
-//  Module : SALOME
-//  $Header: 
-
-#ifndef GEOM_VTKTrihedron_H
-#define GEOM_VTKTrihedron_H
-
-#include <Geom_Axis2Placement.hxx>
-#include "SALOME_Actor.h"
-#include "VTKViewer_Trihedron.h"
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-
-class vtkActorCollection;
-class vtkRenderer;
-class vtkPolyDataMapper;
-
-/*
-  Class       : GEOM_VTKTrihedron
-  Description : Class for displaying trihedron of local CS in VTK viewer.
-                Placement of trihedron is chahged with SetPlacement() method
-*/
-
-class SALOME_WNT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
-{
-
-protected:
-                                    GEOM_VTKTrihedron();
-                                    GEOM_VTKTrihedron( const GEOM_VTKTrihedron& );
-  virtual                           ~GEOM_VTKTrihedron();
-
-public:
-                                    vtkTypeMacro( GEOM_VTKTrihedron, SALOME_Actor );
-  static GEOM_VTKTrihedron*         New();
-
-  virtual float                     GetSize() { return mySize;}
-
-  virtual void                      SetVisibility( VTKViewer_Trihedron::TVisibility theVis );
-  virtual void                      VisibilityOff() { SetVisibility( VTKViewer_Trihedron::eOff ); }
-  virtual void                      VisibilityOn() { SetVisibility( VTKViewer_Trihedron::eOn ); }
-
-  virtual void                      AddToRender( vtkRenderer* theRenderer );
-  virtual void                      RemoveFromRender( vtkRenderer* theRenderer );
-
-  virtual int                       GetVisibleActorCount( vtkRenderer* theRenderer );
-
-  void                              SetPlacement( const Handle(Geom_Axis2Placement)& );
-
-  virtual vtkMapper*                GetMapper();
-
-  virtual void                      Render(vtkRenderer *, vtkMapper *);
-  virtual bool                      IsSetCamera() const;
-  virtual bool                      IsResizable() const;
-  virtual void                      SetSize( float );
-  virtual void                      SetCamera( vtkCamera* );
-
-  void                              SetColor( float r, float g, float b );
-  void                              GetColor( float& r, float& g, float& b );
-
-  virtual bool                      hasHighlight() { return false; } 
-
-protected:
-  vtkActorCollection*               myPresent;
-  VTKViewer_Axis*                   myAxis[3];
-  vtkPolyDataMapper*                myMapper;
-  float                             mySize;
-  gp_Pnt                            myLocation;
-  gp_Dir                            myDirX, myDirY, myDirZ;
-  float                             myColor[ 3 ];
-};
-
-#endif
diff --git a/src/OBJECT/Handle_GEOM_AISShape.hxx b/src/OBJECT/Handle_GEOM_AISShape.hxx
deleted file mode 100644 (file)
index af8efe0..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Handle_GEOM_AISShape.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_AISShape_HeaderFile
-#define _Handle_GEOM_AISShape_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_SALOME_AISShape_HeaderFile
-#include "Handle_SALOME_AISShape.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(SALOME_AISShape);
-class GEOM_AISShape;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_AISShape);
-
-class Handle(GEOM_AISShape) : public Handle(SALOME_AISShape) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_AISShape)():Handle(SALOME_AISShape)() {} 
-    Handle(GEOM_AISShape)(const Handle(GEOM_AISShape)& aHandle) : Handle(SALOME_AISShape)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_AISShape)(const GEOM_AISShape* anItem) : Handle(SALOME_AISShape)((SALOME_AISShape *)anItem) 
-     {
-     }
-
-    Handle(GEOM_AISShape)& operator=(const Handle(GEOM_AISShape)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_AISShape)& operator=(const GEOM_AISShape* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_AISShape* operator->() 
-     {
-      return (GEOM_AISShape *)ControlAccess();
-     }
-
-    GEOM_AISShape* operator->() const 
-     {
-      return (GEOM_AISShape *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_AISShape)();
-   Standard_EXPORT static const Handle(GEOM_AISShape) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/OBJECT/Handle_GEOM_InteractiveObject.hxx b/src/OBJECT/Handle_GEOM_InteractiveObject.hxx
deleted file mode 100644 (file)
index 63c0e8e..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-//  GEOM OBJECT : interactive object for Geometry entities visualization
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Handle_GEOM_InteractiveObject.hxx
-//  Module : GEOM
-
-#ifndef _Handle_GEOM_InteractiveObject_HeaderFile
-#define _Handle_GEOM_InteractiveObject_HeaderFile
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-
-#ifndef _Handle_SALOME_InteractiveObject_HeaderFile
-#include "Handle_SALOME_InteractiveObject.hxx"
-#endif
-
-class Standard_Transient;
-class Handle_Standard_Type;
-class Handle(SALOME_InteractiveObject);
-class GEOM_InteractiveObject;
-Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_InteractiveObject);
-
-class Handle(GEOM_InteractiveObject) : public Handle(SALOME_InteractiveObject) {
-  public:
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
-    Handle(GEOM_InteractiveObject)():Handle(SALOME_InteractiveObject)() {} 
-    Handle(GEOM_InteractiveObject)(const Handle(GEOM_InteractiveObject)& aHandle) : Handle(SALOME_InteractiveObject)(aHandle) 
-     {
-     }
-
-    Handle(GEOM_InteractiveObject)(const GEOM_InteractiveObject* anItem) : Handle(SALOME_InteractiveObject)((SALOME_InteractiveObject *)anItem) 
-     {
-     }
-
-    Handle(GEOM_InteractiveObject)& operator=(const Handle(GEOM_InteractiveObject)& aHandle)
-     {
-      Assign(aHandle.Access());
-      return *this;
-     }
-
-    Handle(GEOM_InteractiveObject)& operator=(const GEOM_InteractiveObject* anItem)
-     {
-      Assign((Standard_Transient *)anItem);
-      return *this;
-     }
-
-    GEOM_InteractiveObject* operator->() 
-     {
-      return (GEOM_InteractiveObject *)ControlAccess();
-     }
-
-    GEOM_InteractiveObject* operator->() const 
-     {
-      return (GEOM_InteractiveObject *)ControlAccess();
-     }
-
-   Standard_EXPORT ~Handle(GEOM_InteractiveObject)();
-   Standard_EXPORT static const Handle(GEOM_InteractiveObject) DownCast(const Handle(Standard_Transient)& AnObject);
-};
-#endif
diff --git a/src/OBJECT/Makefile.in b/src/OBJECT/Makefile.in
deleted file mode 100644 (file)
index 589469a..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#  GEOM OBJECT : interactive object for Geometry entities visualization
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Module : GEOM
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-EXPORT_HEADERS = GEOM_Actor.h \
-                GEOM_AssemblyBuilder.h \
-                GEOM_AISShape.hxx \
-                Handle_GEOM_AISShape.hxx \
-                GEOM_InteractiveObject.hxx \
-                Handle_GEOM_InteractiveObject.hxx \
-                GEOM_AISTrihedron.hxx \
-                GEOM_VTKTrihedron.hxx
-
-# Libraries targets
-
-LIB = libGEOMObject.la
-LIB_SRC =       GEOM_Actor.cxx \
-                GEOM_OCCReader.cxx \
-                GEOM_AssemblyBuilder.cxx \
-                GEOM_AISShape.cxx \
-                GEOM_InteractiveObject.cxx \
-                GEOM_AISTrihedron.cxx \
-                GEOM_VTKTrihedron.cxx
-
-LIB_CLIENT_IDL = 
-
-# Executables targets
-BIN = 
-BIN_SRC        =
-
-CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome 
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome 
-LDFLAGS+=$(PYTHON_LIBS) $(QT_MT_LIBS) $(VTK_LIBS) $(OGL_LIBS) -lSalomeObject -L${KERNEL_ROOT_DIR}/lib/salome -L${GUI_ROOT_DIR}/lib/salome 
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-
-@CONCLUDE@
diff --git a/src/OperationGUI/Makefile.in b/src/OperationGUI/Makefile.in
deleted file mode 100644 (file)
index 6b7f980..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#  GEOM OPERATIONGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libOperationGUI.la 
-
-LIB_SRC =      OperationGUI.cxx \
-               OperationGUI_ArchimedeDlg.cxx \
-               OperationGUI_PartitionDlg.cxx \
-               OperationGUI_MaterialDlg.cxx \
-               OperationGUI_FilletDlg.cxx \
-               OperationGUI_ChamferDlg.cxx \
-               OperationGUI_ClippingDlg.cxx
-
-LIB_MOC = \
-               OperationGUI_ArchimedeDlg.h \
-               OperationGUI_PartitionDlg.h \
-               OperationGUI_MaterialDlg.h \
-               OperationGUI_FilletDlg.h \
-               OperationGUI_ChamferDlg.h \
-               OperationGUI_ClippingDlg.h
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Component.idl SALOME_Exception.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += $(CAS_LDPATH) -lTKFillet -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/OperationGUI/OperationGUI.cxx b/src/OperationGUI/OperationGUI.cxx
deleted file mode 100644 (file)
index 6838a57..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "OperationGUI.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-
-#include <TopTools_MapOfShape.hxx>
-#include <TopExp_Explorer.hxx>
-#include <Precision.hxx>
-
-#include "OperationGUI_PartitionDlg.h"   // Method PARTITION
-#include "OperationGUI_ArchimedeDlg.h"   // Method ARCHIMEDE
-#include "OperationGUI_FilletDlg.h"      // Method FILLET
-#include "OperationGUI_ChamferDlg.h"     // Method CHAMFER
-
-#include "OperationGUI_ClippingDlg.h"
-
-using namespace std;
-
-OperationGUI* OperationGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetOperationGUI()
-// purpose  : Get the only OperationGUI object [ static ]
-//=======================================================================
-OperationGUI* OperationGUI::GetOperationGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init OperationGUI only once
-    myGUIObject = new OperationGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : OperationGUI()
-// purpose  : Constructor
-//=======================================================================
-OperationGUI::OperationGUI(GeometryGUI* parent) : GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~OperationGUI()
-// purpose  : Destructor
-//=======================================================================
-OperationGUI::~OperationGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool OperationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  switch ( theCommandID )
-  {
-    case 503: // PARTITION
-      ( new OperationGUI_PartitionDlg( parent, "" ) )->show();
-    break;
-    case 504: // ARCHIMEDE
-      new OperationGUI_ArchimedeDlg( getGeometryGUI(), parent );
-    break;
-    case 505: // FILLET
-      new OperationGUI_FilletDlg( parent );    
-    break;
-    case 506: // CHAMFER
-      new OperationGUI_ChamferDlg( parent );
-    break;
-    case 507: // CLIPPING RANGE
-      ( new OperationGUI_ClippingDlg( parent, "" ) )->show();
-    break;
-    default:
-      SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-    break;
-  }
-  
-  return true;
-}
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI(GeometryGUI* parent)
-  {
-    return OperationGUI::GetOperationGUI(parent);
-  }
-}
diff --git a/src/OperationGUI/OperationGUI.h b/src/OperationGUI/OperationGUI.h
deleted file mode 100644 (file)
index 02e38cf..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef OPERATIONGUI_H
-#define OPERATIONGUI_H
-
-#include "GEOMGUI.h"
-#include "GEOMBase.h"
-
-//=================================================================================
-// class    : OperationGUI
-// purpose  :
-//=================================================================================
-class OperationGUI : public GEOMGUI
-{
-protected:
-  OperationGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~OperationGUI();
-
-  // Get the only OperationGUI object
-  static OperationGUI* GetOperationGUI( GeometryGUI* parent  );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static OperationGUI* myGUIObject;        // the only OperationGUI object
-};
-
-#endif
diff --git a/src/OperationGUI/OperationGUI_ArchimedeDlg.cxx b/src/OperationGUI/OperationGUI_ArchimedeDlg.cxx
deleted file mode 100644 (file)
index 2efc7b0..0000000
+++ /dev/null
@@ -1,267 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ArchimedeDlg.cxx
-//  Author : Nicolas REJNERI 
-//  Module : GEOM
-//  $Header$
-
-#include "OperationGUI_ArchimedeDlg.h"
-#include "DlgRef_1Sel3Spin.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-//=================================================================================
-// class    : OperationGUI_ArchimedeDlg()
-// purpose  : Constructs a OperationGUI_ArchimedeDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-OperationGUI_ArchimedeDlg::OperationGUI_ArchimedeDlg( GeometryGUI* theGeometryGUI, QWidget* parent )
-: GEOMBase_Skeleton( parent, "ArchimedeDlg", false,
-                    WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_ARCHIMEDE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-  
-  setCaption(tr("GEOM_ARCHIMEDE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_ARCHIMEDE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel3Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_WEIGHT"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_WATER_DENSITY"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_MESHING_DEFLECTION"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~OperationGUI_ArchimedeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_ArchimedeDlg::~OperationGUI_ArchimedeDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_ArchimedeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  /* Get setting of myStep value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double myStep = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  double SpecificStep1 = 0.1;
-  double SpecificStep2 = 0.01;
-  /* min, max, myStep and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, myStep, 3);
-  GroupPoints->SpinBox_DY->RangeStepAndValidator(0.001, 999.999, SpecificStep1, 3);
-  GroupPoints->SpinBox_DZ->RangeStepAndValidator(0.001, 999.999, SpecificStep2, 3);
-
-  GroupPoints->SpinBox_DX->SetValue( 100.0 );
-  GroupPoints->SpinBox_DY->SetValue( 1.0 );
-  GroupPoints->SpinBox_DZ->SetValue( 0.01 );
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DZ, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  initName( tr( "GEOM_ARCHIMEDE" ) );
-  
-  globalSelection( GEOM_ALLSHAPES );
-
-  SelectionIntoArgument();
-  
-  /* displays Dialog */
-  GroupPoints->show();
-  this->show();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_ArchimedeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool OperationGUI_ArchimedeDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void OperationGUI_ArchimedeDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText( "" );
-  myShape = GEOM::GEOM_Object::_nil();
-  
-  if ( IObjectCount() != 1 )
-    return;
-
-  Standard_Boolean testResult = Standard_False;
-  myShape = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-
-  if ( !testResult || myShape->_is_nil() || !GEOMBase::IsShape( myShape ) )
-  {
-    myShape = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  myEditCurrentArgument->setText( GEOMBase::GetName( myShape ) );
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void OperationGUI_ArchimedeDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1)
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  else
-    return;
-
-  GEOMBase_Skeleton::LineEditReturnPressed();
-  return;
-}
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_ArchimedeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  globalSelection( GEOM_ALLSHAPES );
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  return;
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_ArchimedeDlg::enterEvent(QEvent* e)
-{
-  if(GroupConstructors->isEnabled())
-    return;
-  this->ActivateThisDialog();
-  return;
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr OperationGUI_ArchimedeDlg::createOperation()
-{
-  return getGeomEngine()->GetILocalOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool OperationGUI_ArchimedeDlg::isValid( QString& )
-{
-  return !myShape->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool OperationGUI_ArchimedeDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  double aWeight         = GroupPoints->SpinBox_DX->GetValue();
-  double aWaterDensity   = GroupPoints->SpinBox_DY->GetValue();
-  double aMeshDeflection = GroupPoints->SpinBox_DZ->GetValue();
-  
-  anObj = GEOM::GEOM_ILocalOperations::_narrow(
-    getOperation() )->MakeArchimede( myShape, aWeight, aWaterDensity, aMeshDeflection );
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
diff --git a/src/OperationGUI/OperationGUI_ArchimedeDlg.h b/src/OperationGUI/OperationGUI_ArchimedeDlg.h
deleted file mode 100644 (file)
index f1c1fd7..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ArchimedeDlg.h
-//  Author : Nicolas REJNERI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_ARCHIMEDE_H
-#define DIALOGBOX_ARCHIMEDE_H
-
-#include "GEOMBase_Skeleton.h"
-
-class DlgRef_1Sel3Spin;
-
-//=================================================================================
-// class    : OperationGUI_ArchimedeDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_ArchimedeDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    OperationGUI_ArchimedeDlg( GeometryGUI* theGeometryGUI, QWidget* parent );
-    ~OperationGUI_ArchimedeDlg();
-
-protected:
-
-    // redefined from GEOMBase_Helper
-    
-    virtual GEOM::GEOM_IOperations_ptr  createOperation();
-    virtual bool                        isValid( QString& msg );
-    virtual bool                        execute( ObjectList& objects );    
-
-private:
-    void                                Init();
-    void                                enterEvent(QEvent* e);
-
-private:    
-    GEOM::GEOM_Object_var               myShape;
-    DlgRef_1Sel3Spin*                   GroupPoints;
-    double                              myStep;
-    GeometryGUI*                        myGeometryGUI;
-
-private slots:
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-};
-
-#endif // DIALOGBOX_ARCHIMEDE_H
diff --git a/src/OperationGUI/OperationGUI_ChamferDlg.cxx b/src/OperationGUI/OperationGUI_ChamferDlg.cxx
deleted file mode 100644 (file)
index 3848690..0000000
+++ /dev/null
@@ -1,708 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ChamferDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-
-//  $Header$
-
-#include "OperationGUI_ChamferDlg.h"
-#include "DlgRef_SpinBox.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "OCCViewer_ViewModel.h"
-
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qlabel.h>
-#include "qpixmap.h"
-#include <list>
-
-#include "GEOMImpl_Types.hxx"
-
-//=================================================================================
-// class    : OperationGUI_ChamferDlg()
-// purpose  : Constructs a OperationGUI_ChamferDlg which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-OperationGUI_ChamferDlg::OperationGUI_ChamferDlg( QWidget* parent )
-: GEOMBase_Skeleton(parent, "ChamferDlg", false,
-    WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  myConstructorId = -1;
-
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CHAMFER_ALL")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CHAMFER_EDGE")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CHAMFER_FACE")));
-  QPixmap iconSelect(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption( tr( "GEOM_CHAMFER_TITLE" ) );
-
-  GroupConstructors->setTitle( tr( "GEOM_CHAMFER" ) );
-
-  RadioButton1->setPixmap( image1 );
-  RadioButton2->setPixmap( image2 );
-  RadioButton3->setPixmap( image3 );
-
-  // Create first group
-
-  myGrp1 = new QGroupBox( 1, Qt::Horizontal, tr( "GEOM_CHAMFER_ALL" ), this );
-
-  QGroupBox* aSelGrp1 = new QGroupBox( 3, Qt::Horizontal, myGrp1 );
-  aSelGrp1->setFrameStyle( QFrame::NoFrame );
-  aSelGrp1->setInsideMargin( 0 );
-
-  createSelWg( tr( "GEOM_MAIN_OBJECT" ), iconSelect, aSelGrp1, MainObj1 );
-
-  QGroupBox* aSpinGrp = new QGroupBox( 1, Qt::Vertical, myGrp1 );
-  aSpinGrp->setFrameStyle( QFrame::NoFrame );
-  aSpinGrp->setInsideMargin( 0 );
-
-  new QLabel( tr( "D" ), aSpinGrp );
-  mySpinBox[ SpinBox1 ] = new DlgRef_SpinBox( aSpinGrp );
-
-  ( new QFrame( myGrp1 ) )->setSizePolicy(
-    QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
-
-  // Create second group
-
-  myGrp2 = new QGroupBox( 1, Qt::Horizontal, tr( "GEOM_CHAMFER_EDGES" ), this );
-
-  QGroupBox* aSelGrp2 = new QGroupBox( 3, Qt::Horizontal, myGrp2 );
-  aSelGrp2->setFrameStyle( QFrame::NoFrame );
-  aSelGrp2->setInsideMargin( 0 );
-
-  createSelWg( tr( "GEOM_MAIN_OBJECT" ), iconSelect, aSelGrp2, MainObj2 );
-  createSelWg( tr( "FACE_1" ), iconSelect, aSelGrp2, Face1 );
-  createSelWg( tr( "FACE_2" ), iconSelect, aSelGrp2, Face2 );
-
-  aSpinGrp = new QGroupBox( 1, Qt::Vertical, myGrp2 );
-  aSpinGrp->setFrameStyle( QFrame::NoFrame );
-  aSpinGrp->setInsideMargin( 0 );
-
-  new QLabel( tr( "GEOM_D1" ), aSpinGrp );
-  mySpinBox[ SpinBox21 ] = new DlgRef_SpinBox( aSpinGrp );
-
-  new QLabel( tr( "GEOM_D2" ), aSpinGrp );
-  mySpinBox[ SpinBox22 ] = new DlgRef_SpinBox( aSpinGrp );
-
-  // Create third group
-
-  myGrp3 = new QGroupBox( 1, Qt::Horizontal, tr( "GEOM_CHAMFER_FACES" ), this );
-
-  QGroupBox* aSelGrp3 = new QGroupBox( 3, Qt::Horizontal, myGrp3 );
-  aSelGrp3->setFrameStyle( QFrame::NoFrame );
-  aSelGrp3->setInsideMargin( 0 );
-
-  createSelWg( tr( "GEOM_MAIN_OBJECT" ), iconSelect, aSelGrp3, MainObj3 );
-  createSelWg( tr( "SELECTED_FACES" ), iconSelect, aSelGrp3, Faces );
-
-  aSpinGrp = new QGroupBox( 1, Qt::Vertical, myGrp3 );
-  aSpinGrp->setFrameStyle( QFrame::NoFrame );
-  aSpinGrp->setInsideMargin( 0 );
-
-  new QLabel( tr( "GEOM_D1" ), aSpinGrp );
-  mySpinBox[ SpinBox31 ] = new DlgRef_SpinBox( aSpinGrp );
-
-  new QLabel( tr( "GEOM_D2" ), aSpinGrp );
-  mySpinBox[ SpinBox32 ] = new DlgRef_SpinBox( aSpinGrp );
-
-  ( new QLabel( myGrp3 ) )->setSizePolicy(
-    QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
-
-  // Add groups to layout
-
-  Layout1->addWidget( myGrp1, 2, 0 );
-  Layout1->addWidget( myGrp2, 2, 0 );
-  Layout1->addWidget( myGrp3, 2, 0 );
-
-  // Set range of spinboxes
-
-  double SpecificStep = 10.0;
-  QMap< int, DlgRef_SpinBox* >::iterator anIter;
-  for ( anIter = mySpinBox.begin(); anIter != mySpinBox.end(); ++anIter )
-    anIter.data()->RangeStepAndValidator( 0.001, 999.999, SpecificStep, 3 );
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~OperationGUI_ChamferDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_ChamferDlg::~OperationGUI_ChamferDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::Init()
-{
-  myConstructorId = -1;
-  reset();
-  RadioButton1->setChecked( true );
-  myEditCurrentArgument = mySelName[ MainObj1 ];
-
-  /* signals and slots connections */
-
-  // main buttons
-  connect( buttonOk   , SIGNAL( clicked() ), this, SLOT( ClickOnOk()    ) );
-  connect( buttonApply, SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
-
-  // group box
-  connect( GroupConstructors, SIGNAL( clicked( int ) ),
-           this, SLOT( ConstructorsClicked( int ) ) );
-
-  // push buttons
-  QMap< int, QPushButton* >::iterator anIterBtn;
-  for ( anIterBtn = mySelBtn.begin(); anIterBtn != mySelBtn.end(); ++anIterBtn )
-    connect( anIterBtn.data(), SIGNAL( clicked() ),
-             this, SLOT( SetEditCurrentArgument() ) );
-
-  // line edits
-  QMap< int, QLineEdit* >::iterator anIterLE2;
-  for ( anIterLE2 = mySelName.begin(); anIterLE2 != mySelName.end(); ++anIterLE2 )
-    connect( anIterLE2.data(), SIGNAL( returnPressed() ),
-             this, SLOT( LineEditReturnPressed() ) );
-
-  // spin boxes
-  QMap< int, DlgRef_SpinBox* >::iterator anIterSpin;
-  for ( anIterSpin = mySpinBox.begin(); anIterSpin != mySpinBox.end(); ++anIterSpin )
-    connect( anIterSpin.data(), SIGNAL( valueChanged( double ) ),
-             this, SLOT( ValueChangedInSpinBox( double ) ) );
-
-  // selection
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
-
-  initName( tr( "GEOM_CHAMFER" ) );
-
-  myGrp2->hide();
-  myGrp3->hide();
-  myGrp1->show();
-
-  this->show();
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void OperationGUI_ChamferDlg::ConstructorsClicked( int constructorId )
-{
-   // Activate next widget
-  if ( SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-       != OCCViewer_Viewer::Type() )
-    {
-      RadioButton1->setChecked( true );
-      return;
-    }
-  
-  if ( myConstructorId == constructorId )
-    return;
-
-  // Get values from previous widget
-  double D1 = 5, D2 = 5;
-  if ( myConstructorId == 0 )
-    D1 = D2 = mySpinBox[ SpinBox1 ]->GetValue();
-  else if ( myConstructorId == 1 )
-  {
-    D1 = mySpinBox[ SpinBox21 ]->GetValue();
-    D2 = mySpinBox[ SpinBox22 ]->GetValue();
-  }
-  else if ( myConstructorId == 2 )
-  {
-    D1 = mySpinBox[ SpinBox31 ]->GetValue();
-    D2 = mySpinBox[ SpinBox32 ]->GetValue();
-  }
-
-  myConstructorId = constructorId;
-
-   switch ( constructorId )
-  {
-    case 0:
-        myGrp1->show();
-        myGrp2->hide();
-        myGrp3->hide();
-        mySpinBox[ SpinBox1 ]->SetValue( D1 );
-    break;
-    case 1:
-        myGrp1->hide();
-        myGrp2->show();
-        myGrp3->hide();
-        mySpinBox[ SpinBox21 ]->SetValue( D1 );
-        mySpinBox[ SpinBox22 ]->SetValue( D2 );
-    break;
-    case 2:
-        myGrp1->hide();
-        myGrp2->hide();
-        myGrp3->show();
-        mySpinBox[ SpinBox31 ]->SetValue( D1 );
-        mySpinBox[ SpinBox32 ]->SetValue( D2 );        
-    break;
-    default:
-    break;
-  }
-
-  if      ( constructorId == 0 ) myEditCurrentArgument = mySelName[ MainObj1 ];
-  else if ( constructorId == 1 ) myEditCurrentArgument = mySelName[ MainObj2 ];
-  else                           myEditCurrentArgument = mySelName[ MainObj3 ];
-
-  activateSelection(); 
-  enableWidgets();
-  
-  if ( !myShape->_is_nil() )
-  {
-    myEditCurrentArgument->setText( GEOMBase::GetName( myShape ) );
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-  else
-    myEditCurrentArgument->setText( "" );
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool OperationGUI_ChamferDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void OperationGUI_ChamferDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText( "" );
-
-  // Get index of current selection focus
-  int aCurrFocus = -1;
-  QMap< int, QLineEdit* >::iterator anIter;
-  for ( anIter = mySelName.begin(); anIter != mySelName.end(); ++anIter )
-    if ( myEditCurrentArgument == anIter.data() )
-    {
-      aCurrFocus = anIter.key();
-      break;
-    }
-
-  // If selection of main object is activated
-  if ( aCurrFocus == MainObj1 || aCurrFocus == MainObj2 || aCurrFocus == MainObj3 )
-  {
-    if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() )
-      {
-        myShape = anObj;
-        mySelName[ aCurrFocus ]->setText( GEOMBase::GetName( anObj ) );
-        displayPreview();
-        enableWidgets();
-        return;
-      }
-    }
-
-    myShape = GEOM::GEOM_Object::_nil();
-    enableWidgets();
-  }
-  // If face selection of second tab is activated
-  else if ( aCurrFocus == Face1 || aCurrFocus == Face2 )
-  {
-    if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() )
-      {
-         TColStd_IndexedMapOfInteger anIndexes;
-        ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), anIndexes );
-
-         if ( anIndexes.Extent() == 1 )
-         {
-            int anIndex = anIndexes( 1 );
-            QString aFaceName = QString( GEOMBase::GetName( anObj ) ) + ":%1";
-            myEditCurrentArgument->setText( aFaceName.arg( anIndex ) );
-            myFace[ aCurrFocus ] = anIndex;
-            displayPreview();
-            return;
-         }
-      }
-    }
-
-    myFace[ aCurrFocus ] = -1;
-  }
-  // If face selection of third tab is activated
-  else if ( aCurrFocus == Faces )
-  {
-    if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() )
-      {
-         TColStd_IndexedMapOfInteger anIndexes;
-        ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), anIndexes );
-
-         if ( anIndexes.Extent() > 0 )
-         {
-           QString aFaceName;
-           if ( anIndexes.Extent() == 1 )
-           {
-             int anIndex = anIndexes( 1 );
-
-             aFaceName = QString( GEOMBase::GetName( anObj ) ) + QString( ":%1" ).arg( anIndex );
-           }
-           else
-             aFaceName = tr( "GEOM_MEN_POPUP_NAME" ).arg( anIndexes.Extent() );
-
-           myEditCurrentArgument->setText( aFaceName );
-           myFaces = anIndexes;
-           displayPreview();
-           return;
-         }
-      }
-    }
-    myFaces.Clear();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::LineEditReturnPressed()
-{
-  QLineEdit* aSender = ( QLineEdit* )sender();
-
-  QMap< int, QLineEdit* >::iterator anIterLE;
-  for ( anIterLE = mySelName.begin(); anIterLE != mySelName.end(); ++anIterLE )
-    if ( anIterLE.data() == aSender )
-      myEditCurrentArgument = anIterLE.data();
-
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::SetEditCurrentArgument()
-{
-  QPushButton* aSender = ( QPushButton* )sender();
-
-  QMap< int, QPushButton* >::iterator anIter;
-  for ( anIter = mySelBtn.begin(); anIter != mySelBtn.end(); ++anIter )
-    if ( anIter.data() == aSender )
-    {
-      mySelName[ anIter.key() ]->setFocus();
-      myEditCurrentArgument = mySelName[ anIter.key() ];
-    }
-
-  activateSelection();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::DeactivateActiveDialog()
-{
-  // disconnect selection
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL(currentSelectionChanged()), this, SLOT( SelectionIntoArgument() ) );
-
-  activateSelection();
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    this->ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::ValueChangedInSpinBox( double newValue )
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createSelWg()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::createSelWg( const QString& theLbl,
-                                           QPixmap&       thePix,
-                                           QWidget*       theParent,
-                                           const int      theId )
-{
-  new QLabel( theLbl, theParent );
-  mySelBtn[ theId ] = new QPushButton( theParent );
-  mySelBtn[ theId ]->setPixmap( thePix );
-  mySelName[ theId ] = new QLineEdit( theParent );
-  mySelName[ theId ]->setReadOnly( true );
-}
-
-//=================================================================================
-// function : reset()
-// purpose  :
-//=================================================================================
-void OperationGUI_ChamferDlg::reset()
-{
-  // Set Initial values of spinboxes
-  QMap< int, DlgRef_SpinBox* >::iterator anIter;
-  for ( anIter = mySpinBox.begin(); anIter != mySpinBox.end(); ++anIter )
-    anIter.data()->SetValue( 5 );
-
-  // clear line edits
-  QMap< int, QLineEdit* >::iterator anIterLE;
-  for ( anIterLE = mySelName.begin(); anIterLE != mySelName.end(); ++anIterLE )
-    anIterLE.data()->setText( "" );
-
-  // constructor id
-  int aConstructorId = getConstructorId();
-
-  if      ( aConstructorId == 0 ) myEditCurrentArgument = mySelName[ MainObj1 ];
-  else if ( aConstructorId == 1 ) myEditCurrentArgument = mySelName[ MainObj2 ];
-  else                            myEditCurrentArgument = mySelName[ MainObj3 ];
-
-  myShape = GEOM::GEOM_Object::_nil();
-
-  myFaces.Clear();
-  myFace[ Face1 ] = -1;
-  myFace[ Face2 ] = -1;
-
-  erasePreview( true );
-
-  activateSelection();
-
-  enableWidgets();
-}
-
-//=================================================================================
-// function : getConstructorId()
-// purpose  :
-//=================================================================================
-int OperationGUI_ChamferDlg::getConstructorId() const
-{
-  return GroupConstructors->id( GroupConstructors->selected() );
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection in accordance with myEditCurrentArgument
-//=================================================================================
-void OperationGUI_ChamferDlg::activateSelection()
-{
-  if (  !myShape->_is_nil() &&
-       ( myEditCurrentArgument == mySelName[ Face1 ] ||
-         myEditCurrentArgument == mySelName[ Face2 ] ||
-         myEditCurrentArgument == mySelName[ Faces ] ) )
-    localSelection( myShape, TopAbs_FACE );
-  else
-  {
-    TColStd_MapOfInteger aMap;
-    aMap.Add( GEOM_SHELL );
-    aMap.Add( GEOM_SOLID );
-    aMap.Add( GEOM_COMPOUND );
-    globalSelection( aMap );
-  }
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : enableWidgets
-// purpose  : Enable widgets of faces in accordance with value of main object
-//=================================================================================
-void OperationGUI_ChamferDlg::enableWidgets()
-{
-  int anId = getConstructorId();
-
-  bool toEnable = !myShape->_is_nil();
-  
-  if ( anId == 1 )
-  {
-    mySelName[ Face1 ]->setEnabled( toEnable );
-    mySelName[ Face2 ]->setEnabled( toEnable );
-    mySelBtn[ Face1 ]->setEnabled( toEnable );
-    mySelBtn[ Face2 ]->setEnabled( toEnable );
-
-    if ( !toEnable )
-    {
-      mySelName[ Face1 ]->setText( "" );
-      mySelName[ Face2 ]->setText( "" );
-      myFace[ Face1 ] = -1;
-      myFace[ Face2 ] = -1;
-    }
-  }
-  else if ( anId == 2 )
-  {
-    mySelName[ Faces ]->setEnabled( toEnable );
-
-    if ( !toEnable )
-      myFaces.Clear();
-  }
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr OperationGUI_ChamferDlg::createOperation()
-{
-  return getGeomEngine()->GetILocalOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  : Verify validity of input data
-//=================================================================================
-bool OperationGUI_ChamferDlg::isValid( QString& )
-{
-  switch ( getConstructorId() )
-  {
-    case 0: return !myShape->_is_nil();
-    case 1: return !myShape->_is_nil() && myFace[ Face1 ] > 0 && myFace[ Face2 ] > 0;
-    case 2: return !myShape->_is_nil() && myFaces.Extent() > 0;
-    default: return false;
-  }
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool OperationGUI_ChamferDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  int anId = getConstructorId();
-  if ( anId == 0 )
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeChamferAll( myShape,
-                                        mySpinBox[ SpinBox1 ]->GetValue() );
-  else if ( anId == 1 )
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeChamferEdge( myShape,
-                                         mySpinBox[ SpinBox21 ]->GetValue(),
-                                         mySpinBox[ SpinBox22 ]->GetValue(),
-                                         myFace[ Face1 ],
-                                         myFace[ Face2 ] );
-  else if ( anId == 2 )
-  {
-
-    int i = 0;
-    GEOM::ListOfLong_var anArray = new GEOM::ListOfLong;
-    anArray->length( myFaces.Extent() );
-
-
-    for ( int i = 1, n = myFaces.Extent(); i <= n; i++ )
-      anArray[ i - 1 ] = myFaces( i );             
-    
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeChamferFaces( myShape,
-                                          mySpinBox[ SpinBox31 ]->GetValue(),
-                                          mySpinBox[ SpinBox32 ]->GetValue(),
-                                          anArray );
-  }
-
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-
-
-
-
-
-
-
-
diff --git a/src/OperationGUI/OperationGUI_ChamferDlg.h b/src/OperationGUI/OperationGUI_ChamferDlg.h
deleted file mode 100644 (file)
index cb69ad2..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ChamferDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CHAMFER_H
-#define DIALOGBOX_CHAMFER_H
-
-#include "GEOMBase_Skeleton.h"
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-class DlgRef_SpinBox;
-
-//=================================================================================
-// class    : OperationGUI_ChamferDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_ChamferDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-  enum { MainObj1, MainObj2, Face1, Face2, MainObj3, Faces };
-  enum { SpinBox1, SpinBox21, SpinBox22, SpinBox31, SpinBox32 };
-
-public:
-                                        OperationGUI_ChamferDlg( QWidget* parent );
-    virtual                             ~OperationGUI_ChamferDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual                             GEOM::GEOM_IOperations_ptr createOperation();
-    virtual                             bool isValid( QString& msg );
-    virtual                             bool execute( ObjectList& objects );    
-
-private slots:
-
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                DeactivateActiveDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-    void                                SetEditCurrentArgument();
-    void                                ValueChangedInSpinBox( double newValue );
-    void                                ConstructorsClicked( int constructorId );
-
-private :
-
-    void                                Init();
-    void                                enterEvent( QEvent* e );
-    void                                reset();
-    void                                createSelWg( const QString&, QPixmap&, QWidget*, const int );
-    int                                 getConstructorId() const;
-    void                                activateSelection();
-    void                                enableWidgets();
-
-private:
-
-    int                                 myConstructorId;
-
-    GEOM::GEOM_Object_var               myShape; 
-    QMap< int, int >                    myFace;  // indexes of faces from second tab ( Face1,2 )
-    TColStd_IndexedMapOfInteger         myFaces; // indexes of faces from first tab ( Faces )
-    
-    QFrame*                             myGrp1;
-    QFrame*                             myGrp2;
-    QFrame*                             myGrp3;
-
-    QMap< int, QPushButton* >           mySelBtn;
-    QMap< int, QLineEdit* >             mySelName;
-    QMap< int, DlgRef_SpinBox* >        mySpinBox;
-};
-
-#endif // DIALOGBOX_CHAMFER_H
-
diff --git a/src/OperationGUI/OperationGUI_ClippingDlg.cxx b/src/OperationGUI/OperationGUI_ClippingDlg.cxx
deleted file mode 100644 (file)
index bdda9f7..0000000
+++ /dev/null
@@ -1,397 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ClippingDlg.cxx
-//  Author : Michael Zorin
-//  Module : GEOM
-//  $Header: 
-
-#include "OperationGUI_ClippingDlg.h"
-#include "DlgRef_SpinBox.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_ViewWindow.h"
-#include "VTKViewer_ViewWindow.h"
-#include "VTKViewer_ViewModel.h"
-#include "OCCViewer_ViewWindow.h"
-#include "OCCViewer_ViewPort3d.h"
-
-#include "utilities.h"
-#include <V3d_View.hxx>
-#include <V3d.hxx>
-
-//#include <V3d_Plane.hxx>
-
-// QT Includes
-#include <qapplication.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qcombobox.h>
-
-// VTK Includes
-#include <vtkCamera.h>
-#include <vtkRenderer.h>
-
-//=================================================================================
-// class    : OperationGUI_ClippingDlg()
-// purpose  : 
-//=================================================================================
-OperationGUI_ClippingDlg::OperationGUI_ClippingDlg( QWidget* parent, const char* name, bool modal, WFlags fl )
-  : GEOMBase_Skeleton( parent, "OperationGUI_ClippingDlg", false,
-    WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  setCaption( tr( "Change clipping range" ) );
-  
-  GroupConstructors->close();
-  GroupBoxName->close();
-
-  /***************************************************************/
-  GroupArguments = new QGroupBox( this, "GroupArguments" );
-  GroupArguments->setColumnLayout(0, Qt::Vertical );
-  GroupArguments->layout()->setSpacing( 0 );
-  GroupArguments->layout()->setMargin( 0 );
-  QGridLayout* GroupArgumentsLayout = new QGridLayout( GroupArguments->layout() );
-  GroupArgumentsLayout->setAlignment( Qt::AlignTop );
-  GroupArgumentsLayout->setSpacing( 6 );
-  GroupArgumentsLayout->setMargin( 11 );
-  
-  // Controls
-  TextLabelNear = new QLabel( GroupArguments, "TextLabelNear" );
-  TextLabelNear->setText( tr( "Near"  ) );
-  TextLabelNear->setFixedWidth(74);
-  GroupArgumentsLayout->addWidget( TextLabelNear, 0, 0 );
-
-  SpinBox_Near = new DlgRef_SpinBox( GroupArguments, "SpinBox_Near");
-  GroupArgumentsLayout->addWidget( SpinBox_Near, 0, 1 );
-
-  TextLabelFar = new QLabel( GroupArguments, "TextLabelFar" );
-  TextLabelFar->setText( tr( "Far"  ) );
-  TextLabelFar->setFixedWidth(74);
-  GroupArgumentsLayout->addWidget( TextLabelFar, 0, 2 );
-  
-  SpinBox_Far = new DlgRef_SpinBox( GroupArguments, "SpinBox_Far");
-  GroupArgumentsLayout->addWidget( SpinBox_Far, 0, 3 );
-  
-  resetButton  = new QPushButton( GroupArguments, "resetButton" );
-  resetButton->setText( tr( "Reset"  ) );
-  GroupArgumentsLayout->addWidget( resetButton, 0, 4 );
-
-  TypeCB = new QComboBox( GroupArguments, "TypeCB" );
-  TypeCB->insertItem(tr("OFF"));
-  TypeCB->insertItem(tr("BACK"));
-  TypeCB->insertItem(tr("FRONT"));
-  TypeCB->insertItem(tr("SLICE"));
-  GroupArgumentsLayout->addMultiCellWidget( TypeCB, 1, 1, 0, 4 );
-  
-  Layout1->addWidget( GroupArguments, 2, 0 );
-  
-  /* Initialisations */
-  SpinBox_Near->RangeStepAndValidator( -999999.999, +999999.999, 10.0, 3 );
-  SpinBox_Far->RangeStepAndValidator( -999999.999, +999999.999, 10.0, 3 );
-  
-  //GeometryGUI* aGeomGUI = GeometryGUI::GetGeomGUI();
-  
-  /* signals and slots connections */
-  connect( buttonOk, SIGNAL( clicked() ),     this, SLOT( ClickOnOk() ) );
-  connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( ClickOnCancel() ) ) ;
-  connect( buttonApply, SIGNAL( clicked() ),  this, SLOT( ClickOnApply() ) );
-  
-  connect( resetButton, SIGNAL (clicked() ), this, SLOT( onReset() ) ) ;
-  
-  //  connect( aGeomGUI, SIGNAL ( SignalDeactivateActiveDialog() ), this, SLOT( onDeactivate() ) ) ;
-  //connect( aGeomGUI, SIGNAL ( SignalCloseAllDialogs() ), this, SLOT( ClickOnCancel() ) ) ;
-
-  Init();
-}
-
-//=================================================================================
-// function : ~ OperationGUI_ClippingDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_ClippingDlg::~ OperationGUI_ClippingDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::Init()
-{
-  SUIT_ViewWindow* anActiveWindow =  SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
-  if (!anActiveWindow)
-    return;
-  
-  if ( anActiveWindow->getViewManager()->getType() == VTKViewer_Viewer::Type() )
-    {
-      VTKViewer_ViewWindow* aVTKFrame = dynamic_cast<VTKViewer_ViewWindow*>( anActiveWindow );
-      
-      TextLabelNear->setText( tr( "Near"  ) );
-      TextLabelFar->setText( tr( "Far"  ) );
-
-      TypeCB->hide();
-
-      vtkRenderer* aRenderer = aVTKFrame->getRenderer();
-      if(!aRenderer) return;
-      
-      vtkCamera* anActiveCamera = aRenderer->GetActiveCamera();
-      if( anActiveCamera == NULL ){
-       MESSAGE("Trying to reset clipping range of non-existant camera");
-       return;
-      }
-      
-      // Find the plane equation for the camera view plane
-      double vn[3];
-      anActiveCamera->GetViewPlaneNormal(vn);
-      double  position[3];
-      anActiveCamera->GetPosition(position);
-      
-      float bounds[6];
-      aRenderer->ComputeVisiblePropBounds(bounds);
-      
-      double center[3];
-      center[0] = (bounds[0] + bounds[1])/2.0;
-      center[1] = (bounds[2] + bounds[3])/2.0;
-      center[2] = (bounds[4] + bounds[5])/2.0;
-      
-      double width = sqrt((bounds[1]-bounds[0])*(bounds[1]-bounds[0]) +
-                         (bounds[3]-bounds[2])*(bounds[3]-bounds[2]) +
-                         (bounds[5]-bounds[4])*(bounds[5]-bounds[4]));
-      
-      double distance = sqrt((position[0]-center[0])*(position[0]-center[0]) +
-                            (position[1]-center[1])*(position[1]-center[1]) +
-                            (position[2]-center[2])*(position[2]-center[2]));
-      
-      float range[2] = {distance - width/2.0, distance + width/2.0};
-      
-      SpinBox_Near->SetValue(range[0]);
-      SpinBox_Far->SetValue(range[1]);
-      
-      return;
-    }
-  else if ( anActiveWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() )
-    {
-      OCCViewer_ViewWindow* aOCCFrame = dynamic_cast<OCCViewer_ViewWindow*>( anActiveWindow );
-
-      TextLabelNear->setText( tr( "Depth"  ) );
-      TextLabelFar->setText( tr( "Thickness"  ) );
-
-      Handle(V3d_View) view3d = ((OCCViewer_ViewPort3d*)aOCCFrame->getViewPort())->getView();
-
-      double depth, thickness; 
-      int ztype= view3d->ZClipping(depth, thickness);
-      SpinBox_Near->SetValue(depth);
-      SpinBox_Far->SetValue(thickness);
-      TypeCB->setCurrentItem(ztype);
-
-      //Handle(V3d_Plane) aPlane = new V3d_Plane( aOCCFrame->getViewer()->getViewer3d() ,0, 0, 1, -100);
-      //aPlane->Display(view3d);
-    }
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool OperationGUI_ClippingDlg::ClickOnApply()
-{
-  SUIT_ViewWindow* anActiveWindow =  SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
-  if (!anActiveWindow)
-    return false;
-  
-  if ( anActiveWindow->getViewManager()->getType() == VTKViewer_Viewer::Type() )
-    {
-      VTKViewer_ViewWindow* aVTKFrame = dynamic_cast<VTKViewer_ViewWindow*>( anActiveWindow );
-      
-      vtkRenderer* aRenderer = aVTKFrame->getRenderer();
-      if(!aRenderer) return false;
-      
-      vtkCamera* anActiveCamera = aRenderer->GetActiveCamera();
-      if( anActiveCamera == NULL ){
-       MESSAGE("Trying to reset clipping range of non-existant camera");
-       return false;
-      }
-      
-      float range[2] = { SpinBox_Near->GetValue(), SpinBox_Far->GetValue() };
-      if (range[0] < 0.0) range[0] = 0.0;
-      anActiveCamera->SetClippingRange( range );
-      
-      return true;
-    }
-  else if ( anActiveWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() )
-    {
-      OCCViewer_ViewWindow* aOCCFrame = dynamic_cast<OCCViewer_ViewWindow*>( anActiveWindow );
-
-      Handle(V3d_View) view3d = ((OCCViewer_ViewPort3d*)aOCCFrame->getViewPort())->getView();
-      
-      double depth = SpinBox_Near->GetValue();
-      double thickness = SpinBox_Far->GetValue();
-      int aType = TypeCB->currentItem();
-      
-      view3d->SetZClippingType(V3d_TypeOfZclipping(aType));
-      view3d->SetZClippingDepth(depth);
-      view3d->SetZClippingWidth(thickness);
-    }
-
-  return true;
-}
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::ClickOnOk()
-{
-  ClickOnApply();
-  ClickOnCancel();
-}
-
-       
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : onActivate()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::onActivate()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : onDeactivate()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void OperationGUI_ClippingDlg::DeactivateActiveDialog()
-{
-  return;
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::enterEvent(QEvent* e)
-{
-  this->setEnabled(true);
-  return;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::closeEvent( QCloseEvent* e )
-{
-  QDialog::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : onReset()
-// purpose  :
-//=================================================================================
-void OperationGUI_ClippingDlg::onReset()
-{
-  SUIT_ViewWindow* anActiveWindow =  SUIT_Session::session()->activeApplication()->desktop()->activeWindow();
-  if (!anActiveWindow)
-    return;
-  
-  if ( anActiveWindow->getViewManager()->getType() == VTKViewer_Viewer::Type() )
-    {
-      VTKViewer_ViewWindow* aVTKFrame = dynamic_cast<VTKViewer_ViewWindow*>( anActiveWindow );
-
-      vtkRenderer* aRenderer = aVTKFrame->getRenderer();
-      if(!aRenderer) return;
-      
-      vtkCamera* anActiveCamera = aRenderer->GetActiveCamera();
-      if( anActiveCamera == NULL ){
-       MESSAGE("Trying to reset clipping range of non-existant camera");
-       return;
-      }
-      
-      // Find the plane equation for the camera view plane
-      double vn[3];
-      anActiveCamera->GetViewPlaneNormal(vn);
-      double  position[3];
-      anActiveCamera->GetPosition(position);
-      
-      float bounds[6];
-      aRenderer->ComputeVisiblePropBounds(bounds);
-      
-      double center[3];
-      center[0] = (bounds[0] + bounds[1])/2.0;
-      center[1] = (bounds[2] + bounds[3])/2.0;
-      center[2] = (bounds[4] + bounds[5])/2.0;
-      
-      double width = sqrt((bounds[1]-bounds[0])*(bounds[1]-bounds[0]) +
-                         (bounds[3]-bounds[2])*(bounds[3]-bounds[2]) +
-                         (bounds[5]-bounds[4])*(bounds[5]-bounds[4]));
-      
-      double distance = sqrt((position[0]-center[0])*(position[0]-center[0]) +
-                            (position[1]-center[1])*(position[1]-center[1]) +
-                            (position[2]-center[2])*(position[2]-center[2]));
-      
-      float range[2] = {distance - width/2.0, distance + width/2.0};
-      
-      SpinBox_Near->SetValue(range[0]);
-      SpinBox_Far->SetValue(range[1]);
-      
-      return;
-    }
-  else if ( anActiveWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() )
-    {
-      OCCViewer_ViewWindow* aOCCFrame = dynamic_cast<OCCViewer_ViewWindow*>( anActiveWindow );
-
-      TextLabelNear->setText( tr( "Depth"  ) );
-      TextLabelFar->setText( tr( "Thickness"  ) );
-      
-      Handle(V3d_View) view3d = ((OCCViewer_ViewPort3d*)aOCCFrame->getViewPort())->getView();
-      
-      view3d->SetZClippingType(V3d_TypeOfZclipping(0));
-      view3d->ZFitAll();
-      double depth, thickness; 
-      int ztype= view3d->ZClipping(depth, thickness);
-      SpinBox_Near->SetValue(0);
-      SpinBox_Far->SetValue(1000);
-      TypeCB->setCurrentItem(ztype);
-    }
-
-
-
-  return;
-}
diff --git a/src/OperationGUI/OperationGUI_ClippingDlg.h b/src/OperationGUI/OperationGUI_ClippingDlg.h
deleted file mode 100644 (file)
index ba5e6ee..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_ClippingDlg.h
-//  Author : Michael Zorin
-//  Module : GEOM
-//  $Header: 
-
-#ifndef DIALOGBOX_CLIPPINGRANGE_H
-#define DIALOGBOX_CLIPPING_H
-
-#include "GEOMBase_Skeleton.h"
-
-class QGroupBox;
-class QLabel;
-class QPushButton;
-class QComboBox;
-class DlgRef_SpinBox;
-
-enum ViewerTypes { VTK, OCC, OTHER };
-
-//=================================================================================
-// class    : OperationGUI_ClippingDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_ClippingDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-    
-    public:
-    OperationGUI_ClippingDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~OperationGUI_ClippingDlg();
-    
-private :
-
-    void Init();
-
-    ViewerTypes myViewerType;
-
-    virtual void closeEvent( QCloseEvent* e );
-    void enterEvent(QEvent* e);
-    
-    QGroupBox* GroupArguments;
-    QLabel* TextLabelNear;
-    DlgRef_SpinBox* SpinBox_Near;
-    QLabel* TextLabelFar;
-    DlgRef_SpinBox* SpinBox_Far;
-    QPushButton* resetButton;
-    QComboBox* TypeCB;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void onActivate();
-    void DeactivateActiveDialog();
-    
-    void onReset();
-};
-
-#endif // DIALOGBOX_CLIPPINGRANGE_H
diff --git a/src/OperationGUI/OperationGUI_FilletDlg.cxx b/src/OperationGUI/OperationGUI_FilletDlg.cxx
deleted file mode 100644 (file)
index 3516a92..0000000
+++ /dev/null
@@ -1,635 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_FilletDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "OperationGUI_FilletDlg.h"
-#include "DlgRef_1Sel1Spin.h"
-#include "DlgRef_2Sel1Spin.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "OCCViewer_ViewModel.h"
-
-#include "qlabel.h"
-#include "qpixmap.h"
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <list>
-
-#include "GEOMImpl_Types.hxx"
-
-//=================================================================================
-// class    : OperationGUI_FilletDlg()
-// purpose  : Constructs a OperationGUI_FilletDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-OperationGUI_FilletDlg::OperationGUI_FilletDlg( QWidget* parent )
-  :GEOMBase_Skeleton( parent, "OperationGUI_FilletDlg", false,
-                     WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  myConstructorId = -1;
-  
-  QPixmap image0( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_FILLET_ALL" ) ) );
-  QPixmap image1( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_FILLET_EDGE" ) ) );
-  QPixmap image2( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_DLG_FILLET_FACE" ) ) );
-  
-  QPixmap iconSelect( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM", tr( "ICON_SELECT" ) ) );
-
-  setCaption( tr( "GEOM_FILLET_TITLE" ) );
-
-  /***************************************************************/
-  GroupConstructors->setTitle( tr( "GEOM_FILLET" ) );
-  RadioButton1->setPixmap( image0 );
-  RadioButton2->setPixmap( image1 );
-  RadioButton3->setPixmap( image2 );
-
-  Group1 = new DlgRef_1Sel1Spin( this, "Group1" );
-  Group1->GroupBox1->setTitle( tr( "GEOM_FILLET_ALL" ) );
-  Group1->TextLabel1->setText( tr( "GEOM_MAIN_OBJECT" ) );
-  Group1->TextLabel2->setText( tr( "GEOM_RADIUS" ) );
-  Group1->PushButton1->setPixmap( iconSelect );
-  Group1->LineEdit1->setReadOnly( true );
-
-  Group2 = new DlgRef_2Sel1Spin( this, "Group2" );
-  Group2->GroupBox1->setTitle( tr( "GEOM_FILLET_EDGES" ) );
-  Group2->TextLabel1->setText( tr( "GEOM_MAIN_OBJECT" ) );
-  Group2->TextLabel2->setText( tr( "SELECTED_EDGES" ) );
-  Group2->TextLabel3->setText( tr( "GEOM_RADIUS" ) );
-  Group2->PushButton1->setPixmap( iconSelect );
-  Group2->PushButton2->setPixmap( iconSelect );
-  Group2->LineEdit1->setReadOnly( true );
-  Group2->LineEdit2->setReadOnly( true );
-
-  Group3 = new DlgRef_2Sel1Spin( this, "Group3" );
-  Group3->GroupBox1->setTitle(tr( "GEOM_FILLET_FACES" ) );
-  Group3->TextLabel1->setText(tr( "GEOM_MAIN_OBJECT" ) );
-  Group3->TextLabel2->setText(tr( "SELECTED_FACES" ) );
-  Group3->TextLabel3->setText(tr( "GEOM_RADIUS" ) );
-  Group3->PushButton1->setPixmap( iconSelect );
-  Group3->PushButton2->setPixmap( iconSelect );
-  Group3->LineEdit1->setReadOnly( true );
-  Group3->LineEdit2->setReadOnly( true );
-
-  Layout1->addWidget( Group1, 2, 0 );
-  Layout1->addWidget( Group2, 2, 0 );
-  Layout1->addWidget( Group3, 2, 0 );
-  /***************************************************************/
-
-  double SpecificStep = 10.0;
-  Group1->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, SpecificStep, 3);
-  Group2->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, SpecificStep, 3);
-  Group3->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, SpecificStep, 3);
-
-  /* Initialisations */
-  Init();
-}
-
-
-//=================================================================================
-// function : ~OperationGUI_FilletDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_FilletDlg::~OperationGUI_FilletDlg()
-{  
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::Init()
-{
-  myConstructorId = -1;
-  reset();
-  RadioButton1->setChecked( true );
-  myEditCurrentArgument = Group1->LineEdit1;
-
-  // main buttons
-  connect( buttonOk   , SIGNAL( clicked() ), this, SLOT( ClickOnOk()    ) );
-  connect( buttonApply, SIGNAL( clicked() ), this, SLOT( ClickOnApply() ) );
-
-  // group box
-  connect( GroupConstructors, SIGNAL( clicked( int ) ), this, SLOT( ConstructorsClicked( int ) ) );
-
-  // push buttons
-  connect(Group1->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group2->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group3->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  // line edits
-  connect(Group1->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group2->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group3->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  // spin boxes  
-  connect(Group1->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group2->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(Group3->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-    // selection
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
-  
-
-  initName( tr( "GEOM_FILLET" ) );
-
-  Group2->hide();
-  Group3->hide();
-  Group1->show();
-
-  this->show();
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void OperationGUI_FilletDlg::ConstructorsClicked( int constructorId )
-{
-  if ( SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() 
-       != OCCViewer_Viewer::Type() )
-  {
-    RadioButton1->setChecked( true );
-    return;
-  }
-
-  if ( myConstructorId == constructorId )
-    return;
-
-  // Get radius from previous widget
-  double R = 5;
-  if      ( myConstructorId == 0 ) R = Group1->SpinBox_DX->GetValue();
-  else if ( myConstructorId == 1 ) R = Group2->SpinBox_DX->GetValue();
-  else                             R = Group3->SpinBox_DX->GetValue();
-
-  myConstructorId = constructorId;
-
-  switch ( constructorId )
-  {
-    case 0:
-        Group1->show();
-        Group2->hide();
-        Group3->hide();
-        Group1->SpinBox_DX->SetValue( R );
-    break;
-    case 1:
-        Group1->hide();
-        Group2->show();
-        Group3->hide();
-        Group2->SpinBox_DX->SetValue( R );
-    break;
-    case 2:
-        Group1->hide();
-        Group2->hide();
-        Group3->show();
-        Group3->SpinBox_DX->SetValue( R );
-    break;
-    default:
-    break;
-  }
-
-  if      ( constructorId == 0 ) myEditCurrentArgument = Group1->LineEdit1;
-  else if ( constructorId == 1 ) myEditCurrentArgument = Group2->LineEdit1;
-  else                           myEditCurrentArgument = Group3->LineEdit1;
-
-  activateSelection();
-  enableWidgets();
-
-  if ( !myShape->_is_nil() )
-  {
-    myEditCurrentArgument->setText( GEOMBase::GetName( myShape ) );
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-  else
-    myEditCurrentArgument->setText( "" );
-
-  displayPreview();  
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool OperationGUI_FilletDlg::ClickOnApply()
-{
-    if ( !onAccept() )
-    return false;
-
-  initName();
-  return true;
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void OperationGUI_FilletDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText( "" );
-
-  // If selection of main object is activated
-  if ( myEditCurrentArgument == Group1->LineEdit1 ||
-       myEditCurrentArgument == Group2->LineEdit1 ||
-       myEditCurrentArgument == Group3->LineEdit1 )
-  {
-    if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() )
-      {
-        myShape = anObj;
-        myEditCurrentArgument->setText( GEOMBase::GetName( anObj ) );
-        displayPreview();
-        enableWidgets();
-        return;
-      }
-    }
-
-    myShape = GEOM::GEOM_Object::_nil();
-    enableWidgets();
-  }
-  // If face or edge selection is activated
-  else if ( myEditCurrentArgument == Group2->LineEdit2 ||
-            myEditCurrentArgument == Group3->LineEdit2 )
-  {
-    if ( IObjectCount() == 1 )
-    {
-      Standard_Boolean aResult = Standard_False;
-      GEOM::GEOM_Object_var anObj =
-        GEOMBase::ConvertIOinGEOMObject( firstIObject(), aResult );
-
-      if ( aResult && !anObj->_is_nil() )
-      {
-         TColStd_IndexedMapOfInteger anIndexes;
-        ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), anIndexes );
-
-         if ( anIndexes.Extent() > 0 )
-         {
-           QString aName;
-           if ( anIndexes.Extent() == 1 )
-           {
-             int anIndex = anIndexes( 1 );
-
-             aName = QString( GEOMBase::GetName( anObj ) ) + QString( ":%1" ).arg( anIndex );
-           }
-           else
-             aName = tr( "GEOM_MEN_POPUP_NAME" ).arg( anIndexes.Extent() );
-
-           myEditCurrentArgument->setText( aName );
-
-           if ( myConstructorId == 1 )
-             myEdges = anIndexes;
-           else
-             myFaces = anIndexes;
-           
-           displayPreview();
-           return;
-         }
-      }
-    }
-    myFaces.Clear();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = ( QLineEdit* )sender();
-  
-  if ( send == Group1->LineEdit1 )
-    myEditCurrentArgument = Group1->LineEdit1;
-  else if ( send == Group2->LineEdit1 )
-    myEditCurrentArgument = Group2->LineEdit1;
-  else if ( send == Group3->LineEdit1 )
-    myEditCurrentArgument = Group3->LineEdit1;
-  else
-    return;
-
-  GEOMBase_Skeleton::LineEditReturnPressed();
-  return;
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if ( send == Group1->PushButton1 )
-  {
-    Group1->LineEdit1->setFocus();
-    myEditCurrentArgument = Group1->LineEdit1;
-  }
-  else if( send == Group2->PushButton1 )
-  {
-    Group2->LineEdit1->setFocus();
-    myEditCurrentArgument = Group2->LineEdit1;
-  }
-  else if( send == Group2->PushButton2 )
-  {
-    Group2->LineEdit2->setFocus();
-    myEditCurrentArgument = Group2->LineEdit2;
-  }
-  else if ( send == Group3->PushButton1 )
-  {
-    Group3->LineEdit1->setFocus();
-    myEditCurrentArgument = Group3->LineEdit1;
-  }
-  else if( send == Group3->PushButton2 )
-  {
-    Group3->LineEdit1->setFocus();
-    myEditCurrentArgument = Group3->LineEdit2;
-  }
-
-  activateSelection();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-  return;
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL(currentSelectionChanged()), this, SLOT( SelectionIntoArgument() ) );
-
-  activateSelection();
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::enterEvent( QEvent* e )
-{
-  if ( !GroupConstructors->isEnabled() )
-    this->ActivateThisDialog();
-}
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::ValueChangedInSpinBox( double newValue )
-{
-  displayPreview();
-}
-
-//=================================================================================
-// function : reset()
-// purpose  :
-//=================================================================================
-void OperationGUI_FilletDlg::reset()
-{
-  // Set Initial values of spinboxes
-  Group1->SpinBox_DX->SetValue( 5 );
-  Group2->SpinBox_DX->SetValue( 5 );
-  Group3->SpinBox_DX->SetValue( 5 );
-
-  Group1->LineEdit1->setText( "" );
-  Group2->LineEdit1->setText( "" );
-  Group2->LineEdit2->setText( "" );
-  Group3->LineEdit1->setText( "" );
-  Group3->LineEdit2->setText( "" );
-
-  // constructor id
-  int aConstructorId = getConstructorId();
-
-  if      ( aConstructorId == 0 ) myEditCurrentArgument = Group1->LineEdit1;
-  else if ( aConstructorId == 1 ) myEditCurrentArgument = Group2->LineEdit1;
-  else                            myEditCurrentArgument = Group3->LineEdit1;
-
-  myShape = GEOM::GEOM_Object::_nil();
-
-  myFaces.Clear();
-  myEdges.Clear();
-
-  erasePreview( true );
-
-  activateSelection();
-
-  enableWidgets();
-}
-
-//=================================================================================
-// function : getConstructorId()
-// purpose  :
-//=================================================================================
-int OperationGUI_FilletDlg::getConstructorId() const
-{
-  return GroupConstructors->id( GroupConstructors->selected() );
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : Activate selection in accordance with myEditCurrentArgument
-//=================================================================================
-void OperationGUI_FilletDlg::activateSelection()
-{
-
-  if ( !myShape->_is_nil() && myEditCurrentArgument == Group2->LineEdit2 )
-    localSelection( myShape, TopAbs_EDGE );
-  else if ( !myShape->_is_nil() && myEditCurrentArgument == Group3->LineEdit2 )
-    localSelection( myShape, TopAbs_FACE );
-  else
-  {
-    TColStd_MapOfInteger aMap;
-    aMap.Add( GEOM_SHELL );
-    aMap.Add( GEOM_SOLID );
-    aMap.Add( GEOM_COMPOUND );
-    globalSelection( aMap );
-  }
-
-  SelectionIntoArgument();
-}
-
-//=================================================================================
-// function : enableWidgets
-// purpose  : Enable widgets of faces in accordance with value of main object
-//=================================================================================
-void OperationGUI_FilletDlg::enableWidgets()
-{
-  int anId = getConstructorId();
-
-  bool toEnable = !myShape->_is_nil();
-
-  if ( anId == 1 )
-  {
-    Group2->LineEdit2->setEnabled( toEnable );
-    Group2->PushButton2->setEnabled( toEnable );
-    
-    if ( !toEnable )
-    {
-      Group2->LineEdit2->setText( "" );
-      myEdges.Clear();
-    }
-  }
-  else if ( anId == 2 )
-  {
-    Group3->LineEdit2->setEnabled( toEnable );
-    Group3->PushButton2->setEnabled( toEnable );
-
-    if ( !toEnable )
-    {
-      Group3->LineEdit2->setText( "" );
-      myFaces.Clear();
-    }
-  }
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr OperationGUI_FilletDlg::createOperation()
-{
-  return getGeomEngine()->GetILocalOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  : Verify validity of input data
-//=================================================================================
-bool OperationGUI_FilletDlg::isValid( QString& )
-{
-  switch ( getConstructorId() )
-  {
-    case 0: return !myShape->_is_nil();
-    case 1: return !myShape->_is_nil() && myEdges.Extent() > 0;
-    case 2: return !myShape->_is_nil() && myFaces.Extent() > 0;
-    default: return false;
-  }
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool OperationGUI_FilletDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj;
-
-  int anId = getConstructorId();
-  if ( anId == 0 )
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeFilletAll( myShape,
-                                       getRadius() );
-  else if ( anId == 1 )
-  {
-    GEOM::ListOfLong_var aList = new GEOM::ListOfLong;
-    aList->length( myEdges.Extent() );
-
-    for ( int i = 1, n = myEdges.Extent(); i <= n; i++ )
-      aList[ i - 1 ] = myEdges( i );
-
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeFilletEdges( myShape, getRadius(), aList );
-  }
-  else if ( anId == 2 )
-  {
-    int i = 0;
-    GEOM::ListOfLong_var aList = new GEOM::ListOfLong;
-    aList->length( myFaces.Extent() );
-
-    for ( int i = 1, n = myFaces.Extent(); i <= n; i++ )
-      aList[ i - 1 ] = myFaces( i );
-
-    anObj = GEOM::GEOM_ILocalOperations::_narrow(
-      getOperation() )->MakeFilletFaces( myShape, getRadius(), aList );
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return true;
-}
-
-//=================================================================================
-// function : getRadius
-// purpose  : Get radius     
-//=================================================================================
-double OperationGUI_FilletDlg::getRadius() const
-{
-  int anId = getConstructorId();
-  if      ( anId == 0 ) return Group1->SpinBox_DX->GetValue();
-  else if ( anId == 1 ) return Group2->SpinBox_DX->GetValue();
-  else                  return Group3->SpinBox_DX->GetValue();
-}
-
-
-
-
-
-
-
diff --git a/src/OperationGUI/OperationGUI_FilletDlg.h b/src/OperationGUI/OperationGUI_FilletDlg.h
deleted file mode 100644 (file)
index d794e83..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_FilletDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_FILLET_H
-#define DIALOGBOX_FILLET_H
-
-#include "GEOMBase_Skeleton.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-class DlgRef_1Sel1Spin;
-class DlgRef_2Sel1Spin;
-
-//=================================================================================
-// class    : OperationGUI_FilletDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_FilletDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-                                        OperationGUI_FilletDlg( QWidget* parent );
-                                        ~OperationGUI_FilletDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual                             GEOM::GEOM_IOperations_ptr createOperation();
-    virtual                             bool isValid( QString& msg );
-    virtual                             bool execute( ObjectList& objects );
-
-private slots:
-
-    void                                ClickOnOk();
-    bool                                ClickOnApply();
-    void                                ActivateThisDialog();
-    void                                DeactivateActiveDialog();
-    void                                LineEditReturnPressed();
-    void                                SelectionIntoArgument();
-    void                                SetEditCurrentArgument();
-    void                                ValueChangedInSpinBox( double newValue );
-    void                                ConstructorsClicked( int constructorId );
-
-private :
-
-    void                                Init();
-    void                                enterEvent( QEvent* e );
-    void                                reset();
-    int                                 getConstructorId() const;
-    void                                activateSelection();
-    void                                enableWidgets();
-    double                              getRadius() const;
-
-private :
-
-    int                                 myConstructorId;
-
-    GEOM::GEOM_Object_var               myShape;
-    TColStd_IndexedMapOfInteger         myEdges;
-    TColStd_IndexedMapOfInteger         myFaces;
-    
-    DlgRef_1Sel1Spin*                   Group1;
-    DlgRef_2Sel1Spin*                   Group2;
-    DlgRef_2Sel1Spin*                   Group3;
-};
-
-#endif // DIALOGBOX_FILLET_H
-
diff --git a/src/OperationGUI/OperationGUI_MaterialDlg.cxx b/src/OperationGUI/OperationGUI_MaterialDlg.cxx
deleted file mode 100644 (file)
index e633838..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-// 
-//  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. 
-// 
-//  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.org
-//
-//
-//
-//  File   : OperationGUI_MaterialDlg.cxx
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#include "OperationGUI_MaterialDlg.h"
-#include "OperationGUI_PartitionDlg.h"
-
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include "utilities.h"
-
-#include <qlabel.h>
-#include <qlistview.h>
-#include <qspinbox.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : OperationGUI_MaterialDlg()
-// purpose  : Constructs a OperationGUI_MaterialDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-OperationGUI_MaterialDlg::OperationGUI_MaterialDlg (QWidget* parent, const char* name,
-                                                   GEOM::ListOfGO ListShapes,
-                                                    bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  myListShapes = ListShapes;
-  myParentDlg = parent;
-
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PARTITION")));
-
-  setCaption(tr("GEOM_MATERIAL_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PARTITION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1List1Spin1Btn_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_PARTITION"));
-
-  myShapeCol = GroupPoints->ListView1->addColumn(tr("GEOM_MATERIAL_SHAPE"));
-  myMaterCol = GroupPoints->ListView1->addColumn(tr("GEOM_MATERIAL_MATERIAL"));
-  GroupPoints->ListView1->setSelectionMode(QListView::Extended);
-
-  GroupPoints->TextLabel1->setText(tr("GEOM_MATERIAL_ID"));
-  GroupPoints->PushButton1->setText(tr("GEOM_MATERIAL_SET"));
-
-  Layout1->addWidget(GroupPoints, 1, 0);
-  /***************************************************************/
-  Init();
-}
-
-
-//=================================================================================
-// function : ~OperationGUI_MaterialDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_MaterialDlg::~OperationGUI_MaterialDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_MaterialDlg::Init()
-{
-  // get materials list from the parent dialog
-  OperationGUI_PartitionDlg* aParentDlg =
-    dynamic_cast<OperationGUI_PartitionDlg*>(myParentDlg);
-  if (aParentDlg)
-    myListMaterials = aParentDlg->GetListMaterials();
-  
-  /* list filling */
-  MESSAGE("Filling list with " << myListShapes.length() << " objects");
-  QString aMaterialId;
-  for (int ind = 0; ind < myListShapes.length(); ind++) {
-    GEOM::GEOM_Object_var anObject = myListShapes[ind];
-    if (!anObject->_is_nil()) {
-      MESSAGE("Insert " << GEOMBase::GetName( anObject ));
-      if (ind < myListMaterials.length())
-       aMaterialId = QString::number(myListMaterials[ind]);
-      else 
-       aMaterialId = "0";
-      QListViewItem* aItem =
-        new QListViewItem(GroupPoints->ListView1, GEOMBase::GetName( anObject ), aMaterialId);
-    }
-  }
-  MESSAGE("Filled");
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  buttonApply->close(TRUE);
-  buttonCancel->setText(tr("GEOM_BUT_CANCEL"));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetMaterial()));
-
-//  connect(GroupPoints->ListView1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-//  connect(GroupPoints->SpinBox1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  /* displays Dialog */
-  MESSAGE("GroupPoints->show() ...");
-  GroupPoints->show();
-  MESSAGE("this->show() ...");
-  this->show();
-  MESSAGE("return");
-
-  return;
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_MaterialDlg::ClickOnOk()
-{
-  SUIT_Session::session()->activeApplication()->putInfo(tr(""));
-
-  int nbSh = myListShapes.length();  
-  myListMaterials.length(nbSh);
-
-  QListViewItemIterator it (GroupPoints->ListView1);
-  for (int i = 0; it.current() != 0; it++, i++) {
-    QString aMatIdStr = it.current()->text(myMaterCol);
-    myListMaterials[i] = aMatIdStr.toInt();
-    MESSAGE("For shape # " << i << " material ID = " << myListMaterials[i]);
-  }
-
-  // set materials list to the parent dialog
-  OperationGUI_PartitionDlg* aParentDlg =
-    dynamic_cast<OperationGUI_PartitionDlg*>(myParentDlg);
-  if (aParentDlg)
-  {
-    aParentDlg->SetListMaterials(myListMaterials);
-  }
-
-  ClickOnCancel();
-  return;
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void OperationGUI_MaterialDlg::SelectionIntoArgument()
-{
-  QString aString = ""; /* name of selection */
-
-  int nbSel = myGeomBase->GetNameOfSelectedIObjects(selectedIO(), aString);
-  if(nbSel < 1) {
-    return;
-  }
-
-  //myGeomBase->ConvertListOfIOInListOfIOR(selectedIO(), myListShapes);
-
-  /* no simulation */
-  return;
-}
-
-
-//=================================================================================
-// function : SetMaterial()
-// purpose  :
-//=================================================================================
-void OperationGUI_MaterialDlg::SetMaterial()
-{
-  int aMatId = GroupPoints->SpinBox1->value();
-  QString aMatIdStr;
-  aMatIdStr.setNum(aMatId);
-  QListViewItemIterator it (GroupPoints->ListView1);
-  for (; it.current() != 0; it++) {
-    if (it.current()->isSelected())
-      it.current()->setText(myMaterCol, aMatIdStr);
-  }
-  return;
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_MaterialDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  return;
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_MaterialDlg::enterEvent(QEvent* e)
-{
-  if(!GroupConstructors->isEnabled())
-    this->ActivateThisDialog();
-}
diff --git a/src/OperationGUI/OperationGUI_MaterialDlg.h b/src/OperationGUI/OperationGUI_MaterialDlg.h
deleted file mode 100644 (file)
index a57dfe5..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  CEA
-// 
-//  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. 
-// 
-//  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.org
-//
-//
-//
-//  File   : OperationGUI_MaterialDlg.h
-//  Author : Julia DOROVSKIKH
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_MATERIAL_H
-#define DIALOGBOX_MATERIAL_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1List1Spin1Btn_QTD.h"
-
-
-//=================================================================================
-// class    : OperationGUI_MaterialDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_MaterialDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    OperationGUI_MaterialDlg (QWidget* parent, const char* name,                            
-                             GEOM::ListOfGO ListShapes,
-                             bool modal = FALSE, WFlags fl = 0);
-    ~OperationGUI_MaterialDlg();
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-
-    QWidget* myParentDlg;
-
-    GEOM::ListOfGO myListShapes;
-    GEOM::ListOfLong   myListMaterials;
-
-    DlgRef_1List1Spin1Btn_QTD* GroupPoints;
-
-    int myShapeCol;
-    int myMaterCol;
-
-private slots:
-    void ClickOnOk();
-    void ActivateThisDialog();
-    void SelectionIntoArgument();
-    void SetMaterial();
-
-};
-
-#endif // DIALOGBOX_MATERIAL_H
diff --git a/src/OperationGUI/OperationGUI_PartitionDlg.cxx b/src/OperationGUI/OperationGUI_PartitionDlg.cxx
deleted file mode 100644 (file)
index bedc631..0000000
+++ /dev/null
@@ -1,554 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_PartitionDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "OperationGUI_PartitionDlg.h"
-#include "OperationGUI_MaterialDlg.h"
-
-#include "GEOMImpl_Types.hxx"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlabel.h>
-
-#include "utilities.h"
-
-//=================================================================================
-// class    : OperationGUI_PartitionDlg()
-// purpose  : Constructs a OperationGUI_PartitionDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-OperationGUI_PartitionDlg::OperationGUI_PartitionDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PARTITION")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_PARTITION_PLANE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_PARTITION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_PARTITION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  // Full partition (contains half-space partition)
-  GroupPoints = new DlgRef_4Sel1List1Check_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_PARTITION"));
-  GroupPoints->GroupBox2->setTitle(tr("SUPPRESS_RESULT"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_TOOL_OBJECT"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_RECONSTRUCTION_LIMIT"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_SUPPRESS_RESULT_INSIDE"));
-  GroupPoints->TextLabel5->setText(tr("GEOM_SUPPRESS_RESULT_OUTSIDE"));
-  GroupPoints->CheckBox1->setText(tr("GEOM_REMOVE_WEBS"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-  GroupPoints->PushButton3->setPixmap(image2);
-  GroupPoints->PushButton4->setPixmap(image2);
-  GroupPoints->PushButton5->setText(tr("GEOM_SET_MATERIALS"));
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  GroupPoints->LineEdit3->setReadOnly( true );
-  GroupPoints->LineEdit4->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-  Init();
-}
-
-
-//=================================================================================
-// function : ~OperationGUI_PartitionDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-OperationGUI_PartitionDlg::~OperationGUI_PartitionDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::Init()
-{
-  /* type for sub shape selection */
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_SOLID"));
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_SHELL"));
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_FACE"));
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_WIRE"));
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_EDGE"));
-  GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_VERTEX"));
-  
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-  
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton4, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton5, SIGNAL(clicked()), this, SLOT(SetMaterials()));
-  
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit4, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  
-  connect(GroupPoints->CheckBox1, SIGNAL(toggled(bool)), this, SLOT(onRemoveWebs(bool)));
-  
-  connect(GroupPoints->ComboBox1, SIGNAL(activated(int)), this, SLOT(ComboTextChanged()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  initName( tr( "GEOM_PARTITION" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void OperationGUI_PartitionDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  globalSelection();
-  
-  myListShapes.length(0);
-  myListTools.length(0);  
-  myListKeepInside.length(0);
-  myListRemoveInside.length(0);
-  myListMaterials.length(0);
-  
-  switch (constructorId)
-    {
-    case 0: /*Full partition */
-      {
-       GroupPoints->GroupBox1->setTitle(tr("GEOM_PARTITION"));
-       GroupPoints->TextLabel2->setText(tr("GEOM_TOOL_OBJECT"));
-       resize(0, 0);
-       GroupPoints->TextLabel3->show();
-       GroupPoints->ComboBox1->show();
-       GroupPoints->GroupBox2->show();
-       
-       GroupPoints->ComboBox1->setCurrentItem(0);
-       GroupPoints->LineEdit3->clear();
-       GroupPoints->LineEdit4->clear();
-       break;
-      }
-    case 1: /*Half-space partition */
-      {
-
-       GroupPoints->GroupBox1->setTitle(tr("GEOM_PARTITION_HALFSPACE"));
-       GroupPoints->GroupBox2->hide();
-       GroupPoints->TextLabel3->hide();
-       GroupPoints->ComboBox1->hide();
-       GroupPoints->TextLabel2->setText(tr("GEOM_PLANE"));
-       resize(0, 0);
-       break;
-      } 
-    }
-  
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->clear();
-  GroupPoints->LineEdit2->clear();
-  onRemoveWebs(false);
-
-  myEditCurrentArgument->setFocus();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  MESSAGE(width()<<" "<<height());
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool OperationGUI_PartitionDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void OperationGUI_PartitionDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void OperationGUI_PartitionDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText( "" );
-  QString aString = "";
-  
-  int nbSel = GEOMBase::GetNameOfSelectedIObjects( selectedIO(), aString, true );
-    
-  if ( nbSel < 1 )
-  {
-    if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-    {
-      myListShapes.length( 0 );
-      myListMaterials.length( 0 );
-    }
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit2 )
-      myListTools.length( 0 );
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit3 )
-      myListRemoveInside.length( 0 );
-    else if ( myEditCurrentArgument == GroupPoints->LineEdit4 )
-      myListKeepInside.length( 0 );
-  }
-  
-  // One and only one plane can be selected
-  
-  if ( getConstructorId() == 1 && myEditCurrentArgument == GroupPoints->LineEdit2 && nbSel != 1 )
-  {
-    myListTools.length( 0 );
-    return;
-  }
-  
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-  {
-    GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myListShapes, true );
-    myListMaterials.length( 0 );
-    if ( !myListShapes.length() )
-      return;
-  }
-  else if ( myEditCurrentArgument == GroupPoints->LineEdit2 )
-  {
-    GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myListTools, true );
-    if ( !myListTools.length() )
-      return;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit3)
-  {
-    GEOMBase::ConvertListOfIOInListOfGO( selectedIO(), myListRemoveInside, true );
-    if (!myListRemoveInside.length())
-      return;
-  }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit4)
-  {
-    GEOMBase::ConvertListOfIOInListOfGO( selectedIO(),  myListKeepInside, true );
-    if ( !myListKeepInside.length() )
-      return;
-  }
-  
-  myEditCurrentArgument->setText( aString );
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) 
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if(send == GroupPoints->PushButton2)
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    if( getConstructorId()==1 )
-      globalSelection( GEOM_PLANE  );
-  }
-  else if(send == GroupPoints->PushButton3)
-    myEditCurrentArgument = GroupPoints->LineEdit3;
-  else if(send == GroupPoints->PushButton4)
-    myEditCurrentArgument = GroupPoints->LineEdit4;
-  globalSelection( GEOM_ALLSHAPES );
-      
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  
-  if(send == GroupPoints->LineEdit1 || 
-     send == GroupPoints->LineEdit2 ||
-     send == GroupPoints->LineEdit3 ||
-     send == GroupPoints->LineEdit4 )
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  ConstructorsClicked( getConstructorId() ); 
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void OperationGUI_PartitionDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::enterEvent(QEvent* e)
-{
-  if(!GroupConstructors->isEnabled())
-    this->ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr OperationGUI_PartitionDlg::createOperation()
-{
-  return getGeomEngine()->GetIBooleanOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool OperationGUI_PartitionDlg::isValid( QString& msg )
-{
-  return (myListShapes.length()      || myListTools.length() ||
-         myListKeepInside.length()  || myListRemoveInside.length());
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool OperationGUI_PartitionDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  QString msg;
-  
-  int aLimit = GetLimit();
-  int aConstructorId = getConstructorId();
-  
-  if (aConstructorId==1)
-    aLimit = GEOM::SHAPE;
-  
-  if (isValid( msg ))    
-    {
-      
-      if ( aConstructorId==0 && !toRemoveWebs() )
-       myListMaterials.length(0);
-      
-      anObj = GEOM::GEOM_IBooleanOperations::_narrow( getOperation() )->MakePartition(myListShapes,
-                                                                                     myListTools,
-                                                                                     myListKeepInside,
-                                                                                     myListRemoveInside,
-                                                                                     aLimit,
-                                                                                     toRemoveWebs(),
-                                                                                     myListMaterials);
-      res = true;
-    }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void OperationGUI_PartitionDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=======================================================================
-//function : ComboTextChanged
-//purpose  : 
-//=======================================================================
-
-void OperationGUI_PartitionDlg::ComboTextChanged()
-{
-  bool IsEnabled = GroupPoints->ComboBox1->currentItem() < 3;
-  GroupPoints->LineEdit3->setEnabled(IsEnabled);
-  GroupPoints->LineEdit4->setEnabled(IsEnabled);
-  GroupPoints->TextLabel4->setEnabled(IsEnabled);
-  GroupPoints->TextLabel5->setEnabled(IsEnabled);
-  GroupPoints->PushButton3->setEnabled(IsEnabled);
-  GroupPoints->PushButton4->setEnabled(IsEnabled);
-}
-
-
-//=================================================================================
-// function : SetMaterials()
-// purpose  : 
-//=================================================================================
-void OperationGUI_PartitionDlg::SetMaterials()
-{
-  MESSAGE("OperationGUI_MaterialDlg ...");
-  OperationGUI_MaterialDlg *aDlg =
-    new OperationGUI_MaterialDlg(this, "", myListShapes, true);        
-  MESSAGE("OperationGUI_MaterialDlg");
-  return;
-}
-
-
-//=================================================================================
-// function : onRemoveWebs()
-// purpose  : 
-//=================================================================================
-void OperationGUI_PartitionDlg::onRemoveWebs(bool isChecked)
-{
-  if (GroupPoints->CheckBox1->isChecked() != isChecked)
-    GroupPoints->CheckBox1->setChecked(isChecked);
-  
-  GroupPoints->PushButton5->setEnabled(isChecked);
-}
-
-
-//=================================================================================
-// function : toRemoveWebs()
-// purpose  : 
-//=================================================================================
-bool OperationGUI_PartitionDlg::toRemoveWebs() const
-{
-  return GroupPoints->CheckBox1->isChecked();
-}
-
-
-//=================================================================================
-// function : GetLimit()
-// purpose  : 
-//=================================================================================
-int OperationGUI_PartitionDlg::GetLimit() const
-{
-  int aLimit = GroupPoints->ComboBox1->currentItem();
-  
-  switch(aLimit)
-    {
-    case 0 : 
-      {
-       aLimit = GEOM::SOLID;
-       break;
-      }
-    case 1 :
-      {
-       aLimit = GEOM::SHELL;
-       break;
-      }
-    case 2 :
-      {
-       aLimit = GEOM::FACE;
-       break;
-      }
-    case 3 :
-      {
-       aLimit = GEOM::WIRE;
-       break;
-      }
-    case 4 :
-      {
-       aLimit = GEOM::EDGE;
-       break;
-      }
-    case 5 :
-      {
-       aLimit = GEOM::VERTEX;
-       break;
-      }
-    default :
-      aLimit = GEOM::SHAPE;
-    }
-  
-  return aLimit;
-}
diff --git a/src/OperationGUI/OperationGUI_PartitionDlg.h b/src/OperationGUI/OperationGUI_PartitionDlg.h
deleted file mode 100644 (file)
index 1599bf1..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : OperationGUI_PartitionDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_PARTITION_H
-#define DIALOGBOX_PARTITION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_4Sel1List1Check_QTD.h"
-
-
-//=================================================================================
-// class    : OperationGUI_PartitionDlg
-// purpose  :
-//=================================================================================
-class OperationGUI_PartitionDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    OperationGUI_PartitionDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~OperationGUI_PartitionDlg();
-
-    void SetListMaterials(GEOM::ListOfLong ListMaterials)
-    { myListMaterials = ListMaterials; }
-
-    GEOM::ListOfLong GetListMaterials()
-    { return myListMaterials; }
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-    bool toRemoveWebs() const;
-    int GetLimit() const;
-    
-    GEOM::ListOfGO myListShapes;
-    GEOM::ListOfLong   myListMaterials;
-    GEOM::ListOfGO     myListTools;
-    GEOM::ListOfGO     myListRemoveInside;
-    GEOM::ListOfGO     myListKeepInside;
-          
-    DlgRef_4Sel1List1Check_QTD* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ComboTextChanged();
-    void onRemoveWebs(bool);
-    void SetMaterials();
-    void ConstructorsClicked(int constructorId);
-};
-
-#endif // DIALOGBOX_PARTITION_H
diff --git a/src/PARTITION/Makefile.in b/src/PARTITION/Makefile.in
deleted file mode 100644 (file)
index 76de606..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#  GEOM PARTITION : partition algorithm
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Marc Tajchman (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMPartition.la
-LIB_SRC = Partition_Inter2d.cxx \
-         Partition_Inter3d.cxx \
-         Partition_Loop2d.cxx \
-         Partition_Loop3d.cxx \
-          Partition_Spliter.cxx
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = Partition_Spliter.hxx \
-                Partition_Inter3d.hxx
-
-# idl files
-EXPORT_IDLS=
-
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS += $(CAS_LDPATH) -lTKBool -L${KERNEL_ROOT_DIR}/lib/salome
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/PARTITION/Partition.cdl b/src/PARTITION/Partition.cdl
deleted file mode 100644 (file)
index 9b1bf22..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
---  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
--- 
---  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. 
--- 
---  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
---
---
---
---  File   : Partition.cdl
---  Author : Benedicte MARTIN 
---  Module : GEOM
-
-package Partition
-
-uses
-    TopoDS,
-    TopTools,
-    TopAbs,
-    BRepAlgo,
-    BRep,
-    gp
-is
-    class Spliter;
-    class Inter3d;
-    class Inter2d;
-    class Loop2d;
-    class Loop3d;
-
-end Partition;
diff --git a/src/PARTITION/Partition_Inter2d.cdl b/src/PARTITION/Partition_Inter2d.cdl
deleted file mode 100644 (file)
index 1dcaa26..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
---  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
--- 
---  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. 
--- 
---  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
---
---
---
---  File   : Partition_Inter2d.cdl
---  Author : Benedicte MARTIN
---  Module : GEOM
-
-class Inter2d from Partition 
-
-       ---Purpose: Computes the intersections between edges on a face
-       --          stores result is SD as AsDes from BRepAlgo.
-
-uses
-    AsDes               from BRepAlgo,
-    Edge                from TopoDS,
-    Face                from TopoDS,
-    Vertex              from TopoDS,
-    MapOfShape          from TopTools,
-    Real                from Standard,
-    ListOfShape         from TopTools
-
-is
-    CompletPart2d(myclass ; AsDes : mutable AsDes from BRepAlgo;
-                            F     :         Face  from TopoDS;
-                            NewEdges :      MapOfShape from TopTools);
-                     
-       ---Purpose: Computes the intersections between the edges stored
-       --          is AsDes as descendants of <F> . Intersections is computed
-       --          between two edges if one of them is bound in NewEdges.
-
-
-    FindEndVertex(myclass; VertList : ListOfShape from TopTools;
-                           f,l      : Real        from Standard;
-                           E        : Edge        from TopoDS;
-                           First    : out Boolean from Standard;
-                           DU       : out Real    from Standard)
-        returns Vertex from TopoDS;
-    ---Purpose: Returns a vertex  from  <VertList> having parameter on
-    --          <E> most close  to  <f>  or  <l>.  <First>  is True if
-    --          found vertex is closer  to <f>. <DU> returns parameter
-    --          difference.
-    
-    AddVonE(myclass; V : Vertex from TopoDS;
-                     E1,E2 : Edge from TopoDS;
-                     AsDes : mutable AsDes from BRepAlgo;
-                     F: Face from TopoDS)
-        returns Vertex from TopoDS;
-        ---Purpose: Put V in AsDes as intersection of E1 and E2.
-        --          Check that vertex equal to V already exists on one
-        --          of edges, in  such  a  case,  V  is  not added but
-        --          existing vertex is updated to  be on E1 and E2 and
-        --          is returned insead of V.
-        --          Optional F is a face  E1  and  E2  are on. If F is
-        --          provided, it is used  to  find  new vertices on E1
-        --          and E2 resulting from intersection of new edges on
-        --          the two  other  faces  the  F  interferes with and
-        --          through which E1 and  E2  pass  too. This helps to
-        --          avoid small edges.
-
-
-    GetTolerance(myclass; theV : Vertex from TopoDS;
-                          theU : Real from Standard;
-                          theE : Edge from TopoDS;
-                          theAsDes : AsDes from BRepAlgo)
-        returns Real from Standard;
-        ---Purpose: Returns  tolerance  theV   must   have  atfer  its
-        --          addition to theE with  theU parameter. theAsDes is
-        --          used to find pcurves of theE
-
-end Inter2d;
-
diff --git a/src/PARTITION/Partition_Inter2d.cxx b/src/PARTITION/Partition_Inter2d.cxx
deleted file mode 100644 (file)
index 54a270e..0000000
+++ /dev/null
@@ -1,673 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R& D, LEG, PRINCIPIA R& D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : Partition_Inter2d.cxx
-//  Author : Benedicte MARTIN
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "Partition_Inter2d.ixx"
-
-#include "utilities.h"
-
-#include <BRepAdaptor_Curve.hxx>
-#include <BRepAlgo_AsDes.hxx>
-#include <BRepLib_MakeVertex.hxx>
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Surface.hxx>
-#include <Precision.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopOpeBRepDS_Transition.hxx>
-#include <TopOpeBRep_EdgesIntersector.hxx>
-#include <TopOpeBRep_Point2d.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <gp_Pnt.hxx>
-
-#ifdef DEB
-static Standard_Boolean TestEdges = 0;
-static Standard_Integer NbF2d = 0;
-static Standard_Integer NbE2d = 0;
-#endif
-
-//=======================================================================
-//function : getOtherShape
-//purpose  :
-//=======================================================================
-
-static TopoDS_Shape getOtherShape(const TopoDS_Shape&         theS,
-                                  const TopTools_ListOfShape& theSList)
-{
-  TopTools_ListIteratorOfListOfShape anIt( theSList );
-  for ( ; anIt.More(); anIt.Next() )
-    if (!theS.IsSame( anIt.Value() ))
-      return anIt.Value();
-
-  return TopoDS_Shape();
-}
-
-//=======================================================================
-//function : findVOnE
-//purpose  : on theE, find a vertex close to theV, such that an edge
-//           passing through it is an itersection of theF1 and theF2.
-//           theE intersects theE2 at theV
-//=======================================================================
-
-static Standard_Boolean findVOnE(const TopoDS_Vertex &         theV,
-                                 const TopoDS_Edge&            theE,
-                                 const TopoDS_Edge&            theE2,
-                                 const TopoDS_Shape&           theF1,
-                                 const TopoDS_Shape&           theF2,
-                                 const Handle(BRepAlgo_AsDes)& theAsDes,
-                                 TopoDS_Vertex &               theFoundV)
-{
-  Standard_Real MinDist2 = ::RealLast();
-  gp_Pnt P;
-
-  // check all vertices on theE
-  const TopTools_ListOfShape& aVList = theAsDes->Descendant( theE );
-  TopTools_ListIteratorOfListOfShape anIt( aVList );
-  if (anIt.More())
-    P = BRep_Tool::Pnt( theV );
-  for ( ; anIt.More(); anIt.Next() )
-  {
-    // check by distance
-    TopoDS_Vertex & V = TopoDS::Vertex( anIt.Value() );
-    Standard_Real dist2 = P.SquareDistance( BRep_Tool::Pnt( V ));
-    if (dist2 < MinDist2)
-      MinDist2 = dist2;
-    else
-      continue;
-
-    // V is a candidate if among edges passing through V there is one
-    // which is an intersection of theF1 and theF2
-    TopTools_ListIteratorOfListOfShape anEIt( theAsDes->Ascendant( V ));
-    Standard_Boolean isOk = Standard_False;
-    for (  ; !isOk && anEIt.More(); anEIt.Next() )
-    {
-      const TopoDS_Shape & E2 = anEIt.Value();
-      if ( theE2.IsSame( E2 ))
-        continue;
-      const TopTools_ListOfShape & aFList = theAsDes->Ascendant( E2 );
-      if (aFList.IsEmpty())
-        continue;
-      if ( theF1.IsSame( aFList.First() ))
-        isOk = theF2.IsSame( aFList.Last() );
-      else
-        isOk = theF2.IsSame( aFList.First() ) && theF1.IsSame( aFList.Last() );
-    }
-    if (isOk)
-      theFoundV = V;
-  }
-
-  if (theFoundV.IsNull())
-    return Standard_False;
-
-  // check that MinDist2 is not too large
-  Standard_Real f, l;
-  TopLoc_Location L;
-  Handle(Geom_Curve) aCurve = BRep_Tool::Curve( theE, L, f, l );
-  gp_Pnt P1 = aCurve->Value( f );
-  gp_Pnt P2 = aCurve->Value( 0.3 * f + 0.7 * l );
-  //gp_Pnt P2 = aCurve->Value( 0.5 * ( f + l ));
-  if (MinDist2 > P1.SquareDistance( P2 ))
-    return Standard_False;
-
-#ifdef DEB
-  MESSAGE("findVOnE: found MinDist = " << sqrt (MinDist2));
-#endif
-
-  return Standard_True;
-}
-
-//=======================================================================
-//function : AddVonE
-//purpose  : Put V in AsDes as intersection of E1 and E2.
-//           Check that vertex equal to V already exists on one
-//           of edges, in  such  a  case,  V  is  not added but
-//           existing vertex is updated to  be on E1 and E2 and
-//           is returned insead of V.
-//=======================================================================
-
-TopoDS_Vertex Partition_Inter2d::AddVonE(const TopoDS_Vertex& theV,
-                                         const TopoDS_Edge&   E1,
-                                         const TopoDS_Edge&   E2,
-                                         const Handle(BRepAlgo_AsDes)& AsDes,
-                                         const TopoDS_Face&   theF)
-
-{
-  //-------------------------------------------------------------
-  // test if the points of intersection already exist. If not,
-  // add as descendants of the edges.
-  // nb: theses points are only vertices of intersection.
-  //-------------------------------------------------------------
-  const TopTools_ListOfShape& VOnE1 = AsDes->Descendant(E1);
-  const TopTools_ListOfShape& VOnE2 = AsDes->Descendant(E2);
-  gp_Pnt                      P1,P2;
-  TopoDS_Vertex               V1,V2;
-  TopTools_ListIteratorOfListOfShape it;
-  BRep_Builder                       B;
-  TopAbs_Orientation                 O1,O2;
-  Standard_Real                      U1,U2;
-  Standard_Real                      Tol,Tol1,Tol2;
-  Standard_Boolean                   OnE1,OnE2;
-
-  TopoDS_Vertex V    = theV;
-
-  U1 = BRep_Tool::Parameter(V,E1);
-  U2 = BRep_Tool::Parameter(V,E2);
-  O1 = V.Orientation();
-  O2 = O1;
-  P1  = BRep_Tool::Pnt(V);
-  Tol = BRep_Tool::Tolerance( V );
-  OnE1 = OnE2 = Standard_False;
-
-  //-----------------------------------------------------------------
-  // Search if the point of intersection is a vertex of E1.
-  //-----------------------------------------------------------------
-  for (it.Initialize(VOnE1); it.More(); it.Next()) {
-    const TopoDS_Vertex& CV = TopoDS::Vertex( it.Value() );
-    if (V.IsSame( CV )) {
-      V1   = V;
-      OnE1 = Standard_True;
-      break;
-    }
-    P2 = BRep_Tool::Pnt( CV );
-    Tol1 = 1.1*(Tol + BRep_Tool::Tolerance( CV ));
-    if (P1.SquareDistance(P2) <= Tol1*Tol1) {
-      V    = CV;
-      V1   = V;
-      OnE1 = Standard_True;
-      break;
-    }
-  }
-  if (OnE1) {
-    //-----------------------------------------------------------------
-    // Search if the vertex found is still on E2.
-    //-----------------------------------------------------------------
-    for (it.Initialize(VOnE2); it.More(); it.Next()) {
-      if (V.IsSame( it.Value() )) {
-        OnE2 = Standard_True;
-        V2   = V;
-        break;
-      }
-    }
-  }
-  if (!OnE2) {
-    for (it.Initialize(VOnE2); it.More(); it.Next()) {
-      //-----------------------------------------------------------------
-      // Search if the point of intersection is a vertex of E2.
-      //-----------------------------------------------------------------
-      const TopoDS_Vertex& CV = TopoDS::Vertex( it.Value() );
-      P2 = BRep_Tool::Pnt( CV );
-      Tol2 = 1.1*(Tol + BRep_Tool::Tolerance( CV ));
-      if (P1.SquareDistance(P2) <= Tol2*Tol2) {
-        V  = CV;
-        V2 = V;
-        OnE2 = Standard_True;
-        break;
-      }
-    }
-  }
-
-
-  if (!OnE1 && !OnE2 && !theF.IsNull())
-  {
-    // if 3 faces intersects each others, 3 new edges on them must pass
-    // through one vertex but real intersection points of each
-    // pair of edges are sometimes more far than a tolerance.
-    // Try to analitically find vertices that E1 and E2 must pass trough
-
-    TopoDS_Shape F1 = getOtherShape( theF, AsDes->Ascendant( E1 ));
-    TopoDS_Shape F2 = getOtherShape( theF, AsDes->Ascendant( E2 ));
-    if (!F1.IsNull() && !F2.IsNull() && !F1.IsSame( F2 ))
-    {
-      OnE1 = findVOnE ( theV, E1, E2, F1, F2, AsDes, V1 );
-      OnE2 = findVOnE ( theV, E2, E1, F1, F2, AsDes, V2 );
-      if (OnE2) V = V2;
-      if (OnE1) V = V1;
-    }
-  }
-
-  if (OnE1 && OnE2) {
-    if (!V1.IsSame(V2)) {
-      // replace V1 with V2 on all edges V1 is on
-      Standard_Real UV1;
-      TopoDS_Edge   EWE1;
-      TopoDS_Vertex VI;
-      const TopTools_ListOfShape& EdgeWithV1 = AsDes->Ascendant(V1);
-
-      for (it.Initialize(EdgeWithV1); it.More(); it.Next()) {
-        EWE1  = TopoDS::Edge(it.Value());
-        VI = V1;
-        VI.Orientation(TopAbs_INTERNAL);
-        UV1 = BRep_Tool::Parameter(VI,EWE1);
-        VI = V2;
-        VI.Orientation(TopAbs_INTERNAL);
-        B.UpdateVertex( VI, UV1, EWE1, GetTolerance( VI, UV1, EWE1, AsDes));
-      }
-      AsDes->Replace(V1,V2);
-      V = V2;
-    }
-  }
-
-  // add existing vertices instead of new ones
-  if (!OnE1) {
-    if (OnE2) {
-      V.Orientation(TopAbs_INTERNAL);
-      B.UpdateVertex (V, U1, E1, GetTolerance( V, U1, E1, AsDes));
-    }
-    V.Orientation(O1);
-    AsDes->Add(E1,V);
-  }
-  if (!OnE2) {
-    if (OnE1) {
-      V.Orientation(TopAbs_INTERNAL);
-      B.UpdateVertex (V, U2, E2, GetTolerance( V, U2, E2, AsDes ));
-    }
-    V.Orientation(O2);
-    AsDes->Add(E2,V);
-  }
-
-  return V;
-}
-
-//=======================================================================
-//function : FindEndVertex
-//purpose  : Returns a vertex  from  <VertList> having parameter on
-//           <E>  closest  to  <f>  or  <l>.  <isFirst>  is True if
-//           found vertex is closer  to <f>. <DU> returns parameter
-//           difference.
-//=======================================================================
-
-TopoDS_Vertex Partition_Inter2d::FindEndVertex(const TopTools_ListOfShape& LV,
-                                               const Standard_Real f,
-                                               const Standard_Real l,
-                                               const TopoDS_Edge&  E,
-                                               Standard_Boolean&   isFirst,
-                                               Standard_Real&      minDU)
-{
-  TopoDS_Vertex endV;
-  Standard_Real U, endU, min;
-  minDU = 1.e10;
-
-  TopTools_ListIteratorOfListOfShape it;
-  it.Initialize(LV);
-  for (; it.More(); it.Next()) {
-    const TopoDS_Vertex& v = TopoDS::Vertex(it.Value());
-    U = BRep_Tool::Parameter(v, E);
-    min = Min( Abs(U-f), Abs(U-l) );
-    if (min < minDU) {
-      endV = v;
-      endU = U;
-      minDU = min;
-    }
-  }
-  if (Abs(endU-f) < Abs(endU-l))
-    isFirst = Standard_True;
-  else
-    isFirst = Standard_False;
-
-  return endV;
-}
-
-//=======================================================================
-//function : treatClosed
-//purpose  : add second vertex to closed edge. Vertex is one of <LV1>
-//=======================================================================
-
-static void treatClosed (const TopoDS_Edge& E1,
-                          const Standard_Real f,
-                          const Standard_Real l,
-                          TopTools_ListOfShape& LV1,
-                          TopTools_ListOfShape& /*LV2*/)
-{
-  Standard_Boolean isFirst=0;
-  Standard_Real    minDU = 1.e10;
-  TopoDS_Vertex endV;
-  endV = Partition_Inter2d::FindEndVertex(LV1, f,l, E1, isFirst,minDU);
-
-  if (minDU > Precision::PConfusion())
-    return; // not end point
-
-  Standard_Real newU;
-  if (isFirst)
-    newU = f + (l - f);
-  else
-    newU = l - (l - f);
-
-  // update end parameter
-  BRep_Builder B;
-  endV.Orientation(TopAbs_INTERNAL);
-  B.UpdateVertex(endV,newU,E1,BRep_Tool::Tolerance(endV));
-}
-
-//=======================================================================
-//function : EdgesPartition
-//purpose  :
-//=======================================================================
-
-static void EdgesPartition(const TopoDS_Face&            F,
-                           const TopoDS_Edge&            E1,
-                           const TopoDS_Edge&            E2,
-                           const Handle(BRepAlgo_AsDes)& AsDes,
-                           const TopTools_MapOfShape&    NewEdges,
-                           const Standard_Boolean        WithOri)
-{
-
-  Standard_Real f[3],l[3];
-  Standard_Real MilTol2;
-  Standard_Real Tol = Max (BRep_Tool::Tolerance(E1),
-                           BRep_Tool::Tolerance(E2));
-  MilTol2 = Tol * Tol * 10;
-
-  BRep_Tool::Range(E1, f[1], l[1]);
-  BRep_Tool::Range(E2, f[2], l[2]);
-
-  BRepAdaptor_Curve CE1(E1,F);
-  BRepAdaptor_Curve CE2(E2,F);
-
-  TopoDS_Edge                 EI[3]; EI[1] = E1; EI[2] = E2;
-  TopTools_ListOfShape        LV1; // new vertices at intersections on E1
-  TopTools_ListOfShape        LV2; // ... on E2
-  BRep_Builder                B;
-
-  // if E1 and E2 are results of intersection of F and two connex faces then
-  // no need to intersect edges, they can contact by vertices only
-  // (encounted an exception in TopOpeBRep_EdgesIntersector in such a case)
-  Standard_Boolean intersect = Standard_True;
-  TopTools_IndexedMapOfShape ME;
-  TopExp::MapShapes(F, TopAbs_EDGE, ME);
-  if (!ME.Contains(E1) && ! ME.Contains(E2)) { // if E1 and E2 are new on F
-    TopoDS_Shape F1, F2;
-    const TopTools_ListOfShape& LF1 = AsDes->Ascendant( E1 );
-    F1 = F.IsSame( LF1.First() ) ? LF1.Last() : LF1.First();
-    const TopTools_ListOfShape& LF2 = AsDes->Ascendant( E2 );
-    F2 = F.IsSame( LF2.First() ) ? LF2.Last() : LF2.First();
-    if (!F.IsSame(F2) && !F.IsSame(F1) ) {
-      TopExp_Explorer exp(F2, TopAbs_EDGE);
-      TopExp::MapShapes(F1, TopAbs_EDGE, ME);
-      for (; exp.More(); exp.Next()) {
-        if (ME.Contains( exp.Current())) {
-          intersect = Standard_False;
-          break;
-        }
-      }
-    }
-  }
-
-  if (intersect) {
-    //------------------------------------------------------
-    // compute the points of Intersection in 2D
-    //-----------------------------------------------------
-    // i.e. fill LV1 and LV2
-    TopOpeBRep_EdgesIntersector EInter;
-    EInter.SetFaces(F,F);
-    Standard_Real TolDub = 1.e-7;
-    EInter.ForceTolerances(TolDub,TolDub);
-    Standard_Boolean reducesegments = Standard_False;
-    EInter.Perform (E1,E2,reducesegments);
-
-    Standard_Boolean rejectreducedsegmentpoints = Standard_False;
-    EInter.InitPoint(rejectreducedsegmentpoints);
-    for ( ; EInter.MorePoint(); EInter.NextPoint() )
-    {
-      const TopOpeBRep_Point2d& P2D = EInter.Point();
-      const gp_Pnt&    P    = P2D.Value();
-      TopoDS_Vertex    V    = BRepLib_MakeVertex(P);
-
-      //-------------------------
-      // control the point found.
-      //-------------------------
-      gp_Pnt P1 = CE1.Value(P2D.Parameter(1));
-      gp_Pnt P2 = CE2.Value(P2D.Parameter(2));
-      Standard_Real sqd1 = P1.SquareDistance(P);
-      Standard_Real sqd2 = P2.SquareDistance(P);
-      if (sqd1 > MilTol2 || sqd2 > MilTol2  )
-        continue;
-
-      // add a new vertex to the both edges
-      Standard_Real toler = Max( Tol, sqrt( Max( sqd1, sqd2 )));
-      Standard_Integer i;
-      for (i = 1; i <= 2; i++) {
-        Standard_Real U = P2D.Parameter(i);
-        V.Orientation(TopAbs_INTERNAL);
-        B.UpdateVertex( V,U,EI[i], toler);
-        TopAbs_Orientation OO = TopAbs_REVERSED;
-        if (WithOri) {
-          if (P2D.IsVertex(i))
-            OO = P2D.Vertex(i).Orientation();
-          else if (P2D.Transition(i).Before() == TopAbs_OUT) {
-            OO = TopAbs_FORWARD;
-          }
-          V.Orientation(OO);
-          if (i == 1) LV1.Append(V);
-          else        LV2.Append(V);
-        }
-      }
-    }
-  } // if (intersect)
-
-  //----------------------------------
-  // Test the extremities of the edges.
-  //----------------------------------
-  // add to LV* vertices for vertex-vertex closeness
-  Standard_Real U1,U2;
-  Standard_Real TolConf2, TolConf;
-  TopoDS_Vertex V1[2],V2[2];
-  TopExp::Vertices(E1,V1[0],V1[1]);
-  TopExp::Vertices(E2,V2[0],V2[1]);
-
-  Standard_Integer i,j,k;
-  for (j = 0; j < 2; j++) {
-    if (V1[j].IsNull()) continue;
-    for ( k = 0; k < 2; k++) {
-      if (V2[k].IsNull()) continue;
-      gp_Pnt P1 = BRep_Tool::Pnt(V1[j]);
-      gp_Pnt P2 = BRep_Tool::Pnt(V2[k]);
-      TolConf = BRep_Tool::Tolerance(V1[j]) + BRep_Tool::Tolerance(V2[k]);
-      TolConf = Max (Tol, TolConf);
-      TolConf2 = TolConf * TolConf;
-      if (!intersect)
-        TolConf2 *= 100;
-      Standard_Real SqDist = P1.SquareDistance(P2);
-
-      if (SqDist <= TolConf2) {
-        TopoDS_Vertex V = BRepLib_MakeVertex(P1);
-        V.Orientation(TopAbs_INTERNAL);
-        U1 = (j == 0) ? f[1] : l[1];
-        U2 = (k == 0) ? f[2] : l[2];
-        B.UpdateVertex(V,U1,E1,TolConf);
-        B.UpdateVertex(V,U2,E2,TolConf);
-        LV1.Prepend(V.Oriented(V1[j].Orientation()));
-        LV2.Prepend(V.Oriented(V2[k].Orientation()));
-      }
-    }
-  }
-
-  Standard_Boolean AffichPurge = Standard_False;
-
-  if ( LV1.IsEmpty()) return;
-
-  //----------------------------------
-  // Purge of all the vertices.
-  //----------------------------------
-  // remove one of close vertices
-  TopTools_ListIteratorOfListOfShape it1LV1,it1LV2,it2LV1;
-  gp_Pnt P1,P2;
-  Standard_Boolean Purge = Standard_True;
-
-  while (Purge) {
-    i = 1;
-    Purge = Standard_False;
-    for (it1LV1.Initialize(LV1),it1LV2.Initialize(LV2);
-         it1LV1.More();
-         it1LV1.Next(),it1LV2.Next()) {
-      j = 1;
-      it2LV1.Initialize(LV1);
-      while (j < i) {
-        const TopoDS_Vertex& VE1 = TopoDS::Vertex(it1LV1.Value());
-        const TopoDS_Vertex& VE2 = TopoDS::Vertex(it2LV1.Value());
-        Standard_Real Tol1 = BRep_Tool::Tolerance( VE1 );
-        Standard_Real Tol2 = BRep_Tool::Tolerance( VE2 );
-        P1 = BRep_Tool::Pnt( VE1 );
-        P2 = BRep_Tool::Pnt( VE2 );
-        if (P1.IsEqual(P2, Tol1 + Tol2)) {
-          LV1.Remove(it1LV1);
-          LV2.Remove(it1LV2);
-          Purge = Standard_True;
-          break;
-        }
-        j++;
-        it2LV1.Next();
-      }
-      if (Purge) break;
-      i++;
-    }
-  }
-
-  // care of new closed edges, they always intersect with seam at end
-  if (V1[0].IsSame( V1[1] ) && NewEdges.Contains(E1) )
-    treatClosed (E1, f[1], l[1], LV1, LV2);
-  if (V2[0].IsSame( V2[1] ) && NewEdges.Contains(E2) )
-    treatClosed (E2, f[2], l[2], LV2, LV1);
-
-  //----------------
-  // Stocking vertex
-  //----------------
-
-  for ( it1LV1.Initialize( LV1 ); it1LV1.More(); it1LV1.Next())
-    Partition_Inter2d::AddVonE (TopoDS::Vertex( it1LV1.Value()),
-                                E1, E2, AsDes, F);
-}
-
-//=======================================================================
-//function : CompletPart2d
-//purpose  : Computes the intersections between the edges stored
-//           is AsDes as descendants of <F> . Intersections is computed
-//           between two edges if one of them is bound in NewEdges.
-//=======================================================================
-
-void Partition_Inter2d::CompletPart2d (const Handle(BRepAlgo_AsDes)&   AsDes,
-                                       const TopoDS_Face&              F,
-                                       const TopTools_MapOfShape&      NewEdges)
-{
-
-#ifdef DEB
-  NbF2d++;
-  NbE2d = 0;
-#endif
-
-  //Do not intersect the edges of a face
-  TopTools_IndexedMapOfShape EdgesOfFace;
-  TopExp::MapShapes( F, TopAbs_EDGE , EdgesOfFace);
-
-  //-------------------------------------------------------------------
-  // compute the intersection2D on the faces touched by the intersection3D
-  //-------------------------------------------------------------------
-  TopTools_ListIteratorOfListOfShape it1LE ;
-  TopTools_ListIteratorOfListOfShape it2LE ;
-
-  //-----------------------------------------------
-  // Intersection edge-edge.
-  //-----------------------------------------------
-  const TopTools_ListOfShape&        LE = AsDes->Descendant(F);
-  TopoDS_Vertex                      V1,V2;
-  Standard_Integer                   j, i = 1;
-
-  TopoDS_Face FF = F;
-  FF.Orientation(TopAbs_FORWARD);
-
-  for ( it1LE.Initialize(LE) ; it1LE.More(); it1LE.Next()) {
-    const TopoDS_Edge& E1 = TopoDS::Edge(it1LE.Value());
-    j = 1;
-    it2LE.Initialize(LE);
-
-    while (j < i && it2LE.More()) {
-      const TopoDS_Edge& E2 = TopoDS::Edge(it2LE.Value());
-      //----------------------------------------------------------
-      // Intersections of the new edges obtained by intersection
-      // between them and with the restrictions edges
-      //----------------------------------------------------------
-      if ( (!EdgesOfFace.Contains(E1) || !EdgesOfFace.Contains(E2)) &&
-           (NewEdges.Contains(E1) || NewEdges.Contains(E2)) ) {
-        EdgesPartition(FF,E1,E2,AsDes,NewEdges,Standard_True);
-      }
-      it2LE.Next();
-      j++;
-    }
-    i++;
-  }
-}
-
-//=======================================================================
-//function : GetTolerance
-//purpose  : Returns  tolerance  theV   must   have  atfer  its
-//           addition to theE with  theU parameter. theAsDes is
-//           used to find pcurves of theE
-//=======================================================================
-
-Standard_Real Partition_Inter2d::GetTolerance
-                         (const TopoDS_Vertex &         theV,
-                          const Standard_Real           theU,
-                          const TopoDS_Edge &           theE,
-                          const Handle(BRepAlgo_AsDes)& theAsDes)
-{
-  Standard_Real aTol = BRep_Tool::Tolerance( theV );
-  gp_Pnt aPnt = BRep_Tool::Pnt( theV );
-
-  // check point on 3D curve
-  Standard_Real f,l;
-  Handle(Geom_Curve) C = BRep_Tool::Curve( theE, f, l );
-  if (!C.IsNull())
-    aTol = Max ( aTol, aPnt.Distance( C->Value( theU )));
-
-  // check points on pcurves
-  const TopTools_ListOfShape& aFList = theAsDes->Ascendant( theE );
-  TopTools_ListIteratorOfListOfShape aFIt( aFList );
-  for (  ; aFIt.More(); aFIt.Next() )
-  {
-    const TopoDS_Face& F = TopoDS::Face( aFIt.Value() );
-    Handle(Geom2d_Curve) pcurve = BRep_Tool::CurveOnSurface( theE, F, f, l );
-    if (!pcurve.IsNull())
-    {
-      gp_Pnt2d aPnt2d = pcurve->Value( theU );
-      TopLoc_Location L;
-      Handle(Geom_Surface) S = BRep_Tool::Surface( F, L );
-      gp_Pnt aPntOnS = S->Value( aPnt2d.X(), aPnt2d.Y() );
-      if (!L.IsIdentity())
-        aPntOnS.Transform( L.Transformation() );
-      aTol = Max ( aTol, aPnt.Distance( aPntOnS ));
-    }
-  }
-
-  return aTol;
-}
diff --git a/src/PARTITION/Partition_Inter2d.hxx b/src/PARTITION/Partition_Inter2d.hxx
deleted file mode 100644 (file)
index 059be96..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter2d.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Inter2d_HeaderFile
-#define _Partition_Inter2d_HeaderFile
-
-#ifndef _Handle_BRepAlgo_AsDes_HeaderFile
-#include <Handle_BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class BRepAlgo_AsDes;
-class TopoDS_Face;
-class TopTools_MapOfShape;
-class TopoDS_Vertex;
-class TopTools_ListOfShape;
-class TopoDS_Edge;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Inter2d  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT static  void CompletPart2d(const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F,const TopTools_MapOfShape& NewEdges) ;
-Standard_EXPORT static  TopoDS_Vertex FindEndVertex(const TopTools_ListOfShape& VertList,const Standard_Real f,const Standard_Real l,const TopoDS_Edge& E,Standard_Boolean& First,Standard_Real& DU) ;
-Standard_EXPORT static  TopoDS_Vertex AddVonE(const TopoDS_Vertex& V,const TopoDS_Edge& E1,const TopoDS_Edge& E2,const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F) ;
-Standard_EXPORT static  Standard_Real GetTolerance(const TopoDS_Vertex& theV,const Standard_Real theU,const TopoDS_Edge& theE,const Handle(BRepAlgo_AsDes)& theAsDes) ;
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Inter2d.ixx b/src/PARTITION/Partition_Inter2d.ixx
deleted file mode 100644 (file)
index 963d1ec..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter2d.ixx
-//  Module : GEOM
-
-#include "Partition_Inter2d.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Inter2d.jxx b/src/PARTITION/Partition_Inter2d.jxx
deleted file mode 100644 (file)
index 8c3ef7d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter2d.jxx
-//  Module : GEOM
-
-#ifndef _BRepAlgo_AsDes_HeaderFile
-#include <BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _Partition_Inter2d_HeaderFile
-#include "Partition_Inter2d.hxx"
-#endif
diff --git a/src/PARTITION/Partition_Inter3d.cdl b/src/PARTITION/Partition_Inter3d.cdl
deleted file mode 100644 (file)
index 44be26e..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
---  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
--- 
---  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. 
--- 
---  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
---
---
---
---  File   : Partition_Inter3d.cdl
---  Author : Benedicte MARTIN
---  Module : GEOM
-
-class Inter3d from Partition 
-
-        ---Purpose: Computes the intersection face face in a set of faces
-        --          Store the result in a SD as AsDes.
-
-uses
-    Edge from TopoDS,
-    Vertex from TopoDS,
-    DataMapOfShapeShape       from TopTools,
-    MapOfShape                from TopTools,
-    Boolean                   from Standard,
-    AsDes                     from BRepAlgo,
-    Image                     from BRepAlgo,
-    Shape                     from TopoDS,
-    Face                      from TopoDS,
-    ListOfShape               from TopTools,
-    Real                      from Standard,
-    State                     from TopAbs,
-    DataMapOfShapeListOfShape from TopTools 
-
-is
-    Create returns Inter3d from Partition;
-    
-    Create(AsDes : mutable AsDes from BRepAlgo);
-
-    CompletPart3d (me : in out; SetOfFaces1 : ListOfShape from TopTools;
-                                FaceShapeMap: DataMapOfShapeShape from TopTools)
-        is static;
-
-    FacesPartition (me : in out; F1, F2 : Face  from TopoDS)
-        is static;
-
-        ----------------------------
-        ---Category: Result Querying
-        ----------------------------
-
-    IsDone(me ; F1,F2 : Face from TopoDS) 
-        returns Boolean from Standard is static;
-        ---Purpose: return True if F1-F2 pair has been processed
-
-    TouchedFaces(me : in out) returns MapOfShape from TopTools
-        ---C++: return &
-        is static;
-        ---Purpose: return map of faces cut by new or section edges
-
-    NewEdges(me : in out) returns MapOfShape from TopTools
-        ---C++:  return &
-        is static;
-        ---Purpose: return new and section edges
-
-    AsDes(me) returns AsDes from BRepAlgo
-        is static;
-        ---Purpose: return an object containing info about
-        --             Ascendants     | Descendants
-        --          ------------------+---------------------
-        --          1. faces          | edges cutting them
-        --          2. sectoin edges  | new vertices on them
-
-
-        -------------------------------
-        ---Category: Same domain shapes
-        -------------------------------
-
-    HasSameDomainF(me; F : Shape from TopoDS)
-        returns Boolean from Standard;
-        ---Purpose: Return true if F has same domain faces
-    
-    IsSameDomainF(me; F1, F2 : Shape from TopoDS)
-        returns Boolean from Standard;
-        ---Purpose: Return true if F1 and F2 are same domain faces
-    
-    SameDomain(me; F : Face from TopoDS)
-        returns ListOfShape from TopTools;
-        ---C++:  return const &
-        ---Purpose: Return same domain faces of F
-    
-    ReplaceSameDomainV (me; V : Vertex from TopoDS;
-                            E : Edge   from TopoDS)
-        returns Vertex from TopoDS;
-        ---Purpose: return same domain vertex of  V if it was replaced
-        --          and make this vertex to be on E too, else return V
-
-        --------------------------
-        ---Category: Section edges
-        --------------------------
-
-    SectionEdgesAD (me) returns AsDes from BRepAlgo
-        is static;
-    
-    IsSectionEdge (me; E : Edge from TopoDS) 
-        returns Boolean from Standard;
-        ---Purpose: return True if E is an edge of an initial face and
-        --          E intersects aother face
-    
-    HasSectionEdge (me; F : Face from TopoDS)
-        returns Boolean from Standard;
-        ---Purpose: return True if  F  is  intersected  by  an edge of 
-        --          other face
-
-    IsSplitOn (me; NewE, OldE : Edge from TopoDS;
-                   F : Face from TopoDS)
-        returns Boolean from Standard;
-        ---Purpose: return True if NewE is split of OldE on F;
-        --          no check if NewE is split of OldE :)
-    
-    SectionEdgeFaces (me; SecE : Edge from TopoDS)
-        returns ListOfShape from TopTools;
-        ---C++:  return const&
-        ---Purpose: return faces cut by section edge
-    
-        --------------------
-        ---Category: Private
-        --------------------
-
-    Inter3D (me: in out; F1, F2 :        Face        from TopoDS;
-                         LInt   : in out ListOfShape from TopTools)
-        is static private;
-    
-    StorePart3d(me : in out; F1,F2 : Face        from TopoDS;
-                             LInt1 : ListOfShape from TopTools)
-        is static private;    
-    
-    SetDone(me : in out; F1,F2 : Face from TopoDS)
-        is static private;
-
-    Affiche (me; SetOfFaces : ListOfShape from TopTools)
-        is static private;
-    
-fields
-
-    myAsDes        : AsDes                     from BRepAlgo;
-    myDone         : DataMapOfShapeListOfShape from TopTools;    
-    myTouched      : MapOfShape                from TopTools;
-    myNewEdges     : MapOfShape                from TopTools;
-
-        -- section edges: existing edges  that are intersection lines,
-        -- may be partially. 
-        -- Store as 
-        -- FACE -> SECTION EDGES, SECTION EDGE -> OTHER SECTION EDGE
-    mySectionEdgesAD : AsDes                   from BRepAlgo;
-    
-    -- same domain shapes
-     -- faces
-    mySameDomainFM : DataMapOfShapeListOfShape from TopTools;
-     -- vertex -> vertex replacement
-    mySameDomainVM : DataMapOfShapeShape       from TopTools;
-
-end Inter3d;
diff --git a/src/PARTITION/Partition_Inter3d.cxx b/src/PARTITION/Partition_Inter3d.cxx
deleted file mode 100644 (file)
index e9bf649..0000000
+++ /dev/null
@@ -1,939 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter3d.cxx
-//  Author : Benedicte MARTIN
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "Partition_Inter2d.hxx"
-#include "Partition_Inter3d.ixx"
-#include "utilities.h"
-
-#include <BRepAlgo_AsDes.hxx>
-#include <BRepAlgo_Image.hxx>
-#include <BRepLib.hxx>
-#include <BRepOffset_Tool.hxx>
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopOpeBRepTool_BoxSort.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Vertex.hxx>
-
-#ifdef DEB
-#include <DBRep.hxx>
-#endif
-
-#include <BRepLib_MakeVertex.hxx>
-#include <BRepTools.hxx>
-#include <Extrema_ExtPS.hxx>
-#include <Extrema_POnSurf.hxx>
-#include <Geom2dAPI_ProjectPointOnCurve.hxx>
-#include <Geom2d_Curve.hxx>
-#include <GeomAPI_ProjectPointOnCurve.hxx>
-#include <GeomAdaptor_Surface.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_RectangularTrimmedSurface.hxx>
-#include <Geom_SphericalSurface.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <Precision.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TopOpeBRepBuild_Builder.hxx>
-#include <TopOpeBRepDS_BuildTool.hxx>
-#include <TopOpeBRepDS_CurveExplorer.hxx>
-#include <TopOpeBRepDS_HDataStructure.hxx>
-#include <TopOpeBRepDS_Interference.hxx>
-#include <TopOpeBRepDS_PointIterator.hxx>
-#include <TopOpeBRepDS_Transition.hxx>
-#include <TopOpeBRepTool_CurveTool.hxx>
-#include <TopOpeBRepTool_GeomTool.hxx>
-#include <TopOpeBRepTool_OutCurveType.hxx>
-#include <TopOpeBRep_DSFiller.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
-#include <stdio.h>
-
-//=======================================================================
-//function : Partition_Inter3d
-//purpose  : 
-//=======================================================================
-
-Partition_Inter3d::Partition_Inter3d()
-{
-}
-//=======================================================================
-//function : Partition_Inter3d
-//purpose  : 
-//=======================================================================
-
-Partition_Inter3d::Partition_Inter3d(const Handle(BRepAlgo_AsDes)& AsDes)
-  :myAsDes(AsDes)
-{
-  mySectionEdgesAD = new BRepAlgo_AsDes;
-}
-
-//=======================================================================
-//function : CompletPart3d
-//purpose  : FaceShapeMap is just to know the shape a face belongs to
-//=======================================================================
-
-void Partition_Inter3d::CompletPart3d(const TopTools_ListOfShape& SetOfFaces1,
-                                     const TopTools_DataMapOfShapeShape& FaceShapeMap)
-{
-  if (myAsDes.IsNull())
-    myAsDes = new BRepAlgo_AsDes;
-  
-  TopTools_ListIteratorOfListOfShape it;
-
-  //---------------------------------------------------------------
-  // Construction of bounding boxes.
-  //---------------------------------------------------------------
-
-  BRep_Builder B;
-  TopoDS_Compound CompOS;
-  B.MakeCompound(CompOS);
-  for (it.Initialize(SetOfFaces1); it.More(); it.Next())
-    B.Add(CompOS, it.Value());
-    
-  TopOpeBRepTool_BoxSort BOS;
-  BOS.AddBoxesMakeCOB(CompOS,TopAbs_FACE);
-
-  for (it.Initialize(SetOfFaces1); it.More(); it.Next()) {
-    TopoDS_Face F1 = TopoDS::Face(it.Value());
-    
-    // avoid intersecting faces of one shape
-    TopoDS_Shape S1;
-    if (FaceShapeMap.IsBound(F1)) S1 = FaceShapeMap.Find(F1);
-
-    // to filter faces sharing an edge
-    TopTools_IndexedMapOfShape EM;
-    TopExp::MapShapes( F1, TopAbs_EDGE, EM);
-    
-    TColStd_ListIteratorOfListOfInteger itLI = BOS.Compare(F1);
-    for (; itLI.More(); itLI.Next()) {
-      TopoDS_Face F2 = TopoDS::Face(BOS.TouchedShape(itLI));
-      if (F1.IsSame(F2) || IsDone(F1,F2))
-       continue;
-
-      TopoDS_Shape S2;
-      if (FaceShapeMap.IsBound(F2)) S2 = FaceShapeMap.Find(F2);
-      if (!S1.IsNull() && S1.IsSame(S2))
-       continue; // descendants of one shape
-
-      TopExp_Explorer expE (F2, TopAbs_EDGE);
-      for ( ; expE.More(); expE.Next())
-       if (EM.Contains( expE.Current() ))
-         break;
-      if (expE.More())
-      {
-        // faces have a common edge, check if they are a tool and a face
-        // generated by the tool in another shape; in that case they are
-        // to be intersected
-        TopLoc_Location L1, L2;
-        Handle(Geom_Surface) S1 = BRep_Tool::Surface( F1, L1 );
-        Handle(Geom_Surface) S2 = BRep_Tool::Surface( F2, L2 );
-        if ( S1 != S2 || L1 != L2 )
-          continue;
-      }
-
-      F1.Orientation(TopAbs_FORWARD);
-      F2.Orientation(TopAbs_FORWARD);
-      FacesPartition(F1,F2);     
-    }
-
-    // mark as modified a face which has at least one new edge
-    if (!myAsDes->HasDescendant( F1 ))
-      continue;
-    TopTools_ListIteratorOfListOfShape itE (myAsDes->Descendant( F1 ));
-    for ( ; itE.More(); itE.Next()) {
-      if (myNewEdges.Contains( itE.Value())) {
-       myTouched.Add( F1 );
-       break;
-      }
-    }
-  }
-}
-
-//=======================================================================
-//function : PutInBounds
-//purpose  : 
-//=======================================================================
-
-static void PutInBounds (const TopoDS_Face&          F,
-                        const TopoDS_Edge&          E,
-                        Handle(Geom2d_Curve)&       C2d)
-{
-  Standard_Real   umin,umax,vmin,vmax;
-  Standard_Real   f,l;
-  BRep_Tool::Range(E,f,l);
-
-  TopLoc_Location L; // Recup S avec la location pour eviter la copie.
-  Handle (Geom_Surface) S   = BRep_Tool::Surface(F,L);
-
-  if (S->IsKind(STANDARD_TYPE(Geom_RectangularTrimmedSurface))) {
-    S = (*(Handle_Geom_RectangularTrimmedSurface*)&S)->BasisSurface();
-  }
-  if (!S->IsUPeriodic() && !S->IsVPeriodic())
-    return;
-
-  BRepTools::UVBounds(F,umin,umax,vmin,vmax);
-
-  gp_Pnt2d Pf = C2d->Value(f);
-  gp_Pnt2d Pl = C2d->Value(l);
-  const Standard_Real Um = 0.34*f + 0.66*l;
-  gp_Pnt2d Pm = C2d->Value( Um );
-
-  // sometimes on shpere, pcurve is out of domain by V though S is
-  // UPeriodic, sometimes it is in domain but nontheless it has
-  // wrong position.
-  // Check pcurve position by 3D point
-  if (S->IsKind(STANDARD_TYPE( Geom_SphericalSurface )))
-  {
-    // get point on the surface
-    gp_Pnt Ps = S->Value( Pm.X(), Pm.Y() );
-    // get point on the edge
-    Handle(Geom_Curve) C = BRep_Tool::Curve( E, f, l );
-    gp_Pnt Pc = C->Value( Um );
-    // compare points
-    Standard_Real TolE = BRep_Tool::Tolerance( E );
-    if ( Pc.SquareDistance( Ps ) * 0.95 < TolE * TolE )
-      return; // OK
-
-    // find good UV for Pc: project Pc on S
-    GeomAdaptor_Surface  SA (S);
-    Extrema_ExtPS anExtPS (Pc, SA,
-                           SA.UResolution( TolE ), SA.VResolution( TolE ));
-    if (anExtPS.IsDone())
-    {
-      Standard_Integer i, nbExt = anExtPS.NbExt();
-      Extrema_POnSurf aPOnSurf;
-      for (i = 1; i <= nbExt; ++i )
-        if (anExtPS.Value( i ) <= TolE) {
-          aPOnSurf = anExtPS.Point( i );
-          break;
-        }
-      if (i <= nbExt) {
-        // a point found
-        Standard_Real u, v;
-        aPOnSurf.Parameter( u, v );
-        gp_Pnt2d aGoodPm ( u, v );
-        C2d->Translate( Pm , aGoodPm );
-      }
-    }
-  }
-
-  //---------------
-  // Recadre en U.
-  //---------------
-  if (S->IsUPeriodic()) {
-    Standard_Real period  = S->UPeriod();
-    Standard_Real eps     = period*1.e-6;
-    Standard_Real minC    = Min(Pf.X(),Pl.X()); minC = Min(minC,Pm.X());
-    Standard_Real maxC    = Max(Pf.X(),Pl.X()); maxC = Max(maxC,Pm.X());
-    Standard_Real du = 0.;
-    if (minC< umin - eps) {
-      du = (int((umin - minC)/period) + 1)*period;
-    }
-    if (minC > umax + eps) {
-      du = -(int((minC - umax)/period) + 1)*period;
-    }
-    if (du != 0) {
-      gp_Vec2d T1(du,0.);
-      C2d->Translate(T1);
-      minC += du; maxC += du;
-    }
-    // Ajuste au mieux la courbe dans le domaine.
-    if (maxC > umax +100*eps) {
-      Standard_Real d1 = maxC - umax;
-      Standard_Real d2 = umin - minC + period;
-      if (d2 < d1) du =-period;
-      if ( du != 0.) {
-       gp_Vec2d T2(du,0.);
-       C2d->Translate(T2);
-      }
-    }
-  }
-  //------------------
-  // Recadre en V.
-  //------------------
-  if (S->IsVPeriodic()) {
-    Standard_Real period  = S->VPeriod();
-    Standard_Real eps     = period*1.e-6;
-    Standard_Real minC    = Min(Pf.Y(),Pl.Y()); minC = Min(minC,Pm.Y());
-    Standard_Real maxC    = Max(Pf.Y(),Pl.Y()); maxC = Max(maxC,Pm.Y());
-    Standard_Real dv = 0.;
-    if (minC< vmin - eps) {
-      dv = (int((vmin - minC)/period) + 1)*period;
-    }
-    if (minC > vmax + eps) {
-      dv = -(int((minC - vmax)/period) + 1)*period;
-    }
-    if (dv != 0) {
-      gp_Vec2d T1(0.,dv);
-      C2d->Translate(T1);
-      minC += dv; maxC += dv;
-    }
-    // Ajuste au mieux la courbe dans le domaine.
-    if (maxC > vmax +100*eps) {
-      Standard_Real d1 = maxC - vmax;
-      Standard_Real d2 = vmin - minC + period;
-      if (d2 < d1) dv =-period;
-      if ( dv != 0.) {
-       gp_Vec2d T2(0.,dv);
-       C2d->Translate(T2);
-      }
-    }
-  }
-}
-
-//=======================================================================
-//function : Inter3D
-//purpose  : 
-//=======================================================================
-
-void Partition_Inter3d::Inter3D(const TopoDS_Face& F1,
-                               const TopoDS_Face& F2,
-                               TopTools_ListOfShape& L)
-{
-  BRep_Builder B;
-  
-  // fill the data Structure
-  Handle(TopOpeBRepDS_HDataStructure) DatStr = new TopOpeBRepDS_HDataStructure();
-  TopOpeBRep_DSFiller DSFiller;
-  DSFiller.Insert(F1,F2,DatStr);
-
-  // define the GeomTool used by the DSFiller :
-  // compute BSpline of degree 1 on intersection curves.
-  Standard_Real tol3dAPPROX = 1e-7;
-  Standard_Real tol2dAPPROX = 1e-7;
-  TopOpeBRepTool_GeomTool GT2 (TopOpeBRepTool_APPROX);  
-  GT2.SetTolerances(tol3dAPPROX,tol2dAPPROX);
-  TopOpeBRepDS_BuildTool  BT(GT2);
-
-  // Perform Section
-  TopOpeBRepBuild_Builder TopB(BT);
-  TopB.Perform(DatStr);
-
-  // ===============
-  // Store new edges
-  // ===============
-  
-  L.Clear();
-  TopOpeBRepDS_CurveExplorer cex(DatStr->DS());
-  for (; cex.More(); cex.Next()) {
-    const TopOpeBRepDS_Curve& CDS = cex.Curve();
-    Standard_Integer ic = cex.Index();
-    Handle(Geom2d_Curve) pc1 = CDS.Curve1();
-    Handle(Geom2d_Curve) pc2 = CDS.Curve2();
-    
-    TopTools_ListIteratorOfListOfShape itLE = TopB.NewEdges(ic);
-    while (itLE.More()) {
-      TopoDS_Edge E = TopoDS::Edge(itLE.Value());
-      
-      PutInBounds (F1,E,pc1);
-      PutInBounds (F2,E,pc2);
-      
-      B.UpdateEdge (E,pc1,F1,0.);
-      B.UpdateEdge (E,pc2,F2,0.);
-      
-      L.Append (E);
-      
-      itLE.Next();
-      if (itLE.More()) {
-       pc1 = Handle(Geom2d_Curve)::DownCast(pc1->Copy());
-       pc2 = Handle(Geom2d_Curve)::DownCast(pc2->Copy());
-      }
-    }
-  }
-
-  // ========================
-  // store same domain faces 
-  // ========================
-
-
-  if ( DatStr->HasSameDomain( F1 ))
-  {
-    TopTools_ListOfShape emptyList;
-    if (!mySameDomainFM.IsBound(F1))
-      mySameDomainFM.Bind(F1,emptyList);
-    if (!mySameDomainFM.IsBound(F2))
-      mySameDomainFM.Bind(F2,emptyList);
-    mySameDomainFM(F1).Append(F2);
-    mySameDomainFM(F2).Append(F1);
-  }
-
-  // ====================
-  // Store section edges
-  // ====================
-
-  const TopOpeBRepDS_DataStructure& DS = DatStr->DS();
-  Standard_Integer j,i,nse = DS.NbSectionEdges();
-  if (nse == 0) return;
-
-    
-  TopoDS_Vertex V, sdeV1, sdeV2;
-  TopTools_MapOfShape MV;
-  TopTools_ListOfShape LSE; // list of section edges
-  TopoDS_Face dummyF;
-  
-  for (i = 1; i <= nse; i++)
-  {
-    const TopoDS_Edge & se = DS.SectionEdge(i);
-    if (! TopB.IsSplit(se,TopAbs_ON))
-      continue;
-    LSE.Append( se );
-
-    // add vertices where section edges interferes with other
-    // edges as its descendant in myAsDes
-    
-    TopoDS_Edge sde, oe; // same domain, other edge
-    if (DatStr->HasSameDomain(se)) {
-      sde = TopoDS::Edge( DatStr->SameDomain(se).Value() );
-      TopExp::Vertices( sde, sdeV1, sdeV2);
-    }
-    TColStd_MapOfInteger MIV; // indices of added edges
-    TopOpeBRepDS_PointIterator itP (DS.ShapeInterferences( se ));
-    itP.SupportKind( TopOpeBRepDS_EDGE );
-    // loop on intersections of se
-    for (; itP.More(); itP.Next()) {
-      oe = TopoDS::Edge( DS.Shape( itP.Support()));
-      if (itP.IsVertex()) {
-        // there is a vertex at intersection
-       if ( !MIV.Add( itP.Current() ))
-         continue;
-       V = TopoDS::Vertex( DS.Shape( itP.Current()));
-       if ( !sde.IsNull() && (V.IsSame(sdeV1) || V.IsSame(sdeV2)) )
-         oe = sde;
-       V = ReplaceSameDomainV( V , oe );
-       V.Orientation( TopAbs_INTERNAL);
-       B.UpdateVertex( V, itP.Parameter(), se, 0.); // AddVonE() sets real U
-      }
-      else {
-        // create a new vertex at the intersection point
-       const TopOpeBRepDS_Point& DSP = DS.Point( itP.Current());
-       V = BRepLib_MakeVertex( DSP.Point() );
-       V.Orientation( TopAbs_INTERNAL);
-       B.UpdateVertex( V, itP.Parameter(), se, DSP.Tolerance());
-       // make V be on the other edge
-       TopOpeBRepDS_PointIterator itOP (DS.ShapeInterferences( oe ));
-       for (; itOP.More(); itOP.Next()) {
-         const TopOpeBRepDS_Point& ODSP = DS.Point( itOP.Current());
-         if ( DSP.IsEqual (ODSP)) {
-           B.UpdateVertex( V, itOP.Parameter(), TopoDS::Edge(oe), ODSP.Tolerance());
-           break;
-         }
-       }
-      }
-      // add V on the both intersecting edges
-      TopoDS_Vertex addedV = Partition_Inter2d::AddVonE( V,se,oe,myAsDes,dummyF);
-      if (!addedV.IsSame( V ))
-       mySameDomainVM.Bind (V, addedV); // equal vertex is already there
-
-      MV.Add( addedV ); // to ease storage of vertices of ON splits
-    }
-  }
-
-  // add section edge to the face it intersects and find
-  // splits ON that do not have same domain pair
-  
-  TopB.SplitSectionEdges(); // let TopB find ON splits
-
-  TopTools_MapOfShape SPM; // map of ON splits
-  TopTools_IndexedMapOfShape ME[2];
-  TopExp::MapShapes( F1, TopAbs_EDGE, ME[1]);
-  TopExp::MapShapes( F2, TopAbs_EDGE, ME[0]);
-
-  TopTools_ListIteratorOfListOfShape itSP, itLSE (LSE);
-  while ( itLSE.More() ) {
-
-    TopoDS_Edge se = TopoDS::Edge( itLSE.Value() );
-
-    // move itLSE to the next se
-    Standard_Integer ancRank = DS.AncestorRank(se);
-    if (ME[ancRank-1].Contains( se ))
-    {
-      LSE.Remove( itLSE ); // se is an edge of face it intersects
-      continue;
-    }
-    else
-    {
-      itLSE.Next();
-    }
-
-    const TopoDS_Face& F = (ancRank == 1) ? F2 : F1;
-
-    // add se to face but dont add twice
-    TopTools_ListIteratorOfListOfShape itE( myAsDes->Descendant( F ));
-    if (myAsDes->HasDescendant( F )) {
-      for ( ; itE.More(); itE.Next())
-       if (se.IsSame( itE.Value() ))
-         break;
-    }
-    if (!itE.More())
-    {
-      myAsDes->Add( F, se );
-
-      // check se pcurve on F
-      Standard_Real tol, f,l, umin=1e100, umax=-1e100;
-      Handle(Geom2d_Curve) pc = BRep_Tool::CurveOnSurface( se, F, f,l);
-      if (pc.IsNull()) {
-       itSP.Initialize( TopB.Splits(se,TopAbs_ON) );
-       for ( ; itSP.More(); itSP.Next()) {
-         const TopoDS_Edge& E = TopoDS::Edge ( itSP.Value());
-         BRep_Tool::Range(E, f, l);
-         umin = Min( umin, f);
-         umax = Max( umax, l);
-       }
-       Handle(Geom_Curve) C3d = BRep_Tool::Curve( se, f, l);
-       if (umin < umax) // sometimes umin == umax for closed edge
-         C3d = new Geom_TrimmedCurve( C3d, umin, umax);
-       pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
-       if (pc.IsNull()) {
-         MESSAGE (" CANT BUILD PCURVE ");
-       }
-       B.UpdateEdge( se, pc, F, tol);
-      }
-    }
-
-    // to detect splits that do not have same domain pair
-    // ie which split a face into parts and not pass by its boundary
-    itSP.Initialize( TopB.Splits(se,TopAbs_ON) );
-    for ( ; itSP.More(); itSP.Next()) {
-      const TopoDS_Shape& SP = itSP.Value();
-      if (!SPM.Add( SP ))
-       SPM.Remove( SP );
-    }
-  }
-
-  // store vertices of ON splits and bind section edges to faces
-  
-  for (itLSE.Initialize (LSE); itLSE.More(); itLSE.Next())
-  {
-    const TopoDS_Shape& se = itLSE.Value();
-
-    Standard_Integer ancRank = DS.AncestorRank(se);
-    TopoDS_Face F = (ancRank == 1) ? F2 : F1;
-
-    // add vertices of ON splits which have no same domain pair
-    Standard_Boolean added = Standard_False;
-    itSP.Initialize( TopB.Splits(se,TopAbs_ON) );
-    for ( ; itSP.More(); itSP.Next())
-    {
-      if (!SPM.Contains( itSP.Value() ))
-       continue;
-      
-      const TopoDS_Edge& S = TopoDS::Edge ( itSP.Value());
-
-      added = Standard_True;
-      mySectionEdgesAD->Add( F, se );
-      
-      TopoDS_Vertex VS[2];
-      TopExp::Vertices (S, VS[0], VS[1]);
-      for (j=0; j<2; ++j)
-      {
-       if (mySameDomainVM.IsBound( VS[j] ))
-         VS[j] = TopoDS::Vertex( mySameDomainVM( VS[j] ));
-       if ( !MV.Contains( VS[j] )) {
-         // find equal vertex on se - point interference
-         gp_Pnt P1 = BRep_Tool::Pnt( VS[j] );
-         TopTools_ListIteratorOfListOfShape itV( myAsDes->Descendant(se) );
-         for (; itV.More(); itV.Next()) {
-           V = TopoDS::Vertex( itV.Value() );
-            if ( V.IsSame( VS[j] ))
-              break;
-           gp_Pnt P2 = BRep_Tool::Pnt( V );
-           if (P1.IsEqual( P2, Precision::Confusion())) {
-             mySameDomainVM.Bind (VS[j], V);
-             VS[j] = V;
-             break;
-           }
-         }
-         if (!itV.More())  // no interferences with edges
-           myAsDes->Add( se, VS[j]);
-       }
-
-        // add ends of ON splits to F in order to detect later
-        // if a split is on face in IsSplitOn()
-       mySectionEdgesAD->Add( F, VS[j]);
-      }
-      // in the descendants of F, first go ends of an ON split and
-      // then a split itself
-      mySectionEdgesAD->Add( F, S );
-    }
-    if (!added)
-      mySectionEdgesAD->Add( F, se );
-    
-    myNewEdges.Add( se );
-  }
-}
-
-//=======================================================================
-//function : FacesPartition
-//purpose  : 
-//=======================================================================
-
-void Partition_Inter3d::FacesPartition(const TopoDS_Face& F1,
-                                      const TopoDS_Face& F2)
-     //(const TopTools_DataMapOfShapeListOfShape& /*SetOfFaces2*/)
-{
-  TopTools_ListOfShape LInt;
-
-  Inter3D (F1,F2,LInt);
-  
-  StorePart3d (F1,F2,LInt);
-}
-
-//=======================================================================
-//function : SetDone
-//purpose  : 
-//=======================================================================
-
-void Partition_Inter3d::SetDone(const TopoDS_Face& F1, 
-                               const TopoDS_Face& F2)
-{
-  if (!myDone.IsBound(F1)) {
-    TopTools_ListOfShape emptyList;
-    myDone.Bind(F1,emptyList);
-  }
-  myDone(F1).Append(F2);
-  if (!myDone.IsBound(F2)) {
-    TopTools_ListOfShape emptyList;
-    myDone.Bind(F2,emptyList);
-  }
-  myDone(F2).Append(F1);
-}
-
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean Partition_Inter3d::IsDone(const TopoDS_Face& F1, 
-                                          const TopoDS_Face& F2) 
-
-  const 
-{
-  if (myDone.IsBound(F1)) {
-    TopTools_ListIteratorOfListOfShape it (myDone(F1));
-    for (; it.More(); it.Next()) {
-      if (it.Value().IsSame(F2)) return Standard_True;
-    }
-  }
-  return Standard_False;
-}
-
-//=======================================================================
-//function : StorePart3d
-//purpose  : 
-//=======================================================================
-
-void Partition_Inter3d::StorePart3d(const TopoDS_Face& F1, 
-                                   const TopoDS_Face& F2, 
-                                   const TopTools_ListOfShape& LInt)
-{
-  if (!LInt.IsEmpty()) {
-    myAsDes->Add( F1,LInt);
-    myAsDes->Add( F2,LInt);
-
-    TopTools_ListIteratorOfListOfShape it(LInt);
-    for (; it.More(); it.Next()) {
-
-      TopoDS_Edge E = TopoDS::Edge(it.Value());
-
-      BRep_Builder B;
-      B.SameParameter(E,Standard_False);
-      BRepLib::SameParameter(E,1.0e-7);
-      
-      myNewEdges.Add(E);
-    }
-  }
-  SetDone(F1,F2);
-}
-
-//=======================================================================
-//function : TouchedFaces
-//purpose  : 
-//=======================================================================
-
-TopTools_MapOfShape& Partition_Inter3d::TouchedFaces()
-{
-  return myTouched;
-}
-
-//=======================================================================
-//function : AsDes
-//purpose  : 
-//=======================================================================
-
-Handle(BRepAlgo_AsDes) Partition_Inter3d::AsDes() const 
-{
-  return myAsDes;
-}
-
-//=======================================================================
-//function : NewEdges
-//purpose  : 
-//=======================================================================
-
-TopTools_MapOfShape& Partition_Inter3d::NewEdges() 
-{
-  return myNewEdges;
-}
-
-//=======================================================================
-//function : Affiche
-//purpose  : 
-//=======================================================================
-
-void Partition_Inter3d::Affiche(const TopTools_ListOfShape& SetOfFaces) const
-{
-#ifdef DEB
-  char PSection[1024];
-  char *section=PSection;
-  Standard_Integer i = 0;
-  Standard_Real j=1;
-  TopTools_ListOfShape aList;
-  TopTools_ListIteratorOfListOfShape it;
-  for (it.Initialize(SetOfFaces); it.More(); it.Next()) {
-    const TopoDS_Shape& OS = it.Value();
-    aList=myAsDes->Descendant(OS);
-    MESSAGE ( " the number of items stored in the list " << j << " :  " << aList.Extent() )
-    j++;
-    TopTools_ListIteratorOfListOfShape itaList;
-    for (itaList.Initialize(aList); itaList.More(); itaList.Next()) {
-      const TopoDS_Shape& SS = itaList.Value();
-      i++;
-      sprintf(PSection,"section_%d",i);
-      DBRep::Set(section,SS);  
-    }
-  }
-#endif
-}
-
-//=======================================================================
-//function : SameDomain
-//purpose  : 
-//=======================================================================
-
-const TopTools_ListOfShape& Partition_Inter3d::SameDomain(const TopoDS_Face& F) const
-{
-  if (mySameDomainFM.IsBound( F ))
-    return mySameDomainFM (F);
-
-  static TopTools_ListOfShape emptyList;
-  return emptyList;
-}
-
-//=======================================================================
-//function : HasSameDomainF
-//purpose  : Return true if F has same domain faces
-//=======================================================================
-
-Standard_Boolean Partition_Inter3d::HasSameDomainF(const TopoDS_Shape& F) const
-{
-  return mySameDomainFM.IsBound( F );
-}
-
-//=======================================================================
-//function : IsSameDomain
-//purpose  : Return true if F1 and F2 are same domain faces
-//=======================================================================
-
-Standard_Boolean Partition_Inter3d::IsSameDomainF(const TopoDS_Shape& F1,
-                                                const TopoDS_Shape& F2) const
-{
-  if (mySameDomainFM.IsBound( F1 )) {
-    TopTools_ListIteratorOfListOfShape it (mySameDomainFM( F1 ));
-    for (; it.More(); it.Next()) 
-      if (F2.IsSame( it.Value()))
-       return Standard_True;
-  }
-  return F1.IsSame( F2 );
-}
-
-//=======================================================================
-//function : ReplaceSameDomainV
-//purpose  : return same domain vertex of  V if it was replaced
-//           and make this vertex to be on E too, else return V
-//=======================================================================
-
-TopoDS_Vertex Partition_Inter3d::ReplaceSameDomainV(const TopoDS_Vertex& V,
-                                                   const TopoDS_Edge&   E) const
-{
-  TopoDS_Vertex SDV = V;
-  if (mySameDomainVM.IsBound( V )) {
-
-    TopoDS_Vertex V1,V2;
-    TopExp::Vertices(E,V1,V2);
-    Standard_Boolean isClosed = V1.IsSame( V2 ) && V.IsSame(V1);
-
-    SDV = TopoDS::Vertex( mySameDomainVM(V) );
-    Standard_Real tol = BRep_Tool::Tolerance( V );
-    BRep_Builder B;
-    SDV.Orientation( V.Orientation());
-
-    if (isClosed) {
-      Standard_Real f, l;
-      BRep_Tool::Range (E, f, l);
-      Standard_Boolean isFirst = IsEqual( BRep_Tool::Parameter(V,E), f );
-      B.UpdateVertex(SDV, (isFirst ? f : l), E, tol);
-      SDV.Reverse();
-      B.UpdateVertex(SDV, (isFirst ? l : f), E, tol);
-    }
-    else
-      B.UpdateVertex (SDV, BRep_Tool::Parameter(V,E), E, tol);
-      
-  }
-  return SDV;
-}
-
-//=======================================================================
-//function : SectionEdgesAD
-//purpose  : 
-//=======================================================================
-
-Handle(BRepAlgo_AsDes) Partition_Inter3d::SectionEdgesAD() const
-{
-  return mySectionEdgesAD;
-}
-
-//=======================================================================
-//function : IsSectionEdge
-//purpose  : return True if  E  is  an  edge  of  a face and it
-//           intersects an other face
-//=======================================================================
-
-Standard_Boolean
-  Partition_Inter3d::IsSectionEdge(const TopoDS_Edge& E) const
-{
-  return mySectionEdgesAD->HasAscendant(E);
-}
-
-//=======================================================================
-//function : HasSectionEdge
-//purpose  : return True if an  edge  of  F intersects an other
-//           face or F is intersected by edge of an other face
-//=======================================================================
-
-Standard_Boolean
-  Partition_Inter3d::HasSectionEdge(const TopoDS_Face& F) const
-{
-  return mySectionEdgesAD->HasDescendant(F);
-}
-
-//=======================================================================
-//function : IsSplitOn
-//purpose  : return True if NewE is split of OldE on F
-//=======================================================================
-
-Standard_Boolean
-  Partition_Inter3d::IsSplitOn(const TopoDS_Edge& NewE,
-                              const TopoDS_Edge& OldE,
-                              const TopoDS_Face& F) const
-{
-  if (! mySectionEdgesAD->HasDescendant(F))
-    return Standard_False;
-
-  TopTools_ListIteratorOfListOfShape itE ( mySectionEdgesAD->Descendant(F) );
-  for ( ; itE.More(); itE.Next()) {
-    if ( itE.Value().ShapeType() != TopAbs_EDGE ||
-       ! OldE.IsSame ( itE.Value() ))
-      continue;
-    // an edge encountered, its vertices and a split come next
-    itE.Next();
-    if (!itE.More()) break;
-    const TopoDS_Shape& V3 = itE.Value();
-    if (V3.ShapeType() != TopAbs_VERTEX) continue;
-    itE.Next();
-    if (!itE.More()) break;
-    const TopoDS_Shape& V4 = itE.Value();
-    if (V4.ShapeType() != TopAbs_VERTEX) continue;
-
-    TopoDS_Vertex V1, V2;
-    TopExp::Vertices( OldE, V1, V2);
-    
-    if ( V1.IsSame(V2) &&
-       (V1.IsSame(V3) || V1.IsSame(V4)) ) {
-      // closed old edge; use the split for the test 
-      itE.Next();
-      if (!itE.More()) break;
-      const TopoDS_Edge& split = TopoDS::Edge( itE.Value() );
-      // check distance at middle point of NewE
-      Standard_Real f1,l1, f2,l2;
-      Handle(Geom2d_Curve) PC1 = BRep_Tool::CurveOnSurface( split, F ,f1,l1);
-      if (!PC1.IsNull()) {
-       Handle(Geom2d_Curve) PC2 = BRep_Tool::CurveOnSurface(NewE, F ,f2,l2);
-       gp_Pnt2d P = PC2->Value( 0.5*(f2+l2) );
-       Geom2dAPI_ProjectPointOnCurve proj (P, PC1, f1, l1);
-       if (proj.NbPoints() &&
-           proj.LowerDistance() <= Precision::Confusion())
-         return Standard_True;
-      }
-      else {
-        Handle(Geom_Curve) C1 = BRep_Tool::Curve( split ,f1,l1);
-       Handle(Geom_Curve) C2 = BRep_Tool::Curve( NewE  ,f2,l2);
-       gp_Pnt P = C2->Value( 0.5*(f2+l2) );
-       GeomAPI_ProjectPointOnCurve proj (P, C1, f1, l1);
-       if (proj.NbPoints() &&
-           proj.LowerDistance() <= Precision::Confusion())
-         return Standard_True;
-      }
-    }
-    else {
-      Standard_Real u3 = BRep_Tool::Parameter( TopoDS::Vertex(V3), OldE);
-      Standard_Real u4 = BRep_Tool::Parameter( TopoDS::Vertex(V4), OldE);
-
-      Standard_Real f,l, u;
-      BRep_Tool::Range( NewE, f,l);
-      u = 0.5*(f+l);
-      f = Min(u3,u4);
-      l = Max(u3,u4);
-
-      if (u <= l && u >= f)
-        return Standard_True;
-    }
-  }
-  return Standard_False;
-}
-
-//=======================================================================
-//function : SectionEdgeFaces
-//purpose  : return faces cut by section edge
-//=======================================================================
-
-const TopTools_ListOfShape&
-  Partition_Inter3d::SectionEdgeFaces(const TopoDS_Edge& SecE) const
-{
-  return mySectionEdgesAD->Ascendant( SecE );
-}
diff --git a/src/PARTITION/Partition_Inter3d.hxx b/src/PARTITION/Partition_Inter3d.hxx
deleted file mode 100644 (file)
index 57e8da4..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter3d.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Inter3d_HeaderFile
-#define _Partition_Inter3d_HeaderFile
-
-#ifndef _Handle_BRepAlgo_AsDes_HeaderFile
-#include <Handle_BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class BRepAlgo_AsDes;
-class TopTools_ListOfShape;
-class TopTools_DataMapOfShapeShape;
-class TopoDS_Face;
-class TopTools_MapOfShape;
-class TopoDS_Shape;
-class TopoDS_Vertex;
-class TopoDS_Edge;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Inter3d  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT Partition_Inter3d();
-Standard_EXPORT Partition_Inter3d(const Handle(BRepAlgo_AsDes)& AsDes);
-Standard_EXPORT   void CompletPart3d(const TopTools_ListOfShape& SetOfFaces1,const TopTools_DataMapOfShapeShape& FaceShapeMap) ;
-Standard_EXPORT   void FacesPartition(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
-Standard_EXPORT   Standard_Boolean IsDone(const TopoDS_Face& F1,const TopoDS_Face& F2) const;
-Standard_EXPORT   TopTools_MapOfShape& TouchedFaces() ;
-Standard_EXPORT   Handle_BRepAlgo_AsDes AsDes() const;
-Standard_EXPORT   TopTools_MapOfShape& NewEdges() ;
-Standard_EXPORT   Standard_Boolean HasSameDomainF(const TopoDS_Shape& F) const;
-Standard_EXPORT   Standard_Boolean IsSameDomainF(const TopoDS_Shape& F1,const TopoDS_Shape& F2) const;
-Standard_EXPORT  const TopTools_ListOfShape& SameDomain(const TopoDS_Face& F) const;
-Standard_EXPORT   TopoDS_Vertex ReplaceSameDomainV(const TopoDS_Vertex& V,const TopoDS_Edge& E) const;
-Standard_EXPORT   Handle_BRepAlgo_AsDes SectionEdgesAD() const;
-Standard_EXPORT   Standard_Boolean IsSectionEdge(const TopoDS_Edge& E) const;
-Standard_EXPORT   Standard_Boolean HasSectionEdge(const TopoDS_Face& F) const;
-Standard_EXPORT   Standard_Boolean IsSplitOn(const TopoDS_Edge& NewE,const TopoDS_Edge& OldE,const TopoDS_Face& F) const;
-Standard_EXPORT  const TopTools_ListOfShape& SectionEdgeFaces(const TopoDS_Edge& SecE) const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT   void Inter3D(const TopoDS_Face& F1,const TopoDS_Face& F2,TopTools_ListOfShape& LInt) ;
-Standard_EXPORT   void StorePart3d(const TopoDS_Face& F1,const TopoDS_Face& F2,const TopTools_ListOfShape& LInt1) ;
-Standard_EXPORT   void SetDone(const TopoDS_Face& F1,const TopoDS_Face& F2) ;
-Standard_EXPORT   void Affiche(const TopTools_ListOfShape& SetOfFaces) const;
-
-
- // Fields PRIVATE
- //
-Handle_BRepAlgo_AsDes myAsDes;
-TopTools_DataMapOfShapeListOfShape myDone;
-TopTools_MapOfShape myTouched;
-TopTools_MapOfShape myNewEdges;
-Handle_BRepAlgo_AsDes mySectionEdgesAD;
-TopTools_DataMapOfShapeListOfShape mySameDomainFM;
-TopTools_DataMapOfShapeShape mySameDomainVM;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Inter3d.ixx b/src/PARTITION/Partition_Inter3d.ixx
deleted file mode 100644 (file)
index 0775cc9..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter3d.ixx
-//  Module : GEOM
-
-#include "Partition_Inter3d.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Inter3d.jxx b/src/PARTITION/Partition_Inter3d.jxx
deleted file mode 100644 (file)
index 5804ba8..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Inter3d.jxx
-//  Module : GEOM
-
-#ifndef _BRepAlgo_AsDes_HeaderFile
-#include <BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
-#include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _Partition_Inter3d_HeaderFile
-#include "Partition_Inter3d.hxx"
-#endif
diff --git a/src/PARTITION/Partition_Loop.cdl b/src/PARTITION/Partition_Loop.cdl
deleted file mode 100644 (file)
index eb6ec67..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
---  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
--- 
---  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. 
--- 
---  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
---
---
---
---  File   : Partition_Loop.cdl
---  Author : Benedicte MARTIN
---  Module : GEOM
-
-class Loop from Partition
-
-       ---Purpose: Builds the loops from a set of edges on a face.
-
-uses
-
-    Face                      from TopoDS,
-    Edge                      from TopoDS,
-    ListOfShape               from TopTools,
-    DataMapOfShapeListOfShape from TopTools
-
-is
-
-    Create;
-    
-    Init (me : in out; F : Face from TopoDS)
-       ---Purpose: Init with <F> the set of edges must have
-       --          pcurves on <F>. 
-    is static;
-    
-    AddEdge (me : in out; E  : in out Edge from TopoDS;
-                         LV : ListOfShape from TopTools)
-       ---Purpose: Add E with <LV>. <E> will be copied and trim 
-       --          by vertices in <LV>.
-    is static;
-    
-    AddConstEdge  (me : in out; E : Edge from TopoDS)
-       ---Purpose: Add <E> as const edge, E can be in the result.
-    is static;
-
-    Perform(me : in out)
-       ---Purpose: Make loops.
-    is static;
-    
-    NewWires (me)      
-       ---Purpose: Returns the list of wires performed. 
-       --          can be an empty list.
-       ---C++: return const &
-    returns ListOfShape from TopTools;
-       
-    WiresToFaces (me : in out)
-       ---Purpose:  Build faces from the wires result.
-    is static;
-    
-    NewFaces (me)
-        ---Purpose: Returns the list of faces.
-       ---Warning: The method <WiresToFaces> as to be called before.
-       --          can be an empty list.
-       ---C++: return const &
-    returns ListOfShape from TopTools;
-
-    
-fields
-
-    myFace       : Face                      from TopoDS;
-    myConstEdges : ListOfShape               from TopTools;
-    myNewWires   : ListOfShape               from TopTools;
-    myNewFaces   : ListOfShape               from TopTools;
-         
-end Loop;
diff --git a/src/PARTITION/Partition_Loop.cxx b/src/PARTITION/Partition_Loop.cxx
deleted file mode 100644 (file)
index 29386de..0000000
+++ /dev/null
@@ -1,467 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Loop.cxx
-//  Author : Benedicte MARTIN
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include <stdio.h>
-
-#include "Partition_Loop.ixx"
-
-#include "utilities.h"
-
-#include <BRep_Builder.hxx>
-#include <BRepAlgo_FaceRestrictor.hxx>
-#include <BRep_Tool.hxx>
-
-#include <Geom2d_Curve.hxx>
-#include <Geom_Surface.hxx>
-
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_MapOfOrientedShape.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-
-#include <gp_Pnt.hxx>
-#include <gp_Pnt2d.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopoDS_Iterator.hxx>
-
-#include <Precision.hxx>
-#include <BRep_TVertex.hxx>
-#include <BRep_TEdge.hxx>
-
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-static char* name = new char[100];
-static int nbe = 0;
-
-//=======================================================================
-//function : Partition_Loop
-//purpose  : 
-//=======================================================================
-Partition_Loop::Partition_Loop()
-{
-}
-
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-void Partition_Loop::Init(const TopoDS_Face& F)
-{
-  myConstEdges.Clear(); 
-  myNewWires  .Clear();
-  myNewFaces  .Clear();
-  myFace = F;
-}
-
-//=======================================================================
-//function : AddConstEdge
-//purpose  : 
-//=======================================================================
-void Partition_Loop::AddConstEdge (const TopoDS_Edge& E)
-{
-  myConstEdges.Append(E);
-}
-
-
-//=======================================================================
-//function : FindDelta
-//purpose  : 
-//=======================================================================
-static Standard_Real FindDelta(TopTools_ListOfShape& LE,
-                              const TopoDS_Face& F)
-{
-  Standard_Real dist, f, l;
-  Standard_Real d = Precision::Infinite();
-  TopTools_ListIteratorOfListOfShape itl;
-
-  for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-    const TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-    Handle(Geom2d_Curve) C = BRep_Tool::CurveOnSurface(E,F,f,l);
-    gp_Pnt2d p = C->Value(f);
-    gp_Pnt2d pp = C->Value(l);
-    Standard_Real d1 = p.Distance(pp);
-    if (d1<d) { d=d1;}
-  }
-  dist = d ;
-  return dist;
-}
-
-//=======================================================================
-//function : SelectEdge
-//purpose  : Find the edge <NE> connected <CE> by the vertex <CV> in the list <LE>.
-//           <NE> Is erased  of the list. If <CE> is too in the list <LE> 
-//                      with the same orientation, it's erased of the list 
-//=======================================================================
-static Standard_Boolean  SelectEdge(const TopoDS_Face&    F,
-                                   const TopoDS_Edge&    CE,
-                                   const TopoDS_Vertex&  CV,
-                                   TopoDS_Edge&          NE,
-                                   TopTools_ListOfShape& LE)
-{
-  TopTools_ListIteratorOfListOfShape itl;
-  NE.Nullify();
-  for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-    if (itl.Value().IsEqual(CE)) {
-      LE.Remove(itl);
-      break;
-    }
-  }
-
-  if (LE.Extent() > 1) {
-    //--------------------------------------------------------------
-    // Several possible edges.   
-    // - Test the edges differents of CE 
-    //--------------------------------------------------------------
-    Standard_Real   cf, cl, f, l;
-    TopoDS_Face FForward = F;
-    Handle(Geom2d_Curve) Cc, C;
-    FForward.Orientation(TopAbs_FORWARD);
-                       
-    Cc = BRep_Tool::CurveOnSurface(CE,FForward,cf,cl);
-    Standard_Real dist,distmin  = 100*BRep_Tool::Tolerance(CV);
-    Standard_Real uc,u;
-    if (CE.Orientation () == TopAbs_FORWARD) uc = cl;
-    else                                     uc = cf;
-
-    gp_Pnt2d P2,PV = Cc->Value(uc); 
-
-    Standard_Real delta = FindDelta(LE,FForward);
-
-    for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-      const TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-      if (!E.IsSame(CE)) {
-       C = BRep_Tool::CurveOnSurface(E,FForward,f,l);
-       if (E.Orientation () == TopAbs_FORWARD) u = f;
-       else                                    u = l;
-       P2 = C->Value(u);
-       dist = PV.Distance(P2);
-       if (dist <= distmin){
-         distmin = dist;
-       }
-                               
-      }
-    }
-
-    Standard_Real anglemax = - PI;
-    TopoDS_Edge   SelectedEdge;        
-    for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-      const TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-      if (!E.IsSame(CE)) {
-       C = BRep_Tool::CurveOnSurface(E,FForward,f,l);
-       if (E.Orientation () == TopAbs_FORWARD) u = f;
-       else                                    u = l;
-       P2 = C->Value(u);
-       dist = PV.Distance(P2);
-       if (dist <= distmin + (1./3)*delta){ 
-         gp_Pnt2d PC, P;
-         gp_Vec2d CTg1, CTg2, Tg1, Tg2;
-         Cc->D2(uc, PC, CTg1, CTg2);
-         C->D2(u, P, Tg1, Tg2);
-
-         Standard_Real angle;
-
-         if (CE.Orientation () == TopAbs_REVERSED && E.Orientation () == TopAbs_FORWARD) {
-           angle = CTg1.Angle(Tg1.Reversed());
-         }
-         else if (CE.Orientation () == TopAbs_FORWARD && E.Orientation () == TopAbs_REVERSED) {
-           angle = (CTg1.Reversed()).Angle(Tg1);
-         }
-         else if (CE.Orientation () == TopAbs_REVERSED && E.Orientation () == TopAbs_REVERSED) {
-           angle = CTg1.Angle(Tg1);
-         }
-         else if (CE.Orientation () == TopAbs_FORWARD && E.Orientation () == TopAbs_FORWARD) {
-           angle = (CTg1.Reversed()).Angle(Tg1.Reversed());
-         }
-         if (angle >= anglemax) {
-           anglemax = angle ;
-           SelectedEdge = E;   
-         }
-       }
-      }
-    }
-    for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-      const TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-      if (E.IsEqual(SelectedEdge)) {
-       NE = TopoDS::Edge(E);
-       LE.Remove(itl);
-       break;
-      }
-    }                                  
-  }
-  else if (LE.Extent() == 1) {
-    NE = TopoDS::Edge(LE.First());
-    LE.RemoveFirst();
-  }
-  else {
-    return Standard_False;
-  }
-  return Standard_True;
-}
-
-//=======================================================================
-//function : SamePnt2d
-//purpose  : 
-//=======================================================================
-static Standard_Boolean  SamePnt2d(TopoDS_Vertex  V,
-                                  TopoDS_Edge&   E1,
-                                  TopoDS_Edge&   E2,
-                                  TopoDS_Face&   F)
-{
-  Standard_Real   f1,f2,l1,l2;
-  gp_Pnt2d        P1,P2;
-  TopoDS_Shape aLocalF = F.Oriented(TopAbs_FORWARD);
-  TopoDS_Face FF = TopoDS::Face(aLocalF);
-  Handle(Geom2d_Curve) C1 = BRep_Tool::CurveOnSurface(E1,FF,f1,l1);  
-  Handle(Geom2d_Curve) C2 = BRep_Tool::CurveOnSurface(E2,FF,f2,l2);  
-  if (E1.Orientation () == TopAbs_FORWARD) P1 = C1->Value(f1);
-  else                                     P1 = C1->Value(l1);
-  
-  if (E2.Orientation () == TopAbs_FORWARD) P2 = C2->Value(l2);
-  else                                     P2 = C2->Value(f2);
-  Standard_Real Tol  = 100*BRep_Tool::Tolerance(V);
-  Standard_Real Dist = P1.Distance(P2);
-  return Dist < Tol; 
-}
-
-//=======================================================================
-//function : PurgeNewEdges
-//purpose  : 
-//=======================================================================
-static void  PurgeNewEdges(TopTools_ListOfShape& ConstEdges,
-                          const TopTools_MapOfOrientedShape&          UsedEdges)
-{
-  TopTools_ListIteratorOfListOfShape it(ConstEdges);
-  while ( it.More()) {
-    const TopoDS_Shape& NE = it.Value();
-    if (!UsedEdges.Contains(NE)) {
-      ConstEdges.Remove(it);
-    }
-    else {
-      it.Next();
-    }
-  }  
-}
-
-//=======================================================================
-//function : StoreInMVE
-//purpose  : 
-//=======================================================================
-static void StoreInMVE (const TopoDS_Face& F,
-                       TopoDS_Edge& E,
-                       TopTools_DataMapOfShapeListOfShape& MVE )
-
-{ 
-  TopoDS_Vertex V1, V2;
-  TopTools_ListOfShape Empty;
-
-  TopExp::Vertices(E,V1,V2);
-  if (!MVE.IsBound(V1)) {
-    MVE.Bind(V1,Empty);
-  }
-  MVE(V1).Append(E);
-       
-  if (!MVE.IsBound(V2)) {
-    MVE.Bind(V2,Empty);
-  }
-  MVE(V2).Append(E);
-}
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-void Partition_Loop::Perform()
-{
-
-  TopTools_DataMapOfShapeListOfShape MVE;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape Mapit, Mapit1;  
-  TopTools_ListIteratorOfListOfShape                  itl;
-  TopoDS_Vertex                                       V1,V2;
-
-  //-----------------------------------
-  // Construction map vertex => edges
-  //-----------------------------------
-  for (itl.Initialize(myConstEdges); itl.More(); itl.Next()) {
-    TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-    StoreInMVE(myFace,E,MVE);
-  }
-
-  //----------------------------------------------
-  // Construction of all the wires and of all the new faces. 
-  //----------------------------------------------
-  TopTools_MapOfOrientedShape UsedEdges;
-
-  while (!MVE.IsEmpty()) {
-    TopoDS_Vertex    VF,CV;
-    TopoDS_Edge      CE,NE,EF;
-    TopoDS_Wire      NW;
-    BRep_Builder     B;
-    Standard_Boolean End= Standard_False;
-
-    B.MakeWire(NW);
-    //--------------------------------
-    // EF first edge.
-    //--------------------------------
-    Mapit.Initialize(MVE);
-    EF = CE = TopoDS::Edge(Mapit.Value().First());
-
-    TopExp::Vertices(CE,V1,V2);
-    //--------------------------------
-    // VF first vertex 
-    //--------------------------------
-    if (CE.Orientation() == TopAbs_FORWARD) { 
-      CV = VF = V1;
-    }
-    else  { 
-      CV = VF = V2;
-    }
-    if (!MVE.IsBound(CV)) continue;
-    for ( itl.Initialize(MVE(CV)); itl.More(); itl.Next()) {
-      if (itl.Value().IsEqual(CE)) {
-       MVE(CV).Remove(itl);
-       break;
-      }
-    }
-
-    int i = 0;
-    while (!End) { 
-      //-------------------------------
-      // Construction of a wire.
-      //-------------------------------
-      TopExp::Vertices(CE,V1,V2);
-      if (!CV.IsSame(V1)) CV = V1; else CV = V2; 
-      B.Add (NW,CE);
-      UsedEdges.Add(CE);
-
-      //--------------
-      // stop test
-      //--------------                 
-      if (!MVE.IsBound(CV) || MVE(CV).IsEmpty() || CV.IsSame(VF) ) {
-       if (CV.IsSame(VF)) {
-         if (MVE(CV).Extent() == 1 ) MVE.UnBind(CV);
-         else {
-           for ( itl.Initialize(MVE(CV)); itl.More(); itl.Next()) {
-             if (itl.Value().IsEqual(CE)) {
-               MVE(CV).Remove(itl);
-               break;
-             }
-           }
-         }
-       }
-       End=Standard_True;
-      } 
-
-      //--------------
-      // select edge
-      //--------------
-      else {
-       Standard_Boolean find = SelectEdge(myFace,CE,CV,NE,MVE(CV));
-       if (find) {
-         CE=NE;
-         if (MVE(CV).IsEmpty()) MVE.UnBind(CV);
-         if (CE.IsNull() ) {
-           MESSAGE ( " CE is  NULL !!! " )
-           End=Standard_True;
-         }
-       }
-       else {
-         MESSAGE ( " edge doesn't exist " )
-         End=Standard_True;
-       }
-      }
-    }
-
-    //-----------------------------
-    // Test if the wire is closed  
-    //-----------------------------
-    if (VF.IsSame(CV) && SamePnt2d(VF,EF,CE,myFace)) {
-    }
-    else{
-      MESSAGE ( "wire not closed" )
-    }
-    myNewWires.Append (NW);                    
-  }
-
-  PurgeNewEdges(myConstEdges,UsedEdges);
-
-}
-
-
-//=======================================================================
-//function : NewWires
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape&  Partition_Loop::NewWires() const 
-{  
-  return myNewWires;
-}
-
-//=======================================================================
-//function : NewFaces
-//purpose  : 
-//=======================================================================
-const TopTools_ListOfShape&  Partition_Loop::NewFaces() const 
-{  
-  return myNewFaces;
-}
-//=======================================================================
-//function : WiresToFaces
-//purpose  : 
-//=======================================================================
-void  Partition_Loop::WiresToFaces() 
-{  
-  if (!myNewWires.IsEmpty()) {
-    BRepAlgo_FaceRestrictor FR;
-
-    TopAbs_Orientation OriF = myFace.Orientation();
-    TopoDS_Shape aLocalS = myFace.Oriented(TopAbs_FORWARD);
-
-    FR.Init (TopoDS::Face(aLocalS),Standard_False);
-    TopTools_ListIteratorOfListOfShape it(myNewWires);
-    for (; it.More(); it.Next()) {
-      FR.Add(TopoDS::Wire(it.Value()));
-    }
-
-    FR.Perform();
-    
-    if (FR.IsDone()) {
-      for (; FR.More(); FR.Next()) {
-       myNewFaces.Append(FR.Current().Oriented(OriF));
-      }
-    }
-  }
-}
diff --git a/src/PARTITION/Partition_Loop.hxx b/src/PARTITION/Partition_Loop.hxx
deleted file mode 100644 (file)
index 9e9226d..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Loop.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Loop_HeaderFile
-#define _Partition_Loop_HeaderFile
-
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#endif
-class TopoDS_Face;
-class TopoDS_Edge;
-class TopTools_ListOfShape;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Loop  {
-
-public:
-
-    inline void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    inline void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    inline void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
-//    inline void  operator delete(void *anAddress, size_t size) 
-//      { 
-//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
-//      }
- // Methods PUBLIC
- // 
-Standard_EXPORT Partition_Loop();
-Standard_EXPORT   void Init(const TopoDS_Face& F) ;
-Standard_EXPORT   void AddConstEdge(const TopoDS_Edge& E) ;
-Standard_EXPORT   void Perform() ;
-Standard_EXPORT  const TopTools_ListOfShape& NewWires() const;
-Standard_EXPORT   void WiresToFaces() ;
-Standard_EXPORT  const TopTools_ListOfShape& NewFaces() const;
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Face myFace;
-TopTools_ListOfShape myConstEdges;
-TopTools_ListOfShape myNewWires;
-TopTools_ListOfShape myNewFaces;
-
-
-};
-
-
-
-
-
-// other inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Loop.ixx b/src/PARTITION/Partition_Loop.ixx
deleted file mode 100644 (file)
index 1c40e72..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Loop.ixx
-//  Module : GEOM
-
-#include "Partition_Loop.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Loop.jxx b/src/PARTITION/Partition_Loop.jxx
deleted file mode 100644 (file)
index dd86f05..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Loop.jxx
-//  Module : GEOM
-
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _Partition_Loop_HeaderFile
-#include "Partition_Loop.hxx"
-#endif
diff --git a/src/PARTITION/Partition_Loop2d.cdl b/src/PARTITION/Partition_Loop2d.cdl
deleted file mode 100644 (file)
index 7a6656e..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  CEA/DEN, EDF R&D
---
---
---
---  File   : Partition_Loop2d.cdl
---  Author : Benedicte MARTIN
---  Module : GEOM
-
-class Loop2d from Partition
-
-        ---Purpose: Builds the loops from a set of edges on a face.
-       --          It works in  supposition  that  all constant edges
-       --          are split edges of  an initialization face and all
-       --          section edges are new on the face
-
-uses
-
-    Orientation               from TopAbs,
-    Boolean                   from Standard,
-    Face                      from TopoDS,
-    Image                     from BRepAlgo,
-    Face                      from TopoDS,
-    Edge                      from TopoDS,
-    ListOfShape               from TopTools,
-    DataMapOfShapeListOfShape from TopTools,
-    MapOfShape                from TopTools
-is
-
-    Create;
-    
-    Init (me : in out; F : Face from TopoDS)
-       ---Purpose: Init with <F> the set of edges must have
-       --          pcurves on <F>. 
-    is static;
-    
-    AddConstEdge  (me : in out; E : Edge from TopoDS)
-       ---Purpose: Add <E> as unique edge in the result.
-    is static;
-
-    AddSectionEdge  (me : in out; E : Edge from TopoDS)
-       ---Purpose: Add <E> as double edge in the result.
-    is static;
-
-    Perform(me : in out)
-       ---Purpose: Make loops.
-    is static;
-    
-    NewWires (me)      
-       ---Purpose: Returns the list of wires performed. 
-       --          can be an empty list.
-       ---C++: return const &
-    returns ListOfShape from TopTools;
-       
-    WiresToFaces (me : in out; EdgeImage : Image      from BRepAlgo)
-       ---Purpose:  Build faces from the wires result.
-       --           <EdgeImage> serves to  find  original edge by new
-       --           one.
-    is static;
-    
-    NewFaces (me)
-        ---Purpose: Returns the list of faces.
-       ---Warning: The method <WiresToFaces> as to be called before.
-       --          can be an empty list.
-       ---C++: return const &
-    returns ListOfShape from TopTools;
-
-    
-fields
-
-    myFace       : Face        from TopoDS;
-    myFaceOri    : Orientation from TopAbs;
-    myConstEdges : ListOfShape from TopTools;
-    myNewWires   : ListOfShape from TopTools;
-    myNewFaces   : ListOfShape from TopTools;
-
-     -- internal wires do not contain constant edges
-    myInternalWL : ListOfShape from TopTools;
-    
-    mySectionEdges : MapOfShape from TopTools;
-    
-end Loop2d;
diff --git a/src/PARTITION/Partition_Loop2d.cxx b/src/PARTITION/Partition_Loop2d.cxx
deleted file mode 100644 (file)
index 05e0177..0000000
+++ /dev/null
@@ -1,1138 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R& D
-//
-//
-//
-//  File   : Partition_Loop2d.cxx
-//  Author : Benedicte MARTIN
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "Partition_Loop2d.ixx"
-
-#include "utilities.h"
-#include <stdio.h>
-
-#include <BRepAdaptor_Curve2d.hxx>
-#include <BRepAdaptor_Surface.hxx>
-#include <BRepAlgo_AsDes.hxx>
-#include <BRepAlgo_FaceRestrictor.hxx>
-#include <BRepOffset_DataMapOfShapeReal.hxx>
-#include <BRepTopAdaptor_FClass2d.hxx>
-#include <BRep_Builder.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom2dInt_GInter.hxx>
-#include <Geom2d_Curve.hxx>
-#include <IntRes2d_IntersectionPoint.hxx>
-#include <Precision.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TColStd_SequenceOfReal.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
-#include <TopTools_DataMapOfShapeInteger.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_MapOfOrientedShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pnt2d.hxx>
-
-//=======================================================================
-//function : Partition_Loop2d
-//purpose  :
-//=======================================================================
-
-Partition_Loop2d::Partition_Loop2d()
-{
-}
-
-//=======================================================================
-//function : Init
-//purpose  : Init with <F> the set of edges must have
-//           pcurves on <F>.
-//=======================================================================
-
-void Partition_Loop2d::Init(const TopoDS_Face& F)
-{
-  myConstEdges.Clear();
-  myNewWires  .Clear();
-  myNewFaces  .Clear();
-  myFace = F;
-  myFaceOri = myFace.Orientation();
-  myFace.Orientation( TopAbs_FORWARD );
-}
-
-//=======================================================================
-//function : AddConstEdge
-//purpose  : Add <E> as unique edge in the result.
-//=======================================================================
-
-void Partition_Loop2d::AddConstEdge (const TopoDS_Edge& E)
-{
-#ifdef DEB
-  Standard_Real f,l;
-  Handle(Geom2d_Curve) pc = BRep_Tool::CurveOnSurface( E, myFace, f,l);
-  if (pc.IsNull()) {
-    INFOS( "AddConstEdge(): EDGE W/O PCURVE on FACE");
-  } else
-#endif
-  {
-    myConstEdges.Append(E);
-  }
-}
-
-void Partition_Loop2d::AddSectionEdge (const TopoDS_Edge& E)
-{
-#ifdef DEB
-  Standard_Real f,l;
-  Handle(Geom2d_Curve) pc = BRep_Tool::CurveOnSurface( E, myFace, f,l);
-  if (pc.IsNull())
-    pc = BRep_Tool::CurveOnSurface( E, myFace, f,l);
-  gp_Vec2d Tg1;
-  gp_Pnt2d PC;
-  pc->D1(0.5*(f+l), PC, Tg1);
-  if (Tg1.Magnitude()  <= gp::Resolution()) {
-    MESSAGE ("");
-  }
-  if (pc.IsNull()) {
-    INFOS( "AddConstEdge(): EDGE W/O PCURVE on FACE");
-  } else
-#endif
-  {
-    myConstEdges.Append(E);
-    myConstEdges.Append(E.Reversed());
-    mySectionEdges.Add( E );
-  }
-}
-
-//=======================================================================
-//function : preciseU
-//purpose  : find u such that the 3D point on theE is just out of tolerance
-//           of theV
-//=======================================================================
-
-static Standard_Real preciseU (const BRepAdaptor_Surface&  theSurf,
-                               const TopoDS_Edge&          theE,
-                               const TopoDS_Vertex&        theV,
-                               const Handle(Geom2d_Curve)& theC,
-                               const Standard_Boolean      theFirstEnd)
-{
-  Standard_Boolean isForward = ( theE.Orientation () == TopAbs_FORWARD );
-  if (theFirstEnd) isForward = !isForward;
-
-  // find the first point in 2d and 3d
-  Standard_Real f,l;
-  BRep_Tool::Range( theE, f, l );
-  Standard_Real u0 = isForward ? l : f;
-  gp_Pnt2d aP2d0 = theC->Value( u0 );
-  gp_Pnt aPnt0 = theSurf.Value( aP2d0.X(), aP2d0.Y() );
-
-  // shift in 2d and 3d
-  Standard_Real du = ( l - f ) / 100, du3d = 0;
-  if (isForward)
-    du = -du;
-
-  // target parameter
-  Standard_Real u;
-
-  while (du3d < ::RealSmall())
-  {
-    // u for test
-    u = u0 + du;
-    du *= 10; // for the next iteration: increase du untill du3d is large enough
-
-    // find out how u is far from u0 in 3D
-    gp_Pnt2d aP2d  = theC->Value( u );
-    gp_Pnt aPnt  = theSurf.Value( aP2d.X(), aP2d.Y() );
-    du3d = aPnt0.Distance( aPnt );
-  }
-
-  // find u such that the 3D point is just out of tolerance of theV
-  Standard_Real tolV = BRep_Tool::Tolerance( theV ) + Precision::Confusion();
-  u = u0 + du * tolV / du3d;
-
-  // check that u is within the range
-  if ( isForward ? (u < f) : (u > l) )
-    u = u0 + du;
-
-  return u;
-}
-
-//=======================================================================
-//function : SelectEdge
-//purpose  : Find in the list <LE> the edge <NE> connected with <CE> by
-//           the vertex <CV>.
-//           <NE> is removed from the list. If <CE> is in <LE>
-//           with the same orientation, it's removed from the list
-//=======================================================================
-
-static Standard_Boolean  SelectEdge(const BRepAdaptor_Surface& Surf,
-                                    const TopoDS_Edge&    CE,
-                                    const TopoDS_Vertex&  CV,
-                                    TopoDS_Edge&          NE,
-                                    const TopTools_ListOfShape& LE)
-{
-  NE.Nullify();
-
-  if (LE.Extent() > 1) {
-    //--------------------------------------------------------------
-    // Several possible edges.
-    // - Test the edges differents of CE
-    //--------------------------------------------------------------
-    TopoDS_Face FForward = Surf.Face();
-    TopoDS_Edge aPrevNE;
-
-    gp_Vec2d CTg1, Tg1, CTg2, Tg2;
-    gp_Pnt2d PC, P;
-
-    Standard_Real f, l;
-    Handle(Geom2d_Curve) Cc, C;
-    Cc = BRep_Tool::CurveOnSurface(CE,FForward,f,l);
-
-    Standard_Boolean isForward = ( CE.Orientation () == TopAbs_FORWARD );
-    Standard_Real uc, u, du = Precision::PConfusion();
-    uc = isForward ? ( l - du ) : ( f + du );
-    Cc->D1(uc, PC, CTg1);
-    if (!isForward) CTg1.Reverse();
-
-    Standard_Real anglemin = 3 * PI, tolAng = 1.e-8;
-
-    // select an edge whose first derivative is most left of CTg1
-    // ie an angle between Tg1 and CTg1 is least
-    TopTools_ListIteratorOfListOfShape itl;
-    for ( itl.Initialize(LE); itl.More(); itl.Next()) {
-      const TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-      if (E.IsSame(CE))
-        continue;
-      if (! CV.IsSame( TopExp::FirstVertex( E, Standard_True )))
-        continue;
-
-      isForward = ( E.Orientation () == TopAbs_FORWARD );
-
-      // get E curve
-      C = BRep_Tool::CurveOnSurface(E,FForward,f,l);
-      // get the first derivative Tg1
-      u = isForward ? ( f + du ) : ( l - du );
-      C->D1(u, P, Tg1);
-      if (!isForward) Tg1.Reverse();
-
-      // -PI < angle < PI
-      Standard_Real angle = Tg1.Angle(CTg1);
-
-      if (PI - Abs(angle) <= tolAng)
-      {
-        // an angle is too close to PI; assure that an angle sign really
-        // reflects an edge position: +PI - an edge is worst,
-        // -PI - an edge is best.
-        u = preciseU( Surf, CE, CV, Cc, Standard_False);
-        gp_Vec2d CTg;
-        Cc->D1(u, PC, CTg);
-        if (CE.Orientation() == TopAbs_REVERSED) CTg.Reverse();
-
-        u = preciseU( Surf, E, CV, C, Standard_True);
-        C->D1(u, P, Tg1);
-        if (!isForward) Tg1.Reverse();
-
-        angle = Tg1.Angle(CTg);
-      }
-
-      Standard_Boolean isClose = ( Abs( angle - anglemin ) <= tolAng );
-      if (angle <= anglemin) {
-        if (isClose)
-          aPrevNE = NE;
-        else
-          aPrevNE.Nullify();
-        anglemin = angle ;
-        NE = E;
-      }
-      else
-        if (isClose)
-          aPrevNE = E;
-
-    }
-    if (!aPrevNE.IsNull()) {
-      // select one of close edges, the most left one.
-      Cc = BRep_Tool::CurveOnSurface( NE, FForward, f, l );
-      uc = preciseU( Surf, NE, CV, Cc, Standard_True);
-      Cc->D1(uc, PC, CTg1);
-      if (NE.Orientation() != TopAbs_FORWARD) CTg1.Reverse();
-      
-      u = preciseU( Surf, aPrevNE, CV, C, Standard_True);
-      C->D1(u, P, Tg1);
-      if (aPrevNE.Orientation() != TopAbs_FORWARD) Tg1.Reverse();
-
-      if ( Tg1.Angle(CTg1) < 0)
-        NE = aPrevNE;
-    }
-  }
-  else if (LE.Extent() == 1) {
-    NE = TopoDS::Edge(LE.First());
-  }
-  else {
-    return Standard_False;
-  }
-  return !NE.IsNull();
-}
-
-//=======================================================================
-//function : SamePnt2d
-//purpose  :
-//=======================================================================
-
-static Standard_Boolean  SamePnt2d(const TopoDS_Vertex& V1,
-                                   const TopoDS_Edge&   E1,
-                                   const TopoDS_Vertex& V2,
-                                   const TopoDS_Edge&   E2,
-                                   const TopoDS_Face&   F)
-{
-  Standard_Real   f1,f2,l1,l2;
-  Handle(Geom2d_Curve) C1 = BRep_Tool::CurveOnSurface(E1,F,f1,l1);
-  Handle(Geom2d_Curve) C2 = BRep_Tool::CurveOnSurface(E2,F,f2,l2);
-
-  gp_Pnt2d P1 = C1->Value( BRep_Tool::Parameter(V1,E1));
-  gp_Pnt2d P2 = C2->Value( BRep_Tool::Parameter(V2,E2));
-
-  Standard_Real Tol  = 100 * BRep_Tool::Tolerance(V1);
-  Standard_Real Dist = P1.Distance(P2);
-  return Dist < Tol;
-}
-
-
-//=======================================================================
-//function : StoreInMVE
-//purpose  :
-//=======================================================================
-
-static void StoreInMVE (const TopoDS_Face& /*F*/,
-                        TopoDS_Edge& E,
-                        TopTools_DataMapOfShapeListOfShape& MVE )
-
-{
-  TopoDS_Vertex V1, V2;
-  TopTools_ListOfShape Empty;
-
-  TopExp::Vertices(E,V1,V2);
-  if (!MVE.IsBound(V1)) {
-    MVE.Bind(V1,Empty);
-  }
-  MVE(V1).Append(E);
-
-  if (!MVE.IsBound(V2)) {
-    MVE.Bind(V2,Empty);
-  }
-  MVE(V2).Append(E);
-}
-
-//=======================================================================
-//function : RemoveFromMVE
-//purpose  :
-//=======================================================================
-
-static void RemoveFromMVE(const TopoDS_Edge& E,
-                          TopTools_DataMapOfShapeListOfShape& MVE)
-{
-  TopTools_ListIteratorOfListOfShape itl;
-  TopoDS_Vertex  V1,V2;
-  TopExp::Vertices (E,V1,V2);
-  if (MVE.IsBound(V1))
-    for ( itl.Initialize(MVE(V1)); itl.More(); itl.Next()) {
-      if (itl.Value().IsEqual(E)) {
-        MVE(V1).Remove(itl);
-        break;
-      }
-    }
-  if (MVE.IsBound(V2))
-    for ( itl.Initialize(MVE(V2)); itl.More(); itl.Next()) {
-      if (itl.Value().IsEqual(E)) {
-        MVE(V2).Remove(itl);
-        break;
-      }
-    }
-}
-//=======================================================================
-//function : addConnected
-//purpose  : add to <EM> all edges reachable from <E>
-//=======================================================================
-
-static void addConnected(const TopoDS_Shape& E,
-                         TopTools_MapOfShape& EM,
-                         TopTools_MapOfShape& VM,
-                         const TopTools_DataMapOfShapeListOfShape& MVE)
-{
-  // Loop on vertices of E
-  TopoDS_Iterator itV ( E );
-  for ( ; itV.More(); itV.Next()) {
-
-    if ( ! VM.Add ( itV.Value() )) continue;
-
-    // Loop on edges sharing V
-    TopTools_ListIteratorOfListOfShape itE( MVE( itV.Value() ) );
-    for (; itE.More(); itE.Next()) {
-      if ( EM.Add( itE.Value() ))
-        addConnected ( itE.Value(), EM, VM, MVE );
-    }
-  }
-}
-//=======================================================================
-//function : canPassToOld
-//purpose  :
-//=======================================================================
-
-// static Standard_Boolean canPassToOld (const TopoDS_Shape& V,
-//                                    TopTools_MapOfShape& UsedShapesMap,
-//                                    const TopTools_DataMapOfShapeListOfShape& MVE,
-//                                    const TopTools_MapOfShape& SectionEdgesMap)
-// {
-//   TopTools_ListIteratorOfListOfShape itE( MVE(V) );
-//   // Loop on edges sharing V
-//   for (; itE.More(); itE.Next()) {
-//     if ( !UsedShapesMap.Add( itE.Value() ))
-//       continue; // already checked
-
-//     if ( !SectionEdgesMap.Contains( itE.Value() ))
-//       return Standard_True; // WE PASSED
-
-//     TopoDS_Iterator itV( itE.Value() );
-//     // Loop on vertices of an edge
-//     for (; itV.More(); itV.Next()) {
-//       if ( !UsedShapesMap.Add( itV.Value() ))
-//      continue; // already checked
-//       else
-//      return canPassToOld( itV.Value(), UsedShapesMap, MVE, SectionEdgesMap);
-//     }
-//   }
-//   return Standard_False;
-// }
-
-//=======================================================================
-//function : MakeDegenAndSelect
-//purpose  : Find parameter of intersection of <CE> with <DE> and
-//           select an edge with its parameter closest to found one.
-//           Return new degenerated edge trimming <DE> by found parameters
-//=======================================================================
-
-static TopoDS_Edge MakeDegenAndSelect(const TopoDS_Edge& CE,
-                                      const TopoDS_Vertex& CV,
-                                      TopoDS_Edge& NE,
-                                      TopTools_SequenceOfShape& EdgesSeq,
-                                      TColStd_SequenceOfReal& USeq,
-                                      const TopoDS_Edge& DE)
-{
-  if (EdgesSeq.Length() < 3) {
-    if (CE == EdgesSeq.First())
-      NE = TopoDS::Edge( EdgesSeq.Last() );
-    else
-      NE = TopoDS::Edge( EdgesSeq.First() );
-    return DE;
-  }
-
-  // find parameter on DE where it intersects CE
-
-  Standard_Real U1;
-  Standard_Integer i, nb = EdgesSeq.Length();
-  for (i=1; i<= nb; ++i) {
-    if (CE == EdgesSeq(i)) {
-      U1 = USeq(i);
-      break;
-    }
-  }
-
-  // select NE with param closest to U1 thus finding U2 for a new degen edge
-
-  Standard_Real U2, dU, dUmin = 1.e100;
-  Standard_Boolean isReversed = ( DE.Orientation() == TopAbs_REVERSED );
-  for (i=1; i<= nb; ++i) {
-    dU = USeq(i) - U1;
-    if (isReversed ? (dU > 0) : (dU < 0))
-        continue;
-    dU = Abs( dU );
-    if ( dU  > dUmin || IsEqual( dU, 0.))
-      continue;
-    const TopoDS_Edge& E = TopoDS::Edge ( EdgesSeq(i) );
-    if ( ! CV.IsSame( TopExp::FirstVertex( E , Standard_True )))
-      continue;
-    NE = E;
-    dUmin = dU + Epsilon(dU);
-    U2 = USeq(i);
-  }
-
-  // make a new degenerated edge
-  TopoDS_Edge NewDegen = TopoDS::Edge ( DE.EmptyCopied() );
-
-  Standard_Real Tol = BRep_Tool::Tolerance( CV );
-  TopoDS_Vertex V = CV;
-
-  BRep_Builder B;
-  V.Orientation( NewDegen.Orientation() );
-  B.UpdateVertex( V, U1, NewDegen, Tol);
-  B.Add ( NewDegen , V );
-
-  V.Reverse();
-  B.UpdateVertex( V, U2, NewDegen, Tol);
-  B.Add ( NewDegen , V );
-
-  return NewDegen;
-}
-
-//=======================================================================
-//function : prepareDegen
-//purpose  : Intersect <DegEdge> with edges bound to its vertex in <MVE>
-//           and store intersection parameter on <DegEdge> in
-//           <USeq> as well as the edges them-self in <EdgesSeq>.
-//           Bind <DegEdgeIndex> to vertex of <DegEdge> in <MVDEI>
-//=======================================================================
-
-static void prepareDegen (const TopoDS_Edge&                        DegEdge,
-                          const TopoDS_Face&                        F,
-                          const TopTools_DataMapOfShapeListOfShape& MVE,
-                          TopTools_SequenceOfShape&                 EdgesSeq,
-                          TColStd_SequenceOfReal&                   USeq,
-                          TopTools_DataMapOfShapeInteger&           MVDEI,
-                          const Standard_Integer                    DegEdgeIndex)
-{
-  const TopoDS_Vertex& V = TopExp::FirstVertex ( DegEdge );
-  MVDEI.Bind ( V, DegEdgeIndex );
-
-  const TopTools_ListOfShape& EdgesList = MVE ( V );
-  // if only 2 edges come to degenerated one, no pb in selection and
-  // no need to intersect them, just simulate asked data
-  Standard_Boolean doIntersect =  ( EdgesList.Extent() > 2 );
-
-  BRepAdaptor_Curve2d DC, C;
-  Geom2dInt_GInter InterCC;
-  Standard_Real Tol = Precision::PConfusion();
-  if ( doIntersect )
-    DC.Initialize( DegEdge, F );
-
-  // avoid intersecting twice the same edge
-  BRepOffset_DataMapOfShapeReal EUMap ( EdgesList.Extent() );
-
-  Standard_Real U, f, l;
-  BRep_Tool::Range (DegEdge, f, l);
-
-  TopTools_ListIteratorOfListOfShape itE (EdgesList);
-  for (; itE.More(); itE.Next()) {
-
-    const TopoDS_Edge& E = TopoDS::Edge ( itE.Value() );
-
-    if ( !doIntersect) {
-      U = 0.; // it won't be used
-    }
-    else if ( BRep_Tool::IsClosed( E, F )) {
-      // seam edge: select U among f and l
-      Standard_Boolean first = Standard_True;
-      if ( V.IsSame ( TopExp::FirstVertex( E, Standard_True ) ))
-        first = Standard_False;
-      if ( DegEdge.Orientation() == TopAbs_REVERSED )
-        first = !first;
-      U = first ? f : l;
-    }
-    else if ( EUMap.IsBound( E ) ) {
-      // same edge already bound
-      U = EUMap( E );
-    }
-    else {
-      // intersect 2d curves
-      C.Initialize( E, F );
-      InterCC.Perform ( DC, C , Tol, Tol );
-      if (! InterCC.IsDone() || InterCC.NbPoints() == 0) {
-        MESSAGE ( "NO 2d INTERSECTION ON DEGENERATED EDGE" );
-        continue;
-      }
-      // hope there is only one point of intersection
-      U = InterCC.Point( 1 ).ParamOnFirst();
-    }
-    USeq.Append ( U );
-    EdgesSeq.Append ( E );
-  }
-}
-//=======================================================================
-//function : Perform
-//purpose  : Make loops.
-//=======================================================================
-
-void Partition_Loop2d::Perform()
-{
-
-  Standard_Integer NbConstEdges = myConstEdges.Extent();
-  TopTools_DataMapOfShapeListOfShape MVE(NbConstEdges) , MVE2(NbConstEdges);
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape Mapit;
-  TopTools_ListIteratorOfListOfShape itl;
-  TopoDS_Vertex V1,V2;
-  BRepAdaptor_Surface Surface ( myFace, Standard_False );
-
-  // degenerated edges and parameters of their 2d intersection with other edges
-  TopoDS_Edge                    DE [2];
-  TopTools_SequenceOfShape       SEID [2]; // seq of edges intersecting degenerated
-  TColStd_SequenceOfReal         SeqU [2]; // n-th U corresponds to n-th edge in SEID
-  TopTools_DataMapOfShapeInteger MVDEI(2); // map vertex - degenerated edge index
-  Standard_Integer               iDeg = 0; // index of degenerated edge [0,1]
-
-  //---------------------------------------------------------
-  // Construction map vertex => edges, find degenerated edges
-  //---------------------------------------------------------
-  for (itl.Initialize(myConstEdges); itl.More(); itl.Next()) {
-    TopoDS_Edge& E = TopoDS::Edge(itl.Value());
-    if ( BRep_Tool::Degenerated( E )) {
-      if (DE[0].IsNull()) DE[0] = E;
-      else                DE[1] = E;
-    }
-    else
-      StoreInMVE(myFace,E,MVE);
-  }
-
-  // fill data for degenerated edges
-  if ( ! DE[0].IsNull() )
-    prepareDegen ( DE[0], myFace, MVE, SEID[0], SeqU[0], MVDEI, 0);
-  if ( ! DE[1].IsNull() )
-    prepareDegen ( DE[1], myFace, MVE, SEID[1], SeqU[1], MVDEI, 1);
-
-
-  // to detect internal wires
-  Standard_Boolean isInternCW = 0;
-  MVE2 = MVE;
-
-
-  //------------------------------
-  // Construction of all the wires
-  //------------------------------
-  // first, we collect wire edges in WEL list looking for same edges that
-  // will be then removed possibly exploding a wire into parts;
-  // second, build wire(s)
-
-  while (!MVE.IsEmpty()) {
-
-    TopoDS_Vertex    VF,CV;
-    TopoDS_Edge      CE,NE,EF;
-    TopoDS_Wire      NW;
-    BRep_Builder     B;
-    Standard_Boolean End = Standard_False;
-    TopTools_ListOfShape WEL;
-
-    Mapit.Initialize(MVE);
-    if (Mapit.Value().IsEmpty()) {
-      MVE.UnBind(Mapit.Key());
-      continue;
-    }
-
-    // EF first edge.
-    EF = CE = TopoDS::Edge(Mapit.Value().First());
-    // VF first vertex
-    VF = TopExp::FirstVertex( CE, Standard_True);
-
-    isInternCW = Standard_True;
-
-    TopTools_MapOfShape addedEM  (NbConstEdges); // map of edges added to WEL
-    TopTools_MapOfShape doubleEM (NbConstEdges); // edges encountered twice in WEL
-
-    //-------------------------------
-    // Construction of a wire.
-    //-------------------------------
-    while (!End) {
-
-      // only a seam is allowed twice in a wire, the others should be removed
-      if (addedEM.Add ( CE ) || BRep_Tool::IsClosed( CE, myFace ) )
-        WEL.Append( CE );
-      else {
-        doubleEM.Add( CE );
-        RemoveFromMVE (CE,MVE2);
-        TopoDS_Edge CERev = CE;
-        CERev.Reverse();
-        RemoveFromMVE (CERev,MVE2);
-      }
-
-      RemoveFromMVE (CE,MVE);
-
-      CV = TopExp::LastVertex( CE, Standard_True);
-
-      if (isInternCW && !mySectionEdges.Contains(CE))
-        // wire is internal if all edges are section ones
-        isInternCW = Standard_False;
-
-      if (MVDEI.IsBound( CV )) { // CE comes to the degeneration
-        iDeg = MVDEI( CV );
-        TopoDS_Edge NewDegen;
-        NewDegen = MakeDegenAndSelect( CE, CV, NE, SEID[iDeg], SeqU[iDeg], DE[iDeg]);
-        WEL.Append( NewDegen );
-        CE = NE;
-        End = CV.IsSame( VF );
-        continue;
-      }
-
-      //--------------
-      // stop test
-      //--------------
-      if (MVE(CV).IsEmpty()) {
-        End=Standard_True;
-        MVE.UnBind(CV);
-      }
-      else if (CV.IsSame(VF) && SamePnt2d(CV,CE, VF,EF, myFace) ) {
-        End = Standard_True;
-      }
-      else {
-        //----------------------------
-        // select new current edge
-        //----------------------------
-        if (! SelectEdge (Surface,CE,CV,NE,MVE(CV))) {
-          MESSAGE ( " NOT CLOSED WIRE " );
-          End=Standard_True;
-        }
-        else
-          CE = NE;
-      }
-    } // while ( !End )
-
-
-    // WEL is built, built wire(s)
-
-
-    itl.Initialize( WEL );
-    if ( doubleEM.IsEmpty()) { // no double edges
-      B.MakeWire( NW );
-      for (; itl.More(); itl.Next())
-        B.Add ( NW, itl.Value());
-      if (isInternCW) myInternalWL.Append(NW);
-      else            myNewWires.Append  (NW);
-    }
-
-    else {
-      // remove double and degenerated edges from WEL
-      while (itl.More()) {
-        const TopoDS_Edge& E = TopoDS::Edge ( itl.Value() );
-        if ( doubleEM.Contains( E ) || BRep_Tool::Degenerated( E ))
-          WEL.Remove( itl );
-        else
-           itl.Next();
-      }
-      if ( WEL.IsEmpty())
-        continue;
-      // remove double edges from SEID and SeqU
-      Standard_Integer i,j;
-      for (j=0; j<2; ++j) {
-        for (i=1; i<=SEID[j].Length(); ++i) {
-          if (doubleEM.Contains( SEID[j].Value(i))) {
-            SEID[j].Remove( i );
-            SeqU[j].Remove( i-- );
-          }
-        }
-      }
-      // removal of doulbe edges can explode a wire into parts,
-      // make new wires of them.
-      // A Loop like previous one but without 2d check
-      while ( !WEL.IsEmpty() ) {
-        CE = TopoDS::Edge( WEL.First() );
-        WEL.RemoveFirst();
-        B.MakeWire( NW );
-        VF = TopExp::FirstVertex ( CE, Standard_True);
-
-        End = Standard_False;
-        while ( !End) {
-          B.Add( NW, CE );
-          CV = TopExp::LastVertex  ( CE, Standard_True);
-
-          if (MVDEI.IsBound( CV )) {   // CE comes to the degeneration
-            iDeg = MVDEI( CV );
-            TopoDS_Edge NewDegen;
-            NewDegen = MakeDegenAndSelect( CE, CV, NE, SEID[iDeg], SeqU[iDeg], DE[iDeg]);
-            B.Add( NW, NewDegen );
-            End = CV.IsSame( VF );
-            CE = NE;
-            if (!NE.IsNull()) { // remove NE from WEL
-              for (itl.Initialize( WEL ); itl.More(); itl.Next())
-                if ( NE == itl.Value()) {
-                  WEL.Remove( itl );
-                  break;
-                }
-            }
-          }  // end degeneration
-
-          else {
-            if (CV.IsSame( VF )) {
-              End = Standard_True;
-              continue;
-            }
-            // edges in WEL most often are well ordered
-            // so try to iterate until the End
-            Standard_Boolean add = Standard_False;
-            itl.Initialize(WEL);
-            while ( itl.More() && !End) {
-              NE = TopoDS::Edge( itl.Value() );
-              if ( CV.IsSame( TopExp::FirstVertex( NE, Standard_True ))) {
-                WEL.Remove( itl );
-                if (add)
-                  B.Add( NW, CE );
-                CE = NE;
-                add = Standard_True;
-                CV = TopExp::LastVertex( CE, Standard_True);
-                if (MVDEI.IsBound( CV ) || CV.IsSame( VF ))
-                  break;
-              }
-              else
-                itl.Next();
-            }
-            if (!add)
-              End = Standard_True;
-          }
-        } // !End
-
-        myInternalWL.Append( NW );
-      }
-    } // end building new wire(s) from WEL
-
-  } // end Loop on MVE
-
-  // all wires are built
-
-
-  // ============================================================
-  // select really internal wires i.e. those from which we can`t
-  // pass to an old (not section) edge
-  // ============================================================
-
-  Standard_Integer nbIW = myInternalWL.Extent();
-  if (nbIW == 0)
-    return;
-
-  if ( myNewWires.Extent() != 1 && nbIW > 1) {
-    TopTools_MapOfShape outerEM (NbConstEdges); // edges connected to non-section ones
-    TopTools_MapOfShape visitedVM (NbConstEdges);
-    for ( itl.Initialize( myConstEdges ); itl.More(); itl.Next()) {
-      if ( ! mySectionEdges.Contains( itl.Value() ))
-        addConnected (itl.Value(), outerEM, visitedVM, MVE2);
-    }
-    // if an edge of a wire is in <outerEM>, the wire is not internal
-    TopExp_Explorer expIWE;
-    TopTools_ListIteratorOfListOfShape itIW ( myInternalWL );
-    while (itIW.More()) {
-      expIWE.Init ( itIW.Value() , TopAbs_EDGE );
-      if ( outerEM.Contains( expIWE.Current() )) {
-        myNewWires.Append ( itIW.Value() );
-        myInternalWL.Remove( itIW ); // == itIW.Next()
-      }
-      else
-        itIW.Next();
-    }
-  }
-}
-//=======================================================================
-//function : isHole
-//purpose  :
-//=======================================================================
-
-static Standard_Boolean isHole (const TopoDS_Wire& W,
-                                const TopoDS_Face& F)
-{
-  BRep_Builder B;
-  TopoDS_Shape newFace = F.EmptyCopied();
-  B.Add(newFace,W.Oriented(TopAbs_FORWARD));
-  BRepTopAdaptor_FClass2d classif (TopoDS::Face(newFace),
-                                   Precision::PConfusion());
-  return (classif.PerformInfinitePoint() == TopAbs_IN);
-}
-
-//=======================================================================
-//function : IsInside
-//purpose  : check if W1 is inside W2. Suppose W2 is not a hole !!!!
-//=======================================================================
-
-static Standard_Boolean isInside(const TopoDS_Face& F,
-                                 const TopoDS_Wire& W1,
-                                 const TopoDS_Wire& W2)
-{
-  // make a face with wire W2
-  BRep_Builder B;
-  TopoDS_Shape aLocalShape = F.EmptyCopied();
-  TopoDS_Face newFace = TopoDS::Face(aLocalShape);
-  B.Add(newFace,W2);
-
-  // get any 2d point of W1
-  TopExp_Explorer exp(W1,TopAbs_EDGE);
-  if (BRep_Tool::Degenerated( TopoDS::Edge( exp.Current() )))
-    exp.Next();
-  const TopoDS_Edge& e = TopoDS::Edge(exp.Current());
-  Standard_Real f,l;
-  Handle(Geom2d_Curve) C2d = BRep_Tool::CurveOnSurface(e,F,f,l);
-  gp_Pnt2d pt2d(C2d->Value( 0.5 * ( f + l )));
-
-  BRepTopAdaptor_FClass2d classif(newFace,Precision::PConfusion());
-  return (classif.Perform(pt2d) == TopAbs_IN);
-}
-
-//=======================================================================
-//function : NewWires
-//purpose  : Returns the list of wires performed.
-//           can be an empty list.
-//=======================================================================
-
-const TopTools_ListOfShape&  Partition_Loop2d::NewWires() const
-{
-  return myNewWires;
-}
-
-//=======================================================================
-//function : NewFaces
-//purpose  : Returns the list of faces.
-//Warning  : The method <WiresToFaces> as to be called before.
-//           can be an empty list.
-//=======================================================================
-
-const TopTools_ListOfShape&  Partition_Loop2d::NewFaces() const
-{
-  return myNewFaces;
-}
-
-//=======================================================================
-//function : findEqual
-//purpose  : move wires form <WL> to <EqWL> pairs of wires build of the same edges
-//=======================================================================
-
-static void findEqual (TopTools_ListOfShape& WL,
-                       TopTools_DataMapOfShapeShape& EqWM,
-                       const TopoDS_Face& F)
-{
-  TopTools_ListIteratorOfListOfShape it1, it2;
-  Standard_Integer i,j;
-  TColStd_MapOfInteger IndMap;
-  for (it1.Initialize(WL), i=1;  it1.More();  it1.Next(), i++) {
-
-    if (IndMap.Contains(i)) continue;
-    const TopoDS_Wire& Wire1 = TopoDS::Wire( it1.Value());
-
-    for (it2.Initialize(WL), j=1;  it2.More();  it2.Next(), j++) {
-
-      if (j <= i || IndMap.Contains(j)) continue;
-
-      TopTools_IndexedMapOfShape EdgesMap;
-      TopExp::MapShapes (Wire1, TopAbs_EDGE, EdgesMap);
-
-      const TopoDS_Shape& Wire2 = it2.Value();
-      TopoDS_Iterator itE ( Wire2);
-      for (; itE.More(); itE.Next()) {
-        if ( !EdgesMap.Contains( itE.Value()) )
-          break;
-      }
-      if (!itE.More()) { // all edges are same
-        if (isHole( Wire1, F)) {
-          EqWM.Bind ( Wire1, Wire2 );
-        }
-        else {
-          EqWM.Bind ( Wire2, Wire1 );
-        }
-        IndMap.Add(i);
-        IndMap.Add(j);
-        break;
-      }
-    }
-  }
-  // clear WL
-  it1.Initialize(WL);
-  i=1;
-  while (it1.More()) {
-    if (IndMap.Contains(i))
-      WL.Remove(it1); // next node becomes current and with Next() we would miss it
-    else
-      it1.Next();
-    i++;
-  }
-}
-
-//=======================================================================
-//function : classify
-//purpose  : bind to a wire a list of internal wires
-//=======================================================================
-
-static void classify(const TopTools_DataMapOfShapeShape& EqWM,
-                     BRepAlgo_AsDes& OuterInner,
-                     const TopoDS_Face& F)
-{
-  TopTools_DataMapIteratorOfDataMapOfShapeShape it1, it2;
-
-  for (it1.Initialize(EqWM);  it1.More();  it1.Next()) {
-    // find next after it1.Value()
-    for (it2.Initialize(EqWM);  it2.More();  it2.Next())
-      if (it1.Value().IsSame( it2.Value() ))
-      {
-        it2.Next();
-        break;
-      }
-    for ( ;  it2.More();  it2.Next()) {
-      const TopoDS_Wire& Wire1 = TopoDS::Wire( it1.Value() );
-      const TopoDS_Wire& Wire2 = TopoDS::Wire( it2.Value() );
-      if (isInside(F, Wire1, Wire2))
-        OuterInner.Add (Wire2, Wire1);
-      else if (isInside(F, Wire2, Wire1))
-        OuterInner.Add (Wire1, Wire2);
-    }
-  }
-}
-//=======================================================================
-//function : WiresToFaces
-//purpose  : Build faces from the wires result.
-//           <EdgeImage> serves to  find  original edge by new
-//           one. <Section> contains edges resulting from face
-//           intersections
-//=======================================================================
-
-void  Partition_Loop2d::WiresToFaces(const BRepAlgo_Image& )
-{
-  Standard_Integer nbW = myNewWires.Extent() + myInternalWL.Extent();
-  if (nbW==0)
-    return;
-
-  BRepAlgo_FaceRestrictor FR;
-  FR.Init (myFace,Standard_False);
-
-  // FaceRestrictor is instable in rather simple cases
-  // (ex. a single face of bellecoque.brep splited by 10 planes:
-  // sometimes 1-2 faces are missing ).
-  // So we use it as less as possible: no holes -> make faces by hands
-
-
-  // are there holes in myFace ?
-  Standard_Boolean hasOldHoles = Standard_False;
-  TopoDS_Iterator itOldW (myFace);
-  if ( itOldW.More()) {
-    const TopoDS_Wire& FirstOldWire = TopoDS::Wire( itOldW.Value() );
-    itOldW.Next();
-    hasOldHoles = itOldW.More() || isHole( FirstOldWire, myFace);
-  }
-  if (myInternalWL.IsEmpty() && !hasOldHoles) {
-    // each wire bounds one face
-    BRep_Builder B;
-    TopTools_ListIteratorOfListOfShape itNW (myNewWires);
-    for (; itNW.More(); itNW.Next()) {
-      TopoDS_Face NF = TopoDS::Face ( myFace.EmptyCopied() );
-      B.Add ( NF, itNW.Value() );
-      NF.Orientation( myFaceOri);
-      myNewFaces.Append ( NF );
-    }
-    return;
-  }
-
-  // FaceRestrictor can't classify wires build on all the same edges
-  // and gives incorrect result in such cases (ex. a plane cut into 2 parts by cylinder)
-  // We must make faces of equal wires separately. One of equal wires makes a
-  // hole in a face and should come together with outer wires of face.
-  // The other of a wires pair bounds a face that may have holes in turn.
-
-  // Find equal wires among internal wires
-  TopTools_DataMapOfShapeShape EqWM; // key is a hole part of a pair of equal wires
-  findEqual (myInternalWL, EqWM, myFace);
-
-  if (!EqWM.IsEmpty()) { // there are equal wires
-
-    if (hasOldHoles)
-      myInternalWL.Append( myNewWires ); // an old wire can be inside an equal wire
-
-    // classify equal wire pairs
-    BRepAlgo_AsDes OuterInner;
-    classify (EqWM,OuterInner,myFace);
-
-    // make face of most internal of equal wires and its inner wires
-    while ( !EqWM.IsEmpty()) {
-
-      TopTools_ListOfShape prevHolesL; // list of hole-part of previous most internal equal wires
-
-      // find most internal wires among pairs (key - hole, value - outer part)
-      TopTools_DataMapIteratorOfDataMapOfShapeShape it(EqWM);
-      Standard_Integer nbEqW = EqWM.Extent(); // protection against infinite loop
-      for ( ; it.More(); it.Next()) {
-
-        TopoDS_Wire outerW = TopoDS::Wire ( it.Value() );
-        if (  OuterInner.HasDescendant( outerW ) && // has internal
-             ! OuterInner.Descendant( outerW ).IsEmpty() )
-          continue;
-
-        FR.Add( outerW );
-
-        // add internal wires that are inside of outerW
-        TopTools_ListIteratorOfListOfShape itIW (myInternalWL);
-        while ( itIW.More()) {
-          TopoDS_Wire IW = TopoDS::Wire ( itIW.Value() );
-          if ( isInside (myFace, IW, outerW)) {
-            FR.Add (IW);
-            myInternalWL.Remove( itIW ); // == itIW.Next() !!!
-          }
-          else
-            itIW.Next();
-        }
-
-        // the hole-part of current pair of equal wires will be in the next new face
-        prevHolesL.Append ( it.Key() );
-
-      } // Loop on map of equal pairs searching for innermost wires
-
-      // make faces
-      FR.Perform();
-      if (FR.IsDone()) {
-        for (; FR.More(); FR.Next())
-          myNewFaces.Append(FR.Current());
-      }
-
-      FR.Clear();
-
-      // add hole-parts to FaceRestrictor,
-      // remove them from the EqWM,
-      // remove found wires as internal of resting classified wires
-      Standard_Boolean clearOuterInner =  ( prevHolesL.Extent() < EqWM.Extent() );
-      TopTools_ListIteratorOfListOfShape itPrev (prevHolesL);
-      for (; itPrev.More(); itPrev.Next()) {
-        TopoDS_Wire& Hole = TopoDS::Wire ( itPrev.Value() );
-        FR.Add ( Hole );
-        if (clearOuterInner) {
-          const TopoDS_Wire& outerW = TopoDS::Wire ( EqWM.Find( Hole ) );
-          // Loop on wires including outerW
-          TopTools_ListIteratorOfListOfShape itO( OuterInner.Ascendant( outerW ));
-          for (; itO.More(); itO.Next()) {
-            TopTools_ListOfShape& innerL = OuterInner.ChangeDescendant( itO.Value() );
-            TopTools_ListIteratorOfListOfShape itI (innerL);
-            // Loop on internal wires of current including wire
-            for (; itI.More(); itI.Next())
-              if ( outerW.IsSame( itI.Value() )) {
-                innerL.Remove( itI );   break;
-              }
-          }
-        }
-        EqWM.UnBind ( Hole );
-      }
-
-      if (nbEqW == EqWM.Extent())
-      {
-        // error: pb with wires classification
-#ifdef DEB
-        MESSAGE("Partition_Loop2d::WiresToFaces(), pb with wires classification");
-#endif
-        break;
-      }
-
-    } // while (!EqWM.IsEmpty)
-
-  } //  if !EqWM.IsEmpty()
-
-  myNewWires.Append ( myInternalWL );
-
-  TopTools_ListIteratorOfListOfShape itW (myNewWires);
-  for (; itW.More(); itW.Next()) {
-    TopoDS_Wire& W = TopoDS::Wire ( itW.Value() );
-    FR.Add(W);
-  }
-  FR.Perform();
-  for (; FR.IsDone() && FR.More(); FR.Next())
-    myNewFaces.Append(FR.Current());
-
-
-  TopTools_ListIteratorOfListOfShape itNF (myNewFaces);
-  for (; itNF.More(); itNF.Next())
-    itNF.Value().Orientation( myFaceOri );
-}
diff --git a/src/PARTITION/Partition_Loop2d.hxx b/src/PARTITION/Partition_Loop2d.hxx
deleted file mode 100644 (file)
index 2310e15..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop2d.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Loop2d_HeaderFile
-#define _Partition_Loop2d_HeaderFile
-
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopAbs_Orientation_HeaderFile
-#include <TopAbs_Orientation.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-class TopoDS_Face;
-class TopoDS_Edge;
-class TopTools_ListOfShape;
-class BRepAlgo_Image;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Loop2d  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT Partition_Loop2d();
-Standard_EXPORT   void Init(const TopoDS_Face& F) ;
-Standard_EXPORT   void AddConstEdge(const TopoDS_Edge& E) ;
-Standard_EXPORT   void AddSectionEdge(const TopoDS_Edge& E) ;
-Standard_EXPORT   void Perform() ;
-Standard_EXPORT  const TopTools_ListOfShape& NewWires() const;
-Standard_EXPORT   void WiresToFaces(const BRepAlgo_Image& EdgeImage) ;
-Standard_EXPORT  const TopTools_ListOfShape& NewFaces() const;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopoDS_Face myFace;
-TopAbs_Orientation myFaceOri;
-TopTools_ListOfShape myConstEdges;
-TopTools_ListOfShape myNewWires;
-TopTools_ListOfShape myNewFaces;
-TopTools_ListOfShape myInternalWL;
-TopTools_MapOfShape mySectionEdges;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Loop2d.ixx b/src/PARTITION/Partition_Loop2d.ixx
deleted file mode 100644 (file)
index 2d35fd5..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop2d.ixx
-//  Module : GEOM
-
-#include "Partition_Loop2d.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Loop2d.jxx b/src/PARTITION/Partition_Loop2d.jxx
deleted file mode 100644 (file)
index 555c16c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop2d.jxx
-//  Module : GEOM
-
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _BRepAlgo_Image_HeaderFile
-#include <BRepAlgo_Image.hxx>
-#endif
-#ifndef _Partition_Loop2d_HeaderFile
-#include "Partition_Loop2d.hxx"
-#endif
diff --git a/src/PARTITION/Partition_Loop3d.cdl b/src/PARTITION/Partition_Loop3d.cdl
deleted file mode 100644 (file)
index 435fef6..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  CEA/DEN, EDF R&D
---
---
---
---  File   : Partition_Loop3d.cdl
---  Module : GEOM
-
-class Loop3d from Partition
-
-        ---Purpose: Builds the shells from a set of faces.
-        --          Provides  methods   for   comparing  faces  mutual
-        --          location.
-        
-uses
-    Vec                              from gp,
-    MapOfOrientedShape               from TopTools,
-    IndexedDataMapOfShapeListOfShape from TopTools,
-    Face                             from TopoDS,
-    Edge                             from TopoDS,
-    ListOfShape                      from TopTools,
-    Shape                            from TopoDS
-    
-is
-
-    Create;
-    
-    AddConstFaces  (me : in out; S : Shape from TopoDS)
-       ---Purpose: Add faces of <S> as unique faces in the result.
-    is static;
-
-    AddSectionFaces  (me : in out; S : Shape from TopoDS)
-       ---Purpose: Add faces of <S> as double faces in the result.
-    is static;
-
-    MakeShells (me : in out; AvoidFacesMap : MapOfOrientedShape from TopTools)
-        returns ListOfShape from TopTools is static;
-        ---Purpose: Make and return shells. 
-        --          <AvoidFacesMap> can contain faces that must not be
-        --          added to result shells.
-        ---C++: return const &
-    
-    
-        ---Category: class methods
-    
-    IsInside (myclass; E        : Edge    from TopoDS;
-                       F1, F2   : Face    from TopoDS;
-                       CountDot : Boolean from Standard;
-                       Dot      : in out Real    from Standard;
-                       GoodOri  : in out Boolean from Standard)
-        returns Boolean from Standard;
-        ---Purpose: check if <F2> is inside <F1> by edge <E>.
-        --          if <CountDot>, compute <Dot>: scalar production of
-        --          normalized  vectors  pointing  inside  faces,  and
-        --          check if faces are oriented well for sewing
-    
-    Normal (myclass; E : Edge from TopoDS;
-                     F : Face from TopoDS) returns Vec from gp;
-    
-    
-fields
-
-    myNewShells : ListOfShape from TopTools; -- result
-    
-    myFaces     : ListOfShape from TopTools;
-    myEFMap     : IndexedDataMapOfShapeListOfShape from TopTools;
-    
-end Loop3d;
diff --git a/src/PARTITION/Partition_Loop3d.cxx b/src/PARTITION/Partition_Loop3d.cxx
deleted file mode 100644 (file)
index cb5ecff..0000000
+++ /dev/null
@@ -1,351 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop3d.cxx
-//  Module : GEOM
-
-using namespace std;
-#include "Partition_Loop3d.ixx"
-
-#include <TopExp_Explorer.hxx>
-#include <TopExp.hxx>
-#include <BRep_Builder.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <gp_Vec.hxx>
-#include <gp_Pnt.hxx>
-#include <Geom2d_Curve.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Surface.hxx>
-#include <gp_Pnt2d.hxx>
-#include <gp_Vec2d.hxx>
-#include <gp_Dir2d.hxx>
-#include <Geom_Curve.hxx>
-
-//=======================================================================
-//function : Partition_Loop3d
-//purpose  : 
-//=======================================================================
-
-Partition_Loop3d::Partition_Loop3d()
-{
-}
-
-//=======================================================================
-//function : AddConstFaces
-//purpose  : Add faces of <S> as unique faces in the result.
-//=======================================================================
-
-void Partition_Loop3d::AddConstFaces(const TopoDS_Shape& S) 
-{
-  TopExp_Explorer FaceExp(S, TopAbs_FACE);
-  for (; FaceExp.More(); FaceExp.Next())
-    myFaces.Append( FaceExp.Current() );
-
-  TopExp::MapShapesAndAncestors(S, TopAbs_EDGE, TopAbs_FACE, myEFMap);
-}
-
-//=======================================================================
-//function : AddSectionFaces
-//purpose  : Add faces of <S> as double faces in the result.
-//=======================================================================
-
-void Partition_Loop3d::AddSectionFaces(const TopoDS_Shape& S) 
-{
-  AddConstFaces( S );
-  AddConstFaces( S.Reversed() );
-}
-
-//=======================================================================
-//function : MakeShells
-//purpose  : Make and return shells. 
-//           <AvoidFacesMap> can contain faces that must not be
-//           added to result shells.
-//=======================================================================
-
-const TopTools_ListOfShape&
-  Partition_Loop3d::MakeShells (const TopTools_MapOfOrientedShape& AvoidFacesMap)
-{
-  myNewShells.Clear();
-  
-  BRep_Builder Builder;
-  TopTools_MapOfShape CheckedEdgesMap;
-  TopTools_MapOfOrientedShape AddedFacesMap;
-  
-  TopTools_ListIteratorOfListOfShape itF (myFaces);
-  for (; itF.More(); itF.Next())
-  {
-    const TopoDS_Shape& FF = itF.Value();
-    if (AvoidFacesMap.Contains( FF ) ||
-       ! AddedFacesMap.Add( FF ) )
-      continue;
-
-    // make a new shell
-    TopoDS_Shell Shell;
-    Builder.MakeShell(Shell);
-    Builder.Add(Shell,FF);
-
-    // clear the maps from shapes added to previous Shell
-    TopTools_MapIteratorOfMapOfShape itEM (CheckedEdgesMap);
-    for (; itEM.More(); itEM.Next()) {
-      TopTools_ListOfShape& FL = myEFMap.ChangeFromKey( itEM.Key());
-      TopTools_ListIteratorOfListOfShape it (FL);
-      while ( it.More()) {
-        if (AddedFacesMap.Contains( it.Value()))
-          FL.Remove( it );
-        else
-          it.Next();
-      }
-    }
-    CheckedEdgesMap.Clear();
-
-    
-    // loop on faces added to Shell; add their neighbor faces to Shell and so on
-    TopoDS_Iterator itAddedF (Shell);
-    for (; itAddedF.More(); itAddedF.Next())
-    {
-      const TopoDS_Face& F = TopoDS::Face (itAddedF.Value());
-
-      // loop on edges of F; find a good neighbor face of F by E
-      TopExp_Explorer EdgeExp(F, TopAbs_EDGE);
-      for (; EdgeExp.More(); EdgeExp.Next())
-      {
-        const TopoDS_Edge& E = TopoDS::Edge( EdgeExp.Current());
-       if (! CheckedEdgesMap.Add( E ))
-         continue;
-
-       // candidate faces list
-        const TopTools_ListOfShape& FL = myEFMap.ChangeFromKey(E);
-        if (FL.IsEmpty())
-          continue;
-       // select one of neighbors
-        TopoDS_Face SelF;
-        if (FL.Extent() == 2) {
-          if (! F.IsSame( FL.First() ))
-            SelF = TopoDS::Face( FL.First() );
-          else if (!F.IsSame( FL.Last() ))
-            SelF = TopoDS::Face( FL.Last() );
-        }
-        else {
-          // check if a face already added to Shell shares E
-         TopTools_ListIteratorOfListOfShape it (FL);
-          Standard_Boolean found = Standard_False;
-          for (; !found && it.More(); it.Next())
-            if (F != it.Value())
-              found = AddedFacesMap.Contains( it.Value() );
-          if (found)
-            continue;
-          // select basing on geometrical check
-          Standard_Boolean GoodOri, inside;
-          Standard_Real dot, MaxDot = -100;
-          TopTools_ListOfShape TangFL; // tangent faces
-          for ( it.Initialize( FL ) ; it.More(); it.Next()) {
-            const TopoDS_Face& NeighborF = TopoDS::Face( it.Value());
-            if (NeighborF.IsSame( F ))
-              continue;
-            inside = Partition_Loop3d::IsInside( E, F, NeighborF, 1, dot, GoodOri);
-            if (!GoodOri)
-              continue;
-            if (!inside)
-              dot = -dot - 3;
-            if (dot < MaxDot)
-              continue;
-            if ( IsEqual( dot, MaxDot))
-              TangFL.Append(SelF);
-            else
-              TangFL.Clear();
-            MaxDot = dot;
-            SelF = NeighborF;
-          }
-          if (!TangFL.IsEmpty()) {
-            for (it.Initialize( TangFL ); it.More(); it.Next()) {
-              const TopoDS_Face& NeighborF = TopoDS::Face( it.Value());
-              if (Partition_Loop3d:: IsInside( E, SelF , NeighborF, 0, dot, GoodOri))
-                SelF = NeighborF;
-            }
-          }
-        }
-        if (!SelF.IsNull() &&
-           AddedFacesMap.Add( SelF ) &&
-           !AvoidFacesMap.Contains( SelF )) 
-          Builder.Add( Shell, SelF);
-
-      } // loop on edges of F
-      
-    } // loop on the faces added to Shell
-
-    // Shell is complete
-    myNewShells.Append( Shell );
-
-  } // loop on myFaces
-
-
-  // prepare to the next call
-  myFaces.Clear();
-  myEFMap.Clear();
-
-  return myNewShells;
-}
-
-
-
-//=======================================================================
-//function : Normal
-//purpose  : 
-//=======================================================================
-
-gp_Vec Partition_Loop3d::Normal(const TopoDS_Edge& E,
-                               const TopoDS_Face& F)
-{
-  gp_Vec Norm, V1, V2;
-  Standard_Real First, Last;
-  gp_Pnt Ps;
-
-  Handle(Geom2d_Curve) C2d = BRep_Tool::CurveOnSurface (E, F, First, Last);
-  Handle(Geom_Surface) Sf = BRep_Tool::Surface(F);
-
-  gp_Pnt2d p = C2d->Value( 0.5*(First+Last) );
-  Sf->D1(p.X(), p.Y(), Ps, V1, V2);
-  Norm = V1.Crossed(V2);
-
-  if (F.Orientation() == TopAbs_REVERSED ) 
-    Norm.Reverse();
-
-  return Norm;
-}
-
-//=======================================================================
-//function : NextNormal
-//purpose  : find normal to F at point a little inside F near the middle of E
-//warning  : E must be properly oriented in F.
-//=======================================================================
-
-static gp_Vec NextNormal(const TopoDS_Edge& E,
-                        const TopoDS_Face& F)
-{
-  Standard_Real First, Last;
-
-  Handle(Geom2d_Curve) C2d = BRep_Tool::CurveOnSurface (E, F, First, Last);
-  Handle(Geom_Surface) Sf = BRep_Tool::Surface(F);
-
-  gp_Pnt2d p;
-  gp_Vec2d v;
-  C2d->D1( 0.5*(First+Last), p, v);
-  if (E.Orientation() != F.Orientation())
-    v.Reverse();
-  gp_Dir2d dir( -v.Y(), v.X() ); // dir inside F
-  
-  Standard_Real duv = 1e-6; // this is not Ok and may give incorrect result if
-  // resolutionUV of compared faces is very different. To have a good result,
-  //it is necessary to get normal to faces at points equidistant from E in 3D
-  
-  p.SetX( p.X() + dir.X()*duv );
-  p.SetY( p.Y() + dir.Y()*duv );
-  
-  gp_Pnt Ps;
-  gp_Vec Norm, V1, V2, VV1, VV2;
-  Sf->D1( p.X(), p.Y(), Ps, V1, V2);
-  Norm = V1.Crossed(V2);
-
-  if (F.Orientation() == TopAbs_REVERSED ) 
-    Norm.Reverse();
-
-  return Norm;
-}
-
-
-//=======================================================================
-//function : FindEinF
-//purpose  : find E in F
-//=======================================================================
-
-static TopoDS_Edge FindEinF(const TopoDS_Edge& E,
-                           const TopoDS_Face& F)
-{
-  TopExp_Explorer expl (F, TopAbs_EDGE);
-  for (; expl.More(); expl.Next()) 
-    if( E.IsSame( expl.Current() ))
-      return TopoDS::Edge(expl.Current());
-  TopoDS_Edge nullE;
-  return nullE;
-}
-
-//=======================================================================
-//function : IsInside
-//purpose  : check if <F2> is inside <F1> by edge <E>.
-//           if <CountDot>, compute <Dot>: scalar production of
-//           normalized  vectors  pointing  inside  faces,  and
-//           check if faces are oriented well for sewing
-//=======================================================================
-
-Standard_Boolean Partition_Loop3d::IsInside(const TopoDS_Edge& E,
-                                           const TopoDS_Face& F1,
-                                           const TopoDS_Face& F2,
-                                           const Standard_Boolean CountDot,
-                                           Standard_Real& Dot,
-                                           Standard_Boolean& GoodOri) 
-{
-  Standard_Real f, l;
-  gp_Pnt P;
-  gp_Vec Vc1, Vc2, Vin1, Vin2, Nf1, Nf2;
-  Handle(Geom_Curve) Curve = BRep_Tool::Curve(E,f,l);
-  Curve->D1( 0.5*(f + l), P, Vc2);
-  TopoDS_Edge E1, E2 = FindEinF (E, F2);
-  if (E2.Orientation() == TopAbs_REVERSED ) Vc2.Reverse();
-
-  Nf1 = Normal(E,F1);
-  Nf2 = Normal(E,F2);
-
-  Standard_Real sin =
-    Nf1.CrossSquareMagnitude(Nf2) / Nf1.SquareMagnitude() / Nf2.SquareMagnitude();
-  Standard_Boolean tangent = sin < 0.001;
-
-  Standard_Boolean inside = 0;
-  if (tangent) {
-    E1 = FindEinF (E, F1);
-    gp_Vec NNf1 = NextNormal(E1,F1);
-    gp_Vec NNf2 = NextNormal(E2,F2);
-    Vin2 = NNf2.Crossed(Vc2);
-    inside = Vin2 * NNf1 < 0;
-  }
-  else {
-    Vin2 = Nf2.Crossed(Vc2);
-    inside = Vin2 * Nf1 < 0;
-  }
-  
-  if (!CountDot) return inside;
-
-  if (tangent)
-    Vin2 = Nf2.Crossed(Vc2);
-  else
-    E1 = FindEinF (E, F1);
-    
-  Vc1 = Vc2;
-  if (E1.Orientation() != E2.Orientation()) 
-    Vc1.Reverse();
-  Vin1 = Nf1.Crossed(Vc1);
-
-  if (tangent) {
-    Standard_Real N1N2 = Nf1 * Nf2;
-    GoodOri = (Vin2 * Vin1 < 0) ? N1N2 > 0 : N1N2 < 0;
-  }
-  else {
-    Standard_Real V1N2 = Vin1 * Nf2;
-    GoodOri = ( inside ? V1N2 <= 0 : V1N2 >= 0);
-  }
-
-  Vin1.Normalize();
-  Vin2.Normalize();
-  
-  Dot = Vin2 * Vin1;
-  
-  return inside;
-}
-
diff --git a/src/PARTITION/Partition_Loop3d.hxx b/src/PARTITION/Partition_Loop3d.hxx
deleted file mode 100644 (file)
index b946b32..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop3d.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Loop3d_HeaderFile
-#define _Partition_Loop3d_HeaderFile
-
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-class TopoDS_Shape;
-class TopTools_ListOfShape;
-class TopTools_MapOfOrientedShape;
-class TopoDS_Edge;
-class TopoDS_Face;
-class gp_Vec;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Loop3d  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT Partition_Loop3d();
-Standard_EXPORT   void AddConstFaces(const TopoDS_Shape& S) ;
-Standard_EXPORT   void AddSectionFaces(const TopoDS_Shape& S) ;
-Standard_EXPORT  const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
-Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
-Standard_EXPORT static  gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-TopTools_ListOfShape myNewShells;
-TopTools_ListOfShape myFaces;
-TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Loop3d.ixx b/src/PARTITION/Partition_Loop3d.ixx
deleted file mode 100644 (file)
index a661b32..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop3d.ixx
-//  Module : GEOM
-
-#include "Partition_Loop3d.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Loop3d.jxx b/src/PARTITION/Partition_Loop3d.jxx
deleted file mode 100644 (file)
index 9b654f4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Loop3d.jxx
-//  Module : GEOM
-
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfOrientedShape_HeaderFile
-#include <TopTools_MapOfOrientedShape.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
-#include <TopoDS_Face.hxx>
-#endif
-#ifndef _gp_Vec_HeaderFile
-#include <gp_Vec.hxx>
-#endif
-#ifndef _Partition_Loop3d_HeaderFile
-#include "Partition_Loop3d.hxx"
-#endif
diff --git a/src/PARTITION/Partition_Spliter.cdl b/src/PARTITION/Partition_Spliter.cdl
deleted file mode 100644 (file)
index 75537b4..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
---  GEOM PARTITION : partition algorithm
---
---  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
---  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
--- 
---  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. 
--- 
---  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
---
---
---
---  File   : Partition_Spliter.cdl
---  Author : Benedicte MARTIN
---  Module : GEOM
-
-class Spliter from Partition
-
-        ---Purpose: Split solids, shells and  faces  into parts of the
-        --          same  topology  if  reconstruction  level  is  not
-        --          limited.
-
-uses
-    Inter3d             from Partition,
-    Loop2d              from Partition,
-    Builder             from BRep,
-    ShapeEnum           from TopAbs,
-    Compound            from TopoDS,
-    Face                from TopoDS,
-    Edge                from TopoDS,
-    Shape               from TopoDS,
-    MapOfOrientedShape  from TopTools,
-    IndexedMapOfShape   from TopTools,
-    DataMapOfShapeShape from TopTools,
-    ListOfShape         from TopTools,
-    MapOfShape          from TopTools,
-    AsDes               from BRepAlgo,
-    Image               from BRepAlgo
-
-is
-    Create  returns Spliter from Partition;
-        ---Purpose: constructor
-
-    AddShape ( me : in out; S : Shape from TopoDS);
-        ---Purpose: add object Shape to be splitted.
-        --          If S  is  a  COMPOUND  or  COMPSOLID,  it  will be
-        --          exploded  in  order  to  get  more  simple  object
-        --          shapes. 
-        --          Object shapes that  are  vertices,  edges or wires
-        --          won't be splitted and won't be in a result.
-
-    AddTool  ( me : in out; S : Shape from TopoDS);
-        ---Purpose: add cutting tool
-
-    Compute (me : in out; Limit : ShapeEnum from TopAbs
-                          = TopAbs_SHAPE);
-        ---Purpose: produce a result which  is  a compound of parts of
-        --          object shapes.  A  part  can  be  either a vertex,
-        --          edge, wire, face, shell or solid.
-        --          By default, a part is  of  the same topology as an
-        --          object  shape,   else   <Limit>   restricts  parts
-        --          reconstruction.
-        --          If <Limit> == TopAbs_VERTEX, only new vertices are
-        --          returned in the result
-
-    KeepShapesInside (me : in out; S : Shape from TopoDS);
-        ---Purpose: remove shapes that are outside of S from result.
-        --          S should be an object shape.
-        ---Warning: call it after Compute()
-
-    RemoveShapesInside (me : in out; S : Shape from TopoDS);
-        ---Purpose: remove shapes that are inside S from result.
-        --          S should be an object shape.
-        ---Warning: call it after Compute()
-
-    Shape ( me ) returns Shape from TopoDS;
-        ---Purpose: return resulting compound
-
-    Clear ( me : in out);
-        ---Purpose: clear fields
-
-
-        ---Category: private methods
-
-
-    MakeSolids (me: in out; Solid : Shape from TopoDS;
-                            Shells: in out ListOfShape from TopTools) 
-        is private;
-        ---Purpose: make solids out of Shells
-
-    MakeShells (me: in out; S : Shape from TopoDS;
-                            NS: in out ListOfShape from TopTools) is private;
-        ---Purpose: split S into shells
-
-    MakeFaces (me: in out; S : Shape from TopoDS)
-        returns Shape from TopoDS is private;
-        ---Purpose: split faces of S, return compound of new faces
-
-    MakeEdges (me; 
-               E : Edge from TopoDS;
-               VOnE : ListOfShape from TopTools;
-               NE : in out ListOfShape from TopTools) 
-        is private;
-        ---Purpose: cut E by vertices  VOnE,  return list of new edges
-        --          NE
-    
-    FindFacesInside (me: in out; S : Shape from TopoDS;
-                                 CheckClosed : Boolean = Standard_False;
-                                 All         : Boolean = Standard_False)
-        returns Shape from TopoDS is private;
-        ---Purpose: return compound of faces  of other shapes that are
-        --          inside <S>. <S>  must  have image in myImageShape.
-        --          <CheckClosed> makes avoid faces that do not form a
-        --          closed shell
-        --          <All> makes return already added faces
-
-    CheckTool ( me: in out; S : Shape from TopoDS)
-        returns Boolean from Standard is private;
-        ---Purpose: Return True if <S>  is  a tool shape. Prepare tool
-        --          faces of <S> for the search of internal faces.
-
-    MergeEqualEdges (me: in out; LE : ListOfShape from TopTools) is private;
-        ---Purpose: among LE, find  equal  edges,  choose ones to keep
-        --          and make them have  pcurves  on all faces they are
-        --          shared by
-        --          <LE> contains edge splits
-
-    IsInside (myclass; S1,S2 : Shape from TopoDS)
-        returns Boolean from Standard is private;
-        ---Purpose: Return True if the first vertex of S1 inside S2.
-        --          If S1.IsNull(), check infinite point against S2.
-
-    GetOriginalShape(me; aShape : Shape from TopoDS)
-        returns Shape from TopoDS is private;
-        ---Purpose: Return the  shape  aShape  originates from. aShape
-        --          should be a face or more complex result shape
-
-    FindToolsToReconstruct(me: in out) is private;
-        ---Purpose: find and store  as  objects  tools which interfere
-        --          with  solids   or   are   inside   solids  without
-        --          an interference
-
-fields
-
-    myDoneStep     : ShapeEnum           from TopAbs;   -- rebuilt level
-    myShape        : Compound            from TopoDS;   -- result
-    myBuilder      : Builder             from BRep;
-                                          
-    myListShapes   : ListOfShape         from TopTools; -- object shapes
-    myMapFaces     : MapOfShape          from TopTools; -- object faces
-    myMapTools     : MapOfShape          from TopTools; -- tool faces
-    myEqualEdges   : MapOfShape          from TopTools; -- equal splits
-    myNewSection   : MapOfShape          from TopTools; -- new secton edges
-    myClosedShapes : MapOfShape          from TopTools;
-    mySharedFaces  : MapOfShape          from TopTools; -- faces shared by several shapes
-    myWrappingSolid: MapOfShape          from TopTools; -- solids having other shapes inside
-    myFaceShapeMap : DataMapOfShapeShape from TopTools; -- to find a shape by face
-                                          
-    myInternalFaces: DataMapOfShapeShape from TopTools; -- shape and its internal faces
-    myIntNotClFaces: DataMapOfShapeShape from TopTools; -- internal but not closed 
-
-                                          
-    myAsDes        : AsDes               from BRepAlgo;
-    myImagesFaces  : Image               from BRepAlgo;   
-    myImagesEdges  : Image               from BRepAlgo;    
-    myImageShape   : Image               from BRepAlgo;
-    
-        -- contains info of same domain shapes and section edges
-    myInter3d      : Inter3d             from Partition;
-    
-        -- avoid rebuilding twice commont part of solids
-    myAddedFacesMap: MapOfOrientedShape  from TopTools;
-    
-end Spliter;
diff --git a/src/PARTITION/Partition_Spliter.cxx b/src/PARTITION/Partition_Spliter.cxx
deleted file mode 100644 (file)
index 8f47939..0000000
+++ /dev/null
@@ -1,2160 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Spliter.cxx
-//  Author : Benedicte MARTIN
-//  Module : GEOM
-//  $Header$
-
-using namespace std;
-#include "Partition_Inter2d.hxx"
-#include "Partition_Inter3d.hxx"
-#include "Partition_Loop2d.hxx"
-#include "Partition_Loop3d.hxx"
-#include "Partition_Spliter.ixx"
-
-#include "utilities.h"
-
-#include <Precision.hxx>
-#include <TopAbs_Orientation.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-
-#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
-#include <TopTools_DataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_MapIteratorOfMapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-
-#include <Geom2d_Curve.hxx>
-#include <Geom_Curve.hxx>
-#include <Geom_Surface.hxx>
-#include <Geom_TrimmedCurve.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Pnt2d.hxx>
-#include <gp_Vec.hxx>
-
-#include <TopoDS.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Wire.hxx>
-
-#include <BRepBndLib.hxx>
-#include <BRepClass3d_SolidClassifier.hxx>
-#include <BRepLib.hxx>
-#include <BRep_Tool.hxx>
-
-#include <Extrema_ExtPC.hxx>
-#include <GeomAdaptor_Curve.hxx>
-#include <TopOpeBRepTool_CurveTool.hxx>
-
-#ifdef DEB
-//# define PART_PERF
-#endif
-
-#ifdef PART_PERF
-# include <OSD_Chronometer.hxx>
-#endif
-
-//=======================================================================
-//function : isClosed
-//purpose  : check id a shape is closed, ie is a solid or a closed shell
-//=======================================================================
-
-static Standard_Boolean isClosed(const TopoDS_Shape& theShape)
-{
-  Standard_Boolean isClosed = (theShape.ShapeType() == TopAbs_SOLID);
-
-  if (!isClosed && theShape.ShapeType() == TopAbs_SHELL) {
-    TopTools_IndexedDataMapOfShapeListOfShape MEF;
-    TopExp::MapShapesAndAncestors(theShape, TopAbs_EDGE, TopAbs_FACE, MEF);
-    for (Standard_Integer i=1;  isClosed && i<=MEF.Extent();  ++i)
-      isClosed = ( MEF(i).Extent() != 1 );
-  }
-  
-  return isClosed;
-}
-
-//=======================================================================
-//function : Partition_Spliter
-//purpose  : constructor
-//=======================================================================
-
-Partition_Spliter::Partition_Spliter()
-{
-  myAsDes = new BRepAlgo_AsDes;
-  Clear();
-}
-
-//=======================================================================
-//function : AddTool
-//purpose  : add cutting tool that will _NOT_ be in result
-//=======================================================================
-
-void Partition_Spliter::AddTool(const TopoDS_Shape& S)
-{
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    TopoDS_Iterator it (S);
-    for (; it.More(); it.Next())
-    {
-      AddTool( it.Value());
-      myFaceShapeMap.Bind( it.Value(), S ); // to know compound by shape
-    }
-    return;
-  }
-
-  for (TopExp_Explorer exp(S,TopAbs_FACE); exp.More(); exp.Next())
-  {
-    myMapTools.Add(exp.Current());
-    myFaceShapeMap.Bind( exp.Current(), S );
-  }
-  if (isClosed( S ))
-    myClosedShapes.Add( S );
-}
-
-//=======================================================================
-//function : AddShape
-//purpose  : add object Shape to be splited
-//=======================================================================
-
-void Partition_Spliter::AddShape(const TopoDS_Shape& S)
-{
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    TopoDS_Iterator it (S);
-    for (; it.More(); it.Next())
-    {
-      AddShape( it.Value());
-      myFaceShapeMap.Bind( it.Value(), S ); // to know compound by shape
-    }
-    return;
-  }
-
-  TopExp_Explorer exp(S,TopAbs_FACE);
-  if (!exp.More()) { // do not split edges and vertices
-    //myBuilder.Add( myShape, S );
-    return;
-  }
-
-  Standard_Integer nbFacesBefore = myMapFaces.Extent(); // not to add twice the same S
-  for (; exp.More(); exp.Next()) {
-    const TopoDS_Shape & aFace = exp.Current();
-    if ( ! myFaceShapeMap.IsBound( aFace )) // keep shape of tool face added as object
-      myFaceShapeMap.Bind( aFace, S );
-    if (myMapFaces.Add( aFace ))
-      myImagesFaces.SetRoot( aFace );
-  }
-
-  if (nbFacesBefore == myMapFaces.Extent())
-    return;
-
-  // solids must be processed before all
-  if (S.ShapeType() == TopAbs_SOLID)
-    myListShapes.Prepend(S);
-  else
-    myListShapes.Append(S);
-
-  if (isClosed( S ))
-    myClosedShapes.Add( S );
-
-}
-
-//=======================================================================
-//function : Shape
-//purpose  : return resulting compound
-//=======================================================================
-
-TopoDS_Shape Partition_Spliter::Shape() const
-{
-  return myShape;
-}
-
-//=======================================================================
-//function : Clear
-//purpose  : clear fields
-//=======================================================================
-
-void Partition_Spliter::Clear()
-{
-  myDoneStep = TopAbs_SHAPE;
-  
-  myListShapes.Clear();
-  myMapFaces.Clear();
-  myMapTools.Clear();
-  myEqualEdges.Clear();
-  myNewSection.Clear();
-  myClosedShapes.Clear();
-  mySharedFaces.Clear();
-  myWrappingSolid.Clear();
-  myFaceShapeMap.Clear();
-  
-  myInternalFaces.Clear();
-  myIntNotClFaces.Clear();
-  
-  myAsDes->Clear();
-  myImagesFaces.Clear();
-  myImagesEdges.Clear();
-  myImageShape.Clear();
-  
-  myInter3d = Partition_Inter3d(myAsDes);
-  
-  myAddedFacesMap.Clear();
-
-}
-
-//=======================================================================
-//function : Compute
-//purpose  : produce a result
-//=======================================================================
-
-void Partition_Spliter::Compute(const TopAbs_ShapeEnum Limit)
-{
-  if ((Limit != TopAbs_SHAPE && myDoneStep == Limit) ||
-      (Limit == TopAbs_SHAPE && myDoneStep == TopAbs_SOLID))
-    return;
-  
-  myBuilder.MakeCompound( myShape );
-  
-  TopTools_MapIteratorOfMapOfShape it;
-  TopTools_ListIteratorOfListOfShape itl;
-  TopExp_Explorer exp;
-
-#ifdef PART_PERF
-  OSD_Chronometer aCron;
-#endif
-
-  if (myDoneStep > TopAbs_VERTEX) {
-
-    TopTools_ListOfShape aListFaces;
-    aListFaces = myImagesFaces.Roots();
-    for (it.Initialize(myMapTools); it.More(); it.Next())
-      aListFaces.Append(it.Key());
-
-#ifdef PART_PERF
-    aCron.Start();
-#endif
-
-    //-----------------------------------------------
-    // Intersection between faces
-    //-----------------------------------------------
-    // result is in myAsDes as a map Face - list of new edges;
-    // special care is done for section edges, same domain faces and vertices:
-    // data about them is inside myInter3d
-    myInter3d.CompletPart3d(aListFaces, myFaceShapeMap);
-
-#ifdef PART_PERF
-    MESSAGE("+++ CompletPart3d()");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-    //-----------------------------------------------
-    // Intersection of edges
-    //-----------------------------------------------
-
-    // add tool faces which must be reconstructed to myMapFaces too
-    FindToolsToReconstruct();
-
-#ifdef PART_PERF
-    MESSAGE("+++ FindToolsToReconstruct()");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-
-    // add existing vertices to edges of object faces in myAsDes
-    TopTools_MapOfShape DoneEM;
-    for ( it.Initialize(myMapFaces); it.More(); it.Next()) {
-      const TopoDS_Shape& F  = it.Key();
-      TopoDS_Face FForward = TopoDS::Face(F.Oriented(TopAbs_FORWARD));
-      for (exp.Init(FForward,TopAbs_EDGE); exp.More(); exp.Next()) {
-        const TopoDS_Edge& E = TopoDS::Edge( exp.Current() );
-        myAsDes->Add(FForward,E);
-        if (DoneEM.Add(E)) {
-          TopoDS_Iterator itV(E);
-          for (; itV.More(); itV.Next()) {
-            const TopoDS_Vertex& V = TopoDS::Vertex( itV.Value());
-            myAsDes->Add(E, myInter3d.ReplaceSameDomainV( V, E ));
-          }
-        }
-      }
-    }
-
-    // intersect edges that are descendants of a face in myAsDes
-    TopTools_MapOfShape& Modif = myInter3d.TouchedFaces();
-    for ( it.Initialize(Modif); it.More(); it.Next()) {
-      const TopoDS_Face& F  = TopoDS::Face(it.Key());
-      Partition_Inter2d::CompletPart2d (myAsDes, F, myInter3d.NewEdges());
-    }
-    // now myAsDes contains also new vertices made at edge intersection as
-    // descendant of edges both new and old
-
-    myDoneStep = TopAbs_VERTEX;
-    
-#ifdef PART_PERF
-    MESSAGE("+++ CompletPart2d()");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-  } //   if (myDoneStep > TopAbs_VERTEX)
-  
-  if (Limit == TopAbs_VERTEX) {
-    // add new vertices to myShape
-    for ( it.Initialize( myInter3d.NewEdges() ); it.More(); it.Next()) {
-      if (! myAsDes->HasDescendant( it.Key() ))
-        continue;
-      itl.Initialize( myAsDes->Descendant( it.Key() ));
-      for (; itl.More(); itl.Next()) 
-        myBuilder.Add ( myShape, itl.Value() );
-    }
-    return;
-  }
-  
-
-  if (myDoneStep > TopAbs_EDGE) {
-
-    //-----------------------------------------------
-    //-----------------------------------------------
-    // ------- Reconstruction of all the edges.------
-    //-----------------------------------------------
-    //-----------------------------------------------
-
-    // ==============
-    // cut new edges
-    // ==============
-    TopTools_ListOfShape LSE; // all edge splits
-    for ( it.Initialize(myInter3d.NewEdges()); it.More(); it.Next()) {
-
-      TopoDS_Vertex V1,V2;
-      TopoDS_Edge EE = TopoDS::Edge(it.Key());
-
-      TopTools_ListOfShape aListV, aListF;
-      aListV = myAsDes->Descendant(EE); // intersection vertices
-      aListF = myAsDes->Ascendant(EE);  // intersected faces
-
-      if (aListV.IsEmpty())
-        continue;  // new edge does not intersect any other edge
-
-      // Add end vertices to new edges only if 
-      // one face is Tool and the other is Shape
-      Standard_Boolean isTool1 = ! myMapFaces.Contains( aListF.First() );
-      Standard_Boolean isTool2 = ! myMapFaces.Contains( aListF.Last() );
-      if (isTool1 || isTool2)
-      {
-        TopExp::Vertices(EE,V1,V2);
-       Standard_Real Tol = Max (BRep_Tool::Tolerance( V1 ),
-                                BRep_Tool::Tolerance( V2 ));
-
-        gp_Pnt P1 = BRep_Tool::Pnt(V1);
-        gp_Pnt P2 = BRep_Tool::Pnt(V2);
-        Standard_Boolean AddV1 = Standard_True;
-        Standard_Boolean AddV2 = Standard_True;
-
-        // add only if there is no intersection at end vertex
-        for (itl.Initialize(aListV); itl.More(); itl.Next()) {
-          const TopoDS_Vertex& Ve = TopoDS::Vertex(itl.Value()) ;
-          Standard_Real Tol2 = Max ( Tol, BRep_Tool::Tolerance( Ve ));
-          Tol2 *= Tol2;
-          gp_Pnt P = BRep_Tool::Pnt(Ve);
-          if (AddV1 && P.SquareDistance(P1) <= Tol2)
-            AddV1 = Standard_False;
-
-          if (AddV2 && P.SquareDistance(P2) <= Tol2) 
-            AddV2 = Standard_False;
-        }
-
-        if (AddV1) {
-          aListV.Append(V1);
-          myAsDes->Add(EE,V1);
-        }
-
-        if (AddV2) {
-          aListV.Append(V2);
-          myAsDes->Add(EE,V2);
-        }
-      }
-
-      // cut new edges
-      Standard_Integer NbV=aListV.Extent() ;
-      if (NbV>1 || (NbV==1 && V1.IsSame(V2)) ) {
-        TopTools_ListOfShape LNE;
-        MakeEdges (EE,aListV, LNE);
-        myImagesEdges.Bind(EE,LNE);
-       LSE.Append( LNE );
-      }
-    }
-
-    // ==============
-    // cut old edges
-    // ==============
-    for ( it.Initialize(myMapFaces); it.More(); it.Next()) {
-      for (exp.Init( it.Key(), TopAbs_EDGE); exp.More(); exp.Next()) {
-        const TopoDS_Edge& EE = TopoDS::Edge( exp.Current() );
-        if ( myImagesEdges.HasImage( EE ))
-          continue;
-        TopTools_ListOfShape  LNE;
-        const TopTools_ListOfShape& aListVV = myAsDes->Descendant(EE);
-        MakeEdges (EE, aListVV, LNE);
-        myImagesEdges.Bind(EE,LNE);
-       LSE.Append( LNE );
-      }
-    }
-#ifdef PART_PERF
-    MESSAGE("+++ Cut Edges");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-
-    // process same domain section edges
-    MergeEqualEdges( LSE );
-    
-    myDoneStep = TopAbs_EDGE;
-    
-#ifdef PART_PERF
-    MESSAGE("+++ MergeEqualEdges()");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-  }  //   if (myDoneStep > TopAbs_EDGE) 
-
-  if (Limit == TopAbs_EDGE) {
-    // add splits of old edges
-    TopTools_ListIteratorOfListOfShape itNE;
-    for (itl.Initialize( myListShapes );itl.More();itl.Next()) {
-      if (myMapTools.Contains( itl.Value() ))
-        continue; // skip tool faces
-      for ( exp.Init( itl.Value(), TopAbs_EDGE ); exp.More(); exp.Next()) {
-       itNE.Initialize( myImagesEdges.Image( exp.Current() ));
-       for ( ; itNE.More(); itNE.Next())
-         myBuilder.Add ( myShape, itNE.Value() );
-      }
-    }
-    // add splits of new edges
-    for ( it.Initialize( myInter3d.NewEdges() ); it.More(); it.Next()) {
-      itNE.Initialize( myImagesEdges.Image( it.Key() ));
-      for (; itNE.More(); itNE.Next())
-        myBuilder.Add ( myShape, itNE.Value() );
-    }
-    return;
-  }
-  
-  
-  //-----------------------------------------------
-  // split faces
-  //-----------------------------------------------
-
-  if (myDoneStep > TopAbs_FACE) {
-    
-    for (itl.Initialize(myListShapes);itl.More();itl.Next()) {
-      TopoDS_Shape FacesComp = MakeFaces ( itl.Value());
-      // there is a cunning here: myImagesFaces keeps faces made by Loop2d
-      // but some of them may be replaced with splits of same domain face
-      // and myImageShape keeps ultimate result
-      myImageShape.Bind( itl.Value(), FacesComp );
-    }
-    
-    myDoneStep = TopAbs_FACE;
-#ifdef PART_PERF
-    MESSAGE("+++ MakeFaces()");
-    aCron.Show( cout );
-    aCron.Reset();
-    aCron.Start();
-#endif
-  }
-  
-  if (Limit == TopAbs_WIRE ||
-      Limit == TopAbs_FACE)   {
-    for (itl.Initialize(myListShapes);itl.More();itl.Next()) {
-      if ( myMapTools.Contains( itl.Value() ))
-       continue; // no result needed for a tool face
-      const TopoDS_Shape& FacesComp = myImageShape.Image( itl.Value() ).First();
-      for ( exp.Init( FacesComp, Limit); exp.More(); exp.Next())
-       myBuilder.Add ( myShape, exp.Current());
-    }
-    return;
-  }
-
-  
-  //-----------------------------------------------
-  // split and add solids and shells
-  //-----------------------------------------------
-
-  Standard_Boolean makeSolids = (Limit == TopAbs_SHAPE ||
-                                Limit < TopAbs_SHELL);
-  for (itl.Initialize(myListShapes);itl.More();itl.Next())
-  {
-    const TopoDS_Shape & S = itl.Value();
-    if (S.ShapeType() > TopAbs_SHELL)
-      continue;
-
-    TopTools_ListOfShape NSL; // new shape list
-    MakeShells (S , NSL);
-    if (makeSolids && S.ShapeType() == TopAbs_SOLID )
-      MakeSolids( S, NSL );
-
-    // store new shells or solids
-    TopTools_ListIteratorOfListOfShape itNSL (NSL);
-    for ( ; itNSL.More(); itNSL.Next()) 
-      myBuilder.Add (myShape, itNSL.Value());
-  }
-#ifdef PART_PERF
-    MESSAGE("+++ MakeShells()");
-    aCron.Show( cout );
-#endif
-
-  //-----------------------------------------------
-  // add split faces
-  //-----------------------------------------------
-
-  for (itl.Initialize(myListShapes);itl.More();itl.Next())
-  {
-    const TopoDS_Shape & S = itl.Value();
-    if (S.ShapeType() != TopAbs_FACE ||
-        myMapTools.Contains( S ))
-      continue; 
-    TopoDS_Iterator itS( myImageShape.Image(S).First() );
-    for (; itS.More(); itS.Next())
-      if (! myAddedFacesMap.Contains( itS.Value() ))
-        myBuilder.Add (myShape, itS.Value());
-  }
-
-  myDoneStep = makeSolids ? TopAbs_SOLID : TopAbs_SHELL;
-  
-}
-
-//=======================================================================
-//function : MakeSolids
-//purpose  : make solids out of Shells
-//=======================================================================
-
-void Partition_Spliter::MakeSolids(const TopoDS_Shape &   theSolid,
-                                   TopTools_ListOfShape & theShellList)
-{
-  // for a solid wrapping other shells or solids without intersection,
-  // it is necessary to find shells making holes in it
-
-  TopTools_ListOfShape aNewSolids; // result
-  TopTools_ListOfShape aHoleShells;
-  TopoDS_Shape anInfinitePointShape;
-
-  Standard_Boolean isWrapping = myWrappingSolid.Contains( theSolid );
-  if (!isWrapping && !theShellList.IsEmpty())
-  {
-    // check if theSolid initially has internal shells
-    TopoDS_Iterator aShellExp (theSolid);
-    aShellExp.Next();
-    isWrapping = aShellExp.More();
-  }
-  
-  TopTools_ListIteratorOfListOfShape aShellIt(theShellList);
-  for ( ; aShellIt.More(); aShellIt.Next())
-  {
-    const TopoDS_Shape & aShell = aShellIt.Value();
-
-    // check if a shell is a hole
-    if (isWrapping && IsInside (anInfinitePointShape, aShell))
-      aHoleShells.Append( aShell );
-    else
-    {
-      // make a solid from a shell
-      TopoDS_Solid Solid;
-      myBuilder.MakeSolid( Solid );
-      myBuilder.Add (Solid, aShell);
-
-      aNewSolids.Append (Solid);
-    }
-  }
-
-  // find an outer shell most close to each hole shell
-  TopTools_DataMapOfShapeShape aInOutMap;
-  for (aShellIt.Initialize( aHoleShells ); aShellIt.More(); aShellIt.Next())
-  {
-    const TopoDS_Shape & aHole = aShellIt.Value();
-    TopTools_ListIteratorOfListOfShape aSolisIt (aNewSolids);
-    for ( ; aSolisIt.More(); aSolisIt.Next())
-    {
-      const TopoDS_Shape & aSolid = aSolisIt.Value();
-      if (! IsInside( aHole, aSolid ))
-        continue;
-
-      if ( aInOutMap.IsBound (aHole))
-      {
-        const TopoDS_Shape & aSolid2 = aInOutMap( aHole );
-        if ( IsInside( aSolid, aSolid2 ))
-        {
-          aInOutMap.UnBind( aHole );
-          aInOutMap.Bind ( aHole, aSolid );
-        }
-      }
-      else
-        aInOutMap.Bind ( aHole, aSolid );
-    }
-
-    // add aHole to a solid
-    if (aInOutMap.IsBound( aHole ))
-      myBuilder.Add ( aInOutMap( aHole ), aHole );
-  }
-
-  theShellList.Clear();
-  theShellList.Append( aNewSolids );
-}
-//=======================================================================
-//function : FindFacesInside
-//purpose  : return compound of faces  of other shapes that are
-//           inside <theShape>. 
-//           <theShape> is an object shape.
-//           <CheckClosed> makes avoid faces that do not form a
-//           closed shell
-//           <All> makes return already added faces
-//=======================================================================
-
-TopoDS_Shape Partition_Spliter::FindFacesInside(const TopoDS_Shape& theShape,
-                                               const Standard_Boolean CheckClosed,
-                                               const Standard_Boolean All)
-{
-  // ================================================
-  // check if internal faces have been already found
-  // ================================================
-  TopExp_Explorer expl;
-  if (myInternalFaces.IsBound( theShape ))
-  {
-    TopoDS_Shape aIntFComp = myInternalFaces.Find ( theShape );
-    TopoDS_Shape aIntRemFComp = myIntNotClFaces.Find ( theShape );
-
-    expl.Init( aIntRemFComp, TopAbs_FACE);
-    if (CheckClosed || !expl.More())
-      return aIntFComp;
-
-    TopoDS_Compound C;
-    myBuilder.MakeCompound( C );
-    // add removed faces
-    for (; expl.More(); expl.Next())
-      myBuilder.Add( C, expl.Current() );
-    // add good internal faces
-    for (expl.Init( aIntFComp, TopAbs_FACE); expl.More(); expl.Next())
-      myBuilder.Add( C, expl.Current() );
-    return C;
-  }
-
-  // ===================================
-  // get data for internal faces search
-  // ===================================
-
-  // compound of split faces of theShape 
-  const TopoDS_Shape& CSF = myImageShape.Image(theShape).First();
-
-  TopTools_MapOfShape MSE, MFP;
-  TopTools_DataMapOfShapeListOfShape DMSEFP;
-  TopTools_MapIteratorOfMapOfShape itm;
-  TopTools_ListOfShape EmptyL;
-
-  // MSE filling: map of new section edges of CSF
-  for (expl.Init(CSF,TopAbs_EDGE); expl.More(); expl.Next()) {
-    const TopoDS_Shape & resE = expl.Current() ;
-    if (myNewSection.Contains( resE )) // only new edges
-      MSE.Add(resE);
-  }
-
-  // DMEF: map edge of CSF - faces of CSF
-  TopTools_IndexedDataMapOfShapeListOfShape DMEF;
-  TopExp::MapShapesAndAncestors(CSF, TopAbs_EDGE, TopAbs_FACE, DMEF);
-
-  // Fill
-  // 1.  MFP - a map of faces to process: map of resulting faces except
-  // those of theShape; we`ll add to C those of them which are inside CSF
-  // 2.  DMSEFP - edge of MSE => faces of MFP
-  TopTools_ListIteratorOfListOfShape itl;
-  for (itl.Initialize(myListShapes);itl.More();itl.Next()) {
-    const TopoDS_Shape& aShape = itl.Value();
-    if ( theShape.IsSame( aShape )) continue;
-    // fill maps
-    // iterate on split faces of aShape
-    TopoDS_Iterator itF ( myImageShape.Image(aShape).First() );
-    for ( ; itF.More(); itF.Next()) {
-      const TopoDS_Shape& sf = itF.Value();
-      MFP.Add(sf);
-      // iterate on edges of split faces of aShape,
-      // add to DMSEFP edges that are new
-      for (expl.Init( sf, TopAbs_EDGE ); expl.More(); expl.Next()) {
-       TopoDS_Shape se = expl.Current();
-       if ( MSE.Contains(se)) {// section edge
-         if (!DMSEFP.IsBound(se)) 
-           DMSEFP.Bind(se,EmptyL);
-         DMSEFP(se).Append(sf);
-       }
-      }
-    }
-  }
-
-  // add tool faces having section edges on faces of theShape to MFP and DMSEFP;
-  // such tool faces need not to be reconstructed and so they are not in myListShapes
-  for (itm.Initialize(myMapTools); itm.More(); itm.Next())
-  {
-    const TopoDS_Shape & aToolFace = itm.Key();
-    if (myMapFaces.Contains( aToolFace ))
-      continue;
-    MFP.Add(aToolFace);
-    for (expl.Init( aToolFace, TopAbs_EDGE ); expl.More(); expl.Next()) {
-      TopoDS_Shape se = expl.Current();
-      if ( MSE.Contains( se )) {// section edge
-        if (!DMSEFP.IsBound( se )) 
-          DMSEFP.Bind( se, EmptyL );
-        DMSEFP( se ).Append( aToolFace );
-      }
-    }
-  }
-  
-
-  // ===========================
-  // find faces inside theShape
-  // ===========================
-
-  Standard_Boolean skipAlreadyAdded = Standard_False;
-  Standard_Boolean GoodOri, inside;
-  Standard_Real dot;
-  TopTools_ListOfShape KeepFaces;
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape Mapit;
-
-  // iterate on section edges, check faces of other shapes
-  // sharing section edges and put internal faces to KeepFaces
-  for (Mapit.Initialize(DMSEFP); Mapit.More() ; Mapit.Next() ) {
-    // a new edge of theShape
-    const TopoDS_Edge& E = TopoDS::Edge (Mapit.Key());
-    // an original edge of which E is a split
-    const TopoDS_Edge& OrigE = TopoDS::Edge ( myImagesEdges.Root( E ));
-    // does OrigE itself splits a face
-    Standard_Boolean isSectionE = myInter3d.IsSectionEdge ( OrigE );
-
-    // split faces of other shapes sharing E
-    TopTools_ListOfShape& LSF = DMSEFP.ChangeFind(E);
-    itl.Initialize( LSF );
-    while (itl.More()) {
-      // a split faces of other shape
-      TopoDS_Face aFace1 = TopoDS::Face(itl.Value());
-      // remove aFace1 form DMSEFP and MFP
-      LSF.Remove( itl ); // == itl.Next();
-      if (!MFP.Remove( aFace1 ))
-       continue; // was not is MFP ( i.e already checked)
-      // check if aFace1 was already added to 2 shells
-      if (!All &&
-         myAddedFacesMap.Contains( aFace1 ) &&
-         myAddedFacesMap.Contains( aFace1.Reversed() )) {
-       skipAlreadyAdded = Standard_True;
-       continue;
-      }
-
-      // find another face which originates from the same face as aFace1:
-      // usually aFace2 is internal if aFace1 is not and vice versa
-
-      TopoDS_Shape anOrigFace = aFace1;
-      if (myImagesFaces.IsImage(aFace1))
-        anOrigFace = myImagesFaces.Root(aFace1);
-      TopoDS_Shape aFace2;
-      if ( !isSectionE ) {
-        while (itl.More()) {
-          aFace2 = itl.Value();
-          if (!MFP.Contains( aFace2 )) {
-            LSF.Remove( itl );
-            continue;
-          }
-          if (anOrigFace.IsSame( myImagesFaces.Root( aFace2 )))
-            break;
-          itl.Next();
-        }
-        if (itl.More()) { // aFace2 found, remove it from maps
-          LSF.Remove( itl );
-          MFP.Remove(aFace2);
-        }
-        else
-          aFace2.Nullify();
-        itl.Initialize( LSF );
-      }
-
-      // check that anOrigFace is not same domain with CSF faces it intersects
-
-      const TopTools_ListOfShape& FL = DMEF.FindFromKey(E); //faces of CSF sharing E
-      const TopoDS_Shape& origF1 = myImagesFaces.Root(FL.First());
-      const TopoDS_Shape& origF2 = myImagesFaces.Root(FL.Last());
-      Standard_Boolean sameDom1 = anOrigFace.IsSame( origF1 );
-      Standard_Boolean sameDom2 = anOrigFace.IsSame( origF2 );
-      if (!(sameDom1 || sameDom2) && myInter3d.HasSameDomainF( anOrigFace )) {
-       sameDom1 = myInter3d.IsSameDomainF( anOrigFace, origF1);
-        if (origF1 == origF2)
-          sameDom2 = sameDom1;
-        else
-          myInter3d.IsSameDomainF( anOrigFace, origF2);
-      }
-      if (sameDom1 && sameDom2)
-       continue;
-      if ((sameDom1 || sameDom2)) {
-       inside = Partition_Loop3d::IsInside (E,
-                                            TopoDS::Face(FL.First()),
-                                            TopoDS::Face(FL.Last()),
-                                            1, dot, GoodOri);
-       if (inside || (dot + Precision::Angular() >= 1.0))
-         continue; // E is convex between origF1 and origF2 or they are tangent
-      }
-
-
-      // keep one of found faces
-
-      //face of CSF sharing E
-      const TopoDS_Shape& aShapeFace = sameDom1 ? FL.Last() : FL.First();
-      // analyse aFace1 state
-      inside = Partition_Loop3d::IsInside (E, TopoDS::Face(aShapeFace), aFace1,
-                                          1, dot, GoodOri);
-      if (inside && isSectionE)
-      {
-        // aFace1 must be tested with both adjacent faces of CSF
-        const TopoDS_Shape& aShapeFace2 = sameDom1 ? FL.First() : FL.Last();
-        if (aShapeFace2 != aShapeFace)
-          inside = Partition_Loop3d::IsInside (E, TopoDS::Face(aShapeFace2), aFace1,
-                                               1, dot, GoodOri);
-      }
-
-      // store internal face
-      if (inside)
-        KeepFaces.Append(aFace1);
-
-      else if (!aFace2.IsNull())
-      {
-        if (dot + Precision::Angular() >= 1.0)
-        {
-          // aFace2 state is not clear, it will be analysed alone,
-          // put it back to the maps
-          MFP.Add( aFace2 );
-          LSF.Append( aFace2 );
-        }
-        else
-          KeepFaces.Append(aFace2);
-      }
-    }
-  }
-
-  // ===================================================
-  // add not distributed faces connected with KeepFaces
-  // ===================================================
-
-  // ultimate list of internal faces
-  TopTools_ListOfShape KeptFaces;
-
-  // add to MFP not split tool faces as well, they may be connected with
-  // tool faces interfering with theShape
-  for ( itm.Initialize(myMapTools); itm.More(); itm.Next() ) {
-    const TopoDS_Shape& aToolFace = itm.Key();
-    if (!myImageShape.HasImage(aToolFace))
-      MFP.Add (aToolFace);
-  }
-
-  if (MFP.IsEmpty())
-    KeptFaces.Append (KeepFaces);
-
-  while (!KeepFaces.IsEmpty())
-  {
-    // KeepEdges : map of edges of faces kept last time
-    TopTools_IndexedMapOfShape KeepEdges;
-    for ( itl.Initialize(KeepFaces); itl.More(); itl.Next() ) {
-      TopExp::MapShapes( itl.Value(), TopAbs_EDGE, KeepEdges);
-      KeptFaces.Append( itl.Value() );
-    }
-
-    KeepFaces.Clear();
-
-    // keep faces connected with already kept faces by KeepEdges
-    for ( itm.Initialize(MFP); itm.More(); itm.Next() ) {
-      const TopoDS_Shape& FP = itm.Key();
-      for (expl.Init(FP,TopAbs_EDGE); expl.More(); expl.Next()) {
-        const TopoDS_Shape& se = expl.Current();
-        if (!MSE.Contains(se) && KeepEdges.Contains(se) ) {
-          KeepFaces.Append(FP);
-          MFP.Remove(FP);
-          break;
-        }
-      }
-    }
-  }
-
-  // ===============================================================
-  // here MFP contains faces outer of theShape and those of shapes
-  // which do not interfere with theShape at all and between which
-  // there may be those wrapped by theShape and whose faces may be
-  // needed to be returned as well
-  // ===============================================================
-
-  Standard_Boolean isSolid = (theShape.ShapeType() == TopAbs_SOLID);
-  if (All || isSolid)  // All is for sub-result removal
-  {
-    // loop on not used faces; checked faces will be removed from MFP
-    // during the loop
-    for ( itm.Initialize( MFP ); itm.More(); itm.Next() ) {
-      const TopoDS_Shape & aFace = itm.Key();
-
-      // a shape which aFace originates from
-      TopoDS_Shape anOrigShape = GetOriginalShape( aFace );
-
-      // find out if all split faces of anOrigShape are not in MFP
-      // and by the way remove them from MFP
-      Standard_Boolean isAllOut = Standard_True;
-      TopoDS_Shape aSplitFaces = anOrigShape;
-      if (myImageShape.HasImage(anOrigShape))
-        aSplitFaces = myImageShape.Image(anOrigShape).First();
-
-      TopTools_ListOfShape aSplitFaceL; // faces candidate to be kept
-      for (expl.Init( aSplitFaces, TopAbs_FACE ); expl.More(); expl.Next())
-      {
-        const TopoDS_Shape & aSpFace = expl.Current();
-        // a tool face which became object has image but the whole tool shape has not
-        if (myImageShape.HasImage( aSpFace ))
-        {
-          TopExp_Explorer exF (myImageShape.Image( aSpFace ).First(), TopAbs_FACE );
-          for ( ; exF.More(); exF.Next() )
-          {
-            aSplitFaceL.Append( exF.Current() );
-            if ( ! MFP.Remove( exF.Current() ) && isAllOut )
-              // a shared face might be removed from MFP during a prev loop
-              isAllOut = mySharedFaces.Contains( exF.Current() );
-          }
-        }
-        else
-        {
-          aSplitFaceL.Append( aSpFace );
-          if ( ! MFP.Remove( aSpFace ) && isAllOut)
-            // a shared face might be removed from MFP during a prev loop
-            isAllOut = mySharedFaces.Contains( aSpFace );
-        }
-      }
-      itm.Initialize( MFP ); // iterate remaining faces
-      if ( !isAllOut )
-        continue;
-
-      // classify anOrigShape against theShape
-      if (IsInside (anOrigShape, theShape))
-      {
-        if (isSolid && myClosedShapes.Contains( anOrigShape ))
-          // to make a special care at solid reconstruction
-          myWrappingSolid.Add ( theShape );
-
-        // keep faces of an internal shape anOrigShape
-        KeptFaces.Append( aSplitFaceL );
-      }
-    }
-  }
-
-  // ====================================================
-  // check if kept faces form a shell without free edges
-  // ====================================================
-
-  DMEF.Clear();  // edge - kept faces
-  MFP.Clear(); // reuse it for wrong faces
-  if (CheckClosed) {
-    for (itl.Initialize(KeptFaces); itl.More(); itl.Next() ) 
-      TopExp::MapShapesAndAncestors(itl.Value(), TopAbs_EDGE, TopAbs_FACE, DMEF);
-
-    Standard_Integer i, nb = DMEF.Extent();
-    Standard_Boolean isClosed = Standard_False;
-    while (!isClosed) {
-      isClosed = Standard_True;
-      for (i=1;  isClosed && i<=nb;  ++i) {
-        const TopoDS_Shape& E = DMEF.FindKey( i );
-        if (! BRep_Tool::Degenerated( TopoDS::Edge( E )) &&
-            ! MSE.Contains( E ))
-          isClosed = ( DMEF(i).Extent() != 1 );
-      }
-      if (!isClosed) {
-        const TopoDS_Shape& F = DMEF.FindFromIndex( i-1 ).First(); // bad face
-        MFP.Add( F ); 
-        // remove bad face from DMEF
-        for (expl.Init( F, TopAbs_EDGE); expl.More(); expl.Next()) {
-         const TopoDS_Shape& E = expl.Current();
-          TopTools_ListOfShape& FL = DMEF.ChangeFromKey( E );
-          for (itl.Initialize( FL ); itl.More(); itl.Next() ) {
-            if ( F.IsSame( itl.Value() )) {
-              FL.Remove( itl );
-              break;
-            }
-          }
-        }
-      }
-    }
-  }
-
-  // ==============
-  // make a result
-  // ==============
-
-  TopoDS_Compound C;
-  // compound of removed internal faces
-  TopoDS_Compound CNotCl;
-
-  myBuilder.MakeCompound(C);
-  myBuilder.MakeCompound(CNotCl);
-
-  // add to compounds
-  for (itl.Initialize(KeptFaces); itl.More(); itl.Next() )
-  {
-    TopoDS_Shape & aIntFace = itl.Value();
-    if (! MFP.Contains( aIntFace ))
-      myBuilder.Add( C, aIntFace);
-    else
-      myBuilder.Add( CNotCl, aIntFace);
-  }
-
-  if (!skipAlreadyAdded && CheckClosed)
-  {
-    myInternalFaces.Bind( theShape, C );
-    myIntNotClFaces.Bind( theShape, CNotCl );
-  }
-
-  return C;
-}
-
-//=======================================================================
-//function : MakeShell
-//purpose  : split S into compound of shells
-//=======================================================================
-
-void Partition_Spliter::MakeShells(const TopoDS_Shape& S,
-                                   TopTools_ListOfShape& NS)
-{
-  Partition_Loop3d ShellMaker;
-  // get compound of split faces of S
-  const TopoDS_Shape& FacesComp = myImageShape.Image(S).First();
-  ShellMaker.AddConstFaces( FacesComp );
-  // add split faces inside S
-  if (myClosedShapes.Contains( S )) {
-    TopoDS_Shape InternalFacesComp = FindFacesInside(S, Standard_True);
-    ShellMaker.AddSectionFaces( InternalFacesComp );
-  }
-  
-  NS = ShellMaker.MakeShells( myAddedFacesMap );
-
-  // Add faces added to new shell to myAddedFacesMap:
-  // avoid rebuilding twice commont part of 2 solids.
-  TopTools_ListIteratorOfListOfShape itS(NS);
-  while ( itS.More()) {
-    TopExp_Explorer expF (itS.Value(), TopAbs_FACE);
-    for (; expF.More(); expF.Next())
-      myAddedFacesMap.Add (expF.Current());
-    
-    itS.Next();
-  }
-}
-
-//=======================================================================
-//function : findEqual
-//purpose  : compare edges of EL1 against edges of EL2,
-//           Result is in EMM binding EL1 edges to list of equal edges.
-//           Edges are considered equall only if they have same vertices.
-//           <addSame>==True makes consider same edges as equal
-//           Put in <AllEqMap> all equal edges
-//=======================================================================
-
-static void findEqual (const TopTools_ListOfShape& EL1,
-                      const TopTools_ListOfShape& EL2,
-                      const Standard_Boolean addSame,
-                      TopTools_DataMapOfShapeListOfShape& EEM,
-                      TopTools_MapOfShape& AllEqMap)
-{
-  // map vertices to edges for EL2
-  TopTools_DataMapOfShapeListOfShape VEM;
-  TopTools_ListIteratorOfListOfShape itE1, itE2(EL2);
-  TopoDS_Iterator itV;
-  TopTools_ListOfShape emptyL;
-  for (; itE2.More(); itE2.Next()) {
-    for (itV.Initialize( itE2.Value() ); itV.More(); itV.Next()) {
-      const TopoDS_Shape& V = itV.Value(); 
-      if (! VEM.IsBound( V ) )
-       VEM.Bind( V, emptyL);
-      VEM( V ).Append( itE2.Value());
-    }
-  }
-
-  gp_Vec D1, D2;
-  gp_Pnt P;
-  Standard_Real f,l,u,tol;
-  Handle(Geom_Curve) C1, C2;
-  Extrema_ExtPC Extrema;
-  TopoDS_Vertex V1, V2, V3, V4;
-
-  AllEqMap.Clear();
-  
-  for (itE1.Initialize(EL1); itE1.More(); itE1.Next()) {
-    const TopoDS_Edge& E1 = TopoDS::Edge( itE1.Value());
-    if (BRep_Tool::Degenerated( E1 ) || AllEqMap.Contains (E1))
-      continue;
-    TopExp::Vertices( E1, V1, V2 );
-
-    if (VEM.IsBound(V1))
-      itE2.Initialize( VEM(V1) );
-    for (; itE2.More(); itE2.Next()) {
-      const TopoDS_Edge& E2 = TopoDS::Edge( itE2.Value());
-      if (BRep_Tool::Degenerated( E2 ) || AllEqMap.Contains (E2))
-        continue;
-
-      if (E1.IsSame(E2)) {
-       if (!addSame)
-         continue;
-      }
-      else {
-       TopExp::Vertices( E2, V3, V4);
-       if (!V2.IsSame(V4) && !V2.IsSame(V3))
-         continue;
-       // E1 and E2 have same vertices
-       // check D1 at end points.
-        C2 = BRep_Tool::Curve( E2, f,l);
-        C1 = BRep_Tool::Curve( E1, f,l);
-       u = BRep_Tool::Parameter(V1,E1);
-        C1->D1(u, P, D1);
-       u = BRep_Tool::Parameter(V1.IsSame(V3) ? V3 : V4, E2);
-       C2->D1(u, P, D2);
-        D1.Normalize(); D2.Normalize();
-        if (Abs(D1*D2) + Precision::Angular() < 1.0)
-          continue;
-       if (! V1.IsSame(V2)) {
-         u = BRep_Tool::Parameter(V2,E1);
-         C1->D1(u, P, D1);
-         u = BRep_Tool::Parameter(V2.IsSame(V3) ? V3 : V4, E2);
-         C2->D1(u, P, D2);
-         D1.Normalize(); D2.Normalize();
-         if (Abs(D1*D2) + Precision::Angular() < 1.0)
-           continue;
-       }
-        // check distance at a couple of internal points
-        tol = Max(BRep_Tool::Tolerance(E1),
-                  BRep_Tool::Tolerance(E2));
-        GeomAdaptor_Curve AC1(C1);
-        Extrema.Initialize(AC1,f,l);
-       Standard_Boolean ok = Standard_True, hasMin = Standard_False;
-       BRep_Tool::Range( E2, f, l);
-        Standard_Integer i=1, nbi=3;
-        for (; i<nbi && ok; ++i) {
-          Extrema.Perform( C2->Value( f+(l-f)*i/nbi ));
-          Standard_Integer j=1, nbj=Extrema.NbExt();
-          for (; j<=nbj && ok; ++j) {
-            if (Extrema.IsMin(j)) {
-             hasMin = Standard_True;
-              ok = Extrema.Value(j) <= tol;
-           }
-          }
-        }
-        if ( !hasMin || !ok)
-          continue;
-      }
-      // bind E2 to E1 in EEM
-      if (!EEM.IsBound(E1)) {
-        EEM.Bind (E1, emptyL);
-       AllEqMap.Add (E1);
-      }
-      EEM(E1).Append(E2);
-      AllEqMap.Add (E2);
-    }
-  }
-}
-
-//=======================================================================
-//function : MakeFaces
-//purpose  : split faces of S, return compound of new faces
-//=======================================================================
-
-TopoDS_Shape Partition_Spliter::MakeFaces (const TopoDS_Shape& S)
-{
-  TopoDS_Compound C;
-  myBuilder.MakeCompound(C);
-  
-  TopTools_ListIteratorOfListOfShape itl, itNE;
-  
-  TopExp_Explorer exp(S,TopAbs_FACE);
-  for (; exp.More(); exp.Next()) {
-
-    const TopoDS_Face& F = TopoDS::Face(exp.Current());
-
-    TopTools_ListOfShape LNF;
-    
-    if (myImagesFaces.HasImage( F )) {
-      myImagesFaces.LastImage( F, LNF );
-      TopAbs_Orientation oriF = F.Orientation();
-      for ( itl.Initialize( LNF ); itl.More(); itl.Next())
-       itl.Value().Orientation( oriF );
-    }
-    else {
-
-      Partition_Loop2d loops;
-      loops.Init(F);
-
-      TopTools_IndexedMapOfShape EM;
-      TopExp::MapShapes( F, TopAbs_EDGE, EM);
-
-      TopTools_MapOfShape AddedEqualM, EqualSeamM;
-      Standard_Boolean needRebuild = Standard_False;
-
-      // add splits to loops
-
-      // LE: old edges + new not splitted edges
-      const TopTools_ListOfShape& LE = myAsDes->Descendant(F);
-      for (itl.Initialize(LE); itl.More(); itl.Next()) {
-       const TopoDS_Edge& E = TopoDS::Edge( itl.Value() );
-
-       Standard_Boolean isSectionE = myInter3d.IsSectionEdge(E);
-       Standard_Boolean isNewE = !EM.Contains( E );
-
-       // LSE: list of split edges
-       TopTools_ListOfShape LSE;
-       myImagesEdges.LastImage(E,LSE); // splits of E or E itself
-
-       for (itNE.Initialize(LSE); itNE.More(); itNE.Next()) {
-
-         TopoDS_Edge NE = TopoDS::Edge( itNE.Value() );
-         Standard_Boolean isSameE = NE.IsSame ( E );
-         
-         if ( isNewE || isSectionE || !isSameE) {
-           if (AddedEqualM.Contains( NE )) {
-              // a seam must be twice in a loop
-              if (!BRep_Tool::IsClosed( E, F ) || !EqualSeamM.Add( NE ))
-                continue;
-            }
-
-           if (isNewE) {
-             if (isSectionE) {
-               if ( ! myInter3d.IsSplitOn( NE, E, F) )
-                 continue;
-             }
-             else {
-               TopoDS_Vertex V1,V2;
-               TopExp::Vertices(NE,V1,V2);
-               const TopTools_ListOfShape& EL1 = myAsDes->Ascendant(V1);
-               const TopTools_ListOfShape& EL2 = myAsDes->Ascendant(V2);
-               if ( EL1.Extent() < 2 && EL2.Extent() < 2 )
-                 continue;
-             }
-           }
-           else {
-             NE.Orientation( E.Orientation());
-             if (!isSameE) {
-               // orient NE because it may be a split of other edge
-               Standard_Real f,l,u;
-               Handle(Geom_Curve) C3d  = BRep_Tool::Curve( E,f,l );
-               Handle(Geom_Curve) NC3d = BRep_Tool::Curve( NE,f,l);
-               if ( C3d != NC3d) {
-                 gp_Vec D1, ND1;  gp_Pnt P;
-                 TopoDS_Vertex V = TopExp::FirstVertex(NE);
-                 u = BRep_Tool::Parameter(V,NE);
-                 NC3d->D1 (u, P, ND1);
-                 u = BRep_Tool::Parameter(V,E);
-                 C3d ->D1 (u, P, D1);
-                 if (ND1.Dot(D1) < 0)
-                   NE.Reverse();
-               }
-             }
-           }
-           if (myEqualEdges.Contains( NE ))
-              AddedEqualM.Add( NE );
-
-           needRebuild = Standard_True;
-         }
-
-         if (isNewE || isSectionE)
-           myNewSection.Add( NE );
-
-         if (isNewE) 
-           loops.AddSectionEdge(NE);
-         else
-           loops.AddConstEdge(NE);
-       }
-      }
-
-      //-------------------
-      // Build the faces.
-      //-------------------
-      
-      if (needRebuild) {
-       
-        loops.Perform();
-        loops.WiresToFaces(myImagesEdges);
-
-        LNF = loops.NewFaces();
-
-        myImagesFaces.Bind(F,LNF);
-
-        // replace the result faces that have already been built
-        // during same domain faces reconstruction done earlier
-        if (myInter3d.HasSameDomainF( F ))
-        {
-          // build map edge to same domain faces: EFM
-          TopTools_IndexedDataMapOfShapeListOfShape EFM;
-          TopTools_MapOfShape SDFM; // avoid doubling
-          itl.Initialize( myInter3d.SameDomain( F ));
-          for (; itl.More(); itl.Next()) {
-            if ( !myImagesFaces.HasImage( itl.Value() ))
-              continue;
-            // loop on splits of a SD face
-            TopTools_ListIteratorOfListOfShape itNF;
-            itNF.Initialize (myImagesFaces.Image( itl.Value() ));
-            for ( ; itNF.More(); itNF.Next()) {
-              TopoDS_Shape SDF = itNF.Value();
-              if (myImagesFaces.HasImage( SDF )) // already replaced
-                SDF = myImagesFaces.Image( SDF ).First();
-              if (SDFM.Add (SDF))
-                TopExp::MapShapesAndAncestors(SDF, TopAbs_EDGE, TopAbs_FACE, EFM);
-            }
-          }
-          // do replace faces in the LNF
-          TopTools_ListOfShape LOF;
-          if ( !EFM.IsEmpty() )
-            itl.Initialize( LNF );
-          while (itl.More()) {
-            const TopoDS_Shape& NF = itl.Value();
-            TopExp_Explorer expE ( NF, TopAbs_EDGE );
-            const TopoDS_Edge& E  = TopoDS::Edge (expE.Current());
-            if (EFM.Contains( E )) {
-              const TopTools_ListOfShape& SDFL = EFM.FindFromKey( E );
-              TopoDS_Shape SDF = SDFL.First();
-              Standard_Boolean GoodOri;
-              Standard_Real dot;
-              Partition_Loop3d::IsInside (E, TopoDS::Face(NF), TopoDS::Face(SDF),
-                                          1, dot, GoodOri);
-              if (dot < 0)
-              {
-                // NF and SDF are on different side of E
-                if (SDFL.Extent() == 1) {
-                  itl.Next();
-                  continue;
-                }
-                else
-                  SDF = SDFL.Last(); // next face must be on the same side
-              }
-              gp_Vec V1 = Partition_Loop3d::Normal( E, TopoDS::Face( NF ));
-              gp_Vec V2 = Partition_Loop3d::Normal( E, TopoDS::Face( SDF ));
-              if (V1*V2 < 0)
-                SDF.Reverse();
-
-              if (!myImagesFaces.HasImage( NF ))
-                myImagesFaces.Bind( NF, SDF );
-
-              // mySharedFaces is used in FindFacesInside()
-              mySharedFaces.Add( SDF );
-
-              LOF.Prepend ( SDF );
-              LNF.Remove (itl);
-            }
-            else
-              itl.Next();
-          }
-
-          LNF.Append (LOF);
-        }
-      } // if (needRebuild)
-      
-      else {
-       LNF.Append( F );
-       myImagesFaces.Bind(F,LNF);
-      }
-    } // if (myImagesFaces.HasImage( F ))
-
-    // fill the resulting compound
-    for (itl.Initialize(LNF); itl.More(); itl.Next())
-      myBuilder.Add ( C, itl.Value());
-    
-  } // loop on faces of S
-
-  return C;
-}
-
-
-//=======================================================================
-//function : Tri
-//purpose  : 
-//=======================================================================
-
-static void Tri(const TopoDS_Edge&        E,
-               TopTools_SequenceOfShape& Seq,
-                const Partition_Inter3d & theInter3d)
-{
-  Standard_Boolean Invert   = Standard_True;
-  Standard_Real    U1,U2;
-  TopoDS_Vertex    V1,V2;
-
-  while (Invert) {
-    Invert = Standard_False;
-    for ( Standard_Integer i = 1; i < Seq.Length(); i++) {
-      
-      V1 = TopoDS::Vertex(Seq.Value(i));
-      V2 = TopoDS::Vertex(Seq.Value(i+1));
-      
-      V1.Orientation(TopAbs_INTERNAL);
-      V2.Orientation(TopAbs_INTERNAL);
-      
-      U1 = BRep_Tool::Parameter(V1,E);
-      U2 = BRep_Tool::Parameter(V2,E);
-      
-      if (IsEqual(U1,U2)) {
-        if (theInter3d.ReplaceSameDomainV( V1, E ).IsSame( V1 ))
-          Seq.Remove(i+1); // remove V2
-        else
-          Seq.Remove(i);
-       i--;
-       continue;
-      }
-      if (U2 < U1) {
-       Seq.Exchange(i,i+1);
-       Invert = Standard_True;
-      }
-    }
-  }
-}
-
-//=======================================================================
-//function : MakeEdges
-//purpose  : cut E by vertices VOnE, return list of new edges NE
-//=======================================================================
-
-void Partition_Spliter::MakeEdges (const TopoDS_Edge& E,
-                                   const TopTools_ListOfShape& VOnE,
-                                   TopTools_ListOfShape& NE   ) const
-{
-  TopoDS_Edge WE = E;
-  WE.Orientation(TopAbs_FORWARD);
-
-  Standard_Real    U1,U2, f, l;
-  TopoDS_Vertex    V1,V2,VF,VL;
-
-  BRep_Tool::Range(WE,f,l);
-  TopExp::Vertices(WE,VF,VL);
-
-  if (VOnE.Extent() < 3) { // do not rebuild not cut edge
-    if (( VF.IsSame( VOnE.First() ) && VL.IsSame( VOnE.Last() )) ||
-       VL.IsSame( VOnE.First() ) && VF.IsSame( VOnE.Last() )  ) {
-      NE.Append( E );
-      return;
-    }
-  }
-
-  TopTools_SequenceOfShape SV;
-  TopTools_ListIteratorOfListOfShape itv(VOnE);
-  TopTools_MapOfOrientedShape VM( VOnE.Extent() );
-  for (; itv.More(); itv.Next())
-    if ( VM.Add( itv.Value() ))
-      SV.Append(itv.Value());
-
-  Tri( WE, SV, myInter3d );
-
-  if (SV.Length() < 3) { // do not rebuild not cut edge
-    if (( VF.IsSame( SV.First() ) && VL.IsSame( SV.Last() )) ||
-       VL.IsSame( SV.First() ) && VF.IsSame( SV.Last() )  ) {
-      NE.Append( E );
-      return;
-    }
-  }
-
-  Standard_Integer iVer, NbVer = SV.Length();
-
-
-  //----------------------------------------------------------------
-  // Construction of the new edges .
-  //----------------------------------------------------------------
-
-  if (VF.IsSame(VL)) { // closed edge
-    if (NbVer==1) 
-      SV.Append( SV.First() );
-    else if (!SV.First().IsSame(SV.Last())) {
-      Standard_Boolean isFirst=0;
-      Standard_Real    minDU = 1.e10;
-      TopoDS_Vertex endV = Partition_Inter2d::FindEndVertex(VOnE, f,l, E, isFirst,minDU);
-      if (endV.IsSame(SV.First()))
-       SV.Append(endV);
-      else if (endV.IsSame(SV.Last()))
-       SV.Prepend(endV);
-      else
-       MESSAGE ("END VERTEX IS IN SEQUNCE MIDDLE");
-    }
-    NbVer = SV.Length();
-  }
-
-  for (iVer=1; iVer < NbVer; iVer++) {
-    V1  = TopoDS::Vertex(SV(iVer));
-    V2  = TopoDS::Vertex(SV(iVer+1));
-    
-    TopoDS_Shape NewEdge = WE.EmptyCopied();
-    V1.Orientation(TopAbs_FORWARD);
-    myBuilder.Add  (NewEdge,V1);
-    V2.Orientation(TopAbs_REVERSED);
-    myBuilder.Add  (NewEdge,V2);
-    
-    if (iVer==1)
-      U1 = f;
-    else       {
-      V1.Orientation(TopAbs_INTERNAL);
-      U1=BRep_Tool::Parameter(V1,WE);
-    }
-    if (iVer+1 == NbVer)
-      U2 = l;
-    else       {
-      V2.Orientation(TopAbs_INTERNAL);
-      U2=BRep_Tool::Parameter(V2,WE);
-    }
-    if (Abs(U1-U2) <= Precision::PConfusion()) {
-      MESSAGE( "MakeEdges(), EQUAL PARAMETERS OF DIFFERENT VERTICES");
-      continue;
-    }
-    TopoDS_Edge EE=TopoDS::Edge(NewEdge);
-    myBuilder.Range (EE,U1,U2);
-
-    TopoDS_Edge NEdge = TopoDS::Edge(NewEdge);
-    myBuilder.SameParameter(NEdge,Standard_False);
-
-    Standard_Real tol = 1.0e-2;
-    Standard_Boolean flag = BRep_Tool::SameParameter(NEdge);
-    if (!flag) {
-      BRepLib::SameParameter(NEdge,tol);
-    }
-    NE.Append(NEdge.Oriented(E.Orientation()));
-  }
-}
-
-//=======================================================================
-//function : MergeEqualEdges
-//purpose  : find equal edges,  choose  ones  to  keep and make
-//           them have pcurves on all faces they are shared by
-//=======================================================================
-
-void Partition_Spliter::MergeEqualEdges (const TopTools_ListOfShape& LSE)
-{
-  // find equal edges
-  // map: edge - equal edges
-  TopTools_DataMapOfShapeListOfShape EEM( LSE.Extent() );
-  findEqual (LSE, LSE, 0, EEM, myEqualEdges);
-
-  TopTools_ListOfShape EEL; // list of equal edges
-  TopTools_DataMapIteratorOfDataMapOfShapeListOfShape itM (EEM);
-  for ( ; itM.More(); itM.Next()) {
-    EEL = itM.Value();
-    EEL.Append( itM.Key() );
-
-    // choose an edge to keep, section edges have priority
-    TopoDS_Edge EKeep;
-    TopTools_ListIteratorOfListOfShape itEE (EEL);
-    for (; itEE.More(); itEE.Next()) {
-      EKeep = TopoDS::Edge( itEE.Value() );
-      const TopoDS_Edge& EKeepOrig = TopoDS::Edge( myImagesEdges.Root( EKeep ));
-      if (myInter3d.IsSectionEdge( EKeepOrig ))
-        break;
-    }
-
-    // update edge images and build pcurves
-    Standard_Real f,l, tol;
-    for (itEE.Initialize (EEL); itEE.More(); itEE.Next()) {
-      const TopoDS_Edge& E = TopoDS::Edge( itEE.Value() );
-      if ( E.IsSame( EKeep )) 
-        continue;
-
-      // 1. build pcurves of the kept edge on faces where replaced edges exist
-      const TopoDS_Edge& EReplOrig = TopoDS::Edge( myImagesEdges.Root( E ));
-      TopTools_ListOfShape FL;
-      FL = myAsDes->Ascendant( EReplOrig );
-      Standard_Integer iFace, iFirstSectionFace = FL.Extent() + 1;
-      // add faces where the replaced edge is a section edge
-      if (myInter3d.IsSectionEdge( EReplOrig )) {
-        TopTools_ListIteratorOfListOfShape seIt;
-        seIt.Initialize( myInter3d.SectionEdgeFaces ( EReplOrig ));
-        for ( ; seIt.More(); seIt.Next())
-          FL.Append( seIt.Value() );
-      }
-      // loop on faces
-      TopTools_ListIteratorOfListOfShape itF (FL);
-      for ( iFace = 1 ; itF.More(); itF.Next(), ++iFace ) {
-        const TopoDS_Face& F = TopoDS::Face( itF.Value());
-
-        Handle(Geom2d_Curve) pc = BRep_Tool::CurveOnSurface( EKeep, F, f,l);
-        if (pc.IsNull()) {
-          Handle(Geom_Curve) C3d = BRep_Tool::Curve( EKeep, f, l);
-          C3d = new Geom_TrimmedCurve( C3d, f,l);
-          pc = TopOpeBRepTool_CurveTool::MakePCurveOnFace (F,C3d,tol);
-          if (pc.IsNull()) {
-            MESSAGE (" CANT BUILD PCURVE ");
-          }
-          myBuilder.UpdateEdge( EKeep, pc, F, tol);
-        }
-
-        if (iFace >= iFirstSectionFace ||
-            !BRep_Tool::IsClosed( EReplOrig, F ))
-          continue;
-
-        // build the second pcurve for a seam
-        TopoDS_Vertex V = TopExp::FirstVertex( EKeep );
-        Standard_Real Ukeep = BRep_Tool::Parameter( V, EKeep );
-        Standard_Real Urepl = BRep_Tool::Parameter( V, E );
-
-        TopoDS_Edge EReplRev = E;
-        EReplRev.Reverse();
-        Handle(Geom2d_Curve) pcRepl1 = BRep_Tool::CurveOnSurface( E, F, f,l);
-        Handle(Geom2d_Curve) pcRepl2 = BRep_Tool::CurveOnSurface( EReplRev, F, f,l);
-
-        gp_Pnt2d p1r, p2r, pk;
-        p1r = pcRepl1->Value( Urepl );
-        p2r = pcRepl2->Value( Urepl );
-        pk  = pc->Value( Ukeep );
-
-        // suppose that pk is equal to either p1r or p2r
-        Standard_Boolean isUPeriod =
-          ( Abs( p1r.X() - p2r.X() ) > Abs( p1r.Y() - p2r.Y() ));
-        Standard_Boolean is1Equal;
-        if (isUPeriod)
-          is1Equal = ( Abs( p1r.X() - pk.X() ) < Abs( p2r.X() - pk.X() ));
-        else
-          is1Equal = ( Abs( p1r.Y() - pk.Y() ) < Abs( p2r.Y() - pk.Y() ));
-
-        Handle(Geom2d_Curve) pc2 = Handle(Geom2d_Curve)::DownCast
-          ( pc->Translated( pk, is1Equal ? p2r : p1r ) );
-
-        if (E.Orientation() == TopAbs_REVERSED)
-          is1Equal = !is1Equal;
-
-        if (is1Equal)
-          myBuilder.UpdateEdge( EKeep, pc, pc2, F, tol);
-        else
-          myBuilder.UpdateEdge( EKeep, pc2, pc, F, tol);
-
-      } // loop on a Faces where a replaced edge exists
-
-
-      // 2. update edge images according to replacement
-      if (myImagesEdges.HasImage( E ))
-        myImagesEdges.Remove( E );
-      myImagesEdges.Bind( E, EKeep );
-
-    } // loop on a list of equal edges EEL
-  } // loop on a map of equal edges EEM
-}
-
-//=======================================================================
-//function : KeepShapesInside
-//purpose  : remove shapes that are outside of S from resul
-//=======================================================================
-
-void Partition_Spliter::KeepShapesInside (const TopoDS_Shape& S)
-{
-  TopoDS_Iterator it;
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    for (it.Initialize( S ); it.More(); it.Next())
-      KeepShapesInside( it.Value());
-    return;
-  }
-
-  Standard_Boolean isTool = Standard_False;
-  if (!myImageShape.HasImage( S )) {
-    isTool = CheckTool( S );
-    if (!isTool) return;
-  }
-
-  // build map of internal faces
-  TopTools_IndexedMapOfShape MIF;
-  TopoDS_Shape IntFacesComp = FindFacesInside( S, Standard_False, Standard_True);
-  TopExp::MapShapes( IntFacesComp, TopAbs_FACE, MIF );
-
-  TopoDS_Compound C;
-  myBuilder.MakeCompound(C);
-
-  TopAbs_ShapeEnum anInternalShapeType = TopAbs_SHAPE;
-  if (!MIF.IsEmpty())
-  {
-    // leave in the result only those shapes having a face in MIF
-    for (it.Initialize( myShape ); it.More(); it.Next()) {
-      const TopoDS_Shape & aResShape = it.Value();
-      TopExp_Explorer expResF( aResShape, TopAbs_FACE );
-      for (; expResF.More(); expResF.Next()) {
-        if ( MIF.Contains( expResF.Current())) {
-          myBuilder.Add( C, aResShape );
-          if (aResShape.ShapeType() < anInternalShapeType)
-            anInternalShapeType = aResShape.ShapeType();
-          break;
-        }
-      }
-    }
-  }
-
-  // may be S was not split by internal faces then it is missing
-  // in myShape, add it
-  if (!isTool &&
-      (anInternalShapeType > TopAbs_SOLID || S.ShapeType() > TopAbs_SOLID))
-  {
-    TopTools_IndexedMapOfShape MSF; // map of split faces of S
-    TopExp::MapShapes( myImageShape.Image(S).First(), TopAbs_FACE, MSF);
-
-    // find a shape having all faces in MSF
-    for (it.Initialize( myShape ); it.More(); it.Next()) {
-      TopExp_Explorer expResF( it.Value(), TopAbs_FACE );
-      for (; expResF.More(); expResF.Next()) {
-        if (! MSF.Contains( expResF.Current())) 
-          break;
-      }
-      if (! expResF.More()) {
-        myBuilder.Add( C, it.Value() );
-        break;
-      }
-    }
-  }
-
-  myShape = C;
-}
-
-//=======================================================================
-//function : RemoveShapesInside
-//purpose  : remove shapes that are inside S from resul
-//=======================================================================
-
-void Partition_Spliter::RemoveShapesInside (const TopoDS_Shape& S)
-{
-  TopoDS_Iterator it;
-  if (S.ShapeType() < TopAbs_SOLID) { // compound or compsolid
-    for (it.Initialize( S ); it.More(); it.Next())
-      RemoveShapesInside( it.Value());
-    return;
-  }
-  Standard_Boolean isTool = Standard_False;
-  if (!myImageShape.HasImage( S )) {
-    isTool = CheckTool( S );
-    if (!isTool) return;
-  }
-
-  TopoDS_Shape IntFacesComp = FindFacesInside( S, Standard_False, Standard_True);
-  TopTools_IndexedMapOfShape MIF; // map of internal faces
-  TopExp::MapShapes( IntFacesComp, TopAbs_FACE, MIF);
-
-  if (MIF.IsEmpty()) return;
-
-  // add to MIF split faces of S
-  if (myImageShape.HasImage(S))
-    TopExp::MapShapes( myImageShape.Image(S).First(), TopAbs_FACE, MIF);
-
-  // leave in the result only those shapes not having all face in MIF
-  
-  TopoDS_Compound C;
-  myBuilder.MakeCompound(C);
-
-  // RMF : faces of removed shapes that encounter once
-  TopTools_MapOfShape RFM;
-  
-  for (it.Initialize( myShape ); it.More(); it.Next()) {
-    
-    TopExp_Explorer expResF( it.Value(), TopAbs_FACE );
-    for (; expResF.More(); expResF.Next())
-      if (!MIF.Contains( expResF.Current()))
-       break;
-
-    if (expResF.More())
-      // add shape to result
-      myBuilder.Add( C, it.Value() );
-    else 
-      // add faces of a removed shape to RFM
-      for (expResF.ReInit(); expResF.More(); expResF.Next()) {
-       const TopoDS_Shape& F = expResF.Current();
-       if ( ! RFM.Remove ( F ))
-         RFM.Add( F );
-      }
-  }
-
-  if (!isTool) {
-
-    // rebuild S, it must remain in the result
-
-    Standard_Boolean isClosed = Standard_False;
-    switch (S.ShapeType()) {
-    case TopAbs_SOLID :
-      isClosed = Standard_True; break;
-    case TopAbs_SHELL: {
-      TopTools_IndexedDataMapOfShapeListOfShape MEF;
-      TopExp::MapShapesAndAncestors(S, TopAbs_EDGE, TopAbs_FACE, MEF);
-      Standard_Integer i;
-      for (i=1;  isClosed && i<=MEF.Extent();  ++i) 
-        isClosed = ( MEF(i).Extent() != 1 );
-      break;
-    }
-    default:
-      isClosed = Standard_False;
-    }
-    if (isClosed) {
-
-      // add to a new shape external faces of removed shapes, ie those in RFM
-
-      TopoDS_Shell Shell;
-      myBuilder.MakeShell( Shell );
-
-      // exclude redundant internal face with edges encounterd only once
-      TopTools_IndexedDataMapOfShapeListOfShape MEF;
-      TopTools_MapIteratorOfMapOfShape itF (RFM);
-      for ( ; itF.More(); itF.Next()) 
-        TopExp::MapShapesAndAncestors(itF.Key(), TopAbs_EDGE, TopAbs_FACE, MEF);
-
-      // add only faces forming a closed shell
-      for (itF.Reset() ; itF.More(); itF.Next())
-      {
-        TopExp_Explorer expE (itF.Key(), TopAbs_EDGE);
-        for (; expE.More(); expE.Next())
-          if (MEF.FindFromKey(expE.Current()).Extent() == 1)
-            break;
-        if (!expE.More())
-          myBuilder.Add( Shell, itF.Key());
-      }
-
-      if (S.ShapeType() == TopAbs_SOLID) {
-        TopoDS_Solid Solid;
-        myBuilder.MakeSolid( Solid );
-        myBuilder.Add (Solid, Shell);
-        myBuilder.Add (C, Solid);
-      }
-      else
-        myBuilder.Add (C, Shell);
-    }
-    else {
-      if (myImageShape.HasImage( S )) {
-        for (it.Initialize( myImageShape.Image(S).First()); it.More(); it.Next())
-          myBuilder.Add (C, it.Value());
-      }
-    }
-  }
-  
-  myShape = C;
-}
-
-//=======================================================================
-//function : CheckTool
-//purpose  : Return True if <S>  is  a tool shape. Prepare tool
-//           faces of <S> for the search of internal faces.
-//=======================================================================
-
-Standard_Boolean Partition_Spliter::CheckTool(const TopoDS_Shape& S)
-{
-  // suppose S has not an image
-  
-  Standard_Boolean isTool = Standard_False;
-  TopoDS_Compound C;
-  myBuilder.MakeCompound( C );
-
-  TopExp_Explorer expF( S, TopAbs_FACE);
-  for (; expF.More(); expF.Next()) {
-
-    const TopoDS_Face& F = TopoDS::Face( expF.Current() );
-    if (myMapTools.Contains( F ))
-      isTool = Standard_True;
-    else
-      continue;
-
-    if (myImagesFaces.HasImage( F )) {
-      // F has been reconstructed
-      TopAbs_Orientation Fori = F.Orientation();
-      TopTools_ListOfShape LNF;
-      myImagesFaces.LastImage( F, LNF);
-      TopTools_ListIteratorOfListOfShape itF (LNF);
-      for ( ; itF.More(); itF.Next())
-       myBuilder.Add( C, itF.Value().Oriented(Fori) );
-      continue;
-    }
-    
-    Standard_Boolean hasSectionE = myInter3d.HasSectionEdge( F );
-    Standard_Boolean hasNewE     = myAsDes->HasDescendant( F );
-    if (!hasSectionE && !hasNewE)
-    {
-      // F intersects nothing
-      myBuilder.Add( C, F );
-      continue;
-    }
-    
-    // make an image for F
-    
-    TopoDS_Face NF = F;
-    NF.Orientation(TopAbs_FORWARD);
-    NF = TopoDS::Face( NF.EmptyCopied() ); // make a copy
-    TopoDS_Wire NW;
-    myBuilder.MakeWire( NW );
-
-    // add edges, as less as possible
-    TopTools_ListOfShape NEL;
-    TopTools_ListIteratorOfListOfShape itNE;
-    if (hasSectionE) {
-      // add section edges
-      TopExp_Explorer expE;
-      for ( ; expE.More(); expE.Next()) {
-       if (! myImagesEdges.HasImage( expE.Current() ))
-         continue;
-       myImagesEdges.LastImage( expE.Current(), NEL );
-       for ( itNE.Initialize( NEL ); itNE.More(); itNE.Next())
-         myBuilder.Add ( NW, itNE.Value());
-      }
-    }
-    if (hasNewE) {
-      // add new adges
-      NEL = myAsDes->Descendant( F );
-      for ( itNE.Initialize( NEL ); itNE.More(); itNE.Next()) {
-       TopTools_ListOfShape SEL; // splits
-       myImagesEdges.LastImage( itNE.Value(), SEL );
-       TopTools_ListIteratorOfListOfShape itSE (SEL);
-       for ( ; itSE.More(); itSE.Next()) 
-         myBuilder.Add ( NW, itSE.Value());
-      }
-    }
-    myBuilder.Add( NF, NW );
-    myBuilder.Add (C, NF);
-    
-    NF.Orientation( F.Orientation() ); // NF is most probably invalid
-    myImagesFaces.Bind (F, NF);
-  }
-  if (isTool)
-    myImageShape.Bind (S, C);
-
-  return isTool;
-}
-
-//=======================================================================
-//function : IsInside
-//purpose  : Return True if the first vertex of S1 inside S2.
-//           If S1.IsNull(), check infinite point against S2.
-//=======================================================================
-
-Standard_Boolean Partition_Spliter::IsInside (const TopoDS_Shape& theS1,
-                                              const TopoDS_Shape& theS2)
-{
-  BRepClass3d_SolidClassifier aClassifier( theS2 );
-
-  TopExp_Explorer expl( theS1, TopAbs_VERTEX );
-  if (!expl.More())
-    aClassifier.PerformInfinitePoint( ::RealSmall());
-  else
-  {
-    const TopoDS_Vertex & aVertex = TopoDS::Vertex( expl.Current() );
-    aClassifier.Perform (BRep_Tool::Pnt( aVertex ),
-                         BRep_Tool::Tolerance( aVertex ));
-  }
-
-  return ( aClassifier.State() == TopAbs_IN );
-}
-
-//=======================================================================
-//function : GetOriginalShape
-//purpose  : Return the  shape  aShape  originates from. aShape
-//           should be a face or more complex result shape
-//=======================================================================
-
-TopoDS_Shape Partition_Spliter::GetOriginalShape(const TopoDS_Shape& theShape) const
-{
-  TopoDS_Shape anOrigShape;
-
-  TopExp_Explorer expl( theShape, TopAbs_FACE);
-  if (expl.More())
-  {
-
-    TopoDS_Shape aFace = expl.Current();
-    if (myImagesFaces.IsImage( aFace ))
-      aFace = myImagesFaces.Root( aFace );
-    anOrigShape = myFaceShapeMap.Find( aFace );
-  }
-  return anOrigShape;
-}
-
-//=======================================================================
-//function : FindToolsToReconstruct
-//purpose  : find and store  as  objects  tools which interfere
-//           with  solids   or   are   inside   solids  without
-//           an interference
-//=======================================================================
-
-void Partition_Spliter::FindToolsToReconstruct()
-{
-  if (myMapTools.IsEmpty())
-    return;
-
-  Standard_Integer nbFoundTools = 0;
-
-  // build edge - face map in order to detect interference with section edges
-  TopTools_IndexedDataMapOfShapeListOfShape EFM;
-  TopTools_MapIteratorOfMapOfShape aMapIt;
-  for (aMapIt.Initialize(myMapTools); aMapIt.More(); aMapIt.Next())
-    TopExp::MapShapesAndAncestors( aMapIt.Key(), TopAbs_EDGE, TopAbs_FACE, EFM);
-  for (aMapIt.Initialize(myMapFaces); aMapIt.More(); aMapIt.Next())
-    TopExp::MapShapesAndAncestors( aMapIt.Key(), TopAbs_EDGE, TopAbs_FACE, EFM);
-
-  TopTools_MapOfShape aCurrentSolids, aCheckedShapes;
-
-  // faces cut by new edges
-  TopTools_MapOfShape & aSectionFaces = myInter3d.TouchedFaces();
-
-  // keep solids interfering with each other in aCurrentSolids map
-  // and add tool faces intersecting solids as object shapes
-
-  TopTools_ListIteratorOfListOfShape itS, itF, itCF, itE;
-  for (itS.Initialize( myListShapes ); itS.More(); itS.Next()) {
-    TopExp_Explorer expSo (itS.Value(), TopAbs_SOLID);
-    for (; expSo.More(); expSo.Next()) {
-
-      // check if a solid has been already processed
-      const TopoDS_Shape & aSo = expSo.Current();
-      if (!aCheckedShapes.Add( aSo ))
-        continue;
-      aCurrentSolids.Add( aSo );
-
-      // faces to check
-      TopTools_ListOfShape aFacesToCheck;
-      TopExp_Explorer exp( aSo, TopAbs_FACE );
-      for ( ; exp.More(); exp.Next())
-        aFacesToCheck.Append ( exp.Current());
-
-      // add other shapes interefering with a solid.
-      // iterate faces to check while appending new ones
-      for (itCF.Initialize (aFacesToCheck) ; itCF.More(); itCF.Next())
-      {
-        const TopoDS_Shape& aCheckFace = itCF.Value();
-//         if (!aCheckedShapes.Add( aCheckFace ))
-//           continue;
-
-        // find faces interfering with aCheckFace
-        TopTools_ListOfShape anIntFaces;
-
-        // ** 1. faces intersecting aCheckFace with creation of new edges on it
-        if ( myAsDes->HasDescendant( aCheckFace ))
-        {
-          // new edges on aCheckFace
-          const TopTools_ListOfShape& NEL = myAsDes->Descendant( aCheckFace );
-          for (itE.Initialize( NEL); itE.More(); itE.Next())
-          {
-            const TopoDS_Shape & aNewEdge = itE.Value();
-            if (!aCheckedShapes.Add( aNewEdge ))
-              continue;
-
-            // faces interfering by aNewEdge
-            itF.Initialize (myAsDes->Ascendant( aNewEdge ));
-            for (; itF.More(); itF.Next())
-              if (aCheckFace != itF.Value())
-                anIntFaces.Append( itF.Value() );
-
-            // ** 2. faces having section edge aNewEdge on aFacesToCheck
-            if (EFM.Contains( aNewEdge))
-            {
-              itF.Initialize ( EFM.FindFromKey (itE.Value()));
-              for (; itF.More(); itF.Next())
-                if (aCheckFace != itF.Value())
-                  anIntFaces.Append( itF.Value() );
-            }
-          }
-        }
-
-        // ** 3. faces cut by edges of aCheckFace
-        TopExp_Explorer expE (aCheckFace, TopAbs_EDGE);
-        for ( ; expE.More(); expE.Next())
-        {
-          const TopoDS_Shape & aCheckEdge = expE.Current();
-          if (aCheckedShapes.Add( aCheckEdge ) &&
-              myInter3d.IsSectionEdge( TopoDS::Edge( aCheckEdge )))
-          {
-            itF.Initialize( myInter3d.SectionEdgeFaces( TopoDS::Edge( aCheckEdge )));
-            for (; itF.More(); itF.Next()) 
-              if (aCheckFace != itF.Value())
-                anIntFaces.Append( itF.Value() );
-          }
-        }
-
-        // process faces interfering with aCheckFace and shapes they
-        // belong to
-        for (itF.Initialize (anIntFaces); itF.More(); itF.Next())
-        {
-          const TopoDS_Shape & F = itF.Value();
-          if (! aCheckedShapes.Add( F ))
-            continue;
-
-          Standard_Boolean isTool = myMapTools.Contains( F );
-          if (isTool && 
-              myFaceShapeMap( aCheckFace ).ShapeType() == TopAbs_SOLID )
-          {
-            // a tool interfering with a solid
-            if (aSectionFaces.Contains( F ))
-              AddShape( F );
-            ++ nbFoundTools;
-            if (nbFoundTools == myMapTools.Extent())
-              return;
-          }
-
-          const TopoDS_Shape & S = myFaceShapeMap( F );
-          if (aCheckedShapes.Add( S ))
-          {
-            // a new shape interefering with aCurrentSolids is found
-            if (!isTool && S.ShapeType() == TopAbs_SOLID)
-              aCurrentSolids.Add ( S );
-            // add faces to aFacesToCheck list
-            for ( exp.Init( S, TopAbs_FACE ); exp.More(); exp.Next())
-              aFacesToCheck.Append ( exp.Current() );
-          }
-        }
-      } // loop on aFacesToCheck
-
-      // Here aCurrentSolids contains all solids interfering with each other.
-      // aCheckedShapes contains all faces belonging to shapes included
-      // in or interfering with aCurrentSolids or previously checked solids.
-      // Test if tool faces that do not interefere with other shapes are
-      // wrapped by any of aCurrentSolids
-
-      TopTools_MapIteratorOfMapOfShape aSolidIt (aCurrentSolids);
-      for ( ; aSolidIt.More(); aSolidIt.Next())
-      {
-        const TopoDS_Shape & aSolid = aSolidIt.Key();
-        TopTools_MapOfShape aCheckedTools( myMapTools.Extent() );
-
-        TopTools_MapIteratorOfMapOfShape aToolIt (myMapTools);
-        for ( ; aToolIt.More(); aToolIt.Next())
-        {
-          const TopoDS_Shape & aToolFace = aToolIt.Key();
-          if (aCheckedShapes.Contains( aToolFace ) || // already found
-              aCheckedTools.Contains( aToolFace ))    // checked against aSolid
-            continue;
-
-          const TopoDS_Shape & aToolShape = myFaceShapeMap( aToolFace );
-          TopExp_Explorer aToolFaceIt( aToolShape, TopAbs_FACE );
-          
-          Standard_Boolean isInside = IsInside( aToolShape, aSolid );
-          for ( ; aToolFaceIt.More(); aToolFaceIt.Next() )
-          {
-            const TopoDS_Shape & aTool = aToolFaceIt.Current();
-            aCheckedTools.Add( aTool );
-            if (isInside)
-            {
-              if (aSectionFaces.Contains( aTool ))
-                AddShape( aTool );
-              ++ nbFoundTools;
-              if (nbFoundTools == myMapTools.Extent())
-                return;
-              aCheckedShapes.Add( aTool );
-            }
-          }
-        }
-      }
-      
-    } // loop on solid shapes
-  }
-}
diff --git a/src/PARTITION/Partition_Spliter.hxx b/src/PARTITION/Partition_Spliter.hxx
deleted file mode 100644 (file)
index 2f9e102..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : Partition_Spliter.hxx
-//  Module : GEOM
-
-#ifndef _Partition_Spliter_HeaderFile
-#define _Partition_Spliter_HeaderFile
-
-#ifndef _TopAbs_ShapeEnum_HeaderFile
-#include <TopAbs_ShapeEnum.hxx>
-#endif
-#ifndef _TopoDS_Compound_HeaderFile
-#include <TopoDS_Compound.hxx>
-#endif
-#ifndef _BRep_Builder_HeaderFile
-#include <BRep_Builder.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopTools_MapOfShape_HeaderFile
-#include <TopTools_MapOfShape.hxx>
-#endif
-#ifndef _TopTools_DataMapOfShapeShape_HeaderFile
-#include <TopTools_DataMapOfShapeShape.hxx>
-#endif
-#ifndef _Handle_BRepAlgo_AsDes_HeaderFile
-#include <Handle_BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _BRepAlgo_Image_HeaderFile
-#include <BRepAlgo_Image.hxx>
-#endif
-#ifndef _Partition_Inter3d_HeaderFile
-#include "Partition_Inter3d.hxx"
-#endif
-#ifndef _TopTools_MapOfOrientedShape_HeaderFile
-#include <TopTools_MapOfOrientedShape.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class BRepAlgo_AsDes;
-class TopoDS_Shape;
-class TopTools_ListOfShape;
-class TopoDS_Edge;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-class Partition_Spliter  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-Standard_EXPORT Partition_Spliter();
-Standard_EXPORT   void AddShape(const TopoDS_Shape& S) ;
-Standard_EXPORT   void AddTool(const TopoDS_Shape& S) ;
-Standard_EXPORT   void Compute(const TopAbs_ShapeEnum Limit = TopAbs_SHAPE) ;
-Standard_EXPORT   void KeepShapesInside(const TopoDS_Shape& S) ;
-Standard_EXPORT   void RemoveShapesInside(const TopoDS_Shape& S) ;
-Standard_EXPORT   TopoDS_Shape Shape() const;
-Standard_EXPORT   void Clear() ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-Standard_EXPORT   void MakeSolids(const TopoDS_Shape& Solid,TopTools_ListOfShape& Shells) ;
-Standard_EXPORT   void MakeShells(const TopoDS_Shape& S,TopTools_ListOfShape& NS) ;
-Standard_EXPORT   TopoDS_Shape MakeFaces(const TopoDS_Shape& S) ;
-Standard_EXPORT   void MakeEdges(const TopoDS_Edge& E,const TopTools_ListOfShape& VOnE,TopTools_ListOfShape& NE) const;
-Standard_EXPORT   TopoDS_Shape FindFacesInside(const TopoDS_Shape& S,const Standard_Boolean CheckClosed = Standard_False,const Standard_Boolean All = Standard_False) ;
-Standard_EXPORT   Standard_Boolean CheckTool(const TopoDS_Shape& S) ;
-Standard_EXPORT   void MergeEqualEdges(const TopTools_ListOfShape& LE) ;
-Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Shape& S1,const TopoDS_Shape& S2) ;
-Standard_EXPORT   TopoDS_Shape GetOriginalShape(const TopoDS_Shape& aShape) const;
-Standard_EXPORT   void FindToolsToReconstruct() ;
-
-
- // Fields PRIVATE
- //
-TopAbs_ShapeEnum myDoneStep;
-TopoDS_Compound myShape;
-BRep_Builder myBuilder;
-TopTools_ListOfShape myListShapes;
-TopTools_MapOfShape myMapFaces;
-TopTools_MapOfShape myMapTools;
-TopTools_MapOfShape myEqualEdges;
-TopTools_MapOfShape myNewSection;
-TopTools_MapOfShape myClosedShapes;
-TopTools_MapOfShape mySharedFaces;
-TopTools_MapOfShape myWrappingSolid;
-TopTools_DataMapOfShapeShape myFaceShapeMap;
-TopTools_DataMapOfShapeShape myInternalFaces;
-TopTools_DataMapOfShapeShape myIntNotClFaces;
-Handle_BRepAlgo_AsDes myAsDes;
-BRepAlgo_Image myImagesFaces;
-BRepAlgo_Image myImagesEdges;
-BRepAlgo_Image myImageShape;
-Partition_Inter3d myInter3d;
-TopTools_MapOfOrientedShape myAddedFacesMap;
-
-
-};
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
-#endif
diff --git a/src/PARTITION/Partition_Spliter.ixx b/src/PARTITION/Partition_Spliter.ixx
deleted file mode 100644 (file)
index ee82594..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Spliter.ixx
-//  Module : GEOM
-
-#include "Partition_Spliter.jxx"
-
-
-
diff --git a/src/PARTITION/Partition_Spliter.jxx b/src/PARTITION/Partition_Spliter.jxx
deleted file mode 100644 (file)
index bf8622c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//  GEOM PARTITION : partition algorithm
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Partition_Spliter.jxx
-//  Module : GEOM
-
-#ifndef _BRepAlgo_AsDes_HeaderFile
-#include <BRepAlgo_AsDes.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
-#include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_ListOfShape_HeaderFile
-#include <TopTools_ListOfShape.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
-#include <TopoDS_Edge.hxx>
-#endif
-#ifndef _Partition_Spliter_HeaderFile
-#include "Partition_Spliter.hxx"
-#endif
diff --git a/src/PrimitiveGUI/Makefile.in b/src/PrimitiveGUI/Makefile.in
deleted file mode 100644 (file)
index deac5e7..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#  GEOM PRIMITIVEGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libPrimitiveGUI.la 
-
-LIB_SRC =      PrimitiveGUI.cxx \
-               PrimitiveGUI_BoxDlg.cxx \
-               PrimitiveGUI_CylinderDlg.cxx \
-               PrimitiveGUI_SphereDlg.cxx \
-               PrimitiveGUI_TorusDlg.cxx \
-               PrimitiveGUI_ConeDlg.cxx
-
-LIB_MOC = \
-               PrimitiveGUI_BoxDlg.h \
-               PrimitiveGUI_CylinderDlg.h \
-               PrimitiveGUI_SphereDlg.h \
-               PrimitiveGUI_TorusDlg.h \
-               PrimitiveGUI_ConeDlg.h
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Component.idl SALOME_Exception.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/PrimitiveGUI/PrimitiveGUI.cxx b/src/PrimitiveGUI/PrimitiveGUI.cxx
deleted file mode 100644 (file)
index 4944810..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-
-#include "PrimitiveGUI.h"
-#include "GeometryGUI.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-
-#include "PrimitiveGUI_BoxDlg.h"      // Method BOX
-#include "PrimitiveGUI_CylinderDlg.h" // Method CYLINDER
-#include "PrimitiveGUI_SphereDlg.h"   // Method SPHERE
-#include "PrimitiveGUI_TorusDlg.h"    // Method TORUS
-#include "PrimitiveGUI_ConeDlg.h"     // Method CONE
-using namespace std;
-PrimitiveGUI* PrimitiveGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetPrimitiveGUI()
-// purpose  : Get the only PrimitiveGUI object [ static ]
-//=======================================================================
-PrimitiveGUI* PrimitiveGUI::GetPrimitiveGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init PrimitiveGUI only once
-    myGUIObject = new PrimitiveGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : PrimitiveGUI()
-// purpose  : Constructor
-//=======================================================================
-PrimitiveGUI::PrimitiveGUI(GeometryGUI* parent) : GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~PrimitiveGUI
-// purpose  : Destructor
-//=======================================================================
-PrimitiveGUI::~PrimitiveGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool PrimitiveGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  QDialog* aDlg = NULL;
-
-  switch (theCommandID)
-    {
-    case 4021: // BOX
-      {
-       aDlg = new PrimitiveGUI_BoxDlg(getGeometryGUI(), parent, "");
-       break;
-      }
-    case 4022: // CYLINDER
-      {
-       aDlg = new PrimitiveGUI_CylinderDlg(getGeometryGUI(), parent, "");
-       break;
-      }
-    case 4023: // SPHERE
-      {
-       aDlg = new PrimitiveGUI_SphereDlg(getGeometryGUI(), parent, "");
-       break;
-      }
-    case 4024: // TORUS
-      {
-       aDlg = new PrimitiveGUI_TorusDlg(getGeometryGUI(), parent, "");
-       break;
-      }
-    case 4025: // CONE
-      {
-       aDlg = new PrimitiveGUI_ConeDlg(getGeometryGUI(), parent, "");
-       break;
-      }
-    default:
-      {
-       SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-       break;
-      }
-    }
-
-  if ( aDlg != NULL )
-    aDlg->show();
-  
-  return true;
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return PrimitiveGUI::GetPrimitiveGUI( parent );
-  }
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI.h b/src/PrimitiveGUI/PrimitiveGUI.h
deleted file mode 100644 (file)
index ce0b00d..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef PRIMITIVEGUI_H
-#define PRIMITIVEGUI_H
-
-#include "GEOMGUI.h"
-
-  
-//=================================================================================
-// class    : PrimitiveGUI
-// purpose  :
-//=================================================================================
-class PrimitiveGUI : public GEOMGUI
-{
-protected:
-  PrimitiveGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
-
-public :
-  ~PrimitiveGUI();
-
-  // Get the only PrimitiveGUI object
-  static PrimitiveGUI* GetPrimitiveGUI(GeometryGUI* parent);
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static PrimitiveGUI* myGUIObject;    // the only PrimitiveGUI object
-};
-
-#endif
diff --git a/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx
deleted file mode 100644 (file)
index 6ad4bbc..0000000
+++ /dev/null
@@ -1,412 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_BoxDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "PrimitiveGUI_BoxDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-
-//=================================================================================
-// class    : PrimitiveGUI_BoxDlg()
-// purpose  : Constructs a PrimitiveGUI_BoxDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-PrimitiveGUI_BoxDlg::PrimitiveGUI_BoxDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BOX_2P")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_BOX_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_BOX_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_BOX"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_DIAGONAL_POINTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_POINT_I").arg("1"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("2"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-
-  GroupDimensions = new DlgRef_3Spin(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_BOX_OBJ"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_DX"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_DY"));
-  GroupDimensions->TextLabel3->setText(tr("GEOM_DZ"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~DialogBox_Box()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-PrimitiveGUI_BoxDlg::~PrimitiveGUI_BoxDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  
-  myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-    
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  /* min, max, step and decimals for spin boxes */
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-
-  double initValue = 200.0;
-  GroupDimensions->SpinBox_DX->SetValue(initValue);
-  GroupDimensions->SpinBox_DY->SetValue(initValue);
-  GroupDimensions->SpinBox_DZ->SetValue(initValue);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DZ, SLOT(SetStep(double)));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_BOX" ) );
-  ConstructorsClicked(0);
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void PrimitiveGUI_BoxDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  switch (constructorId)
-    {
-    case 0:
-      {
-       globalSelection( GEOM_POINT );
-
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-       
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText("");
-       GroupPoints->LineEdit2->setText("");
-       myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-       
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break;
-      }
-    case 1:
-      {
-       GroupPoints->hide();
-       resize(0, 0);
-       GroupDimensions->show();
-       
-       break;
-      }
-    }
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_BoxDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  : 
-//=================================================================================
-void PrimitiveGUI_BoxDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed
-//=================================================================================
-void PrimitiveGUI_BoxDlg::SelectionIntoArgument()
-{
-  if ( getConstructorId() != 0 )
-    return;
-  
-  myEditCurrentArgument->setText("");
-  
-  if (IObjectCount() != 1) 
-    {
-      if (myEditCurrentArgument == GroupPoints->LineEdit1)
-       myPoint1 = GEOM::GEOM_Object::_nil();
-      else if ( myEditCurrentArgument == GroupPoints->LineEdit2)
-       myPoint2 = GEOM::GEOM_Object::_nil();
-      return;
-    }
-
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-  
-  if(!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-  
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    myPoint1 = aSelectedObject;
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-    myPoint2 = aSelectedObject;
-  
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1)
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if(send == GroupPoints->PushButton2)
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-  
-  globalSelection( GEOM_POINT );
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 || send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : enterEvent [REDEFINED]
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void PrimitiveGUI_BoxDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_BoxDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr PrimitiveGUI_BoxDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_BoxDlg::isValid( QString& msg )
-{
-  return getConstructorId() == 0 ? !(myPoint1->_is_nil() || myPoint2->_is_nil()) : true;
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_BoxDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  switch ( getConstructorId() ) 
-  {
-  case 0 :
-    { 
-      if ( !CORBA::is_nil( myPoint1 ) &&  !CORBA::is_nil( myPoint2 ) ) {
-       anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeBoxTwoPnt( myPoint1, myPoint2 );
-       res = true;
-      }
-      
-      break;
-    }
-  case 1 :
-    {
-      double x = GroupDimensions->SpinBox_DX->GetValue();
-      double y = GroupDimensions->SpinBox_DY->GetValue();
-      double z = GroupDimensions->SpinBox_DZ->GetValue();
-      
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeBoxDXDYDZ( x, y, z );
-      res = true;
-      break;
-    }
-  }
-  
-  if ( !anObj->_is_nil() )
-  objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  PrimitiveGUI_BoxDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.h b/src/PrimitiveGUI/PrimitiveGUI_BoxDlg.h
deleted file mode 100644 (file)
index 51d8ece..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_BoxDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_BOX_H
-#define DIALOGBOX_BOX_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel_QTD.h"
-#include "DlgRef_3Spin.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : PrimitiveGUI_BoxDlg
-// purpose  :
-//=================================================================================
-class PrimitiveGUI_BoxDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-    
-    public:
-    PrimitiveGUI_BoxDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~PrimitiveGUI_BoxDlg();
-    
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-    
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-    
-    GEOM::GEOM_Object_var myPoint1, myPoint2;   /* Points containing the vector */ 
-    
-    DlgRef_2Sel_QTD* GroupPoints;
-    DlgRef_3Spin* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int);
-    void ValueChangedInSpinBox();
-    
-};
-
-#endif // DIALOGBOX_BOX_H
diff --git a/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx
deleted file mode 100644 (file)
index 3339c7a..0000000
+++ /dev/null
@@ -1,471 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_ConeDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "PrimitiveGUI_ConeDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : PrimitiveGUI_ConeDlg()
-// purpose  : Constructs a PrimitiveGUI_ConeDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-PrimitiveGUI_ConeDlg::PrimitiveGUI_ConeDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CONE_PV")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CONE_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_CONE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_CONE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel3Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_BASE_POINT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_RADIUS_I").arg("1"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_RADIUS_I").arg("2"));
-  GroupPoints->TextLabel5->setText(tr("GEOM_HEIGHT"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-
-  GroupDimensions = new DlgRef_3Spin(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_BOX_OBJ"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_RADIUS_I").arg("1"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_RADIUS_I").arg("2"));
-  GroupDimensions->TextLabel3->setText(tr("GEOM_HEIGHT"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~PrimitiveGUI_ConeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-PrimitiveGUI_ConeDlg::~PrimitiveGUI_ConeDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-  
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(0.000, 999.999, step, 3);
-  GroupPoints->SpinBox_DY->RangeStepAndValidator(0.000, 999.999, step, 3);
-  GroupPoints->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(0.000, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY->RangeStepAndValidator(0.000, 999.999, step, 3);
-  GroupDimensions->SpinBox_DZ->RangeStepAndValidator(-999.999, 999.999, step, 3);
-
-  double aRadius1(100.0), aRadius2(0.0), aHeight(300.0); 
-  GroupPoints->SpinBox_DX->SetValue(aRadius1);
-  GroupPoints->SpinBox_DY->SetValue(aRadius2);
-  GroupPoints->SpinBox_DZ->SetValue(aHeight);
-  GroupDimensions->SpinBox_DX->SetValue(aRadius1);
-  GroupDimensions->SpinBox_DY->SetValue(aRadius2);
-  GroupDimensions->SpinBox_DZ->SetValue(aHeight);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DZ, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DZ, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DZ, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  initName( tr( "GEOM_CONE" ) );
-  ConstructorsClicked(0);
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void PrimitiveGUI_ConeDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  switch(constructorId)
-    { 
-    case 0 :
-      {
-       globalSelection( GEOM_POINT );
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-       
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText(tr(""));
-       GroupPoints->LineEdit2->setText(tr(""));
-       myPoint = myDir = GEOM::GEOM_Object::_nil();
-       
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break;
-      }
-    case 1 :
-      { 
-       GroupPoints->hide();
-       resize( 0, 0 );
-       GroupDimensions->show();
-
-       break;
-      }
-    }
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_ConeDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void PrimitiveGUI_ConeDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void PrimitiveGUI_ConeDlg::SelectionIntoArgument()
-{
-  if ( getConstructorId() != 0 )
-    return;
-
-  if(IObjectCount() != 1)
-    {
-      if(myEditCurrentArgument == GroupPoints->LineEdit1)
-       myPoint = GEOM::GEOM_Object::_nil();
-      else if (myEditCurrentArgument == GroupPoints->LineEdit2)
-       myDir = GEOM::GEOM_Object::_nil();
-      return;
-    }
-
-  /* nbSel == 1 */
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if(!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-
-  if (myEditCurrentArgument == GroupPoints->LineEdit1)
-    myPoint = aSelectedObject;
-  else if (myEditCurrentArgument == GroupPoints->LineEdit2)
-    myDir = aSelectedObject;
-  
-  
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_POINT );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void PrimitiveGUI_ConeDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr  PrimitiveGUI_ConeDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool  PrimitiveGUI_ConeDlg::isValid( QString& msg )
-{
-  return getConstructorId() == 0 ? !(myPoint->_is_nil() || myDir->_is_nil()) : true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_ConeDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-  {
-  case 0 :
-  {
-    if ( !CORBA::is_nil( myPoint ) && !CORBA::is_nil( myDir ) ){
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeConePntVecR1R2H( myPoint, 
-                                                                                           myDir, 
-                                                                                           getRadius1(),
-                                                                                           getRadius2(),
-                                                                                           getHeight());
-      res = true;
-    }
-    break;
-  }
-  case 1 :
-    {
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeConeR1R2H( getRadius1(),
-                                                                                     getRadius2(),
-                                                                                     getHeight());
-      res = true;
-      break;
-    }
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_ConeDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : getRadius1()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_ConeDlg::getRadius1() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DX->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DX->GetValue();
-  return 0;
-}
-
-
-//=================================================================================
-// function : getRadius2()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_ConeDlg::getRadius2() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DY->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DY->GetValue();
-  return 0;
-}
-
-
-//=================================================================================
-// function : getRadius2()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_ConeDlg::getHeight() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DZ->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DZ->GetValue();
-  return 0;
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.h b/src/PrimitiveGUI/PrimitiveGUI_ConeDlg.h
deleted file mode 100644 (file)
index 17d913e..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_ConeDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CONE_H
-#define DIALOGBOX_CONE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel3Spin.h"
-#include "DlgRef_3Spin.h"
-
-//=================================================================================
-// class    : PrimitiveGUI_ConeDlg
-// purpose  :
-//=================================================================================
-class PrimitiveGUI_ConeDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    PrimitiveGUI_ConeDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~PrimitiveGUI_ConeDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-    double getRadius1() const;
-    double getRadius2() const;
-    double getHeight() const;
-
-    GeometryGUI* myGeometryGUI;
-    
-    GEOM::GEOM_Object_var myPoint, myDir;
-    
-    DlgRef_2Sel3Spin* GroupPoints;
-    DlgRef_3Spin* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int);
-    void ValueChangedInSpinBox();
-
-};
-
-#endif // DIALOGBOX_CONE_H
diff --git a/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx
deleted file mode 100644 (file)
index cf4e3d0..0000000
+++ /dev/null
@@ -1,447 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_CylinderDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "PrimitiveGUI_CylinderDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : PrimitiveGUI_CylinderDlg()
-// purpose  : Constructs a PrimitiveGUI_CylinderDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-PrimitiveGUI_CylinderDlg::PrimitiveGUI_CylinderDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CYLINDER_PV")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CYLINDER_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_CYLINDER_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_CYLINDER"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel2Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_BASE_POINT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_RADIUS"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_HEIGHT"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-
-  GroupDimensions = new DlgRef_2Spin(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_BOX_OBJ"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_RADIUS"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_HEIGHT"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~PrimitiveGUI_CylinderDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-PrimitiveGUI_CylinderDlg::~PrimitiveGUI_CylinderDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-  
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  /* min, max, step and decimals for spin boxes & initial values */
-  /* First constructor : radius */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  /* First constructor : algebric height */
-  GroupPoints->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  /* Second constructor : radius */
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  /* Second constructor : algebric height */
-  GroupDimensions->SpinBox_DY->RangeStepAndValidator(-999.999, 999.999, step, 3);
-
-  GroupPoints->SpinBox_DX->SetValue(100.0);
-  GroupPoints->SpinBox_DY->SetValue(300.0);
-  GroupDimensions->SpinBox_DX->SetValue(100.0);  
-  GroupDimensions->SpinBox_DY->SetValue(300.0);  
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  initName( tr( "GEOM_CYLINDER" ) );
-  ConstructorsClicked(0);
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-    
-  switch(constructorId)
-    { 
-    case 0 :
-      {
-       globalSelection( GEOM_POINT );
-
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-       
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText(tr(""));
-       GroupPoints->LineEdit2->setText(tr(""));
-       myPoint = myDir = GEOM::GEOM_Object::_nil();
-
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break;
-      }
-    case 1 :
-      { 
-       GroupPoints->hide();
-       resize( 0, 0 );
-       GroupDimensions->show();
-       
-       break;
-      }
-    }
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_CylinderDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void PrimitiveGUI_CylinderDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::SelectionIntoArgument()
-{
-  if ( getConstructorId() != 0 )
-    return;
-
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) 
-    {
-      if(myEditCurrentArgument == GroupPoints->LineEdit1)
-       myPoint = GEOM::GEOM_Object::_nil();
-      else if (myEditCurrentArgument == GroupPoints->LineEdit2)
-       myDir = GEOM::GEOM_Object::_nil();
-      return;
-    }
-  
-  /* nbSel == 1 */
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-    
-  if(!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-  
-  if (myEditCurrentArgument == GroupPoints->LineEdit1)
-    myPoint = aSelectedObject;
-  else if (myEditCurrentArgument == GroupPoints->LineEdit2)
-    myDir = aSelectedObject;
-    
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_POINT );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::LineEditReturnPressed()
-{  
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_CylinderDlg::ValueChangedInSpinBox( )
-{  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr PrimitiveGUI_CylinderDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_CylinderDlg::isValid( QString& msg )
-{
-  return getConstructorId() == 0 ? !(myPoint->_is_nil() || myDir->_is_nil() ) : true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool  PrimitiveGUI_CylinderDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  switch ( getConstructorId() ) 
-    {
-    case 0 :
-      {
-       if ( !CORBA::is_nil( myPoint ) && !CORBA::is_nil( myDir )) {
-         anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeCylinderPntVecRH(myPoint, myDir, getRadius(), getHeight());
-         res = true;
-       }
-       break;
-      }
-    case 1 :
-      {
-       anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeCylinderRH(getRadius(), getHeight());
-       res = true;
-
-       break;
-      }
-    }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  PrimitiveGUI_CylinderDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : getRadius()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_CylinderDlg::getRadius() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DX->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DX->GetValue();
-  return 0;
-}
-
-
-//=================================================================================
-// function : getHeight()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_CylinderDlg::getHeight() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DY->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DY->GetValue();
-  return 0;
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.h b/src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.h
deleted file mode 100644 (file)
index 3ed400a..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_CylinderDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CYLINDER_H
-#define DIALOGBOX_CYLINDER_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel2Spin.h"
-#include "DlgRef_2Spin.h"
-
-
-//=================================================================================
-// class    : PrimitiveGUI_CylinderDlg
-// purpose  :
-//=================================================================================
-class PrimitiveGUI_CylinderDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    PrimitiveGUI_CylinderDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~PrimitiveGUI_CylinderDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-    double getRadius() const;
-    double getHeight() const;
-
-    GeometryGUI* myGeometryGUI;
-        
-    GEOM::GEOM_Object_var myPoint, myDir;
-      
-    DlgRef_2Sel2Spin* GroupPoints;
-    DlgRef_2Spin* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int);
-    void ValueChangedInSpinBox();
-};
-
-#endif // DIALOGBOX_CYLINDER_H
diff --git a/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx
deleted file mode 100644 (file)
index 6ffba6e..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_SphereDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "PrimitiveGUI_SphereDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : PrimitiveGUI_SphereDlg()
-// purpose  : Constructs a PrimitiveGUI_SphereDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-PrimitiveGUI_SphereDlg::PrimitiveGUI_SphereDlg(GeometryGUI* theGeometryGUI, QWidget* parent,  const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SPHERE_P")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SPHERE_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SPHERE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SPHERE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel1Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_SPHERE_CR"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_CENTER"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_RADIUS"));
-  GroupPoints->PushButton1->setPixmap(image2);
-
-  GroupDimensions = new DlgRef_1Spin(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_SPHERE_RO"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_RADIUS"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~PrimitiveGUI_SphereDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-PrimitiveGUI_SphereDlg::~PrimitiveGUI_SphereDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  
-  myPoint = GEOM::GEOM_Object::_nil();
-  
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  /* min, max, step and decimals for spin boxes */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  GroupPoints->SpinBox_DX->SetValue(100.0);
-  GroupDimensions->SpinBox_DX->SetValue(100.0);
-  
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName(tr("GEOM_SPHERE"));
-  ConstructorsClicked(0);
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void PrimitiveGUI_SphereDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  switch (constructorId)
-    {
-    case 0:
-      {
-       globalSelection( GEOM_POINT );
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText("");
-       myPoint = GEOM::GEOM_Object::_nil();
-
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break;
-      }
-    case 1:
-      {
-       GroupPoints->hide();
-       resize(0, 0);
-       GroupDimensions->show();
-       
-       break;
-      }
-    }
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_SphereDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void PrimitiveGUI_SphereDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void PrimitiveGUI_SphereDlg::SelectionIntoArgument()
-{
-  if ( getConstructorId() != 0 )
-    return;
-  
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) 
-    {
-      myPoint = GEOM::GEOM_Object::_nil();
-      return;
-    }
-  
-  /* nbSel == 1 ! */
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_ptr aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if (!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-    
-  myPoint = aSelectedObject;
-  myEditCurrentArgument->setText( GEOMBase::GetName( myPoint ) );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_POINT );
-    SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void PrimitiveGUI_SphereDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr PrimitiveGUI_SphereDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_SphereDlg::isValid( QString& msg  )
-{
-  return getConstructorId() == 0 ? !myPoint->_is_nil() : true;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool  PrimitiveGUI_SphereDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-  {
-  case 0 :
-    {
-      if ( !CORBA::is_nil( myPoint ) ) {
-       anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeSpherePntR( myPoint, getRadius() );
-       res = true;
-      }
-      break;
-    }
-  case 1 :
-    {
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeSphereR( getRadius() );
-      res = true;
-      break;
-    }
-  }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_SphereDlg::closeEvent( QCloseEvent* e )
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-
-//=================================================================================
-// function : getRadius()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_SphereDlg::getRadius() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DX->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DX->GetValue();
-  return 0;
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.h b/src/PrimitiveGUI/PrimitiveGUI_SphereDlg.h
deleted file mode 100644 (file)
index 10042e2..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_SphereDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_SPHERE_H
-#define DIALOGBOX_SPHERE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Spin.h"
-#include "DlgRef_1Spin.h"
-
-
-//=================================================================================
-// class    : PrimitiveGUI_SphereDlg
-// purpose  :
-//=================================================================================
-class PrimitiveGUI_SphereDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    PrimitiveGUI_SphereDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~PrimitiveGUI_SphereDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double getRadius() const;
-
-    GeometryGUI* myGeometryGUI;
-       
-    GEOM::GEOM_Object_var myPoint; /* Center point */
-    
-    DlgRef_1Sel1Spin* GroupPoints;
-    DlgRef_1Spin* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int);
-    void ValueChangedInSpinBox();
-};
-
-#endif // DIALOGBOX_SPHERE_H
diff --git a/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx b/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx
deleted file mode 100644 (file)
index 287ce0d..0000000
+++ /dev/null
@@ -1,445 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_TorusDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "PrimitiveGUI_TorusDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : PrimitiveGUI_TorusDlg()
-// purpose  : Constructs a PrimitiveGUI_TorusDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-PrimitiveGUI_TorusDlg::PrimitiveGUI_TorusDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_TORUS_PV")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_TORUS_DXYZ")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-    
-  setCaption(tr("GEOM_TORUS_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_TORUS"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel2Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_BASE_POINT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_RADIUS_I").arg("1"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_RADIUS_I").arg("2"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-
-  GroupDimensions = new DlgRef_2Spin(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_BOX_OBJ"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_RADIUS_I").arg("1"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_RADIUS_I").arg("2"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~PrimitiveGUI_TorusDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-PrimitiveGUI_TorusDlg::~PrimitiveGUI_TorusDlg()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  myPoint = myDir = GEOM::GEOM_Object::_nil();
-
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  GroupPoints->SpinBox_DY->RangeStepAndValidator(0.001, 999.999, step, 3);
-  GroupDimensions->SpinBox_DX->RangeStepAndValidator(0.001, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY->RangeStepAndValidator(0.001, 999.999, step, 3);
-
-  GroupPoints->SpinBox_DX->SetValue(300.0);
-  GroupPoints->SpinBox_DY->SetValue(100.0);
-  GroupDimensions->SpinBox_DX->SetValue(300.0);
-  GroupDimensions->SpinBox_DY->SetValue(100.0);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupDimensions->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY, SLOT(SetStep(double)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-  
-  initName( tr( "GEOM_TORUS" ) );
-  ConstructorsClicked(0);
-}
-
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void PrimitiveGUI_TorusDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  switch(constructorId)
-    { 
-    case 0 :
-      {
-       globalSelection( GEOM_LINE );
-
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-       
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText(tr(""));
-       GroupPoints->LineEdit2->setText(tr(""));
-       myPoint = myDir = GEOM::GEOM_Object::_nil();
-       
-       connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-               SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-       break ;
-      }
-    case 1 :
-      {
-       GroupPoints->hide();
-       resize( 0, 0 );
-       GroupDimensions->show();
-       
-       break ;
-      }
-    }
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_TorusDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void PrimitiveGUI_TorusDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void PrimitiveGUI_TorusDlg::SelectionIntoArgument()
-{
-  if ( getConstructorId() != 0 )
-    return;
-  
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1)
-    {
-      if(myEditCurrentArgument == GroupPoints->LineEdit1)
-       myPoint = GEOM::GEOM_Object::_nil();
-      else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-       myDir = GEOM::GEOM_Object::_nil();
-      return;
-    }
-  
-  
-  /* nbSel == 1 */
-  Standard_Boolean testResult = Standard_False;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( firstIObject(), testResult );
-  
-  if(!testResult || CORBA::is_nil( aSelectedObject ))
-    return;
-  
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    myPoint = aSelectedObject;
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-    myDir = aSelectedObject;
-    
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_POINT );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::LineEditReturnPressed()
-{  
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void PrimitiveGUI_TorusDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr PrimitiveGUI_TorusDlg::createOperation()
-{
-  return getGeomEngine()->GetI3DPrimOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_TorusDlg::isValid( QString& msg )
-{
-  return getConstructorId() == 0 ? !(myPoint->_is_nil() || myDir->_is_nil()) : true;
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool PrimitiveGUI_TorusDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-  {
-  case 0 :
-  {
-    if (!CORBA::is_nil( myPoint ) && !CORBA::is_nil( myDir )){
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeTorusPntVecRR(myPoint, myDir, getRadius1(), getRadius2());
-      res = true;
-    }
-    break;
-  }
-  case 1 :
-    {
-      anObj = GEOM::GEOM_I3DPrimOperations::_narrow( getOperation() )->MakeTorusRR(getRadius1(), getRadius2());
-      res = true;
-      break;
-    }
-  }
-
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void PrimitiveGUI_TorusDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : getRadius1()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_TorusDlg::getRadius1() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DX->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DX->GetValue();
-  return 0;
-}
-
-
-//=================================================================================
-// function : getRadius2()
-// purpose  :
-//=================================================================================
-double PrimitiveGUI_TorusDlg::getRadius2() const
-{
-  int aConstructorId = getConstructorId();
-  if (aConstructorId == 0)
-    return GroupPoints->SpinBox_DY->GetValue();
-  else if (aConstructorId == 1)
-    return GroupDimensions->SpinBox_DY->GetValue();
-  return 0;
-}
diff --git a/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.h b/src/PrimitiveGUI/PrimitiveGUI_TorusDlg.h
deleted file mode 100644 (file)
index ef90ffb..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : PrimitiveGUI_TorusDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_TORUS_H
-#define DIALOGBOX_TORUS_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel2Spin.h"
-#include "DlgRef_2Spin.h"
-
-
-//=================================================================================
-// class    : PrimitiveGUI_TorusDlg
-// purpose  :
-//=================================================================================
-class PrimitiveGUI_TorusDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    PrimitiveGUI_TorusDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~PrimitiveGUI_TorusDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-    
-private:
-    void Init();
-    void enterEvent(QEvent* e);
-    double getRadius1() const;
-    double getRadius2() const;
-
-    GeometryGUI* myGeometryGUI;
-    
-    GEOM::GEOM_Object_var myPoint, myDir;
-    
-    DlgRef_2Sel2Spin* GroupPoints;
-    DlgRef_2Spin* GroupDimensions;
-    
-    private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int);
-    void ValueChangedInSpinBox();
-
-};
-
-#endif // DIALOGBOX_TORUS_H
diff --git a/src/RepairGUI/Makefile.in b/src/RepairGUI/Makefile.in
deleted file mode 100644 (file)
index cc5c61a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#  GEOM REPAIRGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libRepairGUI.la 
-
-LIB_SRC =      RepairGUI.cxx \
-               RepairGUI_SewingDlg.cxx \
-               RepairGUI_SuppressFacesDlg.cxx \
-               RepairGUI_ShapeProcessDlg.cxx \
-               RepairGUI_CloseContourDlg.cxx \
-               RepairGUI_RemoveIntWiresDlg.cxx \
-               RepairGUI_RemoveHolesDlg.cxx \
-               RepairGUI_DivideEdgeDlg.cxx \
-               RepairGUI_FreeBoundDlg.cxx \
-               RepairGUI_FreeFacesDlg.cxx \
-               RepairGUI_GlueDlg.cxx
-    
-LIB_MOC = \
-               RepairGUI_SewingDlg.h \
-               RepairGUI_SuppressFacesDlg.h \
-               RepairGUI_ShapeProcessDlg.h \
-               RepairGUI_CloseContourDlg.h \
-               RepairGUI_RemoveIntWiresDlg.h \
-               RepairGUI_RemoveHolesDlg.h \
-               RepairGUI_DivideEdgeDlg.h  \
-               RepairGUI_FreeBoundDlg.h \
-               RepairGUI_FreeFacesDlg.h \
-               RepairGUI_GlueDlg.h     
-
-LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
-
-LIB_SERVER_IDL =  
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/RepairGUI/RepairGUI.cxx b/src/RepairGUI/RepairGUI.cxx
deleted file mode 100644 (file)
index fe3d7b2..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-
-#include "RepairGUI_SewingDlg.h"        // Method SEWING
-#include "RepairGUI_SuppressFacesDlg.h" // Method SUPPRESS FACES
-#include "RepairGUI_RemoveHolesDlg.h"   // Method SUPPRESS HOLE
-#include "RepairGUI_ShapeProcessDlg.h"  // Method PROCESS SHAPE
-#include "RepairGUI_CloseContourDlg.h"  // Method CLOSE CONTOUR
-#include "RepairGUI_RemoveIntWiresDlg.h"// Method REMOVE INTERNAL WIRES
-#include "RepairGUI_DivideEdgeDlg.h"    // Method DEVIDE EDGE
-#include "RepairGUI_FreeBoundDlg.h"     // Method FREE BOUNDARIES
-#include "RepairGUI_FreeFacesDlg.h"     // Method FREE FACES
-#include "RepairGUI_GlueDlg.h"          // Method GLUE FACES
-
-#include "utilities.h"
-
-using namespace std;
-
-RepairGUI* RepairGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetRepairGUI()
-// purpose  : Get the only RepairGUI object [ static ]
-//=======================================================================
-RepairGUI* RepairGUI::GetRepairGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init RepairGUI only once
-    myGUIObject = new RepairGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : RepairGUI()
-// purpose  : Constructor
-//=======================================================================
-RepairGUI::RepairGUI( GeometryGUI* parent ) : GEOMGUI( parent )
-{
-}
-
-
-//=======================================================================
-// function : ~RepairGUI()
-// purpose  : Destructor
-//=======================================================================
-RepairGUI::~RepairGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool RepairGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  
-  QDialog* aDlg = NULL;
-  switch (theCommandID) {
-    case 601: // SEWING
-      aDlg = new RepairGUI_SewingDlg( parent, "" );
-      break;
-    case 602: // GLUE FACES
-      aDlg = new RepairGUI_GlueDlg( parent, "" );
-      break;
-    case 603: // SUPPRESS FACES
-      aDlg = new RepairGUI_SuppressFacesDlg( parent, "" );
-      break;
-    case 604: // SUPPRESS HOLES
-      aDlg = new RepairGUI_RemoveHolesDlg( parent, "" );
-      break;
-    case 605: // SHAPE PROCESSING
-      aDlg = new RepairGUI_ShapeProcessDlg( parent, "" );
-      break;
-    case 606: // CLOSE CONTOUR
-      aDlg = new RepairGUI_CloseContourDlg( parent, "" );
-      break;
-    case 607: // REMOVE INTERNAL WIRES
-      aDlg = new RepairGUI_RemoveIntWiresDlg( parent, "" );
-      break;
-    case 608: // ADD POINT ON EDGE
-      aDlg = new RepairGUI_DivideEdgeDlg( parent, "" );
-      break;
-    case 609: // FREE BOUNDARIES
-      aDlg = new RepairGUI_FreeBoundDlg( getGeometryGUI(), parent );
-      break;    
-    case 610: // FREE FACES
-      aDlg = new RepairGUI_FreeFacesDlg( getGeometryGUI(), parent, "" );
-      break;    
-    default:
-      SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-      break;
-  }
-
-  if ( aDlg )
-    aDlg->show();
-    
-  return true;
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return RepairGUI::GetRepairGUI( parent );
-  }
-}
diff --git a/src/RepairGUI/RepairGUI.h b/src/RepairGUI/RepairGUI.h
deleted file mode 100644 (file)
index 000fa11..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef REPAIRGUI_H
-#define REPAIRGUI_H
-
-#include "GEOMGUI.h"
-#include "GEOMBase.h"
-
-//=================================================================================
-// class    : RepairGUI
-// purpose  :
-//=================================================================================
-class RepairGUI : public GEOMGUI
-{
-protected:
-  RepairGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~RepairGUI();
-
-  // Get the only RepairGUI object
-  static RepairGUI* GetRepairGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static RepairGUI* myGUIObject;        // the only RepairGUI object
-  
-};
-
-#endif
diff --git a/src/RepairGUI/RepairGUI_CloseContourDlg.cxx b/src/RepairGUI/RepairGUI_CloseContourDlg.cxx
deleted file mode 100644 (file)
index ac98b0d..0000000
+++ /dev/null
@@ -1,398 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_CloseContourDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_CloseContourDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_CloseContourDlg()
-// purpose  : Constructs a RepairGUI_CloseContourDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_CloseContourDlg::RepairGUI_CloseContourDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_CLOSECONTOUR")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_CLOSECONTOUR_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_CLOSECONTOUR_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("Contour to close"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_SHAPE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  QGridLayout* aSelectWiresLay = new QGridLayout( 0, 1, 1, 0, 6, "aSelectWiresLay");
-
-  mySelectWiresBtn = new QPushButton( GroupPoints->GroupBox1, "mySelectWiresBtn" );
-  mySelectWiresBtn->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresBtn->sizePolicy().hasHeightForWidth() ) );
-  mySelectWiresBtn->setText( trUtf8( "" ) );
-  mySelectWiresBtn->setPixmap(image1);
-
-  mySelectWiresEdt = new QLineEdit( GroupPoints->GroupBox1, "mySelectWiresEdt" );
-  mySelectWiresEdt->setReadOnly( true );
-
-  mySelectWiresLbl = new QLabel( tr( "Contour to close" ), GroupPoints->GroupBox1, "ContourLbl" );
-  mySelectWiresLbl->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresLbl->sizePolicy().hasHeightForWidth() ) );
-
-  aSelectWiresLay->addWidget( mySelectWiresLbl, 0, 0 );
-  aSelectWiresLay->addWidget( mySelectWiresBtn, 0, 1 );
-  aSelectWiresLay->addWidget( mySelectWiresEdt, 0, 2 );
-  QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-  aSelectWiresLay->addItem( spacer, 1, 2 );
-
-  myIsVertexGr = new QButtonGroup( 2, Qt::Vertical, GroupPoints );
-  myIsVertexGr->setFrameStyle( QFrame::NoFrame );
-  myIsVertexGr->setRadioButtonExclusive( true );
-  myIsVertexGr->insert( new QRadioButton( tr( "Close by common vertex" ), myIsVertexGr ), 0 );
-  myIsVertexGr->insert( new QRadioButton( tr( "Close by new edge" ), myIsVertexGr ), 1 );
-  myIsVertexGr->find( 0 )->toggle();
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  GroupPoints->getGroupBoxLayout()->addLayout( aSelectWiresLay, 1, 0 );
-  GroupPoints->getGroupBoxLayout()->addMultiCellWidget(myIsVertexGr, 2, 2, 0, 2);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_CloseContourDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_CloseContourDlg::~RepairGUI_CloseContourDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd = new GEOM::short_array();
-  myWiresInd->length( 0 );
-  
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(mySelectWiresBtn, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(mySelectWiresEdt, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "CLOSE_CONTOUR_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_CloseContourDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_CloseContourDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd->length( 0 );
-
-  initSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//          : used only by SelectButtonC1A1 (LineEditC1A1)
-//=================================================================================
-void RepairGUI_CloseContourDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText( "" );
-  mySelectWiresEdt->setText( "" );
-  
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-    myObject = GEOM::GEOM_Object::_nil();
-  else if ( myEditCurrentArgument == mySelectWiresEdt )
-    myWiresInd->length( 0 );
-
-  if ( IObjectCount() == 1 )
-  {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-
-    if ( myEditCurrentArgument == GroupPoints->LineEdit1 )  // face selection
-    {
-      Standard_Boolean aRes;
-      myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-      if ( aRes && GEOMBase::IsShape( myObject ) )
-      {
-        myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-        TopoDS_Shape aShape;
-        if ( myGeomBase->GetShape( myObject, aShape, TopAbs_WIRE ) )
-          mySelectWiresEdt->setText( myEditCurrentArgument->text() );
-      }
-      else
-        myObject = GEOM::GEOM_Object::_nil();
-    }
-    else if ( myEditCurrentArgument == mySelectWiresEdt )
-    {
-      TColStd_IndexedMapOfInteger aMap;
-      ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-      const int n = aMap.Extent();
-      myWiresInd->length( n );
-      for ( int i = 1; i <= n; i++ )
-        myWiresInd[ i-1 ] = aMap( i );
-      if ( n )
-        myEditCurrentArgument->setText( QString::number( n ) + "_" + tr( "GEOM_WIRE" ) + tr( "_S_" ) );
-    }
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::SetEditCurrentArgument()
-{
-  const QObject* send = sender();
-  if ( send == GroupPoints->PushButton1 )
-    myEditCurrentArgument = GroupPoints->LineEdit1; 
-  else if ( send == mySelectWiresBtn && !myObject->_is_nil() )
-    myEditCurrentArgument = mySelectWiresEdt;
-  if ( myEditCurrentArgument )
-  {
-    initSelection();
-    myEditCurrentArgument->setFocus();
-    SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::LineEditReturnPressed()
-{
-  const QObject* send = sender();
-  if( send == GroupPoints->LineEdit1 || send == mySelectWiresEdt )
-  {
-    myEditCurrentArgument = (QLineEdit*)send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  mySelectWiresEdt->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd->length( 0 );
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_CloseContourDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_CloseContourDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_CloseContourDlg::isValid( QString& msg )
-{
-  TopoDS_Shape aTmpShape;
-  return !myObject->_is_nil() && ( myWiresInd->length() || myGeomBase->GetShape( myObject, aTmpShape, TopAbs_WIRE ) );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_CloseContourDlg::execute( ObjectList& objects )
-{
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->CloseContour( myObject, myWiresInd, getIsByVertex() );
-  bool aResult = !anObj->_is_nil();
-  if ( aResult )
-    objects.push_back( anObj._retn() );
-    
-  return aResult;
-}
-
-//=================================================================================
-// function : getIsByVertex
-// purpose  :
-//=================================================================================
-bool RepairGUI_CloseContourDlg::getIsByVertex() const
-{
-  return myIsVertexGr->find( 0 )->isOn();
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_CloseContourDlg::initSelection()
-{
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-  {
-    TColStd_MapOfInteger aTypes;
-    aTypes.Add( GEOM_COMPOUND );
-    aTypes.Add( GEOM_SOLID );
-    aTypes.Add( GEOM_SHELL );
-    aTypes.Add( GEOM_FACE );
-    aTypes.Add( GEOM_WIRE );
-    
-    globalSelection( aTypes );
-  }
-  else if ( myEditCurrentArgument == mySelectWiresEdt )
-  {
-    localSelection( myObject, TopAbs_EDGE );
-    localSelection( myObject, TopAbs_WIRE );
-  }
-}
-
-
diff --git a/src/RepairGUI/RepairGUI_CloseContourDlg.h b/src/RepairGUI/RepairGUI_CloseContourDlg.h
deleted file mode 100644 (file)
index 08c1836..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_CloseContourDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_CloseContour_H
-#define DIALOGBOX_CloseContour_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_Ext.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : RepairGUI_CloseContourDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_CloseContourDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_CloseContourDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_CloseContourDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-    bool getIsByVertex() const;
-
-    GEOM::GEOM_Object_var myObject;
-    GEOM::short_array_var myWiresInd;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QButtonGroup*    myIsVertexGr;
-    QLabel*          mySelectWiresLbl;
-    QPushButton*     mySelectWiresBtn;
-    QLineEdit*       mySelectWiresEdt;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_CloseContour_H
diff --git a/src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx b/src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx
deleted file mode 100644 (file)
index 0488456..0000000
+++ /dev/null
@@ -1,365 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_DivideEdgeDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_DivideEdgeDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_DivideEdgeDlg()
-// purpose  : Constructs a RepairGUI_DivideEdgeDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_DivideEdgeDlg::RepairGUI_DivideEdgeDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_DIVIDE_EDGE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_DIVIDE_EDGE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_DIVIDE_EDGE_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ADD_POINT"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_EDGE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  myIsParameterGr = new QButtonGroup( 2, Qt::Vertical, GroupPoints );
-  myIsParameterGr->setFrameStyle( QFrame::NoFrame );
-  myIsParameterGr->setRadioButtonExclusive( true );
-  myIsParameterGr->insert( new QRadioButton( tr( "GEOM_BY_PARAMETER" ), myIsParameterGr ), 0 );
-  myIsParameterGr->insert( new QRadioButton( tr( "GEOM_BY_LENGTH" ), myIsParameterGr ), 1 );
-  myIsParameterGr->find( 0 )->toggle();
-
-  QGridLayout* aLay = new QGridLayout( 0, 1, 2, 0, 6, "aLay" );
-  myValEdt = new QtxDblSpinBox(0., 1., 0.1, GroupPoints->GroupBox1);// QAD_SpinBoxDbl( GroupPoints->GroupBox1, 0., 1., 0.1, 3 );
-  myValEdt->setPrecision( 3 );
-  myValEdt->setValue( 0.5 );
-  QLabel* aLbl1 = new QLabel( tr( "GEOM_VALUE" ), GroupPoints->GroupBox1 );
-  aLay->addWidget( aLbl1, 0, 0 );
-  aLay->addWidget( myValEdt, 0, 1 );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  GroupPoints->getGroupBoxLayout()->addMultiCellWidget(myIsParameterGr, 1, 1, 0, 2);
-  GroupPoints->getGroupBoxLayout()->addLayout( aLay, 2, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_DivideEdgeDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_DivideEdgeDlg::~RepairGUI_DivideEdgeDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObject = GEOM::GEOM_Object::_nil();
-  myIndex = -1;
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "DEVIDE_EDGE_NEW_OBJECT_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_DivideEdgeDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-       return false;
-
-  initName();
-
-  myEditCurrentArgument->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myIndex = -1;
-
-  initSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//          : used only by SelectButtonC1A1 (LineEditC1A1)
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  myObject = GEOM::GEOM_Object::_nil();
-  myIndex = -1;
-
-  if ( IObjectCount() == 1 )
-  {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    Standard_Boolean aRes;
-    GEOM::GEOM_Object_var aSelectedObj = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-    if ( !CORBA::is_nil( aSelectedObj ) && aRes )
-    {
-      TopoDS_Shape aShape;
-      if ( myGeomBase->GetShape( aSelectedObj, aShape, TopAbs_SHAPE ) )
-      {
-       const int aType = aShape.ShapeType();
-       if ( aType <= TopAbs_EDGE ) // edge, wire, face, shell, solid, compound
-         {
-           GEOM::short_array anIndexes;
-           
-           TColStd_IndexedMapOfInteger aMap;
-           ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-
-           if ( !aMap.IsEmpty() ) // subshape selection
-             {
-             myIndex = aMap( 1 );
-             myObject = aSelectedObj;
-             myEditCurrentArgument->setText( tr( "GEOM_EDGE" ) + "_1" );
-             }
-             else if ( aType == TopAbs_EDGE ) // single shape selection
-             {
-             myIndex = -1;
-             myObject = aSelectedObj;
-             myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-             }
-             else // face, shell, solid or compound was selected, and NOT its subshape.
-             {
-             myIndex = -1;
-             myObject = GEOM::GEOM_Object::_nil();
-             }
-         }
-      }
-    }
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::SetEditCurrentArgument()
-{
-  if( sender() == GroupPoints->PushButton1 )
-  {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::LineEditReturnPressed()
-{
-  if( sender() == GroupPoints->LineEdit1 )
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-         GEOMBase_Skeleton::LineEditReturnPressed();
-       }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  myObject = GEOM::GEOM_Object::_nil();
-  myIndex = -1;
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_DivideEdgeDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_DivideEdgeDlg::isValid( QString& msg )
-{
-       return !myObject->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_DivideEdgeDlg::execute( ObjectList& objects )
-{
-       GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->DivideEdge(
-               myObject, myIndex, myValEdt->value(), getIsByParameter() );
-       bool aResult = !anObj->_is_nil();
-       if ( aResult )
-               objects.push_back( anObj._retn() );
-
-       return aResult;
-}
-
-//=================================================================================
-// function : getIsByParameter
-// purpose  :
-//=================================================================================
-bool RepairGUI_DivideEdgeDlg::getIsByParameter() const
-{
-       return myIsParameterGr->find( 0 )->isOn();
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_DivideEdgeDlg::initSelection()
-{
-  GEOM::GEOM_Object_var aNullGeomObject;
-  localSelection( aNullGeomObject, TopAbs_EDGE ); // load local selection on ALL objects
-}
-
-
-
diff --git a/src/RepairGUI/RepairGUI_DivideEdgeDlg.h b/src/RepairGUI/RepairGUI_DivideEdgeDlg.h
deleted file mode 100644 (file)
index 801fdcc..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_DivideEdgeDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_DivideEdge_H
-#define DIALOGBOX_DivideEdge_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_Ext.h"
-#include "QtxDblSpinBox.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-
-//=================================================================================
-// class    : RepairGUI_DivideEdgeDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_DivideEdgeDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_DivideEdgeDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_DivideEdgeDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-    bool getIsByParameter() const;
-
-               GEOM::GEOM_Object_var myObject;
-               int myIndex;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QButtonGroup*    myIsParameterGr;
-    QtxDblSpinBox*   myValEdt;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_DivideEdge_H
diff --git a/src/RepairGUI/RepairGUI_FreeBoundDlg.cxx b/src/RepairGUI/RepairGUI_FreeBoundDlg.cxx
deleted file mode 100644 (file)
index add5736..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_FreeBoundDlg.cxx
-//  Author : Sergey LITONIN
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_FreeBoundDlg.h"
-#include "GEOMBase.h"
-#include "GeometryGUI.h"
-#include "GEOM_Displayer.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-
-#define SPACING 5
-#define MARGIN 10
-
-/*
-  Calss       : RepairGUI_FreeBoundDlg
-  Description : Dialog for displaying free boundaries of selected face, shell or solid
-*/
-
-
-//=================================================================================
-// function : RepairGUI_FreeBoundDlg
-// purpose  : Constructor
-//=================================================================================
-RepairGUI_FreeBoundDlg::RepairGUI_FreeBoundDlg( GeometryGUI* theGUI, QWidget* theParent )
-: QDialog( theParent, "RepairGUI_FreeBoundDlg", false,
-          WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose ),
-  GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( theParent ) ),
-  myGeomGUI ( theGUI )
-{
-  setCaption( tr( "CAPTION" ) );
-
-  QPixmap iconSelect( SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr( "ICON_SELECT" ) ) );
-  
-  QGroupBox* aMainGrp = new QGroupBox( 1, Qt::Horizontal, tr( "FREE_BOUND" ), this );
-  
-  QGroupBox* aSelGrp = new QGroupBox( 1, Qt::Vertical, aMainGrp );
-  aSelGrp->setInsideMargin( 0 );
-  aSelGrp->setFrameStyle( QFrame::NoFrame );
-  new QLabel( tr( "GEOM_OBJECT" ), aSelGrp );
-  ( new QPushButton( aSelGrp ) )->setPixmap( iconSelect );
-  myEdit = new QLineEdit( aSelGrp );
-  myEdit->setReadOnly( true );
-  myEdit->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
-
-  myClosedLbl = new QLabel( tr( "NUMBER_CLOSED" ), aMainGrp );
-  myOpenLbl = new QLabel( tr( "NUMBER_OPEN" ), aMainGrp );
-
-  QFrame* aFrame = new QFrame( this );
-  aFrame->setFrameStyle( QFrame::Box | QFrame::Sunken );
-  QPushButton* aCloseBtn = new QPushButton( tr( "GEOM_BUT_CLOSE" ), aFrame );
-  QHBoxLayout* aBtnLay = new QHBoxLayout( aFrame, MARGIN, SPACING );
-  aBtnLay->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
-  aBtnLay->addWidget( aCloseBtn );
-  aBtnLay->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
-
-  QVBoxLayout* aLay = new QVBoxLayout( this );
-  aLay->setSpacing( SPACING );
-  aLay->setMargin( MARGIN );
-  aLay->addWidget( aMainGrp );
-  aLay->addWidget( aFrame );
-  
-  connect( aCloseBtn, SIGNAL( clicked() ), SLOT( onClose() ) );
-
-  Init();
-}
-
-//=================================================================================
-// function : ~RepairGUI_FreeBoundDlg
-// purpose  : Destructor
-//=================================================================================
-RepairGUI_FreeBoundDlg::~RepairGUI_FreeBoundDlg()
-{
-}
-
-//=================================================================================
-// function : onClose
-// purpose  : SLOT. Called when "close" button pressed. Close dialog
-//=================================================================================
-void RepairGUI_FreeBoundDlg::onClose()
-{
-  globalSelection();
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  myGeomGUI->SetActiveDialogBox( 0 );
-  reject();
-  erasePreview();
-}
-
-//=================================================================================
-// function : onDeactivate
-// purpose  : Deactivate this dialog
-//=================================================================================
-void RepairGUI_FreeBoundDlg::onDeactivate()
-{
-  setEnabled(false);
-  globalSelection();
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  myGeomGUI->SetActiveDialogBox( 0 );
-}
-
-//=================================================================================
-// function : onActivate
-// purpose  : Activate this dialog
-//=================================================================================
-void RepairGUI_FreeBoundDlg::onActivate()
-{
-  myGeomGUI->EmitSignalDeactivateDialog();
-  setEnabled( true );
-  myGeomGUI->SetActiveDialogBox( this );
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), SLOT( onSelectionDone() ) );
-  activateSelection();
-  onSelectionDone();
-}
-
-//=================================================================================
-// function : onSelectionDone
-// purpose  : SLOT. Called when selection changed.
-//=================================================================================
-void RepairGUI_FreeBoundDlg::onSelectionDone()
-{
-  if( IObjectCount() != 1 )
-    return;
-
-  Standard_Boolean isOk = Standard_False;
-  GEOM::GEOM_Object_var anObj =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), isOk );
-
-  if ( !isOk || anObj->_is_nil() || !GEOMBase::IsShape( anObj ) )
-    return;
-  else
-  {
-    myObj = anObj;
-    displayPreview( false, true, true, 3 );
-  }
-
-}
-
-//=================================================================================
-// function : Init
-// purpose  : Initialize dialog fields
-//=================================================================================
-void RepairGUI_FreeBoundDlg::Init()
-{
-  myNbClosed = myNbOpen = 0;
-  myObj = GEOM::GEOM_Object::_nil();
-
-  connect( myGeomGUI, SIGNAL( SignalDeactivateActiveDialog() ), SLOT  ( onDeactivate() ) );
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), SLOT( onSelectionDone() ) );
-
-  activateSelection();
-  onSelectionDone();
-}
-
-//=================================================================================
-// function : enterEvent
-// purpose  : Activate dialog
-//=================================================================================
-void RepairGUI_FreeBoundDlg::enterEvent( QEvent* e )
-{
-  onActivate();
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  : Close dialog
-//=================================================================================
-void RepairGUI_FreeBoundDlg::closeEvent( QCloseEvent* e )
-{
-  onClose();
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : activate selection of faces, shells, and solids
-//=================================================================================
-void RepairGUI_FreeBoundDlg::activateSelection()
-{
-  TColStd_MapOfInteger aMap;
-  aMap.Add( GEOM_FACE );
-  aMap.Add( GEOM_SHELL );
-  aMap.Add( GEOM_SOLID );
-  aMap.Add( GEOM_COMPOUND );
-  globalSelection( aMap );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  : Create operation
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_FreeBoundDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_FreeBoundDlg::isValid( QString& msg )
-{
-  return !myObj->_is_nil();
-}
-
-//=================================================================================
-// function : execute
-// purpose  : Get free boundaries
-//=================================================================================
-bool RepairGUI_FreeBoundDlg::execute( ObjectList& objects )
-{
-  if ( !IsPreview() || myObj->_is_nil() )
-    return false;
-
-  GEOM::ListOfGO_var aClosed, anOpen;
-
-  bool result = GEOM::GEOM_IHealingOperations::_narrow(
-    getOperation() )->GetFreeBoundary( myObj, aClosed, anOpen );
-
-  if ( result )
-  {
-    myNbClosed = aClosed->length();
-    myNbOpen = anOpen->length();
-    int i;
-    for ( i = 0; i < myNbClosed; i++ )
-      objects.push_back( aClosed[i]._retn() );
-    for ( i = 0; i < myNbOpen; i++ )
-      objects.push_back( anOpen[i]._retn() );
-
-    myEdit->setText( GEOMBase::GetName( myObj ) );
-    QString aLabelText = tr( "NUMBER_CLOSED" ) + QString( "%1" ).arg( myNbClosed );
-    myClosedLbl->setText( aLabelText );
-    aLabelText = tr( "NUMBER_OPEN" ) + QString( "%1" ).arg( myNbOpen );
-    myOpenLbl->setText( aLabelText );
-  }
-  else
-  {
-    myEdit->setText( GEOMBase::GetName( myObj ) );
-    myClosedLbl->setText( tr( "NUMBER_CLOSED" ) );
-    myOpenLbl->setText( tr( "NUMBER_OPEN" ) );
-  }
-
-  return result;
-}
-
-
-
diff --git a/src/RepairGUI/RepairGUI_FreeBoundDlg.h b/src/RepairGUI/RepairGUI_FreeBoundDlg.h
deleted file mode 100644 (file)
index e317cc3..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_FreeBoundDlg.h
-//  Author : Sergey LITONIN
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_WHATIS_H
-#define DIALOGBOX_WHATIS_H
-
-#include <qdialog.h>
-#include "GEOMBase_Helper.h"
-
-class QLineEdit;
-class QLabel;
-class GEOM_Displayer;
-class GeometryGUI;
-
-//=================================================================================
-// class    : RepairGUI_FreeBoundDlg
-// purpose  : Dialog for displaying free boundaries of selected face, shell or solid
-//=================================================================================
-class RepairGUI_FreeBoundDlg : public QDialog,
-                               public GEOMBase_Helper
-{ 
-    Q_OBJECT
-
-public:
-                                        RepairGUI_FreeBoundDlg( GeometryGUI*, QWidget* );
-                                        ~RepairGUI_FreeBoundDlg();
-
-private slots:
-
-  void                                  onClose();
-  void                                  onDeactivate();
-  void                                  onActivate();
-  void                                  onSelectionDone();
-                                                                                  
-private:
-
-  void                                  Init();
-  void                                  enterEvent( QEvent* e );
-  void                                  closeEvent( QCloseEvent* e );
-  void                                  activateSelection();
-  
-  virtual GEOM::GEOM_IOperations_ptr    createOperation();
-  virtual bool                          execute( ObjectList& objects );
-  virtual bool                          isValid( QString& );
-
-private:
-
-  QLineEdit*                            myEdit;
-  QLabel*                               myClosedLbl;
-  QLabel*                               myOpenLbl;
-  GEOM::GEOM_Object_var                 myObj;
-  GeometryGUI*                          myGeomGUI;
-  int                                   myNbClosed;
-  int                                   myNbOpen;
-};
-
-#endif // DIALOGBOX_WHATIS_H
-
-
-
-
-
-
-
-
-
-
diff --git a/src/RepairGUI/RepairGUI_FreeFacesDlg.cxx b/src/RepairGUI/RepairGUI_FreeFacesDlg.cxx
deleted file mode 100644 (file)
index 04c2b19..0000000
+++ /dev/null
@@ -1,330 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_FreeFacesDlg.cxx
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_FreeFacesDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SalomeApp_Tools.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_OverrideCursor.h"
-
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TopExp.hxx>
-#include "GEOMBase.h"
-#include "GeometryGUI.h"
-#include "GEOM_Displayer.h"
-
-#include <qapplication.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#define SPACING 5
-#define MARGIN 10
-#define MIN_WIDTH 200
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_FreeFacesDlg()
-// purpose  : Constructs a RepairGUI_FreeFacesDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_FreeFacesDlg::RepairGUI_FreeFacesDlg(GeometryGUI* GUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-:QDialog( parent, "RepairGUI_FreeBoundDlg", false,
-         WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose ),
- GEOMBase_Helper( dynamic_cast<SUIT_Desktop*>( parent ) ),
- myGeomGUI( GUI )
-{
-  myDisplayer = 0;
-
-  setSizeGripEnabled( TRUE );
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_FREE_FACES_TITLE"));
-
-  /***************************************************************/
-
-  QGroupBox* aMainGrp = new QGroupBox( 1, Qt::Horizontal, tr( "GEOM_SELECTED_SHAPE" ), this );
-  
-
-  QGroupBox* aSelGrp = new QGroupBox( 1, Qt::Vertical, aMainGrp );
-
-  aSelGrp->setInsideMargin( 0 );
-  aSelGrp->setFrameStyle( QFrame::NoFrame );
-  new QLabel( tr( "GEOM_OBJECT" ), aSelGrp );
-  mySelBtn = new QPushButton( aSelGrp );
-  mySelBtn->setPixmap( image1 );
-  myEdit = new QLineEdit( aSelGrp );
-  myEdit->setReadOnly( true );
-  myEdit->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
-  myEdit->setMinimumWidth( MIN_WIDTH );
-
-  QFrame* aFrame = new QFrame( this );
-  aFrame->setFrameStyle( QFrame::Box | QFrame::Sunken );
-  QPushButton* aCloseBtn = new QPushButton( tr( "GEOM_BUT_CLOSE" ), aFrame );
-  QHBoxLayout* aBtnLay = new QHBoxLayout( aFrame, MARGIN, SPACING );
-  aBtnLay->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
-  aBtnLay->addWidget( aCloseBtn );
-  aBtnLay->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
-
-  QVBoxLayout* aLay = new QVBoxLayout( this );
-  aLay->setSpacing( SPACING );
-  aLay->setMargin( MARGIN );
-  aLay->addWidget( aMainGrp );
-  aLay->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
-  aLay->addWidget( aFrame );
-  
-  connect( aCloseBtn, SIGNAL( clicked() ), SLOT( onClose() ) );
-  connect( mySelBtn,    SIGNAL( clicked() ),
-           this,        SLOT  ( onSetEditCurrentArgument() ) );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_FreeFacesDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_FreeFacesDlg::~RepairGUI_FreeFacesDlg()
-{
-}
-
-
-//=================================================================================
-// function : onClose
-// purpose  : SLOT. Called when "close" button pressed. Close dialog
-//=================================================================================
-void RepairGUI_FreeFacesDlg::onClose()
-{
-  globalSelection();
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  myGeomGUI->SetActiveDialogBox( 0 );
-  reject();
-  erasePreview();
-}
-
-//=================================================================================
-// function : onDeactivate
-// purpose  : Deactivate this dialog
-//=================================================================================
-void RepairGUI_FreeFacesDlg::onDeactivate()
-{
-  setEnabled(false);
-  globalSelection();
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  myGeomGUI->SetActiveDialogBox( 0 );
-}
-
-//=================================================================================
-// function : onActivate
-// purpose  : Activate this dialog
-//=================================================================================
-void RepairGUI_FreeFacesDlg::onActivate()
-{
-  myGeomGUI->EmitSignalDeactivateDialog();
-  setEnabled( true );
-  myGeomGUI->SetActiveDialogBox( this );
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), SLOT  ( onSelectionDone() ) );
-  activateSelection();
-}
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_FreeFacesDlg::Init()
-{
-  myObj = GEOM::GEOM_Object::_nil();
-
-  /* signals and slots connections */
-  connect( myGeomGUI, SIGNAL( SignalDeactivateActiveDialog() ), SLOT  ( onDeactivate() ) );
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-          SIGNAL( currentSelectionChanged() ), SLOT  ( onSelectionDone() ) );
-
-  activateSelection();
-  onSelectionDone();
-}
-
-//=================================================================================
-// function : onSelectionDone
-// purpose  : SLOT. Called when selection changed.
-//=================================================================================
-void RepairGUI_FreeFacesDlg::onSelectionDone()
-{
-  erasePreview();
-  if( IObjectCount() != 1 )
-  {
-    myEdit->setText( "" );
-    return;
-  }
-
-  Standard_Boolean isOk = Standard_False;
-  GEOM::GEOM_Object_var anObj =
-    GEOMBase::ConvertIOinGEOMObject( firstIObject(), isOk );
-
-  if ( !isOk || anObj->_is_nil() || !GEOMBase::IsShape( anObj ) )
-  {
-    myEdit->setText( "" );
-    return;
-  }
-  else
-  {
-    myObj = anObj;
-    displayPreview( false, true, true, 3 );
-  }
-}
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_FreeFacesDlg::enterEvent(QEvent* e)
-{
-  onActivate();
-}
-
-//=================================================================================
-// function : activateSelection
-// purpose  : activate selection of faces, shells, and solids
-//=================================================================================
-void RepairGUI_FreeFacesDlg::activateSelection()
-{
-  TColStd_MapOfInteger aMap;
-  aMap.Add( GEOM_SOLID );
-  aMap.Add( GEOM_COMPOUND );
-  globalSelection( aMap );
-}
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_FreeFacesDlg::closeEvent(QCloseEvent* e)
-{
-  onClose();
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_FreeFacesDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_FreeFacesDlg::isValid( QString& msg )
-{
-  return !myObj->_is_nil() ;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_FreeFacesDlg::execute( ObjectList& objects )
-{
-  bool aResult = false;
-  GEOM::ListOfLong_var aFaceLst = 
-    GEOM::GEOM_IShapesOperations::_narrow( getOperation() )->GetFreeFacesIDs( myObj );
-  TopoDS_Shape aSelShape;
-  TopoDS_Shape aFace; 
-  TopTools_IndexedMapOfShape anIndices;
-  if ( !myObj->_is_nil() && GEOMBase::GetShape( myObj, aSelShape ) )
-  {
-    myEdit->setText( GEOMBase::GetName( myObj ) );
-    QString aMess;
-    if ( !isValid( aMess ) )
-    {
-      erasePreview( true );
-      return false;
-    }
-    
-    SUIT_OverrideCursor();
-
-    TopExp::MapShapes( aSelShape, anIndices);
-    SALOME_Prs* aPrs = 0;
-    
-    for ( int i = 0, n = aFaceLst->length(); i < n; i++ )
-    {
-      aFace = anIndices.FindKey( aFaceLst[i] );
-      try
-      {
-        getDisplayer()->SetColor( Quantity_NOC_RED );
-        getDisplayer()->SetToActivate( false );
-       aPrs = !aFace.IsNull() ? getDisplayer()->BuildPrs( aFace ) : 0;
-        if ( aPrs )
-         displayPreview( aPrs, true );
-      }
-      catch( const SALOME::SALOME_Exception& e )
-      {
-        SalomeApp_Tools::QtCatchCorbaException( e );
-      }
-    }
-  }
-  return aResult;
-}
-
-//================================================================
-// Function : getDisplayer
-// Purpose  :
-//================================================================
-GEOM_Displayer* RepairGUI_FreeFacesDlg::getDisplayer()
-{
-  if ( !myDisplayer )
-    myDisplayer = new GEOM_Displayer( getStudy() );
-  return myDisplayer;
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument
-// purpose  :
-//=================================================================================
-void RepairGUI_FreeFacesDlg::onSetEditCurrentArgument()
-{
-  myEdit->setFocus();
-  onSelectionDone();
-}
-
diff --git a/src/RepairGUI/RepairGUI_FreeFacesDlg.h b/src/RepairGUI/RepairGUI_FreeFacesDlg.h
deleted file mode 100644 (file)
index f42589b..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_FreeFacesDlg.h
-//  Author : VKN
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_FreeFaces_H
-#define DIALOGBOX_FreeFaces_H
-
-#include <qdialog.h>
-#include "GEOMBase_Helper.h"
-
-class GEOM_Displayer;
-class QPushButton;
-class QLineEdit;
-class GeometryGUI;
-
-//=================================================================================
-// class    : RepairGUI_FreeFacesDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_FreeFacesDlg : public QDialog,
-                               public GEOMBase_Helper
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_FreeFacesDlg(GeometryGUI* GUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_FreeFacesDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void activateSelection();
-    GEOM_Displayer*           getDisplayer();
-
-private slots:
-
-  void                                  onClose();
-  void                                  onDeactivate();
-  void                                  onActivate();
-  void                                  onSelectionDone();
-  void                                  onSetEditCurrentArgument();
-
-private :
-
-    GEOM_Displayer*        myDisplayer;
-    GEOM::GEOM_Object_var  myObj;
-    QPushButton*           mySelBtn;
-    QLineEdit*             myEdit;
-    GeometryGUI*           myGeomGUI;
-
-};
-
-#endif // DIALOGBOX_FreeFaces_H
diff --git a/src/RepairGUI/RepairGUI_GlueDlg.cxx b/src/RepairGUI/RepairGUI_GlueDlg.cxx
deleted file mode 100644 (file)
index 9988bb3..0000000
+++ /dev/null
@@ -1,447 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_GlueDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_GlueDlg.h"
-#include "DlgRef_1Sel_Ext.h"
-#include "GEOMImpl_Types.hxx"
-
-#include "QtxDblSpinBox.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SalomeApp_Study.h"
-#include "SalomeApp_Tools.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_MessageBox.h"
-#include "SUIT_OverrideCursor.h"
-
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include <TCollection_AsciiString.hxx>
-
-#include <qapplication.h>
-#include <qlabel.h>
-
-using namespace std;
-
-#define DEFAULT_TOLERANCE_VALUE 1e-07
-
-//=================================================================================
-// class    : RepairGUI_GlueDlg()
-// purpose  : Constructs a RepairGUI_GlueDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_GlueDlg::RepairGUI_GlueDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_GLUE_FACES")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_GLUE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_GLUE_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_GLUE"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_SHAPE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-
-  QGridLayout* aLay = new QGridLayout( 0, 2, 2, 0, 6, "aLay" );
-  QLabel* aLbl1 = new QLabel( tr( "GEOM_TOLERANCE" ), GroupPoints->GroupBox1 );
-  myTolEdt = new QtxDblSpinBox( 0, 100, 1e-7, GroupPoints->GroupBox1 );//QAD_SpinBoxDbl( GroupPoints->GroupBox1, 0, 100, 1e-7, 10, 1e-10 );
-  myTolEdt->setPrecision( 10 );
-  myTolEdt->setValue( DEFAULT_TOLERANCE_VALUE );
-
-  aLay->addWidget( aLbl1, 0, 0 );
-  aLay->addWidget( myTolEdt, 0, 1 );
-
-  GroupPoints->getGroupBoxLayout()->addLayout( aLay, 3, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_GlueDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_GlueDlg::~RepairGUI_GlueDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObject = GEOM::GEOM_Object::_nil();
-
-  //myGeomGUI->SetState( 0 );
-  globalSelection( GEOM_COMPOUND );
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GLUE_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_GlueDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_GlueDlg::ClickOnApply()
-{
-  if ( !onAcceptLocal() )
-    return false;
-
-  initName();
-
-  GroupPoints->LineEdit1->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  globalSelection( GEOM_COMPOUND );
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection
-//=================================================================================
-void RepairGUI_GlueDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  if ( IObjectCount() == 1 ) {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    Standard_Boolean aRes;
-    myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-    if ( aRes )
-      myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::SetEditCurrentArgument()
-{
-  const QObject* send = sender();
-  if ( send == GroupPoints->PushButton1 )  {
-    myEditCurrentArgument->setFocus();
-    SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::LineEditReturnPressed()
-{
-  const QObject* send = sender();
-  if( send == GroupPoints->LineEdit1 ) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  GroupPoints->LineEdit1->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  //myGeomGUI->SetState( 0 );
-  globalSelection( GEOM_COMPOUND );
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_GlueDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_GlueDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_GlueDlg::createOperation()
-{
-  return getGeomEngine()->GetIShapesOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_GlueDlg::isValid( QString& msg )
-{
-  return !myObject->_is_nil() && ( IsPreview() || myTolEdt->value() > 0. );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_GlueDlg::execute( ObjectList& objects )
-{
-  bool aResult = false;
-  GEOM::GEOM_Object_var anObj = GEOM::GEOM_IShapesOperations::_narrow
-    ( getOperation() )->MakeGlueFaces( myObject, myTolEdt->value() );
-  aResult = !anObj->_is_nil();
-  if ( aResult )
-    objects.push_back( anObj._retn() );
-
-  return aResult;
-}
-
-//================================================================
-// Function : clearShapeBufferLocal
-// Purpose  : 
-//================================================================
-void RepairGUI_GlueDlg::clearShapeBufferLocal( GEOM::GEOM_Object_ptr theObj )
-{
-  if ( CORBA::is_nil( theObj ) )
-    return;
-
-  string IOR = myGeomGUI->getApp()->orb()->object_to_string( theObj );
-  TCollection_AsciiString asciiIOR( strdup( IOR.c_str() ) );
-  myGeomGUI->GetShapeReader().RemoveShapeFromBuffer( asciiIOR );
-
-  if ( !getStudy() || !( getStudy()->studyDS() ) )
-    return;
-
-  _PTR(Study) aStudy = getStudy()->studyDS();
-  _PTR(SObject) aSObj ( aStudy->FindObjectIOR( IOR ) );
-  if ( !aSObj )
-    return;
-
-  _PTR(ChildIterator) anIt ( aStudy->NewChildIterator( aSObj ) );
-  for ( anIt->InitEx( true ); anIt->More(); anIt->Next() ) {
-    _PTR(GenericAttribute) anAttr;
-    if ( anIt->Value()->FindAttribute(anAttr, "AttributeIOR") ) {
-      _PTR(AttributeIOR) anIOR ( anAttr );
-      TCollection_AsciiString asciiIOR( (char*)anIOR->Value().c_str() );
-      myGeomGUI->GetShapeReader().RemoveShapeFromBuffer( asciiIOR );      
-    }
-  }
-}
-
-//================================================================
-// Function : onAccept
-// Purpose  : This method should be called from dialog's slots onOk() and onApply()
-//            It perfroms user input validation, then it 
-//            performs a proper operation and manages transactions, etc.
-//================================================================
-bool RepairGUI_GlueDlg::onAcceptLocal( const bool publish, const bool useTransaction )
-{
-  if ( !getStudy() || !( getStudy()->studyDS() ) )
-    return false;
-
-  _PTR(Study) aStudy = getStudy()->studyDS();
-
-  bool aLocked = aStudy->GetProperties()->IsLocked();
-  if ( aLocked ) {
-    MESSAGE("GEOMBase_Helper::onAccept - ActiveStudy is locked");
-    SUIT_MessageBox::warn1 ( (QWidget*)(SUIT_Session::session()->activeApplication()->desktop()),
-                            QObject::tr("WRN_WARNING"), 
-                            QObject::tr("WRN_STUDY_LOCKED"),
-                            QObject::tr("BUT_OK") );
-    return false;
-  }
-
-  QString msg;
-  if ( !isValid( msg ) ) {
-    showError( msg );
-    return false;
-  }
-
-  erasePreview( false );
-
-  try {
-    if ( ( !publish && !useTransaction ) || openCommand() ) {
-
-      SUIT_OverrideCursor wc;
-
-      SUIT_Session::session()->activeApplication()->putInfo( "" );
-      ObjectList objects;
-      // JFA 28.12.2004 if ( !execute( objects ) || !getOperation()->IsDone() ) {
-      if ( !execute( objects ) ) { // JFA 28.12.2004 // To enable warnings
-       wc.suspend();
-        abortCommand();
-       showError();
-      }
-      else {
-       const int nbObjs = objects.size();
-       bool withChildren = false;
-       for ( ObjectList::iterator it = objects.begin(); it != objects.end(); ++it ) {
-         if ( publish ) {
-           QString aName("");
-           if ( nbObjs > 1 )
-             aName = strlen( getNewObjectName() ) ? GEOMBase::GetDefaultName( getNewObjectName() ) : GEOMBase::GetDefaultName( getPrefix( *it ) );
-           else {
-             aName = getNewObjectName();
-             // PAL6521: use a prefix, if some dialog box doesn't reimplement getNewObjectName()
-             if ( aName.isEmpty() )
-               aName = GEOMBase::GetDefaultName( getPrefix( *it ) );
-           }
-           addInStudy( *it, aName.latin1() );
-           withChildren = false;
-           display( *it, false );
-         }
-         else { // asv : fix of PAL6454. If publish==false, then the original shape was modified, and need to be re-cached in GEOM_Client 
-                // before redisplay
-           clearShapeBufferLocal( *it );
-           withChildren = true;
-           redisplay( *it, withChildren, false );
-          }
-       }
-
-       if ( nbObjs ) {
-         commitCommand();
-         updateObjBrowser();
-         SUIT_Session::session()->activeApplication()->putInfo( QObject::tr("GEOM_PRP_DONE") );
-       }
-       else {
-         abortCommand();
-        }
-
-        // JFA 28.12.2004 BEGIN // To enable warnings
-        if ( !getOperation()->_is_nil() ) {
-          if ( !getOperation()->IsDone() ) {
-            wc.suspend();
-           QString msgw = QObject::tr( getOperation()->GetErrorCode() );
-            SUIT_MessageBox::warn1((QWidget*)(SUIT_Session::session()->activeApplication()->desktop()),
-                                  QObject::tr( "WRN_WARNING" ), 
-                                  msgw, 
-                                  QObject::tr( "BUT_OK" ));
-          }
-        }
-        // JFA 28.12.2004 END
-      }
-    }
-  }
-  catch( const SALOME::SALOME_Exception& e ) {
-    SalomeApp_Tools::QtCatchCorbaException( e );
-    abortCommand();
-  }
-
-  updateViewer();
-
-  return true;
-}
diff --git a/src/RepairGUI/RepairGUI_GlueDlg.h b/src/RepairGUI/RepairGUI_GlueDlg.h
deleted file mode 100644 (file)
index 2c493df..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_GlueDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_Glue_H
-#define DIALOGBOX_Glue_H
-
-#include "GEOMBase_Skeleton.h"
-
-class QtxDblSpinBox;
-class DlgRef_1Sel_Ext;
-
-//=================================================================================
-// class    : RepairGUI_GlueDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_GlueDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_GlueDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_GlueDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-    bool onAcceptLocal( const bool publish = true, const bool useTransaction = true );
-    void clearShapeBufferLocal( GEOM::GEOM_Object_ptr );
-    // Reimplementation of onAccept for local case of this class.
-
-    GEOM::GEOM_Object_var myObject;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QtxDblSpinBox*   myTolEdt;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_Glue_H
diff --git a/src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx b/src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx
deleted file mode 100644 (file)
index 4e8ecc3..0000000
+++ /dev/null
@@ -1,448 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_RemoveHolesDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_RemoveHolesDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_MessageBox.h"
-#include "SUIT_Session.h"
-
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_RemoveHolesDlg()
-// purpose  : Constructs a RepairGUI_RemoveHolesDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_RemoveHolesDlg::RepairGUI_RemoveHolesDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SUPPRESS_HOLES")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_REMOVE_HOLES_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_REMOVE_HOLES_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_HOLES"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_SHAPE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-
-  myAllChk = new QCheckBox( tr( "GEOM_REMOVE_ALL_HOLES" ), GroupPoints->GroupBox1 );
-
-  QGridLayout* aSelectWiresLay = new QGridLayout( 0, 1, 1, 0, 6, "aSelectWiresLay");
-
-  mySelectWiresBtn = new QPushButton( GroupPoints->GroupBox1, "mySelectWiresBtn" );
-  mySelectWiresBtn->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresBtn->sizePolicy().hasHeightForWidth() ) );
-  mySelectWiresBtn->setText( trUtf8( "" ) );
-  mySelectWiresBtn->setPixmap(image1);
-
-  mySelectWiresEdt = new QLineEdit( GroupPoints->GroupBox1, "mySelectWiresEdt" );
-  mySelectWiresEdt->setReadOnly( true );
-
-  mySelectWiresLbl = new QLabel( tr( "GEOM_WIRES_TO_REMOVE" ), GroupPoints->GroupBox1, "TextLabel1" );
-  mySelectWiresLbl->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresLbl->sizePolicy().hasHeightForWidth() ) );
-
-  aSelectWiresLay->addWidget( mySelectWiresLbl, 0, 0 );
-       aSelectWiresLay->addWidget( mySelectWiresBtn, 0, 1 );
-  aSelectWiresLay->addWidget( mySelectWiresEdt, 0, 2 );
-  QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-  aSelectWiresLay->addItem( spacer, 1, 2 );
-
-  QGridLayout* aDetectLay = new QGridLayout( 0, 1, 1, 0, 6, "aDetectLay" );  
-       myFreeBoundBtn = new QPushButton( tr( "GEOM_DETECT" ), GroupPoints->GroupBox1 );
-  QLabel* aLbl = new QLabel( tr( "GEOM_FREE_BOUNDARIES" ), GroupPoints->GroupBox1 );
-  aDetectLay->addWidget( aLbl, 0, 0 );
-  aDetectLay->addWidget( myFreeBoundBtn, 0, 1 );
-  
-  GroupPoints->getGroupBoxLayout()->addMultiCellWidget( myAllChk, 1, 1, 0, 2 );
-  GroupPoints->getGroupBoxLayout()->addLayout( aSelectWiresLay, 2, 0 );
-  GroupPoints->getGroupBoxLayout()->addLayout( aDetectLay, 3, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_RemoveHolesDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_RemoveHolesDlg::~RepairGUI_RemoveHolesDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd = new GEOM::short_array();
-  myWiresInd->length( 0 );
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-
-  myClosed = -1;
-  myOpen = -1;
-  
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(mySelectWiresBtn, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(mySelectWiresEdt, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  connect( myAllChk, SIGNAL( clicked() ), this, SLOT( onRemoveAllClicked() ) );
-  connect( myFreeBoundBtn, SIGNAL(clicked()), this, SLOT(onDetect()) );
-
-  initName( tr( "REMOVE_HOLES_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveHolesDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  mySelectWiresEdt->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd->length( 0 );
-
-  initSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myObject = GEOM::GEOM_Object::_nil();
-  else if ( myEditCurrentArgument == mySelectWiresEdt ) myWiresInd->length( 0 );
-
-  if ( IObjectCount() == 1 )
-  {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-
-    if ( myEditCurrentArgument == GroupPoints->LineEdit1 )     // face selection
-    {
-      Standard_Boolean aRes;
-      myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-      if ( aRes && GEOMBase::IsShape( myObject ) )
-        myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-      else
-        myObject = GEOM::GEOM_Object::_nil();
-    }
-    else if ( myEditCurrentArgument == mySelectWiresEdt && !myAllChk->isChecked() )
-    {
-      TColStd_IndexedMapOfInteger aMap;
-      ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-      const int n = aMap.Extent();
-      myWiresInd->length( n );
-      for ( int i = 1; i <= n; i++ )
-       myWiresInd[i-1] = aMap( i );
-      if ( n )
-       myEditCurrentArgument->setText( QString::number( n ) + "_" + tr( "GEOM_WIRE" ) + tr( "_S_" ) );
-    }
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::SetEditCurrentArgument()
-{
-  const QObject* send = sender();
-  if ( send == GroupPoints->PushButton1 )
-    myEditCurrentArgument = GroupPoints->LineEdit1; 
-  else if ( send == mySelectWiresBtn && !myObject->_is_nil() )
-    myEditCurrentArgument = mySelectWiresEdt;
-  if ( myEditCurrentArgument )
-  {
-    initSelection();
-    myEditCurrentArgument->setFocus();
-    SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::LineEditReturnPressed()
-{
-  const QObject* send = sender();
-  if( send == GroupPoints->LineEdit1 || send == mySelectWiresEdt )
-  {
-    myEditCurrentArgument = (QLineEdit*)send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  mySelectWiresEdt->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd->length( 0 );
-
-  myClosed = -1;
-  myOpen = -1;
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_RemoveHolesDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveHolesDlg::isValid( QString& msg )
-{
-  myClosed = -1;
-  return !myObject->_is_nil() && ( IsPreview() || myAllChk->isChecked() || myWiresInd->length() );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveHolesDlg::execute( ObjectList& objects )
-{
-  bool aResult = false;
-  if ( IsPreview() ) // called from onDetect(): detect free boundary edges, highlight them (add to objects), display message dialog
-  {
-    GEOM::ListOfGO_var aClosed, anOpen;
-
-    aResult = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->GetFreeBoundary( myObject, aClosed, anOpen );
-
-    if ( aResult )
-    {
-      myClosed = aClosed->length();
-      myOpen = anOpen->length();
-      int i;
-      for ( i = 0; i < myClosed; i++ )
-       objects.push_back( aClosed[i]._retn() );
-      for ( i = 0; i < myOpen; i++ )
-       objects.push_back( anOpen[i]._retn() );
-    }
-    else
-      myClosed = -1;
-  }
-  else
-  {
-    GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->FillHoles( myObject, myWiresInd );
-    aResult = !anObj->_is_nil();
-    if ( aResult )
-      objects.push_back( anObj._retn() );
-  }
-       
-  return aResult;
-}
-
-//=================================================================================
-// function : onRemoveAllClicked
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::onRemoveAllClicked()
-{
-  bool b = myAllChk->isOn();
-  mySelectWiresLbl->setEnabled( !b );
-  mySelectWiresBtn->setEnabled( !b );
-  mySelectWiresEdt->setEnabled( !b );
-  if ( b )
-  {
-    mySelectWiresEdt->setText( "" );
-    myWiresInd->length( 0 );
-  }
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::initSelection()
-{
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-  {
-    TColStd_MapOfInteger aTypes;
-    aTypes.Add( GEOM_COMPOUND );
-    aTypes.Add( GEOM_SOLID );
-    aTypes.Add( GEOM_SHELL );
-    aTypes.Add( GEOM_FACE );
-    
-    globalSelection( aTypes );
-  }
-  else if ( myEditCurrentArgument == mySelectWiresEdt )
-  {
-    localSelection( myObject, TopAbs_EDGE );
-    localSelection( myObject, TopAbs_WIRE );
-  }
-}
-
-
-//=================================================================================
-// function : onDetect
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveHolesDlg::onDetect()
-{
-  displayPreview( false, true, true, 3 );
-
-  // field myClosed,myOpen is initialized in execute() method, called by displayPreview().
-  QString msg;
-  if ( myClosed != -1 )
-    msg = tr( "GEOM_FREE_BOUNDS_MSG" ).arg( myClosed + myOpen ).arg( myClosed ).arg( myOpen );
-  else
-    msg = tr( "GEOM_FREE_BOUNDS_ERROR" );
-  SUIT_MessageBox::info1( this, tr( "GEOM_FREE_BOUNDS_TLT" ), msg, "Close" );
-}
-
diff --git a/src/RepairGUI/RepairGUI_RemoveHolesDlg.h b/src/RepairGUI/RepairGUI_RemoveHolesDlg.h
deleted file mode 100644 (file)
index 42edf5b..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_RemoveHolesDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_RemoveHoles_H
-#define DIALOGBOX_RemoveHoles_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_Ext.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qcheckbox.h>
-#include <qbuttongroup.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-
-//=================================================================================
-// class    : RepairGUI_RemoveHolesDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_RemoveHolesDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_RemoveHolesDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_RemoveHolesDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-    GEOM::GEOM_Object_var myObject;
-    GEOM::short_array_var myWiresInd;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QCheckBox*       myAllChk;
-    QLabel*          mySelectWiresLbl;
-    QPushButton*     mySelectWiresBtn;
-    QLineEdit*       mySelectWiresEdt;
-    QPushButton*     myFreeBoundBtn;
-
-    int myClosed; // number of free closed boundaries detected.  calculated in execute(), used in onDetect().    
-    int myOpen; // number of free open boundaries detected.  calculated in execute(), used in onDetect().    
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-    void onRemoveAllClicked();
-    void onDetect();
-};
-
-#endif // DIALOGBOX_RemoveHoles_H
diff --git a/src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx b/src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx
deleted file mode 100644 (file)
index db6fd60..0000000
+++ /dev/null
@@ -1,391 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_RemoveIntWiresDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_RemoveIntWiresDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_RemoveIntWiresDlg()
-// purpose  : Constructs a RepairGUI_RemoveIntWiresDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_RemoveIntWiresDlg::RepairGUI_RemoveIntWiresDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SUPPRESS_INT_WIRES")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_REMOVE_INTERNAL_WIRES_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_REMOVE_INTERNAL_WIRES_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_INTERNAL_WIRES"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_FACE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-
-  myAllChk = new QCheckBox( tr( "GEOM_REMOVE_ALL_INT_WIRES" ), GroupPoints->GroupBox1 );
-
-  QGridLayout* aSelectWiresLay = new QGridLayout( 0, 1, 1, 0, 6, "aSelectWiresLay");
-
-  mySelectWiresBtn = new QPushButton( GroupPoints->GroupBox1, "mySelectWiresBtn" );
-  mySelectWiresBtn->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresBtn->sizePolicy().hasHeightForWidth() ) );
-  mySelectWiresBtn->setText( trUtf8( "" ) );
-  mySelectWiresBtn->setPixmap(image1);
-  
-  mySelectWiresEdt = new QLineEdit( GroupPoints->GroupBox1, "mySelectWiresEdt" );
-  mySelectWiresEdt->setReadOnly( true );
-
-  mySelectWiresLbl = new QLabel( tr( "GEOM_WIRES_TO_REMOVE" ), GroupPoints->GroupBox1, "TextLabel1" );
-  mySelectWiresLbl->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, mySelectWiresLbl->sizePolicy().hasHeightForWidth() ) );
-
-  aSelectWiresLay->addWidget( mySelectWiresLbl, 0, 0 );
-       aSelectWiresLay->addWidget( mySelectWiresBtn, 0, 1 );  
-  aSelectWiresLay->addWidget( mySelectWiresEdt, 0, 2 );
-  QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
-  aSelectWiresLay->addItem( spacer, 1, 2 );
-
-  GroupPoints->getGroupBoxLayout()->addMultiCellWidget( myAllChk, 1, 1, 0, 2 );
-  GroupPoints->getGroupBoxLayout()->addLayout( aSelectWiresLay, 2, 0 );  
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_RemoveIntWiresDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_RemoveIntWiresDlg::~RepairGUI_RemoveIntWiresDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObject = GEOM::GEOM_Object::_nil();
-       myWiresInd = new GEOM::short_array();
-       myWiresInd->length( 0 );
-
-  //myGeomGUI->SetState( 0 );
-  initSelection(); 
-
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(mySelectWiresBtn, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(mySelectWiresEdt, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  connect( myAllChk, SIGNAL( clicked() ), this, SLOT( onRemoveAllClicked() ) );
-
-  initName( tr( "REMOVE_INT_WIRES_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveIntWiresDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-       return false;
-
-  initName();
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  mySelectWiresEdt->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-       myWiresInd->length( 0 );
-
-       initSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 ) myObject = GEOM::GEOM_Object::_nil();
-  else if ( myEditCurrentArgument == mySelectWiresEdt ) myWiresInd->length( 0 );
-
-  if ( IObjectCount() == 1 )
-    {
-      Handle(SALOME_InteractiveObject) anIO = firstIObject();
-      
-      if ( myEditCurrentArgument == GroupPoints->LineEdit1 )   // face selection
-       {
-         Standard_Boolean aRes;
-         myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-         if ( aRes && GEOMBase::IsShape( myObject ) )
-           myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-         else
-           myObject = GEOM::GEOM_Object::_nil();
-       }
-      else if ( myEditCurrentArgument == mySelectWiresEdt && !myAllChk->isChecked() )
-       {
-         TColStd_IndexedMapOfInteger aMap;
-         ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-         const int n = aMap.Extent();
-         myWiresInd->length( n );
-         for ( int i = 1; i <= n; i++ )
-           myWiresInd[i-1] = aMap( i );
-         if ( n )
-           myEditCurrentArgument->setText( QString::number( n ) + "_" + tr( "GEOM_WIRE" ) + tr( "_S_" ) );
-       }
-    }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::SetEditCurrentArgument()
-{
-       const QObject* send = sender();
-  if ( send == GroupPoints->PushButton1 )
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-  else if ( send == mySelectWiresBtn && !myObject->_is_nil() )
-       myEditCurrentArgument = mySelectWiresEdt;
-
-  if ( myEditCurrentArgument )
-  {
-       initSelection();
-       myEditCurrentArgument->setFocus();
-       SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::LineEditReturnPressed()
-{
-       const QObject* send = sender();
-  if( send == GroupPoints->LineEdit1 || send == mySelectWiresEdt )
-  {
-    myEditCurrentArgument = (QLineEdit*)send;
-         GEOMBase_Skeleton::LineEditReturnPressed();
-       }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setText("");
-  mySelectWiresEdt->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-  myWiresInd->length( 0 );
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_RemoveIntWiresDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveIntWiresDlg::isValid( QString& msg )
-{
-       return !myObject->_is_nil() && ( myAllChk->isChecked() || myWiresInd->length() );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_RemoveIntWiresDlg::execute( ObjectList& objects )
-{
-       GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->RemoveIntWires( myObject, myWiresInd );
-       bool aResult = !anObj->_is_nil();
-       if ( aResult )
-               objects.push_back( anObj._retn() );
-
-       return aResult;
-}
-
-//=================================================================================
-// function : onRemoveAllClicked
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::onRemoveAllClicked()
-{
-       bool b = myAllChk->isOn();
-  mySelectWiresLbl->setEnabled( !b );
-  mySelectWiresBtn->setEnabled( !b );
-  mySelectWiresEdt->setEnabled( !b );
-  if ( b )
-  {
-    mySelectWiresEdt->setText( "" );
-    myWiresInd->length( 0 );
-  }
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_RemoveIntWiresDlg::initSelection()
-{
-  if ( myEditCurrentArgument == GroupPoints->LineEdit1 )
-  {
-       TColStd_MapOfInteger aTypes;
-       aTypes.Add( GEOM_COMPOUND );
-       aTypes.Add( GEOM_SOLID );
-       aTypes.Add( GEOM_SHELL );
-       aTypes.Add( GEOM_FACE );
-       
-       globalSelection( aTypes );
-  }
-  else if ( myEditCurrentArgument == mySelectWiresEdt )
-  {
-    //localSelection( myObject, TopAbs_EDGE );
-    localSelection( myObject, TopAbs_WIRE );
-  }
-}
-
-
diff --git a/src/RepairGUI/RepairGUI_RemoveIntWiresDlg.h b/src/RepairGUI/RepairGUI_RemoveIntWiresDlg.h
deleted file mode 100644 (file)
index 2142784..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_RemoveIntWiresDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_RemoveIntWires_H
-#define DIALOGBOX_RemoveIntWires_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_Ext.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qcheckbox.h>
-#include <qbuttongroup.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-
-//=================================================================================
-// class    : RepairGUI_RemoveIntWiresDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_RemoveIntWiresDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_RemoveIntWiresDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_RemoveIntWiresDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-               GEOM::GEOM_Object_var myObject;
-               GEOM::short_array_var myWiresInd;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QCheckBox*       myAllChk;
-    QLabel*          mySelectWiresLbl;
-    QPushButton*     mySelectWiresBtn;
-    QLineEdit*       mySelectWiresEdt;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-    void onRemoveAllClicked();
-};
-
-#endif // DIALOGBOX_RemoveIntWires_H
diff --git a/src/RepairGUI/RepairGUI_SewingDlg.cxx b/src/RepairGUI/RepairGUI_SewingDlg.cxx
deleted file mode 100644 (file)
index 2bd0ee3..0000000
+++ /dev/null
@@ -1,369 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_SewingDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_SewingDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SUIT_MessageBox.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-#define DEFAULT_TOLERANCE_VALUE 1e-07
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_SewingDlg()
-// purpose  : Constructs a RepairGUI_SewingDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_SewingDlg::RepairGUI_SewingDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SEWING")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SEWING_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SEWING_TITLE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_Ext(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_SEWING"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_SELECTED_SHAPE"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-
-  QGridLayout* aLay = new QGridLayout( 0, 2, 2, 0, 6, "aLay" );
-  myTolEdt = new QtxDblSpinBox( 0, 100, 1e-7, GroupPoints->GroupBox1 );//QAD_SpinBoxDbl( GroupPoints->GroupBox1, 0, 100, 1e-7, 10, 1e-10 );
-  myTolEdt->setPrecision( 10 );
-  myTolEdt->setValue( DEFAULT_TOLERANCE_VALUE );
-  QLabel* aLbl1 = new QLabel( tr( "GEOM_TOLERANCE" ), GroupPoints->GroupBox1 );
-       myFreeBoundBtn = new QPushButton( tr( "GEOM_DETECT" ), GroupPoints->GroupBox1 );
-  QLabel* aLbl2 = new QLabel( tr( "GEOM_FREE_BOUNDARIES" ), GroupPoints->GroupBox1 );
-  aLay->addWidget( aLbl1, 0, 0 );
-  aLay->addWidget( myTolEdt, 0, 1 );
-  aLay->addWidget( aLbl2, 1, 0 );
-  aLay->addWidget( myFreeBoundBtn, 1, 1 );
-
-  GroupPoints->getGroupBoxLayout()->addLayout( aLay, 3, 0 );
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_SewingDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_SewingDlg::~RepairGUI_SewingDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObject = GEOM::GEOM_Object::_nil();
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-
-  myClosed = -1;
-  myOpen = -1;
-       
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  connect(myFreeBoundBtn, SIGNAL(clicked()), this, SLOT(onDetect()));
-
-  initName( tr( "SEWING_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_SewingDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_SewingDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-       return false;
-
-  initName();
-
-  GroupPoints->LineEdit1->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  initSelection();
-
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection
-//=================================================================================
-void RepairGUI_SewingDlg::SelectionIntoArgument()
-{
-  erasePreview();
-  myEditCurrentArgument->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  if ( IObjectCount() == 1 )
-  {
-    Handle(SALOME_InteractiveObject) anIO = firstIObject();
-    Standard_Boolean aRes;
-    myObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-    if ( aRes )
-      myEditCurrentArgument->setText( GEOMBase::GetName( myObject ) );
-  }
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::SetEditCurrentArgument()
-{
-  const QObject* send = sender();
-  if ( send == GroupPoints->PushButton1 )
-  {
-    myEditCurrentArgument->setFocus();
-    SelectionIntoArgument();
-  }
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::LineEditReturnPressed()
-{
-  const QObject* send = sender();
-  if( send == GroupPoints->LineEdit1 )
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  GroupPoints->LineEdit1->setText("");
-  myObject = GEOM::GEOM_Object::_nil();
-
-  myClosed = -1;
-  myOpen = -1;
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_SewingDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_SewingDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_SewingDlg::isValid( QString& msg )
-{
-  myClosed = -1;
-  return !myObject->_is_nil() && ( IsPreview() || myTolEdt->value() > 0. );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_SewingDlg::execute( ObjectList& objects )
-{
-  bool aResult = false;
-  if ( IsPreview() ) // called from onDetect(): detect free boundary edges, highlight them (add to objects), display message dialog
-  {
-    GEOM::ListOfGO_var aClosed, anOpen;
-
-    aResult = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->GetFreeBoundary( myObject, aClosed, anOpen );
-
-    if ( aResult )
-    {
-      myClosed = aClosed->length();
-      myOpen = anOpen->length();
-      int i;
-      for ( i = 0; i < myClosed; i++ )
-       objects.push_back( aClosed[i]._retn() );
-      for ( i = 0; i < myOpen; i++ )
-       objects.push_back( anOpen[i]._retn() );
-    }
-    else
-      myClosed = -1;
-  }
-  else
-  {
-    GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->Sew( myObject, myTolEdt->value() );
-    aResult = !anObj->_is_nil();
-    if ( aResult )
-      objects.push_back( anObj._retn() );
-  }
-
-  return aResult;
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::initSelection()
-{
-  TColStd_MapOfInteger aTypes;
-  aTypes.Add( GEOM_SHELL );
-  aTypes.Add( GEOM_SOLID );
-  aTypes.Add( GEOM_COMPOUND );
-  globalSelection( aTypes );
-}
-
-//=================================================================================
-// function : onDetect
-// purpose  :
-//=================================================================================
-void RepairGUI_SewingDlg::onDetect()
-{
-  displayPreview( false, true, true, 3 );
-
-  // field myClosed,myOpen is initialized in execute() method, called by displayPreview().
-  QString msg;
-  if ( myClosed != -1 )
-    msg = tr( "GEOM_FREE_BOUNDS_MSG" ).arg( myClosed + myOpen ).arg( myClosed ).arg( myOpen );
-  else
-    msg = tr( "GEOM_FREE_BOUNDS_ERROR" );
-  SUIT_MessageBox::info1( this, tr( "GEOM_FREE_BOUNDS_TLT" ), msg, "Close" );
-}
diff --git a/src/RepairGUI/RepairGUI_SewingDlg.h b/src/RepairGUI/RepairGUI_SewingDlg.h
deleted file mode 100644 (file)
index c2c4595..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : RepairGUI_SewingDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_Sewing_H
-#define DIALOGBOX_Sewing_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_Ext.h"
-#include "QtxDblSpinBox.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-#include <qcheckbox.h>
-#include <qbuttongroup.h>
-#include <qlineedit.h>
-#include <qlabel.h>
-
-//=================================================================================
-// class    : RepairGUI_SewingDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_SewingDlg : public GEOMBase_Skeleton
-{
-    Q_OBJECT
-
-public:
-    RepairGUI_SewingDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_SewingDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-    void initSelection();
-
-    GEOM::GEOM_Object_var myObject;
-
-    DlgRef_1Sel_Ext* GroupPoints;
-    QtxDblSpinBox*   myTolEdt;
-    QPushButton*     myFreeBoundBtn;
-
-    int myClosed; // number of free closed boundaries detected.  calculated in execute(), used in onDetect().    
-    int myOpen; // number of free open boundaries detected.  calculated in execute(), used in onDetect().    
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-
-    void onDetect();
-};
-
-#endif // DIALOGBOX_Sewing_H
diff --git a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx
deleted file mode 100755 (executable)
index cb30f82..0000000
+++ /dev/null
@@ -1,847 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_ShapeProcessDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_ShapeProcessDlg.h"
-
-#include "GEOMImpl_Types.hxx"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-#include "SALOME_ListIO.hxx"
-
-#include <TCollection_AsciiString.hxx>
-#include <TColStd_MapOfInteger.hxx>
-
-#include <qheader.h>
-#include <qlabel.h>
-#include <qmessagebox.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_ShapeProcessDlg()
-// purpose  : Constructs a RepairGUI_ShapeProcessDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_ShapeProcessDlg::RepairGUI_ShapeProcessDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_ShapeProcessDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_ShapeProcessDlg::~RepairGUI_ShapeProcessDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::init()
-{
-  //myGeomGUI->SetState( 0 );
-
-  initParamsValues();
-  initSelection();
-       
-  setCaption(tr("GEOM_SHAPEPROCESS_TITLE"));
-
-  GroupConstructors->hide();
-  
-  // select widget on the top 
-  mySelectWdgt = new DlgRef_1Sel_QTD( this, "SelectedObjects" );
-  mySelectWdgt->GroupBox1->setTitle( tr("GEOM_SHAPE") );
-  mySelectWdgt->TextLabel1->setText( tr("GEOM_SELECTED_OBJECTS") );
-  mySelectWdgt->PushButton1->setPixmap( SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")) );
-  mySelectWdgt->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget( mySelectWdgt, 0, 0 );
-
-  // layout the two group boxes in the middle, add a list of operations
-  QFrame* aMidFrame = new QFrame( this );
-  QGridLayout* aMidLay = new QGridLayout( aMidFrame, 1, 3, 0, 5 );
-  QGroupBox* anOperGr = new QGroupBox( tr("GEOM_OPERATIONS"), aMidFrame );
-  QVBoxLayout* aOperLay = new QVBoxLayout( anOperGr, 0, 0 );
-
-  myOpList = new QListView( anOperGr );
-  myOpList->setSorting( -1 );
-  myOpList->addColumn( "Operations" );
-  myOpList->header()->hide();
-  aOperLay->addWidget( myOpList );
-  QStringList::ConstIterator it = myOpLst.end();
-  do // iterating from end to begin so to keep the order of items in the listview.     
-    new QCheckListItem ( myOpList, *(--it), QCheckListItem::CheckBox );
-  while ( it != myOpLst.begin() );
-
-  QGroupBox* aParamsGr = new QGroupBox( tr("GEOM_PARAMETERS"), aMidFrame );
-  aMidLay->addWidget( anOperGr, 0, 0 );
-  aMidLay->addMultiCellWidget( aParamsGr, 0, 0, 1, 3 );
-  aMidLay->setColStretch( 0, 1 );
-  aMidLay->setColStretch( 1, 2 );
-
-  Layout1->addWidget( aMidFrame, 2, 0 );
-  Layout1->setRowStretch( 0, 0 );
-  Layout1->setRowStretch( 1, 1 );
-
-  // add a widget stack to the parameters group box
-  myStack = new QWidgetStack( aParamsGr );
-  QVBoxLayout* aVParamsLay = new QVBoxLayout( aParamsGr );
-  aVParamsLay->addWidget( myStack );
-
-  // continueties values..
-  QStringList aContinueties = QStringList::split( ",", "C0,G1,C1,G2,C2,C3,CN" );
-
-  // FixShape
-  QFrame* aFrame = new QFrame( myStack );
-  QGridLayout* aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  myFixShapeTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myFixShapeTol3D->setPrecision( 10 );
-  myFixShapeMaxTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myFixShapeMaxTol3D->setPrecision( 10 );
-
-  aLay->addWidget( new QLabel( tr("GEOM_3D_TOLERANCE"), aFrame ), 0, 0 );
-  aLay->addWidget( myFixShapeTol3D, 0, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_MAX_3D_TOLERANCE"), aFrame ), 1, 0 );
-  aLay->addWidget( myFixShapeMaxTol3D, 1, 1 );
-  aLay->setRowStretch( 9, 2 );
-
-  myStack->addWidget( aFrame, myOpLst.findIndex( "FixShape" ) );
-
-  // FixFaceSize  
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  myFixFaceSizeTol = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myFixFaceSizeTol->setPrecision( 10 );
-
-  aLay->addWidget( new QLabel( tr("GEOM_TOLERANCE"), aFrame ), 0, 0 );
-  aLay->addWidget( myFixFaceSizeTol, 0, 1 );
-  aLay->setRowStretch( 9, 2 );
-
-  myStack->addWidget( aFrame, myOpLst.findIndex( "FixFaceSize" ) );
-
-  // DropSmallEdges
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  myDropSmallEdgesTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myDropSmallEdgesTol3D->setPrecision( 10 );
-  
-  aLay->addWidget( new QLabel( tr("GEOM_3D_TOLERANCE"), aFrame ), 0, 0 );
-  aLay->addWidget( myDropSmallEdgesTol3D, 0, 1 );
-  aLay->setRowStretch( 9, 2 );
-
-  myStack->addWidget( aFrame, myOpLst.findIndex( "DropSmallEdges" ) );
-
-  // SplitAngle
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  mySplitAngleAngle = new QtxDblSpinBox( 0, 360, 1, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 360, 1 );
-  mySplitAngleMaxTol = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  mySplitAngleMaxTol->setPrecision( 10 );
-
-  aLay->addWidget( new QLabel( tr("GEOM_ANGLE_1"), aFrame ), 0, 0 );
-  aLay->addWidget( mySplitAngleAngle, 0, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_MAX_TOLERANCE"), aFrame ), 1, 0 );
-  aLay->addWidget( mySplitAngleMaxTol, 1, 1 );
-  aLay->setRowStretch( 9, 2 );
-
-  myStack->addWidget( aFrame, myOpLst.findIndex( "SplitAngle" ) );
-
-  // SplitClosedFaces
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  mySplitClosedFacesNum = new QSpinBox( aFrame );
-  
-  aLay->addWidget( new QLabel( tr("GEOM_NUM_SPLIT_POINTS"), aFrame ), 0, 0 );
-  aLay->addWidget( mySplitClosedFacesNum, 0, 1 );
-  aLay->setRowStretch( 9, 2 );
-
-  myStack->addWidget( aFrame, myOpLst.findIndex( "SplitClosedFaces" ) );
-
-  // SplitContinuity
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  mySplitContTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  mySplitContTol3D->setPrecision( 10 );
-  mySplitContSurfCont = new QComboBox( aFrame );
-  mySplitContSurfCont->insertStringList( aContinueties );
-  mySplitContCurvCont = new QComboBox( aFrame );
-  mySplitContCurvCont->insertStringList( aContinueties );
-
-  aLay->addWidget( new QLabel( tr("GEOM_3D_TOLERANCE"), aFrame ), 0, 0 );
-  aLay->addWidget( mySplitContTol3D, 0, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_SURFACE_CONTINUTY"), aFrame ), 1, 0 );
-  aLay->addWidget( mySplitContSurfCont, 1, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_CURVE_CONTINUTY"), aFrame ), 2, 0 );
-  aLay->addWidget( mySplitContCurvCont, 2, 1 );
-  aLay->setRowStretch( 9, 2 );
-  
-  myStack->addWidget( aFrame, myOpLst.findIndex( "SplitContinuity" ) );
-
-  // BSplineRestriction
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  myBSplineSurfModeChk = new QCheckBox( tr("GEOM_SURFACE_MODE"), aFrame );
-  myBSpline3DCurveChk = new QCheckBox( tr("GEOM_3D_CURVE_MODE"), aFrame );
-  myBSpline2DCurveChk = new QCheckBox( tr("GEOM_2D_CURVE_MODE"), aFrame );
-
-  myBSplineTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myBSplineTol3D->setPrecision( 10 );
-
-  myBSplineTol2D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myBSplineTol2D->setPrecision( 10 );
-
-  myBSplineDegree = new QSpinBox( aFrame );
-  myBSplineSegments = new QSpinBox( aFrame );
-  myBSpline2DCont = new QComboBox( aFrame );
-  myBSpline2DCont->insertStringList( aContinueties );
-  myBSpline3DCont = new QComboBox( aFrame );
-  myBSpline3DCont->insertStringList( aContinueties );
-
-  myBSplineSurfModeChk->setChecked( true );
-  myBSpline3DCurveChk->setChecked( true );
-  myBSpline2DCurveChk->setChecked( true );
-
-  aLay->addWidget( myBSplineSurfModeChk, 0, 0 );
-  aLay->addWidget( myBSpline3DCurveChk, 1, 0 );
-  aLay->addWidget( myBSpline2DCurveChk, 2, 0 );
-  aLay->addWidget( new QLabel( tr("GEOM_3D_TOLERANCE"), aFrame), 3, 0 );
-  aLay->addWidget( myBSplineTol3D, 3, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_2D_TOLERANCE"), aFrame), 4, 0 );
-  aLay->addWidget( myBSplineTol2D, 4, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_REQUIRED_DEGREE"), aFrame), 5, 0 );
-  aLay->addWidget( myBSplineDegree, 5, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_REQUIRED_NUM_SEGMENTS"), aFrame), 6, 0 );
-  aLay->addWidget( myBSplineSegments, 6, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_3D_CONTINUTY"), aFrame), 7, 0 );
-  aLay->addWidget( myBSpline3DCont, 7, 1 );
-  aLay->addWidget( new QLabel( tr("GEOM_2D_CONTINUTY"), aFrame), 8, 0 );
-  aLay->addWidget( myBSpline2DCont, 8, 1 );
-  aLay->setRowStretch( 9, 2 );
-  
-  myStack->addWidget( aFrame, myOpLst.findIndex( "BSplineRestriction" ) );
-
-  // ToBezier
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  myToBezierSurfModeChk = new QCheckBox( tr("GEOM_SURFACE_MODE"), aFrame );
-  myToBezier3DCurveChk = new QCheckBox( tr("GEOM_3D_CURVE_MODE"), aFrame );
-  myToBezier2DCurveChk = new QCheckBox( tr("GEOM_2D_CURVE_MODE"), aFrame );
-  
-  myToBezierMaxTol = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  myToBezierMaxTol->setPrecision( 10 );
-
-  aLay->addWidget( myToBezierSurfModeChk, 0, 0 );
-  aLay->addWidget( myToBezier3DCurveChk, 1, 0 );
-  aLay->addWidget( myToBezier2DCurveChk, 2, 0 );
-  aLay->addWidget( new QLabel( tr("GEOM_MAX_TOLERANCE"), aFrame), 3, 0 );
-  aLay->addWidget( myToBezierMaxTol, 3, 1 );
-  aLay->setRowStretch( 9, 2 );
-  
-  myStack->addWidget( aFrame, myOpLst.findIndex( "ToBezier" ) );
-
-  // SameParameter
-  aFrame = new QFrame( myStack );
-  aLay = new QGridLayout( aFrame, 10, 2, 0, 5 );
-
-  mySameParameterTol3D = new QtxDblSpinBox( 0, 100, 1e-7, aFrame );//QAD_SpinBoxDbl( aFrame, 0, 100, 1e-7, 10, 1e-10 );
-  mySameParameterTol3D->setPrecision( 10 );
-
-  aLay->addWidget( new QLabel( tr("GEOM_3D_TOLERANCE"), aFrame ), 0, 0 );
-  aLay->addWidget( mySameParameterTol3D, 0, 1 );
-  aLay->setRowStretch( 9, 2 );
-  
-  myStack->addWidget( aFrame, myOpLst.findIndex( "SameParameter" ) );
-
-  // signals and slots connections
-  connect( myGeomGUI,    SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(deactivate()) );
-  connect( myGeomGUI,    SIGNAL(SignalCloseAllDialogs()), this, SLOT(onCancel()) );
-
-  connect( buttonCancel, SIGNAL(clicked()), this, SLOT(onCancel()) );
-  connect( buttonOk,     SIGNAL(clicked()), this, SLOT(onOk()) );
-  connect( buttonApply,  SIGNAL(clicked()), this, SLOT(onApply()) );
-
-  connect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),  
-          SIGNAL(currentSelectionChanged()), this, SLOT(selectionChanged()) );
-  connect( myOpList,     SIGNAL(selectionChanged()), this, SLOT(operationChanged()) );
-
-  connect( mySelectWdgt->PushButton1, SIGNAL(clicked()), this, SLOT(selectClicked()) );
-  connect( mySelectWdgt->LineEdit1,   SIGNAL(returnPressed()), this, SLOT(lineEditReturnPressed()) );
-
-  connect( myToBezierSurfModeChk,     SIGNAL(toggled(bool)), SLOT(advOptionToggled(bool)) );
-
-  adjustSize();
-  loadDefaults(); // init dialog fields with values from resource file
-  myOpList->setSelected( myOpList->findItem( "FixShape", 0 ), true );
-  reset();
-
-  initName( tr( "PROCESS_SHAPE_NEW_OBJ_NAME" ) );
-}
-
-//=================================================================================
-// function : operationChanged()
-// purpose  : 
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::operationChanged()
-{
-  QListViewItem* anItem = myOpList->selectedItem();
-  if ( anItem )
-  {
-    int id = myOpLst.findIndex( anItem->text(0) );
-    if ( id > -1 )
-      myStack->raiseWidget( id );
-  }
-}
-
-//=================================================================================
-// function : onOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::onOk()
-{
-  if ( onApply() )
-       onCancel();
-}
-
-
-
-//=================================================================================
-// function : onApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_ShapeProcessDlg::onApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  reset();
-  initSelection();
-  
-  return true;
-}
-
-
-//=================================================================================
-// function : onCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::onCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : selectionChanged()
-// purpose  : Called when selection as changed or other case
-//          : used only by SelectButtonC1A1 (LineEditC1A1)
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::selectionChanged()
-{
-       reset();
-       
-  Standard_Boolean aRes = Standard_False;
-  int i = 0;
-  myObjects->length( IObjectCount() );
-  for ( SALOME_ListIteratorOfListIO anIt( selectedIO() ); anIt.More(); anIt.Next() )
-  {
-    GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( anIt.Value(), aRes );
-    if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-       myObjects[i++] = aSelectedObject;
-  }
-  myObjects->length( i );
-  if ( i == 1 )
-    mySelectWdgt->LineEdit1->setText( GEOMBase::GetName( myObjects[0] ) );
-  else if ( i > 0 )
-    mySelectWdgt->LineEdit1->setText( QString::number( i ) + "_" + tr( "GEOM_OBJECTS" ) );
-}
-
-
-//=================================================================================
-// function : selectClicked()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::selectClicked()
-{
-  myEditCurrentArgument = mySelectWdgt->LineEdit1;
-  mySelectWdgt->LineEdit1->setFocus();
-  selectionChanged();
-}
-
-
-//=================================================================================
-// function : lineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::lineEditReturnPressed()
-{
-  GEOMBase_Skeleton::LineEditReturnPressed();
-}
-
-
-//=================================================================================
-// function : deactivate()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::deactivate()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : activate()
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::activate()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(selectionChanged()));
-       
-  reset();
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    activate();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  : same than click on cancel button
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : reset()
-// purpose  : Completely reset the state of method including local context
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::reset()
-{
-  myObjects = new GEOM::ListOfGO();
-  myObjects->length( 0 );      
-  mySelectWdgt->LineEdit1->setText("");
-}
-
-
-//=================================================================================
-// function : get_convert
-// purpose  : conversion of angle values to radians (non-angle values are not converted)
-//=================================================================================
-const char* get_convert( const char* theParam, const char* theValue )
-{
-  if ( !strcmp( theParam, "SplitAngle.Angle" ) )
-  {
-    double doubleValue = atof( theValue ) * PI / 180;
-    TCollection_AsciiString str( doubleValue );
-    return CORBA::string_dup( str.ToCString() );
-  }
-  return CORBA::string_dup( theValue );
-}
-
-//=================================================================================
-// function : set_convert
-// purpose  : conversion of angle values to degrees (non-angle values are not converted)
-//=================================================================================
-const char* set_convert( const char* theParam, const char* theValue )
-{
-  if ( !strcmp( theParam, "SplitAngle.Angle" ) )
-  {
-    double doubleValue = atof( theValue ) * 180 / PI;
-    TCollection_AsciiString str( doubleValue );
-    return CORBA::string_dup( str.ToCString() );
-  }
-  return CORBA::string_dup( theValue );
-}
-
-//=================================================================================
-// function : loadDefaults()
-// purpose  : initialize "values"-fields with default values retrieved from IHealingOperations
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::loadDefaults()
-{
-  GEOM::GEOM_IHealingOperations_var anOp = myGeomGUI->GetGeomGen()->GetIHealingOperations( getStudyId() );
-  GEOM::string_array_var anOperators, aParams, aValues;
-  anOp->GetShapeProcessParameters( anOperators, aParams, aValues );
-
-  // check the default items-operators
-  int i;
-  for ( i = 0; i < anOperators->length(); i++ )
-  {
-    //MESSAGE("-->"<<(const char*)anOperators[i]);
-    QListViewItem* anItem = myOpList->findItem( (const char*)anOperators[i], 0 );
-    if ( anItem /*&& anItem->inherits( "QCheckListItem" )*/ )
-      ((QCheckListItem*) anItem)->setOn( true );
-  }
-
-  // Retrieve default parameters for ALL operators
-  for ( QListViewItemIterator it(myOpList); it.current(); ++it ) {
-    CORBA::String_var anOperator = CORBA::string_dup( it.current()->text( 0 ).latin1() );
-    anOp->GetOperatorParameters( anOperator.in(), aParams, aValues );
-
-    // set default values of parameters
-    if ( aParams->length() != aValues->length() )
-      continue;
-    for ( i = 0; i < aParams->length(); i++ ) {
-      QWidget* aCtrl = getControl( (const char*)aParams[i] );
-      const char* aValue = set_convert( (const char*)aParams[i], aValues[i] );
-      setValue( aCtrl, aValue );
-    }
-  }
-}
-
-//=================================================================================
-// function : setValue()
-// purpose  : set value in the proper way
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::setValue( QWidget* theControl, const char* theValue )
-{
-  if ( theControl == NULL || theValue == NULL )
-    return;
-
-  if ( theControl->isA( "QtxDblSpinBox" ) )
-    ((QtxDblSpinBox*)theControl)->setValue( QString( theValue ).toDouble() );
-  else if ( theControl->isA( "QSpinBox" ) )
-    ((QSpinBox*)theControl)->setValue( QString( theValue ).toInt() );
-  else if ( theControl->isA( "QComboBox" ) )
-    ((QComboBox*)theControl)->setCurrentText( QString( theValue ) );
-  else if ( theControl->isA( "QCheckBox" ) )
-    ((QCheckBox*)theControl)->setChecked( QString( theValue ).toInt() != 0 );
-}
-
-//=================================================================================
-// function : getValue()
-// purpose  : get value in the proper way
-//=================================================================================
-const char* RepairGUI_ShapeProcessDlg::getValue( QWidget* theControl ) const
-{
-  if ( theControl == NULL )
-    return "";
-
-  if ( theControl->isA( "QtxDblSpinBox" ) )
-    return ((QtxDblSpinBox*)theControl)->text().latin1();
-  else if ( theControl->isA( "QSpinBox" ) )
-    return ((QSpinBox*)theControl)->text().latin1();
-  else if ( theControl->isA( "QComboBox" ) )
-    return ((QComboBox*)theControl)->currentText().latin1();
-  else if ( theControl->isA( "QCheckBox" ) )
-    return ((QCheckBox*)theControl)->isChecked() ? "1" : "0";
-  
-  return "";
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_ShapeProcessDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_ShapeProcessDlg::isValid( QString& msg )
-{
-  bool error = false;
-  GEOM::string_array_var anOperators = getActiveOperators();
-  if ( !myObjects->length() )
-  {
-    msg += tr( "ERROR_NO_OBJECTS" );
-    error = true;
-  }
-  if ( !anOperators->length() )
-  {
-    if ( error ) 
-      msg += "\n";
-    msg += tr( "ERROR_NO_OPERATORS" );
-    error = true;
-  }
-  return !error;
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_ShapeProcessDlg::execute( ObjectList& objects )
-{
-  GEOM::string_array_var anOperators = getActiveOperators();
-  GEOM::string_array_var aParams = getParameters( anOperators );
-  GEOM::string_array_var aValues = getValues( aParams );
-
-  /*//-- check --
-  int z;
-       MESSAGE("Objects : ");
-       for ( z = 0; z < myObjects->length(); z++ )
-               MESSAGE(myObjects[z]->GetName() << " ");
-       MESSAGE("\nOperators : ");
-       for ( z = 0; z < anOperators->length(); z++ )
-               MESSAGE(anOperators[z] << " ");
-       MESSAGE("\nParameters : ");
-       for ( z = 0; z < aParams->length(); z++ )
-               MESSAGE(aParams[z] << " ");
-       MESSAGE("\nValues : ");
-       for ( z = 0; z < aValues->length(); z ++ )
-               MESSAGE(aValues[z] << " ");
-       MESSAGE("\n");
-  */// -----------
-
-  QStringList anErrorObjNames;
-  for ( int i = 0; i < myObjects->length(); i++ )
-  {
-    GEOM::GEOM_Object_var obj = myObjects[i];
-    GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->ProcessShape(
-       obj, anOperators, aParams, aValues );
-    if ( anObj->_is_nil() )
-      anErrorObjNames << GEOMBase::GetName( obj );
-    else
-      objects.push_back( anObj._retn() );
-  }
-
-  if ( !anErrorObjNames.empty() )
-    MESSAGE("ERRORS occured while processing the following objects: " << anErrorObjNames.join( " " ));
-    
-  return anErrorObjNames.size() < myObjects->length(); // true if at least one object was OK, false if ALL objects were nil after Healing.
-}
-
-//=================================================================================
-// function : getActiveOperators
-// purpose  :
-//=================================================================================
-GEOM::string_array* RepairGUI_ShapeProcessDlg::getActiveOperators()
-{
-  GEOM::string_array_var anOperators = new GEOM::string_array();
-    QStringList aCheckedList;
-  QStringList::Iterator it;
-  for ( it = myOpLst.begin(); it != myOpLst.end(); ++it )
-    if ( ((QCheckListItem*)myOpList->findItem( *it, 0 ))->isOn() )
-      aCheckedList << *it;
-  anOperators->length( aCheckedList.size() );
-  int i = 0;
-  for ( it = aCheckedList.begin(); it != aCheckedList.end(); ++it )
-    anOperators[i++] = CORBA::string_dup( (*it).latin1() );            
-                
-  return anOperators._retn();
-}
-
-//=================================================================================
-// function : getcontrol
-// purpose  :
-//=================================================================================
-QWidget* RepairGUI_ShapeProcessDlg::getControl( const char* theParam )
-{
-       string aParam = theParam;
-  if ( aParam == "SplitAngle.Angle" )                          return mySplitAngleAngle;
-  else if ( aParam == "SplitAngle.MaxTolerance" )              return mySplitAngleMaxTol;
-  else if ( aParam == "SplitClosedFaces.NbSplitPoints" )       return mySplitClosedFacesNum;
-  else if ( aParam == "FixFaceSize.Tolerance" )                        return myFixFaceSizeTol;
-  else if ( aParam == "DropSmallEdges.Tolerance3d" )           return myDropSmallEdgesTol3D;
-  else if ( aParam == "BSplineRestriction.SurfaceMode" )       return myBSplineSurfModeChk;
-  else if ( aParam == "BSplineRestriction.Curve3dMode" )       return myBSpline3DCurveChk;
-  else if ( aParam == "BSplineRestriction.Curve2dMode" )       return myBSpline2DCurveChk;
-  else if ( aParam == "BSplineRestriction.Tolerance3d" )       return myBSplineTol3D;
-  else if ( aParam == "BSplineRestriction.Tolerance2d" )       return myBSplineTol2D;
-  else if ( aParam == "BSplineRestriction.RequiredDegree" )    return myBSplineDegree;
-  else if ( aParam == "BSplineRestriction.RequiredNbSegments" )        return myBSplineSegments;
-  else if ( aParam == "BSplineRestriction.Continuity3d" )      return myBSpline3DCont;
-  else if ( aParam == "BSplineRestriction.Continuity2d" )      return myBSpline2DCont;
-  else if ( aParam == "SplitContinuity.Tolerance3d" )          return mySplitContTol3D;
-  else if ( aParam == "SplitContinuity.SurfaceContinuity" )    return mySplitContSurfCont;
-  else if ( aParam == "SplitContinuity.CurveContinuity" )      return mySplitContCurvCont;
-  else if ( aParam == "ToBezier.SurfaceMode" )                 return myToBezierSurfModeChk;
-  else if ( aParam == "ToBezier.Curve3dMode" )                 return myToBezier3DCurveChk;
-  else if ( aParam == "ToBezier.Curve2dMode" )                 return myToBezier2DCurveChk;
-  else if ( aParam == "ToBezier.MaxTolerance" )                        return myToBezierMaxTol;
-  else if ( aParam == "SameParameter.Tolerance3d" )            return mySameParameterTol3D;
-  else if ( aParam == "FixShape.Tolerance3d" )                 return myFixShapeTol3D;
-  else if ( aParam == "FixShape.MaxTolerance3d" )              return myFixShapeMaxTol3D;
-  return NULL;
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::initParamsValues()
-{
-  myOpLst << "FixShape";
-  myValMap["FixShape"] << "FixShape.Tolerance3d";
-  myValMap["FixShape"] << "FixShape.MaxTolerance3d";
-
-  myOpLst << "FixFaceSize";
-  myValMap["FixFaceSize"] << "FixFaceSize.Tolerance";
-
-  myOpLst << "DropSmallEdges";
-  myValMap["DropSmallEdges"] << "DropSmallEdges.Tolerance3d";
-
-  myOpLst << "SplitAngle";
-  myValMap["SplitAngle"] << "SplitAngle.Angle";
-  myValMap["SplitAngle"] << "SplitAngle.MaxTolerance";
-
-  myOpLst << "SplitClosedFaces";
-  myValMap["SplitClosedFaces"] << "SplitClosedFaces.NbSplitPoints";
-
-  myOpLst << "SplitContinuity";
-  myValMap["SplitContinuity"] << "SplitContinuity.Tolerance3d";
-  myValMap["SplitContinuity"] << "SplitContinuity.SurfaceContinuity";
-  myValMap["SplitContinuity"] << "SplitContinuity.CurveContinuity";
-
-  myOpLst << "BSplineRestriction";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.SurfaceMode";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Curve3dMode";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Curve2dMode";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Tolerance3d";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Tolerance2d";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.RequiredDegree";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.RequiredNbSegments";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Continuity3d";
-  myValMap["BSplineRestriction"] << "BSplineRestriction.Continuity2d";
-
-  myOpLst << "ToBezier";
-  myValMap["ToBezier"] << "ToBezier.SurfaceMode";
-  myValMap["ToBezier"] << "ToBezier.Curve3dMode";
-  myValMap["ToBezier"] << "ToBezier.Curve2dMode";
-  myValMap["ToBezier"] << "ToBezier.MaxTolerance";
-
-  myOpLst << "SameParameter";
-  myValMap["SameParameter"] << "SameParameter.Tolerance3d";
-}
-
-//=================================================================================
-// function : getParameters
-// purpose  :
-//=================================================================================
-GEOM::string_array* RepairGUI_ShapeProcessDlg::getParameters( const GEOM::string_array& theOperators )
-{
-       GEOM::string_array_var aParams = new GEOM::string_array();
-       int i( 0 ), j( 0 );
-
-       // calculate the length of parameters
-       for ( i = 0, j = 0; i < theOperators.length(); i++ )
-         j+= myValMap[QString((const char*)theOperators[i])].size();
-
-       // set the new length of paremeters
-       aParams->length( j );
-
-       // fill the parameters
-       for ( i = 0, j = 0; i < theOperators.length(); i++ )
-       {
-               QStringList aValLst = myValMap[QString( (const char*)theOperators[i] )];
-               for ( QStringList::Iterator it = aValLst.begin(); it != aValLst.end(); ++it )
-       aParams[j++] = CORBA::string_dup( (*it).latin1() );
-       }
-
-       return aParams._retn();
-}
-
-
-//=================================================================================
-// function : getValues
-// purpose  :
-//=================================================================================
-GEOM::string_array* RepairGUI_ShapeProcessDlg::getValues( const GEOM::string_array& theParams )
-{
-  GEOM::string_array_var aValues = new GEOM::string_array();
-  aValues->length( theParams.length() );
-    
-  for ( int i = 0; i < theParams.length(); i++ )
-  {
-    QWidget* aCtrl = getControl( (const char*)theParams[i] );
-    if ( aCtrl )
-      aValues[i] = get_convert( (const char*)theParams[i], getValue( aCtrl ) );
-  }
-    
-  return aValues._retn();
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  : set selection of ALL shape types except vertexes
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::initSelection()
-{
-  TColStd_MapOfInteger aTypes;
-  aTypes.Add( GEOM_COMPOUND );
-  aTypes.Add( GEOM_SOLID );
-  aTypes.Add( GEOM_SHELL );
-  aTypes.Add( GEOM_FACE );
-  aTypes.Add( GEOM_WIRE );
-  aTypes.Add( GEOM_EDGE );
-  globalSelection( aTypes );
-}
-
-//=================================================================================
-// function : advOptionToggled
-// purpose  : this slot is used to warn the user about possible consequences
-//            of enabling some advanced options
-//=================================================================================
-void RepairGUI_ShapeProcessDlg::advOptionToggled( bool on )
-{
-  QButton* btn = (QButton*)sender();
-  if ( on && btn->isToggleButton() &&
-       QMessageBox::warning( SUIT_Session::session()->activeApplication()->desktop(), tr( "GEOM_WRN_WARNING" ), tr( "TIME_CONSUMING" ), QMessageBox::Yes, QMessageBox::No ) == QMessageBox::No )
-    btn->toggle();
-}
diff --git a/src/RepairGUI/RepairGUI_ShapeProcessDlg.h b/src/RepairGUI/RepairGUI_ShapeProcessDlg.h
deleted file mode 100755 (executable)
index 656ab7a..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_ShapeProcessDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_ShapeProcess_H
-#define DIALOGBOX_ShapeProcess_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-#include "RepairGUI.h"
-#include "QtxDblSpinBox.h"
-
-#include <qspinbox.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
-#include <qlistview.h>
-#include <qwidgetstack.h>
-#include <qvaluelist.h>
-#include <qdict.h>
-#include <qmap.h>
-
-//=================================================================================
-// class    : RepairGUI_ShapeProcessDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_ShapeProcessDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    RepairGUI_ShapeProcessDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_ShapeProcessDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );        
-
-private :
-    void             init();
-    void             reset();
-    void             loadDefaults(); // initialize all controls with default values (from resource file)
-               GEOM::string_array* getActiveOperators();
-               GEOM::string_array* getParameters( const GEOM::string_array& theOperators );
-               GEOM::string_array* getValues( const GEOM::string_array& theParameters );
-               
-    void             enterEvent(QEvent* e);
-
-    QWidget*         getControl( const char* );
-    void             setValue( QWidget*, const char* ); // initialize the given control in the proper way
-                                                        // (analize its class and convert the value string)
-    const char*      getValue( QWidget* theControl ) const; // retrieve value of the control in the proper way
-
-    QStringList      myOpLst;                                    // list of available Shape Healing Operators
-    QMap<QString,QStringList> myValMap; // map of parameters of operators
-    //QDict<QString,QWidget*> myCtrlMap;  // map of controls (values) of parameters
-    void             initParamsValues(); // initialize the data structures
-    void             initSelection();
-
-    GEOM::ListOfGO_var myObjects;  // selected objects
-
-    DlgRef_1Sel_QTD* mySelectWdgt;
-    QListView*       myOpList;
-    QWidgetStack*    myStack;
-
-    QtxDblSpinBox*  myFixShapeTol3D;
-    QtxDblSpinBox*  myFixShapeMaxTol3D;
-    
-    QtxDblSpinBox*  myFixFaceSizeTol;
-
-    QtxDblSpinBox*  myDropSmallEdgesTol3D;
-
-    QtxDblSpinBox*  mySplitAngleAngle;
-    QtxDblSpinBox*  mySplitAngleMaxTol;
-
-    QSpinBox*        mySplitClosedFacesNum;
-
-    QtxDblSpinBox*  mySplitContTol3D;
-    QComboBox*       mySplitContSurfCont;
-    QComboBox*       mySplitContCurvCont;
-
-    QCheckBox*       myBSplineSurfModeChk;
-    QCheckBox*       myBSpline3DCurveChk;
-    QCheckBox*       myBSpline2DCurveChk;
-    QtxDblSpinBox*  myBSplineTol3D;
-    QtxDblSpinBox*  myBSplineTol2D;
-    QSpinBox*        myBSplineDegree;
-    QSpinBox*        myBSplineSegments;
-    QComboBox*       myBSpline2DCont;
-    QComboBox*       myBSpline3DCont;
-
-    QCheckBox*       myToBezierSurfModeChk;
-    QCheckBox*       myToBezier3DCurveChk;
-    QCheckBox*       myToBezier2DCurveChk;
-    QtxDblSpinBox*  myToBezierMaxTol;
-
-    QtxDblSpinBox*  mySameParameterTol3D;
-    
-private slots:
-    void             onOk();
-    bool             onApply();
-    void             onCancel();
-    
-    void             activate();
-    void             deactivate();
-
-    void             lineEditReturnPressed();
-    void             selectionChanged();
-    void             selectClicked();
-    void             operationChanged();
-    void             advOptionToggled(bool);
-};             
-
-#endif // DIALOGBOX_ShapeProcess_H
diff --git a/src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx b/src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx
deleted file mode 100644 (file)
index ee38297..0000000
+++ /dev/null
@@ -1,349 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_SuppressFacesDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "RepairGUI_SuppressFacesDlg.h"
-
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-#include "SUIT_Session.h"
-#include "SALOME_ListIteratorOfListIO.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include <TopAbs.hxx>
-
-#include <qlabel.h>
-
-using namespace std;
-
-//=================================================================================
-// class    : RepairGUI_SuppressFacesDlg()
-// purpose  : Constructs a RepairGUI_SuppressFacesDlg  which is a child of 'parent', with the
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-RepairGUI_SuppressFacesDlg::RepairGUI_SuppressFacesDlg(QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SUPRESS_FACE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-    
-  setCaption(tr("GEOM_SUPRESSFACE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SUPRESSFACE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_1Sel_QTD(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("Faces to remove"));
-  GroupPoints->TextLabel1->setText(tr("Faces"));
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->LineEdit1->setReadOnly( true );
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~RepairGUI_SuppressFacesDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-RepairGUI_SuppressFacesDlg::~RepairGUI_SuppressFacesDlg()
-{
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-
-  myObjects = new GEOM::ListOfGO();
-  myObjects->length( 0 );
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-         
-  /* signals and slots connections */
-  connect(buttonCancel, SIGNAL(clicked()), this, SLOT(ClickOnCancel()));
-  connect(myGeomGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
-  connect(myGeomGUI, SIGNAL(SignalCloseAllDialogs()), this, SLOT(ClickOnCancel()));
-
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "SUPRESS_FACE_NEW_OBJ_NAME" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  : Same than click on apply but close this dialog.
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool RepairGUI_SuppressFacesDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-
-  initName();
-
-  myEditCurrentArgument->setText("");
-  myObjects->length( 0 );
-  myFaces.clear();
-
-  initSelection();
-  
-  return true;
-}
-
-
-//=================================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//          : used only by SelectButtonC1A1 (LineEditC1A1)
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-
-  Standard_Boolean aRes = Standard_False;
-  int i = 0;
-  int numFaces = 0;
-  myObjects->length( IObjectCount() );
-  myFaces.clear();
-  for ( SALOME_ListIteratorOfListIO anIt( selectedIO() ); anIt.More(); anIt.Next() )
-  {
-    Handle(SALOME_InteractiveObject) anIO = anIt.Value();
-    GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject( anIO, aRes );
-    if ( !CORBA::is_nil( aSelectedObject ) && aRes )
-    {
-      TopoDS_Shape aShape;
-      if ( myGeomBase->GetShape( aSelectedObject, aShape, TopAbs_SHAPE ) )
-      {
-       if ( aShape.ShapeType() <= TopAbs_FACE ) // FACE, SHELL, SOLID, COMPOUND
-       {
-         GEOM::short_array anIndexes;
-
-         TColStd_IndexedMapOfInteger aMap;
-         ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( anIO, aMap );
-         
-         if ( !aMap.IsEmpty() )
-         {
-           Convert( aMap, anIndexes );
-           myObjects[i++] = aSelectedObject; // append the object
-           myFaces.append( anIndexes );   // append faces' indexes
-           numFaces += anIndexes.length();// just for text field output
-         }
-       }
-      }
-    }
-  }
-  myObjects->length( i ); // this is the right length, smaller of equal to the previously set
-  if ( numFaces )
-    myEditCurrentArgument->setText( QString::number( numFaces ) + "_" + tr( "GEOM_FACE" ) + tr( "_S_" ) );
-}
-
-//=================================================================================
-// function : Convert()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::Convert( const TColStd_IndexedMapOfInteger& theMap, GEOM::short_array& theOutSeq )
-{
-  const int n = theMap.Extent();
-  theOutSeq.length( n );
-  for ( int i = 0; i < n; i++ )
-    theOutSeq[i] = theMap( i+1 );
-}
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::SetEditCurrentArgument()
-{
-  if( sender() == GroupPoints->PushButton1 )
-  {
-    GroupPoints->LineEdit1->setFocus();
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-  }
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::LineEditReturnPressed()
-{
-  if( sender() == GroupPoints->LineEdit1 )
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::DeactivateActiveDialog()
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  //myGeomGUI->SetState( 0 );
-  initSelection();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : Mouse enter onto the dialog to activate it
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::enterEvent(QEvent* e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : closeEvent()
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::closeEvent(QCloseEvent* e)
-{
-  //myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr RepairGUI_SuppressFacesDlg::createOperation()
-{
-  return getGeomEngine()->GetIHealingOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool RepairGUI_SuppressFacesDlg::isValid( QString& msg )
-{
-  const int objL = myObjects->length(), facesL = myFaces.size();
-  return ( objL && objL == facesL );
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool RepairGUI_SuppressFacesDlg::execute( ObjectList& objects )
-{
-  QStringList anErrorObjNames;
-  for ( int i = 0; i < myObjects->length(); i++ )
-  {
-    GEOM::GEOM_Object_var obj = myObjects[i];
-    GEOM::short_array faces = myFaces[i];
-    //MESSAGE(">>>> Dlg, passing faces.. len = " << faces.length());
-    GEOM::GEOM_Object_var anObj = GEOM::GEOM_IHealingOperations::_narrow( getOperation() )->SuppressFaces( obj, faces );
-    if ( anObj->_is_nil() )
-      anErrorObjNames << GEOMBase::GetName( obj );
-    else
-      objects.push_back( anObj._retn() );
-  }
-
-  if ( !anErrorObjNames.empty() )
-    MESSAGE("ERRORS occured while processing the following objects: " << anErrorObjNames.join( " " ));
-
-  return anErrorObjNames.size() < myObjects->length(); // true if at least one object was OK, false if ALL objects were nil after Healing.
-}
-
-//=================================================================================
-// function : initSelection
-// purpose  :
-//=================================================================================
-void RepairGUI_SuppressFacesDlg::initSelection()
-{
-  GEOM::GEOM_Object_var aNullGeomObject;
-  localSelection( aNullGeomObject, TopAbs_FACE ); // load local selection on ALL objects
-}
diff --git a/src/RepairGUI/RepairGUI_SuppressFacesDlg.h b/src/RepairGUI/RepairGUI_SuppressFacesDlg.h
deleted file mode 100644 (file)
index e725f0e..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : RepairGUI_SuppressFacesDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_SUPPRESSFACES_H
-#define DIALOGBOX_SUPPRESSFACES_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel_QTD.h"
-
-#include <TColStd_IndexedMapOfInteger.hxx>
-
-//=================================================================================
-// class    : RepairGUI_SuppressFacesDlg
-// purpose  :
-//=================================================================================
-class RepairGUI_SuppressFacesDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    RepairGUI_SuppressFacesDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~RepairGUI_SuppressFacesDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );    
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    void closeEvent(QCloseEvent* e);
-
-               GEOM::ListOfGO_var myObjects;
-               QValueList<GEOM::short_array> myFaces;
-               // GEOM::short_array-s contain indexes of selected faces,
-               // index of a GEOM::short_array in myFaces list equals to index of
-               // GEOM::GEOM_Object in myObjects list to which the faces belong to.
-               
-               void Convert( const TColStd_IndexedMapOfInteger&, GEOM::short_array& );
-
-               void initSelection();
-               
-    DlgRef_1Sel_QTD* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-};
-
-#endif // DIALOGBOX_SUPPRESSFACES_H
diff --git a/src/SKETCHER/Makefile.in b/src/SKETCHER/Makefile.in
deleted file mode 100644 (file)
index a330576..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#  GEOM SKETCHER : basic sketcher
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Patrick GOLDBRONN (CEA)
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libGEOMSketcher.la 
-LIB_SRC = Sketcher_Profile.cxx
-LIB_CLIENT_IDL = SALOME_Component.idl SALOMEDS.idl SALOME_Exception.idl SALOME_GenericObj.idl
-
-# header files 
-EXPORT_HEADERS= Sketcher_Profile.hxx
-
-# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += $(CAS_KERNEL) $(CAS_MODELER) -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
-
diff --git a/src/SKETCHER/Sketcher_Profile.cxx b/src/SKETCHER/Sketcher_Profile.cxx
deleted file mode 100644 (file)
index ad436a6..0000000
+++ /dev/null
@@ -1,407 +0,0 @@
-//  GEOM SKETCHER : basic sketcher
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-//  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.
-//
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
-//
-//
-//
-//  File   : Sketcher_Profile.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header:
-
-#include <Standard_Stream.hxx>
-
-#include <Sketcher_Profile.hxx>
-
-#include <TopoDS_Vertex.hxx>
-#include <TopoDS_Face.hxx>
-#include <BRepLib.hxx>
-#include <BRepBuilderAPI_MakeVertex.hxx>
-#include <BRepBuilderAPI_MakeEdge.hxx>
-#include <BRepBuilderAPI_MakeWire.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-#include <GeomAPI.hxx>
-#include <Geom2d_Line.hxx>
-#include <Geom2d_Circle.hxx>
-#include <Geom_Surface.hxx>
-
-#include <Precision.hxx>
-#include <gp_Pln.hxx>
-#include <gp_Ax2.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TColStd_Array1OfAsciiString.hxx>
-
-#include "utilities.h"
-
-//=======================================================================
-// profile
-// command to build a profile
-//=======================================================================
-Sketcher_Profile::Sketcher_Profile()
-{
-}
-
-
-//=======================================================================
-// profile
-// command to build a profile
-//=======================================================================
-Sketcher_Profile::Sketcher_Profile(const char* aCmd)
-{
-  enum {line, circle, point, none} move;
-
-  Standard_Integer i = 1;
-  Standard_Real x0, y0, x, y, dx, dy;
-  x0 = y0 = x = y = dy = 0;
-  dx = 1;
-
-  Standard_Boolean first, stayfirst, face, close;
-  first = Standard_True;
-  stayfirst = face = close = Standard_False;
-
-  TopoDS_Shape S;
-  TopoDS_Vertex MP;
-  BRepBuilderAPI_MakeWire MW;
-  gp_Ax3 DummyHP(gp::XOY());
-  gp_Pln P(DummyHP);
-  TopLoc_Location TheLocation;
-  Handle(Geom_Surface) Surface;
-
-  myOK = Standard_False;
-
-  //TCollection_AsciiString aCommand(CORBA::string_dup(aCmd));
-  TCollection_AsciiString aCommand ((char*)aCmd);
-  TCollection_AsciiString aToken = aCommand.Token(":", 1);
-  int n = 0;
-  // porting to WNT
-  TColStd_Array1OfAsciiString aTab (0, aCommand.Length() - 1);
-  if ( aCommand.Length() )
-  {
-    while(aToken.Length() != 0) {
-      if(aCommand.Token(":", n + 1).Length() > 0)
-        aTab(n) = aCommand.Token(":", n + 1);
-      aToken = aCommand.Token(":", ++n);
-    }
-    n = n - 1;
-  }
-  if ( aTab.Length() && aTab(0).Length() )
-    while(i < n) {
-      Standard_Real length = 0, radius = 0, angle = 0;
-      move = point;
-
-      int n1 = 0;
-      TColStd_Array1OfAsciiString a (0, aTab(0).Length());
-      aToken = aTab(i).Token(" ", 1);
-      while (aToken.Length() != 0) {
-        if (aTab(i).Token(" ", n1 + 1).Length() > 0)
-          a(n1) = aTab(i).Token(" ", n1 + 1);
-        aToken = aTab(i).Token(" ", ++n1);
-      }
-      n1 = n1 - 1;
-
-      switch(a(0).Value(1))
-      {
-      case 'F':
-        {
-          if (n1 != 3) goto badargs;
-          if (!first) {
-            MESSAGE("profile : The F instruction must precede all moves");
-            return;
-          }
-          x0 = x = a(1).RealValue();
-          y0 = y = a(2).RealValue();
-          stayfirst = Standard_True;
-          break;
-        }
-      case 'O':
-        {
-          if (n1 != 4) goto badargs;
-          P.SetLocation(gp_Pnt(a(1).RealValue(), a(2).RealValue(), a(3).RealValue()));
-          stayfirst = Standard_True;
-          break;
-        }
-      case 'P':
-        {
-          if (n1 != 7) goto badargs;
-          gp_Vec vn(a(1).RealValue(), a(2).RealValue(), a(3).RealValue());
-          gp_Vec vx(a(4).RealValue(), a(5).RealValue(), a(6).RealValue());
-          if (vn.Magnitude() <= Precision::Confusion() || vx.Magnitude() <= Precision::Confusion()) {
-            MESSAGE("profile : null direction");
-            return;
-          }
-          gp_Ax2 ax(P.Location(), vn, vx);
-          P.SetPosition(ax);
-          stayfirst = Standard_True;
-          break;
-        }
-      case 'X':
-        {
-          if (n1 != 2) goto badargs;
-          length = a(1).RealValue();
-          if (a(0) == "XX")
-            length -= x;
-          dx = 1; dy = 0;
-          move = line;
-          break;
-        }
-      case 'Y':
-        {
-          if (n1 != 2) goto badargs;
-          length = a(1).RealValue();
-          if (a(0) == "YY")
-            length -= y;
-          dx = 0; dy = 1;
-          move = line;
-          break;
-        }
-      case 'L':
-        {
-          if (n1 != 2) goto badargs;
-          length = a(1).RealValue();
-          if (Abs(length) > Precision::Confusion())
-            move = line;
-          else
-            move = none;
-          break;
-        }
-      case 'T':
-        {
-          if (n1 != 3) goto badargs;
-          Standard_Real vx = a(1).RealValue();
-          Standard_Real vy = a(2).RealValue();
-          if (a(0) == "TT") {
-            vx -= x;
-            vy -= y;
-          }
-          length = Sqrt(vx * vx + vy * vy);
-          if (length > Precision::Confusion()) {
-            move = line;
-            dx = vx / length;
-            dy = vy / length;
-          }
-          else
-            move = none;
-          break;
-        }
-      case 'R':
-        {
-          if (n1 != 2) goto badargs;
-          angle = a(1).RealValue() * PI180;
-          if (a(0) == "RR") {
-            dx = Cos(angle);
-            dy = Sin(angle);
-          }
-          else {
-            Standard_Real c = Cos(angle);
-            Standard_Real s = Sin(angle);
-            Standard_Real t = c * dx - s * dy;
-            dy = s * dx + c * dy;
-            dx = t;
-          }
-          break;
-        }
-      case 'D':
-        {
-          if (n1 != 3) goto badargs;
-          Standard_Real vx = a(1).RealValue();
-          Standard_Real vy = a(2).RealValue();
-          length = Sqrt(vx * vx + vy * vy);
-          if (length > Precision::Confusion()) {
-            dx = vx / length;
-            dy = vy / length;
-          }
-          else
-            move = none;
-          break;
-        }
-      case 'C':
-        {
-          if (n1 != 3) goto badargs;
-          radius = a(1).RealValue();
-          if (Abs(radius) > Precision::Confusion()) {
-            angle = a(2).RealValue() * PI180;
-            move = circle;
-          }
-          else
-            move = none;
-          break;
-        }
-      case 'I':
-        {
-          if (n1 != 2) goto badargs;
-          length = a(1).RealValue();
-          if (a(0) == "IX") {
-            if (Abs(dx) < Precision::Confusion()) {
-              MESSAGE("profile : cannot intersect, arg "<<i-1);
-              return;
-            }
-            length = (length - x) / dx;
-          }
-          else if (a(0) == "IY") {
-            if (Abs(dy) < Precision::Confusion()) {
-              MESSAGE("profile : cannot intersect, arg "<<i-1);
-              return;
-            }
-            length = (length - y) / dy;
-          }
-          if (Abs(length) > Precision::Confusion())
-            move = line;
-          else
-            move = none;
-          break;
-        }
-      case 'W':
-        {
-          if (a(0) == "WW")
-            close = Standard_True;
-          else if(a(0) == "WF") {
-            close = Standard_True;
-            face = Standard_True;
-          }
-          i = n - 1;
-          break;
-        }
-      default:
-        {
-          MESSAGE("profile : unknown code " << a(i));
-          return;
-        }
-    }
-
-again :
-    switch (move)
-    {
-    case line :
-      {
-        if (length < 0) {
-          length = -length;
-          dx = -dx;
-          dy = -dy;
-        }
-        Handle(Geom2d_Line) l = new Geom2d_Line(gp_Pnt2d(x,y),gp_Dir2d(dx,dy));
-        BRepBuilderAPI_MakeEdge ME (GeomAPI::To3d(l,P),0,length);
-        if (!ME.IsDone())
-          return;
-        MW.Add(ME);
-        x += length*dx;
-        y += length*dy;
-        break;
-      }
-    case circle :
-      {
-        Standard_Boolean sense = Standard_True;
-        if (radius < 0) {
-          radius = -radius;
-          sense = !sense;
-          dx = -dx;
-          dy = -dy;
-        }
-        gp_Ax2d ax(gp_Pnt2d(x-radius*dy,y+radius*dx),gp_Dir2d(dy,-dx));
-        if (angle < 0) {
-          angle = -angle;
-          sense = !sense;
-        }
-        Handle(Geom2d_Circle) c = new Geom2d_Circle(ax,radius,sense);
-        BRepBuilderAPI_MakeEdge ME (GeomAPI::To3d(c,P),0,angle);
-        if (!ME.IsDone())
-          return;
-        MW.Add(ME);
-        gp_Pnt2d p;
-        gp_Vec2d v;
-        c->D1(angle,p,v);
-        x = p.X();
-        y = p.Y();
-        dx = v.X() / radius;
-        dy = v.Y() / radius;
-        break;
-      }
-    case point:
-      {
-        MP = BRepBuilderAPI_MakeVertex(gp_Pnt(x, y, 0.0));
-        break;
-      }
-    case none:
-      {
-        i = n - 1;
-        break;
-      }
-    }
-
-    // update first
-    first = stayfirst;
-    stayfirst = Standard_False;
-
-    if(!(dx == 0 && dy == 0))
-      myLastDir.SetCoord(dx, dy, 0.0);
-    else
-      return;
-    myLastPoint.SetX(x);
-    myLastPoint.SetY(y);
-
-    // next segment....
-    i++;
-    if ((i == n) && close) {
-      // the closing segment
-      dx = x0 - x;
-      dy = y0 - y;
-      length = Sqrt(dx * dx + dy * dy);
-      move = line;
-      if (length > Precision::Confusion()) {
-        dx = dx / length;
-        dy = dy / length;
-        goto again;
-      }
-    }
-  }
-
-  // get the result, face or wire
-  if (move == none) {
-    return;
-  } else if (move == point) {
-    S = MP;
-  } else if (face) {
-    if (!MW.IsDone()) {
-      return;
-    }
-    BRepBuilderAPI_MakeFace MF (P, MW.Wire());
-    if (!MF.IsDone()) {
-      return;
-    }
-    S = MF;
-  } else {
-    if (!MW.IsDone()) {
-      return;
-    }
-    S = MW;
-  }
-
-  if(!TheLocation.IsIdentity())
-    S.Move(TheLocation);
-
-  myShape = S;
-  myOK = true;
-  return;
-
-  badargs :
-    MESSAGE("profile : bad number of arguments");
-    return;
-}
diff --git a/src/SKETCHER/Sketcher_Profile.hxx b/src/SKETCHER/Sketcher_Profile.hxx
deleted file mode 100644 (file)
index 79762a9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//  GEOM SKETCHER : basic sketcher
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : Sketcher_Profile.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header: 
-
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-#include <TopoDS_Shape.hxx>
-
-class Sketcher_Profile
-{
-
-public:
-  Standard_EXPORT Sketcher_Profile();
-  Standard_EXPORT Sketcher_Profile(const char* aCmd);
-
-private:
-  gp_Pnt myLastPoint;
-  gp_Dir myLastDir;
-
-  TopoDS_Shape myShape;
-  bool myOK;
-
-public:
-  Standard_EXPORT gp_Pnt GetLastPoint(){return myLastPoint;};
-  Standard_EXPORT gp_Dir GetLastDir(){return myLastDir;};
-
-  Standard_EXPORT const TopoDS_Shape& GetShape(){return myShape;};
-  Standard_EXPORT bool IsDone(){return myOK;};
-
-};
diff --git a/src/STEPExport/Makefile.in b/src/STEPExport/Makefile.in
deleted file mode 100644 (file)
index bd977ab..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB= libSTEPExport.la
-
-LIB_SRC = STEPExport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKSTEP -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/STEPExport/STEPExport.cxx b/src/STEPExport/STEPExport.cxx
deleted file mode 100644 (file)
index 7614e4b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// File:       STEPExport.cxx
-// Created:    Wed May 19 14:53:52 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <IFSelect_ReturnStatus.hxx>
-
-#include <STEPControl_Writer.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
-  {
-    MESSAGE("Export STEP into file " << theFileName.ToCString());
-
-  try 
-    {
-      IFSelect_ReturnStatus status ;
-      //VRV: OCC 4.0 migration
-      STEPControl_Writer aWriter;
-//JFA: PAL6162      status = aWriter.Transfer( theShape, STEPControl_ManifoldSolidBrep );
-      status = aWriter.Transfer( theShape, STEPControl_AsIs );
-      //VRV: OCC 4.0 migration
-      if ( status == IFSelect_RetDone ) 
-         status = aWriter.Write( theFileName.ToCString() ) ;
-      if ( status == IFSelect_RetDone ) 
-       return 1;
-    }
-  catch(Standard_Failure) 
-    {
-      //THROW_SALOME_CORBA_EXCEPTION("Exception catched in STEPExport", SALOME::BAD_PARAM);
-    }
-  return 0;
-  }
-}
diff --git a/src/STEPImport/Makefile.in b/src/STEPImport/Makefile.in
deleted file mode 100644 (file)
index 4881cc0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#  Copyright (C) 2003  CEA
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Pavel TELKOV
-#  Module : GEOM
-#  $Header$
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-@COMMENCE@
-
-# Libraries targets
-
-LIB= libSTEPImport.la
-
-LIB_SRC = STEPImport.cxx
-
-# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS+= $(CAS_LDPATH) -lTKSTEP -L${KERNEL_ROOT_DIR}/lib/salome
-
-@CONCLUDE@
diff --git a/src/STEPImport/STEPImport.cxx b/src/STEPImport/STEPImport.cxx
deleted file mode 100644 (file)
index 6535241..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-// File:       STEPImport.cxx
-// Created:    Wed May 19 14:41:10 2004
-// Author:     Pavel TELKOV
-//             <ptv@mutex.nnov.opencascade.com>
-
-#include "utilities.h"
-
-#include <BRep_Builder.hxx>
-
-#include <IFSelect_ReturnStatus.hxx>
-
-#include <STEPControl_Reader.hxx>
-
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Shape.hxx>
-
-#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//=============================================================================
-/*!
- *  Import()
- */
-//=============================================================================
-
-extern "C"
-{
-SALOME_WNT_EXPORT
-  TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
-                       TCollection_AsciiString&       theError)
-  {
-    MESSAGE("Import STEP model from file " << theFileName.ToCString());
-    TopoDS_Shape aResShape;
-    //VRV: OCC 4.0 migration
-    STEPControl_Reader aReader;
-    //VRV: OCC 4.0 migration
-    TopoDS_Compound compound;
-    BRep_Builder B;
-    B.MakeCompound( compound );
-    try {
-      IFSelect_ReturnStatus status = aReader.ReadFile(theFileName.ToCString());
-
-      if (status == IFSelect_RetDone) {
-       Standard_Boolean failsonly = Standard_False ;
-       aReader.PrintCheckLoad (failsonly, IFSelect_ItemsByEntity);
-       /* Root transfers */
-       Standard_Integer nbr = aReader.NbRootsForTransfer();
-       aReader.PrintCheckTransfer (failsonly, IFSelect_ItemsByEntity);
-
-       for ( Standard_Integer n=1; n <= nbr; n++) {
-         Standard_Boolean ok = aReader.TransferRoot(n);
-         /* Collecting resulting entities */
-         Standard_Integer nbs = aReader.NbShapes();
-         if (!ok || nbs == 0)
-         {
-           // THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM);
-           continue; // skip empty root
-         }
-         /* For a single entity */
-         else if (nbr == 1 && nbs == 1) {
-           aResShape = aReader.Shape(1);
-           break;
-         }
-
-         for ( Standard_Integer i=1; i<=nbs; i++ ) {
-           TopoDS_Shape aShape = aReader.Shape(i);
-           if ( aShape.IsNull() ) {
-             // THROW_SALOME_CORBA_EXCEPTION("Null shape in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM) ;
-             //return aResShape;
-             continue;
-           }
-           else {
-             B.Add( compound, aShape ) ;
-           }
-         }
-       }
-       if ( aResShape.IsNull() )
-         aResShape = compound;
-
-      } else {
-//        switch (status) {
-//        case IFSelect_RetVoid:
-//          theError = "Nothing created or No data to process";
-//          break;
-//        case IFSelect_RetError:
-//          theError = "Error in command or input data";
-//          break;
-//        case IFSelect_RetFail:
-//          theError = "Execution was run, but has failed";
-//          break;
-//        case IFSelect_RetStop:
-//          theError = "Execution has been stopped. Quite possible, an exception was raised";
-//          break;
-//        default:
-//          break;
-//        }
-        theError = "Wrong format of the imported file. Can't import file.";
-       aResShape.Nullify();
-      }
-    }
-    catch (Standard_Failure) {
-      Handle(Standard_Failure) aFail = Standard_Failure::Caught();
-      theError = aFail->GetMessageString();
-      aResShape.Nullify();
-    }
-    return aResShape;
-  }
-}
diff --git a/src/ShHealOper/Makefile.in b/src/ShHealOper/Makefile.in
deleted file mode 100644 (file)
index efaf07c..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#  GEOM ShHealOper : Shape Healing
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.org
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Alexander SLADKOV
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@
-
-
-@COMMENCE@
-
-# Libraries targets
-LIB = libShHealOper.la
-
-LIB_SRC = \
-       ShHealOper_CloseContour.cxx \
-       ShHealOper_EdgeDivide.cxx \
-       ShHealOper_FillHoles.cxx \
-       ShHealOper_RemoveFace.cxx \
-       ShHealOper_RemoveInternalWires.cxx \
-       ShHealOper_Sewing.cxx \
-       ShHealOper_ShapeProcess.cxx \
-       ShHealOper_SplitCurve2d.cxx \
-       ShHealOper_SplitCurve3d.cxx \
-       ShHealOper_Tool.cxx \
-
-LIB_CLIENT_IDL = 
-LIB_SERVER_IDL = 
-
-# header files 
-EXPORT_HEADERS = \
-       ShHealOper_CloseContour.hxx \
-       ShHealOper_EdgeDivide.hxx \
-       ShHealOper_FillHoles.hxx \
-       ShHealOper_RemoveFace.hxx \
-       ShHealOper_RemoveInternalWires.hxx \
-       ShHealOper_Sewing.hxx \
-       ShHealOper_ShapeProcess.hxx \
-       ShHealOper_SpiltCurve2d.hxx \
-       ShHealOper_SplitCurve2d.hxx \
-       ShHealOper_SplitCurve3d.hxx \
-       ShHealOper_Tool.hxx
-
-# idl files
-EXPORT_IDLS=
-
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-LDFLAGS += $(CAS_LDPATH) -lTKernel -lTKGeomAlgo -lTKG3d -lTKG2d -lTKGeomBase -lTKShHealing -lTKMath -lTKBRep -lTKTopAlgo -lTKBool 
-
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
-
-@CONCLUDE@
diff --git a/src/ShHealOper/ShHealOper_CloseContour.cxx b/src/ShHealOper/ShHealOper_CloseContour.cxx
deleted file mode 100644 (file)
index e5f0083..0000000
+++ /dev/null
@@ -1,407 +0,0 @@
-// File:      ShHealOper_CloseContour.cxx
-// Created:   20.04.04 11:36:01
-// Author:    Galina KULIKOVA
-// Copyright: Airbus Industries 2004
-
-
-#include <ShHealOper_CloseContour.hxx>
-#include <ShapeExtend_WireData.hxx>
-#include <ShapeFix_Wire.hxx>
-#include <TopoDS_Face.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <ShapeAnalysis_Wire.hxx>
-#include <TColStd_SequenceOfInteger.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <TopExp.hxx>
-#include <TopoDS.hxx>
-#include <TColStd_MapIteratorOfMapOfInteger.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Vertex.hxx>
-#include <BRepBuilderAPI_MakeVertex.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Vec2d.hxx>
-#include <gp_Vec.hxx>
-#include <Geom_Line.hxx>
-#include <Geom2d_Line.hxx>
-#include <TopoDS_Compound.hxx>
-#include <BRep_Tool.hxx>
-#include <ShapeBuild_Edge.hxx>
-#include <TopExp_Explorer.hxx>
-//=======================================================================
-//function : ShHealOper_CloseContour()
-//purpose  : Constructor
-//=======================================================================
-
-ShHealOper_CloseContour::ShHealOper_CloseContour (const TopoDS_Shape& theShape  ) 
-{
-  Init(theShape);
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_CloseContour::Init(const TopoDS_Shape& theShape)
-{
-  ShHealOper_Tool::Init(theShape);
-  myTolerance = Precision::Confusion();
-  myMaxTolerance = 1.0;
-  TopExp::MapShapesAndAncestors(theShape,TopAbs_EDGE,TopAbs_FACE,myMapEdgesFace);
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_CloseContour::Perform(const TopTools_SequenceOfShape& theSeqEdges,
-                                                  const Standard_Boolean theModeVertex,
-                                                  const Standard_Boolean theModeFixGapsCurves)
-{
-  myFreeEdges.Clear();
-  myDone = Standard_False;
-  myErrorStatus =ShHealOper_NotError;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  Handle(ShapeExtend_WireData) asewd = new ShapeExtend_WireData;
-  Standard_Integer i =1;
-  for ( ; i <= theSeqEdges.Length(); i++)
-    asewd->Add(theSeqEdges.Value(i));
-
-  myModeVertex = theModeVertex;
-  myModeFixGapsCurves = theModeFixGapsCurves;
-
-  build(asewd);
-  
-  return myDone;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_CloseContour::Perform(const TopoDS_Wire& theWire,
-                                                  const Standard_Boolean theModeVertex,
-                                                  const Standard_Boolean theModeFixGapsCurves)
-{
-  myFreeEdges.Clear();
-  myDone = Standard_False;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  Handle(ShapeExtend_WireData) asewd = new ShapeExtend_WireData(theWire);
-  myModeVertex = theModeVertex;
-  myModeFixGapsCurves = theModeFixGapsCurves;
-  build(asewd);
-  return myDone;
-}
-//=======================================================================
-//function : Build
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_CloseContour::build(Handle(ShapeExtend_WireData)& theSewd)
-{
-  TopTools_SequenceOfShape aCommonFaces;
-  //checks that all specified edges belong the one face or not.
-  Standard_Boolean isOneFace = checkOneFace(theSewd,aCommonFaces);
-
-  //add edge or increase max tolerance in dependance on specified VertexMode.
-  //if all edges belong the one face that gap will be closed in the 2D by line
-  //else gap will be closed in the 3D by line.
-  myDone = fixGaps(theSewd,aCommonFaces);
-  updateWire(theSewd);
-  Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire;
-  sfw->SetContext(myContext);
-  sfw->Load(theSewd);
-
-  sfw->ClosedWireMode() = Standard_True;
-  sfw->SetPrecision(myTolerance);
-  sfw->SetMaxTolerance(myMaxTolerance);
-  
-  if(isOneFace) {
-    Standard_Integer ii =1;
-    for( ; ii <= aCommonFaces.Length(); ii++) {
-      TopoDS_Face aFace = TopoDS::Face(aCommonFaces.Value(ii));
-      sfw->SetFace(aFace);
-      myDone = (sfw->Perform() || myDone);
-      //if Mode for fix gaps is equal to true that
-      //curve 3D and curve 2D will be pull to each other.
-      if(myModeFixGapsCurves) {
-        Standard_Boolean isFixgaps = Standard_False;
-        if(ii ==1) {
-          sfw->FixGaps3d();
-          isFixgaps = sfw->StatusGaps3d(ShapeExtend_DONE);
-          if(!isFixgaps && sfw->StatusGaps3d(ShapeExtend_FAIL))
-             myErrorStatus = ShHealOper_ErrorExecution;
-        }
-        if(sfw->FixGaps2d())
-          sfw->FixSelfIntersection();
-        else if(sfw->StatusGaps2d(ShapeExtend_FAIL))
-          myErrorStatus = ShHealOper_ErrorExecution;
-
-        isFixgaps = (isFixgaps || sfw->StatusGaps2d(ShapeExtend_DONE));
-        myDone = (myDone || isFixgaps);
-        if(isFixgaps) {
-          Handle(ShapeExtend_WireData) sbwd = sfw->WireData();
-          Handle(ShapeFix_Edge) sfe = new ShapeFix_Edge;
-          for (Standard_Integer iedge = 1; iedge <= sbwd->NbEdges(); iedge++) {
-            TopoDS_Edge aEdge = TopoDS::Edge(sbwd->Edge(iedge));
-            sfe->FixVertexTolerance(aEdge,aFace);
-            sfe->FixSameParameter(aEdge);
-          }
-        }
-      }
-    }
-  }
-  else {
-    myDone = (sfw->Perform() || myDone);
-    if(myModeFixGapsCurves) {
-      //if Mode for fix gaps is equal to true that
-      //curve 3D will be pull to each other.
-      if(sfw->FixGaps3d()) {
-        Handle(ShapeExtend_WireData) sbwd = sfw->WireData();
-        Handle(ShapeFix_Edge) sfe = new ShapeFix_Edge;
-        for (Standard_Integer iedge = 1; iedge <= sbwd->NbEdges(); iedge++) {
-          TopoDS_Edge aEdge = TopoDS::Edge(sbwd->Edge(iedge));
-          sfe->FixVertexTolerance(aEdge);
-          sfe->FixSameParameter(aEdge);
-        }
-      }
-      else if(sfw->StatusGaps3d(ShapeExtend_FAIL))
-        myErrorStatus = ShHealOper_ErrorExecution;
-      myDone = (sfw->StatusGaps3d(ShapeExtend_DONE) || myDone);
-    }
-  }
-
-  if(myDone) {
-    TopoDS_Shape aoldShape = myInitShape;
-    //if free edges were added they will be added to the result shape
-    //and type of result shape should be change if initial shape is not COMPOUND.
-    if( myFreeEdges.Length()) {
-      BRep_Builder aB;
-      TopoDS_Compound aComp;
-      aB.MakeCompound(aComp);
-      if(aoldShape.ShapeType() == TopAbs_COMPOUND) {
-        TopoDS_Iterator aIt(aoldShape);
-        for( ;aIt.More();aIt.Next() )
-           aB.Add(aComp,aIt.Value());
-      }
-      else
-        aB.Add(aComp,aoldShape);
-
-      Standard_Integer i=1;
-      for ( ; i <= myFreeEdges.Length(); i++ ) 
-        aB.Add(aComp,myFreeEdges.Value(i));
-      aoldShape = aComp;
-      
-    }
-    myResultShape = myContext->Apply(aoldShape);
-  }
-  return;
-}
-//=======================================================================
-//function : checkGaps
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_CloseContour::fixGaps(const Handle(ShapeExtend_WireData)& theWire,
-                                                  const TopTools_SequenceOfShape& theCommonFaces) 
-{
-  Handle(ShapeAnalysis_Wire) asaw = new ShapeAnalysis_Wire;
-  asaw->Load(theWire);
-  
-  Standard_Integer i =1;
-  Standard_Boolean hasGaps = Standard_False;
-  for ( ; i <= asaw->NbEdges(); i++) {
-    if(asaw->CheckGap3d(i)) {
-      Standard_Real dist = asaw->MinDistance3d();
-      if(dist > myMaxTolerance) {
-        hasGaps = Standard_True;
-        Standard_Integer ind2 = (i ==0 ? theWire->NbEdges() :i);
-        Standard_Integer ind1 = (ind2 >1 ? ind2 -1 : theWire->NbEdges());
-        TopoDS_Edge aE1= theWire->Edge(ind1);
-        TopoDS_Edge aE2= theWire->Edge(ind2);
-        if(!myModeVertex)
-          buildEdge(aE1,aE2,theCommonFaces);
-        else
-          myMaxTolerance = RealLast();
-        if(ind2 == ind1) break;
-      }
-    }
-    
-  }
-  return  hasGaps;
-}
-
-//=======================================================================
-//function : checkOneFace
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_CloseContour::checkOneFace(const Handle(ShapeExtend_WireData)& theSewd,
-                                                       TopTools_SequenceOfShape& theCommonFaces) const
-{
-  
-  TopTools_IndexedMapOfShape amapfaces;
-  TopoDS_Edge aEdge1 = theSewd->Edge(1);
-  Standard_Boolean isOneFace = myMapEdgesFace.Contains(aEdge1 );
-  if(!isOneFace)
-    return isOneFace;
-
-  //check that all specified edges belong to one face. 
-  const TopTools_ListOfShape& alfaces = myMapEdgesFace.FindFromKey(aEdge1);
-  isOneFace = isOneFace && (!alfaces.IsEmpty());
-  if(!isOneFace)
-    return Standard_False;
-
-  TopTools_ListIteratorOfListOfShape litr(alfaces);
-  for( ; litr.More();litr.Next() ) 
-    amapfaces.Add(litr.Value());
-  
-  TColStd_MapOfInteger amapIndex;
-  Standard_Integer ind  =0;
-  Standard_Integer i =2;
-  for( ; i <= theSewd->NbEdges() && isOneFace; i++) {
-    isOneFace = myMapEdgesFace.Contains(theSewd->Edge(i));
-    if(isOneFace) {
-      const TopTools_ListOfShape& alfaces1 = myMapEdgesFace.FindFromKey(theSewd->Edge(i));
-      
-        TColStd_MapOfInteger aTmpInd;
-        for(litr.Initialize(alfaces1) ; litr.More() ;litr.Next() ) {
-          if(amapfaces.Contains(litr.Value())) {
-            ind = amapfaces.FindIndex(litr.Value());
-            if( i == 2) 
-              amapIndex.Add(ind);
-            else 
-              aTmpInd.Add(ind);
-          }
-        }
-      if(i ==2) {
-        isOneFace = (amapIndex.Extent());
-        continue;
-      }
-      else {
-        TColStd_MapIteratorOfMapOfInteger aMi(amapIndex);
-        for( ;  aMi.More();aMi.Next()) {
-          if(!aTmpInd.Contains(aMi.Key()))
-            amapIndex.Remove(aMi.Key());
-        }
-        isOneFace = (amapIndex.Extent()); 
-        
-      }
-    }
-  }
-  if(theSewd->NbEdges() >1) {
-    Standard_Integer j =1;
-    for( ; j <= amapfaces.Extent(); j++) {
-      if(!amapIndex.Contains(j)) continue;
-      TopoDS_Shape aF = amapfaces.FindKey(j);
-      theCommonFaces.Append(aF);
-    }
-  }
-  return isOneFace;  
-}
-//=======================================================================
-//function : buildEdge
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_CloseContour::buildEdge(const TopoDS_Edge& aE1, 
-                                        const TopoDS_Edge& aE2,
-                                        const TopTools_SequenceOfShape& theCommonFaces) 
-{
-  ShapeAnalysis_Edge asae;
-  TopoDS_Vertex aV1 = asae.LastVertex(aE1);
-  TopoDS_Vertex aV2 = asae.FirstVertex(aE2);
-  gp_Pnt p1 = BRep_Tool::Pnt(aV1);
-  gp_Pnt p2 = BRep_Tool::Pnt(aV2);
-  BRepBuilderAPI_MakeVertex mkver1( p1 );
-  TopoDS_Vertex newV1 = mkver1.Vertex();
-  
-  BRepBuilderAPI_MakeVertex mkver2( p2 );
-  TopoDS_Vertex newV2 = mkver2.Vertex();
-  BRep_Builder B;
-  B.UpdateVertex ( newV1,Precision::Confusion());
-  B.UpdateVertex ( newV2, Precision::Confusion());
-  Standard_Boolean isBuild = Standard_False;
-  TopoDS_Edge edge;
-  B.MakeEdge ( edge );
-  ShapeBuild_Edge sbe;
-  //if all edges belong to one face that gap will be closed in the 2D by line
-  //than 3D curve will be built by 2D curve
-  if(theCommonFaces.Length()) {
-    
-    TopoDS_Face aF1 = TopoDS::Face(theCommonFaces.Value(1));
-    Handle(Geom2d_Curve) c2d1,c2d2;
-    gp_Pnt2d p2d1,p2d2;
-    Standard_Real a1, b1,a2, b2;
-    if (  asae.PCurve ( aE1, aF1, c2d1, a1, b1, Standard_True )  && 
-        asae.PCurve ( aE2, aF1, c2d2, a2, b2, Standard_True )) {
-      
-      c2d1->D0 ( b1, p2d1);
-      c2d2->D0 ( a2, p2d2);
-      gp_Vec2d v12 ( p2d1, p2d2 );
-      
-      Handle(Geom2d_Line) aLine2d = new Geom2d_Line ( p2d1, gp_Dir2d ( v12 ) );
-      B.UpdateEdge ( edge, aLine2d, aF1, ::Precision::Confusion() );
-      B.Range ( edge, aF1, 0.0, v12.Magnitude() );
-      
-      isBuild = sbe.BuildCurve3d ( edge );
-    }
-  }
-  //else gap will be closed in the 3D by line.
-  if(!isBuild) {
-    gp_Vec v1 ( p1, p2 );
-    Handle(Geom_Line) aLine = new Geom_Line ( p1, gp_Dir ( v1 ) );
-    B.UpdateEdge ( edge, aLine, ::Precision::Confusion() );
-    B.Range ( edge,0.0, v1.Magnitude());
-  }
-  B.Add ( edge, newV1.Oriented ( TopAbs_FORWARD ) );
-  B.Add ( edge, newV2.Oriented ( TopAbs_REVERSED ) );
-  myContext->Replace(aV1, newV1.Oriented (aV1.Orientation()));
-  myContext->Replace(aV2, newV2.Oriented (aV2.Orientation()));
-  if(isBuild) {
-    newV1.Orientation(aV1.Orientation());
-    TopoDS_Edge newEdge = sbe.CopyReplaceVertices ( aE1,TopoDS_Vertex(), newV1);
-    TopoDS_Wire aw;
-    B.MakeWire(aw);
-    B.Add(aw,newEdge);
-    B.Add(aw,edge);
-    TopoDS_Shape anE1 = myContext->Apply(aE1);
-    myContext->Replace(anE1,aw);
-  }
-  else {
-    myFreeEdges.Append(edge);
-  }
-}
-//=======================================================================
-//function : UpdateWire
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_CloseContour::updateWire (Handle(ShapeExtend_WireData)& sbwd) 
-{
-  Standard_Integer i=1;
-  for ( ; i <= sbwd->NbEdges(); i++ ) {
-    TopoDS_Edge E = sbwd->Edge(i);
-    TopoDS_Shape S = myContext->Apply ( E );
-    if ( S == E ) continue;
-    for ( TopExp_Explorer exp(S,TopAbs_EDGE); exp.More(); exp.Next() )
-      sbwd->Add ( exp.Current(), i++ );
-    sbwd->Remove ( i-- );
-  }
-  for ( i =1; i <= myFreeEdges.Length(); i++ ) {
-    sbwd->Add(TopoDS::Edge(myFreeEdges.Value(i)));
-  }
-}
diff --git a/src/ShHealOper/ShHealOper_CloseContour.hxx b/src/ShHealOper/ShHealOper_CloseContour.hxx
deleted file mode 100644 (file)
index aab0fa3..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// File:      ShHealOper_CloseContour.hxx
-// Created:   20.04.04 10:25:46
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_CloseContour_HeaderFile
-#define ShHealOper_CloseContour_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS_Wire.hxx>
-#include <BRepTools_ReShape.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <ShapeExtend_WireData.hxx>
-#include <ShapeAnalysis_Wire.hxx>
-#include <TColStd_MapOfInteger.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TopoDS_Edge.hxx>
-///  Class ShHealOper_CloseContour
-//
-
-class ShHealOper_CloseContour : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-  Standard_EXPORT ShHealOper_CloseContour() : ShHealOper_Tool() {}
-
-  Standard_EXPORT ShHealOper_CloseContour (const TopoDS_Shape& theShape);
-  //Initalizes by whole shape.
-
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-   //Method for initalization by whole shape.
-
-  Standard_EXPORT Standard_Boolean Perform(const TopTools_SequenceOfShape& theSeqEdges,
-                          const Standard_Boolean theModeVertex = Standard_False,
-                          const Standard_Boolean theModeFixGapsCurves = Standard_True);
-                          
-  //Build wire from specified edges and close gap between edges by segment of line
-  // or by vertex in according to specified mode.
-
-  Standard_EXPORT Standard_Boolean Perform(const TopoDS_Wire& theWire,
-                          const Standard_Boolean theModeVertex= Standard_False,
-                          const Standard_Boolean theModeFixGapsCurves = Standard_True);
-                         
-  //Close gap into specified wire by segment of line or by vertex in according 
-  //to specified mode.
-  
-  inline void SetTolerance(const Standard_Real theTolerance)
-  {
-    myTolerance = theTolerance;
-  }
-  //Sets tolerance for checking closure of the contour.
-  inline Standard_Real GetTolerance()
-  {
-    return  myTolerance;
-  }
-  //Returns value of the tolerance.
-  
-  inline void SetMaxTolerance(const Standard_Real theMaxTolerance)
-  {
-    myMaxTolerance = theMaxTolerance;
-  }
-  //Sets tolerance for checking closure of the contour.
-  inline Standard_Real GetMaxTolerance()
-  {
-    return  myMaxTolerance;
-  }
-  //Returns value of the tolerance.
-
-  inline void SetModeVertex(const Standard_Boolean theModeVertex)
-  {
-    myModeVertex = theModeVertex;
-  }
-  //Sets mode for closure of the contour.
-
-  inline Standard_Boolean GetModeVertex() 
-  {
-    return myModeVertex;
-  }
-  //Get mode for closure of the contour.
-  
-  
- private:
-  // ---------- PRIVATE METHODS ----------
-  
-  void build(Handle(ShapeExtend_WireData)& theSewd);
-  
-  Standard_Boolean fixGaps(const Handle(ShapeExtend_WireData)& theWire,
-                           const TopTools_SequenceOfShape& theCommonFaces);
-
-  Standard_Boolean checkOneFace(const Handle(ShapeExtend_WireData)& theSewd,
-                                TopTools_SequenceOfShape& theCommonFaces) const;
-  
-  void buildEdge(const TopoDS_Edge& aE1, 
-                 const TopoDS_Edge& aE2,
-                 const TopTools_SequenceOfShape& theCommonFaces);
-
-  void updateWire (Handle(ShapeExtend_WireData)& sbwd);
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-
-  Standard_Boolean myModeVertex;
-  Standard_Boolean myModeFixGapsCurves;
-  
-  Standard_Real myMaxTolerance;
-  Standard_Real myTolerance;
-  TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace;
-  TopTools_SequenceOfShape myFreeEdges;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_CloseContour)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_CloseContour, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.cxx b/src/ShHealOper/ShHealOper_EdgeDivide.cxx
deleted file mode 100644 (file)
index 183b68d..0000000
+++ /dev/null
@@ -1,256 +0,0 @@
-// File:      ShHealOper_EdgeDivide.cxx
-// Created:   30.04.04 16:44:47
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-#include <ShHealOper_EdgeDivide.hxx>
-#include <ShapeUpgrade_WireDivide.hxx>
-#include <ShHealOper_SplitCurve3d.hxx>
-#include <ShHealOper_SplitCurve2d.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <BRep_Tool.hxx>
-#include <ShapeFix_Edge.hxx>
-#include <ShapeAnalysis_Edge.hxx>
-#include <GeomAdaptor_Curve.hxx>
-#include <Geom2dAdaptor_Curve.hxx>
-#include <TopoDS.hxx>
-#include <Geom_Curve.hxx>
-#include <TopoDS_Face.hxx>
-#include <Geom2d_Curve.hxx>
-#include <GCPnts_AbscissaPoint.hxx>
-#include <TopExp.hxx>
-#include <Precision.hxx>
-//#include <.hxx>
-//#include <.hxx>
-//=======================================================================
-//function : ShHealOper_EdgeDivide()
-//purpose  : Constructor
-//=======================================================================
-
-ShHealOper_EdgeDivide::ShHealOper_EdgeDivide (const TopoDS_Shape& theShape) 
-{
-  Init(theShape);
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_EdgeDivide::Init(const TopoDS_Shape& theShape)
-{
-  ShHealOper_Tool::Init(theShape);
-  myDivideParamMode = Standard_True;
-  myMapEdgesFace.Clear();
-  TopExp::MapShapesAndAncestors(theShape,TopAbs_EDGE,TopAbs_FACE,myMapEdgesFace);
-  
-}
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-Standard_Boolean ShHealOper_EdgeDivide::Perform(const TopoDS_Shape& theEdge, 
-                                                const TColStd_SequenceOfReal& theValues,
-                                                const Standard_Boolean theDivideParamMode)
-{ 
-  myDone = Standard_False;
-  myDivideParamMode = theDivideParamMode;
-  if(theEdge.ShapeType() != TopAbs_EDGE) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  myEdge = TopoDS::Edge(theEdge);
-  Standard_Integer i =1;
-  Handle(TColStd_HSequenceOfReal) aSeqValues = new TColStd_HSequenceOfReal;
-  for( ; i <= theValues.Length(); i++)
-      aSeqValues->Append(theValues.Value(i));
-  myDone = build(aSeqValues);
-  return myDone;
-  
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_EdgeDivide::Perform(const TopoDS_Shape& theEdge, 
-                                                const Standard_Real theValue,
-                                                const Standard_Boolean theDivideParamMode)
-{
-  myDone = Standard_False;
-  myErrorStatus = ShHealOper_NotError;
-  if(theEdge.ShapeType() != TopAbs_EDGE) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  myDivideParamMode = theDivideParamMode;
-  myEdge = TopoDS::Edge(theEdge);
-  Handle(TColStd_HSequenceOfReal) aSeqValues = new TColStd_HSequenceOfReal;
-  aSeqValues->Append(theValue);
-  myDone = build(aSeqValues);
-  return myDone;
-}
-//=======================================================================
-//function : build
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfReal)& theValues)
-{
-  if(myEdge.IsNull() || !theValues->Length()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return Standard_False;
-  }
-
-  Standard_Boolean has3d = Standard_False, 
-  has2d = Standard_False, 
-  hasPCurves = Standard_False;
-  
-  //computation of the split values in dependance from specified mode and values.
-  if(!computeValues(theValues, has3d,has2d,hasPCurves)) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return Standard_False;
-  }
-  
-  //setting split values in the splitting curve tools.
-  Handle(ShapeUpgrade_WireDivide) aSplitTool = new ShapeUpgrade_WireDivide;
-  aSplitTool->Load(myEdge);
-  aSplitTool->SetContext(myContext);
-  if(has3d) {
-    Handle(ShHealOper_SplitCurve3d) aSplitCurve3d = new ShHealOper_SplitCurve3d;
-    aSplitCurve3d->SetValues(theValues);
-    aSplitTool->SetSplitCurve3dTool(aSplitCurve3d);
-  }
-  else if(has2d) {
-    Handle(ShHealOper_SplitCurve2d) aSplitCurve2d = new ShHealOper_SplitCurve2d;
-    aSplitCurve2d->SetValues(theValues);
-    aSplitTool->SetSplitCurve2dTool(aSplitCurve2d);
-  }
-  else {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return Standard_False;
-  }
-  
-  //split 3d curve and pcurve for each face reffering to edge.
-  Standard_Boolean isDone = Standard_True;
-  if(hasPCurves) {
-    const TopTools_ListOfShape& lfaces  = myMapEdgesFace.FindFromKey(myEdge);
-    TopTools_ListIteratorOfListOfShape aItf(lfaces);
-    for( ; aItf.More() && isDone; aItf.Next()) {
-      TopoDS_Face aFace = TopoDS::Face(aItf.Value());
-      aSplitTool->SetFace(aFace);
-      aSplitTool->Perform();
-      isDone = aSplitTool->Status( ShapeExtend_DONE );
-      if( aSplitTool->Status( ShapeExtend_FAIL ))
-        myErrorStatus = ShHealOper_ErrorExecution;
-    }
-  }
-  else {
-     aSplitTool->Perform();
-     isDone = aSplitTool->Status( ShapeExtend_DONE );
-     if( aSplitTool->Status( ShapeExtend_FAIL ))
-        myErrorStatus = ShHealOper_ErrorExecution;
-  }
-  if(isDone)
-    myResultShape = myContext->Apply(myInitShape);
-  return isDone;
-  
-}
-//=======================================================================
-//function : computeValues
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_EdgeDivide::computeValues(const Handle(TColStd_HSequenceOfReal)& theValues,
-                                                      Standard_Boolean& theHas3d,
-                                                      Standard_Boolean& theHas2d,
-                                                      Standard_Boolean& hasPCurves)
-{
-  hasPCurves = (myMapEdgesFace.Contains(myEdge) && 
-                myMapEdgesFace.FindFromKey(myEdge).Extent());
-  if(hasPCurves && (!BRep_Tool::SameRange(myEdge) || !BRep_Tool::SameParameter(myEdge))) {
-    ShapeFix_Edge sfe;
-    sfe.FixSameParameter(myEdge);
-  }
-  
-  Standard_Real aFirst =0.,aLast=0.;
-
-  //computation of the split values if edge should be splitted by parameter.
-  if(myDivideParamMode) {
-    BRep_Tool::Range(myEdge,aFirst,aLast);
-    Handle(Geom_Curve) aCurve = BRep_Tool::Curve(myEdge,aFirst,aLast);
-    
-    theHas3d = (!aCurve.IsNull());
-    theHas2d = (aCurve.IsNull() && (fabs(aLast-aFirst) > Precision::PConfusion() ));
-    Standard_Integer i = 1;
-    for( ; i <= theValues->Length();i++) {
-      Standard_Real aVal = theValues->Value(i);
-      theValues->ChangeValue(i) = aFirst+ aVal*fabs(aLast - aFirst);
-    }
-  }
-  else {
-     //computation of the split values if edge should be splitted by length.
-    ShapeAnalysis_Edge sae;
-    Handle(Geom_Curve) aCurve;
-    Standard_Real aCurLen =0.;
-    GeomAdaptor_Curve aAdC;
-    Geom2dAdaptor_Curve aAdC2d;
-    if(sae.Curve3d(myEdge,aCurve,aFirst,aLast,Standard_False)) {
-      aAdC.Load(aCurve,aFirst,aLast);
-      aCurLen = GCPnts_AbscissaPoint::Length(aAdC,aFirst,aLast); 
-      theHas3d = Standard_True;
-    }
-    else {
-      if(hasPCurves) {
-        TopoDS_Face aFace = TopoDS::Face(myMapEdgesFace.FindFromKey(myEdge).First());
-        Handle(Geom2d_Curve) aCurve2d;
-        if(sae.PCurve(myEdge,aFace,aCurve2d,aFirst,aLast)) {
-          aAdC2d.Load(aCurve2d,aFirst,aLast);
-          aCurLen = GCPnts_AbscissaPoint::Length(aAdC,aFirst,aLast);
-          theHas2d = Standard_True;
-        }
-          
-      }
-    }
-    if(!theHas3d && !theHas2d)
-      return Standard_False;
-
-    Standard_Integer i = 1;
-    for( ; i <= theValues->Length();i++) {
-      Standard_Real aLen = theValues->Value(i)*aCurLen;
-      if(theHas3d) {
-        GCPnts_AbscissaPoint anAbsc(aAdC,aLen,aFirst);
-        if(anAbsc.IsDone()) 
-          theValues->ChangeValue(i) = anAbsc.Parameter();
-        else
-          theValues->Remove(i--);
-      }
-      else if(theHas2d) {
-        GCPnts_AbscissaPoint anAbsc(aAdC2d,aLen,aFirst);
-        if(anAbsc.IsDone()) 
-          theValues->ChangeValue(i) = anAbsc.Parameter();
-        else
-          theValues->Remove(i--);
-      }
-    }
-  }
-  return (theValues->Length());
-}
diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.hxx b/src/ShHealOper/ShHealOper_EdgeDivide.hxx
deleted file mode 100644 (file)
index 37b40e7..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// File:      ShHealOper_EdgeDivide.hxx
-// Created:   30.04.04 16:06:25
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_EdgeDivide_HeaderFile
-#define ShHealOper_EdgeDivide_HeaderFile
-
-#include <TColStd_HSequenceOfReal.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopoDS_Edge.hxx>
-#include <TopoDS_Shape.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TColStd_SequenceOfReal.hxx>
-
-///  Class ShHealOper_EdgeDivide
-//Intended for spitting edge in accordance to the specified mode and value.
-
-class ShHealOper_EdgeDivide : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  
-  Standard_EXPORT ShHealOper_EdgeDivide () : ShHealOper_Tool() {}
-  /// Empty constructor
-  Standard_EXPORT ShHealOper_EdgeDivide (const TopoDS_Shape& theShape);
-   /// Constructor initializes by shape.
-
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-  //Method for initalization by whole shape.
-
-  Standard_EXPORT Standard_Boolean Perform(const TopoDS_Shape& theEdge, 
-                                           const Standard_Real theValue,
-                                           const Standard_Boolean theDivideParamMode = Standard_True);
-  //Performs spitting of the specified edge in the accoradnce to
-  //specified mode and value.
-  //If theDivideParamMode is equal to true edge will be splitted by parameter.
-  //Else edge will be spliited by length (default true).
-  //theValue is koefficient for splitting from 0 to 1.
-
-  Standard_EXPORT Standard_Boolean Perform(const TopoDS_Shape& theEdge, 
-                                           const TColStd_SequenceOfReal& theValues,
-                                           const Standard_Boolean theDivideParamMode = Standard_True);
-  //Performs spitting of the specified edge in the accoradnce to
-  //specified mode and sequence of values the same way as previous.
-
- protected:
-  // ---------- PROTECTED METHODS ----------
-
-
-  Standard_Boolean build(const Handle(TColStd_HSequenceOfReal)& theValues);
-  
-  Standard_Boolean computeValues(const Handle(TColStd_HSequenceOfReal)& theValues,
-                                 Standard_Boolean& theHas3d,
-                                 Standard_Boolean& theHas2d,
-                                 Standard_Boolean& hasPCurves);
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace;
-  Standard_Boolean myDivideParamMode;
-  TopoDS_Edge myEdge;
-
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_EdgeDivide)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_EdgeDivide, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_FillHoles.cxx b/src/ShHealOper/ShHealOper_FillHoles.cxx
deleted file mode 100644 (file)
index d80857e..0000000
+++ /dev/null
@@ -1,468 +0,0 @@
-// File:      ShHealOper_FillHoles.cxx
-// Created:   26.04.04 17:35:30
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#include <ShHealOper_FillHoles.hxx>
-#include <TopExp.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <ShapeAnalysis_FreeBounds.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <Geom_Curve.hxx>
-#include <BRep_Tool.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopTools_HSequenceOfShape.hxx>
-#include <TopoDS.hxx>
-#include <Geom_BSplineSurface.hxx>
-#include <GeomPlate_BuildPlateSurface.hxx>
-#include <TopoDS_Edge.hxx>
-#include <BRepAdaptor_Curve.hxx>
-#include <BRepAdaptor_HCurve.hxx>
-#include <GeomPlate_CurveConstraint.hxx>
-#include <GeomPlate_Surface.hxx>
-#include <TColgp_SequenceOfXY.hxx>
-#include <TColgp_SequenceOfXYZ.hxx>
-#include <BRep_Builder.hxx>
-#include <ShapeFix_Face.hxx>
-#include <BRep_Tool.hxx>
-#include <TopLoc_Location.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-#include <TopoDS_Shell.hxx>
-#include <ShapeFix_Shell.hxx>
-#include <GeomPlate_PlateG0Criterion.hxx>
-#include <GeomPlate_MakeApprox.hxx>
-#include <Precision.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <BRepFill_CurveConstraint.hxx>
-#include <BRepBuilderAPI_MakeFace.hxx>
-
-
-//=======================================================================
-//function : ShHealOper_FillHoles()
-//purpose  : Constructor
-//=======================================================================
-ShHealOper_FillHoles::ShHealOper_FillHoles ()
-{
-  InitParameters();
-}
-
-//=======================================================================
-//function : ShHealOper_FillHoles
-//purpose  : 
-//=======================================================================
-
-ShHealOper_FillHoles::ShHealOper_FillHoles (const TopoDS_Shape& theShape)
-{
-  
-  Init(theShape);
-  InitParameters();
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_FillHoles::Init(const TopoDS_Shape& theShape)
-{
-  ShHealOper_Tool::Init(theShape);
-  TopExp::MapShapesAndAncestors( myInitShape, TopAbs_EDGE,TopAbs_SHELL   , myEdgeShells);
-  TopExp::MapShapesAndAncestors ( myInitShape, TopAbs_EDGE,TopAbs_COMPOUND, myEdgeComps );
-  
-  TopExp::MapShapesAndAncestors ( myInitShape, TopAbs_EDGE,TopAbs_FACE, myEdgeFaces );
-}
-//=======================================================================
-//function : InitParameters
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_FillHoles::InitParameters(Standard_Integer theDegree,
-                                          Standard_Integer theNbPtsOnCur,
-                                          Standard_Integer theNbIter,
-                                          Standard_Real theTol3d,
-                                          Standard_Real theTol2d,
-                                          Standard_Real theTolAng,
-                                          Standard_Real theTolCrv,
-                                          Standard_Integer theMaxDeg,
-                                          Standard_Integer theMaxSeg)
-{
-  myNbPtsOnCur = theNbPtsOnCur;
-  myNbIter = theNbIter;
-  myDegree =theDegree;
-  myTol2d = theTol2d;
-  myTol3d = theTol3d;
-  myTolAng = theTolAng;
-  myTolCrv = theTolCrv;
-  myMaxDeg = theMaxDeg;
-  myMaxSeg =theMaxSeg;
-}
-//=======================================================================
-//function : Fill
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_FillHoles::Fill()
-{
-  ShapeAnalysis_FreeBounds sab(myInitShape);
-  TopoDS_Compound aCompClosed = sab.GetClosedWires();
-  TopoDS_Compound aCompOpen = sab.GetOpenWires();
-  TopTools_SequenceOfShape aFillWires;
-  if(!aCompClosed.IsNull()) {
-    TopoDS_Iterator aIt(aCompClosed);
-
-    for( ; aIt.More(); aIt.Next()) 
-      aFillWires.Append(aIt.Value());
-  }
-  if(!aCompOpen.IsNull()) {
-    TopoDS_Iterator aIt(aCompOpen);
-    for(  ; aIt.More(); aIt.Next()) 
-      aFillWires.Append(aIt.Value());
-  }
-  
-  TopExp_Explorer aExp(myInitShape,TopAbs_EDGE,TopAbs_FACE);
-  
-  for( ; aExp.More(); aExp.Next())
-    aFillWires.Append(aExp.Current());
-
-  return Fill(aFillWires);
-}
-
-//=======================================================================
-//function : Fill
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_FillHoles::Fill(const TopTools_SequenceOfShape& theFillShapes)
-{
-  myDone = Standard_False;
-  myErrorStatus = ShHealOper_NotError;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  if(!theFillShapes.Length()) {
-    return myDone;
-  }
-
-  Handle(TopTools_HSequenceOfShape) aSeqWires = new TopTools_HSequenceOfShape;
-  if(!prepareWires(theFillShapes,aSeqWires)) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-
-  myResultShape = myInitShape;
-  Standard_Integer i =1;
-  for( ; i <= aSeqWires->Length(); i++) {
-    TopoDS_Wire aWire = TopoDS::Wire(aSeqWires->Value(i));
-    Handle(TColGeom2d_HArray1OfCurve) aCurves2d;
-    Handle(TColStd_HArray1OfInteger) aOrders;
-    Handle(TColStd_HArray1OfInteger) aSenses;
-    Handle(Geom_Surface) aSurf = buildSurface(aWire,aCurves2d,aOrders,aSenses);
-    if(aSurf.IsNull())
-      myErrorStatus = ShHealOper_ErrorExecution;
-    else 
-      myDone = (addFace(aSurf,aWire,aCurves2d,aOrders,aSenses) || myDone);
-  }
-  if(myDone)
-    myResultShape = myContext->Apply(myResultShape);
-  return myDone;
-}
-//=======================================================================
-//function : isCircle
-//purpose  : 
-//=======================================================================
-static Standard_Boolean isCircle(const TopoDS_Edge theEdge)
-{
-  Standard_Real aFirst, aLast;
-  Handle(Geom_Curve) aC3D = BRep_Tool::Curve(theEdge,aFirst, aLast );
-  if(aC3D.IsNull()) return Standard_False;
-  Standard_Boolean isCirc = (aC3D->Value(aFirst).Distance(aC3D->Value(aLast)) < 
-     aC3D->Value(aFirst).Distance(aC3D->Value((aFirst +aLast)/2)));
-  return isCirc;
-}
-//=======================================================================
-//function : prepareWires
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_FillHoles::prepareWires(const TopTools_SequenceOfShape& theFillShapes,
-                                                    Handle(TopTools_HSequenceOfShape)& theSeqWires)
-{
-  Handle(TopTools_HSequenceOfShape) aSeqEdges = new TopTools_HSequenceOfShape;
-  BRep_Builder aB;
-  Standard_Integer i =1;
-  for( ; i <= theFillShapes.Length(); i++) {
-    TopExp_Explorer aExp;
-    for (aExp.Init (theFillShapes.Value(i),TopAbs_WIRE); aExp.More(); aExp.Next()) {
-      TopoDS_Iterator aIt(aExp.Current());
-      Standard_Boolean isAdd = Standard_True;
-      for( ; aIt.More() && isAdd; aIt.Next()) {
-        if(myEdgeFaces.Contains(aIt.Value()))
-          isAdd =  (myEdgeFaces.FindFromKey(aIt.Value()).Extent() <2);
-      }
-      if(isAdd)
-        theSeqWires->Append(aExp.Current());
-    }
-    for (aExp.Init (theFillShapes.Value(i),TopAbs_EDGE, TopAbs_WIRE); aExp.More(); aExp.Next()) {
-      if (!BRep_Tool::Degenerated (TopoDS::Edge (aExp.Current())))
-        if(myEdgeFaces.Contains(aExp.Current()) && myEdgeFaces.FindFromKey(aExp.Current()).Extent() >1)
-          continue;
-       aSeqEdges->Append(aExp.Current());
-    }
-  }
-  
-  if(aSeqEdges->Length())
-  {
-    Standard_Real aTol = 0.;
-    Standard_Boolean aShared = Standard_True;
-    Handle(TopTools_HSequenceOfShape) aTmpWires = new TopTools_HSequenceOfShape;
-    ShapeAnalysis_FreeBounds::ConnectEdgesToWires(aSeqEdges, aTol, aShared, aTmpWires);
-    Handle(TopTools_HSequenceOfShape) anWiresClosed = new TopTools_HSequenceOfShape,
-    anWiresOpen   = new TopTools_HSequenceOfShape;
-    ShapeAnalysis_FreeBounds::SplitWires(aTmpWires, aTol, aShared, anWiresClosed, anWiresOpen);
-    
-    for (i = 1; i <= anWiresClosed->Length(); i++)
-      theSeqWires->Append (anWiresClosed->Value (i));
-    for (i = 1; i <= anWiresOpen->Length(); i++)
-      theSeqWires->Append (anWiresOpen->Value (i));
-  }
-  
-
-  for( i =1; i <= theSeqWires->Length(); i++) {
-    TopoDS_Wire aWire = TopoDS::Wire(theSeqWires->Value(i));
-    
-    TopoDS_Iterator aIt(aWire);
-    Standard_Integer ne =0;
-    TopoDS_Edge ae;
-    for( ; aIt.More(); aIt.Next(), ne++)
-      ae = TopoDS::Edge(aIt.Value()); 
-    if((ne == 1) && ( !isCircle(ae))) {
-      theSeqWires->Remove(i--);
-      continue;
-    }
-  }
-  return (theSeqWires->Length());
-}
-//=======================================================================
-//function : buildSurface
-//purpose  : 
-//=======================================================================
-
-Handle(Geom_Surface) ShHealOper_FillHoles::buildSurface(const TopoDS_Wire& theWire,
-                                                        Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
-                                                        Handle(TColStd_HArray1OfInteger)& theOrders,
-                                                        Handle(TColStd_HArray1OfInteger)& theSenses)
-{
-  Handle(Geom_BSplineSurface) aSurf;
-  try {
-    
-      GeomPlate_BuildPlateSurface aBuilder(myDegree, myNbPtsOnCur, myNbIter,
-                                                myTol2d, myTol3d, myTolAng, myTolCrv);
-      TopoDS_Iterator aIter;
-      for(aIter.Initialize (theWire); aIter.More(); aIter.Next()) {
-
-        TopoDS_Edge ae = TopoDS::Edge(aIter.Value());
-        BRepAdaptor_Curve adC(ae);
-        Handle(BRepAdaptor_HCurve) aHAD= new BRepAdaptor_HCurve(adC);
-        Handle(BRepFill_CurveConstraint) aConst =
-           new BRepFill_CurveConstraint (aHAD, (Standard_Integer) GeomAbs_C0, myNbPtsOnCur, myTol3d);
-        //Handle(GeomPlate_CurveConstraint) aConst = 
-         // new GeomPlate_CurveConstraint(aHAD, (Standard_Integer) GeomAbs_C0, myNbPtsOnCur, myTol3d);
-        aBuilder.Add (aConst);
-      }
-      aBuilder.Perform();
-      if(!aBuilder.IsDone())
-        return aSurf;
-      Handle(GeomPlate_Surface) aPlSurf = aBuilder.Surface();
-
-      //for filling holes without initial specified surface
-      //the initial surface should be build by GeomPlate itself
-      //following code was taken from BRepFill_Filling::Build
-
-      Standard_Real aDist = aBuilder.G0Error();
-      TColgp_SequenceOfXY S2d;
-      TColgp_SequenceOfXYZ S3d;
-      S2d.Clear();
-      S3d.Clear();
-      aBuilder.Disc2dContour(4,S2d);
-      aBuilder.Disc3dContour(4,0,S3d);
-      Standard_Real amaxTol = Max( myTol3d, 10* aDist); 
-      GeomPlate_PlateG0Criterion Criterion( S2d, S3d, amaxTol );
-      GeomPlate_MakeApprox Approx( aPlSurf, Criterion, myTol3d, myMaxSeg, myMaxDeg );
-      aSurf = Approx.Surface();
-      if(aSurf.IsNull())
-        return aSurf;
-      
-      theCurves2d = aBuilder.Curves2d();
-      theOrders    = aBuilder.Order();
-      theSenses    = aBuilder.Sense();
-      
-    }
-
-  catch (Standard_Failure) {
-    aSurf.Nullify();
-    return aSurf;
-  }
-  return aSurf;
-}
-
-//=======================================================================
-//function : addFace
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_FillHoles::addFace(const Handle(Geom_Surface)& theSurf,
-                                               const TopoDS_Wire& theWire,
-                                               const Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
-                                               const Handle(TColStd_HArray1OfInteger)& theOrders,
-                                               const Handle(TColStd_HArray1OfInteger)& theSenses)
-{
-  BRepBuilderAPI_MakeFace aMakeFace (theSurf);
-  TopoDS_Face aFace = aMakeFace.Face();
-  aFace.EmptyCopy();
-  
-
-  TopoDS_Wire aWire;
-  BRep_Builder aB;
-  aB.MakeWire(aWire);
-
-  TopTools_IndexedMapOfShape aMapParent;
-  Standard_Integer aInd = 1;
-  Standard_Boolean hasShell = Standard_False;
-  TopoDS_Iterator aIter(theWire);
-  for ( ; aIter.More(); aIter.Next(), aInd++) {
-    TopoDS_Edge anEdge = TopoDS::Edge (aIter.Value());
-    Standard_Real aF, aL;
-    BRep_Tool::Range (anEdge, aF, aL);
-    TopLoc_Location aLoc;
-    aB.UpdateEdge (anEdge, theCurves2d->Value (aInd),aFace, 0.);
-    
-    aB.Range (anEdge, aFace, aF, aL);
-    
-    // Set orientation of the edge: orientation should be changed
-    // if its orientation does not make sence with curve orientation
-    // recommended by GeomPlate
-    if ((anEdge.Orientation() == TopAbs_FORWARD) ==
-        (theSenses->Value (theOrders->Value (aInd)) == 1)) {
-      anEdge.Reverse();
-    }
-    aB.SameParameter(anEdge,Standard_False);
-    aB.Add (aWire, anEdge);
-    Standard_Boolean isAdd = Standard_False;
-    TopoDS_Shape aParent;
-    if(!myEdgeFaces.Contains(anEdge))
-      continue;
-
-    if(myEdgeFaces.FindFromKey(anEdge).Extent() >1)
-      continue;
-
-    if(myEdgeShells.Contains(anEdge)) {
-      if(myEdgeShells.FindFromKey(anEdge).Extent()) {
-       aParent = myEdgeShells.FindFromKey(anEdge).First();
-       hasShell = Standard_True;
-       aMapParent.Add(aParent);
-     }
-    }
-    else if(myEdgeComps.Contains(anEdge)) {
-      if(myEdgeComps.FindFromKey(anEdge).Extent()) {
-        aParent = myEdgeComps.FindFromKey(anEdge).First();
-        aMapParent.Add(aParent);
-      }
-    }
-
-  }
-  aB.Add(aFace,aWire);
-  Handle(ShapeFix_Face) aSff = new ShapeFix_Face(aFace);
-  aSff->SetContext(myContext);
-  aSff->SetPrecision(myTol3d);
-  aSff->Perform();
-  if(aSff->Status(ShapeExtend_FAIL)) {
-    myErrorStatus = ShHealOper_ErrorExecution;
-    return Standard_False;
-  }
-  //theFace = aSff->Face();
-  TopoDS_Shape aResShape = aSff->Result();
-  getResShape(aResShape,aMapParent,hasShell);
-  return Standard_True;
-}
-
-//=======================================================================
-//function : getResShape
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_FillHoles::getResShape(const TopoDS_Shape& theAddShape,
-                                       const TopTools_IndexedMapOfShape& aMapParent,
-                                       const Standard_Boolean theHasShell)
-{
-  BRep_Builder aB;
-
-  if(!aMapParent.Extent()) {
-    TopoDS_Compound aComp;
-    aB.MakeCompound(aComp);
-    TopoDS_Shape aresShape = myContext->Apply(myResultShape);
-    aB.Add(aComp,aresShape);
-    aB.Add(aComp,theAddShape);
-    myResultShape = aComp;
-    return ;
-  }
-  Standard_Boolean anhasShell = theHasShell;
-  TopoDS_Shell aTmpShell;
-  aB.MakeShell(aTmpShell);
-  TopTools_SequenceOfShape aseqShells;
-  if(anhasShell) {
-    
-    aB.Add(aTmpShell,theAddShape);
-    Standard_Integer i =1;
-    for( ; i <= aMapParent.Extent(); i++) {
-      TopoDS_Shape aParShape = myContext->Apply(aMapParent.FindKey(i));
-      if(aParShape.ShapeType() == TopAbs_SHELL) {
-        TopExp_Explorer aexp(aParShape,TopAbs_FACE);
-        for( ; aexp.More(); aexp.Next())
-          aB.Add(aTmpShell,aexp.Current());
-        aseqShells.Append(aParShape);
-      }
-    }
-    anhasShell = aseqShells.Length();
-  }
-  if(anhasShell) {
-    Handle(ShapeFix_Shell) asfs = new ShapeFix_Shell;
-    asfs->FixFaceOrientation(aTmpShell);
-    TopoDS_Shape anshape = asfs->Shape();
-    myContext->Replace(aseqShells.Value(1),anshape);
-    Standard_Integer i =2;
-    for( ; i<= aseqShells.Length(); i++) 
-      myContext->Remove(aseqShells.Value(i));
-    
-  }
-  else {
-    TopoDS_Compound aComp;
-    aB.MakeCompound(aComp);
-    TopoDS_Shape oldshape = myContext->Apply(aMapParent.FindKey(1));
-    TopoDS_Iterator aIt(oldshape);
-    for( ; aIt.More(); aIt.Next())
-      aB.Add(aComp,aIt.Value());
-    aB.Add(aComp,theAddShape);
-    myContext->Replace( oldshape,aComp);
-                        
-  }
-}
diff --git a/src/ShHealOper/ShHealOper_FillHoles.hxx b/src/ShHealOper/ShHealOper_FillHoles.hxx
deleted file mode 100644 (file)
index 9d43402..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// File:      ShHealOper_FillHoles.hxx
-// Created:   26.04.04 17:15:10
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-
-#ifndef ShHealOper_FillHoles_HeaderFile
-#define ShHealOper_FillHoles_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TColGeom2d_HArray1OfCurve.hxx>
-#include <Geom_Surface.hxx>
-#include <TColStd_HArray1OfInteger.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TopTools_HSequenceOfShape.hxx>
-#include <TopTools_IndexedMapOfShape.hxx>
-
-///  Class ShHealOper_FillHoles
-//Intended for filling holes.
-
-class ShHealOper_FillHoles : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  Standard_EXPORT ShHealOper_FillHoles ();
-  // Empty constructor initializes class by default parameters.
-  
-  Standard_EXPORT ShHealOper_FillHoles (const TopoDS_Shape& theShape);
-
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-  //Method for initalization by whole shape.
-  
-  Standard_EXPORT void InitParameters(Standard_Integer theDegree = 3,//3(2)
-                                 Standard_Integer theNbPtsOnCur =5,//3,
-                                 Standard_Integer theNbIter = 12,//3
-                                 Standard_Real theTol3d = 0.0001,//0.001,
-                                 Standard_Real theTol2d = 1.e-5,
-                                 Standard_Real theTolAng = 0.01,
-                                 Standard_Real theTolCrv = 0.01,
-                                 Standard_Integer theMaxDeg = 8,
-                                 Standard_Integer theMaxSeg =9);
-  //Initialization of the parameters for creation of the surface by GeomPlate.
-
-  Standard_EXPORT Standard_Boolean Fill();
-  //Fill all holes detectected as free boundaries.
-  
-   Standard_EXPORT Standard_Boolean Fill(const TopTools_SequenceOfShape& theFillShapes);
-  //Fill hole specified by wires or edges.
-
-
- private:
-  // ---------- PRIVATE METHODS ----------
-  
-  Standard_Boolean prepareWires(const TopTools_SequenceOfShape& theFillShapes,
-                                Handle(TopTools_HSequenceOfShape)& theSeqWires);
-
-  Handle(Geom_Surface) buildSurface(const TopoDS_Wire& theWire,
-                                    Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
-                                    Handle(TColStd_HArray1OfInteger)& theOrders,
-                                    Handle(TColStd_HArray1OfInteger)& theSenses);
-  
-  Standard_Boolean addFace(const Handle(Geom_Surface)& theSurf,
-                           const TopoDS_Wire& theWire,
-                           const Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
-                           const Handle(TColStd_HArray1OfInteger)& theOrders,
-                           const Handle(TColStd_HArray1OfInteger)& theSenses);
-
-  void getResShape(const TopoDS_Shape& theAddShape,
-                   const TopTools_IndexedMapOfShape& aMapParent,
-                   const Standard_Boolean theHasShell);
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  TopTools_IndexedDataMapOfShapeListOfShape myEdgeShells;
-  
-  TopTools_IndexedDataMapOfShapeListOfShape myEdgeComps;
-  TopTools_IndexedDataMapOfShapeListOfShape myEdgeFaces;
-  Standard_Integer myNbPtsOnCur;
-  Standard_Integer myNbIter;
-  Standard_Integer myDegree;
-  Standard_Real myTol2d;
-  Standard_Real  myTol3d;
-  Standard_Real myTolAng;
-  Standard_Real myTolCrv;
-  Standard_Integer  myMaxDeg;
-  Standard_Integer myMaxSeg;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_FillHoles)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_FillHoles, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_RemoveFace.cxx b/src/ShHealOper/ShHealOper_RemoveFace.cxx
deleted file mode 100644 (file)
index 3501fe0..0000000
+++ /dev/null
@@ -1,444 +0,0 @@
-// File:      ShHealOper_RemoveFace.cxx
-// Created:   16.04.04 12:12:38
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-#include <ShHealOper_RemoveFace.hxx>
-#include <BRepTools_ReShape.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Face.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopExp.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <BRep_Tool.hxx>
-#include <Geom_Surface.hxx>
-#include <TopoDS_Edge.hxx>
-#include <ShapeBuild_Edge.hxx>
-#include <ShapeFix_Shell.hxx>
-#include <ShapeFix_Solid.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-
-
-//=======================================================================
-//function : ShHealOper_RemoveFace()
-//purpose  : Constructor
-//=======================================================================
-ShHealOper_RemoveFace::ShHealOper_RemoveFace () :
-       ShHealOper_Tool()
-{
-}
-//=======================================================================
-//function : ShHealOper_RemoveFace
-//purpose  : 
-//=======================================================================
-
-ShHealOper_RemoveFace::ShHealOper_RemoveFace ( const TopoDS_Shape& theShape ) 
-       //ShHealOper_Tool(theShape)
-{
-  Init(theShape);
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_RemoveFace::Init(const TopoDS_Shape& theShape)
-{
-  //myDone = Standard_False;
-  //myInitShape = theShape;
-  //myContext->Apply(myInitShape);
-  ShHealOper_Tool::Init(theShape);
-  myMapEdgesFace.Clear();
-  TopExp::MapShapesAndAncestors(theShape,TopAbs_EDGE,TopAbs_FACE,myMapEdgesFace);
-}
-//=======================================================================
-//function : Perform
-//purpose  : remove all faces from initial shape
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::Perform()
-{
-  myDone = Standard_False;
-  myErrorStatus = ShHealOper_NotError;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  TopExp_Explorer aExp(myInitShape,TopAbs_FACE);
-  for( ; aExp.More(); aExp.Next()) {
-    removePCurve(TopoDS::Face(aExp.Current()));
-    myContext->Remove(aExp.Current());
-    myDone = Standard_True;
-  }
-  if(myDone) {
-    TopoDS_Shape aNewShape = myContext->Apply(myInitShape);
-    isReplace(aNewShape,myResultShape);
-    myContext->Replace(aNewShape,myResultShape);
-  }
-  return myDone;
-}
-//=======================================================================
-//function : Perform
-//purpose  : remove faces specified by sequence of faces from initial shape.
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::Perform(const TopTools_SequenceOfShape& theRemoveFaces)
-{
-  myDone = Standard_False;
-  myErrorStatus = ShHealOper_NotError;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  if(theRemoveFaces.IsEmpty())
-    return Standard_False;
-  myMapFaces.Clear();
-  
-  Standard_Integer i=1; 
-  for( ; i <= theRemoveFaces.Length(); i++)
-    myMapFaces.Add(theRemoveFaces.Value(i));
-  
-  myDone = removeFaces(myInitShape,myResultShape);
-  return myDone;
-}
-
-//=======================================================================
-//function : removeFaces
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::removeFaces(const TopoDS_Shape& theShape,
-                                                    TopoDS_Shape& theNewShape)
-{
-  Standard_Boolean isDone = Standard_False;
-  
-  TopAbs_ShapeEnum aType = theShape.ShapeType();
-  theNewShape = theShape;
-  if(!myMapFaces.Extent())
-    return isDone;
-  if( aType == TopAbs_WIRE || aType == TopAbs_EDGE || aType == TopAbs_VERTEX)
-      return isDone;
-  if(aType == TopAbs_FACE && myMapFaces.Contains(theShape)) {
-    removePCurve(TopoDS::Face(theShape));
-    
-    myContext->Remove(theShape);
-    myMapFaces.Remove(theShape);
-    //theNewShape = TopoDS_Shape();
-    theNewShape.Nullify();
-    isDone = Standard_True;
-  }
-  else if(aType == TopAbs_SHELL) {
-    isDone = removeFaces(TopoDS::Shell(theShape),theNewShape);
-    return isDone;
-  }
-  else if(aType == TopAbs_SOLID) {
-    isDone = removeFaces(TopoDS::Solid(theShape),theNewShape);
-    myContext->Replace(theShape,theNewShape);
-  }
-  else if(aType == TopAbs_COMPSOLID) {
-
-    //in the case of compsolid method for removing faces for solid
-    //will be used.
-
-    TopExp_Explorer aExpShell(theShape,TopAbs_SHELL);
-    TopoDS_Solid aSol;
-    BRep_Builder aB;
-    aB.MakeSolid(aSol);
-    for( ; aExpShell.More(); aExpShell.Next()) {
-      aB.Add(aSol,aExpShell.Current());
-    }
-    TopoDS_Shape aNewShape;
-    isDone =  removeFaces(aSol,aNewShape);
-    if(isDone)
-       myContext->Replace(theShape,theNewShape);
-    
-  }
-  else if(aType == TopAbs_COMPOUND) {
-    //in the case of compounf faces will be removed from each part of compound separately
-
-    TopoDS_Compound aComp;
-    TopoDS_Iterator aItShape(theShape,Standard_False);
-    BRep_Builder aB;
-    aB.MakeCompound(aComp);
-    Standard_Integer nbs =0;
-    for( ; aItShape.More() ; aItShape.Next()) {
-
-      TopoDS_Shape aNShape;
-      if( removeFaces(aItShape.Value(),aNShape)) {
-        isDone = Standard_True;
-        myContext->Replace(aItShape.Value(),aNShape);
-      }
-      if(!aNShape.IsNull()) {
-        aB.Add(aComp,aNShape);
-        nbs++;
-      }
-    }
-    if(isDone) {
-      if(nbs) 
-        theNewShape = aComp;
-      else
-        theNewShape =TopoDS_Shape();
-      myContext->Replace(theShape,theNewShape);
-    }
-   
-  }
-  return isDone;
-}
-//=======================================================================
-//function : removeFaces
-//purpose  : function for removing faces from solid
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::removeFaces(const TopoDS_Solid& theShape,
-                                                    TopoDS_Shape& theNewShape)
-{
-  Standard_Boolean isDone = Standard_False;
-  TopoDS_Solid aSol;
-  BRep_Builder aB;
-  aB.MakeSolid(aSol);
-  TopoDS_Compound aComp;
-  aB.MakeCompound(aComp);
-  Standard_Boolean isAddSol = Standard_False, isAddComp = Standard_False;
-
-  //firslty faces will be deleted from each shell.
-  TopoDS_Iterator aItSol(theShape,Standard_False);
-  for( ; aItSol.More(); aItSol.Next()) {
-    TopoDS_Shape aSh = aItSol.Value();
-    TopoDS_Shape aNewShape;
-    if(removeFaces(aSh,aNewShape)) 
-      isDone = Standard_True;
-    
-    if(aNewShape.IsNull())
-      continue;
-    else if(aNewShape.ShapeType() == TopAbs_SHELL ) {
-      aB.Add(aSol,aNewShape);
-      isAddSol = Standard_True;
-    }
-    else {
-      aB.Add(aComp,aNewShape);
-      isAddComp = Standard_True;
-    }
-    
-  }
-  if(isDone) {
-    //for getting correct solids class ShapeFix_Solid will be used.
-    if(isAddSol) {
-      Handle(ShapeFix_Solid) aSfSol = new ShapeFix_Solid(aSol);
-      aSfSol->FixShellMode()= Standard_False;
-      aSfSol->Perform();
-      TopoDS_Shape aresSol = aSfSol->Shape();
-      if(!isAddComp) 
-        theNewShape = aresSol;
-      else 
-        aB.Add(aComp,aresSol);
-    }
-    else if(isAddComp)
-        theNewShape = aComp;
-    else
-      theNewShape.Nullify();
-  }
-  else
-    theNewShape = theShape; 
-  return isDone;
-}
-//=======================================================================
-//function : IsManifold
-//purpose  : function for definition manifold shell
-//=======================================================================
-Standard_Boolean ShHealOper_RemoveFace::isManifold(const TopoDS_Shell& aShell)
-{
-  Standard_Boolean IsManifold = Standard_True;
-  TopExp_Explorer aExp(aShell,TopAbs_EDGE);
-  for( ; aExp.More() && IsManifold; aExp.Next()) {
-    const TopTools_ListOfShape& als = myMapEdgesFace.FindFromKey(aExp.Current());
-    IsManifold = (als.Extent() <=2 ); 
-  }
-  return IsManifold;
-}
-
-//=======================================================================
-//function : getResultShell
-//purpose  : function for avoiding empty shall or shell containing one face.
-//=======================================================================
-static TopoDS_Shape getResultShell(const TopoDS_Shape& theNewShell)
-{
-  TopoDS_Shape rs;
-  Standard_Integer NbFacesShell =0;
-  TopoDS_Shape aF;
-  TopoDS_Iterator aI(theNewShell,Standard_False);
-  for(; aI.More(); aI.Next(),NbFacesShell++)
-    aF = aI.Value();
-  if(NbFacesShell >1)
-    rs = theNewShell;
-  else if(!aF.IsNull())
-    rs = aF;
-  return rs;
-}
-
-//=======================================================================
-//function : removeFaces
-//purpose  : function for removing faces from shell
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::removeFaces(const TopoDS_Shell& theShell,
-                                                    TopoDS_Shape& theNewShape)
-{
-  
-  Standard_Boolean aIsRemove = Standard_False;
-  //TopoDS_Shape aShape = myReShape->Apply(theShape);
-  //removing faces from shell.
-  TopoDS_Iterator aIterFaces(theShell,Standard_False);
-  for(; aIterFaces.More() && myMapFaces.Extent(); aIterFaces.Next()) {
-
-    if(!myMapFaces.Contains(aIterFaces.Value()))
-      continue;
-    TopoDS_Face aFace = TopoDS::Face( aIterFaces.Value());
-    removePCurve(aFace);
-    aIsRemove  = Standard_True;
-    myContext->Remove(aFace);
-    myMapFaces.Remove(aFace);
-  }
-  if(aIsRemove) {
-    TopoDS_Shape aNewShape = myContext->Apply(theShell);
-    //avoiding empty shell and shell containing one face.
-    TopoDS_Shape aresShape = getResultShell(aNewShape);
-    if(aresShape.IsNull()) {
-      myContext->Remove(aNewShape);
-      theNewShape.Nullify();
-    }
-    else if(aresShape.ShapeType() == TopAbs_FACE) {
-      myContext->Replace(aNewShape,aresShape);
-      theNewShape = aresShape;
-    }
-    else if(aresShape.ShapeType() == TopAbs_SHELL) {
-      //obtaining correct shell or compound with help class ShapeFix_Shell.
-      Standard_Boolean isManifShell = isManifold(theShell);
-      Handle(ShapeFix_Shell) aFixShell = new ShapeFix_Shell;
-      aFixShell->FixFaceOrientation(TopoDS::Shell(aresShape),Standard_True,!isManifShell);
-      TopoDS_Shape aFixShape = aFixShell->Shape();
-      TopoDS_Shape areplShape;
-      isReplace(aFixShape,areplShape);
-      myContext->Replace(aNewShape,areplShape);
-      theNewShape = areplShape;
-    }
-  }
-  else theNewShape = theShell;
-  return aIsRemove;
-}
-//=======================================================================
-//function : isReplace
-//purpose  : method to avoiding empty compounds and shells.
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveFace::isReplace(const TopoDS_Shape& theShape, 
-                                                  TopoDS_Shape& theNewShape)
-{
-  
-  Standard_Boolean isChange = Standard_False;
-  TopTools_SequenceOfShape aSeqShapes;
-  if(theShape.ShapeType() == TopAbs_COMPOUND || theShape.ShapeType() == TopAbs_COMPSOLID ||
-     theShape.ShapeType() == TopAbs_SOLID) {
-    TopoDS_Iterator aEs(theShape);
-    for( ; aEs.More(); aEs.Next()) {
-      TopoDS_Shape aNewShell = aEs.Value();
-      if(aNewShell.ShapeType()!= TopAbs_SHELL) {
-        aSeqShapes.Append(aNewShell);
-        continue;
-      }
-      TopoDS_Shape as = getResultShell(TopoDS::Shell(aNewShell));
-      isChange = (as.IsNull() || (as.ShapeType() == TopAbs_FACE));
-      if(!as.IsNull()) {
-        aSeqShapes.Append(as);
-      }
-    }
-  }
-  else if(theShape.ShapeType() == TopAbs_SHELL) {
-    TopoDS_Shape aSh = getResultShell(TopoDS::Shell(theShape));
-    isChange = (aSh.IsNull() || (aSh.ShapeType() == TopAbs_FACE));
-    if(!aSh.IsNull())
-      aSeqShapes.Append(aSh);
-  }
-  else aSeqShapes.Append(theShape);
-
-  if(aSeqShapes.IsEmpty())
-    return Standard_True;
-
-  if(isChange) {
-    if(aSeqShapes.Length() == 1)
-      theNewShape = aSeqShapes.Value(1);
-    else if (aSeqShapes.Length() > 1) {
-      TopoDS_Compound aComp1;
-      BRep_Builder aBB;
-      aBB.MakeCompound(aComp1);
-      Standard_Integer kk =1;
-      for( ; kk <=  aSeqShapes.Length(); kk++)
-        aBB.Add(aComp1,aSeqShapes.Value(kk));
-      if(aSeqShapes.Length())
-        theNewShape = aComp1;
-    }
-  }
-  else
-    theNewShape = theShape;
-  return isChange;
-}
-//=======================================================================
-//function : removePCurve
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_RemoveFace::removePCurve(const TopoDS_Face& theFace)
-{
-  //removing pcurves belonging removed face.
-  Handle(Geom_Surface) aSurfDel = BRep_Tool::Surface(theFace);
-  for(TopExp_Explorer aExpEdges(theFace,TopAbs_EDGE);  aExpEdges.More();  aExpEdges.Next()) {
-    const TopTools_ListOfShape& alFaces = myMapEdgesFace.FindFromKey(aExpEdges.Current());
-    Standard_Boolean aIsDeleted = Standard_True;
-    
-    //pcurve will be removed if containing this edge faces have different surfaces.
-    TopTools_ListIteratorOfListOfShape aIterOtherFace(alFaces);
-    for(; aIterOtherFace.More() && aIsDeleted ; aIterOtherFace.Next()) {
-      if(aIterOtherFace.Value().IsSame(theFace))
-         continue;
-         TopoDS_Face aFaceOther = TopoDS::Face(aIterOtherFace.Value());
-         Handle(Geom_Surface) aSurf = BRep_Tool::Surface( aFaceOther);
-         aIsDeleted = (aSurf != aSurfDel);
-    }
-    
-    TopoDS_Edge aEdge = TopoDS::Edge(myContext->Apply(aExpEdges.Current()));
-    ShapeBuild_Edge aSbe;
-    TopoDS_Edge aNewEdge = aSbe.Copy(aEdge,Standard_False);
-    if(aIsDeleted) {
-      aSbe.RemovePCurve(aNewEdge,aSurfDel);
-      myContext->Replace(aEdge,aNewEdge);
-      
-    }
-    
-  }
-}
-
diff --git a/src/ShHealOper/ShHealOper_RemoveFace.hxx b/src/ShHealOper/ShHealOper_RemoveFace.hxx
deleted file mode 100644 (file)
index 22b2923..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// File:      ShHealOper_RemoveFace.hxx
-// Created:   15.04.04 18:10:16
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-
-#ifndef ShHealOper_RemoveFace_HeaderFile
-#define ShHealOper_RemoveFace_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopoDS_Solid.hxx>
-#include <TopoDS_Shell.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-///  Class ShHealOper_RemoveFace
-//Class intended to removing faces from shape.
-
-class ShHealOper_RemoveFace : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  Standard_EXPORT ShHealOper_RemoveFace ();
-  //Empty constructor.
-  
-  Standard_EXPORT ShHealOper_RemoveFace (const TopoDS_Shape& theShape);
-  // Constructor initialized by shape from which faces will be removed.
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-   //Method for initalization by whole shape.
-  Standard_EXPORT Standard_Boolean Perform();
-  //Removes all faces from specified shape.
-  
-  Standard_EXPORT Standard_Boolean Perform(const TopTools_SequenceOfShape& theRemovedFaces);
-  //Removes faces specified in the sequence of faces from specified shape.
-
-  
- private:
-  Standard_Boolean removeFaces(const TopoDS_Shape& theShape,TopoDS_Shape& theNewShape);
-  Standard_Boolean removeFaces(const TopoDS_Solid& theShape,TopoDS_Shape& theNewShape);
-  Standard_Boolean removeFaces(const TopoDS_Shell& theShell,TopoDS_Shape& theNewShape);
-  Standard_Boolean isReplace(const TopoDS_Shape& theOldShape,TopoDS_Shape& theNewShape);
-   //Methods for removing faces from sub-shapes.
-
-  void removePCurve(const TopoDS_Face& theFace);
-  //method for removing pcurves belonging to face
-
-  Standard_Boolean isManifold(const TopoDS_Shell& aShell);
-  //denenes manifold shell.
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  TopTools_MapOfShape myMapFaces;
-  TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_RemoveFace)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_RemoveFace, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_RemoveInternalWires.cxx b/src/ShHealOper/ShHealOper_RemoveInternalWires.cxx
deleted file mode 100644 (file)
index 9fbb71c..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// File:      ShHealOper_RemoveInternalWires.cxx
-// Created:   26.04.04 14:46:45
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#include <ShHealOper_RemoveInternalWires.hxx>
-#include <TopExp.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopoDS.hxx>
-#include <TopTools_ListOfShape.hxx>
-#include <TopTools_ListIteratorOfListOfShape.hxx>
-#include <ShapeAnalysis.hxx>
-#include <ShapeFix_Shape.hxx>
-
-//=======================================================================
-//function : ShHealOper_RemoveInternalWires()
-//purpose  : Constructor
-//=======================================================================
-
-ShHealOper_RemoveInternalWires::ShHealOper_RemoveInternalWires ( const TopoDS_Shape& theShape )
-{
-  Init(theShape);
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_RemoveInternalWires::Init(const TopoDS_Shape& theShape)
-{
-  ShHealOper_Tool::Init(theShape);
-  myMapWiresFace.Clear();
-  TopExp::MapShapesAndAncestors(theShape,TopAbs_WIRE,TopAbs_FACE,myMapWiresFace);
-}
-//=======================================================================
-//function : Remove
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveInternalWires::Remove()
-{
-  TopExp_Explorer aexpFaces(myInitShape,TopAbs_FACE);
-  //removes internal wires from all faces in the shape
-  Standard_Boolean isDone = Standard_False;
-  for( ; aexpFaces.More(); aexpFaces.Next())
-    isDone =  removeWire(TopoDS::Face(aexpFaces.Current()),TopoDS_Wire()) || isDone;
-  if(isDone ) {
-    TopoDS_Shape aNewShape = myContext->Apply(myInitShape);
-    //fix not-connected shell and solids obtained after removing wires
-    fixShape(aNewShape);
-  }
-  myDone = isDone;
-  return myDone;
-}
-//=======================================================================
-//function : Remove
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveInternalWires::Remove(const TopTools_SequenceOfShape& theRemovedShapes)
-{
-  myDone = Standard_False;
-  
-  Standard_Integer i =1;
-  for( ; i <= theRemovedShapes.Length(); i++) {
-    //removes internal wires from specified faces.
-    if(theRemovedShapes.Value(i).ShapeType() == TopAbs_FACE)
-      myDone = (removeWire(TopoDS::Face(theRemovedShapes.Value(i)),TopoDS_Wire()) || myDone) ;
-    else if(theRemovedShapes.Value(i).ShapeType() == TopAbs_WIRE)
-    {
-      //removes specified internal wires. 
-      TopoDS_Wire awire = TopoDS::Wire(theRemovedShapes.Value(i));
-      if(myMapWiresFace.Contains(awire)) {
-        const TopTools_ListOfShape& aLfaces = myMapWiresFace.FindFromKey(awire);
-        TopTools_ListIteratorOfListOfShape liter(aLfaces);
-        for( ; liter.More(); liter.Next())
-          myDone = (removeWire(TopoDS::Face(liter.Value()),awire) || myDone);
-      }
-    }
-  }
-  if(myDone ) {
-    TopoDS_Shape aNewShape = myContext->Apply(myInitShape);
-
-    //fix not-connected shell and solids obtained after removing wires
-    fixShape(aNewShape);
-    
-  }
-  return myDone;
-}
-//=======================================================================
-//function : removeWire
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_RemoveInternalWires::removeWire(const TopoDS_Face& theFace, 
-                                                            const TopoDS_Wire& theWire)
-{
-  TopoDS_Wire aBoundWire = ShapeAnalysis::OuterWire(theFace);
-  if(!theWire.IsNull() && aBoundWire.IsSame(theWire)) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return Standard_False;
-  }
-  
-  Standard_Boolean isremove = Standard_False;
-  if(!theWire.IsNull()) {
-    myContext->Remove(theWire);
-    isremove= Standard_True;
-  }
-  else {  
-    TopExp_Explorer aExpW(theFace,TopAbs_WIRE);
-    for( ; aExpW.More(); aExpW.Next()) {
-      if(!aBoundWire.IsSame(aExpW.Current())) {
-        myContext->Remove(aExpW.Current());
-        isremove= Standard_True;
-      }
-    }
-  }
-  return isremove;
-}
-//=======================================================================
-//function : fixShape
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_RemoveInternalWires::fixShape(const TopoDS_Shape& theShape )
-{
-  Handle(ShapeFix_Shape) aFixTool = new ShapeFix_Shape(theShape);
-  aFixTool->SetContext(myContext);
-  aFixTool->FixShellTool()->FixFaceMode() = Standard_False;
-  aFixTool->FixFreeFaceMode() = Standard_False;
-  aFixTool->FixFreeWireMode() = Standard_False;
-  aFixTool->FixSameParameterMode() = Standard_False;
-  aFixTool->Perform();
-  myResultShape = aFixTool->Shape();
-}
diff --git a/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx b/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx
deleted file mode 100644 (file)
index fec5937..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// File:      ShHealOper_RemoveInternalWires.hxx
-// Created:   26.04.04 11:22:26
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_RemoveInternalWires_HeaderFile
-#define ShHealOper_RemoveInternalWires_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-#include <TopoDS_Face.hxx>
-#include <TopoDS_Wire.hxx>
-#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
-
-///  Class ShHealOper_RemoveInternalWires
-// Intended for removing internal wires from faces.
-
-class ShHealOper_RemoveInternalWires : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  /// Empty constructor
-  Standard_EXPORT ShHealOper_RemoveInternalWires () {}
-
-  /// Copy constructor
-  Standard_EXPORT ShHealOper_RemoveInternalWires (const TopoDS_Shape& theShape);
-  //Method for initalization by whole shape.
-  
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-  //Method for initalization by whole shape.
-  
-  Standard_EXPORT Standard_Boolean Remove();
-  //Removes all internal wires from all faces of the shape
-  
-  Standard_EXPORT Standard_Boolean Remove(const TopTools_SequenceOfShape& theRemovedShapes);
-  //Removes wires specified in the sequence of shapes or internal wires 
-  //belonging faces  specified in the sequence of shape.
-  
-
- private:
-  // ---------- PRIVATE METHODS ----------
-  
-  Standard_Boolean removeWire(const TopoDS_Face& theFace, 
-                              const TopoDS_Wire& theWire);
-  void fixShape(const TopoDS_Shape& theShape );
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-  TopTools_IndexedDataMapOfShapeListOfShape myMapWiresFace;
-
-
-
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_RemoveInternalWires)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_RemoveInternalWires, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_Sewing.cxx b/src/ShHealOper/ShHealOper_Sewing.cxx
deleted file mode 100644 (file)
index 62ed52e..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-// File:      ShHealOper_Sewing.cxx
-// Created:   29.04.04 15:07:10
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#include <ShHealOper_Sewing.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopoDS_Shell.hxx>
-#include <BRep_Builder.hxx>
-#include <ShapeFix_Shell.hxx>
-#include <TopTools_HSequenceOfShape.hxx>
-#include <TopoDS_Shell.hxx>
-#include <BRep_Builder.hxx>
-#include <ShapeAnalysis_FreeBounds.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TopTools_MapOfShape.hxx>
-//=======================================================================
-//function : ShHealOper_Sewing()
-//purpose  : Constructor
-//=======================================================================
-
-
-ShHealOper_Sewing::ShHealOper_Sewing (const TopoDS_Shape& theShape,
-                                     const Standard_Real theTolerance)
-{
-  Init(theShape);
-  myTolerance = theTolerance;
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_Sewing::Init(const TopoDS_Shape& theShape)
-{
-  ShHealOper_Tool::Init(theShape);
-  myTolerance = Precision::Confusion();
-  myEdgesMode = Standard_False;
-  myFacesMode = Standard_True;
-  myNonManifoldMode = Standard_False;
-  myHistoryLevel = TopAbs_FACE;
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::Perform()
-{
-  TopTools_SequenceOfShape theSeqShapes;
-  return sewing(theSeqShapes);
-}
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::Perform(const TopTools_SequenceOfShape& theSeqShapes)
-{
-  return sewing(theSeqShapes);
-}
-
-//=======================================================================
-//function : sewing
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::sewing(const TopTools_SequenceOfShape& theSeqShapes)
-{
-  myDone = Standard_False;
-  myErrorStatus = ShHealOper_NotError;
-  if(myInitShape.IsNull()) {
-    myErrorStatus = ShHealOper_InvalidParameters;
-    return myDone;
-  }
-  //sewing shape
-  Handle(BRepBuilderAPI_Sewing) aSewing = new BRepBuilderAPI_Sewing;
-  aSewing->Load(myInitShape);
-  aSewing->SetTolerance(myTolerance);
-  aSewing->SetFaceMode(myFacesMode);
-  aSewing->SetFloatingEdgesMode(myEdgesMode);
-  aSewing->SetNonManifoldMode(myNonManifoldMode);
-  Standard_Integer j =1;
-  for( ; j <= theSeqShapes.Length();j++)
-    aSewing->Add(theSeqShapes.Value(j));
-
-  aSewing->Perform();
-  const TopoDS_Shape aSewShape = aSewing->SewedShape();
-  if(aSewShape.IsNull()) {
-    myErrorStatus = ShHealOper_ErrorExecution;
-    return myDone;
-  }
-  if(aSewShape.IsSame(myInitShape))
-    return myDone;
-
-  //analysis either sewing was made by changing number of shells
-  myDone = isSewed(aSewShape);
-
-  //keep modification of the subshapes in the Context.
-  TopExp_Explorer aExp(myInitShape,TopAbs_FACE);
-  for( ; aExp.More(); aExp.Next())
-    myDone = (getModifications( aExp.Current(),aSewing) || myDone);
-
-  TopoDS_Shape aTempShape = myContext->Apply(aSewShape);
-  //obtained shells with fixed orientation for manifold and nonmanifold shells
-  if(myFacesMode) 
-    myDone = getShells(aTempShape) || myDone;
-
-  //obtained manifold wires if sewing edges was performed.
-  if(myEdgesMode) 
-    myDone = getWires(aTempShape) || myDone;
-  
-  if(myDone)
-    myResultShape = myContext->Apply(aTempShape);
-    
-  return myDone;
-}
-//=======================================================================
-//function : getShells
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::getShells(const TopoDS_Shape& theSewShape) const
-{
-  Standard_Boolean isDone = Standard_False;
-  TopoDS_Shape aTmpShape = theSewShape;
-  if(myNonManifoldMode) {
-    TopoDS_Shell tempShell;
-    BRep_Builder aB;
-    aB.MakeShell(tempShell);
-    
-    for(TopExp_Explorer aExpf(theSewShape,TopAbs_FACE);aExpf.More(); aExpf.Next()) 
-      aB.Add(tempShell,aExpf.Current());
-    aTmpShape = tempShell;
-    myContext->Replace(theSewShape,aTmpShape);
-  }
-  
-  Handle(ShapeFix_Shell) asfs = new ShapeFix_Shell;
-  asfs->SetContext(myContext);
-  TopExp_Explorer aexpShell(aTmpShape,TopAbs_SHELL);
-  for ( ; aexpShell.More(); aexpShell.Next()) 
-    isDone = (asfs->FixFaceOrientation(TopoDS::Shell(aexpShell.Current()),
-                                       Standard_True,myNonManifoldMode) || isDone);
-  
-  return isDone;
-}
-//=======================================================================
-//function : getWires
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::getWires(const TopoDS_Shape& theSewShape) const
-{
-  if(theSewShape.ShapeType() != TopAbs_COMPOUND)
-    return Standard_False;
-  
-  Handle(TopTools_HSequenceOfShape) aSeqEdges = new TopTools_HSequenceOfShape;
-  TopExp_Explorer aexpEdges(theSewShape,TopAbs_EDGE,TopAbs_WIRE);
-  for ( ; aexpEdges.More(); aexpEdges.Next()) {
-    aSeqEdges->Append(aexpEdges.Current());
-  }
-  if(aSeqEdges->Length() <2)
-    return Standard_False;
-  //get manifold wires from sewed edges.
-  Standard_Real aTol = 0.;
-  Standard_Boolean aShared = Standard_True;
-  Handle(TopTools_HSequenceOfShape) aTmpWires = new TopTools_HSequenceOfShape;
-  ShapeAnalysis_FreeBounds::ConnectEdgesToWires(aSeqEdges, aTol, aShared, aTmpWires);
-
-  TopTools_MapOfShape aMapEdges;
-  Standard_Integer i =1;
-  for( ; i <= aSeqEdges->Length(); i++)
-    aMapEdges.Add(aSeqEdges->Value(i));
-  
-  //remove free edges from result shape.
-  TopoDS_Compound aNewComp;
-  deleteFreeEdges(theSewShape,aMapEdges,aNewComp);
-  
-  //add new wires in the result shape.
-  BRep_Builder aB;
-  for( i =1; i <= aTmpWires->Length(); i++) {
-    TopoDS_Iterator aite(aTmpWires->Value(i));
-    Standard_Integer nbe =0;
-    TopoDS_Shape aE;
-    for( ; aite.More() && nbe < 3; aite.Next(),nbe++)
-      aE = aite.Value();
-    if(!nbe)
-      continue;
-    else if(nbe ==1)
-      aB.Add(aNewComp,aE);
-    else
-      aB.Add(aNewComp,aTmpWires->Value(i));
-  }
-  
-  myContext->Replace(theSewShape,aNewComp);
-  return Standard_True;
-}
-//=======================================================================
-//function : getHistory
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::getModifications(const TopoDS_Shape& theShape,
-                                                     const Handle(BRepBuilderAPI_Sewing)& theSewing) const
-{
-  if((Standard_Integer)theShape.ShapeType() > (Standard_Integer)myHistoryLevel)
-    return Standard_False;
-  
-  Standard_Boolean isDone = theSewing->IsModifiedSubShape(theShape);
-  if(isDone) {
-    TopoDS_Shape aNewShape = theSewing->ModifiedSubShape(theShape);
-    myContext->Replace(theShape,aNewShape);
-  }
-  TopoDS_Iterator aIt(theShape);
-  for( ; aIt.More(); aIt.Next()) {
-    isDone = (getModifications( aIt.Value(),theSewing) || isDone);
-  }
-  return isDone;
-    
-}
-//=======================================================================
-//function : isSewed
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_Sewing::isSewed(const TopoDS_Shape& theShape) const
-{
-  Standard_Integer nbNewShells =0;
-  Standard_Integer nbOldShells =0;
-  TopExp_Explorer aExpShells(theShape,TopAbs_SHELL);
-  for( ; aExpShells.More(); aExpShells.Next())
-    nbNewShells++;
-  for( aExpShells.Init(myInitShape,TopAbs_SHELL); aExpShells.More(); aExpShells.Next())
-    nbOldShells++;
-  return (nbNewShells != nbOldShells);
-}
-//=======================================================================
-//function : deleteFreeEdges
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_Sewing::deleteFreeEdges(const TopoDS_Shape& theSewShape, 
-                                        TopTools_MapOfShape& theMapEdges,
-                                        TopoDS_Compound& theNewComp) const
-{
-  BRep_Builder aB;
-  aB.MakeCompound(theNewComp);
-  TopoDS_Iterator aIt(theSewShape);
-  
-  for( ; aIt.More(); aIt.Next()) {
-    if((aIt.Value().ShapeType() == TopAbs_EDGE ) && theMapEdges.Contains(aIt.Value()))
-      continue;
-    else if(aIt.Value().ShapeType() == TopAbs_COMPOUND) {
-      TopoDS_Compound aC;
-      deleteFreeEdges(aIt.Value(),theMapEdges,aC);
-      aB.Add(theNewComp,aC);
-    }
-    else
-      aB.Add(theNewComp,aIt.Value());
-  }
-}
diff --git a/src/ShHealOper/ShHealOper_Sewing.hxx b/src/ShHealOper/ShHealOper_Sewing.hxx
deleted file mode 100644 (file)
index 8872e29..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// File:      ShHealOper_Sewing.hxx
-// Created:   29.04.04 13:29:10
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_Sewing_HeaderFile
-#define ShHealOper_Sewing_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <ShHealOper_Tool.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <BRepBuilderAPI_Sewing.hxx>
-#include <TopoDS_Compound.hxx>
-#include <TopTools_MapOfShape.hxx>
-#include <TopTools_SequenceOfShape.hxx>
-
-///  Class ShHealOper_Sewing
-//Intended for sewing of shapes.
-
-class ShHealOper_Sewing : public ShHealOper_Tool
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  
-  Standard_EXPORT ShHealOper_Sewing () : ShHealOper_Tool() {}
-  // Empty constructor
-  
-  Standard_EXPORT ShHealOper_Sewing (const TopoDS_Shape& theShape,
-                                     const Standard_Real theTolerance);
-  //Constructor for initalization by shape and tolerance.
-
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-   //Method for initalization by whole shape.
-  
-  Standard_EXPORT Standard_Boolean Perform();
-  //Performs sewing specified whole shape.
-
-  Standard_EXPORT Standard_Boolean Perform(const TopTools_SequenceOfShape& theSeqShapes);
-  //Performs local sewing specified sub-shapes from whole shape.
-  
-  inline void SetFacesMode(const Standard_Boolean theFacesMode )
-  {
-    myFacesMode = theFacesMode;
-  }
-  //Set mode for sewing faces.(by default true)
-
-  inline Standard_Boolean GetFacesMode( )
-  {
-    return myFacesMode;
-  }
-  //Get mode for sewing of faces.
-  
-   inline void SetFloatingEdgesMode(const Standard_Boolean theEdgesMode )
-  {
-    myEdgesMode = theEdgesMode;
-  }
-  //Set mode for sewing floating edges.(by default false)
-
-  inline Standard_Boolean GetFloatingEdgesMode( )
-  {
-    return myEdgesMode;
-  }
-  //Get mode for sewing of floating edges.
-
-  inline void SetNonManifoldMode(const Standard_Boolean theNonManifoldMode )
-  {
-    myNonManifoldMode = theNonManifoldMode;
-  }
-  //Set NonManifoldMode mode  for sewing (by default false)
-
-  inline Standard_Boolean GetNonManifoldMode( )
-  {
-    return myNonManifoldMode;
-  }
-  //Get NonManifoldMode mode for sewing.
-  
-  inline void SetTolerance(const Standard_Real theToler)
-  {
-    myTolerance = theToler;
-  }
-  //set tolerance for sewing.
-
-  inline Standard_Real GetTolerance()
-  {
-    return myTolerance;
-  }
-  //get tolerance set for sewing.
-
-  inline void SetHistoryLevel(TopAbs_ShapeEnum theHistLevel)
-  {
-    myHistoryLevel =theHistLevel;
-  }
-  //set shape level (default TopAbs_FACE) for keeping modifications of the shapes.
-  
-  inline TopAbs_ShapeEnum GetHistoryLevel()
-  {
-    return myHistoryLevel;
-  }
-  //get specified shape level for keeping history.
-
- private:
-  // ---------- PRIVATE METHODS ----------
-  
-  Standard_Boolean sewing(const TopTools_SequenceOfShape& theSeqShapes);
-  Standard_Boolean getShells(const TopoDS_Shape& theSewShape) const;
-  Standard_Boolean getWires(const TopoDS_Shape& theSewShape) const;
-  Standard_Boolean getModifications(const TopoDS_Shape& theShape,
-                                    const Handle(BRepBuilderAPI_Sewing)& theSewing) const;
-  
-  Standard_Boolean isSewed(const TopoDS_Shape& theShape) const;
-
-  void deleteFreeEdges(const TopoDS_Shape& theSewShape, 
-                       TopTools_MapOfShape& theMapEdges,
-                       TopoDS_Compound& theNewComp) const;
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  Standard_Boolean myNonManifoldMode;
-  Standard_Boolean myEdgesMode;
-  Standard_Boolean myFacesMode;
-  Standard_Real myTolerance;
-  TopAbs_ShapeEnum myHistoryLevel;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_Sewing)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_Sewing, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_ShapeProcess.cxx b/src/ShHealOper/ShHealOper_ShapeProcess.cxx
deleted file mode 100644 (file)
index 061d881..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-// File:      ShHealOper_ShapeProcess.cxx
-// Created:   14.04.04 10:58:04
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-#include <ShHealOper_ShapeProcess.hxx>
-#include <ShapeProcessAPI_ApplySequence.hxx>
-#include <ShapeProcess_Context.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <Resource_Manager.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopAbs_ShapeEnum.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <ShapeProcess_ShapeContext.hxx>
-#include <ShapeAnalysis_ShapeTolerance.hxx>
-#include <Precision.hxx>
-#include <BRep_Builder.hxx>
-#include <TopoDS_Iterator.hxx>
-#include <TColStd_IndexedDataMapOfTransientTransient.hxx>
-#include <TNaming_CopyShape.hxx>
-
-//=======================================================================
-//function : ShHealOper_ShapeProcess()
-//purpose  : Constructor
-//=======================================================================
-
-ShHealOper_ShapeProcess::ShHealOper_ShapeProcess (  ) :
-       myOperations(TCollection_AsciiString("ShHealing").ToCString(),
-                    TCollection_AsciiString("ShapeProcess").ToCString())
-{
-   //myResource = new Resource_Manager("ShHealing");
-   myPrefix = "ShapeProcess";
-   mySaveHistoryMode = Standard_False;
-   myLevel = TopAbs_FACE;
-   myDone = Standard_False;
-}
-
-//=======================================================================
-//function : ShHealOper_ShapeProcess
-//purpose  : 
-//=======================================================================
-
-ShHealOper_ShapeProcess::ShHealOper_ShapeProcess (const TCollection_AsciiString& theNameResource,
-                                                  const TCollection_AsciiString& thePrefix ) :
-       myOperations(theNameResource.ToCString(),thePrefix.ToCString())
-{
-  //myResource = new Resource_Manager(theNameResource);
-  myPrefix = thePrefix;
-  mySaveHistoryMode = Standard_False;
-  myLevel = TopAbs_FACE;
-  myDone = Standard_False;
-}
-
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
-void ShHealOper_ShapeProcess::Perform(const TopoDS_Shape& theOldShape, 
-                                           TopoDS_Shape& theNewShape)
-{
-  
-  myMapModifications.Clear();
-  //ShapeProcessAPI_ApplySequence aOperations(myResource,myPrefix.ToCString());
-  //myDone = Standard_False;
-  myOperations.ClearMap();
-  ShapeAnalysis_ShapeTolerance aSatol;
-  Standard_Real ainitTol = aSatol.Tolerance(theOldShape,0);
-
-  // PAL6487: san -- preserve the original shape from being modified
-  TopoDS_Shape anOldShape;
-  TColStd_IndexedDataMapOfTransientTransient aMap;
-  TNaming_CopyShape::CopyTool(theOldShape, aMap, anOldShape);
-  // PAL6487: san -- preserve the original shape from being modified
-
-  theNewShape = myOperations.PrepareShape(anOldShape,mySaveHistoryMode,myLevel);
-  if(mySaveHistoryMode)
-    myMapModifications = myOperations.Map();
-  myDone = !anOldShape.IsSame(theNewShape);
-  if(!myDone) {
-    Standard_Real aendTol =aSatol.Tolerance(theNewShape,0);
-    myDone = (fabs(ainitTol - aendTol) > Precision::Confusion()); 
-  }
-}
-//=======================================================================
-//function : SetOperators
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_ShapeProcess::SetOperators(const TColStd_SequenceOfAsciiString& theSeqOperators)
-{
-  
-  TCollection_AsciiString anameParam(myPrefix);
-  anameParam += ".";
-  anameParam += "exec.op";
-  TCollection_AsciiString aseq;
-  Standard_Integer i =1;
-  for( ; i <= theSeqOperators.Length(); i++) {
-    aseq += theSeqOperators.Value(i);
-    aseq += " ";
-  }
-    
-  myOperations.Context()->ResourceManager()->SetResource(anameParam.ToCString(),aseq.ToCString());
-}
-//=======================================================================
-//function : SetParameter
-//purpose  : 
-//=======================================================================
-
-void  ShHealOper_ShapeProcess::SetParameter(const TCollection_AsciiString& theNameParam,
-                                    const TCollection_AsciiString& theVal)
-{
-  TCollection_AsciiString anameParam(myPrefix);
-  anameParam += ".";
-  anameParam+= theNameParam;
-  if(theVal.IsIntegerValue())
-    myOperations.Context()->ResourceManager()->
-      SetResource(anameParam.ToCString(),theVal.IntegerValue());
-  else if(theVal.IsRealValue())
-    myOperations.Context()->ResourceManager()->
-      SetResource(anameParam.ToCString(),theVal.RealValue());
-  else
-    myOperations.Context()->ResourceManager()->
-      SetResource(anameParam.ToCString(),theVal.ToCString());
-
-}
-//=======================================================================
-//function : GetOperators
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_ShapeProcess::GetOperators(TColStd_SequenceOfAsciiString& theSeqOperators)
-{
-  TCollection_AsciiString nameSeq(myPrefix);
-  nameSeq +=".exec.op";
-  if(!myOperations.Context()->ResourceManager()->Find(nameSeq.ToCString()))
-    return Standard_False;
-  
-  TCollection_AsciiString seqoper = myOperations.Context()->ResourceManager()->Value(nameSeq.ToCString());
-  Standard_Integer i;
-  for ( i=1; ; i++ ) {
-    TCollection_AsciiString anOper = seqoper.Token ( " \t,;", i );
-    if ( anOper.Length() <=0 ) break;
-    theSeqOperators.Append(anOper);
-  }
-  return (theSeqOperators.Length());
-}
-//=======================================================================
-//function : GetParameter
-//purpose  : 
-//=======================================================================
-
-Standard_Boolean ShHealOper_ShapeProcess::GetParameter(const TCollection_AsciiString& theNameParam,
-                                       TCollection_AsciiString& theVal)
-{
-  TCollection_AsciiString namePar(myPrefix);
-  namePar += ".";
-  namePar += theNameParam;
-  if(!myOperations.Context()->ResourceManager()->Find(namePar.ToCString()))
-    return Standard_False;
-  
-  theVal = myOperations.Context()->ResourceManager()->Value(namePar.ToCString());
-  return Standard_True;
-}
diff --git a/src/ShHealOper/ShHealOper_ShapeProcess.hxx b/src/ShHealOper/ShHealOper_ShapeProcess.hxx
deleted file mode 100644 (file)
index 62f2c3a..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// File:      ShHealOper_ShapeProcess.hxx
-// Created:   13.04.04 11:45:20
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_ShapeProcess_HeaderFile
-#define ShHealOper_ShapeProcess_HeaderFile
-
-#include <Resource_Manager.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopTools_DataMapOfShapeShape.hxx>
-#include <TColStd_SequenceOfAsciiString.hxx>
-#include <TCollection_AsciiString.hxx>
-#include <ShapeProcessAPI_ApplySequence.hxx>
-#include <ShapeProcess_ShapeContext.hxx>
-
-///  Class ShHealOper_ShapeProcess
-//Class for performing Shape healing operations on the shape.
-
-class ShHealOper_ShapeProcess 
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  /// Empty constructor
-  Standard_EXPORT ShHealOper_ShapeProcess();
-  //Constuctor initializes by defaults parameters 
-  // (name of resource file - ShHealing, prefix - ShapeProcess, 
-  // SaveHistory = Standard_False, level = TopAbs_FACE)
-
-  /// Copy constructor
-  Standard_EXPORT ShHealOper_ShapeProcess 
-    (const TCollection_AsciiString& theNameResource,
-     const TCollection_AsciiString& thePrefix = "ShapeProcess");
-  //Constuctor initializes by specified name of resource file and prefix
-  
-  Standard_EXPORT void Perform(const TopoDS_Shape& theOldShape, 
-                                           TopoDS_Shape& theNewShape);
-  //Perform modifications of specified shape.
-  
-  Standard_EXPORT void SetOperators(const TColStd_SequenceOfAsciiString& theSeqOperators);
-  //Set sequence of operatotrs different than sequence written in the resourse file.
-  
-  Standard_EXPORT Standard_Boolean GetOperators(TColStd_SequenceOfAsciiString& theSeqOperators);
-  //Get sequence of operators.
-
-  Standard_EXPORT void SetParameter(const TCollection_AsciiString& theNameParam,
-                                    const TCollection_AsciiString& theVal);
-  //Set value of specified parameter different than value written in the resourse file.
-  
-  Standard_EXPORT Standard_Boolean GetParameter(const TCollection_AsciiString& theNameParam,
-                                       TCollection_AsciiString& theVal);
-  //Get value of parameter by it's name.
-
- inline void SetSaveHistoryMode(const Standard_Boolean theSaveHistory,
-                                TopAbs_ShapeEnum theuntil = TopAbs_FACE)
- {
-   mySaveHistoryMode = theSaveHistory;
-   myLevel = theuntil;
- }
-  //Set SaveHistoryMode nnd level of the shapes until history will be saved to the
-  //specified values.
-
-
-  inline Standard_Boolean GetSaveHistoryMode()
-  {
-    return mySaveHistoryMode;
-  }
-  //Returns SaveHistoryMode.
-  
-  inline Standard_Boolean GetModifiedShape(const TopoDS_Shape& theOldShape,
-                                           TopoDS_Shape& theNewShape)
-  {
-    Standard_Boolean isModif = (!myMapModifications.IsEmpty() && 
-                                myMapModifications.IsBound(theOldShape));
-    if(isModif)
-      theNewShape = myMapModifications.Find(theOldShape);
-    else
-      theNewShape = theOldShape;
-    return isModif;
-  }
-  //Get modified shape for any specified shape
-  
-  inline Standard_Boolean isDone()
-  {
-    return myDone;
-  }
-  //returns status of operation.
- protected:
-  // ---------- PROTECTED METHODS ----------
-
-
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  //Handle(Resource_Manager) myResource;
-  ShapeProcessAPI_ApplySequence myOperations;
-  TCollection_AsciiString myPrefix;
-  TopTools_DataMapOfShapeShape myMapModifications;
-  Standard_Boolean mySaveHistoryMode;
-  TopAbs_ShapeEnum myLevel;
-  Standard_Boolean myDone;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_ShapeProcess)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_ShapeProcess, )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_SpiltCurve2d.hxx b/src/ShHealOper/ShHealOper_SpiltCurve2d.hxx
deleted file mode 100644 (file)
index e7cd704..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// File:      ShHealOper_SplitCurve2d.hxx
-// Created:   05.05.04 12:56:01
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_SplitCurve2d_HeaderFile
-#define ShHealOper_SplitCurve2d_HeaderFile
-
-#include <ShapeUpgrade_SplitCurve3d.hxx>
-#include <TColStd_HSequenceOfReal.hxx>
-
-///  Class ShHealOper_SplitCurve2d
-//Auxiliary class for class ShHealOper_EdgeDivide
-
-class ShHealOper_SplitCurve2d : public ShapeUpgrade_SplitCurve2d
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  
-  Standard_EXPORT ShHealOper_SplitCurve2d () : ShapeUpgrade_SplitCurve2d {}
-  // Empty constructor
-  
-  Standard_EXPORT virtual void Compute();
-  
-  inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
-  {
-    myValues = theValues;
-  } 
-
-
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  Handle(TColStd_HSequenceOfReal) myValues;
-
-
- public:
-// Declaration of CASCADE RTTI
-DEFINE_STANDARD_RTTI (ShHealOper_SplitCurve2d)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_SplitCurve2d.cxx b/src/ShHealOper/ShHealOper_SplitCurve2d.cxx
deleted file mode 100644 (file)
index 2cc261f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// File:      ShHealOper_SplitCurve2d.cxx
-// Created:   05.05.04 13:03:10
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#include <ShHealOper_SplitCurve2d.hxx>
-#include <ShapeExtend_Status.hxx>
-#include <ShapeExtend.hxx>
-
-IMPLEMENT_STANDARD_HANDLE (ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d)
-IMPLEMENT_STANDARD_RTTIEXT(ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d)
-
-//=======================================================================
-//function : Compute
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_SplitCurve2d::Compute()
-{
-  if(myValues.IsNull())
-    myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL);
-  else {
-    SetSplitValues(myValues);
-    myStatus = ShapeExtend::EncodeStatus (ShapeExtend_DONE1);
-  }
-}
-
-
-
diff --git a/src/ShHealOper/ShHealOper_SplitCurve2d.hxx b/src/ShHealOper/ShHealOper_SplitCurve2d.hxx
deleted file mode 100644 (file)
index ca1f7aa..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// File:      ShHealOper_SplitCurve2d.hxx
-// Created:   05.05.04 12:56:01
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_SplitCurve2d_HeaderFile
-#define ShHealOper_SplitCurve2d_HeaderFile
-
-#include <ShapeUpgrade_SplitCurve2d.hxx>
-#include <TColStd_HSequenceOfReal.hxx>
-#include <Standard_DefineHandle.hxx>
-///  Class ShHealOper_SplitCurve2d
-//Auxiliary class for class ShHealOper_EdgeDivide
-
-class ShHealOper_SplitCurve2d : public ShapeUpgrade_SplitCurve2d
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  
-  Standard_EXPORT ShHealOper_SplitCurve2d () : ShapeUpgrade_SplitCurve2d() {}
-  // Empty constructor
-  
-  Standard_EXPORT virtual void Compute();
-  
-  inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
-  {
-    myValues = theValues;
-  } 
-
-
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-
-  Handle(TColStd_HSequenceOfReal) myValues;
-
-
- public:
-// Declaration of CASCADE RTTI
-DEFINE_STANDARD_RTTI (ShHealOper_SplitCurve2d)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve2d,ShapeUpgrade_SplitCurve2d )
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_SplitCurve3d.cxx b/src/ShHealOper/ShHealOper_SplitCurve3d.cxx
deleted file mode 100644 (file)
index 67405da..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// File:      ShHealOper_SplitCurve3d.cxx
-// Created:   05.05.04 12:48:36
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#include <ShHealOper_SplitCurve3d.hxx>
-#include <ShapeExtend_Status.hxx>
-#include <ShapeExtend.hxx>
-
-IMPLEMENT_STANDARD_HANDLE (ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
-IMPLEMENT_STANDARD_RTTIEXT(ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
-
-//=======================================================================
-//function : Compute
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_SplitCurve3d::Compute()
-{
-  if(myValues.IsNull())
-    myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL);
-  else {
-    SetSplitValues(myValues);
-    myStatus = ShapeExtend::EncodeStatus (ShapeExtend_DONE1);
-  }
-}
-
-
diff --git a/src/ShHealOper/ShHealOper_SplitCurve3d.hxx b/src/ShHealOper/ShHealOper_SplitCurve3d.hxx
deleted file mode 100644 (file)
index 97feb74..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// File:      ShHealOper_SplitCurve3d.hxx
-// Created:   05.05.04 12:28:13
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_SplitCurve3d_HeaderFile
-#define ShHealOper_SplitCurve3d_HeaderFile
-
-#include <ShapeUpgrade_SplitCurve3d.hxx>
-#include <TColStd_HSequenceOfReal.hxx>
-#include <Standard_DefineHandle.hxx>
-
-///  Class ShHealOper_SplitCurve3d
-//Auxiliary class for class ShHealOper_EdgeDivide
-
-class ShHealOper_SplitCurve3d : public ShapeUpgrade_SplitCurve3d
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  
-  Standard_EXPORT ShHealOper_SplitCurve3d () : ShapeUpgrade_SplitCurve3d() {}
-  // Empty constructor
-
-  Standard_EXPORT virtual void Compute();
-  
-  inline void SetValues(const Handle(TColStd_HSequenceOfReal)& theValues)
-  {
-    myValues = theValues;
-  } 
-
-
- private:
-  // ---------- PRIVATE FIELDS ----------
-  Handle(TColStd_HSequenceOfReal) myValues;
-
-
-
- public:
-// Declaration of CASCADE RTTI
-DEFINE_STANDARD_RTTI (ShHealOper_SplitCurve3d)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-DEFINE_STANDARD_HANDLE (ShHealOper_SplitCurve3d,ShapeUpgrade_SplitCurve3d)
-
-
-#endif
diff --git a/src/ShHealOper/ShHealOper_Tool.cxx b/src/ShHealOper/ShHealOper_Tool.cxx
deleted file mode 100644 (file)
index dd3164d..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-// File:      ShHealOper_Tool.cxx
-// Created:   26.04.04 12:11:33
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-
-#include <ShHealOper_Tool.hxx>
-
-//=======================================================================
-//function : ShHealOper_Tool()
-//purpose  : Constructor
-//=======================================================================
-
-ShHealOper_Tool::ShHealOper_Tool (  )
-{
-  myContext = new ShapeBuild_ReShape;
-  myDone = Standard_False;
-  myErrorStatus =ShHealOper_NotError;
-}
-//=======================================================================
-//function : ShHealOper_Tool
-//purpose  : 
-//=======================================================================
-
-ShHealOper_Tool::ShHealOper_Tool ( const TopoDS_Shape& theShape )
-{
-  
-  myContext = new ShapeBuild_ReShape;
-  Init(theShape);
-}
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
-
-void ShHealOper_Tool::Init(const TopoDS_Shape& theShape)
-{
-  myDone = Standard_False;
-  myErrorStatus =ShHealOper_NotError;
-  myInitShape = theShape;
-  myContext->Apply(myInitShape);
-}
diff --git a/src/ShHealOper/ShHealOper_Tool.hxx b/src/ShHealOper/ShHealOper_Tool.hxx
deleted file mode 100644 (file)
index 7ec0feb..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-// File:      ShHealOper_Tool.hxx
-// Created:   26.04.04 11:36:04
-// Author:    Galina KULIKOVA
-//  < MODULE = KERNEL> <PACKAGE = ShHealOper> : <Shape Healing Operations>
-//  Copyright (C) 2003  CEA
-//
-//  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.
-//
-
-//  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
-//
-
-
-#ifndef ShHealOper_Tool_HeaderFile
-#define ShHealOper_Tool_HeaderFile
-
-#include <MMgt_TShared.hxx>
-#include <ShapeBuild_ReShape.hxx>
-#include <TopoDS_Shape.hxx>
-
-///  Class ShHealOper_Tool
-//
-//enumeration for definition of the status of the error if operation failed
-enum ShHealOper_Error {
-  ShHealOper_NotError,
-  ShHealOper_InvalidParameters,
-  ShHealOper_ErrorExecution
-};
-
-class ShHealOper_Tool 
-{
- public:
-  // ---------- PUBLIC METHODS ----------
-
-  /// Empty constructor
-  Standard_EXPORT ShHealOper_Tool () ;
-
-  Standard_EXPORT ShHealOper_Tool (const TopoDS_Shape& theShape);
-  // Constructor initialized by shape from which faces will be removed.
-
-  Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
-  //Method for initalization by whole shape.
-  
-  inline const TopoDS_Shape& GetResultShape() const
-  {
-    return myResultShape;
-
-  }
-  //Returns result shape.
-
-  inline Standard_Boolean GetModifiedShape(const TopoDS_Shape& theOldShape,
-                                           TopoDS_Shape& theNewShape) const
-  {
-    theNewShape = myContext->Apply(theOldShape);
-    return (!theNewShape.IsSame(theOldShape));
-  }
-  //Returns modified shape obtained after operation from initial shape.
-
-  inline Standard_Boolean IsDone() const 
-  {
-    return myDone;
-  }
-  //Returns status of the operation.
-  
-  inline void SetContext(Handle(ShapeBuild_ReShape)& theContext)
-  {
-    myContext = theContext;
-  }
-  //Initialization by context keeping modification of sub-shapes.
-
-  inline Handle(ShapeBuild_ReShape) Context()
-  {
-    return myContext;
-  }
-  //Returns context keeping modification of sub-shapes
-
-  inline Standard_Integer GetErrorStatus()
-  {
-    return myErrorStatus;
-  }
- protected:
-  // ---------- PROTECTED FIELDS ----------
-
-  Handle(ShapeBuild_ReShape) myContext;
-  TopoDS_Shape myInitShape;
-  TopoDS_Shape myResultShape;
-  Standard_Boolean myDone;
-  ShHealOper_Error myErrorStatus;
- public:
-// Declaration of CASCADE RTTI
-//DEFINE_STANDARD_RTTI (ShHealOper_Tool)
-};
-
-// Definition of HANDLE object using Standard_DefineHandle.hxx
-//DEFINE_STANDARD_HANDLE (ShHealOper_Tool, )
-
-
-#endif
diff --git a/src/TransformationGUI/Makefile.in b/src/TransformationGUI/Makefile.in
deleted file mode 100644 (file)
index 22de12a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#  GEOM TRANSFORMATIONGUI : 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  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. 
-# 
-#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
-#  File   : Makefile.in
-#  Author : Damien COQUERET (OCC)
-#  Module : GEOM
-#  $Header: 
-
-top_srcdir=@top_srcdir@
-top_builddir=../..
-srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl
-
-
-@COMMENCE@
-
-# header files 
-EXPORT_HEADERS=
-
-# Libraries targets
-LIB = libTransformationGUI.la 
-
-LIB_SRC =      TransformationGUI.cxx \
-               TransformationGUI_MultiTranslationDlg.cxx \
-               TransformationGUI_MultiRotationDlg.cxx \
-               TransformationGUI_TranslationDlg.cxx \
-               TransformationGUI_RotationDlg.cxx \
-               TransformationGUI_MirrorDlg.cxx \
-               TransformationGUI_ScaleDlg.cxx \
-               TransformationGUI_OffsetDlg.cxx \
-               TransformationGUI_PositionDlg.cxx
-
-LIB_MOC = \
-               TransformationGUI_MultiTranslationDlg.h \
-               TransformationGUI_MultiRotationDlg.h \
-               TransformationGUI_TranslationDlg.h \
-               TransformationGUI_RotationDlg.h \
-               TransformationGUI_MirrorDlg.h \
-               TransformationGUI_ScaleDlg.h \
-               TransformationGUI_OffsetDlg.h \
-               TransformationGUI_PositionDlg.h
-
-LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Component.idl SALOME_Exception.idl
-
-LIB_SERVER_IDL = 
-
-# additionnal information to compil and link file
-
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
-
-LDFLAGS += -lGEOMFiltersSelection -lGEOMBase
-
-@CONCLUDE@
diff --git a/src/TransformationGUI/TransformationGUI.cxx b/src/TransformationGUI/TransformationGUI.cxx
deleted file mode 100644 (file)
index 84c7907..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI.h"
-#include "GeometryGUI.h"
-
-#include "SUIT_Session.h"
-#include "SUIT_Desktop.h"
-
-#include "TransformationGUI_MultiTranslationDlg.h"   // Method MULTI TRANSLATION
-#include "TransformationGUI_MultiRotationDlg.h"      // Method MULTI ROTATION
-#include "TransformationGUI_TranslationDlg.h"        // Method TRANSLATION
-#include "TransformationGUI_RotationDlg.h"           // Method ROTATION
-#include "TransformationGUI_MirrorDlg.h"             // Method MIRROR
-#include "TransformationGUI_ScaleDlg.h"              // Method SCALE
-#include "TransformationGUI_OffsetDlg.h"             // Method OFFSET
-#include "TransformationGUI_PositionDlg.h"           // Method POSITION
-
-using namespace std;
-
-TransformationGUI* TransformationGUI::myGUIObject = 0;
-
-//=======================================================================
-// function : GetTransformationGUI()
-// purpose  : Get the only TransformationGUI object [ static ]
-//=======================================================================
-TransformationGUI* TransformationGUI::GetTransformationGUI( GeometryGUI* parent )
-{
-  if ( myGUIObject == 0 ) {
-    // init TransformationGUI only once
-    myGUIObject = new TransformationGUI( parent );
-  }
-  return myGUIObject;
-}
-
-//=======================================================================
-// function : TransformationGUI()
-// purpose  : Constructor
-//=======================================================================
-TransformationGUI::TransformationGUI(GeometryGUI* parent) : GEOMGUI(parent)
-{
-}
-
-
-//=======================================================================
-// function : ~TransformationGUI()
-// purpose  : Destructor
-//=======================================================================
-TransformationGUI::~TransformationGUI()
-{
-}
-
-
-//=======================================================================
-// function : OnGUIEvent()
-// purpose  : 
-//=======================================================================
-bool TransformationGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
-{
-  getGeometryGUI()->EmitSignalDeactivateDialog();
-  QDialog* aDlg = NULL;
-
-  switch (theCommandID)
-    {
-    case 5021: // TRANSLATION
-      {        
-       aDlg = new TransformationGUI_TranslationDlg( getGeometryGUI(), parent, "" );
-       break;
-      }
-    case 5022: // ROTATION
-      {        
-       aDlg = new TransformationGUI_RotationDlg( parent, "" );
-       break;
-      }
-    case 5023: // POSITION
-      {        
-       aDlg = new TransformationGUI_PositionDlg( parent, "" );
-       break;
-      }
-    case 5024: // MIRROR
-      {        
-       aDlg = new TransformationGUI_MirrorDlg( parent, "" );
-       break;
-      }
-    case 5025: // SCALE
-      {        
-       aDlg = new TransformationGUI_ScaleDlg( getGeometryGUI(), parent, "" );
-       break;
-      }
-    case 5026: // OFFSET
-      {        
-       aDlg = new TransformationGUI_OffsetDlg( parent, "" );
-       break;
-      }  
-    case 5027: // MULTI TRANSLATION
-      {        
-       aDlg = new TransformationGUI_MultiTranslationDlg( getGeometryGUI(), parent, "" );
-       break;
-      }
-    case 5028: // MULTI ROTATION
-      {        
-       aDlg = new TransformationGUI_MultiRotationDlg( getGeometryGUI(), parent, "" );
-       break;
-      }
-    default:
-      {
-       SUIT_Session::session()->activeApplication()->putInfo(tr("GEOM_PRP_COMMAND").arg(theCommandID));
-       break;
-      }
-    }
-
-  if ( aDlg != NULL )
-    aDlg->show();
-
-  return true;
-}
-
-
-//=====================================================================================
-// EXPORTED METHODS
-//=====================================================================================
-extern "C"
-{
-#ifdef WNT
-       __declspec( dllexport )
-#endif
-  GEOMGUI* GetLibGUI( GeometryGUI* parent )
-  {
-    return TransformationGUI::GetTransformationGUI( parent );
-  }
-}
diff --git a/src/TransformationGUI/TransformationGUI.h b/src/TransformationGUI/TransformationGUI.h
deleted file mode 100644 (file)
index 96f4897..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef TRANSFORMATIONGUI_H
-#define TRANSFORMATIONGUI_H
-
-#include "GEOMGUI.h"
-
-
-//=================================================================================
-// class    : TransformationGUI
-// purpose  :
-//=================================================================================
-class TransformationGUI : public GEOMGUI
-{
-protected:
-  TransformationGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
-public :
-  ~TransformationGUI();
-
-  // Get the only TransformationGUI object
-  static TransformationGUI* GetTransformationGUI( GeometryGUI* parent );
-
-  bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
-  static TransformationGUI* myGUIObject;        // the only TransformationGUI object
-};
-
-#endif
diff --git a/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx b/src/TransformationGUI/TransformationGUI_MirrorDlg.cxx
deleted file mode 100644 (file)
index d255e8f..0000000
+++ /dev/null
@@ -1,452 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MirrorDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_MirrorDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_MirrorDlg()
-// purpose  : Constructs a TransformationGUI_MirrorDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_MirrorDlg::TransformationGUI_MirrorDlg(QWidget* parent,  const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_MIRROR_POINT")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_MIRROR_AXE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_MIRROR_PLANE")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_MIRROR_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_MIRROR"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->setPixmap(image2);
-  GroupPoints = new DlgRef_2Sel1Spin2Check(this, "GroupPoints");
-  GroupPoints->SpinBox_DX->hide();
-  GroupPoints->TextLabel3->hide();
-  GroupPoints->CheckButton2->hide();
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_POINT_MIRROR"));
-  GroupPoints->TextLabel2->setFixedWidth(74);
-  GroupPoints->PushButton1->setPixmap(image3);
-  GroupPoints->PushButton2->setPixmap(image3);
-  GroupPoints->CheckButton1->setText(tr("GEOM_CREATE_COPY"));
-  Layout1->addWidget(GroupPoints, 2, 0);
-  
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_MirrorDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_MirrorDlg::~TransformationGUI_MirrorDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::Init()
-{  
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly(true);
-  GroupPoints->LineEdit2->setReadOnly(true);
-  
-  myArgument = GEOM::GEOM_Object::_nil();
-    
-  // Activate Create a Copy mode
-  GroupPoints->CheckButton1->setChecked(true);
-  CreateCopyModeChanged(true);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  
-  connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_MIRROR" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void TransformationGUI_MirrorDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  
-  globalSelection();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit2->clear();
-  myArgument = GEOM::GEOM_Object::_nil();
-  
-  switch (constructorId)
-    {
-    case 0: /* mirror an object by point */
-      {        
-       GroupPoints->TextLabel2->setText(tr("GEOM_POINT_MIRROR"));
-       break;
-      }
-    case 1: /* mirror an object by axe */
-      {
-       GroupPoints->TextLabel2->setText(tr("GEOM_AXE_MIRROR"));
-       break;
-      } 
-    case 2: /* mirror an object by plane */
-      {
-       GroupPoints->TextLabel2->setText(tr("GEOM_PLANE_MIRROR"));
-       break;
-      }
-    }
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MirrorDlg::ClickOnApply()
-{
-  if ( !onAccept(GroupPoints->CheckButton1->isChecked()) )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_MirrorDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void TransformationGUI_MirrorDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    {
-      int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-      if(aNbSel < 1)
-       {
-         myObjects.length(0);
-         return;
-       }
-      GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-      if (!myObjects.length())
-       return;
-      if(aNbSel != 1)
-       aName = tr("%1_objects").arg(aNbSel);
-    }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-    {
-      if(IObjectCount() != 1)
-       {
-         myArgument = GEOM::GEOM_Object::_nil();
-         return;
-       }
-      Standard_Boolean testResult = Standard_False;
-      myArgument = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-      if(!testResult || CORBA::is_nil( myArgument ))
-       return;
-      aName = GEOMBase::GetName( myArgument );
-    }
-  myEditCurrentArgument->setText( aName );
-   
-  displayPreview(); 
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1){
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection();
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    switch(getConstructorId())
-      {
-      case 0:
-       {
-         globalSelection( GEOM_POINT );
-         break;
-       }
-      case 1:
-       {
-         globalSelection( GEOM_LINE );
-         break;
-       }
-      case 2:
-       {
-         globalSelection( GEOM_PLANE );
-         break;
-       }
-      }
-  }
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_MirrorDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void TransformationGUI_MirrorDlg::enterEvent(QEvent * e)
-{
-  if(!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr  TransformationGUI_MirrorDlg::createOperation()
-{
-  return getGeomEngine()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool  TransformationGUI_MirrorDlg::isValid( QString& msg )
-{
-  return !(myObjects.length() == 0 || myArgument->_is_nil());
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool  TransformationGUI_MirrorDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  bool toCreateCopy = IsPreview() || GroupPoints->CheckButton1->isChecked();
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  switch ( getConstructorId() ) 
-    {
-    case 0 :
-      {
-       if (toCreateCopy)
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorPointCopy( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorPoint( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    case 1 :
-      {
-       if (toCreateCopy)
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorAxisCopy( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorAxis( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    case 2:
-      {
-       if (toCreateCopy)
-          for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorPlaneCopy( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-          for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MirrorPlane( myObjects[i], myArgument );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    }
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_MirrorDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MirrorDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  this->GroupBoxName->setEnabled(isCreateCopy);
-}
diff --git a/src/TransformationGUI/TransformationGUI_MirrorDlg.h b/src/TransformationGUI/TransformationGUI_MirrorDlg.h
deleted file mode 100644 (file)
index 150d3ed..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MirrorDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_MIRROR_H
-#define DIALOGBOX_MIRROR_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
-
-#include "TransformationGUI.h"
-  
-
-//=================================================================================
-// class    : TransformationGUI_MirrorDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_MirrorDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_MirrorDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_MirrorDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    
-    GEOM::GEOM_Object_var myArgument;
-    GEOM::ListOfGO        myObjects;
-        
-    DlgRef_2Sel1Spin2Check* GroupPoints;
-    
-private slots :
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int constructorId);
-    void CreateCopyModeChanged(bool isCreateCopy);
-};
-
-#endif // DIALOGBOX_MIRROR_H
diff --git a/src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx b/src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx
deleted file mode 100644 (file)
index aa50241..0000000
+++ /dev/null
@@ -1,483 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MultiRotationDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_MultiRotationDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_MultiRotationDlg()
-// purpose  : Constructs a TransformationGUI_MultiRotationDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_MultiRotationDlg::TransformationGUI_MultiRotationDlg(GeometryGUI* theGeometryGUI, QWidget* parent,  const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_MULTIROTATION_SIMPLE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_MULTIROTATION_DOUBLE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_MULTIROTATION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_MULTIROTATION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel1Spin(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_MULTIROTATION_SIMPLE"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_NB_TIMES"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-  GroupPoints->LineEdit1->setReadOnly(true);
-  GroupPoints->LineEdit2->setReadOnly(true);
-
-  GroupDimensions = new DlgRef_2Sel4Spin1Check(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_MULTIROTATION_DOUBLE"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_VECTOR"));
-  GroupDimensions->TextLabel3->setText(tr("GEOM_ANGLE"));
-  GroupDimensions->TextLabel4->setText(tr("GEOM_NB_TIMES"));
-  GroupDimensions->TextLabel5->setText(tr("GEOM_STEP"));
-  GroupDimensions->TextLabel6->setText(tr("GEOM_NB_TIMES"));
-  GroupDimensions->CheckButton1->setText(tr("GEOM_REVERSE"));
-  GroupDimensions->PushButton1->setPixmap(image2);
-  GroupDimensions->PushButton2->setPixmap(image2);
-  GroupDimensions->LineEdit1->setReadOnly(true);
-  GroupDimensions->LineEdit2->setReadOnly(true);
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_MultiRotationDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_MultiRotationDlg::~TransformationGUI_MultiRotationDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::Init()
-{
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-
-  double SpecificStep1 = 5;
-  double SpecificStep2 = 1;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(1.0, 999.999, SpecificStep2, 3);
-  GroupPoints->SpinBox_DX->SetValue(myNbTimes1);
-
-  GroupDimensions->SpinBox_DX1->RangeStepAndValidator(-999.999, 999.999, SpecificStep1, 3);
-  GroupDimensions->SpinBox_DY1->RangeStepAndValidator(1.0, 999.999, SpecificStep2, 3);
-  GroupDimensions->SpinBox_DX2->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY2->RangeStepAndValidator(1.0, 999.999, SpecificStep2, 3);
-  GroupDimensions->SpinBox_DX1->SetValue(myAng);
-  GroupDimensions->SpinBox_DY1->SetValue(myNbTimes1);
-  GroupDimensions->SpinBox_DX2->SetValue(myStep);
-  GroupDimensions->SpinBox_DY2->SetValue(myNbTimes2);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupDimensions->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupDimensions->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupDimensions->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupDimensions->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DX1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DY1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DX2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DY2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX2, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY2, SLOT(SetStep(double)));
-
-  connect(GroupDimensions->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(ReverseAngle()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_MULTIROTATION" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  myAng = 45.0;
-  myStep = 50.0;
-  myNbTimes1 = myNbTimes2 = 2;
-  
-  globalSelection( GEOM_ALLSHAPES );
-
-  switch (constructorId)
-    {
-    case 0: /* Rotate simple */
-      {
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText("");
-       GroupPoints->LineEdit2->setText("");
-
-       GroupPoints->SpinBox_DX->SetValue(myNbTimes1);
-
-       break;
-      }
-    case 1: /* Rotate double */
-      {
-       GroupPoints->hide();
-       resize(0, 0);
-       GroupDimensions->show();
-
-       myEditCurrentArgument = GroupDimensions->LineEdit1;
-       GroupDimensions->LineEdit1->setText("");
-       GroupDimensions->LineEdit2->setText("");
-
-       GroupDimensions->SpinBox_DX1->SetValue(myAng);
-       GroupDimensions->SpinBox_DY1->SetValue(myNbTimes1);
-       GroupDimensions->SpinBox_DX2->SetValue(myStep);
-       GroupDimensions->SpinBox_DY2->SetValue(myNbTimes2);
-
-       break;
-      }      
-    }
-
-  myEditCurrentArgument->setFocus();
-  myBase = myVector = GEOM::GEOM_Object::_nil();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiRotationDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_MultiRotationDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1 || myEditCurrentArgument == GroupDimensions->LineEdit1)
-      myBase = GEOM::GEOM_Object::_nil();
-    else if(myEditCurrentArgument == GroupPoints->LineEdit2 || myEditCurrentArgument == GroupDimensions->LineEdit2)
-      myVector = GEOM::GEOM_Object::_nil();
-    return;
-  }
-  
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-
-  if ( !testResult || CORBA::is_nil( aSelectedObject ) || !GEOMBase::IsShape( aSelectedObject ) )
-    return;
-
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1 || myEditCurrentArgument == GroupDimensions->LineEdit1)
-    myBase = aSelectedObject;
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2 || myEditCurrentArgument == GroupDimensions->LineEdit2)
-    myVector = aSelectedObject;
-    
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_ALLSHAPES );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE  );
-  }
-  else if(send == GroupDimensions->PushButton1) {
-    myEditCurrentArgument = GroupDimensions->LineEdit1;
-    globalSelection( GEOM_ALLSHAPES );
-  }
-  else if(send == GroupDimensions->PushButton2) {
-    myEditCurrentArgument = GroupDimensions->LineEdit2;
-    globalSelection( GEOM_LINE  );
-  }
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 || send == GroupDimensions->LineEdit1 || 
-     send == GroupPoints->LineEdit2 || send == GroupDimensions->LineEdit2)
-    {
-      myEditCurrentArgument = send; 
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::enterEvent(QEvent* e)
-{
-  if(!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::ValueChangedInSpinBox(double newValue)
-{
-  QObject* send = (QObject*)sender();
-
-  if(send == GroupPoints->SpinBox_DX || send == GroupDimensions->SpinBox_DY1)
-    myNbTimes1 = (int)newValue;
-  else if(send == GroupDimensions->SpinBox_DX1)
-    myAng = newValue;
-  else if(send == GroupDimensions->SpinBox_DX2)
-    myStep = newValue;
-  else if(send == GroupDimensions->SpinBox_DY2)
-    myNbTimes2 = (int)newValue;
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ReverseAngle()
-// purpose  : 'state' not used here
-//=================================================================================
-void TransformationGUI_MultiRotationDlg::ReverseAngle()
-{
-  myAng = -myAng;
-
-  int aConstructorId = getConstructorId();
-
-  if(aConstructorId == 0)
-    GroupPoints->SpinBox_DX->SetValue(myAng);
-  else if(aConstructorId == 1)
-    GroupDimensions->SpinBox_DX1->SetValue(myAng);
-
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr TransformationGUI_MultiRotationDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiRotationDlg::isValid( QString& msg )
-{
-  return !(myBase->_is_nil() || myVector->_is_nil());
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiRotationDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-    {
-    case 0 :
-      {
-       if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVector ) ) {
-         anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiRotate1D( myBase, myVector, myNbTimes1 );
-         res = true;
-       }
-       break;
-      }
-    case 1 :
-      {
-       if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVector ) )
-         {
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiRotate2D( myBase, myVector, myAng, myNbTimes1, myStep, myNbTimes2 );
-           res = true;
-         }
-       break;
-      }
-    }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_MultiRotationDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/TransformationGUI/TransformationGUI_MultiRotationDlg.h b/src/TransformationGUI/TransformationGUI_MultiRotationDlg.h
deleted file mode 100644 (file)
index c122bc3..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MultiRotationDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_MULTIROTATION_H
-#define DIALOGBOX_MULTIROTATION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel4Spin1Check.h"
-#include "DlgRef_2Sel1Spin.h"
-
-
-//=================================================================================
-// class    : TransformationGUI_MultiRotationDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_MultiRotationDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_MultiRotationDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_MultiRotationDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-    
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-   
-    GEOM::GEOM_Object_var myBase, myVector;
-    int myNbTimes1;
-    int myNbTimes2;
-    Standard_Real myAng;
-    Standard_Real myStep;
-    
-    DlgRef_2Sel1Spin* GroupPoints;
-    DlgRef_2Sel4Spin1Check* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ReverseAngle();
-    void ValueChangedInSpinBox(double newValue);
-    void ConstructorsClicked(int constructorId);
-
-};
-
-#endif // DIALOGBOX_MULTIROTATION_H
diff --git a/src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx b/src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx
deleted file mode 100644 (file)
index 61671b8..0000000
+++ /dev/null
@@ -1,546 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MultiTranslationDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_MultiTranslationDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include <qcheckbox.h>
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_MultiTranslationDlg()
-// purpose  : Constructs a TransformationGUI_MultiTranslationDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_MultiTranslationDlg::TransformationGUI_MultiTranslationDlg(GeometryGUI* theGeometryGUI, QWidget* parent,  const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr("ICON_DLG_MULTITRANSLATION_SIMPLE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr("ICON_DLG_MULTITRANSLATION_DOUBLE")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap( "GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_MULTITRANSLATION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_MULTITRANSLATION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel2Spin1Check(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_MULTITRANSLATION_SIMPLE"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR_U"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_STEP_U"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_NB_TIMES_U"));
-  GroupPoints->CheckButton1->setText(tr("GEOM_REVERSE_U"));
-  GroupPoints->PushButton1->setPixmap(image2);
-  GroupPoints->PushButton2->setPixmap(image2);
-  GroupPoints->LineEdit1->setReadOnly(true);
-  GroupPoints->LineEdit2->setReadOnly(true);
-
-  GroupDimensions = new DlgRef_3Sel4Spin2Check(this, "GroupDimensions");
-  GroupDimensions->GroupBox1->setTitle(tr("GEOM_MULTITRANSLATION_DOUBLE"));
-  GroupDimensions->TextLabel1->setText(tr("GEOM_MAIN_OBJECT"));
-  GroupDimensions->TextLabel2->setText(tr("GEOM_VECTOR_U"));
-  GroupDimensions->TextLabel3->setText(tr("GEOM_VECTOR_V"));
-  GroupDimensions->TextLabel4->setText(tr("GEOM_STEP_U"));
-  GroupDimensions->TextLabel5->setText(tr("GEOM_NB_TIMES_U"));
-  GroupDimensions->TextLabel6->setText(tr("GEOM_STEP_V"));
-  GroupDimensions->TextLabel7->setText(tr("GEOM_NB_TIMES_V"));
-  GroupDimensions->CheckButton1->setText(tr("GEOM_REVERSE_U"));
-  GroupDimensions->CheckButton2->setText(tr("GEOM_REVERSE_V"));
-  GroupDimensions->PushButton1->setPixmap(image2);
-  GroupDimensions->PushButton2->setPixmap(image2);
-  GroupDimensions->PushButton3->setPixmap(image2);
-  GroupDimensions->LineEdit1->setReadOnly(true);
-  GroupDimensions->LineEdit2->setReadOnly(true);
-  GroupDimensions->LineEdit3->setReadOnly(true);
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  Layout1->addWidget(GroupDimensions, 2, 0);
-  /***************************************************************/
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_MultiTranslationDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_MultiTranslationDlg::~TransformationGUI_MultiTranslationDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::Init()
-{
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  double SpecificStep = 1;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupPoints->SpinBox_DY->RangeStepAndValidator(1.0, 999.999, SpecificStep, 3);
-  GroupPoints->SpinBox_DX->SetValue(myStepU);
-  GroupPoints->SpinBox_DY->SetValue(myNbTimesU);
-
-  GroupDimensions->SpinBox_DX1->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY1->RangeStepAndValidator(1.0, 999.999, SpecificStep, 3);
-  GroupDimensions->SpinBox_DX2->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupDimensions->SpinBox_DY2->RangeStepAndValidator(1.0, 999.999, SpecificStep, 3);
-  GroupDimensions->SpinBox_DX1->SetValue(myStepU);
-  GroupDimensions->SpinBox_DY1->SetValue(myNbTimesU);
-  GroupDimensions->SpinBox_DX2->SetValue(myStepV);
-  GroupDimensions->SpinBox_DY2->SetValue(myNbTimesV);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), this, SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupDimensions->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupDimensions->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupDimensions->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupDimensions->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupDimensions->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupDimensions->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupPoints->SpinBox_DY, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DX1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DY1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DX2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-  connect(GroupDimensions->SpinBox_DY2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox(double)));
-
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DY, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DX2, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupDimensions->SpinBox_DY2, SLOT(SetStep(double)));
-
-  connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(ReverseStepU()));
-  connect(GroupDimensions->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(ReverseStepU()));
-  connect(GroupDimensions->CheckButton2, SIGNAL(toggled(bool)), this, SLOT(ReverseStepV()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  
-  initName( tr( "GEOM_MULTITRANSLATION" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
-  
-  myStepU = myStepV = 50.0;
-  myNbTimesU = myNbTimesV = 2;
-
-  globalSelection( GEOM_ALLSHAPES );
-
-  switch (constructorId)
-    {
-    case 0: /* Translate simple */
-      {
-       GroupDimensions->hide();
-       resize(0, 0);
-       GroupPoints->show();
-
-       myEditCurrentArgument = GroupPoints->LineEdit1;
-       GroupPoints->LineEdit1->setText("");
-       GroupPoints->LineEdit2->setText("");
-
-       GroupPoints->SpinBox_DX->SetValue(myStepU);
-       GroupPoints->SpinBox_DY->SetValue(myNbTimesU);
-       
-       break;
-      }
-    case 1: /* Translate double */
-      {
-       GroupPoints->hide();
-       resize(0, 0);
-       GroupDimensions->show();
-
-       myEditCurrentArgument = GroupDimensions->LineEdit1;
-       GroupDimensions->LineEdit1->setText("");
-       GroupDimensions->LineEdit2->setText("");
-       GroupDimensions->LineEdit3->setText("");
-
-       GroupDimensions->SpinBox_DX1->SetValue(myStepU);
-       GroupDimensions->SpinBox_DY1->SetValue(myNbTimesU);
-       GroupDimensions->SpinBox_DX2->SetValue(myStepV);
-       GroupDimensions->SpinBox_DY2->SetValue(myNbTimesV);
-       
-       myVectorV = GEOM::GEOM_Object::_nil();
-       break;
-      }
-    }
-  
-  myEditCurrentArgument->setFocus();
-  myBase = myVectorU = GEOM::GEOM_Object::_nil();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiTranslationDlg::ClickOnApply()
-{
-  if ( !onAccept() )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_MultiTranslationDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  
-  if(IObjectCount() != 1) {
-    if(myEditCurrentArgument == GroupPoints->LineEdit1 || myEditCurrentArgument == GroupDimensions->LineEdit1)
-      myBase = GEOM::GEOM_Object::_nil();
-    else if(myEditCurrentArgument == GroupPoints->LineEdit2 || myEditCurrentArgument == GroupDimensions->LineEdit2)
-      myVectorU = GEOM::GEOM_Object::_nil();
-    else if(myEditCurrentArgument == GroupDimensions->LineEdit3)
-      myVectorV = GEOM::GEOM_Object::_nil();
-    return;
-  }
-
-  // nbSel == 1
-  Standard_Boolean testResult = Standard_False;;
-  GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-
-  if ( !testResult || CORBA::is_nil( aSelectedObject ) || !GEOMBase::IsShape( aSelectedObject ) )
-    return;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1 || myEditCurrentArgument == GroupDimensions->LineEdit1)
-    myBase = aSelectedObject;        
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2 || myEditCurrentArgument == GroupDimensions->LineEdit2)
-    myVectorU = aSelectedObject;
-  else if(myEditCurrentArgument == GroupDimensions->LineEdit3) 
-    myVectorV = aSelectedObject;
-
-  myEditCurrentArgument->setText( GEOMBase::GetName( aSelectedObject ) );
-  
-  displayPreview();    
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection( GEOM_ALLSHAPES );
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE  );
-  }
-  else if(send == GroupDimensions->PushButton1) {
-    myEditCurrentArgument = GroupDimensions->LineEdit1;
-    globalSelection( GEOM_ALLSHAPES );
-  }
-  else if(send == GroupDimensions->PushButton2) {
-    myEditCurrentArgument = GroupDimensions->LineEdit2;
-    globalSelection( GEOM_LINE  );
-  }
-  else if(send == GroupDimensions->PushButton3) {
-    myEditCurrentArgument = GroupDimensions->LineEdit3;
-    globalSelection( GEOM_LINE  );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 || send == GroupDimensions->LineEdit1 ||
-     send == GroupPoints->LineEdit2 || send == GroupDimensions->LineEdit2 ||
-                                       send == GroupDimensions->LineEdit3)
-    {
-      myEditCurrentArgument = send; 
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::enterEvent(QEvent* e)
-{
-  if(!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ValueChangedInSpinBox(double newValue)
-{
-  QObject* send = (QObject*)sender();
-
-  switch(getConstructorId())
-    {
-    case 0 :
-      {        
-       if(send == GroupPoints->SpinBox_DX)
-         myStepU = newValue;
-       else if(send == GroupPoints->SpinBox_DY)
-         myNbTimesU = (int)newValue;
-       break;
-      }
-    case 1 :
-      {        
-       if(send == GroupDimensions->SpinBox_DX1)
-         myStepU = newValue;
-       else if(send == GroupDimensions->SpinBox_DY1)
-         myNbTimesU = (int)newValue;
-       else if(send == GroupDimensions->SpinBox_DX2)
-         myStepV = newValue;
-       else if(send == GroupDimensions->SpinBox_DY2)
-         myNbTimesV = (int)newValue;
-       break;
-      }
-    }
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ReverseStepU()
-// purpose  : 'state' not used here
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ReverseStepU()
-{
-  myStepU = -myStepU;
-  
-  int aConstructorId = getConstructorId();
-
-  if(aConstructorId == 0)
-    GroupPoints->SpinBox_DX->SetValue(myStepU);
-  else if(aConstructorId == 1)
-    GroupDimensions->SpinBox_DX1->SetValue(myStepU);
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : ReverseStepV
-// purpose  : 'state' not used here
-//=================================================================================
-void TransformationGUI_MultiTranslationDlg::ReverseStepV()
-{
-  myStepV = -myStepV;
-  
-  GroupDimensions->SpinBox_DX2->SetValue(myStepV);
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr TransformationGUI_MultiTranslationDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiTranslationDlg::isValid( QString& msg )
-{
-  int aConstructorId = getConstructorId();
-  
-  if(aConstructorId == 0)
-    return !(myBase->_is_nil() || myVectorU->_is_nil());
-  else if(aConstructorId == 1)
-    return !(myBase->_is_nil() || myVectorU->_is_nil() || myVectorV->_is_nil());
-  return 0;        
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_MultiTranslationDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-    {
-    case 0 :
-      {
-       if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVectorU ) ) {
-         anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiTranslate1D( myBase, myVectorU, myStepU, myNbTimesU );
-         res = true;
-       }
-       break;
-      }
-    case 1 :
-      {
-       if ( !CORBA::is_nil( myBase ) && !CORBA::is_nil( myVectorU ) && !CORBA::is_nil( myVectorV ) )
-         {
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->MultiTranslate2D( myBase, myVectorU, myStepU, myNbTimesU,
-                                                                                                         myVectorV, myStepV, myNbTimesV );
-           res = true;
-         }
-       break;
-      }
-    }
-  
-  if ( !anObj->_is_nil() )
-    objects.push_back( anObj._retn() );
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_MultiTranslationDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
diff --git a/src/TransformationGUI/TransformationGUI_MultiTranslationDlg.h b/src/TransformationGUI/TransformationGUI_MultiTranslationDlg.h
deleted file mode 100644 (file)
index 8fd4496..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_MultiTranslationDlg.h
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_MULTITRANSLATION_H
-#define DIALOGBOX_MULTITRANSLATION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel2Spin1Check.h"
-#include "DlgRef_3Sel4Spin2Check.h"
-
-
-//=================================================================================
-// class    : TransformationGUI_MultiTranslationDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_MultiTranslationDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_MultiTranslationDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_MultiTranslationDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-    
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-        
-    GEOM::GEOM_Object_var myBase, myVectorU, myVectorV ;
-    int myNbTimesU;
-    int myNbTimesV;
-    Standard_Real myStepU;
-    Standard_Real myStepV;
-    
-    DlgRef_2Sel2Spin1Check* GroupPoints;
-    DlgRef_3Sel4Spin2Check* GroupDimensions;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ReverseStepU();
-    void ReverseStepV();
-    void ValueChangedInSpinBox(double newValue);
-    void ConstructorsClicked(int constructorId);
-
-};
-
-#endif // DIALOGBOX_MULTITRANSLATION_H
diff --git a/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx b/src/TransformationGUI/TransformationGUI_OffsetDlg.cxx
deleted file mode 100644 (file)
index 3b4d896..0000000
+++ /dev/null
@@ -1,352 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_OffsetDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_OffsetDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-#include <qcheckbox.h>
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_OffsetDlg()
-// purpose  : Constructs a TransformationGUI_OffsetDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_OffsetDlg::TransformationGUI_OffsetDlg(QWidget* parent,  const char* name, bool modal, WFlags fl)
-    :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_OFFSET")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_OFFSET_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_OFFSET"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-  GroupPoints = new DlgRef_1Sel1Spin1Check(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_OFFSET"));
-  GroupPoints->CheckButton1->setText(tr("GEOM_CREATE_COPY"));
-
-  // san -- modification of an exisitng object by offset is not allowed
-  GroupPoints->CheckButton1->hide();
-
-  GroupPoints->PushButton1->setPixmap(image1);
-  
-  Layout1->addWidget(GroupPoints, 2, 0);
-  
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_OffsetDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_OffsetDlg::~TransformationGUI_OffsetDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::Init()
-{  
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly( true );
-  
-  /* Get setting of step value from file configuration */
-  double step = 1;
-   
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupPoints->SpinBox_DX->setPrecision(5);
-  //@ GroupPoints->SpinBox_DX->setDblPrecision(1e-05);    
-  GroupPoints->SpinBox_DX->SetValue(1e-05);
-  
-  // Activate Create a Copy mode
-  GroupPoints->CheckButton1->setChecked(true);
-  CreateCopyModeChanged(true);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-  
-  initName( tr( "GEOM_OFFSET" ) );
-
-  globalSelection( GEOM_ALLSHAPES );
-  
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_OffsetDlg::ClickOnApply()
-{
-  if ( !onAccept( GroupPoints->CheckButton1->isChecked() ) )
-    return false;
-  
-  initName();
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_OffsetDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void TransformationGUI_OffsetDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-
-  int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-  if(aNbSel < 1)
-    {
-      myObjects.length(0);
-      return;
-    }
-
-  // nbSel > 0
-  GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-  if (!myObjects.length())
-    return;
-  
-  myEditCurrentArgument->setText( aName );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if ( send == GroupPoints->LineEdit1 )
-  {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1)
-    {
-      myEditCurrentArgument = GroupPoints->LineEdit1;
-      myEditCurrentArgument->setFocus();
-      SelectionIntoArgument();
-    }
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void TransformationGUI_OffsetDlg::enterEvent(QEvent * e)
-{
-  if ( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  globalSelection( GEOM_ALLSHAPES );
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  myEditCurrentArgument->setFocus();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_OffsetDlg::DeactivateActiveDialog()
-{
- GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr TransformationGUI_OffsetDlg::createOperation()
-{
-  return getGeomEngine()->GetITransformOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool TransformationGUI_OffsetDlg::isValid( QString& msg )
-{
-  return !(myObjects.length() == 0);
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_OffsetDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  
-  if (GroupPoints->CheckButton1->isChecked() || IsPreview())
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->OffsetShapeCopy( myObjects[i], GetOffset() );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-  else
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->OffsetShape( myObjects[i], GetOffset() );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-     
-  res = true;
-    
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : GetOffset()
-// purpose  :
-//=================================================================================
-double TransformationGUI_OffsetDlg::GetOffset() const
-{
-  return GroupPoints->SpinBox_DX->GetValue();
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_OffsetDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  this->GroupBoxName->setEnabled(isCreateCopy);
-}
diff --git a/src/TransformationGUI/TransformationGUI_OffsetDlg.h b/src/TransformationGUI/TransformationGUI_OffsetDlg.h
deleted file mode 100644 (file)
index da127fb..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_OffsetDlg.h
-//  Author : Michael Zorin
-//  Module : GEOM
-//  $Header: /dn05/salome/PAL/GEOM/GEOM_SRC/src/TransformationGUI/TransformationGUI_Offset.h
-
-#ifndef DIALOGBOX_OFFSET_H
-#define DIALOGBOX_OFFSET_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_1Sel1Spin1Check.h"
-  
-  
-//=================================================================================
-// class    : TransformationGUI_OffsetDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_OffsetDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_OffsetDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_OffsetDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double GetOffset() const;
-    
-    GEOM::ListOfGO myObjects;
-    
-    DlgRef_1Sel1Spin1Check* GroupPoints;
-    
-private slots :
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void SelectionIntoArgument();
-    void LineEditReturnPressed();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void CreateCopyModeChanged(bool isCreateCopy);
-};
-
-#endif // DIALOGBOX_OFFSET_H
-
diff --git a/src/TransformationGUI/TransformationGUI_PositionDlg.cxx b/src/TransformationGUI/TransformationGUI_PositionDlg.cxx
deleted file mode 100644 (file)
index dc8a9b5..0000000
+++ /dev/null
@@ -1,445 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_PositionDlg.cxx
-//  Author : Damien COQUERET
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_PositionDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-#include <qcheckbox.h>
-
-#include "TColStd_MapOfInteger.hxx"
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_PositionDlg()
-// purpose  : Constructs a TransformationGUI_PositionDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_PositionDlg::TransformationGUI_PositionDlg(QWidget* parent,  const char* name, bool modal, WFlags fl)
-    :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POSITION")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_POSITION2")));
-  QPixmap imageselect(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_POSITION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_POSITION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->close(TRUE);
-  Group1 = new DlgRef_3Sel3Spin1Check(this, "Group1");
-  Group1->SpinBox1->hide();
-  Group1->SpinBox2->hide();
-  Group1->SpinBox3->hide();
-  Group1->TextLabel4->hide();
-  Group1->TextLabel5->hide();
-  Group1->TextLabel6->hide();
-  Group1->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  Group1->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  Group1->TextLabel2->setText(tr("GEOM_START_LCS"));
-  Group1->TextLabel3->setText(tr("GEOM_END_LCS"));
-  Group1->PushButton1->setPixmap(imageselect);
-  Group1->PushButton2->setPixmap(imageselect);
-  Group1->PushButton3->setPixmap(imageselect);
-  Group1->CheckBox1->setText(tr("GEOM_CREATE_COPY"));
-
-  Layout1->addWidget(Group1, 2, 0);
-  
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_PositionDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_PositionDlg::~TransformationGUI_PositionDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::Init()
-{  
-  /* init variables */
-  Group1->LineEdit1->setReadOnly(true);
-  Group1->LineEdit2->setReadOnly(true);
-  Group1->LineEdit3->setReadOnly(true);
-  
-  myStartLCS = GEOM::GEOM_Object::_nil();
-  myEndLCS = GEOM::GEOM_Object::_nil();
-    
-  // Activate Create a Copy mode
-  Group1->CheckBox1->setChecked(true);
-  CreateCopyModeChanged(true);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), SLOT(ConstructorsClicked(int)));
-
-  connect(Group1->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group1->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(Group1->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(Group1->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group1->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(Group1->LineEdit3, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  
-  connect(Group1->CheckBox1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-
-  initName( tr( "GEOM_POSITION" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void TransformationGUI_PositionDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  
-  globalSelection();
-  myEditCurrentArgument = Group1->LineEdit1;
-  Group1->LineEdit2->clear();
-  Group1->LineEdit3->clear();
-  myStartLCS = GEOM::GEOM_Object::_nil();
-  myEndLCS = GEOM::GEOM_Object::_nil();
-  
-  switch (constructorId)
-    {
-    case 0:
-      {        
-       Group1->LineEdit2->hide();
-       Group1->TextLabel2->hide();
-       Group1->PushButton2->hide();
-       break;
-      }
-    case 1:
-      {
-       Group1->LineEdit2->show();
-       Group1->TextLabel2->show();
-       Group1->PushButton2->show();
-       break;
-      }
-    }
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  SelectionIntoArgument();
-}
-
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_PositionDlg::ClickOnApply()
-{
-  if ( !onAccept(Group1->CheckBox1->isChecked()) )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_PositionDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection has changed
-//=================================================================================
-void TransformationGUI_PositionDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-
-  if(myEditCurrentArgument == Group1->LineEdit1) {
-    int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-    if(aNbSel < 1) {
-      myObjects.length(0);
-      displayPreview();
-      return;
-    }
-    GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-    if (!myObjects.length()) {
-      displayPreview();
-      return;
-    }
-  }
-  else if(myEditCurrentArgument == Group1->LineEdit2) {
-    myStartLCS = GEOM::GEOM_Object::_nil();
-    if(IObjectCount() != 1) {
-      displayPreview();
-      return;
-    }
-
-    Standard_Boolean testResult = Standard_False;
-    myStartLCS = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-    if(!testResult || CORBA::is_nil( myStartLCS )) {
-      displayPreview();
-      return;
-    }
-    aName = GEOMBase::GetName( myStartLCS );
-  }
-  else if(myEditCurrentArgument == Group1->LineEdit3) {
-    myEndLCS = GEOM::GEOM_Object::_nil();
-    if(IObjectCount() != 1) {
-      displayPreview();
-      return;
-    }
-    
-    Standard_Boolean testResult = Standard_False;
-    myEndLCS = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-    if(!testResult || CORBA::is_nil( myEndLCS )) {
-      displayPreview();
-      return;
-    }
-    aName = GEOMBase::GetName( myEndLCS );
-  }
-
-  myEditCurrentArgument->setText( aName );
-  displayPreview(); 
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == Group1->LineEdit1 || send == Group1->LineEdit2 || send == Group1->LineEdit3) {
-    myEditCurrentArgument = send;
-    GEOMBase_Skeleton::LineEditReturnPressed();
-  }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == Group1->PushButton1){
-    myEditCurrentArgument = Group1->LineEdit1;
-    globalSelection();
-  }
-  else if(send == Group1->PushButton2) {
-    myEditCurrentArgument = Group1->LineEdit2;
-    TColStd_MapOfInteger aMap;
-    aMap.Add( GEOM_PLANE );
-    aMap.Add( GEOM_MARKER );
-    globalSelection( aMap );
-  }
-  else if(send == Group1->PushButton3) {
-    myEditCurrentArgument = Group1->LineEdit3;
-    TColStd_MapOfInteger aMap;
-    aMap.Add( GEOM_PLANE );
-    aMap.Add( GEOM_MARKER );
-    globalSelection( aMap );
-  }
-
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_PositionDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  : when mouse enter onto the QWidget
-//=================================================================================
-void TransformationGUI_PositionDlg::enterEvent(QEvent * e)
-{
-  if(!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr  TransformationGUI_PositionDlg::createOperation()
-{
-  return getGeomEngine()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool  TransformationGUI_PositionDlg::isValid( QString& msg )
-{
-  bool res;
-  if (getConstructorId() == 0)
-    res = !(myObjects.length() == 0 || myEndLCS->_is_nil());
-  else
-    res = !(myObjects.length() == 0 || myStartLCS->_is_nil() || myEndLCS->_is_nil());
-
-  return res;
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool  TransformationGUI_PositionDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  bool toCreateCopy = IsPreview() || Group1->CheckBox1->isChecked();
-  GEOM::GEOM_Object_var anObj;
-  
-  switch ( getConstructorId() )
-    {
-    case 0 :
-      {
-       for (int i = 0; i < myObjects.length(); i++) {
-         if (toCreateCopy)
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->PositionShapeCopy( myObjects[i], myObjects[i], myEndLCS );
-         else
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->PositionShape( myObjects[i], myObjects[i], myEndLCS );
-
-         if ( !anObj->_is_nil() )
-           objects.push_back( anObj._retn() );
-       }
-       res = true;
-       break;
-      }
-    case 1 :
-      {
-       for (int i = 0; i < myObjects.length(); i++) {
-         if (toCreateCopy)
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->PositionShapeCopy( myObjects[i], myStartLCS, myEndLCS );
-         else
-           anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->PositionShape( myObjects[i], myStartLCS, myEndLCS );
-         if ( !anObj->_is_nil() )
-           objects.push_back( anObj._retn() );
-       }
-       res = true;
-       break;
-      }
-    }
-  
-  return res;
-}
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_PositionDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_PositionDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  this->GroupBoxName->setEnabled(isCreateCopy);
-}
diff --git a/src/TransformationGUI/TransformationGUI_PositionDlg.h b/src/TransformationGUI/TransformationGUI_PositionDlg.h
deleted file mode 100644 (file)
index 2e5e499..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_PositionDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_POSITION_H
-#define DIALOGBOX_POSITION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_3Sel3Spin1Check.h"
-
-#include "TransformationGUI.h"
-  
-
-//=================================================================================
-// class    : TransformationGUI_PositionDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_PositionDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_PositionDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_PositionDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    
-    GEOM::GEOM_Object_var myStartLCS;
-    GEOM::GEOM_Object_var myEndLCS;
-    GEOM::ListOfGO        myObjects;
-        
-    DlgRef_3Sel3Spin1Check* Group1;
-    
-private slots :
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ConstructorsClicked(int constructorId);
-    void CreateCopyModeChanged(bool isCreateCopy);
-};
-
-#endif // DIALOGBOX_MIRROR_H
diff --git a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx
deleted file mode 100644 (file)
index 03f9cd8..0000000
+++ /dev/null
@@ -1,386 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_RotationDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_RotationDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_RotationDlg()
-// purpose  : Constructs a TransformationGUI_RotationDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_RotationDlg::TransformationGUI_RotationDlg(QWidget* parent,  const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_ROTATION")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_ROTATION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_ROTATION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel1Spin2Check(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_AXIS"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_ANGLE"));
-  GroupPoints->LineEdit1->setReadOnly(true);
-  GroupPoints->LineEdit2->setReadOnly(true);
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  GroupPoints->CheckButton1->setText(tr("GEOM_CREATE_COPY"));
-  GroupPoints->CheckButton2->setText(tr("GEOM_REVERSE"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-  double anAngle = 0;
-  double SpecificStep = 5;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, SpecificStep, 3);
-  GroupPoints->SpinBox_DX->SetValue(anAngle);
-
-  // Activate Create a Copy mode
-  GroupPoints->CheckButton1->setChecked(true);
-  CreateCopyModeChanged(true);
-  
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-  connect(GroupPoints->CheckButton2, SIGNAL(toggled(bool)), this, SLOT(onReverse()));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(),
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_RotationDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_RotationDlg::~TransformationGUI_RotationDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit2->clear();
-  
-  myAxis = GEOM::GEOM_Object::_nil();
-  
-  initName( tr( "GEOM_ROTATION" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_RotationDlg::ClickOnApply()
-{
-  if ( !onAccept( GroupPoints->CheckButton1->isChecked()) )
-    return false;
-  
-  Init();
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_RotationDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void TransformationGUI_RotationDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-  
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    {
-      int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-      if(aNbSel < 1)
-       {
-         myObjects.length(0);
-         return;
-       }
-      GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-      if (!myObjects.length())
-       return;
-    }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-    {
-      if(IObjectCount() != 1)
-       {
-         myAxis = GEOM::GEOM_Object::_nil();
-         return;
-       }
-      Standard_Boolean testResult = Standard_False;
-      myAxis = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-      if(!testResult || CORBA::is_nil( myAxis ))
-       return;
-      aName = GEOMBase::GetName( myAxis );
-    }
-  myEditCurrentArgument->setText( aName );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection();
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_LINE );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::LineEditReturnPressed()
-{  
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  globalSelection();
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit2->clear();
-  myAxis = GEOM::GEOM_Object::_nil();
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_RotationDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::enterEvent(QEvent* e)
-{
-  if (!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr TransformationGUI_RotationDlg::createOperation()
-{
-  return getGeomEngine()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool TransformationGUI_RotationDlg::isValid( QString& msg )
-{
-  return !(myObjects.length() == 0 || myAxis->_is_nil());
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_RotationDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-  
-  if (GroupPoints->CheckButton1->isChecked() || IsPreview())
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->RotateCopy( myObjects[i], myAxis, GetAngle() * PI180 );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-  else
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->Rotate( myObjects[i], myAxis, GetAngle() * PI180 );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-  res = true;
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : GetAngle()
-// purpose  :
-//=================================================================================
-double TransformationGUI_RotationDlg::GetAngle() const
-{
-  return GroupPoints->SpinBox_DX->GetValue();
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  this->GroupBoxName->setEnabled(isCreateCopy);
-}
-
-
-//=================================================================================
-// function :  onReverse()
-// purpose  :
-//=================================================================================
-void TransformationGUI_RotationDlg::onReverse()
-{
-  double anOldValue = GroupPoints->SpinBox_DX->GetValue();
-  GroupPoints->SpinBox_DX->SetValue( -anOldValue );
-}
diff --git a/src/TransformationGUI/TransformationGUI_RotationDlg.h b/src/TransformationGUI/TransformationGUI_RotationDlg.h
deleted file mode 100644 (file)
index 173ce35..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_RotationDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_ROTATION_H
-#define DIALOGBOX_ROTATION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
-  
-//=================================================================================
-// class    : TransformationGUI_RotationDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_RotationDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_RotationDlg(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_RotationDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double GetAngle() const;
-    
-    GEOM::ListOfGO myObjects;
-    GEOM::GEOM_Object_var myAxis;
-    
-    DlgRef_2Sel1Spin2Check* GroupPoints;
-
-private slots:
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void CreateCopyModeChanged(bool isCreateCopy);
-    void onReverse();
-};
-
-#endif // DIALOGBOX_ROTATION_H
diff --git a/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx b/src/TransformationGUI/TransformationGUI_ScaleDlg.cxx
deleted file mode 100644 (file)
index 1690ae6..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_ScaleDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_ScaleDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qlabel.h>
-#include <qcheckbox.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_ScaleDlg()
-// purpose  : Constructs a TransformationGUI_ScaleDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_ScaleDlg::TransformationGUI_ScaleDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_SCALE")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_SCALE_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_SCALE"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->close(TRUE);
-  RadioButton3->close(TRUE);
-
-  GroupPoints = new DlgRef_2Sel1Spin2Check(this, "GroupPoints");
-  GroupPoints->CheckButton2->hide();
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel2->setText(tr("GEOM_CENTRAL_POINT"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_SCALE_FACTOR"));
-  GroupPoints->LineEdit1->setReadOnly( true );
-  GroupPoints->LineEdit2->setReadOnly( true );
-  GroupPoints->PushButton1->setPixmap(image1);
-  GroupPoints->PushButton2->setPixmap(image1);
-  GroupPoints->CheckButton1->setText(tr("GEOM_CREATE_COPY"));
-
-  // san -- modification of an exisitng object by offset is not allowed
-  GroupPoints->CheckButton1->hide();
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-  double aFactor = 2.0;
-  double SpecificStep = 0.5;
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, SpecificStep, 3);
-  GroupPoints->SpinBox_DX->SetValue(aFactor);
-  
-  // Activate Create a Copy mode
-  GroupPoints->CheckButton1->setChecked(true);
-  CreateCopyModeChanged(true);
-
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-  connect(GroupPoints->LineEdit2, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed()));
-
-  connect(GroupPoints->SpinBox_DX, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox_DX, SLOT(SetStep(double)));
-  connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-   
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_ScaleDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_ScaleDlg::~TransformationGUI_ScaleDlg()
-{  
-  /* no need to delete child widgets, Qt does it all for us */
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::Init()
-{
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit2->clear();
-  
-  myPoint = GEOM::GEOM_Object::_nil();
-  
-  initName( tr( "GEOM_SCALE" ) );
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_ScaleDlg::ClickOnApply()
-{
-  if ( !onAccept(GroupPoints->CheckButton1->isChecked()) )
-    return false;
-
-  Init();
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_ScaleDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void TransformationGUI_ScaleDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    {
-      int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-      if(aNbSel < 1)
-       {
-         myObjects.length(0);
-         return;
-       }
-      GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-      if (!myObjects.length())
-       return;
-    }
-  else if(myEditCurrentArgument == GroupPoints->LineEdit2)
-    {
-      if(IObjectCount() != 1)
-       {
-         myPoint = GEOM::GEOM_Object::_nil();
-         return;
-       }
-      Standard_Boolean testResult = Standard_False;
-      myPoint = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-      if(!testResult || CORBA::is_nil( myPoint ))
-       return;
-      aName = GEOMBase::GetName( myPoint );
-    }
-  myEditCurrentArgument->setText( aName );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1 ||
-     send == GroupPoints->LineEdit2)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::SetEditCurrentArgument()
-{
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) {
-    myEditCurrentArgument = GroupPoints->LineEdit1;
-    globalSelection();
-  }
-  else if(send == GroupPoints->PushButton2) {
-    myEditCurrentArgument = GroupPoints->LineEdit2;
-    globalSelection( GEOM_POINT );
-  }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  globalSelection();
-  GroupPoints->LineEdit1->setFocus();
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void TransformationGUI_ScaleDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::enterEvent(QEvent* e)
-{
-  if( !GroupConstructors->isEnabled() )
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr  TransformationGUI_ScaleDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetITransformOperations( getStudyId() );
-}
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool TransformationGUI_ScaleDlg::isValid( QString& msg )
-{
-  return !(myObjects.length() == 0 || myPoint->_is_nil() || fabs(GetFactor()) <= 0.00001);
-}
-
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_ScaleDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  
-  GEOM::GEOM_Object_var anObj;
-
-  if (GroupPoints->CheckButton1->isChecked() || IsPreview())
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->ScaleShapeCopy( myObjects[i], myPoint, GetFactor() );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-  else
-    for (int i = 0; i < myObjects.length(); i++)
-      {
-       anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->ScaleShape( myObjects[i], myPoint, GetFactor() );
-       if ( !anObj->_is_nil() )
-         objects.push_back( anObj._retn() );
-      }
-  res = true;
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_ScaleDlg::closeEvent( QCloseEvent* e )
-{
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function : GetFactor()
-// purpose  :
-//=================================================================================
-double TransformationGUI_ScaleDlg::GetFactor() const
-{
-  return GroupPoints->SpinBox_DX->GetValue();
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_ScaleDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  this->GroupBoxName->setEnabled(isCreateCopy);
-}
diff --git a/src/TransformationGUI/TransformationGUI_ScaleDlg.h b/src/TransformationGUI/TransformationGUI_ScaleDlg.h
deleted file mode 100644 (file)
index 8f0e61c..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_ScaleDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_SCALE_H
-#define DIALOGBOX_SCALE_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
-  
-  
-//=================================================================================
-// class    : TransformationGUI_ScaleDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_ScaleDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_ScaleDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_ScaleDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-    double GetFactor() const;
-
-    GeometryGUI* myGeometryGUI;
-    
-    GEOM::ListOfGO myObjects;
-    GEOM::GEOM_Object_var myPoint;   /* Central Point */
-    
-    DlgRef_2Sel1Spin2Check* GroupPoints;
-
-private slots :
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void CreateCopyModeChanged(bool isCreateCopy);
-};
-
-#endif // DIALOGBOX_SCALE_H
diff --git a/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx b/src/TransformationGUI/TransformationGUI_TranslationDlg.cxx
deleted file mode 100644 (file)
index c56d2e4..0000000
+++ /dev/null
@@ -1,527 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_TranslationDlg.cxx
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#include "TransformationGUI_TranslationDlg.h"
-
-#include "SUIT_Desktop.h"
-#include "SUIT_Session.h"
-#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
-
-#include <qcheckbox.h>
-#include <qlabel.h>
-
-#include "GEOMImpl_Types.hxx"
-
-#include "utilities.h"
-
-using namespace std;
-
-//=================================================================================
-// class    : TransformationGUI_TranslationDlg()
-// purpose  : Constructs a TransformationGUI_TranslationDlg which is a child of 'parent', with the 
-//            name 'name' and widget flags set to 'f'.
-//            The dialog will by default be modeless, unless you set 'modal' to
-//            TRUE to construct a modal dialog.
-//=================================================================================
-TransformationGUI_TranslationDlg::TransformationGUI_TranslationDlg(GeometryGUI* theGeometryGUI, QWidget* parent, const char* name, bool modal, WFlags fl)
-  :GEOMBase_Skeleton(parent, name, modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myGeometryGUI(theGeometryGUI)
-{
-  QPixmap image0(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_TRANSLATION_DXYZ")));
-  QPixmap image1(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_TRANSLATION_POINTS")));
-  QPixmap image2(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_TRANSLATION_VECTOR")));
-  QPixmap image3(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_SELECT")));
-
-  setCaption(tr("GEOM_TRANSLATION_TITLE"));
-
-  /***************************************************************/
-  GroupConstructors->setTitle(tr("GEOM_TRANSLATION"));
-  RadioButton1->setPixmap(image0);
-  RadioButton2->setPixmap(image1);
-  RadioButton3->setPixmap(image2);
-
-  RadioButton1->setChecked(true);
-
-  GroupPoints = new DlgRef_3Sel3Spin1Check(this, "GroupPoints");
-  GroupPoints->GroupBox1->setTitle(tr("GEOM_ARGUMENTS"));
-  GroupPoints->TextLabel1->setText(tr("GEOM_OBJECTS"));
-  GroupPoints->TextLabel3->setText(tr("GEOM_POINT_I").arg("2"));
-  GroupPoints->TextLabel4->setText(tr("GEOM_DX"));
-  GroupPoints->TextLabel5->setText(tr("GEOM_DY"));
-  GroupPoints->TextLabel6->setText(tr("GEOM_DZ"));
-  GroupPoints->PushButton1->setPixmap(image3);
-  GroupPoints->PushButton2->setPixmap(image3);
-  GroupPoints->PushButton3->setPixmap(image3);
-  GroupPoints->CheckBox1->setText(tr("GEOM_CREATE_COPY"));
-
-  Layout1->addWidget(GroupPoints, 2, 0);
-  /***************************************************************/
-  
-  Init();
-}
-
-
-//=================================================================================
-// function : ~TransformationGUI_TranslationDlg()
-// purpose  : Destroys the object and frees any allocated resources
-//=================================================================================
-TransformationGUI_TranslationDlg::~TransformationGUI_TranslationDlg()
-{
-  // no need to delete child widgets, Qt does it all for us
-}
-
-
-//=================================================================================
-// function : Init()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::Init()
-{
-  /* init variables */
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  GroupPoints->LineEdit1->setReadOnly(true);
-  GroupPoints->LineEdit2->setReadOnly(true);
-  GroupPoints->LineEdit3->setReadOnly(true);
-  
-  myVector = myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-  
-  // Activate Create a Copy mode
-  GroupPoints->CheckBox1->setChecked(true);
-  CreateCopyModeChanged(true);
-  
-  /* Get setting of step value from file configuration */
-  SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
-  double step = resMgr->doubleValue( "Geometry", "SettingsGeomStep", 100);
-  
-  /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox1->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupPoints->SpinBox2->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  GroupPoints->SpinBox3->RangeStepAndValidator(-999.999, 999.999, step, 3);
-  
-  GroupPoints->SpinBox1->SetValue(0.0);
-  GroupPoints->SpinBox2->SetValue(0.0);
-  GroupPoints->SpinBox3->SetValue(0.0);
-  
-  /* signals and slots connections */
-  connect(buttonOk, SIGNAL(clicked()), this, SLOT(ClickOnOk()));
-  connect(buttonApply, SIGNAL(clicked()), this, SLOT(ClickOnApply()));
-  connect(GroupConstructors, SIGNAL(clicked(int)), SLOT(ConstructorsClicked(int)));
-
-  connect(GroupPoints->PushButton1, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton2, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-  connect(GroupPoints->PushButton3, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
-
-  connect(GroupPoints->LineEdit1, SIGNAL(returnPressed()), this, SLOT(LineEditReturnPressed())); //@ Delete ?
-
-  connect(GroupPoints->SpinBox1, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox2, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  connect(GroupPoints->SpinBox3, SIGNAL(valueChanged(double)), this, SLOT(ValueChangedInSpinBox()));
-  
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox1, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox2, SLOT(SetStep(double)));
-  connect(myGeometryGUI, SIGNAL(SignalDefaultStepValueChanged(double)), GroupPoints->SpinBox3, SLOT(SetStep(double)));
-  
-  connect(GroupPoints->CheckBox1, SIGNAL(toggled(bool)), this, SLOT(CreateCopyModeChanged(bool)));
-  
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())) ;
-
-  initName( tr( "GEOM_TRANSLATION" ) );
-  ConstructorsClicked( 0 );
-}
-
-
-//=================================================================================
-// function : ConstructorsClicked()
-// purpose  : Radio button management
-//=================================================================================
-void TransformationGUI_TranslationDlg::ConstructorsClicked(int constructorId)
-{
-  disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0 );
-  
-  myEditCurrentArgument = GroupPoints->LineEdit1;
-  globalSelection();
-
-  switch (constructorId)
-    {
-    case 0: /* translation an object by dx, dy, dz */
-      {         
-       GroupPoints->ShowRows(1,2,false);
-       resize(0,0);
-       GroupPoints->ShowRows(3,5,true);
-       break;
-      }
-    case 1: /* translation an object by 2 points */
-      {
-       GroupPoints->ShowRows(3,5,false);
-       resize(0,0);
-       GroupPoints->ShowRows(0,2,true);
-       GroupPoints->TextLabel2->setText(tr("GEOM_POINT_I").arg("1"));
-       GroupPoints->LineEdit2->clear();
-       GroupPoints->LineEdit3->clear();
-       myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil();
-       break;
-      } 
-    case 2: /* translation an object by vector */
-      {
-       GroupPoints->ShowRows(2,5,false);
-       resize(0,0);
-       GroupPoints->ShowRows(0,1,true);
-       GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
-       GroupPoints->LineEdit2->clear();
-       myVector = GEOM::GEOM_Object::_nil();
-       break;
-      }
-    }
-  
-  myEditCurrentArgument->setFocus();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-}
-
-
-//=================================================================================
-// function : ClickOnOk()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::ClickOnOk()
-{
-  if ( ClickOnApply() )
-    ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : ClickOnApply()
-// purpose  :
-//=================================================================================
-bool TransformationGUI_TranslationDlg::ClickOnApply()
-{
-  if ( !onAccept(GroupPoints->CheckBox1->isChecked()) )
-    return false;
-  
-  initName();
-  ConstructorsClicked( getConstructorId() );
-  return true;
-}
-
-
-//=======================================================================
-// function : ClickOnCancel()
-// purpose  :
-//=======================================================================
-void TransformationGUI_TranslationDlg::ClickOnCancel()
-{
-  GEOMBase_Skeleton::ClickOnCancel();
-}
-
-
-//=================================================================================
-// function : SelectionIntoArgument()
-// purpose  : Called when selection as changed or other case
-//=================================================================================
-void TransformationGUI_TranslationDlg::SelectionIntoArgument()
-{
-  myEditCurrentArgument->setText("");
-  QString aName;
-  
-  if(myEditCurrentArgument == GroupPoints->LineEdit1)
-    {
-      int aNbSel = GEOMBase::GetNameOfSelectedIObjects(selectedIO(), aName);
-      
-      if(aNbSel < 1)
-       {
-         myObjects.length(0);
-         return;
-       }
-      GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), myObjects);
-      if (!myObjects.length())
-       return;
-    }
-  else
-    {
-      if (IObjectCount() != 1) {
-       if(myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 1)
-         myPoint1 = GEOM::GEOM_Object::_nil();
-       else if(myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 2)
-         myVector = GEOM::GEOM_Object::_nil();
-       else if(myEditCurrentArgument == GroupPoints->LineEdit3)
-         myPoint2 = GEOM::GEOM_Object::_nil();
-       return;
-      }
-      
-      Standard_Boolean testResult = Standard_False;;
-      GEOM::GEOM_Object_var aSelectedObject = GEOMBase::ConvertIOinGEOMObject(firstIObject(), testResult );
-      
-      if (!testResult || CORBA::is_nil( aSelectedObject ))
-       return;
-      
-      if(myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 1)
-       myPoint1 = aSelectedObject;
-      else if(myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 2)
-       myVector = aSelectedObject;
-      else if(myEditCurrentArgument == GroupPoints->LineEdit3)
-       myPoint2 = aSelectedObject; 
-      
-      aName = GEOMBase::GetName( aSelectedObject );
-    }
-  
-  myEditCurrentArgument->setText( aName );
-  
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : LineEditReturnPressed()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::LineEditReturnPressed()
-{
-  QLineEdit* send = (QLineEdit*)sender();
-  if(send == GroupPoints->LineEdit1)
-    {
-      myEditCurrentArgument = send;
-      GEOMBase_Skeleton::LineEditReturnPressed();
-    }
-}
-
-
-//=================================================================================
-// function : SetEditCurrentArgument()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::SetEditCurrentArgument()
-{    
-  QPushButton* send = (QPushButton*)sender();
-  
-  if(send == GroupPoints->PushButton1) 
-    {
-      myEditCurrentArgument = GroupPoints->LineEdit1;
-      globalSelection();
-    }
-  else if (send == GroupPoints->PushButton2)
-    {
-      myEditCurrentArgument = GroupPoints->LineEdit2;
-      getConstructorId() == 1 ? globalSelection( GEOM_POINT ) :
-                               globalSelection( GEOM_LINE  );
-    }
-  else if (send == GroupPoints->PushButton3)
-    {
-      myEditCurrentArgument = GroupPoints->LineEdit3;
-      globalSelection( GEOM_POINT );
-    }
-  
-  myEditCurrentArgument->setFocus();
-  SelectionIntoArgument();
-}
-
-
-//=================================================================================
-// function : ActivateThisDialog()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::ActivateThisDialog()
-{
-  GEOMBase_Skeleton::ActivateThisDialog();
-  connect(((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 
-         SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
-  
-  ConstructorsClicked( getConstructorId() );
-}
-
-
-//=================================================================================
-// function : DeactivateActiveDialog()
-// purpose  : public slot to deactivate if active
-//=================================================================================
-void  TransformationGUI_TranslationDlg::DeactivateActiveDialog()
-{
-  GEOMBase_Skeleton::DeactivateActiveDialog();
-}
-
-
-//=================================================================================
-// function : enterEvent()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::enterEvent(QEvent* e)
-{
-  if(!GroupConstructors->isEnabled())
-    ActivateThisDialog();
-}
-
-
-//=================================================================================
-// function : ValueChangedInSpinBox()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::ValueChangedInSpinBox()
-{
-  displayPreview();
-}
-
-
-//=================================================================================
-// function : createOperation
-// purpose  :
-//=================================================================================
-GEOM::GEOM_IOperations_ptr  TransformationGUI_TranslationDlg::createOperation()
-{
-  return myGeometryGUI->GetGeomGen()->GetITransformOperations( getStudyId() );
-}
-
-
-//=================================================================================
-// function : isValid
-// purpose  :
-//=================================================================================
-bool  TransformationGUI_TranslationDlg::isValid( QString& msg )
-{
-  int aConstructorId = getConstructorId();
-  
-  switch (aConstructorId)
-    {
-    case 0: 
-      {
-       return !(myObjects.length() == 0 );
-       break;
-      }
-    case 1: 
-      {
-       return !(myObjects.length() == 0 || myPoint1->_is_nil() || myPoint2->_is_nil() );
-       break;
-      }
-    case 2: 
-      {
-       return !(myObjects.length() == 0 || myVector->_is_nil());
-       break;
-      } 
-    default: return false;
-    }
-}
-
-//=================================================================================
-// function : execute
-// purpose  :
-//=================================================================================
-bool TransformationGUI_TranslationDlg::execute( ObjectList& objects )
-{
-  bool res = false;
-  bool toCreateCopy = IsPreview() || GroupPoints->CheckBox1->isChecked();
-  
-  GEOM::GEOM_Object_var anObj;
-
-  switch ( getConstructorId() ) 
-    {
-    case 0 :
-      {
-       double dx = GroupPoints->SpinBox1->GetValue();
-       double dy = GroupPoints->SpinBox2->GetValue();
-       double dz = GroupPoints->SpinBox3->GetValue();
-       
-       if (toCreateCopy)
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateDXDYDZCopy( myObjects[i], dx, dy, dz );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateDXDYDZ( myObjects[i], dx, dy, dz );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    case 1 :
-      {
-       if (toCreateCopy)
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateTwoPointsCopy( myObjects[i], myPoint1, myPoint2 );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateTwoPoints( myObjects[i], myPoint1, myPoint2 );       
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    case 2:
-      {
-       if (toCreateCopy)
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateVectorCopy( myObjects[i], myVector );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       else
-         for (int i = 0; i < myObjects.length(); i++)
-           {
-             anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->TranslateVector( myObjects[i], myVector );
-             if ( !anObj->_is_nil() )
-               objects.push_back( anObj._retn() );
-           }
-       res = true;
-       break;
-      }
-    }
-  
-  return res;
-}
-
-
-//=================================================================================
-// function : closeEvent
-// purpose  :
-//=================================================================================
-void  TransformationGUI_TranslationDlg::closeEvent( QCloseEvent* e )
-{
-  // myGeomGUI->SetState( -1 );
-  GEOMBase_Skeleton::closeEvent( e );
-}
-
-
-//=================================================================================
-// function :  CreateCopyModeChanged()
-// purpose  :
-//=================================================================================
-void TransformationGUI_TranslationDlg::CreateCopyModeChanged(bool isCreateCopy)
-{
-  GroupBoxName->setEnabled(isCreateCopy);
-}
diff --git a/src/TransformationGUI/TransformationGUI_TranslationDlg.h b/src/TransformationGUI/TransformationGUI_TranslationDlg.h
deleted file mode 100644 (file)
index 069c334..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-//  GEOM GEOMGUI : GUI for Geometry component
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : TransformationGUI_TranslationDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
-
-#ifndef DIALOGBOX_TRANSLATION_H
-#define DIALOGBOX_TRANSLATION_H
-
-#include "GEOMBase_Skeleton.h"
-#include "DlgRef_3Sel3Spin1Check.h"
-
-
-//=================================================================================
-// class    : TransformationGUI_TranslationDlg
-// purpose  :
-//=================================================================================
-class TransformationGUI_TranslationDlg : public GEOMBase_Skeleton
-{ 
-    Q_OBJECT
-
-public:
-    TransformationGUI_TranslationDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
-    ~TransformationGUI_TranslationDlg();
-
-protected:
-    // redefined from GEOMBase_Helper
-    virtual GEOM::GEOM_IOperations_ptr createOperation();
-    virtual bool isValid( QString& );
-    virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
-
-private :
-    void Init();
-    void enterEvent(QEvent* e);
-
-    GeometryGUI* myGeometryGUI;
-    
-    GEOM::GEOM_Object_var myVector, myPoint1, myPoint2;
-    GEOM::ListOfGO        myObjects;
-
-    DlgRef_3Sel3Spin1Check* GroupPoints;
-
-private slots :
-    void ClickOnOk();
-    bool ClickOnApply();
-    void ClickOnCancel();
-    void ActivateThisDialog();
-    void DeactivateActiveDialog();
-    void LineEditReturnPressed();
-    void SelectionIntoArgument();
-    void SetEditCurrentArgument();
-    void ValueChangedInSpinBox();
-    void ConstructorsClicked(int constructorId);
-    void CreateCopyModeChanged(bool isCreateCopy);
-};
-
-#endif // DIALOGBOX_TRANSLATION_H